@bigfootai/bigfoot-types 4.6.18 → 4.7.1
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/metadata/tables/case.js +139 -0
- package/metadata/tables/case.ts +145 -0
- package/metadata/tables/issue.js +149 -0
- package/metadata/tables/issue.ts +155 -0
- package/metadata/tables/opportunity.js +153 -0
- package/metadata/tables/opportunity.ts +159 -0
- package/model.js +50 -30
- package/model.ts +73 -39
- package/package.json +1 -1
- package/metadata/tables/account.json +0 -231
- package/metadata/tables/contact.json +0 -95
- package/metadata/tables/event.json +0 -79
- package/metadata/tables/issue.json +0 -127
- package/metadata/tables/opportunity.json +0 -121
@@ -0,0 +1,139 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Case = void 0;
|
4
|
+
const model_1 = require("../../model");
|
5
|
+
exports.Case = {
|
6
|
+
_id: '',
|
7
|
+
dateCreated: 0,
|
8
|
+
dateUpdated: 0,
|
9
|
+
label: 'Case',
|
10
|
+
description: 'Represents an case/ticket, which is a problem that needs to be resolved.',
|
11
|
+
recordType: 'case',
|
12
|
+
references: [
|
13
|
+
'https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_case.htm',
|
14
|
+
'https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/',
|
15
|
+
],
|
16
|
+
fields: [
|
17
|
+
{
|
18
|
+
label: 'Subject',
|
19
|
+
name: 'Subject',
|
20
|
+
description: 'A summary description of the case.',
|
21
|
+
fieldType: model_1.FieldType.Text,
|
22
|
+
maximumCharacters: 255,
|
23
|
+
readOnly: false,
|
24
|
+
important: true,
|
25
|
+
status: false,
|
26
|
+
},
|
27
|
+
{
|
28
|
+
label: 'Priority',
|
29
|
+
name: 'Priority',
|
30
|
+
description: 'The priority of the case.',
|
31
|
+
fieldType: model_1.FieldType.Select,
|
32
|
+
readOnly: false,
|
33
|
+
options: [
|
34
|
+
{
|
35
|
+
label: 'High',
|
36
|
+
value: 'High',
|
37
|
+
priority: model_1.TaskPriority.High,
|
38
|
+
},
|
39
|
+
{
|
40
|
+
label: 'Medium',
|
41
|
+
value: 'Medium',
|
42
|
+
priority: model_1.TaskPriority.Medium,
|
43
|
+
},
|
44
|
+
{
|
45
|
+
label: 'Low',
|
46
|
+
value: 'Low',
|
47
|
+
priority: model_1.TaskPriority.Low,
|
48
|
+
},
|
49
|
+
],
|
50
|
+
important: true,
|
51
|
+
status: false,
|
52
|
+
},
|
53
|
+
{
|
54
|
+
label: 'Status',
|
55
|
+
name: 'Status',
|
56
|
+
description: 'The status of the case.',
|
57
|
+
fieldType: model_1.FieldType.Select,
|
58
|
+
readOnly: false,
|
59
|
+
options: [
|
60
|
+
{
|
61
|
+
label: 'New',
|
62
|
+
value: 'New',
|
63
|
+
status: model_1.TaskStatus.NotStarted,
|
64
|
+
},
|
65
|
+
{
|
66
|
+
label: 'Open',
|
67
|
+
value: 'Open',
|
68
|
+
status: model_1.TaskStatus.NotStarted,
|
69
|
+
},
|
70
|
+
{
|
71
|
+
label: 'Pending',
|
72
|
+
value: 'Pending',
|
73
|
+
status: model_1.TaskStatus.InProgress,
|
74
|
+
},
|
75
|
+
{
|
76
|
+
label: 'Hold',
|
77
|
+
value: 'Hold',
|
78
|
+
status: model_1.TaskStatus.Completed,
|
79
|
+
},
|
80
|
+
{
|
81
|
+
label: 'Solved',
|
82
|
+
value: 'Solved',
|
83
|
+
status: model_1.TaskStatus.Completed,
|
84
|
+
},
|
85
|
+
{
|
86
|
+
label: 'Closed',
|
87
|
+
value: 'Closed',
|
88
|
+
status: model_1.TaskStatus.Completed,
|
89
|
+
},
|
90
|
+
],
|
91
|
+
important: true,
|
92
|
+
status: true,
|
93
|
+
},
|
94
|
+
{
|
95
|
+
label: 'Account',
|
96
|
+
name: 'Account.Name',
|
97
|
+
description: 'Name of the account associated with this case.',
|
98
|
+
fieldType: model_1.FieldType.Text,
|
99
|
+
readOnly: false,
|
100
|
+
important: true,
|
101
|
+
status: false,
|
102
|
+
},
|
103
|
+
{
|
104
|
+
label: 'Contact Name',
|
105
|
+
name: 'Contact.Name',
|
106
|
+
description: 'Name of the contact associated with this case.',
|
107
|
+
fieldType: model_1.FieldType.Text,
|
108
|
+
readOnly: false,
|
109
|
+
important: true,
|
110
|
+
status: false,
|
111
|
+
},
|
112
|
+
{
|
113
|
+
label: 'Owner',
|
114
|
+
name: 'Owner.Name',
|
115
|
+
description: 'Name of the User who has been assigned to work on this case.',
|
116
|
+
fieldType: model_1.FieldType.Text,
|
117
|
+
readOnly: false,
|
118
|
+
important: true,
|
119
|
+
status: false,
|
120
|
+
},
|
121
|
+
{
|
122
|
+
label: 'Description',
|
123
|
+
name: 'Description',
|
124
|
+
description: 'Text description of the case.',
|
125
|
+
fieldType: model_1.FieldType.Text,
|
126
|
+
fieldVariation: model_1.FieldVariation.Multi,
|
127
|
+
maximumCharacters: 32000,
|
128
|
+
readOnly: false,
|
129
|
+
important: false,
|
130
|
+
status: false,
|
131
|
+
},
|
132
|
+
],
|
133
|
+
classifiers: [
|
134
|
+
'issue with our product',
|
135
|
+
'problems getting it working',
|
136
|
+
'errors using',
|
137
|
+
'struggling to get it going',
|
138
|
+
],
|
139
|
+
};
|
@@ -0,0 +1,145 @@
|
|
1
|
+
import {
|
2
|
+
FieldType,
|
3
|
+
FieldVariation,
|
4
|
+
TableMetadata,
|
5
|
+
TaskPriority,
|
6
|
+
TaskStatus,
|
7
|
+
} from '../../model';
|
8
|
+
|
9
|
+
export const Case: TableMetadata = {
|
10
|
+
_id: '',
|
11
|
+
dateCreated: 0,
|
12
|
+
dateUpdated: 0,
|
13
|
+
label: 'Case',
|
14
|
+
description:
|
15
|
+
'Represents an case/ticket, which is a problem that needs to be resolved.',
|
16
|
+
recordType: 'case',
|
17
|
+
references: [
|
18
|
+
'https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_case.htm',
|
19
|
+
'https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/',
|
20
|
+
],
|
21
|
+
fields: [
|
22
|
+
{
|
23
|
+
label: 'Subject',
|
24
|
+
name: 'Subject',
|
25
|
+
description: 'A summary description of the case.',
|
26
|
+
fieldType: FieldType.Text,
|
27
|
+
maximumCharacters: 255,
|
28
|
+
readOnly: false,
|
29
|
+
important: true,
|
30
|
+
status: false,
|
31
|
+
},
|
32
|
+
{
|
33
|
+
label: 'Priority',
|
34
|
+
name: 'Priority',
|
35
|
+
description: 'The priority of the case.',
|
36
|
+
fieldType: FieldType.Select,
|
37
|
+
readOnly: false,
|
38
|
+
options: [
|
39
|
+
{
|
40
|
+
label: 'High',
|
41
|
+
value: 'High',
|
42
|
+
priority: TaskPriority.High,
|
43
|
+
},
|
44
|
+
{
|
45
|
+
label: 'Medium',
|
46
|
+
value: 'Medium',
|
47
|
+
priority: TaskPriority.Medium,
|
48
|
+
},
|
49
|
+
{
|
50
|
+
label: 'Low',
|
51
|
+
value: 'Low',
|
52
|
+
priority: TaskPriority.Low,
|
53
|
+
},
|
54
|
+
],
|
55
|
+
important: true,
|
56
|
+
status: false,
|
57
|
+
},
|
58
|
+
{
|
59
|
+
label: 'Status',
|
60
|
+
name: 'Status',
|
61
|
+
description: 'The status of the case.',
|
62
|
+
fieldType: FieldType.Select,
|
63
|
+
readOnly: false,
|
64
|
+
options: [
|
65
|
+
{
|
66
|
+
label: 'New',
|
67
|
+
value: 'New',
|
68
|
+
status: TaskStatus.NotStarted,
|
69
|
+
},
|
70
|
+
{
|
71
|
+
label: 'Open',
|
72
|
+
value: 'Open',
|
73
|
+
status: TaskStatus.NotStarted,
|
74
|
+
},
|
75
|
+
{
|
76
|
+
label: 'Pending',
|
77
|
+
value: 'Pending',
|
78
|
+
status: TaskStatus.InProgress,
|
79
|
+
},
|
80
|
+
{
|
81
|
+
label: 'Hold',
|
82
|
+
value: 'Hold',
|
83
|
+
status: TaskStatus.Completed,
|
84
|
+
},
|
85
|
+
{
|
86
|
+
label: 'Solved',
|
87
|
+
value: 'Solved',
|
88
|
+
status: TaskStatus.Completed,
|
89
|
+
},
|
90
|
+
{
|
91
|
+
label: 'Closed',
|
92
|
+
value: 'Closed',
|
93
|
+
status: TaskStatus.Completed,
|
94
|
+
},
|
95
|
+
],
|
96
|
+
important: true,
|
97
|
+
status: true,
|
98
|
+
},
|
99
|
+
{
|
100
|
+
label: 'Account',
|
101
|
+
name: 'Account.Name',
|
102
|
+
description: 'Name of the account associated with this case.',
|
103
|
+
fieldType: FieldType.Text,
|
104
|
+
readOnly: false,
|
105
|
+
important: true,
|
106
|
+
status: false,
|
107
|
+
},
|
108
|
+
{
|
109
|
+
label: 'Contact Name',
|
110
|
+
name: 'Contact.Name',
|
111
|
+
description: 'Name of the contact associated with this case.',
|
112
|
+
fieldType: FieldType.Text,
|
113
|
+
readOnly: false,
|
114
|
+
important: true,
|
115
|
+
status: false,
|
116
|
+
},
|
117
|
+
{
|
118
|
+
label: 'Owner',
|
119
|
+
name: 'Owner.Name',
|
120
|
+
description:
|
121
|
+
'Name of the User who has been assigned to work on this case.',
|
122
|
+
fieldType: FieldType.Text,
|
123
|
+
readOnly: false,
|
124
|
+
important: true,
|
125
|
+
status: false,
|
126
|
+
},
|
127
|
+
{
|
128
|
+
label: 'Description',
|
129
|
+
name: 'Description',
|
130
|
+
description: 'Text description of the case.',
|
131
|
+
fieldType: FieldType.Text,
|
132
|
+
fieldVariation: FieldVariation.Multi,
|
133
|
+
maximumCharacters: 32000,
|
134
|
+
readOnly: false,
|
135
|
+
important: false,
|
136
|
+
status: false,
|
137
|
+
},
|
138
|
+
],
|
139
|
+
classifiers: [
|
140
|
+
'issue with our product',
|
141
|
+
'problems getting it working',
|
142
|
+
'errors using',
|
143
|
+
'struggling to get it going',
|
144
|
+
],
|
145
|
+
};
|
@@ -0,0 +1,149 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Case = void 0;
|
4
|
+
const model_1 = require("../../model");
|
5
|
+
exports.Case = {
|
6
|
+
_id: '',
|
7
|
+
dateCreated: 0,
|
8
|
+
dateUpdated: 0,
|
9
|
+
label: 'Issue',
|
10
|
+
description: 'Represents an issue or feature enhancement, which is a request to improve a product or service.',
|
11
|
+
recordType: 'issue',
|
12
|
+
references: [
|
13
|
+
'https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_case.htm',
|
14
|
+
'https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/',
|
15
|
+
],
|
16
|
+
fields: [
|
17
|
+
{
|
18
|
+
label: 'Subject',
|
19
|
+
name: 'Subject',
|
20
|
+
description: 'A summary description of the issue.',
|
21
|
+
fieldType: model_1.FieldType.Text,
|
22
|
+
maximumCharacters: 255,
|
23
|
+
readOnly: false,
|
24
|
+
important: true,
|
25
|
+
status: false,
|
26
|
+
},
|
27
|
+
{
|
28
|
+
label: 'Priority',
|
29
|
+
name: 'Priority',
|
30
|
+
description: 'The priority of the issue.',
|
31
|
+
fieldType: model_1.FieldType.Select,
|
32
|
+
readOnly: false,
|
33
|
+
options: [
|
34
|
+
{
|
35
|
+
label: 'High',
|
36
|
+
value: 'High',
|
37
|
+
priority: model_1.TaskPriority.High,
|
38
|
+
},
|
39
|
+
{
|
40
|
+
label: 'Medium',
|
41
|
+
value: 'Medium',
|
42
|
+
priority: model_1.TaskPriority.Medium,
|
43
|
+
},
|
44
|
+
{
|
45
|
+
label: 'Low',
|
46
|
+
value: 'Low',
|
47
|
+
priority: model_1.TaskPriority.Low,
|
48
|
+
},
|
49
|
+
],
|
50
|
+
important: true,
|
51
|
+
status: false,
|
52
|
+
},
|
53
|
+
{
|
54
|
+
label: 'Status',
|
55
|
+
name: 'Status',
|
56
|
+
description: 'The status of the issue.',
|
57
|
+
fieldType: model_1.FieldType.Select,
|
58
|
+
readOnly: false,
|
59
|
+
options: [
|
60
|
+
{
|
61
|
+
label: 'New',
|
62
|
+
value: 'New',
|
63
|
+
status: model_1.TaskStatus.NotStarted,
|
64
|
+
},
|
65
|
+
{
|
66
|
+
label: 'Open',
|
67
|
+
value: 'Open',
|
68
|
+
status: model_1.TaskStatus.NotStarted,
|
69
|
+
},
|
70
|
+
{
|
71
|
+
label: 'Pending',
|
72
|
+
value: 'Pending',
|
73
|
+
status: model_1.TaskStatus.InProgress,
|
74
|
+
},
|
75
|
+
{
|
76
|
+
label: 'Hold',
|
77
|
+
value: 'Hold',
|
78
|
+
status: model_1.TaskStatus.Completed,
|
79
|
+
},
|
80
|
+
{
|
81
|
+
label: 'Solved',
|
82
|
+
value: 'Solved',
|
83
|
+
status: model_1.TaskStatus.Completed,
|
84
|
+
},
|
85
|
+
{
|
86
|
+
label: 'Closed',
|
87
|
+
value: 'Closed',
|
88
|
+
status: model_1.TaskStatus.Completed,
|
89
|
+
},
|
90
|
+
],
|
91
|
+
important: true,
|
92
|
+
status: true,
|
93
|
+
},
|
94
|
+
{
|
95
|
+
label: 'Due Date',
|
96
|
+
name: 'DueDate',
|
97
|
+
description: 'Date when the issue is expected to be completed.',
|
98
|
+
fieldType: model_1.FieldType.Text,
|
99
|
+
fieldVariation: model_1.FieldVariation.Date,
|
100
|
+
readOnly: false,
|
101
|
+
important: true,
|
102
|
+
status: false,
|
103
|
+
},
|
104
|
+
{
|
105
|
+
label: 'Account',
|
106
|
+
name: 'Account.Name',
|
107
|
+
description: 'Name of the account associated with this issue.',
|
108
|
+
fieldType: model_1.FieldType.Text,
|
109
|
+
readOnly: false,
|
110
|
+
important: true,
|
111
|
+
status: false,
|
112
|
+
},
|
113
|
+
{
|
114
|
+
label: 'Contact Name',
|
115
|
+
name: 'Contact.Name',
|
116
|
+
description: 'Name of the contact associated with this issue.',
|
117
|
+
fieldType: model_1.FieldType.Text,
|
118
|
+
readOnly: false,
|
119
|
+
important: true,
|
120
|
+
status: false,
|
121
|
+
},
|
122
|
+
{
|
123
|
+
label: 'Owner',
|
124
|
+
name: 'Owner.Name',
|
125
|
+
description: 'Name of the User who has been assigned to work on this issue.',
|
126
|
+
fieldType: model_1.FieldType.Text,
|
127
|
+
readOnly: false,
|
128
|
+
important: true,
|
129
|
+
status: false,
|
130
|
+
},
|
131
|
+
{
|
132
|
+
label: 'Description',
|
133
|
+
name: 'Description',
|
134
|
+
description: 'Text description of the issue.',
|
135
|
+
fieldType: model_1.FieldType.Text,
|
136
|
+
fieldVariation: model_1.FieldVariation.Multi,
|
137
|
+
maximumCharacters: 32000,
|
138
|
+
readOnly: false,
|
139
|
+
important: false,
|
140
|
+
status: false,
|
141
|
+
},
|
142
|
+
],
|
143
|
+
classifiers: [
|
144
|
+
'product improvement',
|
145
|
+
'new feature',
|
146
|
+
'product enhancement',
|
147
|
+
'new capability',
|
148
|
+
],
|
149
|
+
};
|
@@ -0,0 +1,155 @@
|
|
1
|
+
import {
|
2
|
+
FieldType,
|
3
|
+
FieldVariation,
|
4
|
+
TableMetadata,
|
5
|
+
TaskPriority,
|
6
|
+
TaskStatus,
|
7
|
+
} from '../../model';
|
8
|
+
|
9
|
+
export const Case: TableMetadata = {
|
10
|
+
_id: '',
|
11
|
+
dateCreated: 0,
|
12
|
+
dateUpdated: 0,
|
13
|
+
label: 'Issue',
|
14
|
+
description:
|
15
|
+
'Represents an issue or feature enhancement, which is a request to improve a product or service.',
|
16
|
+
recordType: 'issue',
|
17
|
+
references: [
|
18
|
+
'https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_case.htm',
|
19
|
+
'https://developer.zendesk.com/api-reference/ticketing/tickets/tickets/',
|
20
|
+
],
|
21
|
+
fields: [
|
22
|
+
{
|
23
|
+
label: 'Subject',
|
24
|
+
name: 'Subject',
|
25
|
+
description: 'A summary description of the issue.',
|
26
|
+
fieldType: FieldType.Text,
|
27
|
+
maximumCharacters: 255,
|
28
|
+
readOnly: false,
|
29
|
+
important: true,
|
30
|
+
status: false,
|
31
|
+
},
|
32
|
+
{
|
33
|
+
label: 'Priority',
|
34
|
+
name: 'Priority',
|
35
|
+
description: 'The priority of the issue.',
|
36
|
+
fieldType: FieldType.Select,
|
37
|
+
readOnly: false,
|
38
|
+
options: [
|
39
|
+
{
|
40
|
+
label: 'High',
|
41
|
+
value: 'High',
|
42
|
+
priority: TaskPriority.High,
|
43
|
+
},
|
44
|
+
{
|
45
|
+
label: 'Medium',
|
46
|
+
value: 'Medium',
|
47
|
+
priority: TaskPriority.Medium,
|
48
|
+
},
|
49
|
+
{
|
50
|
+
label: 'Low',
|
51
|
+
value: 'Low',
|
52
|
+
priority: TaskPriority.Low,
|
53
|
+
},
|
54
|
+
],
|
55
|
+
important: true,
|
56
|
+
status: false,
|
57
|
+
},
|
58
|
+
{
|
59
|
+
label: 'Status',
|
60
|
+
name: 'Status',
|
61
|
+
description: 'The status of the issue.',
|
62
|
+
fieldType: FieldType.Select,
|
63
|
+
readOnly: false,
|
64
|
+
options: [
|
65
|
+
{
|
66
|
+
label: 'New',
|
67
|
+
value: 'New',
|
68
|
+
status: TaskStatus.NotStarted,
|
69
|
+
},
|
70
|
+
{
|
71
|
+
label: 'Open',
|
72
|
+
value: 'Open',
|
73
|
+
status: TaskStatus.NotStarted,
|
74
|
+
},
|
75
|
+
{
|
76
|
+
label: 'Pending',
|
77
|
+
value: 'Pending',
|
78
|
+
status: TaskStatus.InProgress,
|
79
|
+
},
|
80
|
+
{
|
81
|
+
label: 'Hold',
|
82
|
+
value: 'Hold',
|
83
|
+
status: TaskStatus.Completed,
|
84
|
+
},
|
85
|
+
{
|
86
|
+
label: 'Solved',
|
87
|
+
value: 'Solved',
|
88
|
+
status: TaskStatus.Completed,
|
89
|
+
},
|
90
|
+
{
|
91
|
+
label: 'Closed',
|
92
|
+
value: 'Closed',
|
93
|
+
status: TaskStatus.Completed,
|
94
|
+
},
|
95
|
+
],
|
96
|
+
important: true,
|
97
|
+
status: true,
|
98
|
+
},
|
99
|
+
{
|
100
|
+
label: 'Due Date',
|
101
|
+
name: 'DueDate',
|
102
|
+
description: 'Date when the issue is expected to be completed.',
|
103
|
+
fieldType: FieldType.Text,
|
104
|
+
fieldVariation: FieldVariation.Date,
|
105
|
+
readOnly: false,
|
106
|
+
important: true,
|
107
|
+
status: false,
|
108
|
+
},
|
109
|
+
{
|
110
|
+
label: 'Account',
|
111
|
+
name: 'Account.Name',
|
112
|
+
description: 'Name of the account associated with this issue.',
|
113
|
+
fieldType: FieldType.Text,
|
114
|
+
readOnly: false,
|
115
|
+
important: true,
|
116
|
+
status: false,
|
117
|
+
},
|
118
|
+
{
|
119
|
+
label: 'Contact Name',
|
120
|
+
name: 'Contact.Name',
|
121
|
+
description: 'Name of the contact associated with this issue.',
|
122
|
+
fieldType: FieldType.Text,
|
123
|
+
readOnly: false,
|
124
|
+
important: true,
|
125
|
+
status: false,
|
126
|
+
},
|
127
|
+
{
|
128
|
+
label: 'Owner',
|
129
|
+
name: 'Owner.Name',
|
130
|
+
description:
|
131
|
+
'Name of the User who has been assigned to work on this issue.',
|
132
|
+
fieldType: FieldType.Text,
|
133
|
+
readOnly: false,
|
134
|
+
important: true,
|
135
|
+
status: false,
|
136
|
+
},
|
137
|
+
{
|
138
|
+
label: 'Description',
|
139
|
+
name: 'Description',
|
140
|
+
description: 'Text description of the issue.',
|
141
|
+
fieldType: FieldType.Text,
|
142
|
+
fieldVariation: FieldVariation.Multi,
|
143
|
+
maximumCharacters: 32000,
|
144
|
+
readOnly: false,
|
145
|
+
important: false,
|
146
|
+
status: false,
|
147
|
+
},
|
148
|
+
],
|
149
|
+
classifiers: [
|
150
|
+
'product improvement',
|
151
|
+
'new feature',
|
152
|
+
'product enhancement',
|
153
|
+
'new capability',
|
154
|
+
],
|
155
|
+
};
|