@sprucelabs/spruce-core-schemas 41.3.0 → 41.3.2

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.
@@ -1149,91 +1149,6 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1149
1149
  }
1150
1150
  type LinkEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.LinkSchema>;
1151
1151
  }
1152
- export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1153
- interface FeedItemTarget {
1154
- 'personId'?: string | undefined | null;
1155
- 'casualName': string;
1156
- 'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
1157
- 'skillId'?: string | undefined | null;
1158
- 'isMe': boolean;
1159
- 'isSprucebot': boolean;
1160
- }
1161
- interface FeedItemTargetSchema extends SpruceSchema.Schema {
1162
- id: 'feedItemTarget';
1163
- version: 'v2020_07_22';
1164
- namespace: 'Spruce';
1165
- name: '';
1166
- moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
1167
- fields: {
1168
- /** . */
1169
- 'personId': {
1170
- type: 'id';
1171
- options: undefined;
1172
- };
1173
- /** . */
1174
- 'casualName': {
1175
- type: 'text';
1176
- isRequired: true;
1177
- options: undefined;
1178
- };
1179
- /** . */
1180
- 'avatar': {
1181
- type: 'image';
1182
- options: {
1183
- requiredSizes: ["*"];
1184
- };
1185
- };
1186
- /** . */
1187
- 'skillId': {
1188
- type: 'id';
1189
- options: undefined;
1190
- };
1191
- /** . */
1192
- 'isMe': {
1193
- type: 'boolean';
1194
- isRequired: true;
1195
- options: undefined;
1196
- };
1197
- /** . */
1198
- 'isSprucebot': {
1199
- type: 'boolean';
1200
- isRequired: true;
1201
- options: undefined;
1202
- };
1203
- };
1204
- }
1205
- type FeedItemTargetEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.FeedItemTargetSchema>;
1206
- }
1207
- export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1208
- interface Choice {
1209
- 'value': (string | number);
1210
- 'label': string;
1211
- }
1212
- interface ChoiceSchema extends SpruceSchema.Schema {
1213
- id: 'choice';
1214
- version: 'v2020_07_22';
1215
- namespace: 'Spruce';
1216
- name: '';
1217
- moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
1218
- fields: {
1219
- /** . */
1220
- 'value': {
1221
- type: 'raw';
1222
- isRequired: true;
1223
- options: {
1224
- valueType: `string | number`;
1225
- };
1226
- };
1227
- /** . */
1228
- 'label': {
1229
- type: 'text';
1230
- isRequired: true;
1231
- options: undefined;
1232
- };
1233
- };
1234
- }
1235
- type ChoiceEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.ChoiceSchema>;
1236
- }
1237
1152
  export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1238
1153
  /** A discrete communication between two humans or a human and a machine. */
1239
1154
  interface Message {
@@ -1399,6 +1314,91 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1399
1314
  }
1400
1315
  type MessageEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.MessageSchema>;
1401
1316
  }
1317
+ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1318
+ interface FeedItemTarget {
1319
+ 'personId'?: string | undefined | null;
1320
+ 'casualName': string;
1321
+ 'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
1322
+ 'skillId'?: string | undefined | null;
1323
+ 'isMe': boolean;
1324
+ 'isSprucebot': boolean;
1325
+ }
1326
+ interface FeedItemTargetSchema extends SpruceSchema.Schema {
1327
+ id: 'feedItemTarget';
1328
+ version: 'v2020_07_22';
1329
+ namespace: 'Spruce';
1330
+ name: '';
1331
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
1332
+ fields: {
1333
+ /** . */
1334
+ 'personId': {
1335
+ type: 'id';
1336
+ options: undefined;
1337
+ };
1338
+ /** . */
1339
+ 'casualName': {
1340
+ type: 'text';
1341
+ isRequired: true;
1342
+ options: undefined;
1343
+ };
1344
+ /** . */
1345
+ 'avatar': {
1346
+ type: 'image';
1347
+ options: {
1348
+ requiredSizes: ["*"];
1349
+ };
1350
+ };
1351
+ /** . */
1352
+ 'skillId': {
1353
+ type: 'id';
1354
+ options: undefined;
1355
+ };
1356
+ /** . */
1357
+ 'isMe': {
1358
+ type: 'boolean';
1359
+ isRequired: true;
1360
+ options: undefined;
1361
+ };
1362
+ /** . */
1363
+ 'isSprucebot': {
1364
+ type: 'boolean';
1365
+ isRequired: true;
1366
+ options: undefined;
1367
+ };
1368
+ };
1369
+ }
1370
+ type FeedItemTargetEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.FeedItemTargetSchema>;
1371
+ }
1372
+ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1373
+ interface Choice {
1374
+ 'value': (string | number);
1375
+ 'label': string;
1376
+ }
1377
+ interface ChoiceSchema extends SpruceSchema.Schema {
1378
+ id: 'choice';
1379
+ version: 'v2020_07_22';
1380
+ namespace: 'Spruce';
1381
+ name: '';
1382
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
1383
+ fields: {
1384
+ /** . */
1385
+ 'value': {
1386
+ type: 'raw';
1387
+ isRequired: true;
1388
+ options: {
1389
+ valueType: `string | number`;
1390
+ };
1391
+ };
1392
+ /** . */
1393
+ 'label': {
1394
+ type: 'text';
1395
+ isRequired: true;
1396
+ options: undefined;
1397
+ };
1398
+ };
1399
+ }
1400
+ type ChoiceEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.ChoiceSchema>;
1401
+ }
1402
1402
  export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1403
1403
  interface FeedItem {
1404
1404
  'id': string;
@@ -1485,11 +1485,38 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1485
1485
  }
1486
1486
  type FeedItemEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema>;
1487
1487
  }
1488
+ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1489
+ interface AgentSource {
1490
+ 'personId'?: string | undefined | null;
1491
+ 'skillId'?: string | undefined | null;
1492
+ }
1493
+ interface AgentSourceSchema extends SpruceSchema.Schema {
1494
+ id: 'agentSource';
1495
+ version: 'v2020_07_22';
1496
+ namespace: 'Spruce';
1497
+ name: '';
1498
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
1499
+ fields: {
1500
+ /** . */
1501
+ 'personId': {
1502
+ type: 'id';
1503
+ options: undefined;
1504
+ };
1505
+ /** . */
1506
+ 'skillId': {
1507
+ type: 'id';
1508
+ options: undefined;
1509
+ };
1510
+ };
1511
+ }
1512
+ type AgentSourceEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.AgentSourceSchema>;
1513
+ }
1488
1514
  export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1489
1515
  interface Agent {
1490
1516
  'id': string;
1491
1517
  'name': string;
1492
1518
  'systemPrompt': string;
1519
+ 'source'?: SpruceSchemas.Spruce.v2020_07_22.AgentSource | undefined | null;
1493
1520
  }
1494
1521
  interface AgentSchema extends SpruceSchema.Schema {
1495
1522
  id: 'agent';
@@ -1516,6 +1543,14 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1516
1543
  isRequired: true;
1517
1544
  options: undefined;
1518
1545
  };
1546
+ /** . */
1547
+ 'source': {
1548
+ type: 'schema';
1549
+ isPrivate: true;
1550
+ options: {
1551
+ schema: SpruceSchemas.Spruce.v2020_07_22.AgentSourceSchema;
1552
+ };
1553
+ };
1519
1554
  };
1520
1555
  }
1521
1556
  type AgentEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.AgentSchema>;
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  const schema_1 = require("@sprucelabs/schema");
7
+ const agentSource_schema_1 = __importDefault(require("./agentSource.schema"));
4
8
  const agentSchema = {
5
9
  id: 'agent',
6
10
  version: 'v2020_07_22',
@@ -26,6 +30,12 @@ const agentSchema = {
26
30
  isRequired: true,
27
31
  options: undefined
28
32
  },
33
+ /** . */
34
+ 'source': {
35
+ type: 'schema',
36
+ isPrivate: true,
37
+ options: { schema: agentSource_schema_1.default, }
38
+ },
29
39
  }
30
40
  };
31
41
  schema_1.SchemaRegistry.getInstance().trackSchema(agentSchema);
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../core.schemas.types';
2
+ declare const agentSourceSchema: SpruceSchemas.Spruce.v2020_07_22.AgentSourceSchema;
3
+ export default agentSourceSchema;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const schema_1 = require("@sprucelabs/schema");
4
+ const agentSourceSchema = {
5
+ id: 'agentSource',
6
+ version: 'v2020_07_22',
7
+ namespace: 'Spruce',
8
+ name: '',
9
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas',
10
+ fields: {
11
+ /** . */
12
+ 'personId': {
13
+ type: 'id',
14
+ options: undefined
15
+ },
16
+ /** . */
17
+ 'skillId': {
18
+ type: 'id',
19
+ options: undefined
20
+ },
21
+ }
22
+ };
23
+ schema_1.SchemaRegistry.getInstance().trackSchema(agentSourceSchema);
24
+ exports.default = agentSourceSchema;
@@ -1149,91 +1149,6 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1149
1149
  }
1150
1150
  type LinkEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.LinkSchema>;
1151
1151
  }
1152
- export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1153
- interface FeedItemTarget {
1154
- 'personId'?: string | undefined | null;
1155
- 'casualName': string;
1156
- 'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
1157
- 'skillId'?: string | undefined | null;
1158
- 'isMe': boolean;
1159
- 'isSprucebot': boolean;
1160
- }
1161
- interface FeedItemTargetSchema extends SpruceSchema.Schema {
1162
- id: 'feedItemTarget';
1163
- version: 'v2020_07_22';
1164
- namespace: 'Spruce';
1165
- name: '';
1166
- moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
1167
- fields: {
1168
- /** . */
1169
- 'personId': {
1170
- type: 'id';
1171
- options: undefined;
1172
- };
1173
- /** . */
1174
- 'casualName': {
1175
- type: 'text';
1176
- isRequired: true;
1177
- options: undefined;
1178
- };
1179
- /** . */
1180
- 'avatar': {
1181
- type: 'image';
1182
- options: {
1183
- requiredSizes: ["*"];
1184
- };
1185
- };
1186
- /** . */
1187
- 'skillId': {
1188
- type: 'id';
1189
- options: undefined;
1190
- };
1191
- /** . */
1192
- 'isMe': {
1193
- type: 'boolean';
1194
- isRequired: true;
1195
- options: undefined;
1196
- };
1197
- /** . */
1198
- 'isSprucebot': {
1199
- type: 'boolean';
1200
- isRequired: true;
1201
- options: undefined;
1202
- };
1203
- };
1204
- }
1205
- type FeedItemTargetEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.FeedItemTargetSchema>;
1206
- }
1207
- export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1208
- interface Choice {
1209
- 'value': (string | number);
1210
- 'label': string;
1211
- }
1212
- interface ChoiceSchema extends SpruceSchema.Schema {
1213
- id: 'choice';
1214
- version: 'v2020_07_22';
1215
- namespace: 'Spruce';
1216
- name: '';
1217
- moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
1218
- fields: {
1219
- /** . */
1220
- 'value': {
1221
- type: 'raw';
1222
- isRequired: true;
1223
- options: {
1224
- valueType: `string | number`;
1225
- };
1226
- };
1227
- /** . */
1228
- 'label': {
1229
- type: 'text';
1230
- isRequired: true;
1231
- options: undefined;
1232
- };
1233
- };
1234
- }
1235
- type ChoiceEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.ChoiceSchema>;
1236
- }
1237
1152
  export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1238
1153
  /** A discrete communication between two humans or a human and a machine. */
1239
1154
  interface Message {
@@ -1399,6 +1314,91 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1399
1314
  }
1400
1315
  type MessageEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.MessageSchema>;
1401
1316
  }
1317
+ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1318
+ interface FeedItemTarget {
1319
+ 'personId'?: string | undefined | null;
1320
+ 'casualName': string;
1321
+ 'avatar'?: SpruceSchema.ImageFieldValue | undefined | null;
1322
+ 'skillId'?: string | undefined | null;
1323
+ 'isMe': boolean;
1324
+ 'isSprucebot': boolean;
1325
+ }
1326
+ interface FeedItemTargetSchema extends SpruceSchema.Schema {
1327
+ id: 'feedItemTarget';
1328
+ version: 'v2020_07_22';
1329
+ namespace: 'Spruce';
1330
+ name: '';
1331
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
1332
+ fields: {
1333
+ /** . */
1334
+ 'personId': {
1335
+ type: 'id';
1336
+ options: undefined;
1337
+ };
1338
+ /** . */
1339
+ 'casualName': {
1340
+ type: 'text';
1341
+ isRequired: true;
1342
+ options: undefined;
1343
+ };
1344
+ /** . */
1345
+ 'avatar': {
1346
+ type: 'image';
1347
+ options: {
1348
+ requiredSizes: ["*"];
1349
+ };
1350
+ };
1351
+ /** . */
1352
+ 'skillId': {
1353
+ type: 'id';
1354
+ options: undefined;
1355
+ };
1356
+ /** . */
1357
+ 'isMe': {
1358
+ type: 'boolean';
1359
+ isRequired: true;
1360
+ options: undefined;
1361
+ };
1362
+ /** . */
1363
+ 'isSprucebot': {
1364
+ type: 'boolean';
1365
+ isRequired: true;
1366
+ options: undefined;
1367
+ };
1368
+ };
1369
+ }
1370
+ type FeedItemTargetEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.FeedItemTargetSchema>;
1371
+ }
1372
+ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1373
+ interface Choice {
1374
+ 'value': (string | number);
1375
+ 'label': string;
1376
+ }
1377
+ interface ChoiceSchema extends SpruceSchema.Schema {
1378
+ id: 'choice';
1379
+ version: 'v2020_07_22';
1380
+ namespace: 'Spruce';
1381
+ name: '';
1382
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
1383
+ fields: {
1384
+ /** . */
1385
+ 'value': {
1386
+ type: 'raw';
1387
+ isRequired: true;
1388
+ options: {
1389
+ valueType: `string | number`;
1390
+ };
1391
+ };
1392
+ /** . */
1393
+ 'label': {
1394
+ type: 'text';
1395
+ isRequired: true;
1396
+ options: undefined;
1397
+ };
1398
+ };
1399
+ }
1400
+ type ChoiceEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.ChoiceSchema>;
1401
+ }
1402
1402
  export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1403
1403
  interface FeedItem {
1404
1404
  'id': string;
@@ -1485,11 +1485,38 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1485
1485
  }
1486
1486
  type FeedItemEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.FeedItemSchema>;
1487
1487
  }
1488
+ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1489
+ interface AgentSource {
1490
+ 'personId'?: string | undefined | null;
1491
+ 'skillId'?: string | undefined | null;
1492
+ }
1493
+ interface AgentSourceSchema extends SpruceSchema.Schema {
1494
+ id: 'agentSource';
1495
+ version: 'v2020_07_22';
1496
+ namespace: 'Spruce';
1497
+ name: '';
1498
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas';
1499
+ fields: {
1500
+ /** . */
1501
+ 'personId': {
1502
+ type: 'id';
1503
+ options: undefined;
1504
+ };
1505
+ /** . */
1506
+ 'skillId': {
1507
+ type: 'id';
1508
+ options: undefined;
1509
+ };
1510
+ };
1511
+ }
1512
+ type AgentSourceEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.AgentSourceSchema>;
1513
+ }
1488
1514
  export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1489
1515
  interface Agent {
1490
1516
  'id': string;
1491
1517
  'name': string;
1492
1518
  'systemPrompt': string;
1519
+ 'source'?: SpruceSchemas.Spruce.v2020_07_22.AgentSource | undefined | null;
1493
1520
  }
1494
1521
  interface AgentSchema extends SpruceSchema.Schema {
1495
1522
  id: 'agent';
@@ -1516,6 +1543,14 @@ export declare namespace SpruceSchemas.Spruce.v2020_07_22 {
1516
1543
  isRequired: true;
1517
1544
  options: undefined;
1518
1545
  };
1546
+ /** . */
1547
+ 'source': {
1548
+ type: 'schema';
1549
+ isPrivate: true;
1550
+ options: {
1551
+ schema: SpruceSchemas.Spruce.v2020_07_22.AgentSourceSchema;
1552
+ };
1553
+ };
1519
1554
  };
1520
1555
  }
1521
1556
  type AgentEntity = SchemaEntity<SpruceSchemas.Spruce.v2020_07_22.AgentSchema>;
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../core.schemas.types';
2
+ declare const agentSchema: SpruceSchemas.Spruce.v2020_07_22.AgentSchema;
3
+ export default agentSchema;
@@ -0,0 +1,37 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema';
2
+ import agentSourceSchema_v2020_07_22 from './agentSource.schema.js';
3
+ const agentSchema = {
4
+ id: 'agent',
5
+ version: 'v2020_07_22',
6
+ namespace: 'Spruce',
7
+ name: 'Agent',
8
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas',
9
+ fields: {
10
+ /** . */
11
+ 'id': {
12
+ type: 'id',
13
+ isRequired: true,
14
+ options: undefined
15
+ },
16
+ /** . */
17
+ 'name': {
18
+ type: 'text',
19
+ isRequired: true,
20
+ options: undefined
21
+ },
22
+ /** . */
23
+ 'systemPrompt': {
24
+ type: 'text',
25
+ isRequired: true,
26
+ options: undefined
27
+ },
28
+ /** . */
29
+ 'source': {
30
+ type: 'schema',
31
+ isPrivate: true,
32
+ options: { schema: agentSourceSchema_v2020_07_22, }
33
+ },
34
+ }
35
+ };
36
+ SchemaRegistry.getInstance().trackSchema(agentSchema);
37
+ export default agentSchema;
@@ -0,0 +1,3 @@
1
+ import { SpruceSchemas } from '../../core.schemas.types';
2
+ declare const agentSourceSchema: SpruceSchemas.Spruce.v2020_07_22.AgentSourceSchema;
3
+ export default agentSourceSchema;
@@ -0,0 +1,22 @@
1
+ import { SchemaRegistry } from '@sprucelabs/schema';
2
+ const agentSourceSchema = {
3
+ id: 'agentSource',
4
+ version: 'v2020_07_22',
5
+ namespace: 'Spruce',
6
+ name: '',
7
+ moduleToImportFromWhenRemote: '@sprucelabs/spruce-core-schemas',
8
+ fields: {
9
+ /** . */
10
+ 'personId': {
11
+ type: 'id',
12
+ options: undefined
13
+ },
14
+ /** . */
15
+ 'skillId': {
16
+ type: 'id',
17
+ options: undefined
18
+ },
19
+ }
20
+ };
21
+ SchemaRegistry.getInstance().trackSchema(agentSourceSchema);
22
+ export default agentSourceSchema;
@@ -16,6 +16,7 @@ export { default as feedItemTargetSchema } from './.spruce/schemas/spruce/v2020_
16
16
  export { default as linkSchema } from './.spruce/schemas/spruce/v2020_07_22/link.schema';
17
17
  export { default as feedItemSchema } from './.spruce/schemas/spruce/v2020_07_22/feedItem.schema';
18
18
  export { default as choiceSchema } from './.spruce/schemas/spruce/v2020_07_22/choice.schema';
19
+ export { default as agentSchema } from './.spruce/schemas/spruce/v2020_07_22/agent.schema';
19
20
  export { timezoneChoices } from './timezoneChoices';
20
21
  export * from './constants';
21
22
  export * from './core.types';
@@ -16,6 +16,7 @@ export { default as feedItemTargetSchema } from './.spruce/schemas/spruce/v2020_
16
16
  export { default as linkSchema } from './.spruce/schemas/spruce/v2020_07_22/link.schema.js';
17
17
  export { default as feedItemSchema } from './.spruce/schemas/spruce/v2020_07_22/feedItem.schema.js';
18
18
  export { default as choiceSchema } from './.spruce/schemas/spruce/v2020_07_22/choice.schema.js';
19
+ export { default as agentSchema } from './.spruce/schemas/spruce/v2020_07_22/agent.schema.js';
19
20
  export { timezoneChoices } from './timezoneChoices.js';
20
21
  export * from './constants.js';
21
22
  export * from './core.types.js';
@@ -14,6 +14,23 @@ declare const _default: {
14
14
  type: "text";
15
15
  isRequired: true;
16
16
  };
17
+ source: {
18
+ type: "schema";
19
+ isPrivate: true;
20
+ options: {
21
+ schema: {
22
+ id: string;
23
+ fields: {
24
+ personId: {
25
+ type: "id";
26
+ };
27
+ skillId: {
28
+ type: "id";
29
+ };
30
+ };
31
+ };
32
+ };
33
+ };
17
34
  };
18
35
  };
19
36
  export default _default;
@@ -15,5 +15,22 @@ export default buildSchema({
15
15
  type: 'text',
16
16
  isRequired: true,
17
17
  },
18
+ source: {
19
+ type: 'schema',
20
+ isPrivate: true,
21
+ options: {
22
+ schema: buildSchema({
23
+ id: 'agentSource',
24
+ fields: {
25
+ personId: {
26
+ type: 'id',
27
+ },
28
+ skillId: {
29
+ type: 'id',
30
+ },
31
+ },
32
+ }),
33
+ },
34
+ },
18
35
  },
19
36
  });
package/build/index.d.ts CHANGED
@@ -16,6 +16,7 @@ export { default as feedItemTargetSchema } from './.spruce/schemas/spruce/v2020_
16
16
  export { default as linkSchema } from './.spruce/schemas/spruce/v2020_07_22/link.schema';
17
17
  export { default as feedItemSchema } from './.spruce/schemas/spruce/v2020_07_22/feedItem.schema';
18
18
  export { default as choiceSchema } from './.spruce/schemas/spruce/v2020_07_22/choice.schema';
19
+ export { default as agentSchema } from './.spruce/schemas/spruce/v2020_07_22/agent.schema';
19
20
  export { timezoneChoices } from './timezoneChoices';
20
21
  export * from './constants';
21
22
  export * from './core.types';
package/build/index.js CHANGED
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.timezoneChoices = exports.choiceSchema = exports.feedItemSchema = exports.linkSchema = exports.feedItemTargetSchema = exports.feedSchema = exports.sendMessageSchema = exports.messageTargetSchema = exports.messageSourceSchema = exports.messageSchema = exports.roleSchema = exports.personLocationSchema = exports.personOrganizationSchema = exports.organizationSchema = exports.locationSchema = exports.skillCreatorSchema = exports.skillSchema = exports.personSchema = void 0;
20
+ exports.timezoneChoices = exports.agentSchema = exports.choiceSchema = exports.feedItemSchema = exports.linkSchema = exports.feedItemTargetSchema = exports.feedSchema = exports.sendMessageSchema = exports.messageTargetSchema = exports.messageSourceSchema = exports.messageSchema = exports.roleSchema = exports.personLocationSchema = exports.personOrganizationSchema = exports.organizationSchema = exports.locationSchema = exports.skillCreatorSchema = exports.skillSchema = exports.personSchema = void 0;
21
21
  __exportStar(require("./.spruce/schemas/core.schemas.types"), exports);
22
22
  var person_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/person.schema");
23
23
  Object.defineProperty(exports, "personSchema", { enumerable: true, get: function () { return __importDefault(person_schema_1).default; } });
@@ -53,6 +53,8 @@ var feedItem_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/feedItem.s
53
53
  Object.defineProperty(exports, "feedItemSchema", { enumerable: true, get: function () { return __importDefault(feedItem_schema_1).default; } });
54
54
  var choice_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/choice.schema");
55
55
  Object.defineProperty(exports, "choiceSchema", { enumerable: true, get: function () { return __importDefault(choice_schema_1).default; } });
56
+ var agent_schema_1 = require("./.spruce/schemas/spruce/v2020_07_22/agent.schema");
57
+ Object.defineProperty(exports, "agentSchema", { enumerable: true, get: function () { return __importDefault(agent_schema_1).default; } });
56
58
  var timezoneChoices_1 = require("./timezoneChoices");
57
59
  Object.defineProperty(exports, "timezoneChoices", { enumerable: true, get: function () { return timezoneChoices_1.timezoneChoices; } });
58
60
  __exportStar(require("./constants"), exports);
@@ -14,6 +14,23 @@ declare const _default: {
14
14
  type: "text";
15
15
  isRequired: true;
16
16
  };
17
+ source: {
18
+ type: "schema";
19
+ isPrivate: true;
20
+ options: {
21
+ schema: {
22
+ id: string;
23
+ fields: {
24
+ personId: {
25
+ type: "id";
26
+ };
27
+ skillId: {
28
+ type: "id";
29
+ };
30
+ };
31
+ };
32
+ };
33
+ };
17
34
  };
18
35
  };
19
36
  export default _default;
@@ -17,5 +17,22 @@ exports.default = (0, schema_1.buildSchema)({
17
17
  type: 'text',
18
18
  isRequired: true,
19
19
  },
20
+ source: {
21
+ type: 'schema',
22
+ isPrivate: true,
23
+ options: {
24
+ schema: (0, schema_1.buildSchema)({
25
+ id: 'agentSource',
26
+ fields: {
27
+ personId: {
28
+ type: 'id',
29
+ },
30
+ skillId: {
31
+ type: 'id',
32
+ },
33
+ },
34
+ }),
35
+ },
36
+ },
20
37
  },
21
38
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "41.3.0",
6
+ "version": "41.3.2",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "tsconfig.json"