@sprucelabs/mercury-core-events 12.0.174 → 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/mercury/v2020_12_25/listLocationsEmitTarget.schema.js +0 -1
- package/build/.spruce/schemas/mercury/v2020_12_25/listLocationsEmitTargetAndPayload.schema.js +0 -1
- package/build/.spruce/schemas/schemas.types.d.ts +1664 -1666
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/listLocationsEmitTarget.schema.js +0 -1
- package/build/esm/.spruce/schemas/mercury/v2020_12_25/listLocationsEmitTargetAndPayload.schema.js +0 -1
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1664 -1666
- package/package.json +4 -4
|
@@ -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;
|
|
@@ -3422,81 +2713,40 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3422
2713
|
};
|
|
3423
2714
|
};
|
|
3424
2715
|
}
|
|
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;
|
|
3452
|
-
options: {
|
|
3453
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FeedPredicateSchema;
|
|
3454
|
-
};
|
|
3455
|
-
};
|
|
3456
|
-
};
|
|
3457
|
-
}
|
|
3458
|
-
interface GetFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema> {
|
|
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,37 +3972,9 @@ 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
|
-
'organizationId'
|
|
3977
|
+
'organizationId'?: string | undefined | null;
|
|
4727
3978
|
}
|
|
4728
3979
|
interface ListLocationsEmitTargetSchema extends SpruceSchema.Schema {
|
|
4729
3980
|
id: 'listLocationsEmitTarget';
|
|
@@ -4734,7 +3985,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4734
3985
|
/** . */
|
|
4735
3986
|
'organizationId': {
|
|
4736
3987
|
type: 'id';
|
|
4737
|
-
isRequired: true;
|
|
4738
3988
|
options: undefined;
|
|
4739
3989
|
};
|
|
4740
3990
|
};
|
|
@@ -4746,7 +3996,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4746
3996
|
interface ListLocationsEmitTargetAndPayload {
|
|
4747
3997
|
/** Source. */
|
|
4748
3998
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
4749
|
-
'target'
|
|
3999
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTarget | undefined | null;
|
|
4750
4000
|
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayload | undefined | null;
|
|
4751
4001
|
}
|
|
4752
4002
|
interface ListLocationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
@@ -4766,7 +4016,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4766
4016
|
/** . */
|
|
4767
4017
|
'target': {
|
|
4768
4018
|
type: 'schema';
|
|
4769
|
-
isRequired: true;
|
|
4770
4019
|
options: {
|
|
4771
4020
|
schema: SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema;
|
|
4772
4021
|
};
|
|
@@ -4809,35 +4058,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4809
4058
|
}
|
|
4810
4059
|
}
|
|
4811
4060
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4812
|
-
interface
|
|
4813
|
-
|
|
4814
|
-
'
|
|
4815
|
-
'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;
|
|
4816
4064
|
}
|
|
4817
|
-
interface
|
|
4818
|
-
id: '
|
|
4065
|
+
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
4066
|
+
id: 'listLocationsEmitPayload';
|
|
4819
4067
|
version: 'v2020_12_25';
|
|
4820
4068
|
namespace: 'Mercury';
|
|
4821
4069
|
name: '';
|
|
4822
4070
|
fields: {
|
|
4823
|
-
/**
|
|
4824
|
-
'
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
options: {
|
|
4828
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
4829
|
-
};
|
|
4071
|
+
/** . */
|
|
4072
|
+
'shouldOnlyShowWhereIAmEmployed': {
|
|
4073
|
+
type: 'boolean';
|
|
4074
|
+
options: undefined;
|
|
4830
4075
|
};
|
|
4831
4076
|
/** . */
|
|
4832
|
-
'
|
|
4077
|
+
'paging': {
|
|
4833
4078
|
type: 'schema';
|
|
4834
4079
|
options: {
|
|
4835
|
-
schema: SpruceSchemas.
|
|
4080
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
4836
4081
|
};
|
|
4837
4082
|
};
|
|
4838
4083
|
};
|
|
4839
4084
|
}
|
|
4840
|
-
interface
|
|
4085
|
+
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
4841
4086
|
}
|
|
4842
4087
|
}
|
|
4843
4088
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
@@ -4880,6 +4125,38 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4880
4125
|
interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
|
|
4881
4126
|
}
|
|
4882
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
|
+
}
|
|
4883
4160
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4884
4161
|
interface ListOrgsResponsePayload {
|
|
4885
4162
|
'organizations': SpruceSchemas.Spruce.v2020_07_22.Organization[];
|
|
@@ -5354,57 +4631,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5354
4631
|
interface ListRolesEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesEmitTargetAndPayloadSchema> {
|
|
5355
4632
|
}
|
|
5356
4633
|
}
|
|
5357
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5358
|
-
interface ListRolesResponsePayload {
|
|
5359
|
-
'roles': SpruceSchemas.Mercury.v2020_12_25.ListRole[];
|
|
5360
|
-
}
|
|
5361
|
-
interface ListRolesResponsePayloadSchema extends SpruceSchema.Schema {
|
|
5362
|
-
id: 'listRolesResponsePayload';
|
|
5363
|
-
version: 'v2020_12_25';
|
|
5364
|
-
namespace: 'Mercury';
|
|
5365
|
-
name: '';
|
|
5366
|
-
fields: {
|
|
5367
|
-
/** . */
|
|
5368
|
-
'roles': {
|
|
5369
|
-
type: 'schema';
|
|
5370
|
-
isRequired: true;
|
|
5371
|
-
isArray: true;
|
|
5372
|
-
minArrayLength: 0;
|
|
5373
|
-
options: {
|
|
5374
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema;
|
|
5375
|
-
};
|
|
5376
|
-
};
|
|
5377
|
-
};
|
|
5378
|
-
}
|
|
5379
|
-
interface ListRolesResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRolesResponsePayloadSchema> {
|
|
5380
|
-
}
|
|
5381
|
-
}
|
|
5382
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5383
|
-
interface ListSchemaTarget {
|
|
5384
|
-
'organizationId'?: string | undefined | null;
|
|
5385
|
-
'locationId'?: string | undefined | null;
|
|
5386
|
-
}
|
|
5387
|
-
interface ListSchemaTargetSchema extends SpruceSchema.Schema {
|
|
5388
|
-
id: 'listSchemaTarget';
|
|
5389
|
-
version: 'v2020_12_25';
|
|
5390
|
-
namespace: 'Mercury';
|
|
5391
|
-
name: '';
|
|
5392
|
-
fields: {
|
|
5393
|
-
/** . */
|
|
5394
|
-
'organizationId': {
|
|
5395
|
-
type: 'id';
|
|
5396
|
-
options: undefined;
|
|
5397
|
-
};
|
|
5398
|
-
/** . */
|
|
5399
|
-
'locationId': {
|
|
5400
|
-
type: 'id';
|
|
5401
|
-
options: undefined;
|
|
5402
|
-
};
|
|
5403
|
-
};
|
|
5404
|
-
}
|
|
5405
|
-
interface ListSchemaTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListSchemaTargetSchema> {
|
|
5406
|
-
}
|
|
5407
|
-
}
|
|
5408
4634
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5409
4635
|
interface ListRole {
|
|
5410
4636
|
/** Id. */
|
|
@@ -5519,6 +4745,57 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5519
4745
|
interface ListRoleEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListRoleSchema> {
|
|
5520
4746
|
}
|
|
5521
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
|
+
}
|
|
5522
4799
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5523
4800
|
interface ListSkillsEmitPayload {
|
|
5524
4801
|
'shouldOnlyShowMine'?: boolean | undefined | null;
|
|
@@ -6422,47 +5699,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6422
5699
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
6423
5700
|
}
|
|
6424
5701
|
}
|
|
6425
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6426
|
-
interface SendMessageEmitTargetAndPayload {
|
|
6427
|
-
/** Source. */
|
|
6428
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
6429
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
6430
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
6431
|
-
}
|
|
6432
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
6433
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
6434
|
-
version: 'v2020_12_25';
|
|
6435
|
-
namespace: 'Mercury';
|
|
6436
|
-
name: '';
|
|
6437
|
-
fields: {
|
|
6438
|
-
/** Source. */
|
|
6439
|
-
'source': {
|
|
6440
|
-
label: 'Source';
|
|
6441
|
-
type: 'schema';
|
|
6442
|
-
options: {
|
|
6443
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
6444
|
-
};
|
|
6445
|
-
};
|
|
6446
|
-
/** . */
|
|
6447
|
-
'target': {
|
|
6448
|
-
type: 'schema';
|
|
6449
|
-
options: {
|
|
6450
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
6451
|
-
};
|
|
6452
|
-
};
|
|
6453
|
-
/** . */
|
|
6454
|
-
'payload': {
|
|
6455
|
-
type: 'schema';
|
|
6456
|
-
isRequired: true;
|
|
6457
|
-
options: {
|
|
6458
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
6459
|
-
};
|
|
6460
|
-
};
|
|
6461
|
-
};
|
|
6462
|
-
}
|
|
6463
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
6464
|
-
}
|
|
6465
|
-
}
|
|
6466
5702
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6467
5703
|
interface SendMessageMessagePayload {
|
|
6468
5704
|
'classification': ("auth" | "transactional" | "promotional" | "incoming");
|
|
@@ -6562,6 +5798,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6562
5798
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
6563
5799
|
}
|
|
6564
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
|
+
}
|
|
6565
5842
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6566
5843
|
interface SendMessageResponsePayload {
|
|
6567
5844
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -6674,30 +5951,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6674
5951
|
interface SubmitErrorMessageFeedbackEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SubmitErrorMessageFeedbackEmitTargetAndPayloadSchema> {
|
|
6675
5952
|
}
|
|
6676
5953
|
}
|
|
6677
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6678
|
-
interface SyncEventContractsEmitPayload {
|
|
6679
|
-
'contract': SpruceSchemas.Mercury.v2020_12_25.EventContract;
|
|
6680
|
-
}
|
|
6681
|
-
interface SyncEventContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
6682
|
-
id: 'syncEventContractsEmitPayload';
|
|
6683
|
-
version: 'v2020_12_25';
|
|
6684
|
-
namespace: 'Mercury';
|
|
6685
|
-
name: '';
|
|
6686
|
-
importsWhenRemote: ['import \'@sprucelabs/mercury-types\''];
|
|
6687
|
-
fields: {
|
|
6688
|
-
/** . */
|
|
6689
|
-
'contract': {
|
|
6690
|
-
type: 'schema';
|
|
6691
|
-
isRequired: true;
|
|
6692
|
-
options: {
|
|
6693
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.EventContractSchema;
|
|
6694
|
-
};
|
|
6695
|
-
};
|
|
6696
|
-
};
|
|
6697
|
-
}
|
|
6698
|
-
interface SyncEventContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitPayloadSchema> {
|
|
6699
|
-
}
|
|
6700
|
-
}
|
|
6701
5954
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6702
5955
|
interface SyncEventContractsEmitTargetAndPayload {
|
|
6703
5956
|
/** Source. */
|
|
@@ -6731,6 +5984,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6731
5984
|
interface SyncEventContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncEventContractsEmitTargetAndPayloadSchema> {
|
|
6732
5985
|
}
|
|
6733
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
|
+
}
|
|
6734
6011
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6735
6012
|
interface SyncEventContractsResponsePayload {
|
|
6736
6013
|
/** Event names. */
|
|
@@ -6823,30 +6100,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6823
6100
|
interface SyncPermissionContractsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitTargetAndPayloadSchema> {
|
|
6824
6101
|
}
|
|
6825
6102
|
}
|
|
6826
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6827
|
-
interface SyncPermissionContractsResponsePayload {
|
|
6828
|
-
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
6829
|
-
}
|
|
6830
|
-
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
6831
|
-
id: 'syncPermissionContractsResponsePayload';
|
|
6832
|
-
version: 'v2020_12_25';
|
|
6833
|
-
namespace: 'Mercury';
|
|
6834
|
-
name: '';
|
|
6835
|
-
fields: {
|
|
6836
|
-
/** . */
|
|
6837
|
-
'contractRecords': {
|
|
6838
|
-
type: 'schema';
|
|
6839
|
-
isRequired: true;
|
|
6840
|
-
isArray: true;
|
|
6841
|
-
options: {
|
|
6842
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
6843
|
-
};
|
|
6844
|
-
};
|
|
6845
|
-
};
|
|
6846
|
-
}
|
|
6847
|
-
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
6848
|
-
}
|
|
6849
|
-
}
|
|
6850
6103
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6851
6104
|
interface FullPermissionContract {
|
|
6852
6105
|
'id': string;
|
|
@@ -6891,6 +6144,30 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
6891
6144
|
interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
|
|
6892
6145
|
}
|
|
6893
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
|
+
}
|
|
6894
6171
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6895
6172
|
interface UnInstallSkillEmitTarget {
|
|
6896
6173
|
'skillId': string;
|
|
@@ -8341,61 +7618,916 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8341
7618
|
"value": "Pacific/Wake";
|
|
8342
7619
|
"label": "Wake Island Time";
|
|
8343
7620
|
}, {
|
|
8344
|
-
"value": "Pacific/Wallis";
|
|
8345
|
-
"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";
|
|
8346
8121
|
}, {
|
|
8347
|
-
"
|
|
8348
|
-
"
|
|
8122
|
+
"label": "Manager";
|
|
8123
|
+
"value": "manager";
|
|
8349
8124
|
}, {
|
|
8350
|
-
"
|
|
8351
|
-
"
|
|
8125
|
+
"label": "Teammate";
|
|
8126
|
+
"value": "teammate";
|
|
8352
8127
|
}, {
|
|
8353
|
-
"
|
|
8354
|
-
"
|
|
8128
|
+
"label": "Anonymous";
|
|
8129
|
+
"value": "anonymous";
|
|
8355
8130
|
}, {
|
|
8356
|
-
"
|
|
8357
|
-
"
|
|
8131
|
+
"label": "Logged in";
|
|
8132
|
+
"value": "loggedIn";
|
|
8358
8133
|
}, {
|
|
8359
|
-
"
|
|
8360
|
-
"
|
|
8134
|
+
"label": "Guest";
|
|
8135
|
+
"value": "guest";
|
|
8361
8136
|
}];
|
|
8362
8137
|
};
|
|
8363
8138
|
};
|
|
8364
|
-
/**
|
|
8365
|
-
'
|
|
8366
|
-
label: '
|
|
8367
|
-
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;
|
|
8368
8410
|
options: undefined;
|
|
8369
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: {
|
|
8370
8460
|
/** . */
|
|
8371
|
-
'
|
|
8372
|
-
type: '
|
|
8461
|
+
'totalVotes': {
|
|
8462
|
+
type: 'number';
|
|
8463
|
+
isRequired: true;
|
|
8373
8464
|
options: undefined;
|
|
8374
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: {
|
|
8375
8506
|
/** . */
|
|
8376
|
-
'
|
|
8377
|
-
type: '
|
|
8507
|
+
'organizationId': {
|
|
8508
|
+
type: 'id';
|
|
8509
|
+
isRequired: true;
|
|
8378
8510
|
options: undefined;
|
|
8379
8511
|
};
|
|
8380
8512
|
/** . */
|
|
8381
|
-
'
|
|
8513
|
+
'skillId': {
|
|
8382
8514
|
type: 'id';
|
|
8515
|
+
isRequired: true;
|
|
8383
8516
|
options: undefined;
|
|
8384
8517
|
};
|
|
8385
8518
|
};
|
|
8386
8519
|
}
|
|
8387
|
-
interface
|
|
8520
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
8388
8521
|
}
|
|
8389
8522
|
}
|
|
8390
8523
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8391
|
-
interface
|
|
8524
|
+
interface DidInstallEmitTargetAndPayload {
|
|
8392
8525
|
/** Source. */
|
|
8393
8526
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8394
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.
|
|
8395
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateLocationEmitPayload | undefined | null;
|
|
8527
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
8396
8528
|
}
|
|
8397
|
-
interface
|
|
8398
|
-
id: '
|
|
8529
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8530
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
8399
8531
|
version: 'v2020_12_25';
|
|
8400
8532
|
namespace: 'Mercury';
|
|
8401
8533
|
name: '';
|
|
@@ -8413,50 +8545,34 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8413
8545
|
type: 'schema';
|
|
8414
8546
|
isRequired: true;
|
|
8415
8547
|
options: {
|
|
8416
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8417
|
-
};
|
|
8418
|
-
};
|
|
8419
|
-
/** . */
|
|
8420
|
-
'payload': {
|
|
8421
|
-
type: 'schema';
|
|
8422
|
-
options: {
|
|
8423
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateLocationEmitPayloadSchema;
|
|
8548
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
8424
8549
|
};
|
|
8425
8550
|
};
|
|
8426
8551
|
};
|
|
8427
8552
|
}
|
|
8428
|
-
interface
|
|
8553
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
8429
8554
|
}
|
|
8430
8555
|
}
|
|
8431
8556
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8432
|
-
interface
|
|
8433
|
-
'location': SpruceSchemas.Spruce.v2020_07_22.Location;
|
|
8557
|
+
interface DidInstallResponsePayload {
|
|
8434
8558
|
}
|
|
8435
|
-
interface
|
|
8436
|
-
id: '
|
|
8559
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8560
|
+
id: 'didInstallResponsePayload';
|
|
8437
8561
|
version: 'v2020_12_25';
|
|
8438
8562
|
namespace: 'Mercury';
|
|
8439
8563
|
name: '';
|
|
8440
|
-
fields: {
|
|
8441
|
-
/** . */
|
|
8442
|
-
'location': {
|
|
8443
|
-
type: 'schema';
|
|
8444
|
-
isRequired: true;
|
|
8445
|
-
options: {
|
|
8446
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.LocationSchema;
|
|
8447
|
-
};
|
|
8448
|
-
};
|
|
8449
|
-
};
|
|
8564
|
+
fields: {};
|
|
8450
8565
|
}
|
|
8451
|
-
interface
|
|
8566
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
8452
8567
|
}
|
|
8453
8568
|
}
|
|
8454
8569
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8455
|
-
interface
|
|
8570
|
+
interface DidJoinOrganizationEmitTarget {
|
|
8456
8571
|
'organizationId': string;
|
|
8572
|
+
'locationId'?: string | undefined | null;
|
|
8457
8573
|
}
|
|
8458
|
-
interface
|
|
8459
|
-
id: '
|
|
8574
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
8575
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
8460
8576
|
version: 'v2020_12_25';
|
|
8461
8577
|
namespace: 'Mercury';
|
|
8462
8578
|
name: '';
|
|
@@ -8467,72 +8583,60 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8467
8583
|
isRequired: true;
|
|
8468
8584
|
options: undefined;
|
|
8469
8585
|
};
|
|
8586
|
+
/** . */
|
|
8587
|
+
'locationId': {
|
|
8588
|
+
type: 'id';
|
|
8589
|
+
options: undefined;
|
|
8590
|
+
};
|
|
8470
8591
|
};
|
|
8471
8592
|
}
|
|
8472
|
-
interface
|
|
8593
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
8473
8594
|
}
|
|
8474
8595
|
}
|
|
8475
8596
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8476
|
-
interface
|
|
8477
|
-
|
|
8478
|
-
'
|
|
8479
|
-
|
|
8480
|
-
'address'?: SpruceSchema.AddressFieldValue | undefined | null;
|
|
8481
|
-
/** Public. Is this organization viewable by guests? */
|
|
8482
|
-
'isPublic'?: boolean | undefined | null;
|
|
8483
|
-
'dateCreated'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8484
|
-
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8597
|
+
interface DidJoinOrganizationEmitPayload {
|
|
8598
|
+
'personId': string;
|
|
8599
|
+
'roleId': string;
|
|
8600
|
+
'isFirstRole': boolean;
|
|
8485
8601
|
}
|
|
8486
|
-
interface
|
|
8487
|
-
id: '
|
|
8602
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8603
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
8488
8604
|
version: 'v2020_12_25';
|
|
8489
8605
|
namespace: 'Mercury';
|
|
8490
8606
|
name: '';
|
|
8491
8607
|
fields: {
|
|
8492
|
-
/**
|
|
8493
|
-
'
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
options: undefined;
|
|
8497
|
-
};
|
|
8498
|
-
/** Address. */
|
|
8499
|
-
'address': {
|
|
8500
|
-
label: 'Address';
|
|
8501
|
-
type: 'address';
|
|
8502
|
-
options: undefined;
|
|
8503
|
-
};
|
|
8504
|
-
/** Public. Is this organization viewable by guests? */
|
|
8505
|
-
'isPublic': {
|
|
8506
|
-
label: 'Public';
|
|
8507
|
-
type: 'boolean';
|
|
8508
|
-
hint: 'Is this organization viewable by guests?';
|
|
8509
|
-
defaultValue: false;
|
|
8608
|
+
/** . */
|
|
8609
|
+
'personId': {
|
|
8610
|
+
type: 'id';
|
|
8611
|
+
isRequired: true;
|
|
8510
8612
|
options: undefined;
|
|
8511
8613
|
};
|
|
8512
8614
|
/** . */
|
|
8513
|
-
'
|
|
8514
|
-
type: '
|
|
8615
|
+
'roleId': {
|
|
8616
|
+
type: 'id';
|
|
8617
|
+
isRequired: true;
|
|
8515
8618
|
options: undefined;
|
|
8516
8619
|
};
|
|
8517
8620
|
/** . */
|
|
8518
|
-
'
|
|
8519
|
-
type: '
|
|
8621
|
+
'isFirstRole': {
|
|
8622
|
+
type: 'boolean';
|
|
8623
|
+
isRequired: true;
|
|
8520
8624
|
options: undefined;
|
|
8521
8625
|
};
|
|
8522
8626
|
};
|
|
8523
8627
|
}
|
|
8524
|
-
interface
|
|
8628
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
8525
8629
|
}
|
|
8526
8630
|
}
|
|
8527
8631
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8528
|
-
interface
|
|
8632
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
8529
8633
|
/** Source. */
|
|
8530
8634
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8531
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.
|
|
8532
|
-
'payload'
|
|
8635
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
8636
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
8533
8637
|
}
|
|
8534
|
-
interface
|
|
8535
|
-
id: '
|
|
8638
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8639
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
8536
8640
|
version: 'v2020_12_25';
|
|
8537
8641
|
namespace: 'Mercury';
|
|
8538
8642
|
name: '';
|
|
@@ -8550,185 +8654,153 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8550
8654
|
type: 'schema';
|
|
8551
8655
|
isRequired: true;
|
|
8552
8656
|
options: {
|
|
8553
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8657
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
8554
8658
|
};
|
|
8555
8659
|
};
|
|
8556
8660
|
/** . */
|
|
8557
8661
|
'payload': {
|
|
8558
8662
|
type: 'schema';
|
|
8663
|
+
isRequired: true;
|
|
8559
8664
|
options: {
|
|
8560
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8665
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
8561
8666
|
};
|
|
8562
8667
|
};
|
|
8563
8668
|
};
|
|
8564
8669
|
}
|
|
8565
|
-
interface
|
|
8670
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
8566
8671
|
}
|
|
8567
8672
|
}
|
|
8568
8673
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8569
|
-
interface
|
|
8570
|
-
|
|
8571
|
-
'
|
|
8572
|
-
|
|
8573
|
-
'address'?: SpruceSchema.AddressFieldValue | undefined | null;
|
|
8574
|
-
/** Slug. */
|
|
8575
|
-
'slug'?: string | undefined | null;
|
|
8576
|
-
/** Public. Is this organization viewable by guests? */
|
|
8577
|
-
'isPublic'?: boolean | undefined | null;
|
|
8578
|
-
'dateCreated'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
8579
|
-
'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;
|
|
8580
8678
|
}
|
|
8581
|
-
interface
|
|
8582
|
-
id: '
|
|
8679
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
8680
|
+
id: 'messageTemplateAddons';
|
|
8583
8681
|
version: 'v2020_12_25';
|
|
8584
8682
|
namespace: 'Mercury';
|
|
8585
8683
|
name: '';
|
|
8586
8684
|
fields: {
|
|
8587
|
-
/**
|
|
8588
|
-
'
|
|
8589
|
-
label: 'Name';
|
|
8590
|
-
type: 'text';
|
|
8591
|
-
options: undefined;
|
|
8592
|
-
};
|
|
8593
|
-
/** Address. */
|
|
8594
|
-
'address': {
|
|
8595
|
-
label: 'Address';
|
|
8596
|
-
type: 'address';
|
|
8597
|
-
options: undefined;
|
|
8598
|
-
};
|
|
8599
|
-
/** Slug. */
|
|
8600
|
-
'slug': {
|
|
8601
|
-
label: 'Slug';
|
|
8685
|
+
/** . */
|
|
8686
|
+
'nextINeedYouTo': {
|
|
8602
8687
|
type: 'text';
|
|
8603
|
-
|
|
8604
|
-
};
|
|
8605
|
-
/** Public. Is this organization viewable by guests? */
|
|
8606
|
-
'isPublic': {
|
|
8607
|
-
label: 'Public';
|
|
8608
|
-
type: 'boolean';
|
|
8609
|
-
hint: 'Is this organization viewable by guests?';
|
|
8610
|
-
defaultValue: false;
|
|
8688
|
+
isArray: true;
|
|
8611
8689
|
options: undefined;
|
|
8612
8690
|
};
|
|
8613
8691
|
/** . */
|
|
8614
|
-
'
|
|
8615
|
-
type: '
|
|
8692
|
+
'youShouldKnowThat': {
|
|
8693
|
+
type: 'text';
|
|
8694
|
+
isArray: true;
|
|
8616
8695
|
options: undefined;
|
|
8617
8696
|
};
|
|
8618
8697
|
/** . */
|
|
8619
|
-
'
|
|
8620
|
-
type: '
|
|
8621
|
-
|
|
8698
|
+
'links': {
|
|
8699
|
+
type: 'schema';
|
|
8700
|
+
isArray: true;
|
|
8701
|
+
minArrayLength: 0;
|
|
8702
|
+
options: {
|
|
8703
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
8704
|
+
};
|
|
8622
8705
|
};
|
|
8623
8706
|
};
|
|
8624
8707
|
}
|
|
8625
|
-
interface
|
|
8708
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
8626
8709
|
}
|
|
8627
8710
|
}
|
|
8628
8711
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8629
|
-
interface
|
|
8630
|
-
'
|
|
8712
|
+
interface DidJoinOrganizationResponsePayload {
|
|
8713
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
8631
8714
|
}
|
|
8632
|
-
interface
|
|
8633
|
-
id: '
|
|
8715
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8716
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
8634
8717
|
version: 'v2020_12_25';
|
|
8635
8718
|
namespace: 'Mercury';
|
|
8636
8719
|
name: '';
|
|
8637
8720
|
fields: {
|
|
8638
8721
|
/** . */
|
|
8639
|
-
'
|
|
8722
|
+
'messaging': {
|
|
8640
8723
|
type: 'schema';
|
|
8641
|
-
isRequired: true;
|
|
8642
8724
|
options: {
|
|
8643
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8725
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
8644
8726
|
};
|
|
8645
8727
|
};
|
|
8646
8728
|
};
|
|
8647
8729
|
}
|
|
8648
|
-
interface
|
|
8730
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
8649
8731
|
}
|
|
8650
8732
|
}
|
|
8651
8733
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8652
|
-
interface
|
|
8653
|
-
'
|
|
8734
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
8735
|
+
'organizationId': string;
|
|
8736
|
+
'locationId'?: string | undefined | null;
|
|
8654
8737
|
}
|
|
8655
|
-
interface
|
|
8656
|
-
id: '
|
|
8738
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
8739
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
8657
8740
|
version: 'v2020_12_25';
|
|
8658
8741
|
namespace: 'Mercury';
|
|
8659
8742
|
name: '';
|
|
8660
8743
|
fields: {
|
|
8661
8744
|
/** . */
|
|
8662
|
-
'
|
|
8745
|
+
'organizationId': {
|
|
8746
|
+
type: 'id';
|
|
8747
|
+
isRequired: true;
|
|
8748
|
+
options: undefined;
|
|
8749
|
+
};
|
|
8750
|
+
/** . */
|
|
8751
|
+
'locationId': {
|
|
8663
8752
|
type: 'id';
|
|
8664
8753
|
options: undefined;
|
|
8665
8754
|
};
|
|
8666
8755
|
};
|
|
8667
8756
|
}
|
|
8668
|
-
interface
|
|
8757
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
8669
8758
|
}
|
|
8670
8759
|
}
|
|
8671
8760
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8672
|
-
interface
|
|
8673
|
-
|
|
8674
|
-
'
|
|
8675
|
-
|
|
8676
|
-
'lastName'?: string | undefined | null;
|
|
8677
|
-
/** Avatar src. */
|
|
8678
|
-
'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
|
|
8679
|
-
/** Phone. A number that can be texted */
|
|
8680
|
-
'phone'?: string | undefined | null;
|
|
8761
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
8762
|
+
'personId': string;
|
|
8763
|
+
'roleId': string;
|
|
8764
|
+
'isLastRole': boolean;
|
|
8681
8765
|
}
|
|
8682
|
-
interface
|
|
8683
|
-
id: '
|
|
8766
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8767
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
8684
8768
|
version: 'v2020_12_25';
|
|
8685
8769
|
namespace: 'Mercury';
|
|
8686
8770
|
name: '';
|
|
8687
8771
|
fields: {
|
|
8688
|
-
/**
|
|
8689
|
-
'
|
|
8690
|
-
|
|
8691
|
-
|
|
8692
|
-
isPrivate: true;
|
|
8772
|
+
/** . */
|
|
8773
|
+
'personId': {
|
|
8774
|
+
type: 'id';
|
|
8775
|
+
isRequired: true;
|
|
8693
8776
|
options: undefined;
|
|
8694
8777
|
};
|
|
8695
|
-
/**
|
|
8696
|
-
'
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
isPrivate: true;
|
|
8778
|
+
/** . */
|
|
8779
|
+
'roleId': {
|
|
8780
|
+
type: 'id';
|
|
8781
|
+
isRequired: true;
|
|
8700
8782
|
options: undefined;
|
|
8701
8783
|
};
|
|
8702
|
-
/**
|
|
8703
|
-
'
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
options: {
|
|
8707
|
-
requiredSizes: ["*"];
|
|
8708
|
-
};
|
|
8709
|
-
};
|
|
8710
|
-
/** Phone. A number that can be texted */
|
|
8711
|
-
'phone': {
|
|
8712
|
-
label: 'Phone';
|
|
8713
|
-
type: 'phone';
|
|
8714
|
-
isPrivate: true;
|
|
8715
|
-
hint: 'A number that can be texted';
|
|
8784
|
+
/** . */
|
|
8785
|
+
'isLastRole': {
|
|
8786
|
+
type: 'boolean';
|
|
8787
|
+
isRequired: true;
|
|
8716
8788
|
options: undefined;
|
|
8717
8789
|
};
|
|
8718
8790
|
};
|
|
8719
8791
|
}
|
|
8720
|
-
interface
|
|
8792
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
8721
8793
|
}
|
|
8722
8794
|
}
|
|
8723
8795
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8724
|
-
interface
|
|
8796
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
8725
8797
|
/** Source. */
|
|
8726
8798
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8727
|
-
'target'
|
|
8728
|
-
'payload'
|
|
8799
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
8800
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
8729
8801
|
}
|
|
8730
|
-
interface
|
|
8731
|
-
id: '
|
|
8802
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8803
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
8732
8804
|
version: 'v2020_12_25';
|
|
8733
8805
|
namespace: 'Mercury';
|
|
8734
8806
|
name: '';
|
|
@@ -8744,315 +8816,225 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8744
8816
|
/** . */
|
|
8745
8817
|
'target': {
|
|
8746
8818
|
type: 'schema';
|
|
8819
|
+
isRequired: true;
|
|
8747
8820
|
options: {
|
|
8748
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8821
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
8749
8822
|
};
|
|
8750
8823
|
};
|
|
8751
8824
|
/** . */
|
|
8752
8825
|
'payload': {
|
|
8753
8826
|
type: 'schema';
|
|
8827
|
+
isRequired: true;
|
|
8754
8828
|
options: {
|
|
8755
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8829
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
8756
8830
|
};
|
|
8757
8831
|
};
|
|
8758
8832
|
};
|
|
8759
8833
|
}
|
|
8760
|
-
interface
|
|
8834
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
8761
8835
|
}
|
|
8762
8836
|
}
|
|
8763
8837
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8764
|
-
interface
|
|
8765
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
8838
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
8766
8839
|
}
|
|
8767
|
-
interface
|
|
8768
|
-
id: '
|
|
8840
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8841
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
8769
8842
|
version: 'v2020_12_25';
|
|
8770
8843
|
namespace: 'Mercury';
|
|
8771
8844
|
name: '';
|
|
8772
|
-
fields: {
|
|
8773
|
-
/** . */
|
|
8774
|
-
'person': {
|
|
8775
|
-
type: 'schema';
|
|
8776
|
-
isRequired: true;
|
|
8777
|
-
options: {
|
|
8778
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
8779
|
-
};
|
|
8780
|
-
};
|
|
8781
|
-
};
|
|
8845
|
+
fields: {};
|
|
8782
8846
|
}
|
|
8783
|
-
interface
|
|
8847
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
8784
8848
|
}
|
|
8785
8849
|
}
|
|
8786
8850
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8787
|
-
interface
|
|
8788
|
-
'
|
|
8851
|
+
interface DidMessageEmitPayload {
|
|
8852
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
8853
|
+
'conversationState'?: string | undefined | null;
|
|
8854
|
+
'topic'?: string | undefined | null;
|
|
8789
8855
|
}
|
|
8790
|
-
interface
|
|
8791
|
-
id: '
|
|
8856
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8857
|
+
id: 'didMessageEmitPayload';
|
|
8792
8858
|
version: 'v2020_12_25';
|
|
8793
8859
|
namespace: 'Mercury';
|
|
8794
8860
|
name: '';
|
|
8795
8861
|
fields: {
|
|
8796
8862
|
/** . */
|
|
8797
|
-
'
|
|
8798
|
-
type: '
|
|
8863
|
+
'message': {
|
|
8864
|
+
type: 'schema';
|
|
8799
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';
|
|
8800
8878
|
options: undefined;
|
|
8801
8879
|
};
|
|
8802
8880
|
};
|
|
8803
8881
|
}
|
|
8804
|
-
interface
|
|
8882
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
8805
8883
|
}
|
|
8806
8884
|
}
|
|
8807
8885
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8808
|
-
interface
|
|
8809
|
-
|
|
8810
|
-
'
|
|
8811
|
-
|
|
8812
|
-
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
8813
|
-
/** Description. */
|
|
8814
|
-
'description'?: string | undefined | null;
|
|
8815
|
-
'dateDeleted'?: number | undefined | null;
|
|
8816
|
-
'organizationId'?: string | undefined | null;
|
|
8817
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
8818
|
-
'isPublic'?: boolean | undefined | null;
|
|
8886
|
+
interface ConversationTopic {
|
|
8887
|
+
'key': string;
|
|
8888
|
+
'confidence': number;
|
|
8889
|
+
'label': string;
|
|
8819
8890
|
}
|
|
8820
|
-
interface
|
|
8821
|
-
id: '
|
|
8891
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
8892
|
+
id: 'conversationTopic';
|
|
8822
8893
|
version: 'v2020_12_25';
|
|
8823
8894
|
namespace: 'Mercury';
|
|
8824
8895
|
name: '';
|
|
8825
8896
|
fields: {
|
|
8826
|
-
/**
|
|
8827
|
-
'
|
|
8828
|
-
label: 'Name';
|
|
8829
|
-
type: 'text';
|
|
8830
|
-
options: undefined;
|
|
8831
|
-
};
|
|
8832
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
8833
|
-
'base': {
|
|
8834
|
-
label: 'Base';
|
|
8835
|
-
type: 'select';
|
|
8836
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
8837
|
-
options: {
|
|
8838
|
-
choices: [{
|
|
8839
|
-
"label": "Owner";
|
|
8840
|
-
"value": "owner";
|
|
8841
|
-
}, {
|
|
8842
|
-
"label": "Group manager";
|
|
8843
|
-
"value": "groupManager";
|
|
8844
|
-
}, {
|
|
8845
|
-
"label": "Manager";
|
|
8846
|
-
"value": "manager";
|
|
8847
|
-
}, {
|
|
8848
|
-
"label": "Teammate";
|
|
8849
|
-
"value": "teammate";
|
|
8850
|
-
}, {
|
|
8851
|
-
"label": "Anonymous";
|
|
8852
|
-
"value": "anonymous";
|
|
8853
|
-
}, {
|
|
8854
|
-
"label": "Logged in";
|
|
8855
|
-
"value": "loggedIn";
|
|
8856
|
-
}, {
|
|
8857
|
-
"label": "Guest";
|
|
8858
|
-
"value": "guest";
|
|
8859
|
-
}];
|
|
8860
|
-
};
|
|
8861
|
-
};
|
|
8862
|
-
/** Description. */
|
|
8863
|
-
'description': {
|
|
8864
|
-
label: 'Description';
|
|
8897
|
+
/** . */
|
|
8898
|
+
'key': {
|
|
8865
8899
|
type: 'text';
|
|
8900
|
+
isRequired: true;
|
|
8866
8901
|
options: undefined;
|
|
8867
8902
|
};
|
|
8868
8903
|
/** . */
|
|
8869
|
-
'
|
|
8904
|
+
'confidence': {
|
|
8870
8905
|
type: 'number';
|
|
8906
|
+
isRequired: true;
|
|
8871
8907
|
options: undefined;
|
|
8872
8908
|
};
|
|
8873
8909
|
/** . */
|
|
8874
|
-
'
|
|
8875
|
-
type: '
|
|
8876
|
-
|
|
8877
|
-
};
|
|
8878
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
8879
|
-
'isPublic': {
|
|
8880
|
-
label: 'Public';
|
|
8881
|
-
type: 'boolean';
|
|
8882
|
-
hint: 'Should I let people that are not part of this organization this role?';
|
|
8910
|
+
'label': {
|
|
8911
|
+
type: 'text';
|
|
8912
|
+
isRequired: true;
|
|
8883
8913
|
options: undefined;
|
|
8884
8914
|
};
|
|
8885
8915
|
};
|
|
8886
8916
|
}
|
|
8887
|
-
interface
|
|
8917
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
8888
8918
|
}
|
|
8889
8919
|
}
|
|
8890
8920
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8891
|
-
interface
|
|
8892
|
-
|
|
8893
|
-
'
|
|
8894
|
-
'
|
|
8895
|
-
'
|
|
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;
|
|
8896
8927
|
}
|
|
8897
|
-
interface
|
|
8898
|
-
id: '
|
|
8928
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8929
|
+
id: 'didMessageResponsePayload';
|
|
8899
8930
|
version: 'v2020_12_25';
|
|
8900
8931
|
namespace: 'Mercury';
|
|
8901
8932
|
name: '';
|
|
8902
8933
|
fields: {
|
|
8903
|
-
/**
|
|
8904
|
-
'
|
|
8905
|
-
|
|
8906
|
-
type: 'schema';
|
|
8934
|
+
/** . */
|
|
8935
|
+
'transitionConversationTo': {
|
|
8936
|
+
type: 'select';
|
|
8907
8937
|
options: {
|
|
8908
|
-
|
|
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
|
+
}];
|
|
8909
8951
|
};
|
|
8910
8952
|
};
|
|
8911
8953
|
/** . */
|
|
8912
|
-
'
|
|
8913
|
-
type: '
|
|
8914
|
-
|
|
8915
|
-
options:
|
|
8916
|
-
|
|
8917
|
-
|
|
8954
|
+
'repairs': {
|
|
8955
|
+
type: 'text';
|
|
8956
|
+
isArray: true;
|
|
8957
|
+
options: undefined;
|
|
8958
|
+
};
|
|
8959
|
+
/** . */
|
|
8960
|
+
'topicChangers': {
|
|
8961
|
+
type: 'text';
|
|
8962
|
+
isArray: true;
|
|
8963
|
+
options: undefined;
|
|
8918
8964
|
};
|
|
8919
8965
|
/** . */
|
|
8920
|
-
'
|
|
8966
|
+
'utterance': {
|
|
8967
|
+
type: 'text';
|
|
8968
|
+
options: undefined;
|
|
8969
|
+
};
|
|
8970
|
+
/** . */
|
|
8971
|
+
'suggestedTopics': {
|
|
8921
8972
|
type: 'schema';
|
|
8973
|
+
isArray: true;
|
|
8922
8974
|
options: {
|
|
8923
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
8975
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
8924
8976
|
};
|
|
8925
8977
|
};
|
|
8926
8978
|
};
|
|
8927
8979
|
}
|
|
8928
|
-
interface
|
|
8980
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
8929
8981
|
}
|
|
8930
8982
|
}
|
|
8931
8983
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8932
|
-
interface
|
|
8933
|
-
'
|
|
8984
|
+
interface DidSignupEmitPayload {
|
|
8985
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
8934
8986
|
}
|
|
8935
|
-
interface
|
|
8936
|
-
id: '
|
|
8987
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8988
|
+
id: 'didSignupEmitPayload';
|
|
8937
8989
|
version: 'v2020_12_25';
|
|
8938
8990
|
namespace: 'Mercury';
|
|
8939
8991
|
name: '';
|
|
8940
8992
|
fields: {
|
|
8941
8993
|
/** . */
|
|
8942
|
-
'
|
|
8994
|
+
'person': {
|
|
8943
8995
|
type: 'schema';
|
|
8944
8996
|
isRequired: true;
|
|
8945
8997
|
options: {
|
|
8946
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
8998
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
8947
8999
|
};
|
|
8948
9000
|
};
|
|
8949
9001
|
};
|
|
8950
9002
|
}
|
|
8951
|
-
interface
|
|
8952
|
-
}
|
|
8953
|
-
}
|
|
8954
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8955
|
-
interface UpsertPermissionContractEmitTarget {
|
|
8956
|
-
'organizationId': string;
|
|
8957
|
-
'permissionContractId': string;
|
|
8958
|
-
'roleId': string;
|
|
8959
|
-
'skillId'?: string | undefined | null;
|
|
8960
|
-
}
|
|
8961
|
-
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
8962
|
-
id: 'upsertPermissionContractEmitTarget';
|
|
8963
|
-
version: 'v2020_12_25';
|
|
8964
|
-
namespace: 'Mercury';
|
|
8965
|
-
name: '';
|
|
8966
|
-
fields: {
|
|
8967
|
-
/** . */
|
|
8968
|
-
'organizationId': {
|
|
8969
|
-
type: 'id';
|
|
8970
|
-
isRequired: true;
|
|
8971
|
-
options: undefined;
|
|
8972
|
-
};
|
|
8973
|
-
/** . */
|
|
8974
|
-
'permissionContractId': {
|
|
8975
|
-
type: 'id';
|
|
8976
|
-
isRequired: true;
|
|
8977
|
-
options: undefined;
|
|
8978
|
-
};
|
|
8979
|
-
/** . */
|
|
8980
|
-
'roleId': {
|
|
8981
|
-
type: 'id';
|
|
8982
|
-
isRequired: true;
|
|
8983
|
-
options: undefined;
|
|
8984
|
-
};
|
|
8985
|
-
/** . */
|
|
8986
|
-
'skillId': {
|
|
8987
|
-
type: 'id';
|
|
8988
|
-
options: undefined;
|
|
8989
|
-
};
|
|
8990
|
-
};
|
|
8991
|
-
}
|
|
8992
|
-
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
9003
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
8993
9004
|
}
|
|
8994
9005
|
}
|
|
8995
9006
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8996
|
-
interface
|
|
8997
|
-
|
|
8998
|
-
'name': string;
|
|
8999
|
-
/** Description. */
|
|
9000
|
-
'description'?: string | undefined | null;
|
|
9001
|
-
/** Require all permissions. */
|
|
9002
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
9003
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
9007
|
+
interface DidUpdateFeedEmitPayload {
|
|
9008
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
9004
9009
|
}
|
|
9005
|
-
interface
|
|
9006
|
-
id: '
|
|
9010
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9011
|
+
id: 'didUpdateFeedEmitPayload';
|
|
9007
9012
|
version: 'v2020_12_25';
|
|
9008
9013
|
namespace: 'Mercury';
|
|
9009
9014
|
name: '';
|
|
9010
9015
|
fields: {
|
|
9011
|
-
/** Name. Human readable name for this contract */
|
|
9012
|
-
'name': {
|
|
9013
|
-
label: 'Name';
|
|
9014
|
-
type: 'text';
|
|
9015
|
-
isRequired: true;
|
|
9016
|
-
hint: 'Human readable name for this contract';
|
|
9017
|
-
options: undefined;
|
|
9018
|
-
};
|
|
9019
|
-
/** Description. */
|
|
9020
|
-
'description': {
|
|
9021
|
-
label: 'Description';
|
|
9022
|
-
type: 'text';
|
|
9023
|
-
options: undefined;
|
|
9024
|
-
};
|
|
9025
|
-
/** Require all permissions. */
|
|
9026
|
-
'requireAllPermissions': {
|
|
9027
|
-
label: 'Require all permissions';
|
|
9028
|
-
type: 'boolean';
|
|
9029
|
-
defaultValue: false;
|
|
9030
|
-
options: undefined;
|
|
9031
|
-
};
|
|
9032
9016
|
/** . */
|
|
9033
|
-
'
|
|
9017
|
+
'item': {
|
|
9034
9018
|
type: 'schema';
|
|
9035
9019
|
isRequired: true;
|
|
9036
|
-
isArray: true;
|
|
9037
|
-
minArrayLength: 0;
|
|
9038
9020
|
options: {
|
|
9039
|
-
schema: SpruceSchemas.
|
|
9021
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
9040
9022
|
};
|
|
9041
9023
|
};
|
|
9042
9024
|
};
|
|
9043
9025
|
}
|
|
9044
|
-
interface
|
|
9026
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
9045
9027
|
}
|
|
9046
9028
|
}
|
|
9047
9029
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9048
|
-
interface
|
|
9030
|
+
interface DidMessageEmitTargetAndPayload {
|
|
9049
9031
|
/** Source. */
|
|
9050
9032
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9051
|
-
'target'
|
|
9052
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
9033
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
9034
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
9053
9035
|
}
|
|
9054
|
-
interface
|
|
9055
|
-
id: '
|
|
9036
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9037
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
9056
9038
|
version: 'v2020_12_25';
|
|
9057
9039
|
namespace: 'Mercury';
|
|
9058
9040
|
name: '';
|
|
@@ -9068,9 +9050,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9068
9050
|
/** . */
|
|
9069
9051
|
'target': {
|
|
9070
9052
|
type: 'schema';
|
|
9071
|
-
isRequired: true;
|
|
9072
9053
|
options: {
|
|
9073
|
-
schema: SpruceSchemas.
|
|
9054
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
9074
9055
|
};
|
|
9075
9056
|
};
|
|
9076
9057
|
/** . */
|
|
@@ -9078,73 +9059,64 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9078
9059
|
type: 'schema';
|
|
9079
9060
|
isRequired: true;
|
|
9080
9061
|
options: {
|
|
9081
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
9062
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
9082
9063
|
};
|
|
9083
9064
|
};
|
|
9084
9065
|
};
|
|
9085
9066
|
}
|
|
9086
|
-
interface
|
|
9067
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
9087
9068
|
}
|
|
9088
9069
|
}
|
|
9089
9070
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9090
|
-
interface
|
|
9091
|
-
|
|
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;
|
|
9092
9076
|
}
|
|
9093
|
-
interface
|
|
9094
|
-
id: '
|
|
9077
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9078
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
9095
9079
|
version: 'v2020_12_25';
|
|
9096
9080
|
namespace: 'Mercury';
|
|
9097
9081
|
name: '';
|
|
9098
9082
|
fields: {
|
|
9099
|
-
/** . */
|
|
9100
|
-
'
|
|
9083
|
+
/** Source. */
|
|
9084
|
+
'source': {
|
|
9085
|
+
label: 'Source';
|
|
9101
9086
|
type: 'schema';
|
|
9102
|
-
isRequired: true;
|
|
9103
9087
|
options: {
|
|
9104
|
-
schema: SpruceSchemas.
|
|
9088
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9105
9089
|
};
|
|
9106
9090
|
};
|
|
9107
|
-
};
|
|
9108
|
-
}
|
|
9109
|
-
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
9110
|
-
}
|
|
9111
|
-
}
|
|
9112
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9113
|
-
interface VoteForFeatureEmitPayload {
|
|
9114
|
-
'featureKey': string;
|
|
9115
|
-
'skillNamespace': string;
|
|
9116
|
-
}
|
|
9117
|
-
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9118
|
-
id: 'voteForFeatureEmitPayload';
|
|
9119
|
-
version: 'v2020_12_25';
|
|
9120
|
-
namespace: 'Mercury';
|
|
9121
|
-
name: '';
|
|
9122
|
-
fields: {
|
|
9123
9091
|
/** . */
|
|
9124
|
-
'
|
|
9125
|
-
type: '
|
|
9126
|
-
|
|
9127
|
-
|
|
9092
|
+
'target': {
|
|
9093
|
+
type: 'schema';
|
|
9094
|
+
options: {
|
|
9095
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
9096
|
+
};
|
|
9128
9097
|
};
|
|
9129
9098
|
/** . */
|
|
9130
|
-
'
|
|
9131
|
-
type: '
|
|
9099
|
+
'payload': {
|
|
9100
|
+
type: 'schema';
|
|
9132
9101
|
isRequired: true;
|
|
9133
|
-
options:
|
|
9102
|
+
options: {
|
|
9103
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
9104
|
+
};
|
|
9134
9105
|
};
|
|
9135
9106
|
};
|
|
9136
9107
|
}
|
|
9137
|
-
interface
|
|
9108
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
9138
9109
|
}
|
|
9139
9110
|
}
|
|
9140
9111
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9141
|
-
interface
|
|
9112
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
9142
9113
|
/** Source. */
|
|
9143
9114
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
9144
|
-
'
|
|
9115
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
9116
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
9145
9117
|
}
|
|
9146
|
-
interface
|
|
9147
|
-
id: '
|
|
9118
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9119
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
9148
9120
|
version: 'v2020_12_25';
|
|
9149
9121
|
namespace: 'Mercury';
|
|
9150
9122
|
name: '';
|
|
@@ -9158,46 +9130,57 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9158
9130
|
};
|
|
9159
9131
|
};
|
|
9160
9132
|
/** . */
|
|
9133
|
+
'target': {
|
|
9134
|
+
type: 'schema';
|
|
9135
|
+
options: {
|
|
9136
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
9137
|
+
};
|
|
9138
|
+
};
|
|
9139
|
+
/** . */
|
|
9161
9140
|
'payload': {
|
|
9162
9141
|
type: 'schema';
|
|
9163
9142
|
isRequired: true;
|
|
9164
9143
|
options: {
|
|
9165
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
9144
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
9166
9145
|
};
|
|
9167
9146
|
};
|
|
9168
9147
|
};
|
|
9169
9148
|
}
|
|
9170
|
-
interface
|
|
9149
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
9171
9150
|
}
|
|
9172
9151
|
}
|
|
9173
9152
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9174
|
-
interface
|
|
9175
|
-
'
|
|
9153
|
+
interface DidUpdatePersonEmitPayload {
|
|
9154
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
9176
9155
|
}
|
|
9177
|
-
interface
|
|
9178
|
-
id: '
|
|
9156
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
9157
|
+
id: 'didUpdatePersonEmitPayload';
|
|
9179
9158
|
version: 'v2020_12_25';
|
|
9180
9159
|
namespace: 'Mercury';
|
|
9181
9160
|
name: '';
|
|
9182
9161
|
fields: {
|
|
9183
9162
|
/** . */
|
|
9184
|
-
'
|
|
9185
|
-
type: '
|
|
9163
|
+
'person': {
|
|
9164
|
+
type: 'schema';
|
|
9186
9165
|
isRequired: true;
|
|
9187
|
-
options:
|
|
9166
|
+
options: {
|
|
9167
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
9168
|
+
};
|
|
9188
9169
|
};
|
|
9189
9170
|
};
|
|
9190
9171
|
}
|
|
9191
|
-
interface
|
|
9172
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
9192
9173
|
}
|
|
9193
9174
|
}
|
|
9194
9175
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9195
|
-
interface
|
|
9176
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
9196
9177
|
/** Source. */
|
|
9197
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;
|
|
9198
9181
|
}
|
|
9199
|
-
interface
|
|
9200
|
-
id: '
|
|
9182
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
9183
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
9201
9184
|
version: 'v2020_12_25';
|
|
9202
9185
|
namespace: 'Mercury';
|
|
9203
9186
|
name: '';
|
|
@@ -9210,9 +9193,24 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
9210
9193
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
9211
9194
|
};
|
|
9212
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
|
+
};
|
|
9213
9211
|
};
|
|
9214
9212
|
}
|
|
9215
|
-
interface
|
|
9213
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
9216
9214
|
}
|
|
9217
9215
|
}
|
|
9218
9216
|
}
|