@sprucelabs/mercury-core-events 12.0.176 → 12.0.177
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 +1665 -1665
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1665 -1665
- package/package.json +1 -1
|
@@ -5,41 +5,68 @@ import '@sprucelabs/spruce-event-utils';
|
|
|
5
5
|
import '@sprucelabs/mercury-types';
|
|
6
6
|
declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schemas.types' {
|
|
7
7
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8
|
-
interface
|
|
9
|
-
'organizationId'
|
|
10
|
-
'
|
|
8
|
+
interface AddRoleEmitTarget {
|
|
9
|
+
'organizationId'?: string | undefined | null;
|
|
10
|
+
'locationId'?: string | undefined | null;
|
|
11
11
|
}
|
|
12
|
-
interface
|
|
13
|
-
id: '
|
|
12
|
+
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
13
|
+
id: 'addRoleEmitTarget';
|
|
14
14
|
version: 'v2020_12_25';
|
|
15
15
|
namespace: 'Mercury';
|
|
16
16
|
name: '';
|
|
17
17
|
fields: {
|
|
18
18
|
/** . */
|
|
19
19
|
'organizationId': {
|
|
20
|
+
type: 'id';
|
|
21
|
+
options: undefined;
|
|
22
|
+
};
|
|
23
|
+
/** . */
|
|
24
|
+
'locationId': {
|
|
25
|
+
type: 'id';
|
|
26
|
+
options: undefined;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
34
|
+
interface AddRoleEmitPayload {
|
|
35
|
+
'personId': string;
|
|
36
|
+
'roleId': string;
|
|
37
|
+
}
|
|
38
|
+
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
39
|
+
id: 'addRoleEmitPayload';
|
|
40
|
+
version: 'v2020_12_25';
|
|
41
|
+
namespace: 'Mercury';
|
|
42
|
+
name: '';
|
|
43
|
+
fields: {
|
|
44
|
+
/** . */
|
|
45
|
+
'personId': {
|
|
20
46
|
type: 'id';
|
|
21
47
|
isRequired: true;
|
|
22
48
|
options: undefined;
|
|
23
49
|
};
|
|
24
50
|
/** . */
|
|
25
|
-
'
|
|
51
|
+
'roleId': {
|
|
26
52
|
type: 'id';
|
|
27
53
|
isRequired: true;
|
|
28
54
|
options: undefined;
|
|
29
55
|
};
|
|
30
56
|
};
|
|
31
57
|
}
|
|
32
|
-
interface
|
|
58
|
+
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
33
59
|
}
|
|
34
60
|
}
|
|
35
61
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
36
|
-
interface
|
|
62
|
+
interface AddRoleEmitTargetAndPayload {
|
|
37
63
|
/** Source. */
|
|
38
64
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
39
|
-
'target'
|
|
65
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
66
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
40
67
|
}
|
|
41
|
-
interface
|
|
42
|
-
id: '
|
|
68
|
+
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
69
|
+
id: 'addRoleEmitTargetAndPayload';
|
|
43
70
|
version: 'v2020_12_25';
|
|
44
71
|
namespace: 'Mercury';
|
|
45
72
|
name: '';
|
|
@@ -54,101 +81,77 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
54
81
|
};
|
|
55
82
|
/** . */
|
|
56
83
|
'target': {
|
|
84
|
+
type: 'schema';
|
|
85
|
+
options: {
|
|
86
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
/** . */
|
|
90
|
+
'payload': {
|
|
57
91
|
type: 'schema';
|
|
58
92
|
isRequired: true;
|
|
59
93
|
options: {
|
|
60
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
94
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
61
95
|
};
|
|
62
96
|
};
|
|
63
97
|
};
|
|
64
98
|
}
|
|
65
|
-
interface
|
|
99
|
+
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
66
100
|
}
|
|
67
101
|
}
|
|
68
102
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
69
|
-
interface
|
|
103
|
+
interface AddRoleResponsePayload {
|
|
70
104
|
}
|
|
71
|
-
interface
|
|
72
|
-
id: '
|
|
105
|
+
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
106
|
+
id: 'addRoleResponsePayload';
|
|
73
107
|
version: 'v2020_12_25';
|
|
74
108
|
namespace: 'Mercury';
|
|
75
109
|
name: '';
|
|
76
110
|
fields: {};
|
|
77
111
|
}
|
|
78
|
-
interface
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
82
|
-
interface DidJoinOrganizationEmitTarget {
|
|
83
|
-
'organizationId': string;
|
|
84
|
-
'locationId'?: string | undefined | null;
|
|
85
|
-
}
|
|
86
|
-
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
87
|
-
id: 'didJoinOrganizationEmitTarget';
|
|
88
|
-
version: 'v2020_12_25';
|
|
89
|
-
namespace: 'Mercury';
|
|
90
|
-
name: '';
|
|
91
|
-
fields: {
|
|
92
|
-
/** . */
|
|
93
|
-
'organizationId': {
|
|
94
|
-
type: 'id';
|
|
95
|
-
isRequired: true;
|
|
96
|
-
options: undefined;
|
|
97
|
-
};
|
|
98
|
-
/** . */
|
|
99
|
-
'locationId': {
|
|
100
|
-
type: 'id';
|
|
101
|
-
options: undefined;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
112
|
+
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
106
113
|
}
|
|
107
114
|
}
|
|
108
115
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
109
|
-
interface
|
|
110
|
-
'
|
|
111
|
-
'
|
|
112
|
-
'
|
|
116
|
+
interface AuthenticateEmitPayload {
|
|
117
|
+
'token'?: string | undefined | null;
|
|
118
|
+
'skillId'?: string | undefined | null;
|
|
119
|
+
'apiKey'?: string | undefined | null;
|
|
113
120
|
}
|
|
114
|
-
interface
|
|
115
|
-
id: '
|
|
121
|
+
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
122
|
+
id: 'authenticateEmitPayload';
|
|
116
123
|
version: 'v2020_12_25';
|
|
117
124
|
namespace: 'Mercury';
|
|
118
125
|
name: '';
|
|
119
126
|
fields: {
|
|
120
127
|
/** . */
|
|
121
|
-
'
|
|
122
|
-
type: '
|
|
123
|
-
isRequired: true;
|
|
128
|
+
'token': {
|
|
129
|
+
type: 'text';
|
|
124
130
|
options: undefined;
|
|
125
131
|
};
|
|
126
132
|
/** . */
|
|
127
|
-
'
|
|
128
|
-
type: '
|
|
129
|
-
isRequired: true;
|
|
133
|
+
'skillId': {
|
|
134
|
+
type: 'text';
|
|
130
135
|
options: undefined;
|
|
131
136
|
};
|
|
132
137
|
/** . */
|
|
133
|
-
'
|
|
134
|
-
type: '
|
|
135
|
-
isRequired: true;
|
|
138
|
+
'apiKey': {
|
|
139
|
+
type: 'text';
|
|
136
140
|
options: undefined;
|
|
137
141
|
};
|
|
138
142
|
};
|
|
139
143
|
}
|
|
140
|
-
interface
|
|
144
|
+
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
141
145
|
}
|
|
142
146
|
}
|
|
143
147
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
144
|
-
interface
|
|
148
|
+
interface AuthenticateEmitTargetAndPayload {
|
|
145
149
|
/** Source. */
|
|
146
150
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
147
|
-
'
|
|
148
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
151
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
149
152
|
}
|
|
150
|
-
interface
|
|
151
|
-
id: '
|
|
153
|
+
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
154
|
+
id: 'authenticateEmitTargetAndPayload';
|
|
152
155
|
version: 'v2020_12_25';
|
|
153
156
|
namespace: 'Mercury';
|
|
154
157
|
name: '';
|
|
@@ -162,157 +165,164 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
162
165
|
};
|
|
163
166
|
};
|
|
164
167
|
/** . */
|
|
165
|
-
'target': {
|
|
166
|
-
type: 'schema';
|
|
167
|
-
isRequired: true;
|
|
168
|
-
options: {
|
|
169
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
/** . */
|
|
173
168
|
'payload': {
|
|
174
169
|
type: 'schema';
|
|
175
|
-
isRequired: true;
|
|
176
170
|
options: {
|
|
177
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
171
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
178
172
|
};
|
|
179
173
|
};
|
|
180
174
|
};
|
|
181
175
|
}
|
|
182
|
-
interface
|
|
176
|
+
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
183
177
|
}
|
|
184
178
|
}
|
|
185
179
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
186
|
-
interface
|
|
187
|
-
'
|
|
188
|
-
'
|
|
189
|
-
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
180
|
+
interface ConfirmPinRespondPayload {
|
|
181
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
182
|
+
'token': string;
|
|
190
183
|
}
|
|
191
|
-
interface
|
|
192
|
-
id: '
|
|
184
|
+
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
185
|
+
id: 'confirmPinRespondPayload';
|
|
193
186
|
version: 'v2020_12_25';
|
|
194
187
|
namespace: 'Mercury';
|
|
195
188
|
name: '';
|
|
196
189
|
fields: {
|
|
197
190
|
/** . */
|
|
198
|
-
'
|
|
199
|
-
type: '
|
|
200
|
-
|
|
201
|
-
options:
|
|
191
|
+
'person': {
|
|
192
|
+
type: 'schema';
|
|
193
|
+
isRequired: true;
|
|
194
|
+
options: {
|
|
195
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
196
|
+
};
|
|
202
197
|
};
|
|
203
198
|
/** . */
|
|
204
|
-
'
|
|
199
|
+
'token': {
|
|
205
200
|
type: 'text';
|
|
206
|
-
|
|
201
|
+
isRequired: true;
|
|
207
202
|
options: undefined;
|
|
208
203
|
};
|
|
209
|
-
/** . */
|
|
210
|
-
'links': {
|
|
211
|
-
type: 'schema';
|
|
212
|
-
isArray: true;
|
|
213
|
-
minArrayLength: 0;
|
|
214
|
-
options: {
|
|
215
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
204
|
};
|
|
219
205
|
}
|
|
220
|
-
interface
|
|
206
|
+
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
221
207
|
}
|
|
222
208
|
}
|
|
223
209
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
224
|
-
interface
|
|
225
|
-
'
|
|
210
|
+
interface AuthSchema {
|
|
211
|
+
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
212
|
+
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
226
213
|
}
|
|
227
|
-
interface
|
|
228
|
-
id: '
|
|
214
|
+
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
215
|
+
id: 'authSchema';
|
|
229
216
|
version: 'v2020_12_25';
|
|
230
217
|
namespace: 'Mercury';
|
|
231
218
|
name: '';
|
|
232
219
|
fields: {
|
|
233
220
|
/** . */
|
|
234
|
-
'
|
|
221
|
+
'person': {
|
|
235
222
|
type: 'schema';
|
|
236
223
|
options: {
|
|
237
|
-
schema: SpruceSchemas.
|
|
224
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
/** . */
|
|
228
|
+
'skill': {
|
|
229
|
+
type: 'schema';
|
|
230
|
+
options: {
|
|
231
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
238
232
|
};
|
|
239
233
|
};
|
|
240
234
|
};
|
|
241
235
|
}
|
|
242
|
-
interface
|
|
236
|
+
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
243
237
|
}
|
|
244
238
|
}
|
|
245
239
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
246
|
-
interface
|
|
247
|
-
'
|
|
248
|
-
'
|
|
240
|
+
interface AuthenticateResponsePayload {
|
|
241
|
+
'type': ("authenticated" | "anonymous");
|
|
242
|
+
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
249
243
|
}
|
|
250
|
-
interface
|
|
251
|
-
id: '
|
|
244
|
+
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
245
|
+
id: 'authenticateResponsePayload';
|
|
252
246
|
version: 'v2020_12_25';
|
|
253
247
|
namespace: 'Mercury';
|
|
254
248
|
name: '';
|
|
255
249
|
fields: {
|
|
256
250
|
/** . */
|
|
257
|
-
'
|
|
258
|
-
type: '
|
|
251
|
+
'type': {
|
|
252
|
+
type: 'select';
|
|
259
253
|
isRequired: true;
|
|
260
|
-
options:
|
|
254
|
+
options: {
|
|
255
|
+
choices: [{
|
|
256
|
+
"value": "authenticated";
|
|
257
|
+
"label": "Authenticated";
|
|
258
|
+
}, {
|
|
259
|
+
"value": "anonymous";
|
|
260
|
+
"label": "Anonymous";
|
|
261
|
+
}];
|
|
262
|
+
};
|
|
261
263
|
};
|
|
262
264
|
/** . */
|
|
263
|
-
'
|
|
264
|
-
type: '
|
|
265
|
-
|
|
265
|
+
'auth': {
|
|
266
|
+
type: 'schema';
|
|
267
|
+
isRequired: true;
|
|
268
|
+
options: {
|
|
269
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
270
|
+
};
|
|
266
271
|
};
|
|
267
272
|
};
|
|
268
273
|
}
|
|
269
|
-
interface
|
|
274
|
+
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
270
275
|
}
|
|
271
276
|
}
|
|
272
277
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
273
|
-
interface
|
|
274
|
-
'
|
|
275
|
-
'
|
|
276
|
-
'isLastRole': boolean;
|
|
278
|
+
interface CanListenEmitPayload {
|
|
279
|
+
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
280
|
+
'fullyQualifiedEventName': string;
|
|
277
281
|
}
|
|
278
|
-
interface
|
|
279
|
-
id: '
|
|
282
|
+
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
283
|
+
id: 'canListenEmitPayload';
|
|
280
284
|
version: 'v2020_12_25';
|
|
281
285
|
namespace: 'Mercury';
|
|
282
286
|
name: '';
|
|
283
287
|
fields: {
|
|
284
288
|
/** . */
|
|
285
|
-
'
|
|
286
|
-
type: '
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
289
|
+
'authorizerStatuses': {
|
|
290
|
+
type: 'select';
|
|
291
|
+
options: {
|
|
292
|
+
choices: [{
|
|
293
|
+
"label": "Clocked in";
|
|
294
|
+
"value": "clockedIn";
|
|
295
|
+
}, {
|
|
296
|
+
"label": "Clocked out";
|
|
297
|
+
"value": "clockedOut";
|
|
298
|
+
}, {
|
|
299
|
+
"label": "On premises";
|
|
300
|
+
"value": "onPrem";
|
|
301
|
+
}, {
|
|
302
|
+
"label": "Off premises";
|
|
303
|
+
"value": "offPrem";
|
|
304
|
+
}];
|
|
305
|
+
};
|
|
295
306
|
};
|
|
296
307
|
/** . */
|
|
297
|
-
'
|
|
298
|
-
type: '
|
|
308
|
+
'fullyQualifiedEventName': {
|
|
309
|
+
type: 'text';
|
|
299
310
|
isRequired: true;
|
|
300
311
|
options: undefined;
|
|
301
312
|
};
|
|
302
313
|
};
|
|
303
314
|
}
|
|
304
|
-
interface
|
|
315
|
+
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
305
316
|
}
|
|
306
317
|
}
|
|
307
318
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
308
|
-
interface
|
|
319
|
+
interface CanListenEmitTargetAndPayload {
|
|
309
320
|
/** Source. */
|
|
310
321
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
311
|
-
'
|
|
312
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
322
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
313
323
|
}
|
|
314
|
-
interface
|
|
315
|
-
id: '
|
|
324
|
+
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
325
|
+
id: 'canListenEmitTargetAndPayload';
|
|
316
326
|
version: 'v2020_12_25';
|
|
317
327
|
namespace: 'Mercury';
|
|
318
328
|
name: '';
|
|
@@ -326,83 +336,74 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
326
336
|
};
|
|
327
337
|
};
|
|
328
338
|
/** . */
|
|
329
|
-
'target': {
|
|
330
|
-
type: 'schema';
|
|
331
|
-
isRequired: true;
|
|
332
|
-
options: {
|
|
333
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
/** . */
|
|
337
339
|
'payload': {
|
|
338
340
|
type: 'schema';
|
|
339
341
|
isRequired: true;
|
|
340
342
|
options: {
|
|
341
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
343
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
342
344
|
};
|
|
343
345
|
};
|
|
344
346
|
};
|
|
345
347
|
}
|
|
346
|
-
interface
|
|
348
|
+
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
347
349
|
}
|
|
348
350
|
}
|
|
349
351
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
350
|
-
interface
|
|
352
|
+
interface CanListenResponsePayload {
|
|
353
|
+
'can'?: boolean | undefined | null;
|
|
351
354
|
}
|
|
352
|
-
interface
|
|
353
|
-
id: '
|
|
355
|
+
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
356
|
+
id: 'canListenResponsePayload';
|
|
354
357
|
version: 'v2020_12_25';
|
|
355
358
|
namespace: 'Mercury';
|
|
356
359
|
name: '';
|
|
357
|
-
fields: {
|
|
360
|
+
fields: {
|
|
361
|
+
/** . */
|
|
362
|
+
'can': {
|
|
363
|
+
type: 'boolean';
|
|
364
|
+
options: undefined;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
358
367
|
}
|
|
359
|
-
interface
|
|
368
|
+
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
360
369
|
}
|
|
361
370
|
}
|
|
362
371
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
363
|
-
interface
|
|
364
|
-
'
|
|
365
|
-
'
|
|
366
|
-
'topic'?: string | undefined | null;
|
|
372
|
+
interface ConfirmPinEmitPayload {
|
|
373
|
+
'challenge': string;
|
|
374
|
+
'pin': string;
|
|
367
375
|
}
|
|
368
|
-
interface
|
|
369
|
-
id: '
|
|
376
|
+
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
377
|
+
id: 'confirmPinEmitPayload';
|
|
370
378
|
version: 'v2020_12_25';
|
|
371
379
|
namespace: 'Mercury';
|
|
372
380
|
name: '';
|
|
373
381
|
fields: {
|
|
374
382
|
/** . */
|
|
375
|
-
'
|
|
376
|
-
type: 'schema';
|
|
377
|
-
isRequired: true;
|
|
378
|
-
options: {
|
|
379
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
/** . */
|
|
383
|
-
'conversationState': {
|
|
383
|
+
'challenge': {
|
|
384
384
|
type: 'text';
|
|
385
|
+
isRequired: true;
|
|
385
386
|
options: undefined;
|
|
386
387
|
};
|
|
387
388
|
/** . */
|
|
388
|
-
'
|
|
389
|
+
'pin': {
|
|
389
390
|
type: 'text';
|
|
391
|
+
isRequired: true;
|
|
390
392
|
options: undefined;
|
|
391
393
|
};
|
|
392
394
|
};
|
|
393
395
|
}
|
|
394
|
-
interface
|
|
396
|
+
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
395
397
|
}
|
|
396
398
|
}
|
|
397
399
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
398
|
-
interface
|
|
400
|
+
interface ConfirmPinEmitTargetAndPayload {
|
|
399
401
|
/** Source. */
|
|
400
402
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
401
|
-
'
|
|
402
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
403
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
403
404
|
}
|
|
404
|
-
interface
|
|
405
|
-
id: '
|
|
405
|
+
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
406
|
+
id: 'confirmPinEmitTargetAndPayload';
|
|
406
407
|
version: 'v2020_12_25';
|
|
407
408
|
namespace: 'Mercury';
|
|
408
409
|
name: '';
|
|
@@ -416,816 +417,94 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
416
417
|
};
|
|
417
418
|
};
|
|
418
419
|
/** . */
|
|
419
|
-
'target': {
|
|
420
|
-
type: 'schema';
|
|
421
|
-
options: {
|
|
422
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
423
|
-
};
|
|
424
|
-
};
|
|
425
|
-
/** . */
|
|
426
420
|
'payload': {
|
|
427
421
|
type: 'schema';
|
|
428
422
|
isRequired: true;
|
|
429
423
|
options: {
|
|
430
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
424
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
431
425
|
};
|
|
432
426
|
};
|
|
433
427
|
};
|
|
434
428
|
}
|
|
435
|
-
interface
|
|
429
|
+
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
436
430
|
}
|
|
437
431
|
}
|
|
438
432
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
439
|
-
interface
|
|
440
|
-
'
|
|
441
|
-
'confidence': number;
|
|
442
|
-
'label': string;
|
|
433
|
+
interface CreateLocationEmitTarget {
|
|
434
|
+
'organizationId': string;
|
|
443
435
|
}
|
|
444
|
-
interface
|
|
445
|
-
id: '
|
|
436
|
+
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
437
|
+
id: 'createLocationEmitTarget';
|
|
446
438
|
version: 'v2020_12_25';
|
|
447
439
|
namespace: 'Mercury';
|
|
448
440
|
name: '';
|
|
449
441
|
fields: {
|
|
450
442
|
/** . */
|
|
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';
|
|
443
|
+
'organizationId': {
|
|
444
|
+
type: 'id';
|
|
465
445
|
isRequired: true;
|
|
466
446
|
options: undefined;
|
|
467
447
|
};
|
|
468
448
|
};
|
|
469
449
|
}
|
|
470
|
-
interface
|
|
450
|
+
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
471
451
|
}
|
|
472
452
|
}
|
|
473
453
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
474
|
-
interface
|
|
475
|
-
|
|
476
|
-
'
|
|
477
|
-
|
|
478
|
-
'
|
|
479
|
-
|
|
454
|
+
interface CreateLocationEmitPayload {
|
|
455
|
+
/** Name. */
|
|
456
|
+
'name': string;
|
|
457
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
458
|
+
'num'?: string | undefined | null;
|
|
459
|
+
/** Public. Is this location viewable by guests? */
|
|
460
|
+
'isPublic'?: boolean | undefined | null;
|
|
461
|
+
/** Main Phone. */
|
|
462
|
+
'phone'?: string | undefined | null;
|
|
463
|
+
/** Timezone. */
|
|
464
|
+
'timezone'?: ("Pacific/Niue" | "Pacific/Pago_Pago" | "Pacific/Rarotonga" | "Pacific/Honolulu" | "Pacific/Tahiti" | "Pacific/Marquesas" | "Pacific/Gambier" | "America/Adak" | "America/Anchorage" | "America/Juneau" | "America/Metlakatla" | "America/Nome" | "America/Sitka" | "America/Yakutat" | "Pacific/Pitcairn" | "America/Hermosillo" | "America/Dawson_Creek" | "America/Fort_Nelson" | "America/Phoenix" | "America/Los_Angeles" | "America/Tijuana" | "America/Vancouver" | "America/Dawson" | "America/Whitehorse" | "America/Belize" | "America/Costa_Rica" | "America/El_Salvador" | "America/Guatemala" | "America/Managua" | "America/Regina" | "America/Swift_Current" | "America/Tegucigalpa" | "Pacific/Easter" | "Pacific/Galapagos" | "America/Chihuahua" | "America/Mazatlan" | "America/Boise" | "America/Cambridge_Bay" | "America/Denver" | "America/Edmonton" | "America/Inuvik" | "America/Ojinaga" | "America/Yellowknife" | "America/Eirunepe" | "America/Rio_Branco" | "America/Bahia_Banderas" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/Chicago" | "America/Indiana/Knox" | "America/Matamoros" | "America/Menominee" | "America/Merida" | "America/Mexico_City" | "America/Monterrey" | "America/North_Dakota/New_Salem" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Resolute" | "America/Indiana/Tell_City" | "America/Winnipeg" | "America/Bogota" | "America/Cancun" | "America/Jamaica" | "America/Panama" | "America/Guayaquil" | "America/Lima" | "America/Boa_Vista" | "America/Campo_Grande" | "America/Cuiaba" | "America/Manaus" | "America/Porto_Velho" | "America/Barbados" | "America/Martinique" | "America/Puerto_Rico" | "America/Santo_Domingo" | "America/La_Paz" | "America/Santiago" | "America/Havana" | "America/Detroit" | "America/Grand_Turk" | "America/Indiana/Indianapolis" | "America/Iqaluit" | "America/Kentucky/Louisville" | "America/Indiana/Marengo" | "America/Kentucky/Monticello" | "America/New_York" | "America/Nipigon" | "America/Pangnirtung" | "America/Indiana/Petersburg" | "America/Port-au-Prince" | "America/Thunder_Bay" | "America/Toronto" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Guyana" | "America/Asuncion" | "America/Caracas" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "Atlantic/Bermuda" | "America/Glace_Bay" | "America/Goose_Bay" | "America/Halifax" | "America/Moncton" | "America/Thule" | "America/Araguaina" | "America/Bahia" | "America/Belem" | "America/Fortaleza" | "America/Maceio" | "America/Recife" | "America/Santarem" | "America/Sao_Paulo" | "Atlantic/Stanley" | "America/Cayenne" | "Antarctica/Palmer" | "America/Punta_Arenas" | "Antarctica/Rothera" | "America/Paramaribo" | "America/Montevideo" | "America/St_Johns" | "America/Noronha" | "Atlantic/South_Georgia" | "America/Miquelon" | "America/Nuuk" | "Atlantic/Cape_Verde" | "Atlantic/Azores" | "UTC" | "America/Scoresbysund" | "Etc/GMT" | "Africa/Abidjan" | "Africa/Bissau" | "America/Danmarkshavn" | "Africa/Monrovia" | "Atlantic/Reykjavik" | "Africa/Sao_Tome" | "Africa/Algiers" | "Africa/Tunis" | "Europe/Dublin" | "Africa/Casablanca" | "Europe/London" | "Africa/Lagos" | "Africa/Ndjamena" | "Atlantic/Canary" | "Atlantic/Faroe" | "Europe/Lisbon" | "Atlantic/Madeira" | "Africa/El_Aaiun" | "Africa/Juba" | "Africa/Khartoum" | "Africa/Maputo" | "Africa/Windhoek" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Brussels" | "Europe/Budapest" | "Africa/Ceuta" | "Europe/Copenhagen" | "Europe/Gibraltar" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Monaco" | "Europe/Oslo" | "Europe/Paris" | "Europe/Prague" | "Europe/Rome" | "Europe/Stockholm" | "Europe/Tirane" | "Europe/Vienna" | "Europe/Warsaw" | "Europe/Zurich" | "Africa/Cairo" | "Europe/Kaliningrad" | "Africa/Tripoli" | "Africa/Johannesburg" | "Antarctica/Troll" | "Asia/Baghdad" | "Asia/Qatar" | "Asia/Riyadh" | "Africa/Nairobi" | "Asia/Amman" | "Europe/Athens" | "Asia/Beirut" | "Europe/Bucharest" | "Europe/Chisinau" | "Asia/Damascus" | "Asia/Gaza" | "Asia/Hebron" | "Europe/Helsinki" | "Europe/Kiev" | "Asia/Nicosia" | "Europe/Riga" | "Europe/Sofia" | "Europe/Tallinn" | "Europe/Uzhgorod" | "Europe/Vilnius" | "Europe/Zaporozhye" | "Asia/Famagusta" | "Asia/Jerusalem" | "Europe/Kirov" | "Europe/Minsk" | "Europe/Moscow" | "Europe/Simferopol" | "Europe/Istanbul" | "Europe/Volgograd" | "Asia/Yerevan" | "Europe/Astrakhan" | "Asia/Baku" | "Asia/Tbilisi" | "Asia/Dubai" | "Indian/Mauritius" | "Indian/Reunion" | "Europe/Samara" | "Europe/Saratov" | "Indian/Mahe" | "Europe/Ulyanovsk" | "Asia/Kabul" | "Asia/Tehran" | "Indian/Kerguelen" | "Indian/Maldives" | "Antarctica/Mawson" | "Asia/Karachi" | "Asia/Dushanbe" | "Asia/Ashgabat" | "Asia/Samarkand" | "Asia/Tashkent" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Atyrau" | "Asia/Oral" | "Asia/Qyzylorda" | "Asia/Yekaterinburg" | "Asia/Colombo" | "Asia/Kolkata" | "Asia/Kathmandu" | "Asia/Dhaka" | "Asia/Thimphu" | "Asia/Almaty" | "Asia/Qostanay" | "Indian/Chagos" | "Asia/Bishkek" | "Asia/Omsk" | "Asia/Urumqi" | "Antarctica/Vostok" | "Indian/Cocos" | "Asia/Yangon" | "Asia/Barnaul" | "Indian/Christmas" | "Antarctica/Davis" | "Asia/Hovd" | "Asia/Bangkok" | "Asia/Ho_Chi_Minh" | "Asia/Krasnoyarsk" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Tomsk" | "Asia/Jakarta" | "Asia/Pontianak" | "Australia/Perth" | "Asia/Brunei" | "Asia/Makassar" | "Asia/Macau" | "Asia/Shanghai" | "Asia/Hong_Kong" | "Asia/Irkutsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Manila" | "Asia/Singapore" | "Asia/Taipei" | "Asia/Choibalsan" | "Asia/Ulaanbaatar" | "Australia/Eucla" | "Asia/Dili" | "Asia/Jayapura" | "Asia/Tokyo" | "Asia/Pyongyang" | "Asia/Seoul" | "Pacific/Palau" | "Asia/Chita" | "Asia/Khandyga" | "Asia/Yakutsk" | "Australia/Darwin" | "Australia/Adelaide" | "Australia/Broken_Hill" | "Australia/Brisbane" | "Australia/Lindeman" | "Pacific/Guam" | "Pacific/Chuuk" | "Australia/Hobart" | "Antarctica/Macquarie" | "Australia/Melbourne" | "Australia/Sydney" | "Pacific/Port_Moresby" | "Asia/Ust-Nera" | "Asia/Vladivostok" | "Australia/Lord_Howe" | "Pacific/Bougainville" | "Antarctica/Casey" | "Pacific/Kosrae" | "Asia/Magadan" | "Pacific/Noumea" | "Pacific/Norfolk" | "Pacific/Pohnpei" | "Asia/Sakhalin" | "Pacific/Guadalcanal" | "Asia/Srednekolymsk" | "Pacific/Efate" | "Asia/Anadyr" | "Pacific/Fiji" | "Pacific/Tarawa" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Nauru" | "Pacific/Auckland" | "Asia/Kamchatka" | "Pacific/Funafuti" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Chatham" | "Pacific/Apia" | "Pacific/Fakaofo" | "Pacific/Tongatapu" | "Pacific/Kiritimati") | undefined | null;
|
|
465
|
+
/** Address. */
|
|
466
|
+
'address': SpruceSchema.AddressFieldValue;
|
|
467
|
+
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
468
|
+
'slug'?: string | undefined | null;
|
|
480
469
|
}
|
|
481
|
-
interface
|
|
482
|
-
id: '
|
|
470
|
+
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
471
|
+
id: 'createLocationEmitPayload';
|
|
483
472
|
version: 'v2020_12_25';
|
|
484
473
|
namespace: 'Mercury';
|
|
485
474
|
name: '';
|
|
486
475
|
fields: {
|
|
487
|
-
/** . */
|
|
488
|
-
'
|
|
489
|
-
|
|
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': {
|
|
476
|
+
/** Name. */
|
|
477
|
+
'name': {
|
|
478
|
+
label: 'Name';
|
|
508
479
|
type: 'text';
|
|
509
|
-
|
|
480
|
+
isRequired: true;
|
|
510
481
|
options: undefined;
|
|
511
482
|
};
|
|
512
|
-
/** . */
|
|
513
|
-
'
|
|
483
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
484
|
+
'num': {
|
|
485
|
+
label: 'Store number';
|
|
514
486
|
type: 'text';
|
|
515
|
-
|
|
487
|
+
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
516
488
|
options: undefined;
|
|
517
489
|
};
|
|
518
|
-
/** . */
|
|
519
|
-
'
|
|
520
|
-
|
|
490
|
+
/** Public. Is this location viewable by guests? */
|
|
491
|
+
'isPublic': {
|
|
492
|
+
label: 'Public';
|
|
493
|
+
type: 'boolean';
|
|
494
|
+
hint: 'Is this location viewable by guests?';
|
|
495
|
+
defaultValue: false;
|
|
521
496
|
options: undefined;
|
|
522
497
|
};
|
|
523
|
-
/** . */
|
|
524
|
-
'
|
|
525
|
-
|
|
526
|
-
|
|
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 DidSignupEmitTargetAndPayload {
|
|
538
|
-
/** Source. */
|
|
539
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
540
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
541
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
542
|
-
}
|
|
543
|
-
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
544
|
-
id: 'didSignupEmitTargetAndPayload';
|
|
545
|
-
version: 'v2020_12_25';
|
|
546
|
-
namespace: 'Mercury';
|
|
547
|
-
name: '';
|
|
548
|
-
fields: {
|
|
549
|
-
/** Source. */
|
|
550
|
-
'source': {
|
|
551
|
-
label: 'Source';
|
|
552
|
-
type: 'schema';
|
|
553
|
-
options: {
|
|
554
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
555
|
-
};
|
|
498
|
+
/** Main Phone. */
|
|
499
|
+
'phone': {
|
|
500
|
+
label: 'Main Phone';
|
|
501
|
+
type: 'phone';
|
|
502
|
+
options: undefined;
|
|
556
503
|
};
|
|
557
|
-
/** . */
|
|
558
|
-
'
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
562
|
-
};
|
|
563
|
-
};
|
|
564
|
-
/** . */
|
|
565
|
-
'payload': {
|
|
566
|
-
type: 'schema';
|
|
567
|
-
isRequired: true;
|
|
568
|
-
options: {
|
|
569
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
570
|
-
};
|
|
571
|
-
};
|
|
572
|
-
};
|
|
573
|
-
}
|
|
574
|
-
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
578
|
-
interface DidUpdatePersonEmitTargetAndPayload {
|
|
579
|
-
/** Source. */
|
|
580
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
581
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
582
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
583
|
-
}
|
|
584
|
-
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
585
|
-
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
586
|
-
version: 'v2020_12_25';
|
|
587
|
-
namespace: 'Mercury';
|
|
588
|
-
name: '';
|
|
589
|
-
fields: {
|
|
590
|
-
/** Source. */
|
|
591
|
-
'source': {
|
|
592
|
-
label: 'Source';
|
|
593
|
-
type: 'schema';
|
|
594
|
-
options: {
|
|
595
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
596
|
-
};
|
|
597
|
-
};
|
|
598
|
-
/** . */
|
|
599
|
-
'target': {
|
|
600
|
-
type: 'schema';
|
|
601
|
-
options: {
|
|
602
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
603
|
-
};
|
|
604
|
-
};
|
|
605
|
-
/** . */
|
|
606
|
-
'payload': {
|
|
607
|
-
type: 'schema';
|
|
608
|
-
isRequired: true;
|
|
609
|
-
options: {
|
|
610
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
};
|
|
614
|
-
}
|
|
615
|
-
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
619
|
-
interface DidSignupEmitPayload {
|
|
620
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
621
|
-
}
|
|
622
|
-
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
623
|
-
id: 'didSignupEmitPayload';
|
|
624
|
-
version: 'v2020_12_25';
|
|
625
|
-
namespace: 'Mercury';
|
|
626
|
-
name: '';
|
|
627
|
-
fields: {
|
|
628
|
-
/** . */
|
|
629
|
-
'person': {
|
|
630
|
-
type: 'schema';
|
|
631
|
-
isRequired: true;
|
|
632
|
-
options: {
|
|
633
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
634
|
-
};
|
|
635
|
-
};
|
|
636
|
-
};
|
|
637
|
-
}
|
|
638
|
-
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
642
|
-
interface DidUpdateFeedEmitPayload {
|
|
643
|
-
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
644
|
-
}
|
|
645
|
-
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
646
|
-
id: 'didUpdateFeedEmitPayload';
|
|
647
|
-
version: 'v2020_12_25';
|
|
648
|
-
namespace: 'Mercury';
|
|
649
|
-
name: '';
|
|
650
|
-
fields: {
|
|
651
|
-
/** . */
|
|
652
|
-
'item': {
|
|
653
|
-
type: 'schema';
|
|
654
|
-
isRequired: true;
|
|
655
|
-
options: {
|
|
656
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
657
|
-
};
|
|
658
|
-
};
|
|
659
|
-
};
|
|
660
|
-
}
|
|
661
|
-
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
662
|
-
}
|
|
663
|
-
}
|
|
664
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
665
|
-
interface DidUpdateFeedEmitTargetAndPayload {
|
|
666
|
-
/** Source. */
|
|
667
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
668
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
669
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
670
|
-
}
|
|
671
|
-
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
672
|
-
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
673
|
-
version: 'v2020_12_25';
|
|
674
|
-
namespace: 'Mercury';
|
|
675
|
-
name: '';
|
|
676
|
-
fields: {
|
|
677
|
-
/** Source. */
|
|
678
|
-
'source': {
|
|
679
|
-
label: 'Source';
|
|
680
|
-
type: 'schema';
|
|
681
|
-
options: {
|
|
682
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
683
|
-
};
|
|
684
|
-
};
|
|
685
|
-
/** . */
|
|
686
|
-
'target': {
|
|
687
|
-
type: 'schema';
|
|
688
|
-
options: {
|
|
689
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
690
|
-
};
|
|
691
|
-
};
|
|
692
|
-
/** . */
|
|
693
|
-
'payload': {
|
|
694
|
-
type: 'schema';
|
|
695
|
-
isRequired: true;
|
|
696
|
-
options: {
|
|
697
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
698
|
-
};
|
|
699
|
-
};
|
|
700
|
-
};
|
|
701
|
-
}
|
|
702
|
-
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
703
|
-
}
|
|
704
|
-
}
|
|
705
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
706
|
-
interface DidUpdatePersonEmitPayload {
|
|
707
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
708
|
-
}
|
|
709
|
-
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
710
|
-
id: 'didUpdatePersonEmitPayload';
|
|
711
|
-
version: 'v2020_12_25';
|
|
712
|
-
namespace: 'Mercury';
|
|
713
|
-
name: '';
|
|
714
|
-
fields: {
|
|
715
|
-
/** . */
|
|
716
|
-
'person': {
|
|
717
|
-
type: 'schema';
|
|
718
|
-
isRequired: true;
|
|
719
|
-
options: {
|
|
720
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
721
|
-
};
|
|
722
|
-
};
|
|
723
|
-
};
|
|
724
|
-
}
|
|
725
|
-
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
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';
|
|
761
|
-
version: 'v2020_12_25';
|
|
762
|
-
namespace: 'Mercury';
|
|
763
|
-
name: '';
|
|
764
|
-
fields: {
|
|
765
|
-
/** . */
|
|
766
|
-
'personId': {
|
|
767
|
-
type: 'id';
|
|
768
|
-
isRequired: true;
|
|
769
|
-
options: undefined;
|
|
770
|
-
};
|
|
771
|
-
/** . */
|
|
772
|
-
'roleId': {
|
|
773
|
-
type: 'id';
|
|
774
|
-
isRequired: true;
|
|
775
|
-
options: undefined;
|
|
776
|
-
};
|
|
777
|
-
};
|
|
778
|
-
}
|
|
779
|
-
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
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': {
|
|
850
|
-
type: 'text';
|
|
851
|
-
options: undefined;
|
|
852
|
-
};
|
|
853
|
-
/** . */
|
|
854
|
-
'skillId': {
|
|
855
|
-
type: 'text';
|
|
856
|
-
options: undefined;
|
|
857
|
-
};
|
|
858
|
-
/** . */
|
|
859
|
-
'apiKey': {
|
|
860
|
-
type: 'text';
|
|
861
|
-
options: undefined;
|
|
862
|
-
};
|
|
863
|
-
};
|
|
864
|
-
}
|
|
865
|
-
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
866
|
-
}
|
|
867
|
-
}
|
|
868
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
869
|
-
interface AuthenticateEmitTargetAndPayload {
|
|
870
|
-
/** Source. */
|
|
871
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
872
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
873
|
-
}
|
|
874
|
-
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
875
|
-
id: 'authenticateEmitTargetAndPayload';
|
|
876
|
-
version: 'v2020_12_25';
|
|
877
|
-
namespace: 'Mercury';
|
|
878
|
-
name: '';
|
|
879
|
-
fields: {
|
|
880
|
-
/** Source. */
|
|
881
|
-
'source': {
|
|
882
|
-
label: 'Source';
|
|
883
|
-
type: 'schema';
|
|
884
|
-
options: {
|
|
885
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
886
|
-
};
|
|
887
|
-
};
|
|
888
|
-
/** . */
|
|
889
|
-
'payload': {
|
|
890
|
-
type: 'schema';
|
|
891
|
-
options: {
|
|
892
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
893
|
-
};
|
|
894
|
-
};
|
|
895
|
-
};
|
|
896
|
-
}
|
|
897
|
-
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
901
|
-
interface AuthSchema {
|
|
902
|
-
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
903
|
-
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
904
|
-
}
|
|
905
|
-
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
906
|
-
id: 'authSchema';
|
|
907
|
-
version: 'v2020_12_25';
|
|
908
|
-
namespace: 'Mercury';
|
|
909
|
-
name: '';
|
|
910
|
-
fields: {
|
|
911
|
-
/** . */
|
|
912
|
-
'person': {
|
|
913
|
-
type: 'schema';
|
|
914
|
-
options: {
|
|
915
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
916
|
-
};
|
|
917
|
-
};
|
|
918
|
-
/** . */
|
|
919
|
-
'skill': {
|
|
920
|
-
type: 'schema';
|
|
921
|
-
options: {
|
|
922
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
923
|
-
};
|
|
924
|
-
};
|
|
925
|
-
};
|
|
926
|
-
}
|
|
927
|
-
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
928
|
-
}
|
|
929
|
-
}
|
|
930
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
931
|
-
interface AuthenticateResponsePayload {
|
|
932
|
-
'type': ("authenticated" | "anonymous");
|
|
933
|
-
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
934
|
-
}
|
|
935
|
-
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
936
|
-
id: 'authenticateResponsePayload';
|
|
937
|
-
version: 'v2020_12_25';
|
|
938
|
-
namespace: 'Mercury';
|
|
939
|
-
name: '';
|
|
940
|
-
fields: {
|
|
941
|
-
/** . */
|
|
942
|
-
'type': {
|
|
943
|
-
type: 'select';
|
|
944
|
-
isRequired: true;
|
|
945
|
-
options: {
|
|
946
|
-
choices: [{
|
|
947
|
-
"value": "authenticated";
|
|
948
|
-
"label": "Authenticated";
|
|
949
|
-
}, {
|
|
950
|
-
"value": "anonymous";
|
|
951
|
-
"label": "Anonymous";
|
|
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";
|
|
986
|
-
}, {
|
|
987
|
-
"label": "Clocked out";
|
|
988
|
-
"value": "clockedOut";
|
|
989
|
-
}, {
|
|
990
|
-
"label": "On premises";
|
|
991
|
-
"value": "onPrem";
|
|
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';
|
|
504
|
+
/** Timezone. */
|
|
505
|
+
'timezone': {
|
|
506
|
+
label: 'Timezone';
|
|
507
|
+
type: 'select';
|
|
1229
508
|
options: {
|
|
1230
509
|
choices: [{
|
|
1231
510
|
"value": "Pacific/Niue";
|
|
@@ -3290,35 +2569,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3290
2569
|
interface GetEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetEventContractsEmitTargetAndPayloadSchema> {
|
|
3291
2570
|
}
|
|
3292
2571
|
}
|
|
3293
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3294
|
-
interface GetPermissionContractResponsePayload {
|
|
3295
|
-
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
3296
|
-
'skillId'?: string | undefined | null;
|
|
3297
|
-
}
|
|
3298
|
-
interface GetPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
3299
|
-
id: 'getPermissionContractResponsePayload';
|
|
3300
|
-
version: 'v2020_12_25';
|
|
3301
|
-
namespace: 'Mercury';
|
|
3302
|
-
name: '';
|
|
3303
|
-
fields: {
|
|
3304
|
-
/** . */
|
|
3305
|
-
'permissionContract': {
|
|
3306
|
-
type: 'schema';
|
|
3307
|
-
isRequired: true;
|
|
3308
|
-
options: {
|
|
3309
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
3310
|
-
};
|
|
3311
|
-
};
|
|
3312
|
-
/** . */
|
|
3313
|
-
'skillId': {
|
|
3314
|
-
type: 'id';
|
|
3315
|
-
options: undefined;
|
|
3316
|
-
};
|
|
3317
|
-
};
|
|
3318
|
-
}
|
|
3319
|
-
interface GetPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetPermissionContractResponsePayloadSchema> {
|
|
3320
|
-
}
|
|
3321
|
-
}
|
|
3322
2572
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3323
2573
|
interface GetEventContractsResponsePayload {
|
|
3324
2574
|
'contracts': SpruceSchemas.Mercury.v2020_12_25.EventContract[];
|
|
@@ -3369,6 +2619,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3369
2619
|
interface GetFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema> {
|
|
3370
2620
|
}
|
|
3371
2621
|
}
|
|
2622
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
2623
|
+
interface GetFeedEmitTargetAndPayload {
|
|
2624
|
+
/** Source. */
|
|
2625
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
2626
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTarget | undefined | null;
|
|
2627
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayload;
|
|
2628
|
+
}
|
|
2629
|
+
interface GetFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
2630
|
+
id: 'getFeedEmitTargetAndPayload';
|
|
2631
|
+
version: 'v2020_12_25';
|
|
2632
|
+
namespace: 'Mercury';
|
|
2633
|
+
name: '';
|
|
2634
|
+
fields: {
|
|
2635
|
+
/** Source. */
|
|
2636
|
+
'source': {
|
|
2637
|
+
label: 'Source';
|
|
2638
|
+
type: 'schema';
|
|
2639
|
+
options: {
|
|
2640
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
2641
|
+
};
|
|
2642
|
+
};
|
|
2643
|
+
/** . */
|
|
2644
|
+
'target': {
|
|
2645
|
+
type: 'schema';
|
|
2646
|
+
options: {
|
|
2647
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema;
|
|
2648
|
+
};
|
|
2649
|
+
};
|
|
2650
|
+
/** . */
|
|
2651
|
+
'payload': {
|
|
2652
|
+
type: 'schema';
|
|
2653
|
+
isRequired: true;
|
|
2654
|
+
options: {
|
|
2655
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema;
|
|
2656
|
+
};
|
|
2657
|
+
};
|
|
2658
|
+
};
|
|
2659
|
+
}
|
|
2660
|
+
interface GetFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetAndPayloadSchema> {
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
3372
2663
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3373
2664
|
interface GetFeedPagingRequest {
|
|
3374
2665
|
'next'?: string | undefined | null;
|
|
@@ -3414,89 +2705,48 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3414
2705
|
};
|
|
3415
2706
|
};
|
|
3416
2707
|
/** . */
|
|
3417
|
-
'source': {
|
|
3418
|
-
type: 'schema';
|
|
3419
|
-
options: {
|
|
3420
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3421
|
-
};
|
|
3422
|
-
};
|
|
3423
|
-
};
|
|
3424
|
-
}
|
|
3425
|
-
interface FeedPredicateEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FeedPredicateSchema> {
|
|
3426
|
-
}
|
|
3427
|
-
}
|
|
3428
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3429
|
-
interface GetFeedEmitPayload {
|
|
3430
|
-
'paging'?: SpruceSchemas.Mercury.v2020_12_25.GetFeedPagingRequest | undefined | null;
|
|
3431
|
-
'predicates': SpruceSchemas.Mercury.v2020_12_25.FeedPredicate[];
|
|
3432
|
-
}
|
|
3433
|
-
interface GetFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
3434
|
-
id: 'getFeedEmitPayload';
|
|
3435
|
-
version: 'v2020_12_25';
|
|
3436
|
-
namespace: 'Mercury';
|
|
3437
|
-
name: '';
|
|
3438
|
-
fields: {
|
|
3439
|
-
/** . */
|
|
3440
|
-
'paging': {
|
|
3441
|
-
type: 'schema';
|
|
3442
|
-
options: {
|
|
3443
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedPagingRequestSchema;
|
|
3444
|
-
};
|
|
3445
|
-
};
|
|
3446
|
-
/** . */
|
|
3447
|
-
'predicates': {
|
|
3448
|
-
type: 'schema';
|
|
3449
|
-
isRequired: true;
|
|
3450
|
-
isArray: true;
|
|
3451
|
-
minArrayLength: 0;
|
|
2708
|
+
'source': {
|
|
2709
|
+
type: 'schema';
|
|
3452
2710
|
options: {
|
|
3453
|
-
schema: SpruceSchemas.
|
|
2711
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3454
2712
|
};
|
|
3455
2713
|
};
|
|
3456
2714
|
};
|
|
3457
2715
|
}
|
|
3458
|
-
interface
|
|
2716
|
+
interface FeedPredicateEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FeedPredicateSchema> {
|
|
3459
2717
|
}
|
|
3460
2718
|
}
|
|
3461
2719
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3462
|
-
interface
|
|
3463
|
-
|
|
3464
|
-
'
|
|
3465
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTarget | undefined | null;
|
|
3466
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayload;
|
|
2720
|
+
interface GetFeedEmitPayload {
|
|
2721
|
+
'paging'?: SpruceSchemas.Mercury.v2020_12_25.GetFeedPagingRequest | undefined | null;
|
|
2722
|
+
'predicates': SpruceSchemas.Mercury.v2020_12_25.FeedPredicate[];
|
|
3467
2723
|
}
|
|
3468
|
-
interface
|
|
3469
|
-
id: '
|
|
2724
|
+
interface GetFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
2725
|
+
id: 'getFeedEmitPayload';
|
|
3470
2726
|
version: 'v2020_12_25';
|
|
3471
2727
|
namespace: 'Mercury';
|
|
3472
2728
|
name: '';
|
|
3473
2729
|
fields: {
|
|
3474
|
-
/** Source. */
|
|
3475
|
-
'source': {
|
|
3476
|
-
label: 'Source';
|
|
3477
|
-
type: 'schema';
|
|
3478
|
-
options: {
|
|
3479
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
3480
|
-
};
|
|
3481
|
-
};
|
|
3482
2730
|
/** . */
|
|
3483
|
-
'
|
|
2731
|
+
'paging': {
|
|
3484
2732
|
type: 'schema';
|
|
3485
2733
|
options: {
|
|
3486
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
2734
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.GetFeedPagingRequestSchema;
|
|
3487
2735
|
};
|
|
3488
2736
|
};
|
|
3489
2737
|
/** . */
|
|
3490
|
-
'
|
|
2738
|
+
'predicates': {
|
|
3491
2739
|
type: 'schema';
|
|
3492
2740
|
isRequired: true;
|
|
2741
|
+
isArray: true;
|
|
2742
|
+
minArrayLength: 0;
|
|
3493
2743
|
options: {
|
|
3494
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
2744
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FeedPredicateSchema;
|
|
3495
2745
|
};
|
|
3496
2746
|
};
|
|
3497
2747
|
};
|
|
3498
2748
|
}
|
|
3499
|
-
interface
|
|
2749
|
+
interface GetFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema> {
|
|
3500
2750
|
}
|
|
3501
2751
|
}
|
|
3502
2752
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -3752,6 +3002,35 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3752
3002
|
interface GetPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetPermissionContractEmitTargetAndPayloadSchema> {
|
|
3753
3003
|
}
|
|
3754
3004
|
}
|
|
3005
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3006
|
+
interface GetPermissionContractResponsePayload {
|
|
3007
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
3008
|
+
'skillId'?: string | undefined | null;
|
|
3009
|
+
}
|
|
3010
|
+
interface GetPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
3011
|
+
id: 'getPermissionContractResponsePayload';
|
|
3012
|
+
version: 'v2020_12_25';
|
|
3013
|
+
namespace: 'Mercury';
|
|
3014
|
+
name: '';
|
|
3015
|
+
fields: {
|
|
3016
|
+
/** . */
|
|
3017
|
+
'permissionContract': {
|
|
3018
|
+
type: 'schema';
|
|
3019
|
+
isRequired: true;
|
|
3020
|
+
options: {
|
|
3021
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
3022
|
+
};
|
|
3023
|
+
};
|
|
3024
|
+
/** . */
|
|
3025
|
+
'skillId': {
|
|
3026
|
+
type: 'id';
|
|
3027
|
+
options: undefined;
|
|
3028
|
+
};
|
|
3029
|
+
};
|
|
3030
|
+
}
|
|
3031
|
+
interface GetPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetPermissionContractResponsePayloadSchema> {
|
|
3032
|
+
}
|
|
3033
|
+
}
|
|
3755
3034
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3756
3035
|
interface GetPersonEmitTarget {
|
|
3757
3036
|
'personId'?: string | undefined | null;
|
|
@@ -4693,34 +3972,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4693
3972
|
interface ListInstalledSkillsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListInstalledSkillsResponsePayloadSchema> {
|
|
4694
3973
|
}
|
|
4695
3974
|
}
|
|
4696
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4697
|
-
interface ListLocationsEmitPayload {
|
|
4698
|
-
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
4699
|
-
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
4700
|
-
}
|
|
4701
|
-
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
4702
|
-
id: 'listLocationsEmitPayload';
|
|
4703
|
-
version: 'v2020_12_25';
|
|
4704
|
-
namespace: 'Mercury';
|
|
4705
|
-
name: '';
|
|
4706
|
-
fields: {
|
|
4707
|
-
/** . */
|
|
4708
|
-
'shouldOnlyShowWhereIAmEmployed': {
|
|
4709
|
-
type: 'boolean';
|
|
4710
|
-
options: undefined;
|
|
4711
|
-
};
|
|
4712
|
-
/** . */
|
|
4713
|
-
'paging': {
|
|
4714
|
-
type: 'schema';
|
|
4715
|
-
options: {
|
|
4716
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
4717
|
-
};
|
|
4718
|
-
};
|
|
4719
|
-
};
|
|
4720
|
-
}
|
|
4721
|
-
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
4722
|
-
}
|
|
4723
|
-
}
|
|
4724
3975
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4725
3976
|
interface ListLocationsEmitTarget {
|
|
4726
3977
|
'organizationId'?: string | undefined | null;
|
|
@@ -4807,35 +4058,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4807
4058
|
}
|
|
4808
4059
|
}
|
|
4809
4060
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4810
|
-
interface
|
|
4811
|
-
|
|
4812
|
-
'
|
|
4813
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
4061
|
+
interface ListLocationsEmitPayload {
|
|
4062
|
+
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
4063
|
+
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
4814
4064
|
}
|
|
4815
|
-
interface
|
|
4816
|
-
id: '
|
|
4065
|
+
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
4066
|
+
id: 'listLocationsEmitPayload';
|
|
4817
4067
|
version: 'v2020_12_25';
|
|
4818
4068
|
namespace: 'Mercury';
|
|
4819
4069
|
name: '';
|
|
4820
4070
|
fields: {
|
|
4821
|
-
/**
|
|
4822
|
-
'
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
options: {
|
|
4826
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4827
|
-
};
|
|
4071
|
+
/** . */
|
|
4072
|
+
'shouldOnlyShowWhereIAmEmployed': {
|
|
4073
|
+
type: 'boolean';
|
|
4074
|
+
options: undefined;
|
|
4828
4075
|
};
|
|
4829
4076
|
/** . */
|
|
4830
|
-
'
|
|
4077
|
+
'paging': {
|
|
4831
4078
|
type: 'schema';
|
|
4832
4079
|
options: {
|
|
4833
|
-
schema: SpruceSchemas.
|
|
4080
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
4834
4081
|
};
|
|
4835
4082
|
};
|
|
4836
4083
|
};
|
|
4837
4084
|
}
|
|
4838
|
-
interface
|
|
4085
|
+
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
4839
4086
|
}
|
|
4840
4087
|
}
|
|
4841
4088
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -4878,6 +4125,38 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4878
4125
|
interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
|
|
4879
4126
|
}
|
|
4880
4127
|
}
|
|
4128
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4129
|
+
interface ListOrganizationsEmitTargetAndPayload {
|
|
4130
|
+
/** Source. */
|
|
4131
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4132
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
4133
|
+
}
|
|
4134
|
+
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
4135
|
+
id: 'listOrganizationsEmitTargetAndPayload';
|
|
4136
|
+
version: 'v2020_12_25';
|
|
4137
|
+
namespace: 'Mercury';
|
|
4138
|
+
name: '';
|
|
4139
|
+
fields: {
|
|
4140
|
+
/** Source. */
|
|
4141
|
+
'source': {
|
|
4142
|
+
label: 'Source';
|
|
4143
|
+
type: 'schema';
|
|
4144
|
+
options: {
|
|
4145
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4146
|
+
};
|
|
4147
|
+
};
|
|
4148
|
+
/** . */
|
|
4149
|
+
'payload': {
|
|
4150
|
+
type: 'schema';
|
|
4151
|
+
options: {
|
|
4152
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
4153
|
+
};
|
|
4154
|
+
};
|
|
4155
|
+
};
|
|
4156
|
+
}
|
|
4157
|
+
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
4158
|
+
}
|
|
4159
|
+
}
|
|
4881
4160
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4882
4161
|
interface ListOrgsResponsePayload {
|
|
4883
4162
|
'organizations': SpruceSchemas.Spruce.v2020_07_22.Organization[];
|
|
@@ -5352,57 +4631,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5352
4631
|
interface ListRolesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesEmitTargetAndPayloadSchema> {
|
|
5353
4632
|
}
|
|
5354
4633
|
}
|
|
5355
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5356
|
-
interface ListRolesResponsePayload {
|
|
5357
|
-
'roles': SpruceSchemas.Mercury.v2020_12_25.ListRole[];
|
|
5358
|
-
}
|
|
5359
|
-
interface ListRolesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
5360
|
-
id: 'listRolesResponsePayload';
|
|
5361
|
-
version: 'v2020_12_25';
|
|
5362
|
-
namespace: 'Mercury';
|
|
5363
|
-
name: '';
|
|
5364
|
-
fields: {
|
|
5365
|
-
/** . */
|
|
5366
|
-
'roles': {
|
|
5367
|
-
type: 'schema';
|
|
5368
|
-
isRequired: true;
|
|
5369
|
-
isArray: true;
|
|
5370
|
-
minArrayLength: 0;
|
|
5371
|
-
options: {
|
|
5372
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema;
|
|
5373
|
-
};
|
|
5374
|
-
};
|
|
5375
|
-
};
|
|
5376
|
-
}
|
|
5377
|
-
interface ListRolesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesResponsePayloadSchema> {
|
|
5378
|
-
}
|
|
5379
|
-
}
|
|
5380
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5381
|
-
interface ListSchemaTarget {
|
|
5382
|
-
'organizationId'?: string | undefined | null;
|
|
5383
|
-
'locationId'?: string | undefined | null;
|
|
5384
|
-
}
|
|
5385
|
-
interface ListSchemaTargetSchema extends SpruceSchema.Schema {
|
|
5386
|
-
id: 'listSchemaTarget';
|
|
5387
|
-
version: 'v2020_12_25';
|
|
5388
|
-
namespace: 'Mercury';
|
|
5389
|
-
name: '';
|
|
5390
|
-
fields: {
|
|
5391
|
-
/** . */
|
|
5392
|
-
'organizationId': {
|
|
5393
|
-
type: 'id';
|
|
5394
|
-
options: undefined;
|
|
5395
|
-
};
|
|
5396
|
-
/** . */
|
|
5397
|
-
'locationId': {
|
|
5398
|
-
type: 'id';
|
|
5399
|
-
options: undefined;
|
|
5400
|
-
};
|
|
5401
|
-
};
|
|
5402
|
-
}
|
|
5403
|
-
interface ListSchemaTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListSchemaTargetSchema> {
|
|
5404
|
-
}
|
|
5405
|
-
}
|
|
5406
4634
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5407
4635
|
interface ListRole {
|
|
5408
4636
|
/** Id. */
|
|
@@ -5517,6 +4745,57 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5517
4745
|
interface ListRoleEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema> {
|
|
5518
4746
|
}
|
|
5519
4747
|
}
|
|
4748
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4749
|
+
interface ListRolesResponsePayload {
|
|
4750
|
+
'roles': SpruceSchemas.Mercury.v2020_12_25.ListRole[];
|
|
4751
|
+
}
|
|
4752
|
+
interface ListRolesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
4753
|
+
id: 'listRolesResponsePayload';
|
|
4754
|
+
version: 'v2020_12_25';
|
|
4755
|
+
namespace: 'Mercury';
|
|
4756
|
+
name: '';
|
|
4757
|
+
fields: {
|
|
4758
|
+
/** . */
|
|
4759
|
+
'roles': {
|
|
4760
|
+
type: 'schema';
|
|
4761
|
+
isRequired: true;
|
|
4762
|
+
isArray: true;
|
|
4763
|
+
minArrayLength: 0;
|
|
4764
|
+
options: {
|
|
4765
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema;
|
|
4766
|
+
};
|
|
4767
|
+
};
|
|
4768
|
+
};
|
|
4769
|
+
}
|
|
4770
|
+
interface ListRolesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesResponsePayloadSchema> {
|
|
4771
|
+
}
|
|
4772
|
+
}
|
|
4773
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4774
|
+
interface ListSchemaTarget {
|
|
4775
|
+
'organizationId'?: string | undefined | null;
|
|
4776
|
+
'locationId'?: string | undefined | null;
|
|
4777
|
+
}
|
|
4778
|
+
interface ListSchemaTargetSchema extends SpruceSchema.Schema {
|
|
4779
|
+
id: 'listSchemaTarget';
|
|
4780
|
+
version: 'v2020_12_25';
|
|
4781
|
+
namespace: 'Mercury';
|
|
4782
|
+
name: '';
|
|
4783
|
+
fields: {
|
|
4784
|
+
/** . */
|
|
4785
|
+
'organizationId': {
|
|
4786
|
+
type: 'id';
|
|
4787
|
+
options: undefined;
|
|
4788
|
+
};
|
|
4789
|
+
/** . */
|
|
4790
|
+
'locationId': {
|
|
4791
|
+
type: 'id';
|
|
4792
|
+
options: undefined;
|
|
4793
|
+
};
|
|
4794
|
+
};
|
|
4795
|
+
}
|
|
4796
|
+
interface ListSchemaTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListSchemaTargetSchema> {
|
|
4797
|
+
}
|
|
4798
|
+
}
|
|
5520
4799
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5521
4800
|
interface ListSkillsEmitPayload {
|
|
5522
4801
|
'shouldOnlyShowMine'?: boolean | undefined | null;
|
|
@@ -6420,47 +5699,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6420
5699
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
6421
5700
|
}
|
|
6422
5701
|
}
|
|
6423
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6424
|
-
interface SendMessageEmitTargetAndPayload {
|
|
6425
|
-
/** Source. */
|
|
6426
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
6427
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
6428
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
6429
|
-
}
|
|
6430
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
6431
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
6432
|
-
version: 'v2020_12_25';
|
|
6433
|
-
namespace: 'Mercury';
|
|
6434
|
-
name: '';
|
|
6435
|
-
fields: {
|
|
6436
|
-
/** Source. */
|
|
6437
|
-
'source': {
|
|
6438
|
-
label: 'Source';
|
|
6439
|
-
type: 'schema';
|
|
6440
|
-
options: {
|
|
6441
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
6442
|
-
};
|
|
6443
|
-
};
|
|
6444
|
-
/** . */
|
|
6445
|
-
'target': {
|
|
6446
|
-
type: 'schema';
|
|
6447
|
-
options: {
|
|
6448
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
6449
|
-
};
|
|
6450
|
-
};
|
|
6451
|
-
/** . */
|
|
6452
|
-
'payload': {
|
|
6453
|
-
type: 'schema';
|
|
6454
|
-
isRequired: true;
|
|
6455
|
-
options: {
|
|
6456
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
6457
|
-
};
|
|
6458
|
-
};
|
|
6459
|
-
};
|
|
6460
|
-
}
|
|
6461
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
6462
|
-
}
|
|
6463
|
-
}
|
|
6464
5702
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6465
5703
|
interface SendMessageMessagePayload {
|
|
6466
5704
|
'classification': ("auth" | "transactional" | "promotional" | "incoming");
|
|
@@ -6560,6 +5798,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6560
5798
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
6561
5799
|
}
|
|
6562
5800
|
}
|
|
5801
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5802
|
+
interface SendMessageEmitTargetAndPayload {
|
|
5803
|
+
/** Source. */
|
|
5804
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
5805
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
5806
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
5807
|
+
}
|
|
5808
|
+
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
5809
|
+
id: 'sendMessageEmitTargetAndPayload';
|
|
5810
|
+
version: 'v2020_12_25';
|
|
5811
|
+
namespace: 'Mercury';
|
|
5812
|
+
name: '';
|
|
5813
|
+
fields: {
|
|
5814
|
+
/** Source. */
|
|
5815
|
+
'source': {
|
|
5816
|
+
label: 'Source';
|
|
5817
|
+
type: 'schema';
|
|
5818
|
+
options: {
|
|
5819
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
5820
|
+
};
|
|
5821
|
+
};
|
|
5822
|
+
/** . */
|
|
5823
|
+
'target': {
|
|
5824
|
+
type: 'schema';
|
|
5825
|
+
options: {
|
|
5826
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
5827
|
+
};
|
|
5828
|
+
};
|
|
5829
|
+
/** . */
|
|
5830
|
+
'payload': {
|
|
5831
|
+
type: 'schema';
|
|
5832
|
+
isRequired: true;
|
|
5833
|
+
options: {
|
|
5834
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
5835
|
+
};
|
|
5836
|
+
};
|
|
5837
|
+
};
|
|
5838
|
+
}
|
|
5839
|
+
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
5840
|
+
}
|
|
5841
|
+
}
|
|
6563
5842
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6564
5843
|
interface SendMessageResponsePayload {
|
|
6565
5844
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -6672,30 +5951,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6672
5951
|
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
6673
5952
|
}
|
|
6674
5953
|
}
|
|
6675
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6676
|
-
interface SyncEventContractsEmitPayload {
|
|
6677
|
-
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
6678
|
-
}
|
|
6679
|
-
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
6680
|
-
id: 'syncEventContractsEmitPayload';
|
|
6681
|
-
version: 'v2020_12_25';
|
|
6682
|
-
namespace: 'Mercury';
|
|
6683
|
-
name: '';
|
|
6684
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
6685
|
-
fields: {
|
|
6686
|
-
/** . */
|
|
6687
|
-
'contract': {
|
|
6688
|
-
type: 'schema';
|
|
6689
|
-
isRequired: true;
|
|
6690
|
-
options: {
|
|
6691
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
6692
|
-
};
|
|
6693
|
-
};
|
|
6694
|
-
};
|
|
6695
|
-
}
|
|
6696
|
-
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
6697
|
-
}
|
|
6698
|
-
}
|
|
6699
5954
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6700
5955
|
interface SyncEventContractsEmitTargetAndPayload {
|
|
6701
5956
|
/** Source. */
|
|
@@ -6729,6 +5984,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6729
5984
|
interface SyncEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitTargetAndPayloadSchema> {
|
|
6730
5985
|
}
|
|
6731
5986
|
}
|
|
5987
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5988
|
+
interface SyncEventContractsEmitPayload {
|
|
5989
|
+
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
5990
|
+
}
|
|
5991
|
+
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
5992
|
+
id: 'syncEventContractsEmitPayload';
|
|
5993
|
+
version: 'v2020_12_25';
|
|
5994
|
+
namespace: 'Mercury';
|
|
5995
|
+
name: '';
|
|
5996
|
+
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
5997
|
+
fields: {
|
|
5998
|
+
/** . */
|
|
5999
|
+
'contract': {
|
|
6000
|
+
type: 'schema';
|
|
6001
|
+
isRequired: true;
|
|
6002
|
+
options: {
|
|
6003
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
6004
|
+
};
|
|
6005
|
+
};
|
|
6006
|
+
};
|
|
6007
|
+
}
|
|
6008
|
+
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
6009
|
+
}
|
|
6010
|
+
}
|
|
6732
6011
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6733
6012
|
interface SyncEventContractsResponsePayload {
|
|
6734
6013
|
/** Event names. */
|
|
@@ -6821,30 +6100,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6821
6100
|
interface SyncPermissionContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitTargetAndPayloadSchema> {
|
|
6822
6101
|
}
|
|
6823
6102
|
}
|
|
6824
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6825
|
-
interface SyncPermissionContractsResponsePayload {
|
|
6826
|
-
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
6827
|
-
}
|
|
6828
|
-
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
6829
|
-
id: 'syncPermissionContractsResponsePayload';
|
|
6830
|
-
version: 'v2020_12_25';
|
|
6831
|
-
namespace: 'Mercury';
|
|
6832
|
-
name: '';
|
|
6833
|
-
fields: {
|
|
6834
|
-
/** . */
|
|
6835
|
-
'contractRecords': {
|
|
6836
|
-
type: 'schema';
|
|
6837
|
-
isRequired: true;
|
|
6838
|
-
isArray: true;
|
|
6839
|
-
options: {
|
|
6840
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
6841
|
-
};
|
|
6842
|
-
};
|
|
6843
|
-
};
|
|
6844
|
-
}
|
|
6845
|
-
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
6846
|
-
}
|
|
6847
|
-
}
|
|
6848
6103
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6849
6104
|
interface FullPermissionContract {
|
|
6850
6105
|
'id': string;
|
|
@@ -6889,6 +6144,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6889
6144
|
interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
|
|
6890
6145
|
}
|
|
6891
6146
|
}
|
|
6147
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6148
|
+
interface SyncPermissionContractsResponsePayload {
|
|
6149
|
+
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
6150
|
+
}
|
|
6151
|
+
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
6152
|
+
id: 'syncPermissionContractsResponsePayload';
|
|
6153
|
+
version: 'v2020_12_25';
|
|
6154
|
+
namespace: 'Mercury';
|
|
6155
|
+
name: '';
|
|
6156
|
+
fields: {
|
|
6157
|
+
/** . */
|
|
6158
|
+
'contractRecords': {
|
|
6159
|
+
type: 'schema';
|
|
6160
|
+
isRequired: true;
|
|
6161
|
+
isArray: true;
|
|
6162
|
+
options: {
|
|
6163
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
6164
|
+
};
|
|
6165
|
+
};
|
|
6166
|
+
};
|
|
6167
|
+
}
|
|
6168
|
+
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
6169
|
+
}
|
|
6170
|
+
}
|
|
6892
6171
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6893
6172
|
interface UnInstallSkillEmitTarget {
|
|
6894
6173
|
'skillId': string;
|
|
@@ -8339,61 +7618,916 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8339
7618
|
"value": "Pacific/Wake";
|
|
8340
7619
|
"label": "Wake Island Time";
|
|
8341
7620
|
}, {
|
|
8342
|
-
"value": "Pacific/Wallis";
|
|
8343
|
-
"label": "Wallis & Futuna Time";
|
|
7621
|
+
"value": "Pacific/Wallis";
|
|
7622
|
+
"label": "Wallis & Futuna Time";
|
|
7623
|
+
}, {
|
|
7624
|
+
"value": "Pacific/Chatham";
|
|
7625
|
+
"label": "Chatham Time";
|
|
7626
|
+
}, {
|
|
7627
|
+
"value": "Pacific/Apia";
|
|
7628
|
+
"label": "Apia Standard Time";
|
|
7629
|
+
}, {
|
|
7630
|
+
"value": "Pacific/Fakaofo";
|
|
7631
|
+
"label": "Tokelau Time";
|
|
7632
|
+
}, {
|
|
7633
|
+
"value": "Pacific/Tongatapu";
|
|
7634
|
+
"label": "Tonga Standard Time";
|
|
7635
|
+
}, {
|
|
7636
|
+
"value": "Pacific/Kiritimati";
|
|
7637
|
+
"label": "Line Islands Time";
|
|
7638
|
+
}];
|
|
7639
|
+
};
|
|
7640
|
+
};
|
|
7641
|
+
/** Address. */
|
|
7642
|
+
'address': {
|
|
7643
|
+
label: 'Address';
|
|
7644
|
+
type: 'address';
|
|
7645
|
+
options: undefined;
|
|
7646
|
+
};
|
|
7647
|
+
/** . */
|
|
7648
|
+
'dateCreated': {
|
|
7649
|
+
type: 'dateTime';
|
|
7650
|
+
options: undefined;
|
|
7651
|
+
};
|
|
7652
|
+
/** . */
|
|
7653
|
+
'dateDeleted': {
|
|
7654
|
+
type: 'dateTime';
|
|
7655
|
+
options: undefined;
|
|
7656
|
+
};
|
|
7657
|
+
/** . */
|
|
7658
|
+
'organizationId': {
|
|
7659
|
+
type: 'id';
|
|
7660
|
+
options: undefined;
|
|
7661
|
+
};
|
|
7662
|
+
};
|
|
7663
|
+
}
|
|
7664
|
+
interface UpdateLocationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateLocationEmitPayloadSchema> {
|
|
7665
|
+
}
|
|
7666
|
+
}
|
|
7667
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7668
|
+
interface UpdateLocationEmitTargetAndPayload {
|
|
7669
|
+
/** Source. */
|
|
7670
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7671
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateLocationEmitTarget;
|
|
7672
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateLocationEmitPayload | undefined | null;
|
|
7673
|
+
}
|
|
7674
|
+
interface UpdateLocationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7675
|
+
id: 'updateLocationEmitTargetAndPayload';
|
|
7676
|
+
version: 'v2020_12_25';
|
|
7677
|
+
namespace: 'Mercury';
|
|
7678
|
+
name: '';
|
|
7679
|
+
fields: {
|
|
7680
|
+
/** Source. */
|
|
7681
|
+
'source': {
|
|
7682
|
+
label: 'Source';
|
|
7683
|
+
type: 'schema';
|
|
7684
|
+
options: {
|
|
7685
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7686
|
+
};
|
|
7687
|
+
};
|
|
7688
|
+
/** . */
|
|
7689
|
+
'target': {
|
|
7690
|
+
type: 'schema';
|
|
7691
|
+
isRequired: true;
|
|
7692
|
+
options: {
|
|
7693
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateLocationEmitTargetSchema;
|
|
7694
|
+
};
|
|
7695
|
+
};
|
|
7696
|
+
/** . */
|
|
7697
|
+
'payload': {
|
|
7698
|
+
type: 'schema';
|
|
7699
|
+
options: {
|
|
7700
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateLocationEmitPayloadSchema;
|
|
7701
|
+
};
|
|
7702
|
+
};
|
|
7703
|
+
};
|
|
7704
|
+
}
|
|
7705
|
+
interface UpdateLocationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateLocationEmitTargetAndPayloadSchema> {
|
|
7706
|
+
}
|
|
7707
|
+
}
|
|
7708
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7709
|
+
interface UpdateLocationResponsePayload {
|
|
7710
|
+
'location': SpruceSchemas.Spruce.v2020_07_22.Location;
|
|
7711
|
+
}
|
|
7712
|
+
interface UpdateLocationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
7713
|
+
id: 'updateLocationResponsePayload';
|
|
7714
|
+
version: 'v2020_12_25';
|
|
7715
|
+
namespace: 'Mercury';
|
|
7716
|
+
name: '';
|
|
7717
|
+
fields: {
|
|
7718
|
+
/** . */
|
|
7719
|
+
'location': {
|
|
7720
|
+
type: 'schema';
|
|
7721
|
+
isRequired: true;
|
|
7722
|
+
options: {
|
|
7723
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LocationSchema;
|
|
7724
|
+
};
|
|
7725
|
+
};
|
|
7726
|
+
};
|
|
7727
|
+
}
|
|
7728
|
+
interface UpdateLocationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateLocationResponsePayloadSchema> {
|
|
7729
|
+
}
|
|
7730
|
+
}
|
|
7731
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7732
|
+
interface UpdateOrgEmitTarget {
|
|
7733
|
+
'organizationId': string;
|
|
7734
|
+
}
|
|
7735
|
+
interface UpdateOrgEmitTargetSchema extends SpruceSchema.Schema {
|
|
7736
|
+
id: 'updateOrgEmitTarget';
|
|
7737
|
+
version: 'v2020_12_25';
|
|
7738
|
+
namespace: 'Mercury';
|
|
7739
|
+
name: '';
|
|
7740
|
+
fields: {
|
|
7741
|
+
/** . */
|
|
7742
|
+
'organizationId': {
|
|
7743
|
+
type: 'id';
|
|
7744
|
+
isRequired: true;
|
|
7745
|
+
options: undefined;
|
|
7746
|
+
};
|
|
7747
|
+
};
|
|
7748
|
+
}
|
|
7749
|
+
interface UpdateOrgEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateOrgEmitTargetSchema> {
|
|
7750
|
+
}
|
|
7751
|
+
}
|
|
7752
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7753
|
+
interface UpdateOrgEmitPayload {
|
|
7754
|
+
/** Name. */
|
|
7755
|
+
'name'?: string | undefined | null;
|
|
7756
|
+
/** Address. */
|
|
7757
|
+
'address'?: SpruceSchema.AddressFieldValue | undefined | null;
|
|
7758
|
+
/** Public. Is this organization viewable by guests? */
|
|
7759
|
+
'isPublic'?: boolean | undefined | null;
|
|
7760
|
+
'dateCreated'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
7761
|
+
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
7762
|
+
}
|
|
7763
|
+
interface UpdateOrgEmitPayloadSchema extends SpruceSchema.Schema {
|
|
7764
|
+
id: 'updateOrgEmitPayload';
|
|
7765
|
+
version: 'v2020_12_25';
|
|
7766
|
+
namespace: 'Mercury';
|
|
7767
|
+
name: '';
|
|
7768
|
+
fields: {
|
|
7769
|
+
/** Name. */
|
|
7770
|
+
'name': {
|
|
7771
|
+
label: 'Name';
|
|
7772
|
+
type: 'text';
|
|
7773
|
+
options: undefined;
|
|
7774
|
+
};
|
|
7775
|
+
/** Address. */
|
|
7776
|
+
'address': {
|
|
7777
|
+
label: 'Address';
|
|
7778
|
+
type: 'address';
|
|
7779
|
+
options: undefined;
|
|
7780
|
+
};
|
|
7781
|
+
/** Public. Is this organization viewable by guests? */
|
|
7782
|
+
'isPublic': {
|
|
7783
|
+
label: 'Public';
|
|
7784
|
+
type: 'boolean';
|
|
7785
|
+
hint: 'Is this organization viewable by guests?';
|
|
7786
|
+
defaultValue: false;
|
|
7787
|
+
options: undefined;
|
|
7788
|
+
};
|
|
7789
|
+
/** . */
|
|
7790
|
+
'dateCreated': {
|
|
7791
|
+
type: 'dateTime';
|
|
7792
|
+
options: undefined;
|
|
7793
|
+
};
|
|
7794
|
+
/** . */
|
|
7795
|
+
'dateDeleted': {
|
|
7796
|
+
type: 'dateTime';
|
|
7797
|
+
options: undefined;
|
|
7798
|
+
};
|
|
7799
|
+
};
|
|
7800
|
+
}
|
|
7801
|
+
interface UpdateOrgEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateOrgEmitPayloadSchema> {
|
|
7802
|
+
}
|
|
7803
|
+
}
|
|
7804
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7805
|
+
interface UpdateOrganizationEmitTargetAndPayload {
|
|
7806
|
+
/** Source. */
|
|
7807
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7808
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateOrgEmitTarget;
|
|
7809
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateOrgEmitPayload | undefined | null;
|
|
7810
|
+
}
|
|
7811
|
+
interface UpdateOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7812
|
+
id: 'updateOrganizationEmitTargetAndPayload';
|
|
7813
|
+
version: 'v2020_12_25';
|
|
7814
|
+
namespace: 'Mercury';
|
|
7815
|
+
name: '';
|
|
7816
|
+
fields: {
|
|
7817
|
+
/** Source. */
|
|
7818
|
+
'source': {
|
|
7819
|
+
label: 'Source';
|
|
7820
|
+
type: 'schema';
|
|
7821
|
+
options: {
|
|
7822
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7823
|
+
};
|
|
7824
|
+
};
|
|
7825
|
+
/** . */
|
|
7826
|
+
'target': {
|
|
7827
|
+
type: 'schema';
|
|
7828
|
+
isRequired: true;
|
|
7829
|
+
options: {
|
|
7830
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateOrgEmitTargetSchema;
|
|
7831
|
+
};
|
|
7832
|
+
};
|
|
7833
|
+
/** . */
|
|
7834
|
+
'payload': {
|
|
7835
|
+
type: 'schema';
|
|
7836
|
+
options: {
|
|
7837
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateOrgEmitPayloadSchema;
|
|
7838
|
+
};
|
|
7839
|
+
};
|
|
7840
|
+
};
|
|
7841
|
+
}
|
|
7842
|
+
interface UpdateOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateOrganizationEmitTargetAndPayloadSchema> {
|
|
7843
|
+
}
|
|
7844
|
+
}
|
|
7845
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7846
|
+
interface UpdateOrg {
|
|
7847
|
+
/** Name. */
|
|
7848
|
+
'name'?: string | undefined | null;
|
|
7849
|
+
/** Address. */
|
|
7850
|
+
'address'?: SpruceSchema.AddressFieldValue | undefined | null;
|
|
7851
|
+
/** Slug. */
|
|
7852
|
+
'slug'?: string | undefined | null;
|
|
7853
|
+
/** Public. Is this organization viewable by guests? */
|
|
7854
|
+
'isPublic'?: boolean | undefined | null;
|
|
7855
|
+
'dateCreated'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
7856
|
+
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
7857
|
+
}
|
|
7858
|
+
interface UpdateOrgSchema extends SpruceSchema.Schema {
|
|
7859
|
+
id: 'updateOrg';
|
|
7860
|
+
version: 'v2020_12_25';
|
|
7861
|
+
namespace: 'Mercury';
|
|
7862
|
+
name: '';
|
|
7863
|
+
fields: {
|
|
7864
|
+
/** Name. */
|
|
7865
|
+
'name': {
|
|
7866
|
+
label: 'Name';
|
|
7867
|
+
type: 'text';
|
|
7868
|
+
options: undefined;
|
|
7869
|
+
};
|
|
7870
|
+
/** Address. */
|
|
7871
|
+
'address': {
|
|
7872
|
+
label: 'Address';
|
|
7873
|
+
type: 'address';
|
|
7874
|
+
options: undefined;
|
|
7875
|
+
};
|
|
7876
|
+
/** Slug. */
|
|
7877
|
+
'slug': {
|
|
7878
|
+
label: 'Slug';
|
|
7879
|
+
type: 'text';
|
|
7880
|
+
options: undefined;
|
|
7881
|
+
};
|
|
7882
|
+
/** Public. Is this organization viewable by guests? */
|
|
7883
|
+
'isPublic': {
|
|
7884
|
+
label: 'Public';
|
|
7885
|
+
type: 'boolean';
|
|
7886
|
+
hint: 'Is this organization viewable by guests?';
|
|
7887
|
+
defaultValue: false;
|
|
7888
|
+
options: undefined;
|
|
7889
|
+
};
|
|
7890
|
+
/** . */
|
|
7891
|
+
'dateCreated': {
|
|
7892
|
+
type: 'dateTime';
|
|
7893
|
+
options: undefined;
|
|
7894
|
+
};
|
|
7895
|
+
/** . */
|
|
7896
|
+
'dateDeleted': {
|
|
7897
|
+
type: 'dateTime';
|
|
7898
|
+
options: undefined;
|
|
7899
|
+
};
|
|
7900
|
+
};
|
|
7901
|
+
}
|
|
7902
|
+
interface UpdateOrgEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateOrgSchema> {
|
|
7903
|
+
}
|
|
7904
|
+
}
|
|
7905
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7906
|
+
interface UpdateOrgResponsePayload {
|
|
7907
|
+
'organization': SpruceSchemas.Mercury.v2020_12_25.UpdateOrg;
|
|
7908
|
+
}
|
|
7909
|
+
interface UpdateOrgResponsePayloadSchema extends SpruceSchema.Schema {
|
|
7910
|
+
id: 'updateOrgResponsePayload';
|
|
7911
|
+
version: 'v2020_12_25';
|
|
7912
|
+
namespace: 'Mercury';
|
|
7913
|
+
name: '';
|
|
7914
|
+
fields: {
|
|
7915
|
+
/** . */
|
|
7916
|
+
'organization': {
|
|
7917
|
+
type: 'schema';
|
|
7918
|
+
isRequired: true;
|
|
7919
|
+
options: {
|
|
7920
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateOrgSchema;
|
|
7921
|
+
};
|
|
7922
|
+
};
|
|
7923
|
+
};
|
|
7924
|
+
}
|
|
7925
|
+
interface UpdateOrgResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateOrgResponsePayloadSchema> {
|
|
7926
|
+
}
|
|
7927
|
+
}
|
|
7928
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7929
|
+
interface UpdatePersonEmitTarget {
|
|
7930
|
+
'personId'?: string | undefined | null;
|
|
7931
|
+
}
|
|
7932
|
+
interface UpdatePersonEmitTargetSchema extends SpruceSchema.Schema {
|
|
7933
|
+
id: 'updatePersonEmitTarget';
|
|
7934
|
+
version: 'v2020_12_25';
|
|
7935
|
+
namespace: 'Mercury';
|
|
7936
|
+
name: '';
|
|
7937
|
+
fields: {
|
|
7938
|
+
/** . */
|
|
7939
|
+
'personId': {
|
|
7940
|
+
type: 'id';
|
|
7941
|
+
options: undefined;
|
|
7942
|
+
};
|
|
7943
|
+
};
|
|
7944
|
+
}
|
|
7945
|
+
interface UpdatePersonEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema> {
|
|
7946
|
+
}
|
|
7947
|
+
}
|
|
7948
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7949
|
+
interface UpdatePersonEmitPayload {
|
|
7950
|
+
/** First name. */
|
|
7951
|
+
'firstName'?: string | undefined | null;
|
|
7952
|
+
/** Last name. */
|
|
7953
|
+
'lastName'?: string | undefined | null;
|
|
7954
|
+
/** Avatar src. */
|
|
7955
|
+
'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
|
|
7956
|
+
/** Phone. A number that can be texted */
|
|
7957
|
+
'phone'?: string | undefined | null;
|
|
7958
|
+
}
|
|
7959
|
+
interface UpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
7960
|
+
id: 'updatePersonEmitPayload';
|
|
7961
|
+
version: 'v2020_12_25';
|
|
7962
|
+
namespace: 'Mercury';
|
|
7963
|
+
name: '';
|
|
7964
|
+
fields: {
|
|
7965
|
+
/** First name. */
|
|
7966
|
+
'firstName': {
|
|
7967
|
+
label: 'First name';
|
|
7968
|
+
type: 'text';
|
|
7969
|
+
isPrivate: true;
|
|
7970
|
+
options: undefined;
|
|
7971
|
+
};
|
|
7972
|
+
/** Last name. */
|
|
7973
|
+
'lastName': {
|
|
7974
|
+
label: 'Last name';
|
|
7975
|
+
type: 'text';
|
|
7976
|
+
isPrivate: true;
|
|
7977
|
+
options: undefined;
|
|
7978
|
+
};
|
|
7979
|
+
/** Avatar src. */
|
|
7980
|
+
'avatar': {
|
|
7981
|
+
label: 'Avatar src';
|
|
7982
|
+
type: 'image';
|
|
7983
|
+
options: {
|
|
7984
|
+
requiredSizes: ["*"];
|
|
7985
|
+
};
|
|
7986
|
+
};
|
|
7987
|
+
/** Phone. A number that can be texted */
|
|
7988
|
+
'phone': {
|
|
7989
|
+
label: 'Phone';
|
|
7990
|
+
type: 'phone';
|
|
7991
|
+
isPrivate: true;
|
|
7992
|
+
hint: 'A number that can be texted';
|
|
7993
|
+
options: undefined;
|
|
7994
|
+
};
|
|
7995
|
+
};
|
|
7996
|
+
}
|
|
7997
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
7998
|
+
}
|
|
7999
|
+
}
|
|
8000
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8001
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
8002
|
+
/** Source. */
|
|
8003
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8004
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
8005
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
8006
|
+
}
|
|
8007
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8008
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
8009
|
+
version: 'v2020_12_25';
|
|
8010
|
+
namespace: 'Mercury';
|
|
8011
|
+
name: '';
|
|
8012
|
+
fields: {
|
|
8013
|
+
/** Source. */
|
|
8014
|
+
'source': {
|
|
8015
|
+
label: 'Source';
|
|
8016
|
+
type: 'schema';
|
|
8017
|
+
options: {
|
|
8018
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8019
|
+
};
|
|
8020
|
+
};
|
|
8021
|
+
/** . */
|
|
8022
|
+
'target': {
|
|
8023
|
+
type: 'schema';
|
|
8024
|
+
options: {
|
|
8025
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
8026
|
+
};
|
|
8027
|
+
};
|
|
8028
|
+
/** . */
|
|
8029
|
+
'payload': {
|
|
8030
|
+
type: 'schema';
|
|
8031
|
+
options: {
|
|
8032
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
8033
|
+
};
|
|
8034
|
+
};
|
|
8035
|
+
};
|
|
8036
|
+
}
|
|
8037
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
8038
|
+
}
|
|
8039
|
+
}
|
|
8040
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8041
|
+
interface UpdatePersonResponsePayload {
|
|
8042
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
8043
|
+
}
|
|
8044
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8045
|
+
id: 'updatePersonResponsePayload';
|
|
8046
|
+
version: 'v2020_12_25';
|
|
8047
|
+
namespace: 'Mercury';
|
|
8048
|
+
name: '';
|
|
8049
|
+
fields: {
|
|
8050
|
+
/** . */
|
|
8051
|
+
'person': {
|
|
8052
|
+
type: 'schema';
|
|
8053
|
+
isRequired: true;
|
|
8054
|
+
options: {
|
|
8055
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
8056
|
+
};
|
|
8057
|
+
};
|
|
8058
|
+
};
|
|
8059
|
+
}
|
|
8060
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
8061
|
+
}
|
|
8062
|
+
}
|
|
8063
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8064
|
+
interface UpdateRoleEmitTarget {
|
|
8065
|
+
'roleId': string;
|
|
8066
|
+
}
|
|
8067
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
8068
|
+
id: 'updateRoleEmitTarget';
|
|
8069
|
+
version: 'v2020_12_25';
|
|
8070
|
+
namespace: 'Mercury';
|
|
8071
|
+
name: '';
|
|
8072
|
+
fields: {
|
|
8073
|
+
/** . */
|
|
8074
|
+
'roleId': {
|
|
8075
|
+
type: 'id';
|
|
8076
|
+
isRequired: true;
|
|
8077
|
+
options: undefined;
|
|
8078
|
+
};
|
|
8079
|
+
};
|
|
8080
|
+
}
|
|
8081
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
8082
|
+
}
|
|
8083
|
+
}
|
|
8084
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8085
|
+
interface UpdateRoleEmitPayload {
|
|
8086
|
+
/** Name. */
|
|
8087
|
+
'name'?: string | undefined | null;
|
|
8088
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
8089
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
8090
|
+
/** Description. */
|
|
8091
|
+
'description'?: string | undefined | null;
|
|
8092
|
+
'dateDeleted'?: number | undefined | null;
|
|
8093
|
+
'organizationId'?: string | undefined | null;
|
|
8094
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
8095
|
+
'isPublic'?: boolean | undefined | null;
|
|
8096
|
+
}
|
|
8097
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8098
|
+
id: 'updateRoleEmitPayload';
|
|
8099
|
+
version: 'v2020_12_25';
|
|
8100
|
+
namespace: 'Mercury';
|
|
8101
|
+
name: '';
|
|
8102
|
+
fields: {
|
|
8103
|
+
/** Name. */
|
|
8104
|
+
'name': {
|
|
8105
|
+
label: 'Name';
|
|
8106
|
+
type: 'text';
|
|
8107
|
+
options: undefined;
|
|
8108
|
+
};
|
|
8109
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
8110
|
+
'base': {
|
|
8111
|
+
label: 'Base';
|
|
8112
|
+
type: 'select';
|
|
8113
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
8114
|
+
options: {
|
|
8115
|
+
choices: [{
|
|
8116
|
+
"label": "Owner";
|
|
8117
|
+
"value": "owner";
|
|
8118
|
+
}, {
|
|
8119
|
+
"label": "Group manager";
|
|
8120
|
+
"value": "groupManager";
|
|
8344
8121
|
}, {
|
|
8345
|
-
"
|
|
8346
|
-
"
|
|
8122
|
+
"label": "Manager";
|
|
8123
|
+
"value": "manager";
|
|
8347
8124
|
}, {
|
|
8348
|
-
"
|
|
8349
|
-
"
|
|
8125
|
+
"label": "Teammate";
|
|
8126
|
+
"value": "teammate";
|
|
8350
8127
|
}, {
|
|
8351
|
-
"
|
|
8352
|
-
"
|
|
8128
|
+
"label": "Anonymous";
|
|
8129
|
+
"value": "anonymous";
|
|
8353
8130
|
}, {
|
|
8354
|
-
"
|
|
8355
|
-
"
|
|
8131
|
+
"label": "Logged in";
|
|
8132
|
+
"value": "loggedIn";
|
|
8356
8133
|
}, {
|
|
8357
|
-
"
|
|
8358
|
-
"
|
|
8134
|
+
"label": "Guest";
|
|
8135
|
+
"value": "guest";
|
|
8359
8136
|
}];
|
|
8360
8137
|
};
|
|
8361
8138
|
};
|
|
8362
|
-
/**
|
|
8363
|
-
'
|
|
8364
|
-
label: '
|
|
8365
|
-
type: '
|
|
8139
|
+
/** Description. */
|
|
8140
|
+
'description': {
|
|
8141
|
+
label: 'Description';
|
|
8142
|
+
type: 'text';
|
|
8143
|
+
options: undefined;
|
|
8144
|
+
};
|
|
8145
|
+
/** . */
|
|
8146
|
+
'dateDeleted': {
|
|
8147
|
+
type: 'number';
|
|
8148
|
+
options: undefined;
|
|
8149
|
+
};
|
|
8150
|
+
/** . */
|
|
8151
|
+
'organizationId': {
|
|
8152
|
+
type: 'id';
|
|
8153
|
+
options: undefined;
|
|
8154
|
+
};
|
|
8155
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
8156
|
+
'isPublic': {
|
|
8157
|
+
label: 'Public';
|
|
8158
|
+
type: 'boolean';
|
|
8159
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
8160
|
+
options: undefined;
|
|
8161
|
+
};
|
|
8162
|
+
};
|
|
8163
|
+
}
|
|
8164
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
8165
|
+
}
|
|
8166
|
+
}
|
|
8167
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8168
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
8169
|
+
/** Source. */
|
|
8170
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8171
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
8172
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
8173
|
+
}
|
|
8174
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8175
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
8176
|
+
version: 'v2020_12_25';
|
|
8177
|
+
namespace: 'Mercury';
|
|
8178
|
+
name: '';
|
|
8179
|
+
fields: {
|
|
8180
|
+
/** Source. */
|
|
8181
|
+
'source': {
|
|
8182
|
+
label: 'Source';
|
|
8183
|
+
type: 'schema';
|
|
8184
|
+
options: {
|
|
8185
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8186
|
+
};
|
|
8187
|
+
};
|
|
8188
|
+
/** . */
|
|
8189
|
+
'target': {
|
|
8190
|
+
type: 'schema';
|
|
8191
|
+
isRequired: true;
|
|
8192
|
+
options: {
|
|
8193
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
8194
|
+
};
|
|
8195
|
+
};
|
|
8196
|
+
/** . */
|
|
8197
|
+
'payload': {
|
|
8198
|
+
type: 'schema';
|
|
8199
|
+
options: {
|
|
8200
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
8201
|
+
};
|
|
8202
|
+
};
|
|
8203
|
+
};
|
|
8204
|
+
}
|
|
8205
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
8206
|
+
}
|
|
8207
|
+
}
|
|
8208
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8209
|
+
interface UpdateRoleResponsePayload {
|
|
8210
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
8211
|
+
}
|
|
8212
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8213
|
+
id: 'updateRoleResponsePayload';
|
|
8214
|
+
version: 'v2020_12_25';
|
|
8215
|
+
namespace: 'Mercury';
|
|
8216
|
+
name: '';
|
|
8217
|
+
fields: {
|
|
8218
|
+
/** . */
|
|
8219
|
+
'role': {
|
|
8220
|
+
type: 'schema';
|
|
8221
|
+
isRequired: true;
|
|
8222
|
+
options: {
|
|
8223
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
8224
|
+
};
|
|
8225
|
+
};
|
|
8226
|
+
};
|
|
8227
|
+
}
|
|
8228
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
8229
|
+
}
|
|
8230
|
+
}
|
|
8231
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8232
|
+
interface UpsertPermissionContractEmitTarget {
|
|
8233
|
+
'organizationId': string;
|
|
8234
|
+
'permissionContractId': string;
|
|
8235
|
+
'roleId': string;
|
|
8236
|
+
'skillId'?: string | undefined | null;
|
|
8237
|
+
}
|
|
8238
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
8239
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
8240
|
+
version: 'v2020_12_25';
|
|
8241
|
+
namespace: 'Mercury';
|
|
8242
|
+
name: '';
|
|
8243
|
+
fields: {
|
|
8244
|
+
/** . */
|
|
8245
|
+
'organizationId': {
|
|
8246
|
+
type: 'id';
|
|
8247
|
+
isRequired: true;
|
|
8248
|
+
options: undefined;
|
|
8249
|
+
};
|
|
8250
|
+
/** . */
|
|
8251
|
+
'permissionContractId': {
|
|
8252
|
+
type: 'id';
|
|
8253
|
+
isRequired: true;
|
|
8254
|
+
options: undefined;
|
|
8255
|
+
};
|
|
8256
|
+
/** . */
|
|
8257
|
+
'roleId': {
|
|
8258
|
+
type: 'id';
|
|
8259
|
+
isRequired: true;
|
|
8260
|
+
options: undefined;
|
|
8261
|
+
};
|
|
8262
|
+
/** . */
|
|
8263
|
+
'skillId': {
|
|
8264
|
+
type: 'id';
|
|
8265
|
+
options: undefined;
|
|
8266
|
+
};
|
|
8267
|
+
};
|
|
8268
|
+
}
|
|
8269
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
8270
|
+
}
|
|
8271
|
+
}
|
|
8272
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8273
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
8274
|
+
/** Source. */
|
|
8275
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8276
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
8277
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
8278
|
+
}
|
|
8279
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8280
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
8281
|
+
version: 'v2020_12_25';
|
|
8282
|
+
namespace: 'Mercury';
|
|
8283
|
+
name: '';
|
|
8284
|
+
fields: {
|
|
8285
|
+
/** Source. */
|
|
8286
|
+
'source': {
|
|
8287
|
+
label: 'Source';
|
|
8288
|
+
type: 'schema';
|
|
8289
|
+
options: {
|
|
8290
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8291
|
+
};
|
|
8292
|
+
};
|
|
8293
|
+
/** . */
|
|
8294
|
+
'target': {
|
|
8295
|
+
type: 'schema';
|
|
8296
|
+
isRequired: true;
|
|
8297
|
+
options: {
|
|
8298
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
8299
|
+
};
|
|
8300
|
+
};
|
|
8301
|
+
/** . */
|
|
8302
|
+
'payload': {
|
|
8303
|
+
type: 'schema';
|
|
8304
|
+
isRequired: true;
|
|
8305
|
+
options: {
|
|
8306
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
8307
|
+
};
|
|
8308
|
+
};
|
|
8309
|
+
};
|
|
8310
|
+
}
|
|
8311
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
8312
|
+
}
|
|
8313
|
+
}
|
|
8314
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8315
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
8316
|
+
/** Name. Human readable name for this contract */
|
|
8317
|
+
'name': string;
|
|
8318
|
+
/** Description. */
|
|
8319
|
+
'description'?: string | undefined | null;
|
|
8320
|
+
/** Require all permissions. */
|
|
8321
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
8322
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
8323
|
+
}
|
|
8324
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8325
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
8326
|
+
version: 'v2020_12_25';
|
|
8327
|
+
namespace: 'Mercury';
|
|
8328
|
+
name: '';
|
|
8329
|
+
fields: {
|
|
8330
|
+
/** Name. Human readable name for this contract */
|
|
8331
|
+
'name': {
|
|
8332
|
+
label: 'Name';
|
|
8333
|
+
type: 'text';
|
|
8334
|
+
isRequired: true;
|
|
8335
|
+
hint: 'Human readable name for this contract';
|
|
8336
|
+
options: undefined;
|
|
8337
|
+
};
|
|
8338
|
+
/** Description. */
|
|
8339
|
+
'description': {
|
|
8340
|
+
label: 'Description';
|
|
8341
|
+
type: 'text';
|
|
8342
|
+
options: undefined;
|
|
8343
|
+
};
|
|
8344
|
+
/** Require all permissions. */
|
|
8345
|
+
'requireAllPermissions': {
|
|
8346
|
+
label: 'Require all permissions';
|
|
8347
|
+
type: 'boolean';
|
|
8348
|
+
defaultValue: false;
|
|
8349
|
+
options: undefined;
|
|
8350
|
+
};
|
|
8351
|
+
/** . */
|
|
8352
|
+
'permissions': {
|
|
8353
|
+
type: 'schema';
|
|
8354
|
+
isRequired: true;
|
|
8355
|
+
isArray: true;
|
|
8356
|
+
minArrayLength: 0;
|
|
8357
|
+
options: {
|
|
8358
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
8359
|
+
};
|
|
8360
|
+
};
|
|
8361
|
+
};
|
|
8362
|
+
}
|
|
8363
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
8364
|
+
}
|
|
8365
|
+
}
|
|
8366
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8367
|
+
interface UpsertPermissionContractResponsePayload {
|
|
8368
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
8369
|
+
}
|
|
8370
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8371
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
8372
|
+
version: 'v2020_12_25';
|
|
8373
|
+
namespace: 'Mercury';
|
|
8374
|
+
name: '';
|
|
8375
|
+
fields: {
|
|
8376
|
+
/** . */
|
|
8377
|
+
'permissionContract': {
|
|
8378
|
+
type: 'schema';
|
|
8379
|
+
isRequired: true;
|
|
8380
|
+
options: {
|
|
8381
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
8382
|
+
};
|
|
8383
|
+
};
|
|
8384
|
+
};
|
|
8385
|
+
}
|
|
8386
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
8387
|
+
}
|
|
8388
|
+
}
|
|
8389
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8390
|
+
interface VoteForFeatureEmitPayload {
|
|
8391
|
+
'featureKey': string;
|
|
8392
|
+
'skillNamespace': string;
|
|
8393
|
+
}
|
|
8394
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8395
|
+
id: 'voteForFeatureEmitPayload';
|
|
8396
|
+
version: 'v2020_12_25';
|
|
8397
|
+
namespace: 'Mercury';
|
|
8398
|
+
name: '';
|
|
8399
|
+
fields: {
|
|
8400
|
+
/** . */
|
|
8401
|
+
'featureKey': {
|
|
8402
|
+
type: 'id';
|
|
8403
|
+
isRequired: true;
|
|
8404
|
+
options: undefined;
|
|
8405
|
+
};
|
|
8406
|
+
/** . */
|
|
8407
|
+
'skillNamespace': {
|
|
8408
|
+
type: 'id';
|
|
8409
|
+
isRequired: true;
|
|
8366
8410
|
options: undefined;
|
|
8367
8411
|
};
|
|
8412
|
+
};
|
|
8413
|
+
}
|
|
8414
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
8415
|
+
}
|
|
8416
|
+
}
|
|
8417
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8418
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
8419
|
+
/** Source. */
|
|
8420
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8421
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
8422
|
+
}
|
|
8423
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8424
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
8425
|
+
version: 'v2020_12_25';
|
|
8426
|
+
namespace: 'Mercury';
|
|
8427
|
+
name: '';
|
|
8428
|
+
fields: {
|
|
8429
|
+
/** Source. */
|
|
8430
|
+
'source': {
|
|
8431
|
+
label: 'Source';
|
|
8432
|
+
type: 'schema';
|
|
8433
|
+
options: {
|
|
8434
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8435
|
+
};
|
|
8436
|
+
};
|
|
8437
|
+
/** . */
|
|
8438
|
+
'payload': {
|
|
8439
|
+
type: 'schema';
|
|
8440
|
+
isRequired: true;
|
|
8441
|
+
options: {
|
|
8442
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
8443
|
+
};
|
|
8444
|
+
};
|
|
8445
|
+
};
|
|
8446
|
+
}
|
|
8447
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
8448
|
+
}
|
|
8449
|
+
}
|
|
8450
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8451
|
+
interface VoteForFeatureResponsePayload {
|
|
8452
|
+
'totalVotes': number;
|
|
8453
|
+
}
|
|
8454
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8455
|
+
id: 'voteForFeatureResponsePayload';
|
|
8456
|
+
version: 'v2020_12_25';
|
|
8457
|
+
namespace: 'Mercury';
|
|
8458
|
+
name: '';
|
|
8459
|
+
fields: {
|
|
8368
8460
|
/** . */
|
|
8369
|
-
'
|
|
8370
|
-
type: '
|
|
8461
|
+
'totalVotes': {
|
|
8462
|
+
type: 'number';
|
|
8463
|
+
isRequired: true;
|
|
8371
8464
|
options: undefined;
|
|
8372
8465
|
};
|
|
8466
|
+
};
|
|
8467
|
+
}
|
|
8468
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
8469
|
+
}
|
|
8470
|
+
}
|
|
8471
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8472
|
+
interface WhoamiEmitTargetAndPayload {
|
|
8473
|
+
/** Source. */
|
|
8474
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8475
|
+
}
|
|
8476
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8477
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
8478
|
+
version: 'v2020_12_25';
|
|
8479
|
+
namespace: 'Mercury';
|
|
8480
|
+
name: '';
|
|
8481
|
+
fields: {
|
|
8482
|
+
/** Source. */
|
|
8483
|
+
'source': {
|
|
8484
|
+
label: 'Source';
|
|
8485
|
+
type: 'schema';
|
|
8486
|
+
options: {
|
|
8487
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8488
|
+
};
|
|
8489
|
+
};
|
|
8490
|
+
};
|
|
8491
|
+
}
|
|
8492
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
8493
|
+
}
|
|
8494
|
+
}
|
|
8495
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8496
|
+
interface DidInstallEmitTarget {
|
|
8497
|
+
'organizationId': string;
|
|
8498
|
+
'skillId': string;
|
|
8499
|
+
}
|
|
8500
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
8501
|
+
id: 'didInstallEmitTarget';
|
|
8502
|
+
version: 'v2020_12_25';
|
|
8503
|
+
namespace: 'Mercury';
|
|
8504
|
+
name: '';
|
|
8505
|
+
fields: {
|
|
8373
8506
|
/** . */
|
|
8374
|
-
'
|
|
8375
|
-
type: '
|
|
8507
|
+
'organizationId': {
|
|
8508
|
+
type: 'id';
|
|
8509
|
+
isRequired: true;
|
|
8376
8510
|
options: undefined;
|
|
8377
8511
|
};
|
|
8378
8512
|
/** . */
|
|
8379
|
-
'
|
|
8513
|
+
'skillId': {
|
|
8380
8514
|
type: 'id';
|
|
8515
|
+
isRequired: true;
|
|
8381
8516
|
options: undefined;
|
|
8382
8517
|
};
|
|
8383
8518
|
};
|
|
8384
8519
|
}
|
|
8385
|
-
interface
|
|
8520
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
8386
8521
|
}
|
|
8387
8522
|
}
|
|
8388
8523
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8389
|
-
interface
|
|
8524
|
+
interface DidInstallEmitTargetAndPayload {
|
|
8390
8525
|
/** Source. */
|
|
8391
8526
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8392
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.
|
|
8393
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateLocationEmitPayload | undefined | null;
|
|
8527
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
8394
8528
|
}
|
|
8395
|
-
interface
|
|
8396
|
-
id: '
|
|
8529
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8530
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
8397
8531
|
version: 'v2020_12_25';
|
|
8398
8532
|
namespace: 'Mercury';
|
|
8399
8533
|
name: '';
|
|
@@ -8411,50 +8545,34 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8411
8545
|
type: 'schema';
|
|
8412
8546
|
isRequired: true;
|
|
8413
8547
|
options: {
|
|
8414
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8415
|
-
};
|
|
8416
|
-
};
|
|
8417
|
-
/** . */
|
|
8418
|
-
'payload': {
|
|
8419
|
-
type: 'schema';
|
|
8420
|
-
options: {
|
|
8421
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateLocationEmitPayloadSchema;
|
|
8548
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
8422
8549
|
};
|
|
8423
8550
|
};
|
|
8424
8551
|
};
|
|
8425
8552
|
}
|
|
8426
|
-
interface
|
|
8553
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
8427
8554
|
}
|
|
8428
8555
|
}
|
|
8429
8556
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8430
|
-
interface
|
|
8431
|
-
'location': SpruceSchemas.Spruce.v2020_07_22.Location;
|
|
8557
|
+
interface DidInstallResponsePayload {
|
|
8432
8558
|
}
|
|
8433
|
-
interface
|
|
8434
|
-
id: '
|
|
8559
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8560
|
+
id: 'didInstallResponsePayload';
|
|
8435
8561
|
version: 'v2020_12_25';
|
|
8436
8562
|
namespace: 'Mercury';
|
|
8437
8563
|
name: '';
|
|
8438
|
-
fields: {
|
|
8439
|
-
/** . */
|
|
8440
|
-
'location': {
|
|
8441
|
-
type: 'schema';
|
|
8442
|
-
isRequired: true;
|
|
8443
|
-
options: {
|
|
8444
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.LocationSchema;
|
|
8445
|
-
};
|
|
8446
|
-
};
|
|
8447
|
-
};
|
|
8564
|
+
fields: {};
|
|
8448
8565
|
}
|
|
8449
|
-
interface
|
|
8566
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
8450
8567
|
}
|
|
8451
8568
|
}
|
|
8452
8569
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8453
|
-
interface
|
|
8570
|
+
interface DidJoinOrganizationEmitTarget {
|
|
8454
8571
|
'organizationId': string;
|
|
8572
|
+
'locationId'?: string | undefined | null;
|
|
8455
8573
|
}
|
|
8456
|
-
interface
|
|
8457
|
-
id: '
|
|
8574
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
8575
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
8458
8576
|
version: 'v2020_12_25';
|
|
8459
8577
|
namespace: 'Mercury';
|
|
8460
8578
|
name: '';
|
|
@@ -8465,72 +8583,60 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8465
8583
|
isRequired: true;
|
|
8466
8584
|
options: undefined;
|
|
8467
8585
|
};
|
|
8586
|
+
/** . */
|
|
8587
|
+
'locationId': {
|
|
8588
|
+
type: 'id';
|
|
8589
|
+
options: undefined;
|
|
8590
|
+
};
|
|
8468
8591
|
};
|
|
8469
8592
|
}
|
|
8470
|
-
interface
|
|
8593
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
8471
8594
|
}
|
|
8472
8595
|
}
|
|
8473
8596
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8474
|
-
interface
|
|
8475
|
-
|
|
8476
|
-
'
|
|
8477
|
-
|
|
8478
|
-
'address'?: SpruceSchema.AddressFieldValue | undefined | null;
|
|
8479
|
-
/** Public. Is this organization viewable by guests? */
|
|
8480
|
-
'isPublic'?: boolean | undefined | null;
|
|
8481
|
-
'dateCreated'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8482
|
-
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8597
|
+
interface DidJoinOrganizationEmitPayload {
|
|
8598
|
+
'personId': string;
|
|
8599
|
+
'roleId': string;
|
|
8600
|
+
'isFirstRole': boolean;
|
|
8483
8601
|
}
|
|
8484
|
-
interface
|
|
8485
|
-
id: '
|
|
8602
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8603
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
8486
8604
|
version: 'v2020_12_25';
|
|
8487
8605
|
namespace: 'Mercury';
|
|
8488
8606
|
name: '';
|
|
8489
8607
|
fields: {
|
|
8490
|
-
/**
|
|
8491
|
-
'
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
options: undefined;
|
|
8495
|
-
};
|
|
8496
|
-
/** Address. */
|
|
8497
|
-
'address': {
|
|
8498
|
-
label: 'Address';
|
|
8499
|
-
type: 'address';
|
|
8500
|
-
options: undefined;
|
|
8501
|
-
};
|
|
8502
|
-
/** Public. Is this organization viewable by guests? */
|
|
8503
|
-
'isPublic': {
|
|
8504
|
-
label: 'Public';
|
|
8505
|
-
type: 'boolean';
|
|
8506
|
-
hint: 'Is this organization viewable by guests?';
|
|
8507
|
-
defaultValue: false;
|
|
8608
|
+
/** . */
|
|
8609
|
+
'personId': {
|
|
8610
|
+
type: 'id';
|
|
8611
|
+
isRequired: true;
|
|
8508
8612
|
options: undefined;
|
|
8509
8613
|
};
|
|
8510
8614
|
/** . */
|
|
8511
|
-
'
|
|
8512
|
-
type: '
|
|
8615
|
+
'roleId': {
|
|
8616
|
+
type: 'id';
|
|
8617
|
+
isRequired: true;
|
|
8513
8618
|
options: undefined;
|
|
8514
8619
|
};
|
|
8515
8620
|
/** . */
|
|
8516
|
-
'
|
|
8517
|
-
type: '
|
|
8621
|
+
'isFirstRole': {
|
|
8622
|
+
type: 'boolean';
|
|
8623
|
+
isRequired: true;
|
|
8518
8624
|
options: undefined;
|
|
8519
8625
|
};
|
|
8520
8626
|
};
|
|
8521
8627
|
}
|
|
8522
|
-
interface
|
|
8628
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
8523
8629
|
}
|
|
8524
8630
|
}
|
|
8525
8631
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8526
|
-
interface
|
|
8632
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
8527
8633
|
/** Source. */
|
|
8528
8634
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8529
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.
|
|
8530
|
-
'payload'
|
|
8635
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
8636
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
8531
8637
|
}
|
|
8532
|
-
interface
|
|
8533
|
-
id: '
|
|
8638
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8639
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
8534
8640
|
version: 'v2020_12_25';
|
|
8535
8641
|
namespace: 'Mercury';
|
|
8536
8642
|
name: '';
|
|
@@ -8548,185 +8654,153 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8548
8654
|
type: 'schema';
|
|
8549
8655
|
isRequired: true;
|
|
8550
8656
|
options: {
|
|
8551
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8657
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
8552
8658
|
};
|
|
8553
8659
|
};
|
|
8554
8660
|
/** . */
|
|
8555
8661
|
'payload': {
|
|
8556
8662
|
type: 'schema';
|
|
8663
|
+
isRequired: true;
|
|
8557
8664
|
options: {
|
|
8558
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8665
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
8559
8666
|
};
|
|
8560
8667
|
};
|
|
8561
8668
|
};
|
|
8562
8669
|
}
|
|
8563
|
-
interface
|
|
8670
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
8564
8671
|
}
|
|
8565
8672
|
}
|
|
8566
8673
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8567
|
-
interface
|
|
8568
|
-
|
|
8569
|
-
'
|
|
8570
|
-
|
|
8571
|
-
'address'?: SpruceSchema.AddressFieldValue | undefined | null;
|
|
8572
|
-
/** Slug. */
|
|
8573
|
-
'slug'?: string | undefined | null;
|
|
8574
|
-
/** Public. Is this organization viewable by guests? */
|
|
8575
|
-
'isPublic'?: boolean | undefined | null;
|
|
8576
|
-
'dateCreated'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8577
|
-
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8674
|
+
interface MessageTemplateAddons {
|
|
8675
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
8676
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
8677
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
8578
8678
|
}
|
|
8579
|
-
interface
|
|
8580
|
-
id: '
|
|
8679
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
8680
|
+
id: 'messageTemplateAddons';
|
|
8581
8681
|
version: 'v2020_12_25';
|
|
8582
8682
|
namespace: 'Mercury';
|
|
8583
8683
|
name: '';
|
|
8584
8684
|
fields: {
|
|
8585
|
-
/**
|
|
8586
|
-
'
|
|
8587
|
-
label: 'Name';
|
|
8588
|
-
type: 'text';
|
|
8589
|
-
options: undefined;
|
|
8590
|
-
};
|
|
8591
|
-
/** Address. */
|
|
8592
|
-
'address': {
|
|
8593
|
-
label: 'Address';
|
|
8594
|
-
type: 'address';
|
|
8595
|
-
options: undefined;
|
|
8596
|
-
};
|
|
8597
|
-
/** Slug. */
|
|
8598
|
-
'slug': {
|
|
8599
|
-
label: 'Slug';
|
|
8685
|
+
/** . */
|
|
8686
|
+
'nextINeedYouTo': {
|
|
8600
8687
|
type: 'text';
|
|
8601
|
-
|
|
8602
|
-
};
|
|
8603
|
-
/** Public. Is this organization viewable by guests? */
|
|
8604
|
-
'isPublic': {
|
|
8605
|
-
label: 'Public';
|
|
8606
|
-
type: 'boolean';
|
|
8607
|
-
hint: 'Is this organization viewable by guests?';
|
|
8608
|
-
defaultValue: false;
|
|
8688
|
+
isArray: true;
|
|
8609
8689
|
options: undefined;
|
|
8610
8690
|
};
|
|
8611
8691
|
/** . */
|
|
8612
|
-
'
|
|
8613
|
-
type: '
|
|
8692
|
+
'youShouldKnowThat': {
|
|
8693
|
+
type: 'text';
|
|
8694
|
+
isArray: true;
|
|
8614
8695
|
options: undefined;
|
|
8615
8696
|
};
|
|
8616
8697
|
/** . */
|
|
8617
|
-
'
|
|
8618
|
-
type: '
|
|
8619
|
-
|
|
8698
|
+
'links': {
|
|
8699
|
+
type: 'schema';
|
|
8700
|
+
isArray: true;
|
|
8701
|
+
minArrayLength: 0;
|
|
8702
|
+
options: {
|
|
8703
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
8704
|
+
};
|
|
8620
8705
|
};
|
|
8621
8706
|
};
|
|
8622
8707
|
}
|
|
8623
|
-
interface
|
|
8708
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
8624
8709
|
}
|
|
8625
8710
|
}
|
|
8626
8711
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8627
|
-
interface
|
|
8628
|
-
'
|
|
8712
|
+
interface DidJoinOrganizationResponsePayload {
|
|
8713
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
8629
8714
|
}
|
|
8630
|
-
interface
|
|
8631
|
-
id: '
|
|
8715
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8716
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
8632
8717
|
version: 'v2020_12_25';
|
|
8633
8718
|
namespace: 'Mercury';
|
|
8634
8719
|
name: '';
|
|
8635
8720
|
fields: {
|
|
8636
8721
|
/** . */
|
|
8637
|
-
'
|
|
8722
|
+
'messaging': {
|
|
8638
8723
|
type: 'schema';
|
|
8639
|
-
isRequired: true;
|
|
8640
8724
|
options: {
|
|
8641
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8725
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
8642
8726
|
};
|
|
8643
8727
|
};
|
|
8644
8728
|
};
|
|
8645
8729
|
}
|
|
8646
|
-
interface
|
|
8730
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
8647
8731
|
}
|
|
8648
8732
|
}
|
|
8649
8733
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8650
|
-
interface
|
|
8651
|
-
'
|
|
8734
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
8735
|
+
'organizationId': string;
|
|
8736
|
+
'locationId'?: string | undefined | null;
|
|
8652
8737
|
}
|
|
8653
|
-
interface
|
|
8654
|
-
id: '
|
|
8738
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
8739
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
8655
8740
|
version: 'v2020_12_25';
|
|
8656
8741
|
namespace: 'Mercury';
|
|
8657
8742
|
name: '';
|
|
8658
8743
|
fields: {
|
|
8659
8744
|
/** . */
|
|
8660
|
-
'
|
|
8745
|
+
'organizationId': {
|
|
8746
|
+
type: 'id';
|
|
8747
|
+
isRequired: true;
|
|
8748
|
+
options: undefined;
|
|
8749
|
+
};
|
|
8750
|
+
/** . */
|
|
8751
|
+
'locationId': {
|
|
8661
8752
|
type: 'id';
|
|
8662
8753
|
options: undefined;
|
|
8663
8754
|
};
|
|
8664
8755
|
};
|
|
8665
8756
|
}
|
|
8666
|
-
interface
|
|
8757
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
8667
8758
|
}
|
|
8668
8759
|
}
|
|
8669
8760
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8670
|
-
interface
|
|
8671
|
-
|
|
8672
|
-
'
|
|
8673
|
-
|
|
8674
|
-
'lastName'?: string | undefined | null;
|
|
8675
|
-
/** Avatar src. */
|
|
8676
|
-
'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
|
|
8677
|
-
/** Phone. A number that can be texted */
|
|
8678
|
-
'phone'?: string | undefined | null;
|
|
8761
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
8762
|
+
'personId': string;
|
|
8763
|
+
'roleId': string;
|
|
8764
|
+
'isLastRole': boolean;
|
|
8679
8765
|
}
|
|
8680
|
-
interface
|
|
8681
|
-
id: '
|
|
8766
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8767
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
8682
8768
|
version: 'v2020_12_25';
|
|
8683
8769
|
namespace: 'Mercury';
|
|
8684
8770
|
name: '';
|
|
8685
8771
|
fields: {
|
|
8686
|
-
/**
|
|
8687
|
-
'
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
isPrivate: true;
|
|
8772
|
+
/** . */
|
|
8773
|
+
'personId': {
|
|
8774
|
+
type: 'id';
|
|
8775
|
+
isRequired: true;
|
|
8691
8776
|
options: undefined;
|
|
8692
8777
|
};
|
|
8693
|
-
/**
|
|
8694
|
-
'
|
|
8695
|
-
|
|
8696
|
-
|
|
8697
|
-
isPrivate: true;
|
|
8778
|
+
/** . */
|
|
8779
|
+
'roleId': {
|
|
8780
|
+
type: 'id';
|
|
8781
|
+
isRequired: true;
|
|
8698
8782
|
options: undefined;
|
|
8699
8783
|
};
|
|
8700
|
-
/**
|
|
8701
|
-
'
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
options: {
|
|
8705
|
-
requiredSizes: ["*"];
|
|
8706
|
-
};
|
|
8707
|
-
};
|
|
8708
|
-
/** Phone. A number that can be texted */
|
|
8709
|
-
'phone': {
|
|
8710
|
-
label: 'Phone';
|
|
8711
|
-
type: 'phone';
|
|
8712
|
-
isPrivate: true;
|
|
8713
|
-
hint: 'A number that can be texted';
|
|
8784
|
+
/** . */
|
|
8785
|
+
'isLastRole': {
|
|
8786
|
+
type: 'boolean';
|
|
8787
|
+
isRequired: true;
|
|
8714
8788
|
options: undefined;
|
|
8715
8789
|
};
|
|
8716
8790
|
};
|
|
8717
8791
|
}
|
|
8718
|
-
interface
|
|
8792
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
8719
8793
|
}
|
|
8720
8794
|
}
|
|
8721
8795
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8722
|
-
interface
|
|
8796
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
8723
8797
|
/** Source. */
|
|
8724
8798
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8725
|
-
'target'
|
|
8726
|
-
'payload'
|
|
8799
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
8800
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
8727
8801
|
}
|
|
8728
|
-
interface
|
|
8729
|
-
id: '
|
|
8802
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8803
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
8730
8804
|
version: 'v2020_12_25';
|
|
8731
8805
|
namespace: 'Mercury';
|
|
8732
8806
|
name: '';
|
|
@@ -8742,315 +8816,225 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8742
8816
|
/** . */
|
|
8743
8817
|
'target': {
|
|
8744
8818
|
type: 'schema';
|
|
8819
|
+
isRequired: true;
|
|
8745
8820
|
options: {
|
|
8746
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8821
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
8747
8822
|
};
|
|
8748
8823
|
};
|
|
8749
8824
|
/** . */
|
|
8750
8825
|
'payload': {
|
|
8751
8826
|
type: 'schema';
|
|
8827
|
+
isRequired: true;
|
|
8752
8828
|
options: {
|
|
8753
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8829
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
8754
8830
|
};
|
|
8755
8831
|
};
|
|
8756
8832
|
};
|
|
8757
8833
|
}
|
|
8758
|
-
interface
|
|
8834
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
8759
8835
|
}
|
|
8760
8836
|
}
|
|
8761
8837
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8762
|
-
interface
|
|
8763
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
8838
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
8764
8839
|
}
|
|
8765
|
-
interface
|
|
8766
|
-
id: '
|
|
8840
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8841
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
8767
8842
|
version: 'v2020_12_25';
|
|
8768
8843
|
namespace: 'Mercury';
|
|
8769
8844
|
name: '';
|
|
8770
|
-
fields: {
|
|
8771
|
-
/** . */
|
|
8772
|
-
'person': {
|
|
8773
|
-
type: 'schema';
|
|
8774
|
-
isRequired: true;
|
|
8775
|
-
options: {
|
|
8776
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
8777
|
-
};
|
|
8778
|
-
};
|
|
8779
|
-
};
|
|
8845
|
+
fields: {};
|
|
8780
8846
|
}
|
|
8781
|
-
interface
|
|
8847
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
8782
8848
|
}
|
|
8783
8849
|
}
|
|
8784
8850
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8785
|
-
interface
|
|
8786
|
-
'
|
|
8851
|
+
interface DidMessageEmitPayload {
|
|
8852
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
8853
|
+
'conversationState'?: string | undefined | null;
|
|
8854
|
+
'topic'?: string | undefined | null;
|
|
8787
8855
|
}
|
|
8788
|
-
interface
|
|
8789
|
-
id: '
|
|
8856
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8857
|
+
id: 'didMessageEmitPayload';
|
|
8790
8858
|
version: 'v2020_12_25';
|
|
8791
8859
|
namespace: 'Mercury';
|
|
8792
8860
|
name: '';
|
|
8793
8861
|
fields: {
|
|
8794
8862
|
/** . */
|
|
8795
|
-
'
|
|
8796
|
-
type: '
|
|
8863
|
+
'message': {
|
|
8864
|
+
type: 'schema';
|
|
8797
8865
|
isRequired: true;
|
|
8866
|
+
options: {
|
|
8867
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
8868
|
+
};
|
|
8869
|
+
};
|
|
8870
|
+
/** . */
|
|
8871
|
+
'conversationState': {
|
|
8872
|
+
type: 'text';
|
|
8873
|
+
options: undefined;
|
|
8874
|
+
};
|
|
8875
|
+
/** . */
|
|
8876
|
+
'topic': {
|
|
8877
|
+
type: 'text';
|
|
8798
8878
|
options: undefined;
|
|
8799
8879
|
};
|
|
8800
8880
|
};
|
|
8801
8881
|
}
|
|
8802
|
-
interface
|
|
8882
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
8803
8883
|
}
|
|
8804
8884
|
}
|
|
8805
8885
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8806
|
-
interface
|
|
8807
|
-
|
|
8808
|
-
'
|
|
8809
|
-
|
|
8810
|
-
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
8811
|
-
/** Description. */
|
|
8812
|
-
'description'?: string | undefined | null;
|
|
8813
|
-
'dateDeleted'?: number | undefined | null;
|
|
8814
|
-
'organizationId'?: string | undefined | null;
|
|
8815
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
8816
|
-
'isPublic'?: boolean | undefined | null;
|
|
8886
|
+
interface ConversationTopic {
|
|
8887
|
+
'key': string;
|
|
8888
|
+
'confidence': number;
|
|
8889
|
+
'label': string;
|
|
8817
8890
|
}
|
|
8818
|
-
interface
|
|
8819
|
-
id: '
|
|
8891
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
8892
|
+
id: 'conversationTopic';
|
|
8820
8893
|
version: 'v2020_12_25';
|
|
8821
8894
|
namespace: 'Mercury';
|
|
8822
8895
|
name: '';
|
|
8823
8896
|
fields: {
|
|
8824
|
-
/**
|
|
8825
|
-
'
|
|
8826
|
-
label: 'Name';
|
|
8827
|
-
type: 'text';
|
|
8828
|
-
options: undefined;
|
|
8829
|
-
};
|
|
8830
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
8831
|
-
'base': {
|
|
8832
|
-
label: 'Base';
|
|
8833
|
-
type: 'select';
|
|
8834
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
8835
|
-
options: {
|
|
8836
|
-
choices: [{
|
|
8837
|
-
"label": "Owner";
|
|
8838
|
-
"value": "owner";
|
|
8839
|
-
}, {
|
|
8840
|
-
"label": "Group manager";
|
|
8841
|
-
"value": "groupManager";
|
|
8842
|
-
}, {
|
|
8843
|
-
"label": "Manager";
|
|
8844
|
-
"value": "manager";
|
|
8845
|
-
}, {
|
|
8846
|
-
"label": "Teammate";
|
|
8847
|
-
"value": "teammate";
|
|
8848
|
-
}, {
|
|
8849
|
-
"label": "Anonymous";
|
|
8850
|
-
"value": "anonymous";
|
|
8851
|
-
}, {
|
|
8852
|
-
"label": "Logged in";
|
|
8853
|
-
"value": "loggedIn";
|
|
8854
|
-
}, {
|
|
8855
|
-
"label": "Guest";
|
|
8856
|
-
"value": "guest";
|
|
8857
|
-
}];
|
|
8858
|
-
};
|
|
8859
|
-
};
|
|
8860
|
-
/** Description. */
|
|
8861
|
-
'description': {
|
|
8862
|
-
label: 'Description';
|
|
8897
|
+
/** . */
|
|
8898
|
+
'key': {
|
|
8863
8899
|
type: 'text';
|
|
8900
|
+
isRequired: true;
|
|
8864
8901
|
options: undefined;
|
|
8865
8902
|
};
|
|
8866
8903
|
/** . */
|
|
8867
|
-
'
|
|
8904
|
+
'confidence': {
|
|
8868
8905
|
type: 'number';
|
|
8906
|
+
isRequired: true;
|
|
8869
8907
|
options: undefined;
|
|
8870
8908
|
};
|
|
8871
8909
|
/** . */
|
|
8872
|
-
'
|
|
8873
|
-
type: '
|
|
8874
|
-
|
|
8875
|
-
};
|
|
8876
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
8877
|
-
'isPublic': {
|
|
8878
|
-
label: 'Public';
|
|
8879
|
-
type: 'boolean';
|
|
8880
|
-
hint: 'Should I let people that are not part of this organization this role?';
|
|
8910
|
+
'label': {
|
|
8911
|
+
type: 'text';
|
|
8912
|
+
isRequired: true;
|
|
8881
8913
|
options: undefined;
|
|
8882
8914
|
};
|
|
8883
8915
|
};
|
|
8884
8916
|
}
|
|
8885
|
-
interface
|
|
8917
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
8886
8918
|
}
|
|
8887
8919
|
}
|
|
8888
8920
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8889
|
-
interface
|
|
8890
|
-
|
|
8891
|
-
'
|
|
8892
|
-
'
|
|
8893
|
-
'
|
|
8921
|
+
interface DidMessageResponsePayload {
|
|
8922
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
8923
|
+
'repairs'?: string[] | undefined | null;
|
|
8924
|
+
'topicChangers'?: string[] | undefined | null;
|
|
8925
|
+
'utterance'?: string | undefined | null;
|
|
8926
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
8894
8927
|
}
|
|
8895
|
-
interface
|
|
8896
|
-
id: '
|
|
8928
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8929
|
+
id: 'didMessageResponsePayload';
|
|
8897
8930
|
version: 'v2020_12_25';
|
|
8898
8931
|
namespace: 'Mercury';
|
|
8899
8932
|
name: '';
|
|
8900
8933
|
fields: {
|
|
8901
|
-
/**
|
|
8902
|
-
'
|
|
8903
|
-
|
|
8904
|
-
type: 'schema';
|
|
8934
|
+
/** . */
|
|
8935
|
+
'transitionConversationTo': {
|
|
8936
|
+
type: 'select';
|
|
8905
8937
|
options: {
|
|
8906
|
-
|
|
8938
|
+
choices: [{
|
|
8939
|
+
"label": "Greeting";
|
|
8940
|
+
"value": "greeting";
|
|
8941
|
+
}, {
|
|
8942
|
+
"label": "Discovery";
|
|
8943
|
+
"value": "discovery";
|
|
8944
|
+
}, {
|
|
8945
|
+
"label": "Topic";
|
|
8946
|
+
"value": "topic";
|
|
8947
|
+
}, {
|
|
8948
|
+
"label": "Closing";
|
|
8949
|
+
"value": "closing";
|
|
8950
|
+
}];
|
|
8907
8951
|
};
|
|
8908
8952
|
};
|
|
8909
8953
|
/** . */
|
|
8910
|
-
'
|
|
8911
|
-
type: '
|
|
8912
|
-
|
|
8913
|
-
options:
|
|
8914
|
-
|
|
8915
|
-
|
|
8954
|
+
'repairs': {
|
|
8955
|
+
type: 'text';
|
|
8956
|
+
isArray: true;
|
|
8957
|
+
options: undefined;
|
|
8958
|
+
};
|
|
8959
|
+
/** . */
|
|
8960
|
+
'topicChangers': {
|
|
8961
|
+
type: 'text';
|
|
8962
|
+
isArray: true;
|
|
8963
|
+
options: undefined;
|
|
8916
8964
|
};
|
|
8917
8965
|
/** . */
|
|
8918
|
-
'
|
|
8966
|
+
'utterance': {
|
|
8967
|
+
type: 'text';
|
|
8968
|
+
options: undefined;
|
|
8969
|
+
};
|
|
8970
|
+
/** . */
|
|
8971
|
+
'suggestedTopics': {
|
|
8919
8972
|
type: 'schema';
|
|
8973
|
+
isArray: true;
|
|
8920
8974
|
options: {
|
|
8921
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8975
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
8922
8976
|
};
|
|
8923
8977
|
};
|
|
8924
8978
|
};
|
|
8925
8979
|
}
|
|
8926
|
-
interface
|
|
8980
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
8927
8981
|
}
|
|
8928
8982
|
}
|
|
8929
8983
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8930
|
-
interface
|
|
8931
|
-
'
|
|
8984
|
+
interface DidSignupEmitPayload {
|
|
8985
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
8932
8986
|
}
|
|
8933
|
-
interface
|
|
8934
|
-
id: '
|
|
8987
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8988
|
+
id: 'didSignupEmitPayload';
|
|
8935
8989
|
version: 'v2020_12_25';
|
|
8936
8990
|
namespace: 'Mercury';
|
|
8937
8991
|
name: '';
|
|
8938
8992
|
fields: {
|
|
8939
8993
|
/** . */
|
|
8940
|
-
'
|
|
8994
|
+
'person': {
|
|
8941
8995
|
type: 'schema';
|
|
8942
8996
|
isRequired: true;
|
|
8943
8997
|
options: {
|
|
8944
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
8998
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
8945
8999
|
};
|
|
8946
9000
|
};
|
|
8947
9001
|
};
|
|
8948
9002
|
}
|
|
8949
|
-
interface
|
|
8950
|
-
}
|
|
8951
|
-
}
|
|
8952
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8953
|
-
interface UpsertPermissionContractEmitTarget {
|
|
8954
|
-
'organizationId': string;
|
|
8955
|
-
'permissionContractId': string;
|
|
8956
|
-
'roleId': string;
|
|
8957
|
-
'skillId'?: string | undefined | null;
|
|
8958
|
-
}
|
|
8959
|
-
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
8960
|
-
id: 'upsertPermissionContractEmitTarget';
|
|
8961
|
-
version: 'v2020_12_25';
|
|
8962
|
-
namespace: 'Mercury';
|
|
8963
|
-
name: '';
|
|
8964
|
-
fields: {
|
|
8965
|
-
/** . */
|
|
8966
|
-
'organizationId': {
|
|
8967
|
-
type: 'id';
|
|
8968
|
-
isRequired: true;
|
|
8969
|
-
options: undefined;
|
|
8970
|
-
};
|
|
8971
|
-
/** . */
|
|
8972
|
-
'permissionContractId': {
|
|
8973
|
-
type: 'id';
|
|
8974
|
-
isRequired: true;
|
|
8975
|
-
options: undefined;
|
|
8976
|
-
};
|
|
8977
|
-
/** . */
|
|
8978
|
-
'roleId': {
|
|
8979
|
-
type: 'id';
|
|
8980
|
-
isRequired: true;
|
|
8981
|
-
options: undefined;
|
|
8982
|
-
};
|
|
8983
|
-
/** . */
|
|
8984
|
-
'skillId': {
|
|
8985
|
-
type: 'id';
|
|
8986
|
-
options: undefined;
|
|
8987
|
-
};
|
|
8988
|
-
};
|
|
8989
|
-
}
|
|
8990
|
-
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
9003
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
8991
9004
|
}
|
|
8992
9005
|
}
|
|
8993
9006
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8994
|
-
interface
|
|
8995
|
-
|
|
8996
|
-
'name': string;
|
|
8997
|
-
/** Description. */
|
|
8998
|
-
'description'?: string | undefined | null;
|
|
8999
|
-
/** Require all permissions. */
|
|
9000
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
9001
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
9007
|
+
interface DidUpdateFeedEmitPayload {
|
|
9008
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
9002
9009
|
}
|
|
9003
|
-
interface
|
|
9004
|
-
id: '
|
|
9010
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9011
|
+
id: 'didUpdateFeedEmitPayload';
|
|
9005
9012
|
version: 'v2020_12_25';
|
|
9006
9013
|
namespace: 'Mercury';
|
|
9007
9014
|
name: '';
|
|
9008
9015
|
fields: {
|
|
9009
|
-
/** Name. Human readable name for this contract */
|
|
9010
|
-
'name': {
|
|
9011
|
-
label: 'Name';
|
|
9012
|
-
type: 'text';
|
|
9013
|
-
isRequired: true;
|
|
9014
|
-
hint: 'Human readable name for this contract';
|
|
9015
|
-
options: undefined;
|
|
9016
|
-
};
|
|
9017
|
-
/** Description. */
|
|
9018
|
-
'description': {
|
|
9019
|
-
label: 'Description';
|
|
9020
|
-
type: 'text';
|
|
9021
|
-
options: undefined;
|
|
9022
|
-
};
|
|
9023
|
-
/** Require all permissions. */
|
|
9024
|
-
'requireAllPermissions': {
|
|
9025
|
-
label: 'Require all permissions';
|
|
9026
|
-
type: 'boolean';
|
|
9027
|
-
defaultValue: false;
|
|
9028
|
-
options: undefined;
|
|
9029
|
-
};
|
|
9030
9016
|
/** . */
|
|
9031
|
-
'
|
|
9017
|
+
'item': {
|
|
9032
9018
|
type: 'schema';
|
|
9033
9019
|
isRequired: true;
|
|
9034
|
-
isArray: true;
|
|
9035
|
-
minArrayLength: 0;
|
|
9036
9020
|
options: {
|
|
9037
|
-
schema: SpruceSchemas.
|
|
9021
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
9038
9022
|
};
|
|
9039
9023
|
};
|
|
9040
9024
|
};
|
|
9041
9025
|
}
|
|
9042
|
-
interface
|
|
9026
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
9043
9027
|
}
|
|
9044
9028
|
}
|
|
9045
9029
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9046
|
-
interface
|
|
9030
|
+
interface DidMessageEmitTargetAndPayload {
|
|
9047
9031
|
/** Source. */
|
|
9048
9032
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9049
|
-
'target'
|
|
9050
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
9033
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
9034
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
9051
9035
|
}
|
|
9052
|
-
interface
|
|
9053
|
-
id: '
|
|
9036
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9037
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
9054
9038
|
version: 'v2020_12_25';
|
|
9055
9039
|
namespace: 'Mercury';
|
|
9056
9040
|
name: '';
|
|
@@ -9066,9 +9050,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9066
9050
|
/** . */
|
|
9067
9051
|
'target': {
|
|
9068
9052
|
type: 'schema';
|
|
9069
|
-
isRequired: true;
|
|
9070
9053
|
options: {
|
|
9071
|
-
schema: SpruceSchemas.
|
|
9054
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
9072
9055
|
};
|
|
9073
9056
|
};
|
|
9074
9057
|
/** . */
|
|
@@ -9076,73 +9059,64 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9076
9059
|
type: 'schema';
|
|
9077
9060
|
isRequired: true;
|
|
9078
9061
|
options: {
|
|
9079
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
9062
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
9080
9063
|
};
|
|
9081
9064
|
};
|
|
9082
9065
|
};
|
|
9083
9066
|
}
|
|
9084
|
-
interface
|
|
9067
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
9085
9068
|
}
|
|
9086
9069
|
}
|
|
9087
9070
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9088
|
-
interface
|
|
9089
|
-
|
|
9071
|
+
interface DidSignupEmitTargetAndPayload {
|
|
9072
|
+
/** Source. */
|
|
9073
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9074
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
9075
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
9090
9076
|
}
|
|
9091
|
-
interface
|
|
9092
|
-
id: '
|
|
9077
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9078
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
9093
9079
|
version: 'v2020_12_25';
|
|
9094
9080
|
namespace: 'Mercury';
|
|
9095
9081
|
name: '';
|
|
9096
9082
|
fields: {
|
|
9097
|
-
/** . */
|
|
9098
|
-
'
|
|
9083
|
+
/** Source. */
|
|
9084
|
+
'source': {
|
|
9085
|
+
label: 'Source';
|
|
9099
9086
|
type: 'schema';
|
|
9100
|
-
isRequired: true;
|
|
9101
9087
|
options: {
|
|
9102
|
-
schema: SpruceSchemas.
|
|
9088
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9103
9089
|
};
|
|
9104
9090
|
};
|
|
9105
|
-
};
|
|
9106
|
-
}
|
|
9107
|
-
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
9108
|
-
}
|
|
9109
|
-
}
|
|
9110
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9111
|
-
interface VoteForFeatureEmitPayload {
|
|
9112
|
-
'featureKey': string;
|
|
9113
|
-
'skillNamespace': string;
|
|
9114
|
-
}
|
|
9115
|
-
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9116
|
-
id: 'voteForFeatureEmitPayload';
|
|
9117
|
-
version: 'v2020_12_25';
|
|
9118
|
-
namespace: 'Mercury';
|
|
9119
|
-
name: '';
|
|
9120
|
-
fields: {
|
|
9121
9091
|
/** . */
|
|
9122
|
-
'
|
|
9123
|
-
type: '
|
|
9124
|
-
|
|
9125
|
-
|
|
9092
|
+
'target': {
|
|
9093
|
+
type: 'schema';
|
|
9094
|
+
options: {
|
|
9095
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
9096
|
+
};
|
|
9126
9097
|
};
|
|
9127
9098
|
/** . */
|
|
9128
|
-
'
|
|
9129
|
-
type: '
|
|
9099
|
+
'payload': {
|
|
9100
|
+
type: 'schema';
|
|
9130
9101
|
isRequired: true;
|
|
9131
|
-
options:
|
|
9102
|
+
options: {
|
|
9103
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
9104
|
+
};
|
|
9132
9105
|
};
|
|
9133
9106
|
};
|
|
9134
9107
|
}
|
|
9135
|
-
interface
|
|
9108
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
9136
9109
|
}
|
|
9137
9110
|
}
|
|
9138
9111
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9139
|
-
interface
|
|
9112
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
9140
9113
|
/** Source. */
|
|
9141
9114
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9142
|
-
'
|
|
9115
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
9116
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
9143
9117
|
}
|
|
9144
|
-
interface
|
|
9145
|
-
id: '
|
|
9118
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9119
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
9146
9120
|
version: 'v2020_12_25';
|
|
9147
9121
|
namespace: 'Mercury';
|
|
9148
9122
|
name: '';
|
|
@@ -9156,46 +9130,57 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9156
9130
|
};
|
|
9157
9131
|
};
|
|
9158
9132
|
/** . */
|
|
9133
|
+
'target': {
|
|
9134
|
+
type: 'schema';
|
|
9135
|
+
options: {
|
|
9136
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
9137
|
+
};
|
|
9138
|
+
};
|
|
9139
|
+
/** . */
|
|
9159
9140
|
'payload': {
|
|
9160
9141
|
type: 'schema';
|
|
9161
9142
|
isRequired: true;
|
|
9162
9143
|
options: {
|
|
9163
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
9144
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
9164
9145
|
};
|
|
9165
9146
|
};
|
|
9166
9147
|
};
|
|
9167
9148
|
}
|
|
9168
|
-
interface
|
|
9149
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
9169
9150
|
}
|
|
9170
9151
|
}
|
|
9171
9152
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9172
|
-
interface
|
|
9173
|
-
'
|
|
9153
|
+
interface DidUpdatePersonEmitPayload {
|
|
9154
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
9174
9155
|
}
|
|
9175
|
-
interface
|
|
9176
|
-
id: '
|
|
9156
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9157
|
+
id: 'didUpdatePersonEmitPayload';
|
|
9177
9158
|
version: 'v2020_12_25';
|
|
9178
9159
|
namespace: 'Mercury';
|
|
9179
9160
|
name: '';
|
|
9180
9161
|
fields: {
|
|
9181
9162
|
/** . */
|
|
9182
|
-
'
|
|
9183
|
-
type: '
|
|
9163
|
+
'person': {
|
|
9164
|
+
type: 'schema';
|
|
9184
9165
|
isRequired: true;
|
|
9185
|
-
options:
|
|
9166
|
+
options: {
|
|
9167
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
9168
|
+
};
|
|
9186
9169
|
};
|
|
9187
9170
|
};
|
|
9188
9171
|
}
|
|
9189
|
-
interface
|
|
9172
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
9190
9173
|
}
|
|
9191
9174
|
}
|
|
9192
9175
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9193
|
-
interface
|
|
9176
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
9194
9177
|
/** Source. */
|
|
9195
9178
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9179
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
9180
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
9196
9181
|
}
|
|
9197
|
-
interface
|
|
9198
|
-
id: '
|
|
9182
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9183
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
9199
9184
|
version: 'v2020_12_25';
|
|
9200
9185
|
namespace: 'Mercury';
|
|
9201
9186
|
name: '';
|
|
@@ -9208,9 +9193,24 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9208
9193
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9209
9194
|
};
|
|
9210
9195
|
};
|
|
9196
|
+
/** . */
|
|
9197
|
+
'target': {
|
|
9198
|
+
type: 'schema';
|
|
9199
|
+
options: {
|
|
9200
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
9201
|
+
};
|
|
9202
|
+
};
|
|
9203
|
+
/** . */
|
|
9204
|
+
'payload': {
|
|
9205
|
+
type: 'schema';
|
|
9206
|
+
isRequired: true;
|
|
9207
|
+
options: {
|
|
9208
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
9209
|
+
};
|
|
9210
|
+
};
|
|
9211
9211
|
};
|
|
9212
9212
|
}
|
|
9213
|
-
interface
|
|
9213
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
9214
9214
|
}
|
|
9215
9215
|
}
|
|
9216
9216
|
}
|