@sprucelabs/mercury-core-events 20.0.9 → 20.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/.spruce/schemas/schemas.types.d.ts +1663 -1663
- package/build/esm/.spruce/schemas/schemas.types.d.ts +1663 -1663
- package/package.json +1 -1
|
@@ -5,14 +5,41 @@ 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
|
|
8
|
+
interface DidInstallEmitTarget {
|
|
9
|
+
'organizationId': string;
|
|
10
|
+
'skillId': string;
|
|
11
|
+
}
|
|
12
|
+
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
13
|
+
id: 'didInstallEmitTarget';
|
|
14
|
+
version: 'v2020_12_25';
|
|
15
|
+
namespace: 'Mercury';
|
|
16
|
+
name: '';
|
|
17
|
+
fields: {
|
|
18
|
+
/** . */
|
|
19
|
+
'organizationId': {
|
|
20
|
+
type: 'id';
|
|
21
|
+
isRequired: true;
|
|
22
|
+
options: undefined;
|
|
23
|
+
};
|
|
24
|
+
/** . */
|
|
25
|
+
'skillId': {
|
|
26
|
+
type: 'id';
|
|
27
|
+
isRequired: true;
|
|
28
|
+
options: undefined;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
36
|
+
interface DidInstallEmitTargetAndPayload {
|
|
9
37
|
/** Source. */
|
|
10
38
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11
|
-
'target'
|
|
12
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayload | undefined | null;
|
|
39
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
13
40
|
}
|
|
14
|
-
interface
|
|
15
|
-
id: '
|
|
41
|
+
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
42
|
+
id: 'didInstallEmitTargetAndPayload';
|
|
16
43
|
version: 'v2020_12_25';
|
|
17
44
|
namespace: 'Mercury';
|
|
18
45
|
name: '';
|
|
@@ -28,29 +55,36 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
28
55
|
/** . */
|
|
29
56
|
'target': {
|
|
30
57
|
type: 'schema';
|
|
58
|
+
isRequired: true;
|
|
31
59
|
options: {
|
|
32
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
/** . */
|
|
36
|
-
'payload': {
|
|
37
|
-
type: 'schema';
|
|
38
|
-
options: {
|
|
39
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema;
|
|
60
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
40
61
|
};
|
|
41
62
|
};
|
|
42
63
|
};
|
|
43
64
|
}
|
|
44
|
-
interface
|
|
65
|
+
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
45
66
|
}
|
|
46
67
|
}
|
|
47
68
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
48
|
-
interface
|
|
49
|
-
|
|
69
|
+
interface DidInstallResponsePayload {
|
|
70
|
+
}
|
|
71
|
+
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
72
|
+
id: 'didInstallResponsePayload';
|
|
73
|
+
version: 'v2020_12_25';
|
|
74
|
+
namespace: 'Mercury';
|
|
75
|
+
name: '';
|
|
76
|
+
fields: {};
|
|
77
|
+
}
|
|
78
|
+
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
82
|
+
interface DidJoinOrganizationEmitTarget {
|
|
83
|
+
'organizationId': string;
|
|
50
84
|
'locationId'?: string | undefined | null;
|
|
51
85
|
}
|
|
52
|
-
interface
|
|
53
|
-
id: '
|
|
86
|
+
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
87
|
+
id: 'didJoinOrganizationEmitTarget';
|
|
54
88
|
version: 'v2020_12_25';
|
|
55
89
|
namespace: 'Mercury';
|
|
56
90
|
name: '';
|
|
@@ -58,6 +92,7 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
58
92
|
/** . */
|
|
59
93
|
'organizationId': {
|
|
60
94
|
type: 'id';
|
|
95
|
+
isRequired: true;
|
|
61
96
|
options: undefined;
|
|
62
97
|
};
|
|
63
98
|
/** . */
|
|
@@ -67,16 +102,17 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
67
102
|
};
|
|
68
103
|
};
|
|
69
104
|
}
|
|
70
|
-
interface
|
|
105
|
+
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
71
106
|
}
|
|
72
107
|
}
|
|
73
108
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
74
|
-
interface
|
|
109
|
+
interface DidJoinOrganizationEmitPayload {
|
|
75
110
|
'personId': string;
|
|
76
111
|
'roleId': string;
|
|
112
|
+
'isFirstRole': boolean;
|
|
77
113
|
}
|
|
78
|
-
interface
|
|
79
|
-
id: '
|
|
114
|
+
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
115
|
+
id: 'didJoinOrganizationEmitPayload';
|
|
80
116
|
version: 'v2020_12_25';
|
|
81
117
|
namespace: 'Mercury';
|
|
82
118
|
name: '';
|
|
@@ -93,20 +129,26 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
93
129
|
isRequired: true;
|
|
94
130
|
options: undefined;
|
|
95
131
|
};
|
|
132
|
+
/** . */
|
|
133
|
+
'isFirstRole': {
|
|
134
|
+
type: 'boolean';
|
|
135
|
+
isRequired: true;
|
|
136
|
+
options: undefined;
|
|
137
|
+
};
|
|
96
138
|
};
|
|
97
139
|
}
|
|
98
|
-
interface
|
|
140
|
+
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
99
141
|
}
|
|
100
142
|
}
|
|
101
143
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
102
|
-
interface
|
|
144
|
+
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
103
145
|
/** Source. */
|
|
104
146
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
105
|
-
'target'
|
|
106
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
147
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
148
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
107
149
|
}
|
|
108
|
-
interface
|
|
109
|
-
id: '
|
|
150
|
+
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
151
|
+
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
110
152
|
version: 'v2020_12_25';
|
|
111
153
|
namespace: 'Mercury';
|
|
112
154
|
name: '';
|
|
@@ -122,8 +164,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
122
164
|
/** . */
|
|
123
165
|
'target': {
|
|
124
166
|
type: 'schema';
|
|
167
|
+
isRequired: true;
|
|
125
168
|
options: {
|
|
126
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
169
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
127
170
|
};
|
|
128
171
|
};
|
|
129
172
|
/** . */
|
|
@@ -131,238 +174,235 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
131
174
|
type: 'schema';
|
|
132
175
|
isRequired: true;
|
|
133
176
|
options: {
|
|
134
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
177
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
135
178
|
};
|
|
136
179
|
};
|
|
137
180
|
};
|
|
138
181
|
}
|
|
139
|
-
interface
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
143
|
-
interface AddRoleResponsePayload {
|
|
144
|
-
}
|
|
145
|
-
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
146
|
-
id: 'addRoleResponsePayload';
|
|
147
|
-
version: 'v2020_12_25';
|
|
148
|
-
namespace: 'Mercury';
|
|
149
|
-
name: '';
|
|
150
|
-
fields: {};
|
|
151
|
-
}
|
|
152
|
-
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
182
|
+
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
153
183
|
}
|
|
154
184
|
}
|
|
155
185
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
156
|
-
interface
|
|
157
|
-
'
|
|
158
|
-
'
|
|
159
|
-
'
|
|
186
|
+
interface MessageTemplateAddons {
|
|
187
|
+
'nextINeedYouTo'?: string[] | undefined | null;
|
|
188
|
+
'youShouldKnowThat'?: string[] | undefined | null;
|
|
189
|
+
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
160
190
|
}
|
|
161
|
-
interface
|
|
162
|
-
id: '
|
|
191
|
+
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
192
|
+
id: 'messageTemplateAddons';
|
|
163
193
|
version: 'v2020_12_25';
|
|
164
194
|
namespace: 'Mercury';
|
|
165
195
|
name: '';
|
|
166
196
|
fields: {
|
|
167
197
|
/** . */
|
|
168
|
-
'
|
|
198
|
+
'nextINeedYouTo': {
|
|
169
199
|
type: 'text';
|
|
200
|
+
isArray: true;
|
|
170
201
|
options: undefined;
|
|
171
202
|
};
|
|
172
203
|
/** . */
|
|
173
|
-
'
|
|
204
|
+
'youShouldKnowThat': {
|
|
174
205
|
type: 'text';
|
|
206
|
+
isArray: true;
|
|
175
207
|
options: undefined;
|
|
176
208
|
};
|
|
177
209
|
/** . */
|
|
178
|
-
'
|
|
179
|
-
type: '
|
|
180
|
-
|
|
210
|
+
'links': {
|
|
211
|
+
type: 'schema';
|
|
212
|
+
isArray: true;
|
|
213
|
+
minArrayLength: 0;
|
|
214
|
+
options: {
|
|
215
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
216
|
+
};
|
|
181
217
|
};
|
|
182
218
|
};
|
|
183
219
|
}
|
|
184
|
-
interface
|
|
220
|
+
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
185
221
|
}
|
|
186
222
|
}
|
|
187
223
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
188
|
-
interface
|
|
189
|
-
|
|
190
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
191
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
224
|
+
interface DidJoinOrganizationResponsePayload {
|
|
225
|
+
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
192
226
|
}
|
|
193
|
-
interface
|
|
194
|
-
id: '
|
|
227
|
+
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
228
|
+
id: 'didJoinOrganizationResponsePayload';
|
|
195
229
|
version: 'v2020_12_25';
|
|
196
230
|
namespace: 'Mercury';
|
|
197
231
|
name: '';
|
|
198
232
|
fields: {
|
|
199
|
-
/** Source. */
|
|
200
|
-
'source': {
|
|
201
|
-
label: 'Source';
|
|
202
|
-
type: 'schema';
|
|
203
|
-
options: {
|
|
204
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
233
|
/** . */
|
|
208
|
-
'
|
|
234
|
+
'messaging': {
|
|
209
235
|
type: 'schema';
|
|
210
236
|
options: {
|
|
211
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
237
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
212
238
|
};
|
|
213
239
|
};
|
|
214
240
|
};
|
|
215
241
|
}
|
|
216
|
-
interface
|
|
242
|
+
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
217
243
|
}
|
|
218
244
|
}
|
|
219
245
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
220
|
-
interface
|
|
221
|
-
'
|
|
222
|
-
'
|
|
246
|
+
interface DidLeaveOrganizationEmitTarget {
|
|
247
|
+
'organizationId': string;
|
|
248
|
+
'locationId'?: string | undefined | null;
|
|
223
249
|
}
|
|
224
|
-
interface
|
|
225
|
-
id: '
|
|
250
|
+
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
251
|
+
id: 'didLeaveOrganizationEmitTarget';
|
|
226
252
|
version: 'v2020_12_25';
|
|
227
253
|
namespace: 'Mercury';
|
|
228
254
|
name: '';
|
|
229
255
|
fields: {
|
|
230
256
|
/** . */
|
|
231
|
-
'
|
|
232
|
-
type: '
|
|
257
|
+
'organizationId': {
|
|
258
|
+
type: 'id';
|
|
233
259
|
isRequired: true;
|
|
234
|
-
options:
|
|
235
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
236
|
-
};
|
|
260
|
+
options: undefined;
|
|
237
261
|
};
|
|
238
262
|
/** . */
|
|
239
|
-
'
|
|
240
|
-
type: '
|
|
241
|
-
isRequired: true;
|
|
263
|
+
'locationId': {
|
|
264
|
+
type: 'id';
|
|
242
265
|
options: undefined;
|
|
243
266
|
};
|
|
244
267
|
};
|
|
245
268
|
}
|
|
246
|
-
interface
|
|
269
|
+
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
247
270
|
}
|
|
248
271
|
}
|
|
249
272
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
250
|
-
interface
|
|
251
|
-
'
|
|
252
|
-
'
|
|
273
|
+
interface DidLeaveOrganizationEmitPayload {
|
|
274
|
+
'personId': string;
|
|
275
|
+
'roleId': string;
|
|
276
|
+
'isLastRole': boolean;
|
|
253
277
|
}
|
|
254
|
-
interface
|
|
255
|
-
id: '
|
|
278
|
+
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
279
|
+
id: 'didLeaveOrganizationEmitPayload';
|
|
256
280
|
version: 'v2020_12_25';
|
|
257
281
|
namespace: 'Mercury';
|
|
258
282
|
name: '';
|
|
259
283
|
fields: {
|
|
260
284
|
/** . */
|
|
261
|
-
'
|
|
262
|
-
type: '
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
};
|
|
285
|
+
'personId': {
|
|
286
|
+
type: 'id';
|
|
287
|
+
isRequired: true;
|
|
288
|
+
options: undefined;
|
|
266
289
|
};
|
|
267
290
|
/** . */
|
|
268
|
-
'
|
|
269
|
-
type: '
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
291
|
+
'roleId': {
|
|
292
|
+
type: 'id';
|
|
293
|
+
isRequired: true;
|
|
294
|
+
options: undefined;
|
|
295
|
+
};
|
|
296
|
+
/** . */
|
|
297
|
+
'isLastRole': {
|
|
298
|
+
type: 'boolean';
|
|
299
|
+
isRequired: true;
|
|
300
|
+
options: undefined;
|
|
273
301
|
};
|
|
274
302
|
};
|
|
275
303
|
}
|
|
276
|
-
interface
|
|
304
|
+
interface DidLeaveOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema> {
|
|
277
305
|
}
|
|
278
306
|
}
|
|
279
307
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
280
|
-
interface
|
|
281
|
-
|
|
282
|
-
'
|
|
308
|
+
interface DidLeaveOrganizationEmitTargetAndPayload {
|
|
309
|
+
/** Source. */
|
|
310
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
311
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTarget;
|
|
312
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayload;
|
|
283
313
|
}
|
|
284
|
-
interface
|
|
285
|
-
id: '
|
|
314
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
315
|
+
id: 'didLeaveOrganizationEmitTargetAndPayload';
|
|
286
316
|
version: 'v2020_12_25';
|
|
287
317
|
namespace: 'Mercury';
|
|
288
318
|
name: '';
|
|
289
319
|
fields: {
|
|
290
|
-
/** . */
|
|
291
|
-
'
|
|
292
|
-
|
|
293
|
-
|
|
320
|
+
/** Source. */
|
|
321
|
+
'source': {
|
|
322
|
+
label: 'Source';
|
|
323
|
+
type: 'schema';
|
|
294
324
|
options: {
|
|
295
|
-
|
|
296
|
-
"value": "authenticated";
|
|
297
|
-
"label": "Authenticated";
|
|
298
|
-
}, {
|
|
299
|
-
"value": "anonymous";
|
|
300
|
-
"label": "Anonymous";
|
|
301
|
-
}];
|
|
325
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
302
326
|
};
|
|
303
327
|
};
|
|
304
328
|
/** . */
|
|
305
|
-
'
|
|
329
|
+
'target': {
|
|
306
330
|
type: 'schema';
|
|
307
331
|
isRequired: true;
|
|
308
332
|
options: {
|
|
309
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
333
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
/** . */
|
|
337
|
+
'payload': {
|
|
338
|
+
type: 'schema';
|
|
339
|
+
isRequired: true;
|
|
340
|
+
options: {
|
|
341
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitPayloadSchema;
|
|
310
342
|
};
|
|
311
343
|
};
|
|
312
344
|
};
|
|
313
345
|
}
|
|
314
|
-
interface
|
|
346
|
+
interface DidLeaveOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetAndPayloadSchema> {
|
|
315
347
|
}
|
|
316
348
|
}
|
|
317
349
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
318
|
-
interface
|
|
319
|
-
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
320
|
-
'fullyQualifiedEventName': string;
|
|
350
|
+
interface DidLeaveOrganizationResponsePayload {
|
|
321
351
|
}
|
|
322
|
-
interface
|
|
323
|
-
id: '
|
|
352
|
+
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
353
|
+
id: 'didLeaveOrganizationResponsePayload';
|
|
354
|
+
version: 'v2020_12_25';
|
|
355
|
+
namespace: 'Mercury';
|
|
356
|
+
name: '';
|
|
357
|
+
fields: {};
|
|
358
|
+
}
|
|
359
|
+
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
363
|
+
interface DidMessageEmitPayload {
|
|
364
|
+
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
365
|
+
'conversationState'?: string | undefined | null;
|
|
366
|
+
'topic'?: string | undefined | null;
|
|
367
|
+
}
|
|
368
|
+
interface DidMessageEmitPayloadSchema extends SpruceSchema.Schema {
|
|
369
|
+
id: 'didMessageEmitPayload';
|
|
324
370
|
version: 'v2020_12_25';
|
|
325
371
|
namespace: 'Mercury';
|
|
326
372
|
name: '';
|
|
327
373
|
fields: {
|
|
328
374
|
/** . */
|
|
329
|
-
'
|
|
330
|
-
type: '
|
|
375
|
+
'message': {
|
|
376
|
+
type: 'schema';
|
|
377
|
+
isRequired: true;
|
|
331
378
|
options: {
|
|
332
|
-
|
|
333
|
-
"label": "Clocked in";
|
|
334
|
-
"value": "clockedIn";
|
|
335
|
-
}, {
|
|
336
|
-
"label": "Clocked out";
|
|
337
|
-
"value": "clockedOut";
|
|
338
|
-
}, {
|
|
339
|
-
"label": "On premises";
|
|
340
|
-
"value": "onPrem";
|
|
341
|
-
}, {
|
|
342
|
-
"label": "Off premises";
|
|
343
|
-
"value": "offPrem";
|
|
344
|
-
}];
|
|
379
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageSchema;
|
|
345
380
|
};
|
|
346
381
|
};
|
|
347
382
|
/** . */
|
|
348
|
-
'
|
|
383
|
+
'conversationState': {
|
|
384
|
+
type: 'text';
|
|
385
|
+
options: undefined;
|
|
386
|
+
};
|
|
387
|
+
/** . */
|
|
388
|
+
'topic': {
|
|
349
389
|
type: 'text';
|
|
350
|
-
isRequired: true;
|
|
351
390
|
options: undefined;
|
|
352
391
|
};
|
|
353
392
|
};
|
|
354
393
|
}
|
|
355
|
-
interface
|
|
394
|
+
interface DidMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema> {
|
|
356
395
|
}
|
|
357
396
|
}
|
|
358
397
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
359
|
-
interface
|
|
398
|
+
interface DidMessageEmitTargetAndPayload {
|
|
360
399
|
/** Source. */
|
|
361
400
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
362
|
-
'
|
|
401
|
+
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
402
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
363
403
|
}
|
|
364
|
-
interface
|
|
365
|
-
id: '
|
|
404
|
+
interface DidMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
405
|
+
id: 'didMessageEmitTargetAndPayload';
|
|
366
406
|
version: 'v2020_12_25';
|
|
367
407
|
namespace: 'Mercury';
|
|
368
408
|
name: '';
|
|
@@ -376,74 +416,155 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
376
416
|
};
|
|
377
417
|
};
|
|
378
418
|
/** . */
|
|
419
|
+
'target': {
|
|
420
|
+
type: 'schema';
|
|
421
|
+
options: {
|
|
422
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
/** . */
|
|
379
426
|
'payload': {
|
|
380
427
|
type: 'schema';
|
|
381
428
|
isRequired: true;
|
|
382
429
|
options: {
|
|
383
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
430
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
384
431
|
};
|
|
385
432
|
};
|
|
386
433
|
};
|
|
387
434
|
}
|
|
388
|
-
interface
|
|
435
|
+
interface DidMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitTargetAndPayloadSchema> {
|
|
389
436
|
}
|
|
390
437
|
}
|
|
391
438
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
392
|
-
interface
|
|
393
|
-
'
|
|
439
|
+
interface ConversationTopic {
|
|
440
|
+
'key': string;
|
|
441
|
+
'confidence': number;
|
|
442
|
+
'label': string;
|
|
394
443
|
}
|
|
395
|
-
interface
|
|
396
|
-
id: '
|
|
444
|
+
interface ConversationTopicSchema extends SpruceSchema.Schema {
|
|
445
|
+
id: 'conversationTopic';
|
|
397
446
|
version: 'v2020_12_25';
|
|
398
447
|
namespace: 'Mercury';
|
|
399
448
|
name: '';
|
|
400
449
|
fields: {
|
|
401
450
|
/** . */
|
|
402
|
-
'
|
|
403
|
-
type: '
|
|
451
|
+
'key': {
|
|
452
|
+
type: 'text';
|
|
453
|
+
isRequired: true;
|
|
454
|
+
options: undefined;
|
|
455
|
+
};
|
|
456
|
+
/** . */
|
|
457
|
+
'confidence': {
|
|
458
|
+
type: 'number';
|
|
459
|
+
isRequired: true;
|
|
460
|
+
options: undefined;
|
|
461
|
+
};
|
|
462
|
+
/** . */
|
|
463
|
+
'label': {
|
|
464
|
+
type: 'text';
|
|
465
|
+
isRequired: true;
|
|
404
466
|
options: undefined;
|
|
405
467
|
};
|
|
406
468
|
};
|
|
407
469
|
}
|
|
408
|
-
interface
|
|
470
|
+
interface ConversationTopicEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema> {
|
|
409
471
|
}
|
|
410
472
|
}
|
|
411
473
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
412
|
-
interface
|
|
413
|
-
'
|
|
414
|
-
'
|
|
474
|
+
interface DidMessageResponsePayload {
|
|
475
|
+
'transitionConversationTo'?: ("greeting" | "discovery" | "topic" | "closing") | undefined | null;
|
|
476
|
+
'repairs'?: string[] | undefined | null;
|
|
477
|
+
'topicChangers'?: string[] | undefined | null;
|
|
478
|
+
'utterance'?: string | undefined | null;
|
|
479
|
+
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
415
480
|
}
|
|
416
|
-
interface
|
|
417
|
-
id: '
|
|
481
|
+
interface DidMessageResponsePayloadSchema extends SpruceSchema.Schema {
|
|
482
|
+
id: 'didMessageResponsePayload';
|
|
418
483
|
version: 'v2020_12_25';
|
|
419
484
|
namespace: 'Mercury';
|
|
420
485
|
name: '';
|
|
421
486
|
fields: {
|
|
422
487
|
/** . */
|
|
423
|
-
'
|
|
488
|
+
'transitionConversationTo': {
|
|
489
|
+
type: 'select';
|
|
490
|
+
options: {
|
|
491
|
+
choices: [{
|
|
492
|
+
"label": "Greeting";
|
|
493
|
+
"value": "greeting";
|
|
494
|
+
}, {
|
|
495
|
+
"label": "Discovery";
|
|
496
|
+
"value": "discovery";
|
|
497
|
+
}, {
|
|
498
|
+
"label": "Topic";
|
|
499
|
+
"value": "topic";
|
|
500
|
+
}, {
|
|
501
|
+
"label": "Closing";
|
|
502
|
+
"value": "closing";
|
|
503
|
+
}];
|
|
504
|
+
};
|
|
505
|
+
};
|
|
506
|
+
/** . */
|
|
507
|
+
'repairs': {
|
|
424
508
|
type: 'text';
|
|
425
|
-
|
|
509
|
+
isArray: true;
|
|
426
510
|
options: undefined;
|
|
427
511
|
};
|
|
428
512
|
/** . */
|
|
429
|
-
'
|
|
513
|
+
'topicChangers': {
|
|
514
|
+
type: 'text';
|
|
515
|
+
isArray: true;
|
|
516
|
+
options: undefined;
|
|
517
|
+
};
|
|
518
|
+
/** . */
|
|
519
|
+
'utterance': {
|
|
430
520
|
type: 'text';
|
|
431
|
-
isRequired: true;
|
|
432
521
|
options: undefined;
|
|
433
522
|
};
|
|
523
|
+
/** . */
|
|
524
|
+
'suggestedTopics': {
|
|
525
|
+
type: 'schema';
|
|
526
|
+
isArray: true;
|
|
527
|
+
options: {
|
|
528
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConversationTopicSchema;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
434
531
|
};
|
|
435
532
|
}
|
|
436
|
-
interface
|
|
533
|
+
interface DidMessageResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidMessageResponsePayloadSchema> {
|
|
437
534
|
}
|
|
438
535
|
}
|
|
439
536
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
440
|
-
interface
|
|
537
|
+
interface DidSignupEmitPayload {
|
|
538
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
539
|
+
}
|
|
540
|
+
interface DidSignupEmitPayloadSchema extends SpruceSchema.Schema {
|
|
541
|
+
id: 'didSignupEmitPayload';
|
|
542
|
+
version: 'v2020_12_25';
|
|
543
|
+
namespace: 'Mercury';
|
|
544
|
+
name: '';
|
|
545
|
+
fields: {
|
|
546
|
+
/** . */
|
|
547
|
+
'person': {
|
|
548
|
+
type: 'schema';
|
|
549
|
+
isRequired: true;
|
|
550
|
+
options: {
|
|
551
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
}
|
|
556
|
+
interface DidSignupEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema> {
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
560
|
+
interface DidSignupEmitTargetAndPayload {
|
|
441
561
|
/** Source. */
|
|
442
562
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
443
|
-
'
|
|
563
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
564
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
444
565
|
}
|
|
445
|
-
interface
|
|
446
|
-
id: '
|
|
566
|
+
interface DidSignupEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
567
|
+
id: 'didSignupEmitTargetAndPayload';
|
|
447
568
|
version: 'v2020_12_25';
|
|
448
569
|
namespace: 'Mercury';
|
|
449
570
|
name: '';
|
|
@@ -457,224 +578,816 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
457
578
|
};
|
|
458
579
|
};
|
|
459
580
|
/** . */
|
|
581
|
+
'target': {
|
|
582
|
+
type: 'schema';
|
|
583
|
+
options: {
|
|
584
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
/** . */
|
|
460
588
|
'payload': {
|
|
461
589
|
type: 'schema';
|
|
462
590
|
isRequired: true;
|
|
463
591
|
options: {
|
|
464
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
592
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayloadSchema;
|
|
465
593
|
};
|
|
466
594
|
};
|
|
467
595
|
};
|
|
468
596
|
}
|
|
469
|
-
interface
|
|
597
|
+
interface DidSignupEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitTargetAndPayloadSchema> {
|
|
470
598
|
}
|
|
471
599
|
}
|
|
472
600
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
473
|
-
interface
|
|
474
|
-
'
|
|
601
|
+
interface DidUpdateFeedEmitTarget {
|
|
602
|
+
'locationId'?: string | undefined | null;
|
|
603
|
+
'organizationId'?: string | undefined | null;
|
|
604
|
+
'skillId'?: string | undefined | null;
|
|
475
605
|
}
|
|
476
|
-
interface
|
|
477
|
-
id: '
|
|
606
|
+
interface DidUpdateFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
607
|
+
id: 'didUpdateFeedEmitTarget';
|
|
478
608
|
version: 'v2020_12_25';
|
|
479
609
|
namespace: 'Mercury';
|
|
480
610
|
name: '';
|
|
481
611
|
fields: {
|
|
612
|
+
/** . */
|
|
613
|
+
'locationId': {
|
|
614
|
+
type: 'id';
|
|
615
|
+
options: undefined;
|
|
616
|
+
};
|
|
482
617
|
/** . */
|
|
483
618
|
'organizationId': {
|
|
484
619
|
type: 'id';
|
|
485
|
-
|
|
620
|
+
options: undefined;
|
|
621
|
+
};
|
|
622
|
+
/** . */
|
|
623
|
+
'skillId': {
|
|
624
|
+
type: 'id';
|
|
486
625
|
options: undefined;
|
|
487
626
|
};
|
|
488
627
|
};
|
|
489
628
|
}
|
|
490
|
-
interface
|
|
629
|
+
interface DidUpdateFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema> {
|
|
491
630
|
}
|
|
492
631
|
}
|
|
493
632
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
494
|
-
interface
|
|
495
|
-
|
|
496
|
-
'name': string;
|
|
497
|
-
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
498
|
-
'num'?: string | undefined | null;
|
|
499
|
-
/** Public. Is this location viewable by guests? */
|
|
500
|
-
'isPublic'?: boolean | undefined | null;
|
|
501
|
-
/** Main Phone. */
|
|
502
|
-
'phone'?: string | undefined | null;
|
|
503
|
-
/** Timezone. */
|
|
504
|
-
'timezone'?: ("Pacific/Niue" | "Pacific/Pago_Pago" | "Pacific/Rarotonga" | "Pacific/Honolulu" | "Pacific/Tahiti" | "Pacific/Marquesas" | "Pacific/Gambier" | "America/Adak" | "America/Anchorage" | "America/Juneau" | "America/Metlakatla" | "America/Nome" | "America/Sitka" | "America/Yakutat" | "Pacific/Pitcairn" | "America/Hermosillo" | "America/Dawson_Creek" | "America/Fort_Nelson" | "America/Phoenix" | "America/Los_Angeles" | "America/Tijuana" | "America/Vancouver" | "America/Dawson" | "America/Whitehorse" | "America/Belize" | "America/Costa_Rica" | "America/El_Salvador" | "America/Guatemala" | "America/Managua" | "America/Regina" | "America/Swift_Current" | "America/Tegucigalpa" | "Pacific/Easter" | "Pacific/Galapagos" | "America/Chihuahua" | "America/Mazatlan" | "America/Boise" | "America/Cambridge_Bay" | "America/Denver" | "America/Edmonton" | "America/Inuvik" | "America/Ojinaga" | "America/Yellowknife" | "America/Eirunepe" | "America/Rio_Branco" | "America/Bahia_Banderas" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/Chicago" | "America/Indiana/Knox" | "America/Matamoros" | "America/Menominee" | "America/Merida" | "America/Mexico_City" | "America/Monterrey" | "America/North_Dakota/New_Salem" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Resolute" | "America/Indiana/Tell_City" | "America/Winnipeg" | "America/Bogota" | "America/Cancun" | "America/Jamaica" | "America/Panama" | "America/Guayaquil" | "America/Lima" | "America/Boa_Vista" | "America/Campo_Grande" | "America/Cuiaba" | "America/Manaus" | "America/Porto_Velho" | "America/Barbados" | "America/Martinique" | "America/Puerto_Rico" | "America/Santo_Domingo" | "America/La_Paz" | "America/Santiago" | "America/Havana" | "America/Detroit" | "America/Grand_Turk" | "America/Indiana/Indianapolis" | "America/Iqaluit" | "America/Kentucky/Louisville" | "America/Indiana/Marengo" | "America/Kentucky/Monticello" | "America/New_York" | "America/Nipigon" | "America/Pangnirtung" | "America/Indiana/Petersburg" | "America/Port-au-Prince" | "America/Thunder_Bay" | "America/Toronto" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Guyana" | "America/Asuncion" | "America/Caracas" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "Atlantic/Bermuda" | "America/Glace_Bay" | "America/Goose_Bay" | "America/Halifax" | "America/Moncton" | "America/Thule" | "America/Araguaina" | "America/Bahia" | "America/Belem" | "America/Fortaleza" | "America/Maceio" | "America/Recife" | "America/Santarem" | "America/Sao_Paulo" | "Atlantic/Stanley" | "America/Cayenne" | "Antarctica/Palmer" | "America/Punta_Arenas" | "Antarctica/Rothera" | "America/Paramaribo" | "America/Montevideo" | "America/St_Johns" | "America/Noronha" | "Atlantic/South_Georgia" | "America/Miquelon" | "America/Nuuk" | "Atlantic/Cape_Verde" | "Atlantic/Azores" | "UTC" | "America/Scoresbysund" | "Etc/GMT" | "Africa/Abidjan" | "Africa/Bissau" | "America/Danmarkshavn" | "Africa/Monrovia" | "Atlantic/Reykjavik" | "Africa/Sao_Tome" | "Africa/Algiers" | "Africa/Tunis" | "Europe/Dublin" | "Africa/Casablanca" | "Europe/London" | "Africa/Lagos" | "Africa/Ndjamena" | "Atlantic/Canary" | "Atlantic/Faroe" | "Europe/Lisbon" | "Atlantic/Madeira" | "Africa/El_Aaiun" | "Africa/Juba" | "Africa/Khartoum" | "Africa/Maputo" | "Africa/Windhoek" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Brussels" | "Europe/Budapest" | "Africa/Ceuta" | "Europe/Copenhagen" | "Europe/Gibraltar" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Monaco" | "Europe/Oslo" | "Europe/Paris" | "Europe/Prague" | "Europe/Rome" | "Europe/Stockholm" | "Europe/Tirane" | "Europe/Vienna" | "Europe/Warsaw" | "Europe/Zurich" | "Africa/Cairo" | "Europe/Kaliningrad" | "Africa/Tripoli" | "Africa/Johannesburg" | "Antarctica/Troll" | "Asia/Baghdad" | "Asia/Qatar" | "Asia/Riyadh" | "Africa/Nairobi" | "Asia/Amman" | "Europe/Athens" | "Asia/Beirut" | "Europe/Bucharest" | "Europe/Chisinau" | "Asia/Damascus" | "Asia/Gaza" | "Asia/Hebron" | "Europe/Helsinki" | "Europe/Kiev" | "Asia/Nicosia" | "Europe/Riga" | "Europe/Sofia" | "Europe/Tallinn" | "Europe/Uzhgorod" | "Europe/Vilnius" | "Europe/Zaporozhye" | "Asia/Famagusta" | "Asia/Jerusalem" | "Europe/Kirov" | "Europe/Minsk" | "Europe/Moscow" | "Europe/Simferopol" | "Europe/Istanbul" | "Europe/Volgograd" | "Asia/Yerevan" | "Europe/Astrakhan" | "Asia/Baku" | "Asia/Tbilisi" | "Asia/Dubai" | "Indian/Mauritius" | "Indian/Reunion" | "Europe/Samara" | "Europe/Saratov" | "Indian/Mahe" | "Europe/Ulyanovsk" | "Asia/Kabul" | "Asia/Tehran" | "Indian/Kerguelen" | "Indian/Maldives" | "Antarctica/Mawson" | "Asia/Karachi" | "Asia/Dushanbe" | "Asia/Ashgabat" | "Asia/Samarkand" | "Asia/Tashkent" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Atyrau" | "Asia/Oral" | "Asia/Qyzylorda" | "Asia/Yekaterinburg" | "Asia/Colombo" | "Asia/Kolkata" | "Asia/Kathmandu" | "Asia/Dhaka" | "Asia/Thimphu" | "Asia/Almaty" | "Asia/Qostanay" | "Indian/Chagos" | "Asia/Bishkek" | "Asia/Omsk" | "Asia/Urumqi" | "Antarctica/Vostok" | "Indian/Cocos" | "Asia/Yangon" | "Asia/Barnaul" | "Indian/Christmas" | "Antarctica/Davis" | "Asia/Hovd" | "Asia/Bangkok" | "Asia/Ho_Chi_Minh" | "Asia/Krasnoyarsk" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Tomsk" | "Asia/Jakarta" | "Asia/Pontianak" | "Australia/Perth" | "Asia/Brunei" | "Asia/Makassar" | "Asia/Macau" | "Asia/Shanghai" | "Asia/Hong_Kong" | "Asia/Irkutsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Manila" | "Asia/Singapore" | "Asia/Taipei" | "Asia/Choibalsan" | "Asia/Ulaanbaatar" | "Australia/Eucla" | "Asia/Dili" | "Asia/Jayapura" | "Asia/Tokyo" | "Asia/Pyongyang" | "Asia/Seoul" | "Pacific/Palau" | "Asia/Chita" | "Asia/Khandyga" | "Asia/Yakutsk" | "Australia/Darwin" | "Australia/Adelaide" | "Australia/Broken_Hill" | "Australia/Brisbane" | "Australia/Lindeman" | "Pacific/Guam" | "Pacific/Chuuk" | "Australia/Hobart" | "Antarctica/Macquarie" | "Australia/Melbourne" | "Australia/Sydney" | "Pacific/Port_Moresby" | "Asia/Ust-Nera" | "Asia/Vladivostok" | "Australia/Lord_Howe" | "Pacific/Bougainville" | "Antarctica/Casey" | "Pacific/Kosrae" | "Asia/Magadan" | "Pacific/Noumea" | "Pacific/Norfolk" | "Pacific/Pohnpei" | "Asia/Sakhalin" | "Pacific/Guadalcanal" | "Asia/Srednekolymsk" | "Pacific/Efate" | "Asia/Anadyr" | "Pacific/Fiji" | "Pacific/Tarawa" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Nauru" | "Pacific/Auckland" | "Asia/Kamchatka" | "Pacific/Funafuti" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Chatham" | "Pacific/Apia" | "Pacific/Fakaofo" | "Pacific/Tongatapu" | "Pacific/Kiritimati") | undefined | null;
|
|
505
|
-
/** Address. */
|
|
506
|
-
'address': SpruceSchema.AddressFieldValue;
|
|
507
|
-
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
508
|
-
'slug'?: string | undefined | null;
|
|
633
|
+
interface DidUpdateFeedEmitPayload {
|
|
634
|
+
'item': SpruceSchemas.Spruce.v2020_07_22.FeedItem;
|
|
509
635
|
}
|
|
510
|
-
interface
|
|
511
|
-
id: '
|
|
636
|
+
interface DidUpdateFeedEmitPayloadSchema extends SpruceSchema.Schema {
|
|
637
|
+
id: 'didUpdateFeedEmitPayload';
|
|
512
638
|
version: 'v2020_12_25';
|
|
513
639
|
namespace: 'Mercury';
|
|
514
640
|
name: '';
|
|
515
641
|
fields: {
|
|
516
|
-
/**
|
|
517
|
-
'
|
|
518
|
-
|
|
519
|
-
|
|
642
|
+
/** . */
|
|
643
|
+
'item': {
|
|
644
|
+
type: 'schema';
|
|
645
|
+
isRequired: true;
|
|
646
|
+
options: {
|
|
647
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema;
|
|
648
|
+
};
|
|
649
|
+
};
|
|
650
|
+
};
|
|
651
|
+
}
|
|
652
|
+
interface DidUpdateFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema> {
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
656
|
+
interface DidUpdateFeedEmitTargetAndPayload {
|
|
657
|
+
/** Source. */
|
|
658
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
659
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTarget | undefined | null;
|
|
660
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayload;
|
|
661
|
+
}
|
|
662
|
+
interface DidUpdateFeedEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
663
|
+
id: 'didUpdateFeedEmitTargetAndPayload';
|
|
664
|
+
version: 'v2020_12_25';
|
|
665
|
+
namespace: 'Mercury';
|
|
666
|
+
name: '';
|
|
667
|
+
fields: {
|
|
668
|
+
/** Source. */
|
|
669
|
+
'source': {
|
|
670
|
+
label: 'Source';
|
|
671
|
+
type: 'schema';
|
|
672
|
+
options: {
|
|
673
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
/** . */
|
|
677
|
+
'target': {
|
|
678
|
+
type: 'schema';
|
|
679
|
+
options: {
|
|
680
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetSchema;
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
/** . */
|
|
684
|
+
'payload': {
|
|
685
|
+
type: 'schema';
|
|
686
|
+
isRequired: true;
|
|
687
|
+
options: {
|
|
688
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitPayloadSchema;
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
}
|
|
693
|
+
interface DidUpdateFeedEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdateFeedEmitTargetAndPayloadSchema> {
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
697
|
+
interface DidUpdatePersonEmitPayload {
|
|
698
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
699
|
+
}
|
|
700
|
+
interface DidUpdatePersonEmitPayloadSchema extends SpruceSchema.Schema {
|
|
701
|
+
id: 'didUpdatePersonEmitPayload';
|
|
702
|
+
version: 'v2020_12_25';
|
|
703
|
+
namespace: 'Mercury';
|
|
704
|
+
name: '';
|
|
705
|
+
fields: {
|
|
706
|
+
/** . */
|
|
707
|
+
'person': {
|
|
708
|
+
type: 'schema';
|
|
709
|
+
isRequired: true;
|
|
710
|
+
options: {
|
|
711
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
}
|
|
716
|
+
interface DidUpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema> {
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
720
|
+
interface DidUpdatePersonEmitTargetAndPayload {
|
|
721
|
+
/** Source. */
|
|
722
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
723
|
+
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
724
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
725
|
+
}
|
|
726
|
+
interface DidUpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
727
|
+
id: 'didUpdatePersonEmitTargetAndPayload';
|
|
728
|
+
version: 'v2020_12_25';
|
|
729
|
+
namespace: 'Mercury';
|
|
730
|
+
name: '';
|
|
731
|
+
fields: {
|
|
732
|
+
/** Source. */
|
|
733
|
+
'source': {
|
|
734
|
+
label: 'Source';
|
|
735
|
+
type: 'schema';
|
|
736
|
+
options: {
|
|
737
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
/** . */
|
|
741
|
+
'target': {
|
|
742
|
+
type: 'schema';
|
|
743
|
+
options: {
|
|
744
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
745
|
+
};
|
|
746
|
+
};
|
|
747
|
+
/** . */
|
|
748
|
+
'payload': {
|
|
749
|
+
type: 'schema';
|
|
520
750
|
isRequired: true;
|
|
751
|
+
options: {
|
|
752
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
};
|
|
756
|
+
}
|
|
757
|
+
interface DidUpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitTargetAndPayloadSchema> {
|
|
758
|
+
}
|
|
759
|
+
}
|
|
760
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
761
|
+
interface AddRoleEmitTarget {
|
|
762
|
+
'organizationId'?: string | undefined | null;
|
|
763
|
+
'locationId'?: string | undefined | null;
|
|
764
|
+
}
|
|
765
|
+
interface AddRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
766
|
+
id: 'addRoleEmitTarget';
|
|
767
|
+
version: 'v2020_12_25';
|
|
768
|
+
namespace: 'Mercury';
|
|
769
|
+
name: '';
|
|
770
|
+
fields: {
|
|
771
|
+
/** . */
|
|
772
|
+
'organizationId': {
|
|
773
|
+
type: 'id';
|
|
521
774
|
options: undefined;
|
|
522
775
|
};
|
|
523
|
-
/**
|
|
524
|
-
'
|
|
525
|
-
|
|
526
|
-
type: 'text';
|
|
527
|
-
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
776
|
+
/** . */
|
|
777
|
+
'locationId': {
|
|
778
|
+
type: 'id';
|
|
528
779
|
options: undefined;
|
|
529
780
|
};
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
781
|
+
};
|
|
782
|
+
}
|
|
783
|
+
interface AddRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema> {
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
787
|
+
interface AddRoleEmitPayload {
|
|
788
|
+
'personId': string;
|
|
789
|
+
'roleId': string;
|
|
790
|
+
}
|
|
791
|
+
interface AddRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
792
|
+
id: 'addRoleEmitPayload';
|
|
793
|
+
version: 'v2020_12_25';
|
|
794
|
+
namespace: 'Mercury';
|
|
795
|
+
name: '';
|
|
796
|
+
fields: {
|
|
797
|
+
/** . */
|
|
798
|
+
'personId': {
|
|
799
|
+
type: 'id';
|
|
800
|
+
isRequired: true;
|
|
536
801
|
options: undefined;
|
|
537
802
|
};
|
|
538
|
-
/**
|
|
539
|
-
'
|
|
540
|
-
|
|
541
|
-
|
|
803
|
+
/** . */
|
|
804
|
+
'roleId': {
|
|
805
|
+
type: 'id';
|
|
806
|
+
isRequired: true;
|
|
542
807
|
options: undefined;
|
|
543
808
|
};
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
809
|
+
};
|
|
810
|
+
}
|
|
811
|
+
interface AddRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema> {
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
815
|
+
interface AddRoleEmitTargetAndPayload {
|
|
816
|
+
/** Source. */
|
|
817
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
818
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTarget | undefined | null;
|
|
819
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayload;
|
|
820
|
+
}
|
|
821
|
+
interface AddRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
822
|
+
id: 'addRoleEmitTargetAndPayload';
|
|
823
|
+
version: 'v2020_12_25';
|
|
824
|
+
namespace: 'Mercury';
|
|
825
|
+
name: '';
|
|
826
|
+
fields: {
|
|
827
|
+
/** Source. */
|
|
828
|
+
'source': {
|
|
829
|
+
label: 'Source';
|
|
830
|
+
type: 'schema';
|
|
548
831
|
options: {
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
832
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
/** . */
|
|
836
|
+
'target': {
|
|
837
|
+
type: 'schema';
|
|
838
|
+
options: {
|
|
839
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetSchema;
|
|
840
|
+
};
|
|
841
|
+
};
|
|
842
|
+
/** . */
|
|
843
|
+
'payload': {
|
|
844
|
+
type: 'schema';
|
|
845
|
+
isRequired: true;
|
|
846
|
+
options: {
|
|
847
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitPayloadSchema;
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
};
|
|
851
|
+
}
|
|
852
|
+
interface AddRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleEmitTargetAndPayloadSchema> {
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
856
|
+
interface AddRoleResponsePayload {
|
|
857
|
+
}
|
|
858
|
+
interface AddRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
859
|
+
id: 'addRoleResponsePayload';
|
|
860
|
+
version: 'v2020_12_25';
|
|
861
|
+
namespace: 'Mercury';
|
|
862
|
+
name: '';
|
|
863
|
+
fields: {};
|
|
864
|
+
}
|
|
865
|
+
interface AddRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AddRoleResponsePayloadSchema> {
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
869
|
+
interface AuthenticateEmitPayload {
|
|
870
|
+
'token'?: string | undefined | null;
|
|
871
|
+
'skillId'?: string | undefined | null;
|
|
872
|
+
'apiKey'?: string | undefined | null;
|
|
873
|
+
}
|
|
874
|
+
interface AuthenticateEmitPayloadSchema extends SpruceSchema.Schema {
|
|
875
|
+
id: 'authenticateEmitPayload';
|
|
876
|
+
version: 'v2020_12_25';
|
|
877
|
+
namespace: 'Mercury';
|
|
878
|
+
name: '';
|
|
879
|
+
fields: {
|
|
880
|
+
/** . */
|
|
881
|
+
'token': {
|
|
882
|
+
type: 'text';
|
|
883
|
+
options: undefined;
|
|
884
|
+
};
|
|
885
|
+
/** . */
|
|
886
|
+
'skillId': {
|
|
887
|
+
type: 'text';
|
|
888
|
+
options: undefined;
|
|
889
|
+
};
|
|
890
|
+
/** . */
|
|
891
|
+
'apiKey': {
|
|
892
|
+
type: 'text';
|
|
893
|
+
options: undefined;
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
}
|
|
897
|
+
interface AuthenticateEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema> {
|
|
898
|
+
}
|
|
899
|
+
}
|
|
900
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
901
|
+
interface AuthenticateEmitTargetAndPayload {
|
|
902
|
+
/** Source. */
|
|
903
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
904
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayload | undefined | null;
|
|
905
|
+
}
|
|
906
|
+
interface AuthenticateEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
907
|
+
id: 'authenticateEmitTargetAndPayload';
|
|
908
|
+
version: 'v2020_12_25';
|
|
909
|
+
namespace: 'Mercury';
|
|
910
|
+
name: '';
|
|
911
|
+
fields: {
|
|
912
|
+
/** Source. */
|
|
913
|
+
'source': {
|
|
914
|
+
label: 'Source';
|
|
915
|
+
type: 'schema';
|
|
916
|
+
options: {
|
|
917
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
918
|
+
};
|
|
919
|
+
};
|
|
920
|
+
/** . */
|
|
921
|
+
'payload': {
|
|
922
|
+
type: 'schema';
|
|
923
|
+
options: {
|
|
924
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitPayloadSchema;
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
};
|
|
928
|
+
}
|
|
929
|
+
interface AuthenticateEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateEmitTargetAndPayloadSchema> {
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
933
|
+
interface AuthSchema {
|
|
934
|
+
'person'?: SpruceSchemas.Spruce.v2020_07_22.Person | undefined | null;
|
|
935
|
+
'skill'?: SpruceSchemas.Spruce.v2020_07_22.Skill | undefined | null;
|
|
936
|
+
}
|
|
937
|
+
interface AuthSchemaSchema extends SpruceSchema.Schema {
|
|
938
|
+
id: 'authSchema';
|
|
939
|
+
version: 'v2020_12_25';
|
|
940
|
+
namespace: 'Mercury';
|
|
941
|
+
name: '';
|
|
942
|
+
fields: {
|
|
943
|
+
/** . */
|
|
944
|
+
'person': {
|
|
945
|
+
type: 'schema';
|
|
946
|
+
options: {
|
|
947
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
/** . */
|
|
951
|
+
'skill': {
|
|
952
|
+
type: 'schema';
|
|
953
|
+
options: {
|
|
954
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.SkillSchema;
|
|
955
|
+
};
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
}
|
|
959
|
+
interface AuthSchemaEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema> {
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
963
|
+
interface AuthenticateResponsePayload {
|
|
964
|
+
'type': ("authenticated" | "anonymous");
|
|
965
|
+
'auth': SpruceSchemas.Mercury.v2020_12_25.AuthSchema;
|
|
966
|
+
}
|
|
967
|
+
interface AuthenticateResponsePayloadSchema extends SpruceSchema.Schema {
|
|
968
|
+
id: 'authenticateResponsePayload';
|
|
969
|
+
version: 'v2020_12_25';
|
|
970
|
+
namespace: 'Mercury';
|
|
971
|
+
name: '';
|
|
972
|
+
fields: {
|
|
973
|
+
/** . */
|
|
974
|
+
'type': {
|
|
975
|
+
type: 'select';
|
|
976
|
+
isRequired: true;
|
|
977
|
+
options: {
|
|
978
|
+
choices: [{
|
|
979
|
+
"value": "authenticated";
|
|
980
|
+
"label": "Authenticated";
|
|
654
981
|
}, {
|
|
655
|
-
"value": "
|
|
656
|
-
"label": "
|
|
982
|
+
"value": "anonymous";
|
|
983
|
+
"label": "Anonymous";
|
|
984
|
+
}];
|
|
985
|
+
};
|
|
986
|
+
};
|
|
987
|
+
/** . */
|
|
988
|
+
'auth': {
|
|
989
|
+
type: 'schema';
|
|
990
|
+
isRequired: true;
|
|
991
|
+
options: {
|
|
992
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.AuthSchemaSchema;
|
|
993
|
+
};
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
}
|
|
997
|
+
interface AuthenticateResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.AuthenticateResponsePayloadSchema> {
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1001
|
+
interface CanListenEmitPayload {
|
|
1002
|
+
'authorizerStatuses'?: ("clockedIn" | "clockedOut" | "onPrem" | "offPrem") | undefined | null;
|
|
1003
|
+
'fullyQualifiedEventName': string;
|
|
1004
|
+
}
|
|
1005
|
+
interface CanListenEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1006
|
+
id: 'canListenEmitPayload';
|
|
1007
|
+
version: 'v2020_12_25';
|
|
1008
|
+
namespace: 'Mercury';
|
|
1009
|
+
name: '';
|
|
1010
|
+
fields: {
|
|
1011
|
+
/** . */
|
|
1012
|
+
'authorizerStatuses': {
|
|
1013
|
+
type: 'select';
|
|
1014
|
+
options: {
|
|
1015
|
+
choices: [{
|
|
1016
|
+
"label": "Clocked in";
|
|
1017
|
+
"value": "clockedIn";
|
|
657
1018
|
}, {
|
|
658
|
-
"
|
|
659
|
-
"
|
|
1019
|
+
"label": "Clocked out";
|
|
1020
|
+
"value": "clockedOut";
|
|
660
1021
|
}, {
|
|
661
|
-
"
|
|
662
|
-
"
|
|
1022
|
+
"label": "On premises";
|
|
1023
|
+
"value": "onPrem";
|
|
663
1024
|
}, {
|
|
664
|
-
"
|
|
665
|
-
"
|
|
666
|
-
}
|
|
667
|
-
|
|
668
|
-
|
|
1025
|
+
"label": "Off premises";
|
|
1026
|
+
"value": "offPrem";
|
|
1027
|
+
}];
|
|
1028
|
+
};
|
|
1029
|
+
};
|
|
1030
|
+
/** . */
|
|
1031
|
+
'fullyQualifiedEventName': {
|
|
1032
|
+
type: 'text';
|
|
1033
|
+
isRequired: true;
|
|
1034
|
+
options: undefined;
|
|
1035
|
+
};
|
|
1036
|
+
};
|
|
1037
|
+
}
|
|
1038
|
+
interface CanListenEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema> {
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1042
|
+
interface CanListenEmitTargetAndPayload {
|
|
1043
|
+
/** Source. */
|
|
1044
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1045
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayload;
|
|
1046
|
+
}
|
|
1047
|
+
interface CanListenEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1048
|
+
id: 'canListenEmitTargetAndPayload';
|
|
1049
|
+
version: 'v2020_12_25';
|
|
1050
|
+
namespace: 'Mercury';
|
|
1051
|
+
name: '';
|
|
1052
|
+
fields: {
|
|
1053
|
+
/** Source. */
|
|
1054
|
+
'source': {
|
|
1055
|
+
label: 'Source';
|
|
1056
|
+
type: 'schema';
|
|
1057
|
+
options: {
|
|
1058
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1059
|
+
};
|
|
1060
|
+
};
|
|
1061
|
+
/** . */
|
|
1062
|
+
'payload': {
|
|
1063
|
+
type: 'schema';
|
|
1064
|
+
isRequired: true;
|
|
1065
|
+
options: {
|
|
1066
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.CanListenEmitPayloadSchema;
|
|
1067
|
+
};
|
|
1068
|
+
};
|
|
1069
|
+
};
|
|
1070
|
+
}
|
|
1071
|
+
interface CanListenEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenEmitTargetAndPayloadSchema> {
|
|
1072
|
+
}
|
|
1073
|
+
}
|
|
1074
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1075
|
+
interface CanListenResponsePayload {
|
|
1076
|
+
'can'?: boolean | undefined | null;
|
|
1077
|
+
}
|
|
1078
|
+
interface CanListenResponsePayloadSchema extends SpruceSchema.Schema {
|
|
1079
|
+
id: 'canListenResponsePayload';
|
|
1080
|
+
version: 'v2020_12_25';
|
|
1081
|
+
namespace: 'Mercury';
|
|
1082
|
+
name: '';
|
|
1083
|
+
fields: {
|
|
1084
|
+
/** . */
|
|
1085
|
+
'can': {
|
|
1086
|
+
type: 'boolean';
|
|
1087
|
+
options: undefined;
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
}
|
|
1091
|
+
interface CanListenResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CanListenResponsePayloadSchema> {
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1095
|
+
interface ConfirmPinEmitPayload {
|
|
1096
|
+
'challenge': string;
|
|
1097
|
+
'pin': string;
|
|
1098
|
+
}
|
|
1099
|
+
interface ConfirmPinEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1100
|
+
id: 'confirmPinEmitPayload';
|
|
1101
|
+
version: 'v2020_12_25';
|
|
1102
|
+
namespace: 'Mercury';
|
|
1103
|
+
name: '';
|
|
1104
|
+
fields: {
|
|
1105
|
+
/** . */
|
|
1106
|
+
'challenge': {
|
|
1107
|
+
type: 'text';
|
|
1108
|
+
isRequired: true;
|
|
1109
|
+
options: undefined;
|
|
1110
|
+
};
|
|
1111
|
+
/** . */
|
|
1112
|
+
'pin': {
|
|
1113
|
+
type: 'text';
|
|
1114
|
+
isRequired: true;
|
|
1115
|
+
options: undefined;
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
}
|
|
1119
|
+
interface ConfirmPinEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema> {
|
|
1120
|
+
}
|
|
1121
|
+
}
|
|
1122
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1123
|
+
interface ConfirmPinEmitTargetAndPayload {
|
|
1124
|
+
/** Source. */
|
|
1125
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
1126
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayload;
|
|
1127
|
+
}
|
|
1128
|
+
interface ConfirmPinEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
1129
|
+
id: 'confirmPinEmitTargetAndPayload';
|
|
1130
|
+
version: 'v2020_12_25';
|
|
1131
|
+
namespace: 'Mercury';
|
|
1132
|
+
name: '';
|
|
1133
|
+
fields: {
|
|
1134
|
+
/** Source. */
|
|
1135
|
+
'source': {
|
|
1136
|
+
label: 'Source';
|
|
1137
|
+
type: 'schema';
|
|
1138
|
+
options: {
|
|
1139
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
/** . */
|
|
1143
|
+
'payload': {
|
|
1144
|
+
type: 'schema';
|
|
1145
|
+
isRequired: true;
|
|
1146
|
+
options: {
|
|
1147
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitPayloadSchema;
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
}
|
|
1152
|
+
interface ConfirmPinEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinEmitTargetAndPayloadSchema> {
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1156
|
+
interface ConfirmPinRespondPayload {
|
|
1157
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
1158
|
+
'token': string;
|
|
1159
|
+
}
|
|
1160
|
+
interface ConfirmPinRespondPayloadSchema extends SpruceSchema.Schema {
|
|
1161
|
+
id: 'confirmPinRespondPayload';
|
|
1162
|
+
version: 'v2020_12_25';
|
|
1163
|
+
namespace: 'Mercury';
|
|
1164
|
+
name: '';
|
|
1165
|
+
fields: {
|
|
1166
|
+
/** . */
|
|
1167
|
+
'person': {
|
|
1168
|
+
type: 'schema';
|
|
1169
|
+
isRequired: true;
|
|
1170
|
+
options: {
|
|
1171
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1174
|
+
/** . */
|
|
1175
|
+
'token': {
|
|
1176
|
+
type: 'text';
|
|
1177
|
+
isRequired: true;
|
|
1178
|
+
options: undefined;
|
|
1179
|
+
};
|
|
1180
|
+
};
|
|
1181
|
+
}
|
|
1182
|
+
interface ConfirmPinRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ConfirmPinRespondPayloadSchema> {
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1186
|
+
interface CreateLocationEmitTarget {
|
|
1187
|
+
'organizationId': string;
|
|
1188
|
+
}
|
|
1189
|
+
interface CreateLocationEmitTargetSchema extends SpruceSchema.Schema {
|
|
1190
|
+
id: 'createLocationEmitTarget';
|
|
1191
|
+
version: 'v2020_12_25';
|
|
1192
|
+
namespace: 'Mercury';
|
|
1193
|
+
name: '';
|
|
1194
|
+
fields: {
|
|
1195
|
+
/** . */
|
|
1196
|
+
'organizationId': {
|
|
1197
|
+
type: 'id';
|
|
1198
|
+
isRequired: true;
|
|
1199
|
+
options: undefined;
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
}
|
|
1203
|
+
interface CreateLocationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.CreateLocationEmitTargetSchema> {
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
1207
|
+
interface CreateLocationEmitPayload {
|
|
1208
|
+
/** Name. */
|
|
1209
|
+
'name': string;
|
|
1210
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1211
|
+
'num'?: string | undefined | null;
|
|
1212
|
+
/** Public. Is this location viewable by guests? */
|
|
1213
|
+
'isPublic'?: boolean | undefined | null;
|
|
1214
|
+
/** Main Phone. */
|
|
1215
|
+
'phone'?: string | undefined | null;
|
|
1216
|
+
/** Timezone. */
|
|
1217
|
+
'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;
|
|
1218
|
+
/** Address. */
|
|
1219
|
+
'address': SpruceSchema.AddressFieldValue;
|
|
1220
|
+
'dateDeleted'?: SpruceSchema.DateTimeFieldValue | undefined | null;
|
|
1221
|
+
'slug'?: string | undefined | null;
|
|
1222
|
+
}
|
|
1223
|
+
interface CreateLocationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
1224
|
+
id: 'createLocationEmitPayload';
|
|
1225
|
+
version: 'v2020_12_25';
|
|
1226
|
+
namespace: 'Mercury';
|
|
1227
|
+
name: '';
|
|
1228
|
+
fields: {
|
|
1229
|
+
/** Name. */
|
|
1230
|
+
'name': {
|
|
1231
|
+
label: 'Name';
|
|
1232
|
+
type: 'text';
|
|
1233
|
+
isRequired: true;
|
|
1234
|
+
options: undefined;
|
|
1235
|
+
};
|
|
1236
|
+
/** Store number. You can use other symbols, like # or dashes. #123 or 32-US-5 */
|
|
1237
|
+
'num': {
|
|
1238
|
+
label: 'Store number';
|
|
1239
|
+
type: 'text';
|
|
1240
|
+
hint: 'You can use other symbols, like # or dashes. #123 or 32-US-5';
|
|
1241
|
+
options: undefined;
|
|
1242
|
+
};
|
|
1243
|
+
/** Public. Is this location viewable by guests? */
|
|
1244
|
+
'isPublic': {
|
|
1245
|
+
label: 'Public';
|
|
1246
|
+
type: 'boolean';
|
|
1247
|
+
hint: 'Is this location viewable by guests?';
|
|
1248
|
+
defaultValue: false;
|
|
1249
|
+
options: undefined;
|
|
1250
|
+
};
|
|
1251
|
+
/** Main Phone. */
|
|
1252
|
+
'phone': {
|
|
1253
|
+
label: 'Main Phone';
|
|
1254
|
+
type: 'phone';
|
|
1255
|
+
options: undefined;
|
|
1256
|
+
};
|
|
1257
|
+
/** Timezone. */
|
|
1258
|
+
'timezone': {
|
|
1259
|
+
label: 'Timezone';
|
|
1260
|
+
type: 'select';
|
|
1261
|
+
options: {
|
|
1262
|
+
choices: [{
|
|
1263
|
+
"value": "Pacific/Niue";
|
|
1264
|
+
"label": "Niue Time";
|
|
669
1265
|
}, {
|
|
670
|
-
"value": "
|
|
671
|
-
"label": "
|
|
1266
|
+
"value": "Pacific/Pago_Pago";
|
|
1267
|
+
"label": "Samoa Standard Time";
|
|
672
1268
|
}, {
|
|
673
|
-
"value": "
|
|
674
|
-
"label": "
|
|
1269
|
+
"value": "Pacific/Rarotonga";
|
|
1270
|
+
"label": "Cook Islands Standard Time";
|
|
675
1271
|
}, {
|
|
676
|
-
"value": "
|
|
677
|
-
"label": "
|
|
1272
|
+
"value": "Pacific/Honolulu";
|
|
1273
|
+
"label": "Hawaii-Aleutian Standard Time";
|
|
1274
|
+
}, {
|
|
1275
|
+
"value": "Pacific/Tahiti";
|
|
1276
|
+
"label": "Tahiti Time";
|
|
1277
|
+
}, {
|
|
1278
|
+
"value": "Pacific/Marquesas";
|
|
1279
|
+
"label": "Marquesas Time";
|
|
1280
|
+
}, {
|
|
1281
|
+
"value": "Pacific/Gambier";
|
|
1282
|
+
"label": "Gambier Time";
|
|
1283
|
+
}, {
|
|
1284
|
+
"value": "America/Adak";
|
|
1285
|
+
"label": "Hawaii-Aleutian Time (Adak)";
|
|
1286
|
+
}, {
|
|
1287
|
+
"value": "America/Anchorage";
|
|
1288
|
+
"label": "Alaska Time - Anchorage";
|
|
1289
|
+
}, {
|
|
1290
|
+
"value": "America/Juneau";
|
|
1291
|
+
"label": "Alaska Time - Juneau";
|
|
1292
|
+
}, {
|
|
1293
|
+
"value": "America/Metlakatla";
|
|
1294
|
+
"label": "Alaska Time - Metlakatla";
|
|
1295
|
+
}, {
|
|
1296
|
+
"value": "America/Nome";
|
|
1297
|
+
"label": "Alaska Time - Nome";
|
|
1298
|
+
}, {
|
|
1299
|
+
"value": "America/Sitka";
|
|
1300
|
+
"label": "Alaska Time - Sitka";
|
|
1301
|
+
}, {
|
|
1302
|
+
"value": "America/Yakutat";
|
|
1303
|
+
"label": "Alaska Time - Yakutat";
|
|
1304
|
+
}, {
|
|
1305
|
+
"value": "Pacific/Pitcairn";
|
|
1306
|
+
"label": "Pitcairn Time";
|
|
1307
|
+
}, {
|
|
1308
|
+
"value": "America/Hermosillo";
|
|
1309
|
+
"label": "Mexican Pacific Standard Time";
|
|
1310
|
+
}, {
|
|
1311
|
+
"value": "America/Dawson_Creek";
|
|
1312
|
+
"label": "Mountain Standard Time - Dawson Creek";
|
|
1313
|
+
}, {
|
|
1314
|
+
"value": "America/Fort_Nelson";
|
|
1315
|
+
"label": "Mountain Standard Time - Fort Nelson";
|
|
1316
|
+
}, {
|
|
1317
|
+
"value": "America/Phoenix";
|
|
1318
|
+
"label": "Mountain Standard Time - Phoenix";
|
|
1319
|
+
}, {
|
|
1320
|
+
"value": "America/Los_Angeles";
|
|
1321
|
+
"label": "Pacific Time - Los Angeles";
|
|
1322
|
+
}, {
|
|
1323
|
+
"value": "America/Tijuana";
|
|
1324
|
+
"label": "Pacific Time - Tijuana";
|
|
1325
|
+
}, {
|
|
1326
|
+
"value": "America/Vancouver";
|
|
1327
|
+
"label": "Pacific Time - Vancouver";
|
|
1328
|
+
}, {
|
|
1329
|
+
"value": "America/Dawson";
|
|
1330
|
+
"label": "Yukon Time - Dawson";
|
|
1331
|
+
}, {
|
|
1332
|
+
"value": "America/Whitehorse";
|
|
1333
|
+
"label": "Yukon Time - Whitehorse";
|
|
1334
|
+
}, {
|
|
1335
|
+
"value": "America/Belize";
|
|
1336
|
+
"label": "Central Standard Time - Belize";
|
|
1337
|
+
}, {
|
|
1338
|
+
"value": "America/Costa_Rica";
|
|
1339
|
+
"label": "Central Standard Time - Costa Rica";
|
|
1340
|
+
}, {
|
|
1341
|
+
"value": "America/El_Salvador";
|
|
1342
|
+
"label": "Central Standard Time - El Salvador";
|
|
1343
|
+
}, {
|
|
1344
|
+
"value": "America/Guatemala";
|
|
1345
|
+
"label": "Central Standard Time - Guatemala";
|
|
1346
|
+
}, {
|
|
1347
|
+
"value": "America/Managua";
|
|
1348
|
+
"label": "Central Standard Time - Managua";
|
|
1349
|
+
}, {
|
|
1350
|
+
"value": "America/Regina";
|
|
1351
|
+
"label": "Central Standard Time - Regina";
|
|
1352
|
+
}, {
|
|
1353
|
+
"value": "America/Swift_Current";
|
|
1354
|
+
"label": "Central Standard Time - Swift Current";
|
|
1355
|
+
}, {
|
|
1356
|
+
"value": "America/Tegucigalpa";
|
|
1357
|
+
"label": "Central Standard Time - Tegucigalpa";
|
|
1358
|
+
}, {
|
|
1359
|
+
"value": "Pacific/Easter";
|
|
1360
|
+
"label": "Easter Island Time";
|
|
1361
|
+
}, {
|
|
1362
|
+
"value": "Pacific/Galapagos";
|
|
1363
|
+
"label": "Galapagos Time";
|
|
1364
|
+
}, {
|
|
1365
|
+
"value": "America/Chihuahua";
|
|
1366
|
+
"label": "Mexican Pacific Time - Chihuahua";
|
|
1367
|
+
}, {
|
|
1368
|
+
"value": "America/Mazatlan";
|
|
1369
|
+
"label": "Mexican Pacific Time - Mazatlan";
|
|
1370
|
+
}, {
|
|
1371
|
+
"value": "America/Boise";
|
|
1372
|
+
"label": "Mountain Time - Boise";
|
|
1373
|
+
}, {
|
|
1374
|
+
"value": "America/Cambridge_Bay";
|
|
1375
|
+
"label": "Mountain Time - Cambridge Bay";
|
|
1376
|
+
}, {
|
|
1377
|
+
"value": "America/Denver";
|
|
1378
|
+
"label": "Mountain Time - Denver";
|
|
1379
|
+
}, {
|
|
1380
|
+
"value": "America/Edmonton";
|
|
1381
|
+
"label": "Mountain Time - Edmonton";
|
|
1382
|
+
}, {
|
|
1383
|
+
"value": "America/Inuvik";
|
|
1384
|
+
"label": "Mountain Time - Inuvik";
|
|
1385
|
+
}, {
|
|
1386
|
+
"value": "America/Ojinaga";
|
|
1387
|
+
"label": "Mountain Time - Ojinaga";
|
|
1388
|
+
}, {
|
|
1389
|
+
"value": "America/Yellowknife";
|
|
1390
|
+
"label": "Mountain Time - Yellowknife";
|
|
678
1391
|
}, {
|
|
679
1392
|
"value": "America/Eirunepe";
|
|
680
1393
|
"label": "Acre Standard Time - Eirunepe";
|
|
@@ -3660,6 +4373,32 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3660
4373
|
interface GetEventContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetEventContractsResponsePayloadSchema> {
|
|
3661
4374
|
}
|
|
3662
4375
|
}
|
|
4376
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4377
|
+
interface GetFeedEmitTarget {
|
|
4378
|
+
'locationId'?: string | undefined | null;
|
|
4379
|
+
'organizationId'?: string | undefined | null;
|
|
4380
|
+
}
|
|
4381
|
+
interface GetFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
4382
|
+
id: 'getFeedEmitTarget';
|
|
4383
|
+
version: 'v2020_12_25';
|
|
4384
|
+
namespace: 'Mercury';
|
|
4385
|
+
name: '';
|
|
4386
|
+
fields: {
|
|
4387
|
+
/** . */
|
|
4388
|
+
'locationId': {
|
|
4389
|
+
type: 'id';
|
|
4390
|
+
options: undefined;
|
|
4391
|
+
};
|
|
4392
|
+
/** . */
|
|
4393
|
+
'organizationId': {
|
|
4394
|
+
type: 'id';
|
|
4395
|
+
options: undefined;
|
|
4396
|
+
};
|
|
4397
|
+
};
|
|
4398
|
+
}
|
|
4399
|
+
interface GetFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema> {
|
|
4400
|
+
}
|
|
4401
|
+
}
|
|
3663
4402
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3664
4403
|
interface GetFeedPagingRequest {
|
|
3665
4404
|
'next'?: string | undefined | null;
|
|
@@ -3749,32 +4488,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
3749
4488
|
interface GetFeedEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitPayloadSchema> {
|
|
3750
4489
|
}
|
|
3751
4490
|
}
|
|
3752
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3753
|
-
interface GetFeedEmitTarget {
|
|
3754
|
-
'locationId'?: string | undefined | null;
|
|
3755
|
-
'organizationId'?: string | undefined | null;
|
|
3756
|
-
}
|
|
3757
|
-
interface GetFeedEmitTargetSchema extends SpruceSchema.Schema {
|
|
3758
|
-
id: 'getFeedEmitTarget';
|
|
3759
|
-
version: 'v2020_12_25';
|
|
3760
|
-
namespace: 'Mercury';
|
|
3761
|
-
name: '';
|
|
3762
|
-
fields: {
|
|
3763
|
-
/** . */
|
|
3764
|
-
'locationId': {
|
|
3765
|
-
type: 'id';
|
|
3766
|
-
options: undefined;
|
|
3767
|
-
};
|
|
3768
|
-
/** . */
|
|
3769
|
-
'organizationId': {
|
|
3770
|
-
type: 'id';
|
|
3771
|
-
options: undefined;
|
|
3772
|
-
};
|
|
3773
|
-
};
|
|
3774
|
-
}
|
|
3775
|
-
interface GetFeedEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetFeedEmitTargetSchema> {
|
|
3776
|
-
}
|
|
3777
|
-
}
|
|
3778
4491
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
3779
4492
|
interface GetFeedEmitTargetAndPayload {
|
|
3780
4493
|
/** Source. */
|
|
@@ -4313,29 +5026,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4313
5026
|
interface GetResolvedPermissionsContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractEmitTargetAndPayloadSchema> {
|
|
4314
5027
|
}
|
|
4315
5028
|
}
|
|
4316
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4317
|
-
interface GetResolvedPermissionsContractRespondPayload {
|
|
4318
|
-
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
4319
|
-
}
|
|
4320
|
-
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
4321
|
-
id: 'getResolvedPermissionsContractRespondPayload';
|
|
4322
|
-
version: 'v2020_12_25';
|
|
4323
|
-
namespace: 'Mercury';
|
|
4324
|
-
name: '';
|
|
4325
|
-
fields: {
|
|
4326
|
-
/** . */
|
|
4327
|
-
'resolvedContract': {
|
|
4328
|
-
type: 'schema';
|
|
4329
|
-
isRequired: true;
|
|
4330
|
-
options: {
|
|
4331
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
4332
|
-
};
|
|
4333
|
-
};
|
|
4334
|
-
};
|
|
4335
|
-
}
|
|
4336
|
-
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
4337
|
-
}
|
|
4338
|
-
}
|
|
4339
5029
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4340
5030
|
interface ResolvedContractPermission {
|
|
4341
5031
|
'id': string;
|
|
@@ -4405,6 +5095,29 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
4405
5095
|
interface ResolvedContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema> {
|
|
4406
5096
|
}
|
|
4407
5097
|
}
|
|
5098
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5099
|
+
interface GetResolvedPermissionsContractRespondPayload {
|
|
5100
|
+
'resolvedContract': SpruceSchemas.Mercury.v2020_12_25.ResolvedContract;
|
|
5101
|
+
}
|
|
5102
|
+
interface GetResolvedPermissionsContractRespondPayloadSchema extends SpruceSchema.Schema {
|
|
5103
|
+
id: 'getResolvedPermissionsContractRespondPayload';
|
|
5104
|
+
version: 'v2020_12_25';
|
|
5105
|
+
namespace: 'Mercury';
|
|
5106
|
+
name: '';
|
|
5107
|
+
fields: {
|
|
5108
|
+
/** . */
|
|
5109
|
+
'resolvedContract': {
|
|
5110
|
+
type: 'schema';
|
|
5111
|
+
isRequired: true;
|
|
5112
|
+
options: {
|
|
5113
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ResolvedContractSchema;
|
|
5114
|
+
};
|
|
5115
|
+
};
|
|
5116
|
+
};
|
|
5117
|
+
}
|
|
5118
|
+
interface GetResolvedPermissionsContractRespondPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.GetResolvedPermissionsContractRespondPayloadSchema> {
|
|
5119
|
+
}
|
|
5120
|
+
}
|
|
4408
5121
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
4409
5122
|
interface GetRoleEmitTarget {
|
|
4410
5123
|
'roleId': string;
|
|
@@ -5067,35 +5780,88 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5067
5780
|
}
|
|
5068
5781
|
}
|
|
5069
5782
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5070
|
-
interface
|
|
5071
|
-
|
|
5072
|
-
'
|
|
5783
|
+
interface ListOrganizationsEmitTargetAndPayload {
|
|
5784
|
+
/** Source. */
|
|
5785
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
5786
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
|
|
5787
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
5073
5788
|
}
|
|
5074
|
-
interface
|
|
5075
|
-
id: '
|
|
5789
|
+
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
5790
|
+
id: 'listOrganizationsEmitTargetAndPayload';
|
|
5076
5791
|
version: 'v2020_12_25';
|
|
5077
5792
|
namespace: 'Mercury';
|
|
5078
5793
|
name: '';
|
|
5079
5794
|
fields: {
|
|
5795
|
+
/** Source. */
|
|
5796
|
+
'source': {
|
|
5797
|
+
label: 'Source';
|
|
5798
|
+
type: 'schema';
|
|
5799
|
+
options: {
|
|
5800
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
5801
|
+
};
|
|
5802
|
+
};
|
|
5080
5803
|
/** . */
|
|
5081
|
-
'
|
|
5082
|
-
type: '
|
|
5083
|
-
options:
|
|
5804
|
+
'target': {
|
|
5805
|
+
type: 'schema';
|
|
5806
|
+
options: {
|
|
5807
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
|
|
5808
|
+
};
|
|
5084
5809
|
};
|
|
5085
5810
|
/** . */
|
|
5086
|
-
'
|
|
5087
|
-
type: '
|
|
5088
|
-
|
|
5089
|
-
|
|
5811
|
+
'payload': {
|
|
5812
|
+
type: 'schema';
|
|
5813
|
+
options: {
|
|
5814
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
5815
|
+
};
|
|
5090
5816
|
};
|
|
5091
5817
|
};
|
|
5092
5818
|
}
|
|
5093
|
-
interface
|
|
5819
|
+
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
5094
5820
|
}
|
|
5095
5821
|
}
|
|
5096
5822
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5097
|
-
interface
|
|
5098
|
-
'
|
|
5823
|
+
interface ListOrgsEmitPayload {
|
|
5824
|
+
'shouldOnlyShowMine'?: boolean | undefined | null;
|
|
5825
|
+
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
5826
|
+
'shouldIncludePrivateOrganizations'?: boolean | undefined | null;
|
|
5827
|
+
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
5828
|
+
}
|
|
5829
|
+
interface ListOrgsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
5830
|
+
id: 'listOrgsEmitPayload';
|
|
5831
|
+
version: 'v2020_12_25';
|
|
5832
|
+
namespace: 'Mercury';
|
|
5833
|
+
name: '';
|
|
5834
|
+
fields: {
|
|
5835
|
+
/** . */
|
|
5836
|
+
'shouldOnlyShowMine': {
|
|
5837
|
+
type: 'boolean';
|
|
5838
|
+
options: undefined;
|
|
5839
|
+
};
|
|
5840
|
+
/** . */
|
|
5841
|
+
'shouldOnlyShowWhereIAmEmployed': {
|
|
5842
|
+
type: 'boolean';
|
|
5843
|
+
options: undefined;
|
|
5844
|
+
};
|
|
5845
|
+
/** . */
|
|
5846
|
+
'shouldIncludePrivateOrganizations': {
|
|
5847
|
+
type: 'boolean';
|
|
5848
|
+
options: undefined;
|
|
5849
|
+
};
|
|
5850
|
+
/** . */
|
|
5851
|
+
'paging': {
|
|
5852
|
+
type: 'schema';
|
|
5853
|
+
options: {
|
|
5854
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
5855
|
+
};
|
|
5856
|
+
};
|
|
5857
|
+
};
|
|
5858
|
+
}
|
|
5859
|
+
interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
|
|
5860
|
+
}
|
|
5861
|
+
}
|
|
5862
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5863
|
+
interface ListLocationsEmitPayload {
|
|
5864
|
+
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
5099
5865
|
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
5100
5866
|
}
|
|
5101
5867
|
interface ListLocationsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
@@ -5121,6 +5887,33 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5121
5887
|
interface ListLocationsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitPayloadSchema> {
|
|
5122
5888
|
}
|
|
5123
5889
|
}
|
|
5890
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5891
|
+
interface ListLocationsEmitTarget {
|
|
5892
|
+
'organizationId'?: string | undefined | null;
|
|
5893
|
+
'locationIds'?: string[] | undefined | null;
|
|
5894
|
+
}
|
|
5895
|
+
interface ListLocationsEmitTargetSchema extends SpruceSchema.Schema {
|
|
5896
|
+
id: 'listLocationsEmitTarget';
|
|
5897
|
+
version: 'v2020_12_25';
|
|
5898
|
+
namespace: 'Mercury';
|
|
5899
|
+
name: '';
|
|
5900
|
+
fields: {
|
|
5901
|
+
/** . */
|
|
5902
|
+
'organizationId': {
|
|
5903
|
+
type: 'id';
|
|
5904
|
+
options: undefined;
|
|
5905
|
+
};
|
|
5906
|
+
/** . */
|
|
5907
|
+
'locationIds': {
|
|
5908
|
+
type: 'id';
|
|
5909
|
+
isArray: true;
|
|
5910
|
+
options: undefined;
|
|
5911
|
+
};
|
|
5912
|
+
};
|
|
5913
|
+
}
|
|
5914
|
+
interface ListLocationsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListLocationsEmitTargetSchema> {
|
|
5915
|
+
}
|
|
5916
|
+
}
|
|
5124
5917
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5125
5918
|
interface ListLocationsEmitTargetAndPayload {
|
|
5126
5919
|
/** Source. */
|
|
@@ -5208,86 +6001,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5208
6001
|
interface ListOrgsEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema> {
|
|
5209
6002
|
}
|
|
5210
6003
|
}
|
|
5211
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5212
|
-
interface ListOrganizationsEmitTargetAndPayload {
|
|
5213
|
-
/** Source. */
|
|
5214
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
5215
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTarget | undefined | null;
|
|
5216
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayload | undefined | null;
|
|
5217
|
-
}
|
|
5218
|
-
interface ListOrganizationsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
5219
|
-
id: 'listOrganizationsEmitTargetAndPayload';
|
|
5220
|
-
version: 'v2020_12_25';
|
|
5221
|
-
namespace: 'Mercury';
|
|
5222
|
-
name: '';
|
|
5223
|
-
fields: {
|
|
5224
|
-
/** Source. */
|
|
5225
|
-
'source': {
|
|
5226
|
-
label: 'Source';
|
|
5227
|
-
type: 'schema';
|
|
5228
|
-
options: {
|
|
5229
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
5230
|
-
};
|
|
5231
|
-
};
|
|
5232
|
-
/** . */
|
|
5233
|
-
'target': {
|
|
5234
|
-
type: 'schema';
|
|
5235
|
-
options: {
|
|
5236
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitTargetSchema;
|
|
5237
|
-
};
|
|
5238
|
-
};
|
|
5239
|
-
/** . */
|
|
5240
|
-
'payload': {
|
|
5241
|
-
type: 'schema';
|
|
5242
|
-
options: {
|
|
5243
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema;
|
|
5244
|
-
};
|
|
5245
|
-
};
|
|
5246
|
-
};
|
|
5247
|
-
}
|
|
5248
|
-
interface ListOrganizationsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrganizationsEmitTargetAndPayloadSchema> {
|
|
5249
|
-
}
|
|
5250
|
-
}
|
|
5251
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5252
|
-
interface ListOrgsEmitPayload {
|
|
5253
|
-
'shouldOnlyShowMine'?: boolean | undefined | null;
|
|
5254
|
-
'shouldOnlyShowWhereIAmEmployed'?: boolean | undefined | null;
|
|
5255
|
-
'shouldIncludePrivateOrganizations'?: boolean | undefined | null;
|
|
5256
|
-
'paging'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequest | undefined | null;
|
|
5257
|
-
}
|
|
5258
|
-
interface ListOrgsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
5259
|
-
id: 'listOrgsEmitPayload';
|
|
5260
|
-
version: 'v2020_12_25';
|
|
5261
|
-
namespace: 'Mercury';
|
|
5262
|
-
name: '';
|
|
5263
|
-
fields: {
|
|
5264
|
-
/** . */
|
|
5265
|
-
'shouldOnlyShowMine': {
|
|
5266
|
-
type: 'boolean';
|
|
5267
|
-
options: undefined;
|
|
5268
|
-
};
|
|
5269
|
-
/** . */
|
|
5270
|
-
'shouldOnlyShowWhereIAmEmployed': {
|
|
5271
|
-
type: 'boolean';
|
|
5272
|
-
options: undefined;
|
|
5273
|
-
};
|
|
5274
|
-
/** . */
|
|
5275
|
-
'shouldIncludePrivateOrganizations': {
|
|
5276
|
-
type: 'boolean';
|
|
5277
|
-
options: undefined;
|
|
5278
|
-
};
|
|
5279
|
-
/** . */
|
|
5280
|
-
'paging': {
|
|
5281
|
-
type: 'schema';
|
|
5282
|
-
options: {
|
|
5283
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventPagingRequestSchema;
|
|
5284
|
-
};
|
|
5285
|
-
};
|
|
5286
|
-
};
|
|
5287
|
-
}
|
|
5288
|
-
interface ListOrgsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListOrgsEmitPayloadSchema> {
|
|
5289
|
-
}
|
|
5290
|
-
}
|
|
5291
6004
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5292
6005
|
interface ListOrgsResponsePayload {
|
|
5293
6006
|
'organizations': SpruceSchemas.Spruce.v2020_07_22.Organization[];
|
|
@@ -5380,6 +6093,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
5380
6093
|
interface ListPeopleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema> {
|
|
5381
6094
|
}
|
|
5382
6095
|
}
|
|
6096
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
6097
|
+
interface ListPeopleEmitTargetAndPayload {
|
|
6098
|
+
/** Source. */
|
|
6099
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
6100
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTarget | undefined | null;
|
|
6101
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayload | undefined | null;
|
|
6102
|
+
}
|
|
6103
|
+
interface ListPeopleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
6104
|
+
id: 'listPeopleEmitTargetAndPayload';
|
|
6105
|
+
version: 'v2020_12_25';
|
|
6106
|
+
namespace: 'Mercury';
|
|
6107
|
+
name: '';
|
|
6108
|
+
fields: {
|
|
6109
|
+
/** Source. */
|
|
6110
|
+
'source': {
|
|
6111
|
+
label: 'Source';
|
|
6112
|
+
type: 'schema';
|
|
6113
|
+
options: {
|
|
6114
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
6115
|
+
};
|
|
6116
|
+
};
|
|
6117
|
+
/** . */
|
|
6118
|
+
'target': {
|
|
6119
|
+
type: 'schema';
|
|
6120
|
+
options: {
|
|
6121
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetSchema;
|
|
6122
|
+
};
|
|
6123
|
+
};
|
|
6124
|
+
/** . */
|
|
6125
|
+
'payload': {
|
|
6126
|
+
type: 'schema';
|
|
6127
|
+
options: {
|
|
6128
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitPayloadSchema;
|
|
6129
|
+
};
|
|
6130
|
+
};
|
|
6131
|
+
};
|
|
6132
|
+
}
|
|
6133
|
+
interface ListPeopleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.ListPeopleEmitTargetAndPayloadSchema> {
|
|
6134
|
+
}
|
|
6135
|
+
}
|
|
5383
6136
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
5384
6137
|
interface ListPerson {
|
|
5385
6138
|
/** Id. */
|
|
@@ -7126,39 +7879,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7126
7879
|
interface LogoutResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.LogoutResponsePayloadSchema> {
|
|
7127
7880
|
}
|
|
7128
7881
|
}
|
|
7129
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7130
|
-
interface RegisterConversationTopicsEmitTargetAndPayload {
|
|
7131
|
-
/** Source. */
|
|
7132
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7133
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayload;
|
|
7134
|
-
}
|
|
7135
|
-
interface RegisterConversationTopicsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7136
|
-
id: 'registerConversationTopicsEmitTargetAndPayload';
|
|
7137
|
-
version: 'v2020_12_25';
|
|
7138
|
-
namespace: 'Mercury';
|
|
7139
|
-
name: '';
|
|
7140
|
-
fields: {
|
|
7141
|
-
/** Source. */
|
|
7142
|
-
'source': {
|
|
7143
|
-
label: 'Source';
|
|
7144
|
-
type: 'schema';
|
|
7145
|
-
options: {
|
|
7146
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7147
|
-
};
|
|
7148
|
-
};
|
|
7149
|
-
/** . */
|
|
7150
|
-
'payload': {
|
|
7151
|
-
type: 'schema';
|
|
7152
|
-
isRequired: true;
|
|
7153
|
-
options: {
|
|
7154
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema;
|
|
7155
|
-
};
|
|
7156
|
-
};
|
|
7157
|
-
};
|
|
7158
|
-
}
|
|
7159
|
-
interface RegisterConversationTopicsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitTargetAndPayloadSchema> {
|
|
7160
|
-
}
|
|
7161
|
-
}
|
|
7162
7882
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7163
7883
|
interface RegisterConversationTopicEmitPayloadTopic {
|
|
7164
7884
|
/** Key. A way to identify this topic, must be unique for your skill. */
|
|
@@ -7207,6 +7927,39 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7207
7927
|
interface RegisterConversationTopicsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema> {
|
|
7208
7928
|
}
|
|
7209
7929
|
}
|
|
7930
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7931
|
+
interface RegisterConversationTopicsEmitTargetAndPayload {
|
|
7932
|
+
/** Source. */
|
|
7933
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7934
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayload;
|
|
7935
|
+
}
|
|
7936
|
+
interface RegisterConversationTopicsEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
7937
|
+
id: 'registerConversationTopicsEmitTargetAndPayload';
|
|
7938
|
+
version: 'v2020_12_25';
|
|
7939
|
+
namespace: 'Mercury';
|
|
7940
|
+
name: '';
|
|
7941
|
+
fields: {
|
|
7942
|
+
/** Source. */
|
|
7943
|
+
'source': {
|
|
7944
|
+
label: 'Source';
|
|
7945
|
+
type: 'schema';
|
|
7946
|
+
options: {
|
|
7947
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
7948
|
+
};
|
|
7949
|
+
};
|
|
7950
|
+
/** . */
|
|
7951
|
+
'payload': {
|
|
7952
|
+
type: 'schema';
|
|
7953
|
+
isRequired: true;
|
|
7954
|
+
options: {
|
|
7955
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitPayloadSchema;
|
|
7956
|
+
};
|
|
7957
|
+
};
|
|
7958
|
+
};
|
|
7959
|
+
}
|
|
7960
|
+
interface RegisterConversationTopicsEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.RegisterConversationTopicsEmitTargetAndPayloadSchema> {
|
|
7961
|
+
}
|
|
7962
|
+
}
|
|
7210
7963
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7211
7964
|
interface RegisterConversationTopicsResponsePayload {
|
|
7212
7965
|
}
|
|
@@ -7788,7 +8541,32 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7788
8541
|
}
|
|
7789
8542
|
}
|
|
7790
8543
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7791
|
-
interface
|
|
8544
|
+
interface SavePermissionsEmitPayload {
|
|
8545
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermission[];
|
|
8546
|
+
}
|
|
8547
|
+
interface SavePermissionsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
8548
|
+
id: 'savePermissionsEmitPayload';
|
|
8549
|
+
version: 'v2020_12_25';
|
|
8550
|
+
namespace: 'Mercury';
|
|
8551
|
+
name: '';
|
|
8552
|
+
fields: {
|
|
8553
|
+
/** . */
|
|
8554
|
+
'permissions': {
|
|
8555
|
+
type: 'schema';
|
|
8556
|
+
isRequired: true;
|
|
8557
|
+
isArray: true;
|
|
8558
|
+
minArrayLength: 1;
|
|
8559
|
+
options: {
|
|
8560
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema;
|
|
8561
|
+
};
|
|
8562
|
+
};
|
|
8563
|
+
};
|
|
8564
|
+
}
|
|
8565
|
+
interface SavePermissionsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema> {
|
|
8566
|
+
}
|
|
8567
|
+
}
|
|
8568
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8569
|
+
interface SavePermissionsEmitTargetAndPayload {
|
|
7792
8570
|
/** Source. */
|
|
7793
8571
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
7794
8572
|
'target': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitTarget;
|
|
@@ -7862,31 +8640,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
7862
8640
|
interface SavePermissionsPermissionEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema> {
|
|
7863
8641
|
}
|
|
7864
8642
|
}
|
|
7865
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7866
|
-
interface SavePermissionsEmitPayload {
|
|
7867
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermission[];
|
|
7868
|
-
}
|
|
7869
|
-
interface SavePermissionsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
7870
|
-
id: 'savePermissionsEmitPayload';
|
|
7871
|
-
version: 'v2020_12_25';
|
|
7872
|
-
namespace: 'Mercury';
|
|
7873
|
-
name: '';
|
|
7874
|
-
fields: {
|
|
7875
|
-
/** . */
|
|
7876
|
-
'permissions': {
|
|
7877
|
-
type: 'schema';
|
|
7878
|
-
isRequired: true;
|
|
7879
|
-
isArray: true;
|
|
7880
|
-
minArrayLength: 1;
|
|
7881
|
-
options: {
|
|
7882
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SavePermissionsPermissionSchema;
|
|
7883
|
-
};
|
|
7884
|
-
};
|
|
7885
|
-
};
|
|
7886
|
-
}
|
|
7887
|
-
interface SavePermissionsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SavePermissionsEmitPayloadSchema> {
|
|
7888
|
-
}
|
|
7889
|
-
}
|
|
7890
8643
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
7891
8644
|
interface SavePermissionsResponsePayload {
|
|
7892
8645
|
'success': boolean;
|
|
@@ -8023,6 +8776,47 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8023
8776
|
interface SendMessageTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema> {
|
|
8024
8777
|
}
|
|
8025
8778
|
}
|
|
8779
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8780
|
+
interface SendMessageEmitTargetAndPayload {
|
|
8781
|
+
/** Source. */
|
|
8782
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8783
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8784
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8785
|
+
}
|
|
8786
|
+
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8787
|
+
id: 'sendMessageEmitTargetAndPayload';
|
|
8788
|
+
version: 'v2020_12_25';
|
|
8789
|
+
namespace: 'Mercury';
|
|
8790
|
+
name: '';
|
|
8791
|
+
fields: {
|
|
8792
|
+
/** Source. */
|
|
8793
|
+
'source': {
|
|
8794
|
+
label: 'Source';
|
|
8795
|
+
type: 'schema';
|
|
8796
|
+
options: {
|
|
8797
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8798
|
+
};
|
|
8799
|
+
};
|
|
8800
|
+
/** . */
|
|
8801
|
+
'target': {
|
|
8802
|
+
type: 'schema';
|
|
8803
|
+
options: {
|
|
8804
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8805
|
+
};
|
|
8806
|
+
};
|
|
8807
|
+
/** . */
|
|
8808
|
+
'payload': {
|
|
8809
|
+
type: 'schema';
|
|
8810
|
+
isRequired: true;
|
|
8811
|
+
options: {
|
|
8812
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8813
|
+
};
|
|
8814
|
+
};
|
|
8815
|
+
};
|
|
8816
|
+
}
|
|
8817
|
+
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8818
|
+
}
|
|
8819
|
+
}
|
|
8026
8820
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8027
8821
|
interface SendMessageMessagePayload {
|
|
8028
8822
|
/** . An arbitrary id that can be used to track this message when being sent and not yet assigned an Id. */
|
|
@@ -8130,47 +8924,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8130
8924
|
interface SendMessageEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema> {
|
|
8131
8925
|
}
|
|
8132
8926
|
}
|
|
8133
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8134
|
-
interface SendMessageEmitTargetAndPayload {
|
|
8135
|
-
/** Source. */
|
|
8136
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
8137
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.SendMessageTarget | undefined | null;
|
|
8138
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayload;
|
|
8139
|
-
}
|
|
8140
|
-
interface SendMessageEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
8141
|
-
id: 'sendMessageEmitTargetAndPayload';
|
|
8142
|
-
version: 'v2020_12_25';
|
|
8143
|
-
namespace: 'Mercury';
|
|
8144
|
-
name: '';
|
|
8145
|
-
fields: {
|
|
8146
|
-
/** Source. */
|
|
8147
|
-
'source': {
|
|
8148
|
-
label: 'Source';
|
|
8149
|
-
type: 'schema';
|
|
8150
|
-
options: {
|
|
8151
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
8152
|
-
};
|
|
8153
|
-
};
|
|
8154
|
-
/** . */
|
|
8155
|
-
'target': {
|
|
8156
|
-
type: 'schema';
|
|
8157
|
-
options: {
|
|
8158
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageTargetSchema;
|
|
8159
|
-
};
|
|
8160
|
-
};
|
|
8161
|
-
/** . */
|
|
8162
|
-
'payload': {
|
|
8163
|
-
type: 'schema';
|
|
8164
|
-
isRequired: true;
|
|
8165
|
-
options: {
|
|
8166
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitPayloadSchema;
|
|
8167
|
-
};
|
|
8168
|
-
};
|
|
8169
|
-
};
|
|
8170
|
-
}
|
|
8171
|
-
interface SendMessageEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SendMessageEmitTargetAndPayloadSchema> {
|
|
8172
|
-
}
|
|
8173
|
-
}
|
|
8174
8927
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8175
8928
|
interface SendMessageResponsePayload {
|
|
8176
8929
|
'message': SpruceSchemas.Spruce.v2020_07_22.Message;
|
|
@@ -8392,6 +9145,31 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8392
9145
|
interface SyncPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsEmitPayloadSchema> {
|
|
8393
9146
|
}
|
|
8394
9147
|
}
|
|
9148
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
9149
|
+
interface SyncPermissionContractsResponsePayload {
|
|
9150
|
+
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
9151
|
+
}
|
|
9152
|
+
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
9153
|
+
id: 'syncPermissionContractsResponsePayload';
|
|
9154
|
+
version: 'v2020_12_25';
|
|
9155
|
+
namespace: 'Mercury';
|
|
9156
|
+
name: '';
|
|
9157
|
+
fields: {
|
|
9158
|
+
/** . */
|
|
9159
|
+
'contractRecords': {
|
|
9160
|
+
type: 'schema';
|
|
9161
|
+
isRequired: true;
|
|
9162
|
+
isArray: true;
|
|
9163
|
+
minArrayLength: 0;
|
|
9164
|
+
options: {
|
|
9165
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
9166
|
+
};
|
|
9167
|
+
};
|
|
9168
|
+
};
|
|
9169
|
+
}
|
|
9170
|
+
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
9171
|
+
}
|
|
9172
|
+
}
|
|
8395
9173
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8396
9174
|
interface SyncPermissionContractsEmitTargetAndPayload {
|
|
8397
9175
|
/** Source. */
|
|
@@ -8477,31 +9255,6 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
8477
9255
|
interface FullPermissionContractEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema> {
|
|
8478
9256
|
}
|
|
8479
9257
|
}
|
|
8480
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8481
|
-
interface SyncPermissionContractsResponsePayload {
|
|
8482
|
-
'contractRecords': SpruceSchemas.Mercury.v2020_12_25.FullPermissionContract[];
|
|
8483
|
-
}
|
|
8484
|
-
interface SyncPermissionContractsResponsePayloadSchema extends SpruceSchema.Schema {
|
|
8485
|
-
id: 'syncPermissionContractsResponsePayload';
|
|
8486
|
-
version: 'v2020_12_25';
|
|
8487
|
-
namespace: 'Mercury';
|
|
8488
|
-
name: '';
|
|
8489
|
-
fields: {
|
|
8490
|
-
/** . */
|
|
8491
|
-
'contractRecords': {
|
|
8492
|
-
type: 'schema';
|
|
8493
|
-
isRequired: true;
|
|
8494
|
-
isArray: true;
|
|
8495
|
-
minArrayLength: 0;
|
|
8496
|
-
options: {
|
|
8497
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.FullPermissionContractSchema;
|
|
8498
|
-
};
|
|
8499
|
-
};
|
|
8500
|
-
};
|
|
8501
|
-
}
|
|
8502
|
-
interface SyncPermissionContractsResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.SyncPermissionContractsResponsePayloadSchema> {
|
|
8503
|
-
}
|
|
8504
|
-
}
|
|
8505
9258
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
8506
9259
|
interface UnInstallSkillEmitTarget {
|
|
8507
9260
|
'skillId': string;
|
|
@@ -11308,872 +12061,77 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11308
12061
|
"value": "Pacific/Tarawa";
|
|
11309
12062
|
"label": "Gilbert Islands Time";
|
|
11310
12063
|
}, {
|
|
11311
|
-
"value": "Pacific/Kwajalein";
|
|
11312
|
-
"label": "Marshall Islands Time - Kwajalein";
|
|
11313
|
-
}, {
|
|
11314
|
-
"value": "Pacific/Majuro";
|
|
11315
|
-
"label": "Marshall Islands Time - Majuro";
|
|
11316
|
-
}, {
|
|
11317
|
-
"value": "Pacific/Nauru";
|
|
11318
|
-
"label": "Nauru Time";
|
|
11319
|
-
}, {
|
|
11320
|
-
"value": "Pacific/Auckland";
|
|
11321
|
-
"label": "New Zealand Time";
|
|
11322
|
-
}, {
|
|
11323
|
-
"value": "Asia/Kamchatka";
|
|
11324
|
-
"label": "Petropavlovsk-Kamchatski Standard Time";
|
|
11325
|
-
}, {
|
|
11326
|
-
"value": "Pacific/Funafuti";
|
|
11327
|
-
"label": "Tuvalu Time";
|
|
11328
|
-
}, {
|
|
11329
|
-
"value": "Pacific/Wake";
|
|
11330
|
-
"label": "Wake Island Time";
|
|
11331
|
-
}, {
|
|
11332
|
-
"value": "Pacific/Wallis";
|
|
11333
|
-
"label": "Wallis & Futuna Time";
|
|
11334
|
-
}, {
|
|
11335
|
-
"value": "Pacific/Chatham";
|
|
11336
|
-
"label": "Chatham Time";
|
|
11337
|
-
}, {
|
|
11338
|
-
"value": "Pacific/Apia";
|
|
11339
|
-
"label": "Apia Standard Time";
|
|
11340
|
-
}, {
|
|
11341
|
-
"value": "Pacific/Fakaofo";
|
|
11342
|
-
"label": "Tokelau Time";
|
|
11343
|
-
}, {
|
|
11344
|
-
"value": "Pacific/Tongatapu";
|
|
11345
|
-
"label": "Tonga Standard Time";
|
|
11346
|
-
}, {
|
|
11347
|
-
"value": "Pacific/Kiritimati";
|
|
11348
|
-
"label": "Line Islands Time";
|
|
11349
|
-
}];
|
|
11350
|
-
};
|
|
11351
|
-
};
|
|
11352
|
-
/** Avatar src. */
|
|
11353
|
-
'avatar': {
|
|
11354
|
-
label: 'Avatar src';
|
|
11355
|
-
type: 'image';
|
|
11356
|
-
options: {
|
|
11357
|
-
requiredSizes: ["*"];
|
|
11358
|
-
};
|
|
11359
|
-
};
|
|
11360
|
-
/** Phone. A number that can be texted */
|
|
11361
|
-
'phone': {
|
|
11362
|
-
label: 'Phone';
|
|
11363
|
-
type: 'phone';
|
|
11364
|
-
isPrivate: true;
|
|
11365
|
-
hint: 'A number that can be texted';
|
|
11366
|
-
options: undefined;
|
|
11367
|
-
};
|
|
11368
|
-
};
|
|
11369
|
-
}
|
|
11370
|
-
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
11371
|
-
}
|
|
11372
|
-
}
|
|
11373
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11374
|
-
interface UpdatePersonEmitTargetAndPayload {
|
|
11375
|
-
/** Source. */
|
|
11376
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11377
|
-
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
11378
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
11379
|
-
}
|
|
11380
|
-
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11381
|
-
id: 'updatePersonEmitTargetAndPayload';
|
|
11382
|
-
version: 'v2020_12_25';
|
|
11383
|
-
namespace: 'Mercury';
|
|
11384
|
-
name: '';
|
|
11385
|
-
fields: {
|
|
11386
|
-
/** Source. */
|
|
11387
|
-
'source': {
|
|
11388
|
-
label: 'Source';
|
|
11389
|
-
type: 'schema';
|
|
11390
|
-
options: {
|
|
11391
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11392
|
-
};
|
|
11393
|
-
};
|
|
11394
|
-
/** . */
|
|
11395
|
-
'target': {
|
|
11396
|
-
type: 'schema';
|
|
11397
|
-
options: {
|
|
11398
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
11399
|
-
};
|
|
11400
|
-
};
|
|
11401
|
-
/** . */
|
|
11402
|
-
'payload': {
|
|
11403
|
-
type: 'schema';
|
|
11404
|
-
options: {
|
|
11405
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
11406
|
-
};
|
|
11407
|
-
};
|
|
11408
|
-
};
|
|
11409
|
-
}
|
|
11410
|
-
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
11411
|
-
}
|
|
11412
|
-
}
|
|
11413
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11414
|
-
interface UpdatePersonResponsePayload {
|
|
11415
|
-
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
11416
|
-
}
|
|
11417
|
-
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11418
|
-
id: 'updatePersonResponsePayload';
|
|
11419
|
-
version: 'v2020_12_25';
|
|
11420
|
-
namespace: 'Mercury';
|
|
11421
|
-
name: '';
|
|
11422
|
-
fields: {
|
|
11423
|
-
/** . */
|
|
11424
|
-
'person': {
|
|
11425
|
-
type: 'schema';
|
|
11426
|
-
isRequired: true;
|
|
11427
|
-
options: {
|
|
11428
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
11429
|
-
};
|
|
11430
|
-
};
|
|
11431
|
-
};
|
|
11432
|
-
}
|
|
11433
|
-
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
11434
|
-
}
|
|
11435
|
-
}
|
|
11436
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11437
|
-
interface UpdateRoleEmitTarget {
|
|
11438
|
-
'roleId': string;
|
|
11439
|
-
}
|
|
11440
|
-
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
11441
|
-
id: 'updateRoleEmitTarget';
|
|
11442
|
-
version: 'v2020_12_25';
|
|
11443
|
-
namespace: 'Mercury';
|
|
11444
|
-
name: '';
|
|
11445
|
-
fields: {
|
|
11446
|
-
/** . */
|
|
11447
|
-
'roleId': {
|
|
11448
|
-
type: 'id';
|
|
11449
|
-
isRequired: true;
|
|
11450
|
-
options: undefined;
|
|
11451
|
-
};
|
|
11452
|
-
};
|
|
11453
|
-
}
|
|
11454
|
-
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
11455
|
-
}
|
|
11456
|
-
}
|
|
11457
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11458
|
-
interface UpdateRoleEmitPayload {
|
|
11459
|
-
/** Name. */
|
|
11460
|
-
'name'?: string | undefined | null;
|
|
11461
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11462
|
-
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
11463
|
-
/** Description. */
|
|
11464
|
-
'description'?: string | undefined | null;
|
|
11465
|
-
'dateDeleted'?: number | undefined | null;
|
|
11466
|
-
'organizationId'?: string | undefined | null;
|
|
11467
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
11468
|
-
'isPublic'?: boolean | undefined | null;
|
|
11469
|
-
}
|
|
11470
|
-
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11471
|
-
id: 'updateRoleEmitPayload';
|
|
11472
|
-
version: 'v2020_12_25';
|
|
11473
|
-
namespace: 'Mercury';
|
|
11474
|
-
name: '';
|
|
11475
|
-
fields: {
|
|
11476
|
-
/** Name. */
|
|
11477
|
-
'name': {
|
|
11478
|
-
label: 'Name';
|
|
11479
|
-
type: 'text';
|
|
11480
|
-
options: undefined;
|
|
11481
|
-
};
|
|
11482
|
-
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
11483
|
-
'base': {
|
|
11484
|
-
label: 'Base';
|
|
11485
|
-
type: 'select';
|
|
11486
|
-
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
11487
|
-
options: {
|
|
11488
|
-
choices: [{
|
|
11489
|
-
"label": "Owner";
|
|
11490
|
-
"value": "owner";
|
|
11491
|
-
}, {
|
|
11492
|
-
"label": "Group manager";
|
|
11493
|
-
"value": "groupManager";
|
|
11494
|
-
}, {
|
|
11495
|
-
"label": "Manager";
|
|
11496
|
-
"value": "manager";
|
|
11497
|
-
}, {
|
|
11498
|
-
"label": "Teammate";
|
|
11499
|
-
"value": "teammate";
|
|
11500
|
-
}, {
|
|
11501
|
-
"label": "Anonymous";
|
|
11502
|
-
"value": "anonymous";
|
|
11503
|
-
}, {
|
|
11504
|
-
"label": "Logged in";
|
|
11505
|
-
"value": "loggedIn";
|
|
11506
|
-
}, {
|
|
11507
|
-
"label": "Guest";
|
|
11508
|
-
"value": "guest";
|
|
11509
|
-
}];
|
|
11510
|
-
};
|
|
11511
|
-
};
|
|
11512
|
-
/** Description. */
|
|
11513
|
-
'description': {
|
|
11514
|
-
label: 'Description';
|
|
11515
|
-
type: 'text';
|
|
11516
|
-
options: undefined;
|
|
11517
|
-
};
|
|
11518
|
-
/** . */
|
|
11519
|
-
'dateDeleted': {
|
|
11520
|
-
type: 'number';
|
|
11521
|
-
options: undefined;
|
|
11522
|
-
};
|
|
11523
|
-
/** . */
|
|
11524
|
-
'organizationId': {
|
|
11525
|
-
type: 'id';
|
|
11526
|
-
options: undefined;
|
|
11527
|
-
};
|
|
11528
|
-
/** Public. Should I let people that are not part of this organization this role? */
|
|
11529
|
-
'isPublic': {
|
|
11530
|
-
label: 'Public';
|
|
11531
|
-
type: 'boolean';
|
|
11532
|
-
hint: 'Should I let people that are not part of this organization this role?';
|
|
11533
|
-
options: undefined;
|
|
11534
|
-
};
|
|
11535
|
-
};
|
|
11536
|
-
}
|
|
11537
|
-
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
11538
|
-
}
|
|
11539
|
-
}
|
|
11540
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11541
|
-
interface UpdateRoleEmitTargetAndPayload {
|
|
11542
|
-
/** Source. */
|
|
11543
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11544
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
11545
|
-
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
11546
|
-
}
|
|
11547
|
-
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11548
|
-
id: 'updateRoleEmitTargetAndPayload';
|
|
11549
|
-
version: 'v2020_12_25';
|
|
11550
|
-
namespace: 'Mercury';
|
|
11551
|
-
name: '';
|
|
11552
|
-
fields: {
|
|
11553
|
-
/** Source. */
|
|
11554
|
-
'source': {
|
|
11555
|
-
label: 'Source';
|
|
11556
|
-
type: 'schema';
|
|
11557
|
-
options: {
|
|
11558
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11559
|
-
};
|
|
11560
|
-
};
|
|
11561
|
-
/** . */
|
|
11562
|
-
'target': {
|
|
11563
|
-
type: 'schema';
|
|
11564
|
-
isRequired: true;
|
|
11565
|
-
options: {
|
|
11566
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
11567
|
-
};
|
|
11568
|
-
};
|
|
11569
|
-
/** . */
|
|
11570
|
-
'payload': {
|
|
11571
|
-
type: 'schema';
|
|
11572
|
-
options: {
|
|
11573
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
11574
|
-
};
|
|
11575
|
-
};
|
|
11576
|
-
};
|
|
11577
|
-
}
|
|
11578
|
-
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
11579
|
-
}
|
|
11580
|
-
}
|
|
11581
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11582
|
-
interface UpdateRoleResponsePayload {
|
|
11583
|
-
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
11584
|
-
}
|
|
11585
|
-
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11586
|
-
id: 'updateRoleResponsePayload';
|
|
11587
|
-
version: 'v2020_12_25';
|
|
11588
|
-
namespace: 'Mercury';
|
|
11589
|
-
name: '';
|
|
11590
|
-
fields: {
|
|
11591
|
-
/** . */
|
|
11592
|
-
'role': {
|
|
11593
|
-
type: 'schema';
|
|
11594
|
-
isRequired: true;
|
|
11595
|
-
options: {
|
|
11596
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
11597
|
-
};
|
|
11598
|
-
};
|
|
11599
|
-
};
|
|
11600
|
-
}
|
|
11601
|
-
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
11602
|
-
}
|
|
11603
|
-
}
|
|
11604
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11605
|
-
interface UpsertPermissionContractEmitTarget {
|
|
11606
|
-
'organizationId': string;
|
|
11607
|
-
'permissionContractId': string;
|
|
11608
|
-
'roleId': string;
|
|
11609
|
-
'skillId'?: string | undefined | null;
|
|
11610
|
-
}
|
|
11611
|
-
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
11612
|
-
id: 'upsertPermissionContractEmitTarget';
|
|
11613
|
-
version: 'v2020_12_25';
|
|
11614
|
-
namespace: 'Mercury';
|
|
11615
|
-
name: '';
|
|
11616
|
-
fields: {
|
|
11617
|
-
/** . */
|
|
11618
|
-
'organizationId': {
|
|
11619
|
-
type: 'id';
|
|
11620
|
-
isRequired: true;
|
|
11621
|
-
options: undefined;
|
|
11622
|
-
};
|
|
11623
|
-
/** . */
|
|
11624
|
-
'permissionContractId': {
|
|
11625
|
-
type: 'id';
|
|
11626
|
-
isRequired: true;
|
|
11627
|
-
options: undefined;
|
|
11628
|
-
};
|
|
11629
|
-
/** . */
|
|
11630
|
-
'roleId': {
|
|
11631
|
-
type: 'id';
|
|
11632
|
-
isRequired: true;
|
|
11633
|
-
options: undefined;
|
|
11634
|
-
};
|
|
11635
|
-
/** . */
|
|
11636
|
-
'skillId': {
|
|
11637
|
-
type: 'id';
|
|
11638
|
-
options: undefined;
|
|
11639
|
-
};
|
|
11640
|
-
};
|
|
11641
|
-
}
|
|
11642
|
-
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
11643
|
-
}
|
|
11644
|
-
}
|
|
11645
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11646
|
-
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
11647
|
-
/** Source. */
|
|
11648
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11649
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
11650
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
11651
|
-
}
|
|
11652
|
-
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11653
|
-
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
11654
|
-
version: 'v2020_12_25';
|
|
11655
|
-
namespace: 'Mercury';
|
|
11656
|
-
name: '';
|
|
11657
|
-
fields: {
|
|
11658
|
-
/** Source. */
|
|
11659
|
-
'source': {
|
|
11660
|
-
label: 'Source';
|
|
11661
|
-
type: 'schema';
|
|
11662
|
-
options: {
|
|
11663
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11664
|
-
};
|
|
11665
|
-
};
|
|
11666
|
-
/** . */
|
|
11667
|
-
'target': {
|
|
11668
|
-
type: 'schema';
|
|
11669
|
-
isRequired: true;
|
|
11670
|
-
options: {
|
|
11671
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
11672
|
-
};
|
|
11673
|
-
};
|
|
11674
|
-
/** . */
|
|
11675
|
-
'payload': {
|
|
11676
|
-
type: 'schema';
|
|
11677
|
-
isRequired: true;
|
|
11678
|
-
options: {
|
|
11679
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
11680
|
-
};
|
|
11681
|
-
};
|
|
11682
|
-
};
|
|
11683
|
-
}
|
|
11684
|
-
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
11685
|
-
}
|
|
11686
|
-
}
|
|
11687
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11688
|
-
interface UpsertPermissionContractsEmitPayload {
|
|
11689
|
-
/** Name. Human readable name for this contract */
|
|
11690
|
-
'name': string;
|
|
11691
|
-
/** Description. */
|
|
11692
|
-
'description'?: string | undefined | null;
|
|
11693
|
-
/** Require all permissions. */
|
|
11694
|
-
'requireAllPermissions'?: boolean | undefined | null;
|
|
11695
|
-
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
11696
|
-
}
|
|
11697
|
-
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11698
|
-
id: 'upsertPermissionContractsEmitPayload';
|
|
11699
|
-
version: 'v2020_12_25';
|
|
11700
|
-
namespace: 'Mercury';
|
|
11701
|
-
name: '';
|
|
11702
|
-
fields: {
|
|
11703
|
-
/** Name. Human readable name for this contract */
|
|
11704
|
-
'name': {
|
|
11705
|
-
label: 'Name';
|
|
11706
|
-
type: 'text';
|
|
11707
|
-
isRequired: true;
|
|
11708
|
-
hint: 'Human readable name for this contract';
|
|
11709
|
-
options: undefined;
|
|
11710
|
-
};
|
|
11711
|
-
/** Description. */
|
|
11712
|
-
'description': {
|
|
11713
|
-
label: 'Description';
|
|
11714
|
-
type: 'text';
|
|
11715
|
-
options: undefined;
|
|
11716
|
-
};
|
|
11717
|
-
/** Require all permissions. */
|
|
11718
|
-
'requireAllPermissions': {
|
|
11719
|
-
label: 'Require all permissions';
|
|
11720
|
-
type: 'boolean';
|
|
11721
|
-
defaultValue: false;
|
|
11722
|
-
options: undefined;
|
|
11723
|
-
};
|
|
11724
|
-
/** . */
|
|
11725
|
-
'permissions': {
|
|
11726
|
-
type: 'schema';
|
|
11727
|
-
isRequired: true;
|
|
11728
|
-
isArray: true;
|
|
11729
|
-
minArrayLength: 0;
|
|
11730
|
-
options: {
|
|
11731
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
11732
|
-
};
|
|
11733
|
-
};
|
|
11734
|
-
};
|
|
11735
|
-
}
|
|
11736
|
-
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
11737
|
-
}
|
|
11738
|
-
}
|
|
11739
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11740
|
-
interface UpsertPermissionContractResponsePayload {
|
|
11741
|
-
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
11742
|
-
}
|
|
11743
|
-
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11744
|
-
id: 'upsertPermissionContractResponsePayload';
|
|
11745
|
-
version: 'v2020_12_25';
|
|
11746
|
-
namespace: 'Mercury';
|
|
11747
|
-
name: '';
|
|
11748
|
-
fields: {
|
|
11749
|
-
/** . */
|
|
11750
|
-
'permissionContract': {
|
|
11751
|
-
type: 'schema';
|
|
11752
|
-
isRequired: true;
|
|
11753
|
-
options: {
|
|
11754
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
11755
|
-
};
|
|
11756
|
-
};
|
|
11757
|
-
};
|
|
11758
|
-
}
|
|
11759
|
-
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
11760
|
-
}
|
|
11761
|
-
}
|
|
11762
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11763
|
-
interface VoteForFeatureEmitPayload {
|
|
11764
|
-
'featureKey': string;
|
|
11765
|
-
'skillNamespace': string;
|
|
11766
|
-
}
|
|
11767
|
-
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11768
|
-
id: 'voteForFeatureEmitPayload';
|
|
11769
|
-
version: 'v2020_12_25';
|
|
11770
|
-
namespace: 'Mercury';
|
|
11771
|
-
name: '';
|
|
11772
|
-
fields: {
|
|
11773
|
-
/** . */
|
|
11774
|
-
'featureKey': {
|
|
11775
|
-
type: 'id';
|
|
11776
|
-
isRequired: true;
|
|
11777
|
-
options: undefined;
|
|
11778
|
-
};
|
|
11779
|
-
/** . */
|
|
11780
|
-
'skillNamespace': {
|
|
11781
|
-
type: 'id';
|
|
11782
|
-
isRequired: true;
|
|
11783
|
-
options: undefined;
|
|
11784
|
-
};
|
|
11785
|
-
};
|
|
11786
|
-
}
|
|
11787
|
-
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
11788
|
-
}
|
|
11789
|
-
}
|
|
11790
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11791
|
-
interface VoteForFeatureEmitTargetAndPayload {
|
|
11792
|
-
/** Source. */
|
|
11793
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11794
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
11795
|
-
}
|
|
11796
|
-
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11797
|
-
id: 'voteForFeatureEmitTargetAndPayload';
|
|
11798
|
-
version: 'v2020_12_25';
|
|
11799
|
-
namespace: 'Mercury';
|
|
11800
|
-
name: '';
|
|
11801
|
-
fields: {
|
|
11802
|
-
/** Source. */
|
|
11803
|
-
'source': {
|
|
11804
|
-
label: 'Source';
|
|
11805
|
-
type: 'schema';
|
|
11806
|
-
options: {
|
|
11807
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11808
|
-
};
|
|
11809
|
-
};
|
|
11810
|
-
/** . */
|
|
11811
|
-
'payload': {
|
|
11812
|
-
type: 'schema';
|
|
11813
|
-
isRequired: true;
|
|
11814
|
-
options: {
|
|
11815
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
11816
|
-
};
|
|
11817
|
-
};
|
|
11818
|
-
};
|
|
11819
|
-
}
|
|
11820
|
-
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
11821
|
-
}
|
|
11822
|
-
}
|
|
11823
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11824
|
-
interface VoteForFeatureResponsePayload {
|
|
11825
|
-
'totalVotes': number;
|
|
11826
|
-
}
|
|
11827
|
-
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11828
|
-
id: 'voteForFeatureResponsePayload';
|
|
11829
|
-
version: 'v2020_12_25';
|
|
11830
|
-
namespace: 'Mercury';
|
|
11831
|
-
name: '';
|
|
11832
|
-
fields: {
|
|
11833
|
-
/** . */
|
|
11834
|
-
'totalVotes': {
|
|
11835
|
-
type: 'number';
|
|
11836
|
-
isRequired: true;
|
|
11837
|
-
options: undefined;
|
|
11838
|
-
};
|
|
11839
|
-
};
|
|
11840
|
-
}
|
|
11841
|
-
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
11842
|
-
}
|
|
11843
|
-
}
|
|
11844
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11845
|
-
interface WhoamiEmitTargetAndPayload {
|
|
11846
|
-
/** Source. */
|
|
11847
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11848
|
-
}
|
|
11849
|
-
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11850
|
-
id: 'whoamiEmitTargetAndPayload';
|
|
11851
|
-
version: 'v2020_12_25';
|
|
11852
|
-
namespace: 'Mercury';
|
|
11853
|
-
name: '';
|
|
11854
|
-
fields: {
|
|
11855
|
-
/** Source. */
|
|
11856
|
-
'source': {
|
|
11857
|
-
label: 'Source';
|
|
11858
|
-
type: 'schema';
|
|
11859
|
-
options: {
|
|
11860
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11861
|
-
};
|
|
11862
|
-
};
|
|
11863
|
-
};
|
|
11864
|
-
}
|
|
11865
|
-
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
11866
|
-
}
|
|
11867
|
-
}
|
|
11868
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11869
|
-
interface DidInstallEmitTarget {
|
|
11870
|
-
'organizationId': string;
|
|
11871
|
-
'skillId': string;
|
|
11872
|
-
}
|
|
11873
|
-
interface DidInstallEmitTargetSchema extends SpruceSchema.Schema {
|
|
11874
|
-
id: 'didInstallEmitTarget';
|
|
11875
|
-
version: 'v2020_12_25';
|
|
11876
|
-
namespace: 'Mercury';
|
|
11877
|
-
name: '';
|
|
11878
|
-
fields: {
|
|
11879
|
-
/** . */
|
|
11880
|
-
'organizationId': {
|
|
11881
|
-
type: 'id';
|
|
11882
|
-
isRequired: true;
|
|
11883
|
-
options: undefined;
|
|
11884
|
-
};
|
|
11885
|
-
/** . */
|
|
11886
|
-
'skillId': {
|
|
11887
|
-
type: 'id';
|
|
11888
|
-
isRequired: true;
|
|
11889
|
-
options: undefined;
|
|
11890
|
-
};
|
|
11891
|
-
};
|
|
11892
|
-
}
|
|
11893
|
-
interface DidInstallEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema> {
|
|
11894
|
-
}
|
|
11895
|
-
}
|
|
11896
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11897
|
-
interface DidInstallEmitTargetAndPayload {
|
|
11898
|
-
/** Source. */
|
|
11899
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
11900
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTarget;
|
|
11901
|
-
}
|
|
11902
|
-
interface DidInstallEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
11903
|
-
id: 'didInstallEmitTargetAndPayload';
|
|
11904
|
-
version: 'v2020_12_25';
|
|
11905
|
-
namespace: 'Mercury';
|
|
11906
|
-
name: '';
|
|
11907
|
-
fields: {
|
|
11908
|
-
/** Source. */
|
|
11909
|
-
'source': {
|
|
11910
|
-
label: 'Source';
|
|
11911
|
-
type: 'schema';
|
|
11912
|
-
options: {
|
|
11913
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
11914
|
-
};
|
|
11915
|
-
};
|
|
11916
|
-
/** . */
|
|
11917
|
-
'target': {
|
|
11918
|
-
type: 'schema';
|
|
11919
|
-
isRequired: true;
|
|
11920
|
-
options: {
|
|
11921
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetSchema;
|
|
11922
|
-
};
|
|
11923
|
-
};
|
|
11924
|
-
};
|
|
11925
|
-
}
|
|
11926
|
-
interface DidInstallEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallEmitTargetAndPayloadSchema> {
|
|
11927
|
-
}
|
|
11928
|
-
}
|
|
11929
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11930
|
-
interface DidInstallResponsePayload {
|
|
11931
|
-
}
|
|
11932
|
-
interface DidInstallResponsePayloadSchema extends SpruceSchema.Schema {
|
|
11933
|
-
id: 'didInstallResponsePayload';
|
|
11934
|
-
version: 'v2020_12_25';
|
|
11935
|
-
namespace: 'Mercury';
|
|
11936
|
-
name: '';
|
|
11937
|
-
fields: {};
|
|
11938
|
-
}
|
|
11939
|
-
interface DidInstallResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidInstallResponsePayloadSchema> {
|
|
11940
|
-
}
|
|
11941
|
-
}
|
|
11942
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11943
|
-
interface DidJoinOrganizationEmitTarget {
|
|
11944
|
-
'organizationId': string;
|
|
11945
|
-
'locationId'?: string | undefined | null;
|
|
11946
|
-
}
|
|
11947
|
-
interface DidJoinOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
11948
|
-
id: 'didJoinOrganizationEmitTarget';
|
|
11949
|
-
version: 'v2020_12_25';
|
|
11950
|
-
namespace: 'Mercury';
|
|
11951
|
-
name: '';
|
|
11952
|
-
fields: {
|
|
11953
|
-
/** . */
|
|
11954
|
-
'organizationId': {
|
|
11955
|
-
type: 'id';
|
|
11956
|
-
isRequired: true;
|
|
11957
|
-
options: undefined;
|
|
11958
|
-
};
|
|
11959
|
-
/** . */
|
|
11960
|
-
'locationId': {
|
|
11961
|
-
type: 'id';
|
|
11962
|
-
options: undefined;
|
|
11963
|
-
};
|
|
11964
|
-
};
|
|
11965
|
-
}
|
|
11966
|
-
interface DidJoinOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema> {
|
|
11967
|
-
}
|
|
11968
|
-
}
|
|
11969
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
11970
|
-
interface DidJoinOrganizationEmitPayload {
|
|
11971
|
-
'personId': string;
|
|
11972
|
-
'roleId': string;
|
|
11973
|
-
'isFirstRole': boolean;
|
|
11974
|
-
}
|
|
11975
|
-
interface DidJoinOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
11976
|
-
id: 'didJoinOrganizationEmitPayload';
|
|
11977
|
-
version: 'v2020_12_25';
|
|
11978
|
-
namespace: 'Mercury';
|
|
11979
|
-
name: '';
|
|
11980
|
-
fields: {
|
|
11981
|
-
/** . */
|
|
11982
|
-
'personId': {
|
|
11983
|
-
type: 'id';
|
|
11984
|
-
isRequired: true;
|
|
11985
|
-
options: undefined;
|
|
11986
|
-
};
|
|
11987
|
-
/** . */
|
|
11988
|
-
'roleId': {
|
|
11989
|
-
type: 'id';
|
|
11990
|
-
isRequired: true;
|
|
11991
|
-
options: undefined;
|
|
11992
|
-
};
|
|
11993
|
-
/** . */
|
|
11994
|
-
'isFirstRole': {
|
|
11995
|
-
type: 'boolean';
|
|
11996
|
-
isRequired: true;
|
|
11997
|
-
options: undefined;
|
|
11998
|
-
};
|
|
11999
|
-
};
|
|
12000
|
-
}
|
|
12001
|
-
interface DidJoinOrganizationEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema> {
|
|
12002
|
-
}
|
|
12003
|
-
}
|
|
12004
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12005
|
-
interface DidJoinOrganizationEmitTargetAndPayload {
|
|
12006
|
-
/** Source. */
|
|
12007
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12008
|
-
'target': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTarget;
|
|
12009
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayload;
|
|
12010
|
-
}
|
|
12011
|
-
interface DidJoinOrganizationEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12012
|
-
id: 'didJoinOrganizationEmitTargetAndPayload';
|
|
12013
|
-
version: 'v2020_12_25';
|
|
12014
|
-
namespace: 'Mercury';
|
|
12015
|
-
name: '';
|
|
12016
|
-
fields: {
|
|
12017
|
-
/** Source. */
|
|
12018
|
-
'source': {
|
|
12019
|
-
label: 'Source';
|
|
12020
|
-
type: 'schema';
|
|
12021
|
-
options: {
|
|
12022
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12023
|
-
};
|
|
12024
|
-
};
|
|
12025
|
-
/** . */
|
|
12026
|
-
'target': {
|
|
12027
|
-
type: 'schema';
|
|
12028
|
-
isRequired: true;
|
|
12029
|
-
options: {
|
|
12030
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetSchema;
|
|
12031
|
-
};
|
|
12032
|
-
};
|
|
12033
|
-
/** . */
|
|
12034
|
-
'payload': {
|
|
12035
|
-
type: 'schema';
|
|
12036
|
-
isRequired: true;
|
|
12037
|
-
options: {
|
|
12038
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitPayloadSchema;
|
|
12039
|
-
};
|
|
12040
|
-
};
|
|
12041
|
-
};
|
|
12042
|
-
}
|
|
12043
|
-
interface DidJoinOrganizationEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationEmitTargetAndPayloadSchema> {
|
|
12044
|
-
}
|
|
12045
|
-
}
|
|
12046
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12047
|
-
interface MessageTemplateAddons {
|
|
12048
|
-
'nextINeedYouTo'?: string[] | undefined | null;
|
|
12049
|
-
'youShouldKnowThat'?: string[] | undefined | null;
|
|
12050
|
-
'links'?: SpruceSchemas.Spruce.v2020_07_22.Link[] | undefined | null;
|
|
12051
|
-
}
|
|
12052
|
-
interface MessageTemplateAddonsSchema extends SpruceSchema.Schema {
|
|
12053
|
-
id: 'messageTemplateAddons';
|
|
12054
|
-
version: 'v2020_12_25';
|
|
12055
|
-
namespace: 'Mercury';
|
|
12056
|
-
name: '';
|
|
12057
|
-
fields: {
|
|
12058
|
-
/** . */
|
|
12059
|
-
'nextINeedYouTo': {
|
|
12060
|
-
type: 'text';
|
|
12061
|
-
isArray: true;
|
|
12062
|
-
options: undefined;
|
|
12063
|
-
};
|
|
12064
|
-
/** . */
|
|
12065
|
-
'youShouldKnowThat': {
|
|
12066
|
-
type: 'text';
|
|
12067
|
-
isArray: true;
|
|
12068
|
-
options: undefined;
|
|
12069
|
-
};
|
|
12070
|
-
/** . */
|
|
12071
|
-
'links': {
|
|
12072
|
-
type: 'schema';
|
|
12073
|
-
isArray: true;
|
|
12074
|
-
minArrayLength: 0;
|
|
12075
|
-
options: {
|
|
12076
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.LinkSchema;
|
|
12077
|
-
};
|
|
12078
|
-
};
|
|
12079
|
-
};
|
|
12080
|
-
}
|
|
12081
|
-
interface MessageTemplateAddonsEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema> {
|
|
12082
|
-
}
|
|
12083
|
-
}
|
|
12084
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12085
|
-
interface DidJoinOrganizationResponsePayload {
|
|
12086
|
-
'messaging'?: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddons | undefined | null;
|
|
12087
|
-
}
|
|
12088
|
-
interface DidJoinOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12089
|
-
id: 'didJoinOrganizationResponsePayload';
|
|
12090
|
-
version: 'v2020_12_25';
|
|
12091
|
-
namespace: 'Mercury';
|
|
12092
|
-
name: '';
|
|
12093
|
-
fields: {
|
|
12094
|
-
/** . */
|
|
12095
|
-
'messaging': {
|
|
12096
|
-
type: 'schema';
|
|
12097
|
-
options: {
|
|
12098
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.MessageTemplateAddonsSchema;
|
|
12099
|
-
};
|
|
12100
|
-
};
|
|
12101
|
-
};
|
|
12102
|
-
}
|
|
12103
|
-
interface DidJoinOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidJoinOrganizationResponsePayloadSchema> {
|
|
12104
|
-
}
|
|
12105
|
-
}
|
|
12106
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12107
|
-
interface DidLeaveOrganizationEmitTarget {
|
|
12108
|
-
'organizationId': string;
|
|
12109
|
-
'locationId'?: string | undefined | null;
|
|
12110
|
-
}
|
|
12111
|
-
interface DidLeaveOrganizationEmitTargetSchema extends SpruceSchema.Schema {
|
|
12112
|
-
id: 'didLeaveOrganizationEmitTarget';
|
|
12113
|
-
version: 'v2020_12_25';
|
|
12114
|
-
namespace: 'Mercury';
|
|
12115
|
-
name: '';
|
|
12116
|
-
fields: {
|
|
12117
|
-
/** . */
|
|
12118
|
-
'organizationId': {
|
|
12119
|
-
type: 'id';
|
|
12120
|
-
isRequired: true;
|
|
12121
|
-
options: undefined;
|
|
12122
|
-
};
|
|
12123
|
-
/** . */
|
|
12124
|
-
'locationId': {
|
|
12125
|
-
type: 'id';
|
|
12126
|
-
options: undefined;
|
|
12127
|
-
};
|
|
12128
|
-
};
|
|
12129
|
-
}
|
|
12130
|
-
interface DidLeaveOrganizationEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationEmitTargetSchema> {
|
|
12131
|
-
}
|
|
12132
|
-
}
|
|
12133
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12134
|
-
interface DidLeaveOrganizationEmitPayload {
|
|
12135
|
-
'personId': string;
|
|
12136
|
-
'roleId': string;
|
|
12137
|
-
'isLastRole': boolean;
|
|
12138
|
-
}
|
|
12139
|
-
interface DidLeaveOrganizationEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12140
|
-
id: 'didLeaveOrganizationEmitPayload';
|
|
12141
|
-
version: 'v2020_12_25';
|
|
12142
|
-
namespace: 'Mercury';
|
|
12143
|
-
name: '';
|
|
12144
|
-
fields: {
|
|
12145
|
-
/** . */
|
|
12146
|
-
'personId': {
|
|
12147
|
-
type: 'id';
|
|
12148
|
-
isRequired: true;
|
|
12149
|
-
options: undefined;
|
|
12064
|
+
"value": "Pacific/Kwajalein";
|
|
12065
|
+
"label": "Marshall Islands Time - Kwajalein";
|
|
12066
|
+
}, {
|
|
12067
|
+
"value": "Pacific/Majuro";
|
|
12068
|
+
"label": "Marshall Islands Time - Majuro";
|
|
12069
|
+
}, {
|
|
12070
|
+
"value": "Pacific/Nauru";
|
|
12071
|
+
"label": "Nauru Time";
|
|
12072
|
+
}, {
|
|
12073
|
+
"value": "Pacific/Auckland";
|
|
12074
|
+
"label": "New Zealand Time";
|
|
12075
|
+
}, {
|
|
12076
|
+
"value": "Asia/Kamchatka";
|
|
12077
|
+
"label": "Petropavlovsk-Kamchatski Standard Time";
|
|
12078
|
+
}, {
|
|
12079
|
+
"value": "Pacific/Funafuti";
|
|
12080
|
+
"label": "Tuvalu Time";
|
|
12081
|
+
}, {
|
|
12082
|
+
"value": "Pacific/Wake";
|
|
12083
|
+
"label": "Wake Island Time";
|
|
12084
|
+
}, {
|
|
12085
|
+
"value": "Pacific/Wallis";
|
|
12086
|
+
"label": "Wallis & Futuna Time";
|
|
12087
|
+
}, {
|
|
12088
|
+
"value": "Pacific/Chatham";
|
|
12089
|
+
"label": "Chatham Time";
|
|
12090
|
+
}, {
|
|
12091
|
+
"value": "Pacific/Apia";
|
|
12092
|
+
"label": "Apia Standard Time";
|
|
12093
|
+
}, {
|
|
12094
|
+
"value": "Pacific/Fakaofo";
|
|
12095
|
+
"label": "Tokelau Time";
|
|
12096
|
+
}, {
|
|
12097
|
+
"value": "Pacific/Tongatapu";
|
|
12098
|
+
"label": "Tonga Standard Time";
|
|
12099
|
+
}, {
|
|
12100
|
+
"value": "Pacific/Kiritimati";
|
|
12101
|
+
"label": "Line Islands Time";
|
|
12102
|
+
}];
|
|
12103
|
+
};
|
|
12150
12104
|
};
|
|
12151
|
-
/** . */
|
|
12152
|
-
'
|
|
12153
|
-
|
|
12154
|
-
|
|
12155
|
-
options:
|
|
12105
|
+
/** Avatar src. */
|
|
12106
|
+
'avatar': {
|
|
12107
|
+
label: 'Avatar src';
|
|
12108
|
+
type: 'image';
|
|
12109
|
+
options: {
|
|
12110
|
+
requiredSizes: ["*"];
|
|
12111
|
+
};
|
|
12156
12112
|
};
|
|
12157
|
-
/** . */
|
|
12158
|
-
'
|
|
12159
|
-
|
|
12160
|
-
|
|
12113
|
+
/** Phone. A number that can be texted */
|
|
12114
|
+
'phone': {
|
|
12115
|
+
label: 'Phone';
|
|
12116
|
+
type: 'phone';
|
|
12117
|
+
isPrivate: true;
|
|
12118
|
+
hint: 'A number that can be texted';
|
|
12161
12119
|
options: undefined;
|
|
12162
12120
|
};
|
|
12163
12121
|
};
|
|
12164
12122
|
}
|
|
12165
|
-
interface
|
|
12123
|
+
interface UpdatePersonEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema> {
|
|
12166
12124
|
}
|
|
12167
12125
|
}
|
|
12168
12126
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12169
|
-
interface
|
|
12127
|
+
interface UpdatePersonEmitTargetAndPayload {
|
|
12170
12128
|
/** Source. */
|
|
12171
12129
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12172
|
-
'target'
|
|
12173
|
-
'payload'
|
|
12130
|
+
'target'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTarget | undefined | null;
|
|
12131
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayload | undefined | null;
|
|
12174
12132
|
}
|
|
12175
|
-
interface
|
|
12176
|
-
id: '
|
|
12133
|
+
interface UpdatePersonEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12134
|
+
id: 'updatePersonEmitTargetAndPayload';
|
|
12177
12135
|
version: 'v2020_12_25';
|
|
12178
12136
|
namespace: 'Mercury';
|
|
12179
12137
|
name: '';
|
|
@@ -12189,254 +12147,242 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12189
12147
|
/** . */
|
|
12190
12148
|
'target': {
|
|
12191
12149
|
type: 'schema';
|
|
12192
|
-
isRequired: true;
|
|
12193
12150
|
options: {
|
|
12194
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12151
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetSchema;
|
|
12195
12152
|
};
|
|
12196
12153
|
};
|
|
12197
12154
|
/** . */
|
|
12198
12155
|
'payload': {
|
|
12199
12156
|
type: 'schema';
|
|
12200
|
-
isRequired: true;
|
|
12201
12157
|
options: {
|
|
12202
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12158
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitPayloadSchema;
|
|
12203
12159
|
};
|
|
12204
12160
|
};
|
|
12205
12161
|
};
|
|
12206
12162
|
}
|
|
12207
|
-
interface
|
|
12208
|
-
}
|
|
12209
|
-
}
|
|
12210
|
-
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12211
|
-
interface DidLeaveOrganizationResponsePayload {
|
|
12212
|
-
}
|
|
12213
|
-
interface DidLeaveOrganizationResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12214
|
-
id: 'didLeaveOrganizationResponsePayload';
|
|
12215
|
-
version: 'v2020_12_25';
|
|
12216
|
-
namespace: 'Mercury';
|
|
12217
|
-
name: '';
|
|
12218
|
-
fields: {};
|
|
12219
|
-
}
|
|
12220
|
-
interface DidLeaveOrganizationResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.DidLeaveOrganizationResponsePayloadSchema> {
|
|
12163
|
+
interface UpdatePersonEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonEmitTargetAndPayloadSchema> {
|
|
12221
12164
|
}
|
|
12222
12165
|
}
|
|
12223
12166
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12224
|
-
interface
|
|
12225
|
-
'
|
|
12226
|
-
'conversationState'?: string | undefined | null;
|
|
12227
|
-
'topic'?: string | undefined | null;
|
|
12167
|
+
interface UpdatePersonResponsePayload {
|
|
12168
|
+
'person': SpruceSchemas.Spruce.v2020_07_22.Person;
|
|
12228
12169
|
}
|
|
12229
|
-
interface
|
|
12230
|
-
id: '
|
|
12170
|
+
interface UpdatePersonResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12171
|
+
id: 'updatePersonResponsePayload';
|
|
12231
12172
|
version: 'v2020_12_25';
|
|
12232
12173
|
namespace: 'Mercury';
|
|
12233
12174
|
name: '';
|
|
12234
12175
|
fields: {
|
|
12235
12176
|
/** . */
|
|
12236
|
-
'
|
|
12177
|
+
'person': {
|
|
12237
12178
|
type: 'schema';
|
|
12238
12179
|
isRequired: true;
|
|
12239
12180
|
options: {
|
|
12240
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
12181
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12241
12182
|
};
|
|
12242
12183
|
};
|
|
12243
|
-
/** . */
|
|
12244
|
-
'conversationState': {
|
|
12245
|
-
type: 'text';
|
|
12246
|
-
options: undefined;
|
|
12247
|
-
};
|
|
12248
|
-
/** . */
|
|
12249
|
-
'topic': {
|
|
12250
|
-
type: 'text';
|
|
12251
|
-
options: undefined;
|
|
12252
|
-
};
|
|
12253
12184
|
};
|
|
12254
12185
|
}
|
|
12255
|
-
interface
|
|
12186
|
+
interface UpdatePersonResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdatePersonResponsePayloadSchema> {
|
|
12256
12187
|
}
|
|
12257
12188
|
}
|
|
12258
12189
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12259
|
-
interface
|
|
12260
|
-
|
|
12261
|
-
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12262
|
-
'target'?: SpruceSchemas.Spruce.v2020_07_22.MessageTarget | undefined | null;
|
|
12263
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayload;
|
|
12190
|
+
interface UpdateRoleEmitTarget {
|
|
12191
|
+
'roleId': string;
|
|
12264
12192
|
}
|
|
12265
|
-
interface
|
|
12266
|
-
id: '
|
|
12193
|
+
interface UpdateRoleEmitTargetSchema extends SpruceSchema.Schema {
|
|
12194
|
+
id: 'updateRoleEmitTarget';
|
|
12267
12195
|
version: 'v2020_12_25';
|
|
12268
12196
|
namespace: 'Mercury';
|
|
12269
12197
|
name: '';
|
|
12270
12198
|
fields: {
|
|
12271
|
-
/** Source. */
|
|
12272
|
-
'source': {
|
|
12273
|
-
label: 'Source';
|
|
12274
|
-
type: 'schema';
|
|
12275
|
-
options: {
|
|
12276
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12277
|
-
};
|
|
12278
|
-
};
|
|
12279
|
-
/** . */
|
|
12280
|
-
'target': {
|
|
12281
|
-
type: 'schema';
|
|
12282
|
-
options: {
|
|
12283
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.MessageTargetSchema;
|
|
12284
|
-
};
|
|
12285
|
-
};
|
|
12286
12199
|
/** . */
|
|
12287
|
-
'
|
|
12288
|
-
type: '
|
|
12200
|
+
'roleId': {
|
|
12201
|
+
type: 'id';
|
|
12289
12202
|
isRequired: true;
|
|
12290
|
-
options:
|
|
12291
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidMessageEmitPayloadSchema;
|
|
12292
|
-
};
|
|
12203
|
+
options: undefined;
|
|
12293
12204
|
};
|
|
12294
12205
|
};
|
|
12295
12206
|
}
|
|
12296
|
-
interface
|
|
12207
|
+
interface UpdateRoleEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema> {
|
|
12297
12208
|
}
|
|
12298
12209
|
}
|
|
12299
12210
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12300
|
-
interface
|
|
12301
|
-
|
|
12302
|
-
'
|
|
12303
|
-
|
|
12211
|
+
interface UpdateRoleEmitPayload {
|
|
12212
|
+
/** Name. */
|
|
12213
|
+
'name'?: string | undefined | null;
|
|
12214
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12215
|
+
'base'?: ("owner" | "groupManager" | "manager" | "teammate" | "anonymous" | "loggedIn" | "guest") | undefined | null;
|
|
12216
|
+
/** Description. */
|
|
12217
|
+
'description'?: string | undefined | null;
|
|
12218
|
+
'dateDeleted'?: number | undefined | null;
|
|
12219
|
+
'organizationId'?: string | undefined | null;
|
|
12220
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12221
|
+
'isPublic'?: boolean | undefined | null;
|
|
12304
12222
|
}
|
|
12305
|
-
interface
|
|
12306
|
-
id: '
|
|
12223
|
+
interface UpdateRoleEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12224
|
+
id: 'updateRoleEmitPayload';
|
|
12307
12225
|
version: 'v2020_12_25';
|
|
12308
12226
|
namespace: 'Mercury';
|
|
12309
12227
|
name: '';
|
|
12310
12228
|
fields: {
|
|
12311
|
-
/** . */
|
|
12312
|
-
'
|
|
12229
|
+
/** Name. */
|
|
12230
|
+
'name': {
|
|
12231
|
+
label: 'Name';
|
|
12232
|
+
type: 'text';
|
|
12233
|
+
options: undefined;
|
|
12234
|
+
};
|
|
12235
|
+
/** Base. A best practices starting point for a role based on the generalized roles at a company. */
|
|
12236
|
+
'base': {
|
|
12237
|
+
label: 'Base';
|
|
12238
|
+
type: 'select';
|
|
12239
|
+
hint: 'A best practices starting point for a role based on the generalized roles at a company.';
|
|
12240
|
+
options: {
|
|
12241
|
+
choices: [{
|
|
12242
|
+
"label": "Owner";
|
|
12243
|
+
"value": "owner";
|
|
12244
|
+
}, {
|
|
12245
|
+
"label": "Group manager";
|
|
12246
|
+
"value": "groupManager";
|
|
12247
|
+
}, {
|
|
12248
|
+
"label": "Manager";
|
|
12249
|
+
"value": "manager";
|
|
12250
|
+
}, {
|
|
12251
|
+
"label": "Teammate";
|
|
12252
|
+
"value": "teammate";
|
|
12253
|
+
}, {
|
|
12254
|
+
"label": "Anonymous";
|
|
12255
|
+
"value": "anonymous";
|
|
12256
|
+
}, {
|
|
12257
|
+
"label": "Logged in";
|
|
12258
|
+
"value": "loggedIn";
|
|
12259
|
+
}, {
|
|
12260
|
+
"label": "Guest";
|
|
12261
|
+
"value": "guest";
|
|
12262
|
+
}];
|
|
12263
|
+
};
|
|
12264
|
+
};
|
|
12265
|
+
/** Description. */
|
|
12266
|
+
'description': {
|
|
12267
|
+
label: 'Description';
|
|
12313
12268
|
type: 'text';
|
|
12314
|
-
isRequired: true;
|
|
12315
12269
|
options: undefined;
|
|
12316
12270
|
};
|
|
12317
12271
|
/** . */
|
|
12318
|
-
'
|
|
12272
|
+
'dateDeleted': {
|
|
12319
12273
|
type: 'number';
|
|
12320
|
-
isRequired: true;
|
|
12321
12274
|
options: undefined;
|
|
12322
12275
|
};
|
|
12323
12276
|
/** . */
|
|
12324
|
-
'
|
|
12325
|
-
type: '
|
|
12326
|
-
|
|
12277
|
+
'organizationId': {
|
|
12278
|
+
type: 'id';
|
|
12279
|
+
options: undefined;
|
|
12280
|
+
};
|
|
12281
|
+
/** Public. Should I let people that are not part of this organization this role? */
|
|
12282
|
+
'isPublic': {
|
|
12283
|
+
label: 'Public';
|
|
12284
|
+
type: 'boolean';
|
|
12285
|
+
hint: 'Should I let people that are not part of this organization this role?';
|
|
12327
12286
|
options: undefined;
|
|
12328
12287
|
};
|
|
12329
12288
|
};
|
|
12330
12289
|
}
|
|
12331
|
-
interface
|
|
12290
|
+
interface UpdateRoleEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema> {
|
|
12332
12291
|
}
|
|
12333
12292
|
}
|
|
12334
12293
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12335
|
-
interface
|
|
12336
|
-
|
|
12337
|
-
'
|
|
12338
|
-
'
|
|
12339
|
-
'
|
|
12340
|
-
'suggestedTopics'?: SpruceSchemas.Mercury.v2020_12_25.ConversationTopic[] | undefined | null;
|
|
12294
|
+
interface UpdateRoleEmitTargetAndPayload {
|
|
12295
|
+
/** Source. */
|
|
12296
|
+
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12297
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTarget;
|
|
12298
|
+
'payload'?: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayload | undefined | null;
|
|
12341
12299
|
}
|
|
12342
|
-
interface
|
|
12343
|
-
id: '
|
|
12300
|
+
interface UpdateRoleEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12301
|
+
id: 'updateRoleEmitTargetAndPayload';
|
|
12344
12302
|
version: 'v2020_12_25';
|
|
12345
12303
|
namespace: 'Mercury';
|
|
12346
12304
|
name: '';
|
|
12347
12305
|
fields: {
|
|
12348
|
-
/** . */
|
|
12349
|
-
'
|
|
12350
|
-
|
|
12306
|
+
/** Source. */
|
|
12307
|
+
'source': {
|
|
12308
|
+
label: 'Source';
|
|
12309
|
+
type: 'schema';
|
|
12351
12310
|
options: {
|
|
12352
|
-
|
|
12353
|
-
"label": "Greeting";
|
|
12354
|
-
"value": "greeting";
|
|
12355
|
-
}, {
|
|
12356
|
-
"label": "Discovery";
|
|
12357
|
-
"value": "discovery";
|
|
12358
|
-
}, {
|
|
12359
|
-
"label": "Topic";
|
|
12360
|
-
"value": "topic";
|
|
12361
|
-
}, {
|
|
12362
|
-
"label": "Closing";
|
|
12363
|
-
"value": "closing";
|
|
12364
|
-
}];
|
|
12311
|
+
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12365
12312
|
};
|
|
12366
12313
|
};
|
|
12367
12314
|
/** . */
|
|
12368
|
-
'
|
|
12369
|
-
type: '
|
|
12370
|
-
|
|
12371
|
-
options:
|
|
12372
|
-
|
|
12373
|
-
|
|
12374
|
-
'topicChangers': {
|
|
12375
|
-
type: 'text';
|
|
12376
|
-
isArray: true;
|
|
12377
|
-
options: undefined;
|
|
12378
|
-
};
|
|
12379
|
-
/** . */
|
|
12380
|
-
'utterance': {
|
|
12381
|
-
type: 'text';
|
|
12382
|
-
options: undefined;
|
|
12315
|
+
'target': {
|
|
12316
|
+
type: 'schema';
|
|
12317
|
+
isRequired: true;
|
|
12318
|
+
options: {
|
|
12319
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetSchema;
|
|
12320
|
+
};
|
|
12383
12321
|
};
|
|
12384
12322
|
/** . */
|
|
12385
|
-
'
|
|
12323
|
+
'payload': {
|
|
12386
12324
|
type: 'schema';
|
|
12387
|
-
isArray: true;
|
|
12388
12325
|
options: {
|
|
12389
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12326
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitPayloadSchema;
|
|
12390
12327
|
};
|
|
12391
12328
|
};
|
|
12392
12329
|
};
|
|
12393
12330
|
}
|
|
12394
|
-
interface
|
|
12331
|
+
interface UpdateRoleEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleEmitTargetAndPayloadSchema> {
|
|
12395
12332
|
}
|
|
12396
12333
|
}
|
|
12397
12334
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12398
|
-
interface
|
|
12399
|
-
'
|
|
12335
|
+
interface UpdateRoleResponsePayload {
|
|
12336
|
+
'role': SpruceSchemas.Spruce.v2020_07_22.Role;
|
|
12400
12337
|
}
|
|
12401
|
-
interface
|
|
12402
|
-
id: '
|
|
12338
|
+
interface UpdateRoleResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12339
|
+
id: 'updateRoleResponsePayload';
|
|
12403
12340
|
version: 'v2020_12_25';
|
|
12404
12341
|
namespace: 'Mercury';
|
|
12405
12342
|
name: '';
|
|
12406
12343
|
fields: {
|
|
12407
12344
|
/** . */
|
|
12408
|
-
'
|
|
12345
|
+
'role': {
|
|
12409
12346
|
type: 'schema';
|
|
12410
12347
|
isRequired: true;
|
|
12411
12348
|
options: {
|
|
12412
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.
|
|
12349
|
+
schema: SpruceSchemas.Spruce.v2020_07_22.RoleSchema;
|
|
12413
12350
|
};
|
|
12414
12351
|
};
|
|
12415
12352
|
};
|
|
12416
12353
|
}
|
|
12417
|
-
interface
|
|
12354
|
+
interface UpdateRoleResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpdateRoleResponsePayloadSchema> {
|
|
12418
12355
|
}
|
|
12419
12356
|
}
|
|
12420
12357
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12421
|
-
interface
|
|
12422
|
-
'
|
|
12423
|
-
'
|
|
12358
|
+
interface UpsertPermissionContractEmitTarget {
|
|
12359
|
+
'organizationId': string;
|
|
12360
|
+
'permissionContractId': string;
|
|
12361
|
+
'roleId': string;
|
|
12424
12362
|
'skillId'?: string | undefined | null;
|
|
12425
12363
|
}
|
|
12426
|
-
interface
|
|
12427
|
-
id: '
|
|
12364
|
+
interface UpsertPermissionContractEmitTargetSchema extends SpruceSchema.Schema {
|
|
12365
|
+
id: 'upsertPermissionContractEmitTarget';
|
|
12428
12366
|
version: 'v2020_12_25';
|
|
12429
12367
|
namespace: 'Mercury';
|
|
12430
12368
|
name: '';
|
|
12431
12369
|
fields: {
|
|
12432
12370
|
/** . */
|
|
12433
|
-
'
|
|
12371
|
+
'organizationId': {
|
|
12434
12372
|
type: 'id';
|
|
12373
|
+
isRequired: true;
|
|
12435
12374
|
options: undefined;
|
|
12436
12375
|
};
|
|
12437
12376
|
/** . */
|
|
12438
|
-
'
|
|
12377
|
+
'permissionContractId': {
|
|
12378
|
+
type: 'id';
|
|
12379
|
+
isRequired: true;
|
|
12380
|
+
options: undefined;
|
|
12381
|
+
};
|
|
12382
|
+
/** . */
|
|
12383
|
+
'roleId': {
|
|
12439
12384
|
type: 'id';
|
|
12385
|
+
isRequired: true;
|
|
12440
12386
|
options: undefined;
|
|
12441
12387
|
};
|
|
12442
12388
|
/** . */
|
|
@@ -12446,41 +12392,70 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12446
12392
|
};
|
|
12447
12393
|
};
|
|
12448
12394
|
}
|
|
12449
|
-
interface
|
|
12395
|
+
interface UpsertPermissionContractEmitTargetEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema> {
|
|
12450
12396
|
}
|
|
12451
12397
|
}
|
|
12452
12398
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12453
|
-
interface
|
|
12454
|
-
|
|
12399
|
+
interface UpsertPermissionContractsEmitPayload {
|
|
12400
|
+
/** Name. Human readable name for this contract */
|
|
12401
|
+
'name': string;
|
|
12402
|
+
/** Description. */
|
|
12403
|
+
'description'?: string | undefined | null;
|
|
12404
|
+
/** Require all permissions. */
|
|
12405
|
+
'requireAllPermissions'?: boolean | undefined | null;
|
|
12406
|
+
'permissions': SpruceSchemas.Mercury.v2020_12_25.Permission[];
|
|
12455
12407
|
}
|
|
12456
|
-
interface
|
|
12457
|
-
id: '
|
|
12408
|
+
interface UpsertPermissionContractsEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12409
|
+
id: 'upsertPermissionContractsEmitPayload';
|
|
12458
12410
|
version: 'v2020_12_25';
|
|
12459
12411
|
namespace: 'Mercury';
|
|
12460
12412
|
name: '';
|
|
12461
12413
|
fields: {
|
|
12414
|
+
/** Name. Human readable name for this contract */
|
|
12415
|
+
'name': {
|
|
12416
|
+
label: 'Name';
|
|
12417
|
+
type: 'text';
|
|
12418
|
+
isRequired: true;
|
|
12419
|
+
hint: 'Human readable name for this contract';
|
|
12420
|
+
options: undefined;
|
|
12421
|
+
};
|
|
12422
|
+
/** Description. */
|
|
12423
|
+
'description': {
|
|
12424
|
+
label: 'Description';
|
|
12425
|
+
type: 'text';
|
|
12426
|
+
options: undefined;
|
|
12427
|
+
};
|
|
12428
|
+
/** Require all permissions. */
|
|
12429
|
+
'requireAllPermissions': {
|
|
12430
|
+
label: 'Require all permissions';
|
|
12431
|
+
type: 'boolean';
|
|
12432
|
+
defaultValue: false;
|
|
12433
|
+
options: undefined;
|
|
12434
|
+
};
|
|
12462
12435
|
/** . */
|
|
12463
|
-
'
|
|
12436
|
+
'permissions': {
|
|
12464
12437
|
type: 'schema';
|
|
12465
12438
|
isRequired: true;
|
|
12439
|
+
isArray: true;
|
|
12440
|
+
minArrayLength: 0;
|
|
12466
12441
|
options: {
|
|
12467
|
-
schema: SpruceSchemas.
|
|
12442
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionSchema;
|
|
12468
12443
|
};
|
|
12469
12444
|
};
|
|
12470
12445
|
};
|
|
12471
12446
|
}
|
|
12472
|
-
interface
|
|
12447
|
+
interface UpsertPermissionContractsEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema> {
|
|
12473
12448
|
}
|
|
12474
12449
|
}
|
|
12475
12450
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12476
|
-
interface
|
|
12451
|
+
interface UpsertPermissionContractEmitTargetAndPayload {
|
|
12477
12452
|
/** Source. */
|
|
12478
12453
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12479
|
-
'target'
|
|
12480
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.
|
|
12454
|
+
'target': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTarget;
|
|
12455
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayload;
|
|
12481
12456
|
}
|
|
12482
|
-
interface
|
|
12483
|
-
id: '
|
|
12457
|
+
interface UpsertPermissionContractEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12458
|
+
id: 'upsertPermissionContractEmitTargetAndPayload';
|
|
12484
12459
|
version: 'v2020_12_25';
|
|
12485
12460
|
namespace: 'Mercury';
|
|
12486
12461
|
name: '';
|
|
@@ -12496,8 +12471,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12496
12471
|
/** . */
|
|
12497
12472
|
'target': {
|
|
12498
12473
|
type: 'schema';
|
|
12474
|
+
isRequired: true;
|
|
12499
12475
|
options: {
|
|
12500
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12476
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetSchema;
|
|
12501
12477
|
};
|
|
12502
12478
|
};
|
|
12503
12479
|
/** . */
|
|
@@ -12505,23 +12481,73 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12505
12481
|
type: 'schema';
|
|
12506
12482
|
isRequired: true;
|
|
12507
12483
|
options: {
|
|
12508
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12484
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractsEmitPayloadSchema;
|
|
12509
12485
|
};
|
|
12510
12486
|
};
|
|
12511
12487
|
};
|
|
12512
12488
|
}
|
|
12513
|
-
interface
|
|
12489
|
+
interface UpsertPermissionContractEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractEmitTargetAndPayloadSchema> {
|
|
12514
12490
|
}
|
|
12515
12491
|
}
|
|
12516
12492
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12517
|
-
interface
|
|
12493
|
+
interface UpsertPermissionContractResponsePayload {
|
|
12494
|
+
'permissionContract': SpruceSchemas.Mercury.v2020_12_25.PermissionContract;
|
|
12495
|
+
}
|
|
12496
|
+
interface UpsertPermissionContractResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12497
|
+
id: 'upsertPermissionContractResponsePayload';
|
|
12498
|
+
version: 'v2020_12_25';
|
|
12499
|
+
namespace: 'Mercury';
|
|
12500
|
+
name: '';
|
|
12501
|
+
fields: {
|
|
12502
|
+
/** . */
|
|
12503
|
+
'permissionContract': {
|
|
12504
|
+
type: 'schema';
|
|
12505
|
+
isRequired: true;
|
|
12506
|
+
options: {
|
|
12507
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.PermissionContractSchema;
|
|
12508
|
+
};
|
|
12509
|
+
};
|
|
12510
|
+
};
|
|
12511
|
+
}
|
|
12512
|
+
interface UpsertPermissionContractResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.UpsertPermissionContractResponsePayloadSchema> {
|
|
12513
|
+
}
|
|
12514
|
+
}
|
|
12515
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12516
|
+
interface VoteForFeatureEmitPayload {
|
|
12517
|
+
'featureKey': string;
|
|
12518
|
+
'skillNamespace': string;
|
|
12519
|
+
}
|
|
12520
|
+
interface VoteForFeatureEmitPayloadSchema extends SpruceSchema.Schema {
|
|
12521
|
+
id: 'voteForFeatureEmitPayload';
|
|
12522
|
+
version: 'v2020_12_25';
|
|
12523
|
+
namespace: 'Mercury';
|
|
12524
|
+
name: '';
|
|
12525
|
+
fields: {
|
|
12526
|
+
/** . */
|
|
12527
|
+
'featureKey': {
|
|
12528
|
+
type: 'id';
|
|
12529
|
+
isRequired: true;
|
|
12530
|
+
options: undefined;
|
|
12531
|
+
};
|
|
12532
|
+
/** . */
|
|
12533
|
+
'skillNamespace': {
|
|
12534
|
+
type: 'id';
|
|
12535
|
+
isRequired: true;
|
|
12536
|
+
options: undefined;
|
|
12537
|
+
};
|
|
12538
|
+
};
|
|
12539
|
+
}
|
|
12540
|
+
interface VoteForFeatureEmitPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema> {
|
|
12541
|
+
}
|
|
12542
|
+
}
|
|
12543
|
+
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12544
|
+
interface VoteForFeatureEmitTargetAndPayload {
|
|
12518
12545
|
/** Source. */
|
|
12519
12546
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12520
|
-
'
|
|
12521
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidSignupEmitPayload;
|
|
12547
|
+
'payload': SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayload;
|
|
12522
12548
|
}
|
|
12523
|
-
interface
|
|
12524
|
-
id: '
|
|
12549
|
+
interface VoteForFeatureEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12550
|
+
id: 'voteForFeatureEmitTargetAndPayload';
|
|
12525
12551
|
version: 'v2020_12_25';
|
|
12526
12552
|
namespace: 'Mercury';
|
|
12527
12553
|
name: '';
|
|
@@ -12535,57 +12561,46 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12535
12561
|
};
|
|
12536
12562
|
};
|
|
12537
12563
|
/** . */
|
|
12538
|
-
'target': {
|
|
12539
|
-
type: 'schema';
|
|
12540
|
-
options: {
|
|
12541
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12542
|
-
};
|
|
12543
|
-
};
|
|
12544
|
-
/** . */
|
|
12545
12564
|
'payload': {
|
|
12546
12565
|
type: 'schema';
|
|
12547
12566
|
isRequired: true;
|
|
12548
12567
|
options: {
|
|
12549
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.
|
|
12568
|
+
schema: SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitPayloadSchema;
|
|
12550
12569
|
};
|
|
12551
12570
|
};
|
|
12552
12571
|
};
|
|
12553
12572
|
}
|
|
12554
|
-
interface
|
|
12573
|
+
interface VoteForFeatureEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureEmitTargetAndPayloadSchema> {
|
|
12555
12574
|
}
|
|
12556
12575
|
}
|
|
12557
12576
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12558
|
-
interface
|
|
12559
|
-
'
|
|
12577
|
+
interface VoteForFeatureResponsePayload {
|
|
12578
|
+
'totalVotes': number;
|
|
12560
12579
|
}
|
|
12561
|
-
interface
|
|
12562
|
-
id: '
|
|
12580
|
+
interface VoteForFeatureResponsePayloadSchema extends SpruceSchema.Schema {
|
|
12581
|
+
id: 'voteForFeatureResponsePayload';
|
|
12563
12582
|
version: 'v2020_12_25';
|
|
12564
12583
|
namespace: 'Mercury';
|
|
12565
12584
|
name: '';
|
|
12566
12585
|
fields: {
|
|
12567
12586
|
/** . */
|
|
12568
|
-
'
|
|
12569
|
-
type: '
|
|
12587
|
+
'totalVotes': {
|
|
12588
|
+
type: 'number';
|
|
12570
12589
|
isRequired: true;
|
|
12571
|
-
options:
|
|
12572
|
-
schema: SpruceSchemas.Spruce.v2020_07_22.PersonSchema;
|
|
12573
|
-
};
|
|
12590
|
+
options: undefined;
|
|
12574
12591
|
};
|
|
12575
12592
|
};
|
|
12576
12593
|
}
|
|
12577
|
-
interface
|
|
12594
|
+
interface VoteForFeatureResponsePayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.VoteForFeatureResponsePayloadSchema> {
|
|
12578
12595
|
}
|
|
12579
12596
|
}
|
|
12580
12597
|
namespace SpruceSchemas.Mercury.v2020_12_25 {
|
|
12581
|
-
interface
|
|
12598
|
+
interface WhoamiEmitTargetAndPayload {
|
|
12582
12599
|
/** Source. */
|
|
12583
12600
|
'source'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSource | undefined | null;
|
|
12584
|
-
'target'?: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTarget | undefined | null;
|
|
12585
|
-
'payload': SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayload;
|
|
12586
12601
|
}
|
|
12587
|
-
interface
|
|
12588
|
-
id: '
|
|
12602
|
+
interface WhoamiEmitTargetAndPayloadSchema extends SpruceSchema.Schema {
|
|
12603
|
+
id: 'whoamiEmitTargetAndPayload';
|
|
12589
12604
|
version: 'v2020_12_25';
|
|
12590
12605
|
namespace: 'Mercury';
|
|
12591
12606
|
name: '';
|
|
@@ -12598,24 +12613,9 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
12598
12613
|
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventSourceSchema;
|
|
12599
12614
|
};
|
|
12600
12615
|
};
|
|
12601
|
-
/** . */
|
|
12602
|
-
'target': {
|
|
12603
|
-
type: 'schema';
|
|
12604
|
-
options: {
|
|
12605
|
-
schema: SpruceSchemas.SpruceEventUtils.v2021_09_13.EventTargetSchema;
|
|
12606
|
-
};
|
|
12607
|
-
};
|
|
12608
|
-
/** . */
|
|
12609
|
-
'payload': {
|
|
12610
|
-
type: 'schema';
|
|
12611
|
-
isRequired: true;
|
|
12612
|
-
options: {
|
|
12613
|
-
schema: SpruceSchemas.Mercury.v2020_12_25.DidUpdatePersonEmitPayloadSchema;
|
|
12614
|
-
};
|
|
12615
|
-
};
|
|
12616
12616
|
};
|
|
12617
12617
|
}
|
|
12618
|
-
interface
|
|
12618
|
+
interface WhoamiEmitTargetAndPayloadEntity extends SchemaEntity<SpruceSchemas.Mercury.v2020_12_25.WhoamiEmitTargetAndPayloadSchema> {
|
|
12619
12619
|
}
|
|
12620
12620
|
}
|
|
12621
12621
|
}
|