@bigfootai/bigfoot-types 4.9.13 → 4.9.15

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.
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.google = void 0;
4
+ exports.google = {
5
+ _id: '65caf072280c2cfce04c6362',
6
+ dateCreated: 0,
7
+ dateUpdated: 0,
8
+ name: 'google',
9
+ description: 'Something about what it does',
10
+ instanceUrl: 'https://connect-google-dev.noded.so',
11
+ applications: [
12
+ {
13
+ name: 'calendar',
14
+ sobjects: {
15
+ calendar: true,
16
+ task: false,
17
+ conference: false,
18
+ document: false,
19
+ thread: false,
20
+ template: false,
21
+ table: false,
22
+ },
23
+ linkSubscriptions: [],
24
+ description: 'Bring your calendar into Noded to get up-to-the-minute insights on your day.',
25
+ iconUrl: 'https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Google_Calendar_icon_%282020%29.svg/240px-Google_Calendar_icon_%282020%29.svg.png',
26
+ label: 'Google Calendar',
27
+ recordTypeSubscriptions: [''],
28
+ authentication: true,
29
+ },
30
+ {
31
+ name: 'tasks',
32
+ sobjects: {
33
+ calendar: false,
34
+ task: true,
35
+ conference: false,
36
+ document: false,
37
+ thread: false,
38
+ template: false,
39
+ table: false,
40
+ },
41
+ linkSubscriptions: [],
42
+ description: 'Manage your tasks and task lists directly from Noded.',
43
+ iconUrl: 'https://upload.wikimedia.org/wikipedia/commons/thumb/5/5b/Google_Tasks_2021.svg/253px-Google_Tasks_2021.svg.png',
44
+ label: 'Google Tasks',
45
+ recordTypeSubscriptions: [''],
46
+ authentication: true,
47
+ },
48
+ {
49
+ name: 'docs',
50
+ sobjects: {
51
+ calendar: false,
52
+ task: false,
53
+ conference: false,
54
+ document: true,
55
+ thread: false,
56
+ template: false,
57
+ table: false,
58
+ },
59
+ linkSubscriptions: ['docs.google.com'],
60
+ description: "Add document previews and ingest your documents so they're easily searchable.",
61
+ iconUrl: 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Google_Docs_icon_%282020%29.svg/174px-Google_Docs_icon_%282020%29.svg.png',
62
+ label: 'Google Docs',
63
+ recordTypeSubscriptions: [''],
64
+ authentication: true,
65
+ },
66
+ ],
67
+ label: 'Google Connect',
68
+ iconUrl: 'https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Google_Workspace_Logo.svg/640px-Google_Workspace_Logo.svg.png',
69
+ };
@@ -0,0 +1,75 @@
1
+ import { Provider } from '../../model';
2
+
3
+ export const google: Provider = {
4
+ _id: '65caf072280c2cfce04c6362',
5
+ dateCreated: 0,
6
+ dateUpdated: 0,
7
+ name: 'google',
8
+ description: 'Something about what it does',
9
+ instanceUrl: 'https://connect-google-dev.noded.so',
10
+ applications: [
11
+ {
12
+ name: 'calendar',
13
+ sobjects: {
14
+ calendar: true,
15
+ task: false,
16
+ conference: false,
17
+ document: false,
18
+ thread: false,
19
+ template: false,
20
+ table: false,
21
+ },
22
+ linkSubscriptions: [],
23
+ description:
24
+ 'Bring your calendar into Noded to get up-to-the-minute insights on your day.',
25
+ iconUrl:
26
+ 'https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/Google_Calendar_icon_%282020%29.svg/240px-Google_Calendar_icon_%282020%29.svg.png',
27
+ label: 'Google Calendar',
28
+ recordTypeSubscriptions: [''],
29
+ authentication: true,
30
+ },
31
+ {
32
+ name: 'tasks',
33
+ sobjects: {
34
+ calendar: false,
35
+ task: true,
36
+ conference: false,
37
+ document: false,
38
+ thread: false,
39
+ template: false,
40
+ table: false,
41
+ },
42
+ linkSubscriptions: [],
43
+ description:
44
+ 'Manage your tasks and task lists directly from Noded.',
45
+ iconUrl:
46
+ 'https://upload.wikimedia.org/wikipedia/commons/thumb/5/5b/Google_Tasks_2021.svg/253px-Google_Tasks_2021.svg.png',
47
+ label: 'Google Tasks',
48
+ recordTypeSubscriptions: [''],
49
+ authentication: true,
50
+ },
51
+ {
52
+ name: 'docs',
53
+ sobjects: {
54
+ calendar: false,
55
+ task: false,
56
+ conference: false,
57
+ document: true,
58
+ thread: false,
59
+ template: false,
60
+ table: false,
61
+ },
62
+ linkSubscriptions: ['docs.google.com'],
63
+ description:
64
+ "Add document previews and ingest your documents so they're easily searchable.",
65
+ iconUrl:
66
+ 'https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Google_Docs_icon_%282020%29.svg/174px-Google_Docs_icon_%282020%29.svg.png',
67
+ label: 'Google Docs',
68
+ recordTypeSubscriptions: [''],
69
+ authentication: true,
70
+ },
71
+ ],
72
+ label: 'Google Connect',
73
+ iconUrl:
74
+ 'https://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Google_Workspace_Logo.svg/640px-Google_Workspace_Logo.svg.png',
75
+ };
@@ -0,0 +1,412 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.noded = void 0;
4
+ const model_1 = require("../../model");
5
+ exports.noded = {
6
+ _id: '6635a69bf0985154b603b7fa',
7
+ dateCreated: 0,
8
+ dateUpdated: 0,
9
+ name: 'noded',
10
+ description: 'The Noded applications for Noded',
11
+ instanceUrl: 'https://api.noded.so',
12
+ applications: [
13
+ {
14
+ name: 'customer_success',
15
+ documentTypeSubscriptions: ['healthcheck'],
16
+ sobjects: {
17
+ calendar: false,
18
+ task: false,
19
+ conference: false,
20
+ document: false,
21
+ thread: false,
22
+ template: false,
23
+ table: false,
24
+ },
25
+ recordTypeSubscriptions: ['opportunity', 'case'],
26
+ description: 'Noded customized to make it more productive for customer success use-cases.',
27
+ iconUrl: '',
28
+ label: 'Noded for Customer Success',
29
+ linkSubscriptions: [''],
30
+ authentication: false,
31
+ dashboardTagSubscriptions: [
32
+ {
33
+ tagType: model_1.TagType.Organization,
34
+ dashboardSubscriptions: ['account_overview'],
35
+ },
36
+ ],
37
+ dashboardTypeSubscriptions: ['account_overview'],
38
+ },
39
+ ],
40
+ tableMetadata: [
41
+ {
42
+ _id: '',
43
+ dateCreated: 0,
44
+ dateUpdated: 0,
45
+ label: 'Opportunity',
46
+ description: 'Represents an opportunity, which is a sale or pending deal.',
47
+ references: [
48
+ 'https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_opportunity.htm',
49
+ ],
50
+ fields: [
51
+ {
52
+ label: 'Name',
53
+ name: 'Name',
54
+ description: 'A name for this opportunity.',
55
+ fieldType: model_1.FieldType.Text,
56
+ maximumCharacters: 120,
57
+ readOnly: false,
58
+ important: true,
59
+ status: false,
60
+ },
61
+ {
62
+ label: 'Account',
63
+ name: 'Account.Name',
64
+ description: 'Name of the account associated with this opportunity.',
65
+ fieldType: model_1.FieldType.Text,
66
+ readOnly: false,
67
+ important: true,
68
+ status: false,
69
+ },
70
+ {
71
+ label: 'Amount',
72
+ name: 'Amount',
73
+ description: 'Estimated total sale amount.',
74
+ fieldType: model_1.FieldType.Text,
75
+ fieldVariation: model_1.FieldVariation.Currency,
76
+ readOnly: false,
77
+ important: true,
78
+ status: false,
79
+ },
80
+ {
81
+ label: 'Close Date',
82
+ name: 'CloseDate',
83
+ description: 'Date when the opportunity is expected to close.',
84
+ fieldType: model_1.FieldType.Text,
85
+ fieldVariation: model_1.FieldVariation.Date,
86
+ readOnly: false,
87
+ important: true,
88
+ status: false,
89
+ },
90
+ {
91
+ label: 'Stage',
92
+ name: 'StageName',
93
+ description: 'Current stage of this opportunity.',
94
+ fieldType: model_1.FieldType.Select,
95
+ readOnly: false,
96
+ options: [
97
+ {
98
+ label: 'Prospecting',
99
+ value: 'Prospecting',
100
+ status: model_1.TaskStatus.NotStarted,
101
+ },
102
+ {
103
+ label: 'Qualification',
104
+ value: 'Qualification',
105
+ status: model_1.TaskStatus.InProgress,
106
+ },
107
+ {
108
+ label: 'Needs Analysis',
109
+ value: 'Needs Analysis',
110
+ status: model_1.TaskStatus.InProgress,
111
+ },
112
+ {
113
+ label: 'Value Proposition',
114
+ value: 'Value Proposition',
115
+ status: model_1.TaskStatus.InProgress,
116
+ },
117
+ {
118
+ label: 'Id. Decision Makers',
119
+ value: 'Id. Decision Makers',
120
+ status: model_1.TaskStatus.InProgress,
121
+ },
122
+ {
123
+ label: 'Perception Analysis',
124
+ value: 'Perception Analysis',
125
+ status: model_1.TaskStatus.InProgress,
126
+ },
127
+ {
128
+ label: 'Proposal/Price Quote',
129
+ value: 'Proposal/Price Quote',
130
+ status: model_1.TaskStatus.InProgress,
131
+ },
132
+ {
133
+ label: 'Negotiation/Review',
134
+ value: 'Negotiation/Review',
135
+ status: model_1.TaskStatus.InProgress,
136
+ },
137
+ {
138
+ label: 'Closed Won',
139
+ value: 'Closed Won',
140
+ status: model_1.TaskStatus.Completed,
141
+ },
142
+ {
143
+ label: 'Closed Lost',
144
+ value: 'Closed Lost',
145
+ status: model_1.TaskStatus.Completed,
146
+ },
147
+ ],
148
+ important: true,
149
+ status: true,
150
+ },
151
+ {
152
+ label: 'Owner',
153
+ name: 'Owner.Name',
154
+ description: 'Name of the User who has been assigned to work on this opportunity.',
155
+ fieldType: model_1.FieldType.Text,
156
+ readOnly: false,
157
+ important: true,
158
+ status: false,
159
+ },
160
+ {
161
+ label: 'Next Step',
162
+ name: 'NextStep',
163
+ description: 'A short description of next task in closing opportunity.',
164
+ fieldType: model_1.FieldType.Text,
165
+ maximumCharacters: 250,
166
+ readOnly: false,
167
+ important: true,
168
+ status: false,
169
+ },
170
+ {
171
+ label: 'Description',
172
+ name: 'Description',
173
+ description: 'Text description of the opportunity.',
174
+ fieldType: model_1.FieldType.Text,
175
+ fieldVariation: model_1.FieldVariation.Multi,
176
+ maximumCharacters: 32000,
177
+ readOnly: false,
178
+ important: false,
179
+ status: false,
180
+ },
181
+ ],
182
+ classifiers: [
183
+ 'interested in purchasing',
184
+ 'new opportunity',
185
+ 'interested in moving forward',
186
+ 'followup with sales',
187
+ ],
188
+ metadataType: 'opportunity',
189
+ threshold: 0.24,
190
+ },
191
+ {
192
+ _id: '',
193
+ dateCreated: 0,
194
+ dateUpdated: 0,
195
+ description: 'Represents an case/ticket, which is a problem that needs to be resolved.',
196
+ references: [
197
+ 'https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_case.htm',
198
+ 'https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/',
199
+ ],
200
+ fields: [
201
+ {
202
+ label: 'Subject',
203
+ name: 'Subject',
204
+ description: 'A summary description of the issue.',
205
+ fieldType: model_1.FieldType.Text,
206
+ maximumCharacters: 255,
207
+ readOnly: false,
208
+ important: true,
209
+ status: false,
210
+ },
211
+ {
212
+ label: 'Priority',
213
+ name: 'Priority',
214
+ description: 'The priority of the issue.',
215
+ fieldType: model_1.FieldType.Select,
216
+ readOnly: false,
217
+ options: [
218
+ {
219
+ label: 'High',
220
+ value: 'High',
221
+ priority: model_1.TaskPriority.High,
222
+ },
223
+ {
224
+ label: 'Medium',
225
+ value: 'Medium',
226
+ priority: model_1.TaskPriority.Medium,
227
+ },
228
+ {
229
+ label: 'Low',
230
+ value: 'Low',
231
+ priority: model_1.TaskPriority.Low,
232
+ },
233
+ ],
234
+ important: true,
235
+ status: false,
236
+ },
237
+ {
238
+ label: 'Status',
239
+ name: 'Status',
240
+ description: 'The status of the issue.',
241
+ fieldType: model_1.FieldType.Select,
242
+ readOnly: false,
243
+ options: [
244
+ {
245
+ label: 'New',
246
+ value: 'New',
247
+ status: model_1.TaskStatus.NotStarted,
248
+ },
249
+ {
250
+ label: 'Open',
251
+ value: 'Open',
252
+ status: model_1.TaskStatus.NotStarted,
253
+ },
254
+ {
255
+ label: 'Pending',
256
+ value: 'Pending',
257
+ status: model_1.TaskStatus.InProgress,
258
+ },
259
+ {
260
+ label: 'Hold',
261
+ value: 'Hold',
262
+ status: model_1.TaskStatus.Completed,
263
+ },
264
+ {
265
+ label: 'Solved',
266
+ value: 'Solved',
267
+ status: model_1.TaskStatus.Completed,
268
+ },
269
+ {
270
+ label: 'Closed',
271
+ value: 'Closed',
272
+ status: model_1.TaskStatus.Completed,
273
+ },
274
+ ],
275
+ important: true,
276
+ status: true,
277
+ },
278
+ {
279
+ label: 'Account',
280
+ name: 'Account.Name',
281
+ description: 'Name of the account associated with this issue.',
282
+ fieldType: model_1.FieldType.Text,
283
+ readOnly: false,
284
+ important: true,
285
+ status: false,
286
+ },
287
+ {
288
+ label: 'Contact Name',
289
+ name: 'Contact.Name',
290
+ description: 'Name of the contact associated with this issue.',
291
+ fieldType: model_1.FieldType.Text,
292
+ readOnly: false,
293
+ important: true,
294
+ status: false,
295
+ },
296
+ {
297
+ label: 'Owner',
298
+ name: 'Owner.Name',
299
+ description: 'Name of the User who has been assigned to work on this issue.',
300
+ fieldType: model_1.FieldType.Text,
301
+ readOnly: false,
302
+ important: true,
303
+ status: false,
304
+ },
305
+ {
306
+ label: 'Description',
307
+ name: 'Description',
308
+ description: 'Text description of the issue.',
309
+ fieldType: model_1.FieldType.Text,
310
+ fieldVariation: model_1.FieldVariation.Multi,
311
+ maximumCharacters: 32000,
312
+ readOnly: false,
313
+ important: false,
314
+ status: false,
315
+ },
316
+ ],
317
+ classifiers: [
318
+ 'issue with our product',
319
+ 'problems getting it working',
320
+ 'errors using',
321
+ 'struggling to get it going',
322
+ ],
323
+ metadataType: 'case',
324
+ label: 'Case',
325
+ threshold: 0.24,
326
+ },
327
+ ],
328
+ documentMetadata: [
329
+ {
330
+ _id: '',
331
+ dateCreated: 0,
332
+ dateUpdated: 0,
333
+ label: 'Customer Health Check',
334
+ description: 'This template should be used for customer meetings where the person is checking the satisfaction of the customer with their product or service.',
335
+ metadataType: 'healthcheck',
336
+ blockDescriptions: [
337
+ {
338
+ name: 'summary',
339
+ title: 'Exec Summary',
340
+ description: 'Outlines the key takeaways of the meeting',
341
+ blockType: model_1.BlockType.Section,
342
+ },
343
+ {
344
+ name: 'issues',
345
+ title: 'Issues',
346
+ description: 'A bulleted list of issues the customer raised during the meeting',
347
+ blockType: model_1.BlockType.Section,
348
+ },
349
+ {
350
+ name: 'projects',
351
+ title: 'Projects/Milestones',
352
+ description: 'A bulleted list of any projects and milestone dates that are critical to the customer',
353
+ blockType: model_1.BlockType.Section,
354
+ },
355
+ {
356
+ name: 'opportunities',
357
+ title: 'Opportunities',
358
+ description: 'A bulleted list of any opportunities the customer discussed at the meeting',
359
+ blockType: model_1.BlockType.Section,
360
+ },
361
+ ],
362
+ classifiers: [
363
+ 'health check',
364
+ 'customer check-in',
365
+ 'customer status meeting',
366
+ 'customer feedback session',
367
+ ],
368
+ threshold: 0.24,
369
+ },
370
+ ],
371
+ dashboardMetadata: [
372
+ {
373
+ _id: '',
374
+ dateCreated: 0,
375
+ dateUpdated: 0,
376
+ label: 'Account Overview',
377
+ description: 'This template should be used to provide account overviews or account summaries.',
378
+ metadataType: 'account_overview',
379
+ blockDescriptions: [
380
+ {
381
+ name: 'summary',
382
+ title: 'Summary',
383
+ description: 'A short summary about the account',
384
+ blockType: model_1.BlockType.Section,
385
+ },
386
+ {
387
+ name: 'opportunities',
388
+ title: 'Opportunities',
389
+ description: 'A list of opportunities associated with the account',
390
+ metadataType: 'opportunity',
391
+ blockType: model_1.BlockType.Table,
392
+ },
393
+ {
394
+ name: 'cases',
395
+ title: 'Cases',
396
+ description: 'A list of cases associated with the account',
397
+ metadataType: 'case',
398
+ blockType: model_1.BlockType.Table,
399
+ },
400
+ ],
401
+ classifiers: [
402
+ 'account summary',
403
+ 'account overview',
404
+ 'account briefing',
405
+ 'account plan',
406
+ ],
407
+ threshold: 0,
408
+ },
409
+ ],
410
+ label: 'Noded',
411
+ iconUrl: '',
412
+ };
@@ -0,0 +1,434 @@
1
+ import {
2
+ BlockType,
3
+ FieldType,
4
+ FieldVariation,
5
+ Provider,
6
+ TagType,
7
+ TaskPriority,
8
+ TaskStatus,
9
+ } from '../../model';
10
+
11
+ export const noded: Provider = {
12
+ _id: '6635a69bf0985154b603b7fa',
13
+ dateCreated: 0,
14
+ dateUpdated: 0,
15
+ name: 'noded',
16
+ description: 'The Noded applications for Noded',
17
+ instanceUrl: 'https://api.noded.so',
18
+ applications: [
19
+ {
20
+ name: 'customer_success',
21
+ documentTypeSubscriptions: ['healthcheck'],
22
+ sobjects: {
23
+ calendar: false,
24
+ task: false,
25
+ conference: false,
26
+ document: false,
27
+ thread: false,
28
+ template: false,
29
+ table: false,
30
+ },
31
+ recordTypeSubscriptions: ['opportunity', 'case'],
32
+ description:
33
+ 'Noded customized to make it more productive for customer success use-cases.',
34
+ iconUrl: '',
35
+ label: 'Noded for Customer Success',
36
+ linkSubscriptions: [''],
37
+ authentication: false,
38
+ dashboardTagSubscriptions: [
39
+ {
40
+ tagType: TagType.Organization,
41
+ dashboardSubscriptions: ['account_overview'],
42
+ },
43
+ ],
44
+ dashboardTypeSubscriptions: ['account_overview'],
45
+ },
46
+ ],
47
+ tableMetadata: [
48
+ {
49
+ _id: '',
50
+ dateCreated: 0,
51
+ dateUpdated: 0,
52
+ label: 'Opportunity',
53
+ description:
54
+ 'Represents an opportunity, which is a sale or pending deal.',
55
+ references: [
56
+ 'https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_opportunity.htm',
57
+ ],
58
+ fields: [
59
+ {
60
+ label: 'Name',
61
+ name: 'Name',
62
+ description: 'A name for this opportunity.',
63
+ fieldType: FieldType.Text,
64
+ maximumCharacters: 120,
65
+ readOnly: false,
66
+ important: true,
67
+ status: false,
68
+ },
69
+ {
70
+ label: 'Account',
71
+ name: 'Account.Name',
72
+ description:
73
+ 'Name of the account associated with this opportunity.',
74
+ fieldType: FieldType.Text,
75
+ readOnly: false,
76
+ important: true,
77
+ status: false,
78
+ },
79
+ {
80
+ label: 'Amount',
81
+ name: 'Amount',
82
+ description: 'Estimated total sale amount.',
83
+ fieldType: FieldType.Text,
84
+ fieldVariation: FieldVariation.Currency,
85
+ readOnly: false,
86
+ important: true,
87
+ status: false,
88
+ },
89
+ {
90
+ label: 'Close Date',
91
+ name: 'CloseDate',
92
+ description:
93
+ 'Date when the opportunity is expected to close.',
94
+ fieldType: FieldType.Text,
95
+ fieldVariation: FieldVariation.Date,
96
+ readOnly: false,
97
+ important: true,
98
+ status: false,
99
+ },
100
+ {
101
+ label: 'Stage',
102
+ name: 'StageName',
103
+ description: 'Current stage of this opportunity.',
104
+ fieldType: FieldType.Select,
105
+ readOnly: false,
106
+ options: [
107
+ {
108
+ label: 'Prospecting',
109
+ value: 'Prospecting',
110
+ status: TaskStatus.NotStarted,
111
+ },
112
+ {
113
+ label: 'Qualification',
114
+ value: 'Qualification',
115
+ status: TaskStatus.InProgress,
116
+ },
117
+ {
118
+ label: 'Needs Analysis',
119
+ value: 'Needs Analysis',
120
+ status: TaskStatus.InProgress,
121
+ },
122
+ {
123
+ label: 'Value Proposition',
124
+ value: 'Value Proposition',
125
+ status: TaskStatus.InProgress,
126
+ },
127
+ {
128
+ label: 'Id. Decision Makers',
129
+ value: 'Id. Decision Makers',
130
+ status: TaskStatus.InProgress,
131
+ },
132
+ {
133
+ label: 'Perception Analysis',
134
+ value: 'Perception Analysis',
135
+ status: TaskStatus.InProgress,
136
+ },
137
+ {
138
+ label: 'Proposal/Price Quote',
139
+ value: 'Proposal/Price Quote',
140
+ status: TaskStatus.InProgress,
141
+ },
142
+ {
143
+ label: 'Negotiation/Review',
144
+ value: 'Negotiation/Review',
145
+ status: TaskStatus.InProgress,
146
+ },
147
+ {
148
+ label: 'Closed Won',
149
+ value: 'Closed Won',
150
+ status: TaskStatus.Completed,
151
+ },
152
+ {
153
+ label: 'Closed Lost',
154
+ value: 'Closed Lost',
155
+ status: TaskStatus.Completed,
156
+ },
157
+ ],
158
+ important: true,
159
+ status: true,
160
+ },
161
+ {
162
+ label: 'Owner',
163
+ name: 'Owner.Name',
164
+ description:
165
+ 'Name of the User who has been assigned to work on this opportunity.',
166
+ fieldType: FieldType.Text,
167
+ readOnly: false,
168
+ important: true,
169
+ status: false,
170
+ },
171
+ {
172
+ label: 'Next Step',
173
+ name: 'NextStep',
174
+ description:
175
+ 'A short description of next task in closing opportunity.',
176
+ fieldType: FieldType.Text,
177
+ maximumCharacters: 250,
178
+ readOnly: false,
179
+ important: true,
180
+ status: false,
181
+ },
182
+ {
183
+ label: 'Description',
184
+ name: 'Description',
185
+ description: 'Text description of the opportunity.',
186
+ fieldType: FieldType.Text,
187
+ fieldVariation: FieldVariation.Multi,
188
+ maximumCharacters: 32000,
189
+ readOnly: false,
190
+ important: false,
191
+ status: false,
192
+ },
193
+ ],
194
+ classifiers: [
195
+ 'interested in purchasing',
196
+ 'new opportunity',
197
+ 'interested in moving forward',
198
+ 'followup with sales',
199
+ ],
200
+ metadataType: 'opportunity',
201
+ threshold: 0.24,
202
+ },
203
+ {
204
+ _id: '',
205
+ dateCreated: 0,
206
+ dateUpdated: 0,
207
+ description:
208
+ 'Represents an case/ticket, which is a problem that needs to be resolved.',
209
+ references: [
210
+ 'https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_case.htm',
211
+ 'https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/',
212
+ ],
213
+ fields: [
214
+ {
215
+ label: 'Subject',
216
+ name: 'Subject',
217
+ description: 'A summary description of the issue.',
218
+ fieldType: FieldType.Text,
219
+ maximumCharacters: 255,
220
+ readOnly: false,
221
+ important: true,
222
+ status: false,
223
+ },
224
+ {
225
+ label: 'Priority',
226
+ name: 'Priority',
227
+ description: 'The priority of the issue.',
228
+ fieldType: FieldType.Select,
229
+ readOnly: false,
230
+ options: [
231
+ {
232
+ label: 'High',
233
+ value: 'High',
234
+ priority: TaskPriority.High,
235
+ },
236
+ {
237
+ label: 'Medium',
238
+ value: 'Medium',
239
+ priority: TaskPriority.Medium,
240
+ },
241
+ {
242
+ label: 'Low',
243
+ value: 'Low',
244
+ priority: TaskPriority.Low,
245
+ },
246
+ ],
247
+ important: true,
248
+ status: false,
249
+ },
250
+ {
251
+ label: 'Status',
252
+ name: 'Status',
253
+ description: 'The status of the issue.',
254
+ fieldType: FieldType.Select,
255
+ readOnly: false,
256
+ options: [
257
+ {
258
+ label: 'New',
259
+ value: 'New',
260
+ status: TaskStatus.NotStarted,
261
+ },
262
+ {
263
+ label: 'Open',
264
+ value: 'Open',
265
+ status: TaskStatus.NotStarted,
266
+ },
267
+ {
268
+ label: 'Pending',
269
+ value: 'Pending',
270
+ status: TaskStatus.InProgress,
271
+ },
272
+ {
273
+ label: 'Hold',
274
+ value: 'Hold',
275
+ status: TaskStatus.Completed,
276
+ },
277
+ {
278
+ label: 'Solved',
279
+ value: 'Solved',
280
+ status: TaskStatus.Completed,
281
+ },
282
+ {
283
+ label: 'Closed',
284
+ value: 'Closed',
285
+ status: TaskStatus.Completed,
286
+ },
287
+ ],
288
+ important: true,
289
+ status: true,
290
+ },
291
+ {
292
+ label: 'Account',
293
+ name: 'Account.Name',
294
+ description:
295
+ 'Name of the account associated with this issue.',
296
+ fieldType: FieldType.Text,
297
+ readOnly: false,
298
+ important: true,
299
+ status: false,
300
+ },
301
+ {
302
+ label: 'Contact Name',
303
+ name: 'Contact.Name',
304
+ description:
305
+ 'Name of the contact associated with this issue.',
306
+ fieldType: FieldType.Text,
307
+ readOnly: false,
308
+ important: true,
309
+ status: false,
310
+ },
311
+ {
312
+ label: 'Owner',
313
+ name: 'Owner.Name',
314
+ description:
315
+ 'Name of the User who has been assigned to work on this issue.',
316
+ fieldType: FieldType.Text,
317
+ readOnly: false,
318
+ important: true,
319
+ status: false,
320
+ },
321
+ {
322
+ label: 'Description',
323
+ name: 'Description',
324
+ description: 'Text description of the issue.',
325
+ fieldType: FieldType.Text,
326
+ fieldVariation: FieldVariation.Multi,
327
+ maximumCharacters: 32000,
328
+ readOnly: false,
329
+ important: false,
330
+ status: false,
331
+ },
332
+ ],
333
+ classifiers: [
334
+ 'issue with our product',
335
+ 'problems getting it working',
336
+ 'errors using',
337
+ 'struggling to get it going',
338
+ ],
339
+ metadataType: 'case',
340
+ label: 'Case',
341
+ threshold: 0.24,
342
+ },
343
+ ],
344
+ documentMetadata: [
345
+ {
346
+ _id: '',
347
+ dateCreated: 0,
348
+ dateUpdated: 0,
349
+ label: 'Customer Health Check',
350
+ description:
351
+ 'This template should be used for customer meetings where the person is checking the satisfaction of the customer with their product or service.',
352
+ metadataType: 'healthcheck',
353
+ blockDescriptions: [
354
+ {
355
+ name: 'summary',
356
+ title: 'Exec Summary',
357
+ description: 'Outlines the key takeaways of the meeting',
358
+ blockType: BlockType.Section,
359
+ },
360
+ {
361
+ name: 'issues',
362
+ title: 'Issues',
363
+ description:
364
+ 'A bulleted list of issues the customer raised during the meeting',
365
+ blockType: BlockType.Section,
366
+ },
367
+ {
368
+ name: 'projects',
369
+ title: 'Projects/Milestones',
370
+ description:
371
+ 'A bulleted list of any projects and milestone dates that are critical to the customer',
372
+ blockType: BlockType.Section,
373
+ },
374
+ {
375
+ name: 'opportunities',
376
+ title: 'Opportunities',
377
+ description:
378
+ 'A bulleted list of any opportunities the customer discussed at the meeting',
379
+ blockType: BlockType.Section,
380
+ },
381
+ ],
382
+ classifiers: [
383
+ 'health check',
384
+ 'customer check-in',
385
+ 'customer status meeting',
386
+ 'customer feedback session',
387
+ ],
388
+ threshold: 0.24,
389
+ },
390
+ ],
391
+ dashboardMetadata: [
392
+ {
393
+ _id: '',
394
+ dateCreated: 0,
395
+ dateUpdated: 0,
396
+ label: 'Account Overview',
397
+ description:
398
+ 'This template should be used to provide account overviews or account summaries.',
399
+ metadataType: 'account_overview',
400
+ blockDescriptions: [
401
+ {
402
+ name: 'summary',
403
+ title: 'Summary',
404
+ description: 'A short summary about the account',
405
+ blockType: BlockType.Section,
406
+ },
407
+ {
408
+ name: 'opportunities',
409
+ title: 'Opportunities',
410
+ description:
411
+ 'A list of opportunities associated with the account',
412
+ metadataType: 'opportunity',
413
+ blockType: BlockType.Table,
414
+ },
415
+ {
416
+ name: 'cases',
417
+ title: 'Cases',
418
+ description: 'A list of cases associated with the account',
419
+ metadataType: 'case',
420
+ blockType: BlockType.Table,
421
+ },
422
+ ],
423
+ classifiers: [
424
+ 'account summary',
425
+ 'account overview',
426
+ 'account briefing',
427
+ 'account plan',
428
+ ],
429
+ threshold: 0,
430
+ },
431
+ ],
432
+ label: 'Noded',
433
+ iconUrl: '',
434
+ };
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.salesforce = void 0;
4
+ exports.salesforce = {
5
+ _id: '66331c02f0985154b603b789',
6
+ dateCreated: 0,
7
+ dateUpdated: 0,
8
+ name: 'salesforce',
9
+ description: 'Something about what it does',
10
+ instanceUrl: 'https://connect-salesforce-dev.noded.so',
11
+ applications: [
12
+ {
13
+ name: 'crm',
14
+ sobjects: {
15
+ calendar: false,
16
+ task: false,
17
+ conference: false,
18
+ document: false,
19
+ thread: false,
20
+ template: false,
21
+ table: true,
22
+ },
23
+ linkSubscriptions: ['*.lightning.force.com'],
24
+ recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
25
+ description: "Add Case and Opportunity previews and monitor changes over time so you're always up-to-date.",
26
+ iconUrl: 'https://images.squarespace-cdn.com/content/v1/5e6cfa89c315535aba12ee9d/1620071046709-UG6FBU7AKYVDYWNFQAFT/Logo+-+Sales+Cloud+%281%29.png',
27
+ label: 'Salesforce CRM',
28
+ authentication: true,
29
+ },
30
+ ],
31
+ label: 'Salesforce Connect',
32
+ iconUrl: 'https://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Salesforce.com_logo.svg/320px-Salesforce.com_logo.svg.png',
33
+ };
@@ -0,0 +1,35 @@
1
+ import { Provider } from '../../model';
2
+
3
+ export const salesforce: Provider = {
4
+ _id: '66331c02f0985154b603b789',
5
+ dateCreated: 0,
6
+ dateUpdated: 0,
7
+ name: 'salesforce',
8
+ description: 'Something about what it does',
9
+ instanceUrl: 'https://connect-salesforce-dev.noded.so',
10
+ applications: [
11
+ {
12
+ name: 'crm',
13
+ sobjects: {
14
+ calendar: false,
15
+ task: false,
16
+ conference: false,
17
+ document: false,
18
+ thread: false,
19
+ template: false,
20
+ table: true,
21
+ },
22
+ linkSubscriptions: ['*.lightning.force.com'],
23
+ recordTypeSubscriptions: ['noded.opportunity', 'noded.case'],
24
+ description:
25
+ "Add Case and Opportunity previews and monitor changes over time so you're always up-to-date.",
26
+ iconUrl:
27
+ 'https://images.squarespace-cdn.com/content/v1/5e6cfa89c315535aba12ee9d/1620071046709-UG6FBU7AKYVDYWNFQAFT/Logo+-+Sales+Cloud+%281%29.png',
28
+ label: 'Salesforce CRM',
29
+ authentication: true,
30
+ },
31
+ ],
32
+ label: 'Salesforce Connect',
33
+ iconUrl:
34
+ 'https://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Salesforce.com_logo.svg/320px-Salesforce.com_logo.svg.png',
35
+ };
@@ -95,7 +95,7 @@ exports.Case = {
95
95
  label: 'Account',
96
96
  name: 'Account.Name',
97
97
  description: 'Name of the account associated with this case.',
98
- fieldType: model_1.FieldType.Text,
98
+ fieldType: model_1.FieldType.Lookup,
99
99
  readOnly: false,
100
100
  important: true,
101
101
  status: false,
@@ -104,7 +104,7 @@ exports.Case = {
104
104
  label: 'Contact Name',
105
105
  name: 'Contact.Name',
106
106
  description: 'Name of the contact associated with this case.',
107
- fieldType: model_1.FieldType.Text,
107
+ fieldType: model_1.FieldType.Lookup,
108
108
  readOnly: false,
109
109
  important: true,
110
110
  status: false,
@@ -113,7 +113,7 @@ exports.Case = {
113
113
  label: 'Owner',
114
114
  name: 'Owner.Name',
115
115
  description: 'Name of the User who has been assigned to work on this case.',
116
- fieldType: model_1.FieldType.Text,
116
+ fieldType: model_1.FieldType.Lookup,
117
117
  readOnly: false,
118
118
  important: true,
119
119
  status: false,
@@ -100,7 +100,7 @@ export const Case: TableMetadata = {
100
100
  label: 'Account',
101
101
  name: 'Account.Name',
102
102
  description: 'Name of the account associated with this case.',
103
- fieldType: FieldType.Text,
103
+ fieldType: FieldType.Lookup,
104
104
  readOnly: false,
105
105
  important: true,
106
106
  status: false,
@@ -109,7 +109,7 @@ export const Case: TableMetadata = {
109
109
  label: 'Contact Name',
110
110
  name: 'Contact.Name',
111
111
  description: 'Name of the contact associated with this case.',
112
- fieldType: FieldType.Text,
112
+ fieldType: FieldType.Lookup,
113
113
  readOnly: false,
114
114
  important: true,
115
115
  status: false,
@@ -119,7 +119,7 @@ export const Case: TableMetadata = {
119
119
  name: 'Owner.Name',
120
120
  description:
121
121
  'Name of the User who has been assigned to work on this case.',
122
- fieldType: FieldType.Text,
122
+ fieldType: FieldType.Lookup,
123
123
  readOnly: false,
124
124
  important: true,
125
125
  status: false,
@@ -105,7 +105,7 @@ exports.Case = {
105
105
  label: 'Account',
106
106
  name: 'Account.Name',
107
107
  description: 'Name of the account associated with this issue.',
108
- fieldType: model_1.FieldType.Text,
108
+ fieldType: model_1.FieldType.Lookup,
109
109
  readOnly: false,
110
110
  important: true,
111
111
  status: false,
@@ -114,7 +114,7 @@ exports.Case = {
114
114
  label: 'Contact Name',
115
115
  name: 'Contact.Name',
116
116
  description: 'Name of the contact associated with this issue.',
117
- fieldType: model_1.FieldType.Text,
117
+ fieldType: model_1.FieldType.Lookup,
118
118
  readOnly: false,
119
119
  important: true,
120
120
  status: false,
@@ -123,7 +123,7 @@ exports.Case = {
123
123
  label: 'Owner',
124
124
  name: 'Owner.Name',
125
125
  description: 'Name of the User who has been assigned to work on this issue.',
126
- fieldType: model_1.FieldType.Text,
126
+ fieldType: model_1.FieldType.Lookup,
127
127
  readOnly: false,
128
128
  important: true,
129
129
  status: false,
@@ -110,7 +110,7 @@ export const Case: TableMetadata = {
110
110
  label: 'Account',
111
111
  name: 'Account.Name',
112
112
  description: 'Name of the account associated with this issue.',
113
- fieldType: FieldType.Text,
113
+ fieldType: FieldType.Lookup,
114
114
  readOnly: false,
115
115
  important: true,
116
116
  status: false,
@@ -119,7 +119,7 @@ export const Case: TableMetadata = {
119
119
  label: 'Contact Name',
120
120
  name: 'Contact.Name',
121
121
  description: 'Name of the contact associated with this issue.',
122
- fieldType: FieldType.Text,
122
+ fieldType: FieldType.Lookup,
123
123
  readOnly: false,
124
124
  important: true,
125
125
  status: false,
@@ -129,7 +129,7 @@ export const Case: TableMetadata = {
129
129
  name: 'Owner.Name',
130
130
  description:
131
131
  'Name of the User who has been assigned to work on this issue.',
132
- fieldType: FieldType.Text,
132
+ fieldType: FieldType.Lookup,
133
133
  readOnly: false,
134
134
  important: true,
135
135
  status: false,
@@ -27,7 +27,7 @@ exports.Opportunity = {
27
27
  label: 'Account',
28
28
  name: 'Account.Name',
29
29
  description: 'Name of the account associated with this opportunity.',
30
- fieldType: model_1.FieldType.Text,
30
+ fieldType: model_1.FieldType.Lookup,
31
31
  readOnly: false,
32
32
  important: true,
33
33
  status: false,
@@ -117,7 +117,7 @@ exports.Opportunity = {
117
117
  label: 'Owner',
118
118
  name: 'Owner.Name',
119
119
  description: 'Name of the User who has been assigned to work on this opportunity.',
120
- fieldType: model_1.FieldType.Text,
120
+ fieldType: model_1.FieldType.Lookup,
121
121
  readOnly: false,
122
122
  important: true,
123
123
  status: false,
@@ -31,7 +31,7 @@ export const Opportunity: TableMetadata = {
31
31
  name: 'Account.Name',
32
32
  description:
33
33
  'Name of the account associated with this opportunity.',
34
- fieldType: FieldType.Text,
34
+ fieldType: FieldType.Lookup,
35
35
  readOnly: false,
36
36
  important: true,
37
37
  status: false,
@@ -122,7 +122,7 @@ export const Opportunity: TableMetadata = {
122
122
  name: 'Owner.Name',
123
123
  description:
124
124
  'Name of the User who has been assigned to work on this opportunity.',
125
- fieldType: FieldType.Text,
125
+ fieldType: FieldType.Lookup,
126
126
  readOnly: false,
127
127
  important: true,
128
128
  status: false,
package/model.js CHANGED
@@ -1118,8 +1118,8 @@ type Dashboard {${exports.BusinessObjectFields}
1118
1118
  blockData: [BlockData]
1119
1119
  }`;
1120
1120
  class Dashboard extends BusinessObject {
1121
- constructor(tenantIdCreated, editors, sharingTags, version, uri, externalId, dashboardMetadata) {
1122
- super(tenantIdCreated, editors, sharingTags, version, BlockType.Dashboard, dashboardMetadata.provider, dashboardMetadata.application, uri, externalId);
1121
+ constructor(tenantIdCreated, editors, sharingTags, version, provider, application, uri, externalId, dashboardMetadata) {
1122
+ super(tenantIdCreated, editors, sharingTags, version, BlockType.Dashboard, provider, application, uri, externalId);
1123
1123
  this.blockData = [];
1124
1124
  // Go through the block descriptions and create the block data entries
1125
1125
  for (const blockDescription of dashboardMetadata.blockDescriptions) {
@@ -1201,6 +1201,7 @@ var FieldType;
1201
1201
  FieldType["Text"] = "input";
1202
1202
  FieldType["Select"] = "select";
1203
1203
  FieldType["Checkbox"] = "checkbox";
1204
+ FieldType["Lookup"] = "lookup";
1204
1205
  })(FieldType || (exports.FieldType = FieldType = {}));
1205
1206
  var FieldVariation;
1206
1207
  (function (FieldVariation) {
package/model.ts CHANGED
@@ -1952,6 +1952,8 @@ export class Dashboard extends BusinessObject {
1952
1952
  editors: Editor[],
1953
1953
  sharingTags: SharingTag[],
1954
1954
  version: number,
1955
+ provider: string,
1956
+ application: string,
1955
1957
  uri: string,
1956
1958
  externalId: string,
1957
1959
  dashboardMetadata: DashboardMetadata
@@ -1962,8 +1964,8 @@ export class Dashboard extends BusinessObject {
1962
1964
  sharingTags,
1963
1965
  version,
1964
1966
  BlockType.Dashboard,
1965
- dashboardMetadata.provider,
1966
- dashboardMetadata.application,
1967
+ provider,
1968
+ application,
1967
1969
  uri,
1968
1970
  externalId
1969
1971
  );
@@ -2124,6 +2126,7 @@ export enum FieldType {
2124
2126
  Text = 'input',
2125
2127
  Select = 'select',
2126
2128
  Checkbox = 'checkbox',
2129
+ Lookup = 'lookup',
2127
2130
  }
2128
2131
 
2129
2132
  export enum FieldVariation {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "4.9.13",
4
+ "version": "4.9.15",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",