@bigfootai/bigfoot-types 5.4.263 → 5.4.265
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/dist/agent-execution.d.ts.map +1 -1
- package/dist/agent.d.ts.map +1 -1
- package/dist/block.d.ts.map +1 -1
- package/dist/business-object.d.ts.map +1 -1
- package/dist/calendar.d.ts.map +1 -1
- package/dist/document.d.ts.map +1 -1
- package/dist/domain.d.ts.map +1 -1
- package/dist/email.d.ts.map +1 -1
- package/dist/event.d.ts.map +1 -1
- package/dist/folder.d.ts.map +1 -1
- package/dist/function-invocation.d.ts.map +1 -1
- package/dist/function-metadata.d.ts.map +1 -1
- package/dist/function-metadata.js.map +1 -1
- package/dist/history.d.ts.map +1 -1
- package/dist/installed-function.d.ts.map +1 -1
- package/dist/installed-query.d.ts.map +1 -1
- package/dist/message.d.ts.map +1 -1
- package/dist/metadata/providers/noded.d.ts +0 -1
- package/dist/metadata/providers/noded.d.ts.map +1 -1
- package/dist/metadata/providers/noded.js +2 -14
- package/dist/metadata/providers/noded.js.map +1 -1
- package/dist/metadata/providers/salesforce.d.ts.map +1 -1
- package/dist/metadata/providers/salesforce.js +67 -0
- package/dist/metadata/providers/salesforce.js.map +1 -1
- package/dist/metadata.d.ts.map +1 -1
- package/dist/note.d.ts.map +1 -1
- package/dist/primitive.d.ts.map +1 -1
- package/dist/provider.d.ts.map +1 -1
- package/dist/query-metadata.d.ts.map +1 -1
- package/dist/query-metadata.js.map +1 -1
- package/dist/recommendation.d.ts.map +1 -1
- package/dist/record.d.ts.map +1 -1
- package/dist/shared-primitive.d.ts.map +1 -1
- package/dist/statement.d.ts.map +1 -1
- package/dist/sync.d.ts.map +1 -1
- package/dist/syncs.d.ts.map +1 -1
- package/dist/table-metadata.d.ts.map +1 -1
- package/dist/table-metadata.js.map +1 -1
- package/dist/table.d.ts.map +1 -1
- package/dist/tag-recommendation.d.ts.map +1 -1
- package/dist/tag.d.ts.map +1 -1
- package/dist/task.d.ts.map +1 -1
- package/dist/tenant.d.ts.map +1 -1
- package/dist/thread.d.ts.map +1 -1
- package/dist/todo.d.ts.map +1 -1
- package/dist/transcription.d.ts.map +1 -1
- package/dist/types.d.ts +15 -7
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +4 -1
- package/dist/types.js.map +1 -1
- package/dist/user-memory.d.ts.map +1 -1
- package/dist/user-memory.js.map +1 -1
- package/dist/website.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/metadata/providers/noded.ts +2 -16
- package/src/metadata/providers/salesforce.ts +68 -0
- package/src/types.ts +10 -3
|
@@ -39,23 +39,9 @@ export const FieldMetadataARR: Field = {
|
|
|
39
39
|
export const FieldMetadataDescription: Field = {
|
|
40
40
|
label: 'Description',
|
|
41
41
|
name: 'description',
|
|
42
|
-
description: 'A description of the
|
|
42
|
+
description: 'A description of the entity the tag represents',
|
|
43
43
|
prompt:
|
|
44
|
-
'Provide a general, factual description of the
|
|
45
|
-
fieldType: FieldType.Text,
|
|
46
|
-
readOnly: false,
|
|
47
|
-
important: false,
|
|
48
|
-
source: 'system',
|
|
49
|
-
status: false,
|
|
50
|
-
visible: true,
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
export const FieldMetadataNews: Field = {
|
|
54
|
-
label: 'News',
|
|
55
|
-
name: 'news',
|
|
56
|
-
description: 'Recent news about the organization',
|
|
57
|
-
prompt:
|
|
58
|
-
'Recent, important news items for this organization. You MUST gather this information using the web_search_preview tool. DO NOT use the provided documents to complete this field. Return as a Markdown bullet list, with a maximum of 10 items, ordered newest first. Each item must be a bullet point, with a link to the article with the date and title like "* [2025/07/30: Something happened in the news](https://news.website/article). If there are no recent news items, return empty. DO NOT return more than 10 items.',
|
|
44
|
+
'Provide a general, factual description of the entity the tag represents. This description should be a paragraph suitable for an overview and must NOT be based on or summarize the contents of the provided documents. Instead, it should reflect well-known, publicly available information about the entity itself. If you do not know, or cannot find this information, leave it blank.',
|
|
59
45
|
fieldType: FieldType.Text,
|
|
60
46
|
readOnly: false,
|
|
61
47
|
important: false,
|
|
@@ -3,6 +3,7 @@ import { EVENT, ORGANIZATION } from '../../constants.js';
|
|
|
3
3
|
import { FieldType } from '../../field-type.js';
|
|
4
4
|
import { FieldVariation } from '../../field-variation.js';
|
|
5
5
|
import type { Provider, ProviderApplication } from '../../provider.js';
|
|
6
|
+
import { SearchOperator } from '../../query-metadata.js';
|
|
6
7
|
import type { TableMetadata } from '../../table-metadata.js';
|
|
7
8
|
import { TagType } from '../../tag-type.js';
|
|
8
9
|
|
|
@@ -145,6 +146,7 @@ export const SalesforceCrm: ProviderApplication = {
|
|
|
145
146
|
},
|
|
146
147
|
linkSubscriptions: ['*.lightning.force.com'],
|
|
147
148
|
linkToExternalIdRegex: '([a-zA-Z0-9]{15,18})(?=[^a-zA-Z0-9]|$)',
|
|
149
|
+
queryTypeSubscriptions: ['Account'], // TODO
|
|
148
150
|
recordTypeSubscriptions: ['noded.opportunity', 'noded.case', Note.metadataType, Account.metadataType],
|
|
149
151
|
description: "Add Case and Opportunity previews and monitor changes over time so you're always up-to-date.",
|
|
150
152
|
iconUrl: 'https://connect-salesforce-dev.noded.so/images/logo.png',
|
|
@@ -197,4 +199,70 @@ export const Salesforce: Provider = {
|
|
|
197
199
|
iconUrl: 'https://connect-salesforce-dev.noded.so/images/logo.png',
|
|
198
200
|
promptMetadata: [],
|
|
199
201
|
tableMetadata: [Note, Account],
|
|
202
|
+
queryMetadata: [
|
|
203
|
+
{
|
|
204
|
+
label: 'Salesforce Accounts',
|
|
205
|
+
description: 'Search for accounts in Salesforce CRM',
|
|
206
|
+
metadataType: 'Account',
|
|
207
|
+
classifiers: ['crm', 'salesforce', 'account', 'company', 'organization'],
|
|
208
|
+
threshold: 0,
|
|
209
|
+
searchFields: [
|
|
210
|
+
{
|
|
211
|
+
field: {
|
|
212
|
+
label: 'Account Name',
|
|
213
|
+
name: 'Name',
|
|
214
|
+
description: 'The name of the account',
|
|
215
|
+
fieldType: FieldType.Text,
|
|
216
|
+
fieldVariation: null,
|
|
217
|
+
readOnly: true,
|
|
218
|
+
visible: true,
|
|
219
|
+
source: 'system',
|
|
220
|
+
},
|
|
221
|
+
defaultFor: 'name',
|
|
222
|
+
operators: [SearchOperator.Equals, SearchOperator.Contains, SearchOperator.StartsWith],
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
field: {
|
|
226
|
+
label: 'Website',
|
|
227
|
+
name: 'Website',
|
|
228
|
+
description: 'The website URL of the account',
|
|
229
|
+
fieldType: FieldType.Text,
|
|
230
|
+
fieldVariation: FieldVariation.Url,
|
|
231
|
+
readOnly: true,
|
|
232
|
+
visible: true,
|
|
233
|
+
source: 'system',
|
|
234
|
+
},
|
|
235
|
+
defaultFor: 'url',
|
|
236
|
+
operators: [SearchOperator.Equals, SearchOperator.Contains, SearchOperator.StartsWith],
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
field: {
|
|
240
|
+
label: 'Phone',
|
|
241
|
+
name: 'Phone',
|
|
242
|
+
description: 'The primary phone number of the account',
|
|
243
|
+
fieldType: FieldType.Text,
|
|
244
|
+
fieldVariation: FieldVariation.Phone,
|
|
245
|
+
readOnly: true,
|
|
246
|
+
visible: true,
|
|
247
|
+
source: 'system',
|
|
248
|
+
},
|
|
249
|
+
operators: [SearchOperator.Equals, SearchOperator.Contains, SearchOperator.StartsWith],
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
field: {
|
|
253
|
+
label: 'Industry',
|
|
254
|
+
name: 'Industry',
|
|
255
|
+
description: 'The industry the account belongs to',
|
|
256
|
+
fieldType: FieldType.Select,
|
|
257
|
+
readOnly: true,
|
|
258
|
+
visible: true,
|
|
259
|
+
source: 'system',
|
|
260
|
+
},
|
|
261
|
+
operators: [SearchOperator.Equals],
|
|
262
|
+
},
|
|
263
|
+
],
|
|
264
|
+
},
|
|
265
|
+
],
|
|
200
266
|
};
|
|
267
|
+
|
|
268
|
+
console.log(JSON.stringify(Salesforce));
|
package/src/types.ts
CHANGED
|
@@ -161,7 +161,6 @@ import { InstalledQueryQL } from './installed-query.js';
|
|
|
161
161
|
import { Primitive } from './primitive.js';
|
|
162
162
|
import { ProcessingStage } from './processing-stage.js';
|
|
163
163
|
import {
|
|
164
|
-
type QueryMetadata,
|
|
165
164
|
QueryMetadataInputQL,
|
|
166
165
|
QueryMetadataQL,
|
|
167
166
|
type QuerySearchField,
|
|
@@ -1253,7 +1252,6 @@ input InstallProviderQueryInput {
|
|
|
1253
1252
|
label: String
|
|
1254
1253
|
provider: String!
|
|
1255
1254
|
queryId: String
|
|
1256
|
-
queryMetadata: QueryMetadataInput!
|
|
1257
1255
|
searchFields: [QuerySearchFieldInput!]!
|
|
1258
1256
|
sharingTags: [SharingTagInput!]
|
|
1259
1257
|
tableMetadataType: String!
|
|
@@ -1265,7 +1263,6 @@ export interface InstallProviderQueryInput {
|
|
|
1265
1263
|
label?: string;
|
|
1266
1264
|
provider: string;
|
|
1267
1265
|
queryId?: string;
|
|
1268
|
-
queryMetadata: QueryMetadata;
|
|
1269
1266
|
searchFields: QuerySearchField[];
|
|
1270
1267
|
sharingTags?: SharingTag[];
|
|
1271
1268
|
tableMetadataType: string;
|
|
@@ -2799,6 +2796,7 @@ export const GraphSearchInputFields = `
|
|
|
2799
2796
|
agentTaskNames: [String]
|
|
2800
2797
|
tags: [TagFilterItemInput]
|
|
2801
2798
|
scopeToOwnTasks: Boolean
|
|
2799
|
+
scopeToPriorityTasks: Boolean
|
|
2802
2800
|
`;
|
|
2803
2801
|
export const GraphSearchFields = `
|
|
2804
2802
|
search: String
|
|
@@ -2884,6 +2882,12 @@ export interface GraphSearchInput extends PaginatedInput {
|
|
|
2884
2882
|
* "my tasks tagged with this account."
|
|
2885
2883
|
*/
|
|
2886
2884
|
scopeToOwnTasks?: boolean;
|
|
2885
|
+
/**
|
|
2886
|
+
* When true, applies the full "priority tasks" preset: restricts to non-completed, non-generated
|
|
2887
|
+
* Task blocks due within 3 days (in tenant timezone), scoped to tasks the tenant created or is
|
|
2888
|
+
* assigned to. Composes with tag/folder constraints for topic scoping.
|
|
2889
|
+
*/
|
|
2890
|
+
scopeToPriorityTasks?: boolean;
|
|
2887
2891
|
}
|
|
2888
2892
|
|
|
2889
2893
|
export const GraphSearchChangedPayloadQL = `
|
|
@@ -3328,6 +3332,7 @@ export * from './email-intent.js';
|
|
|
3328
3332
|
export * from './entity-entry.js';
|
|
3329
3333
|
export * from './event.js';
|
|
3330
3334
|
export * from './event-status.js';
|
|
3335
|
+
export * from './execute-query.js';
|
|
3331
3336
|
export * from './external-id-link.js';
|
|
3332
3337
|
export * from './field.js';
|
|
3333
3338
|
export * from './field-type.js';
|
|
@@ -3339,6 +3344,7 @@ export * from './function-invocation.js';
|
|
|
3339
3344
|
export * from './function-metadata.js';
|
|
3340
3345
|
export * from './history.js';
|
|
3341
3346
|
export * from './installed-function.js';
|
|
3347
|
+
export * from './installed-query.js';
|
|
3342
3348
|
export * from './invite-status.js';
|
|
3343
3349
|
export * from './message.js';
|
|
3344
3350
|
export * from './message-role.js';
|
|
@@ -3357,6 +3363,7 @@ export * from './person-reference.js';
|
|
|
3357
3363
|
export * from './primitive.js';
|
|
3358
3364
|
export * from './processing-stage.js';
|
|
3359
3365
|
export * from './pub-sub-type.js';
|
|
3366
|
+
export * from './query-metadata.js';
|
|
3360
3367
|
export * from './reaction.js';
|
|
3361
3368
|
export * from './recommendation.js';
|
|
3362
3369
|
export * from './record.js';
|