@bigfootai/bigfoot-types 5.1.17 → 5.1.19
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 +3 -0
- package/metadata/tables/case.ts +4 -0
- package/metadata/tables/issue.js +4 -0
- package/metadata/tables/issue.ts +5 -0
- package/metadata/tables/opportunity.js +3 -0
- package/metadata/tables/opportunity.ts +4 -0
- package/model.js +28 -1
- package/model.ts +41 -0
- package/package.json +1 -1
package/metadata/tables/case.js
CHANGED
@@ -95,6 +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
|
+
tagType: model_1.TagType.Organization,
|
98
99
|
fieldType: model_1.FieldType.Lookup,
|
99
100
|
readOnly: false,
|
100
101
|
important: true,
|
@@ -104,6 +105,7 @@ exports.Case = {
|
|
104
105
|
label: 'Contact Name',
|
105
106
|
name: 'Contact.Name',
|
106
107
|
description: 'Name of the contact associated with this case.',
|
108
|
+
tagType: model_1.TagType.Person,
|
107
109
|
fieldType: model_1.FieldType.Lookup,
|
108
110
|
readOnly: false,
|
109
111
|
important: true,
|
@@ -113,6 +115,7 @@ exports.Case = {
|
|
113
115
|
label: 'Owner',
|
114
116
|
name: 'Owner.Name',
|
115
117
|
description: 'Name of the User who has been assigned to work on this case.',
|
118
|
+
tagType: model_1.TagType.Person,
|
116
119
|
fieldType: model_1.FieldType.Lookup,
|
117
120
|
readOnly: false,
|
118
121
|
important: true,
|
package/metadata/tables/case.ts
CHANGED
@@ -2,6 +2,7 @@ import {
|
|
2
2
|
FieldType,
|
3
3
|
FieldVariation,
|
4
4
|
TableMetadata,
|
5
|
+
TagType,
|
5
6
|
TaskPriority,
|
6
7
|
TaskStatus,
|
7
8
|
} from '../../model';
|
@@ -100,6 +101,7 @@ export const Case: TableMetadata = {
|
|
100
101
|
label: 'Account',
|
101
102
|
name: 'Account.Name',
|
102
103
|
description: 'Name of the account associated with this case.',
|
104
|
+
tagType: TagType.Organization,
|
103
105
|
fieldType: FieldType.Lookup,
|
104
106
|
readOnly: false,
|
105
107
|
important: true,
|
@@ -109,6 +111,7 @@ export const Case: TableMetadata = {
|
|
109
111
|
label: 'Contact Name',
|
110
112
|
name: 'Contact.Name',
|
111
113
|
description: 'Name of the contact associated with this case.',
|
114
|
+
tagType: TagType.Person,
|
112
115
|
fieldType: FieldType.Lookup,
|
113
116
|
readOnly: false,
|
114
117
|
important: true,
|
@@ -119,6 +122,7 @@ export const Case: TableMetadata = {
|
|
119
122
|
name: 'Owner.Name',
|
120
123
|
description:
|
121
124
|
'Name of the User who has been assigned to work on this case.',
|
125
|
+
tagType: TagType.Person,
|
122
126
|
fieldType: FieldType.Lookup,
|
123
127
|
readOnly: false,
|
124
128
|
important: true,
|
package/metadata/tables/issue.js
CHANGED
@@ -95,6 +95,7 @@ exports.Case = {
|
|
95
95
|
label: 'Due Date',
|
96
96
|
name: 'DueDate',
|
97
97
|
description: 'Date when the issue is expected to be completed.',
|
98
|
+
tagType: model_1.TagType.Date,
|
98
99
|
fieldType: model_1.FieldType.Text,
|
99
100
|
fieldVariation: model_1.FieldVariation.Date,
|
100
101
|
readOnly: false,
|
@@ -105,6 +106,7 @@ exports.Case = {
|
|
105
106
|
label: 'Account',
|
106
107
|
name: 'Account.Name',
|
107
108
|
description: 'Name of the account associated with this issue.',
|
109
|
+
tagType: model_1.TagType.Organization,
|
108
110
|
fieldType: model_1.FieldType.Lookup,
|
109
111
|
readOnly: false,
|
110
112
|
important: true,
|
@@ -114,6 +116,7 @@ exports.Case = {
|
|
114
116
|
label: 'Contact Name',
|
115
117
|
name: 'Contact.Name',
|
116
118
|
description: 'Name of the contact associated with this issue.',
|
119
|
+
tagType: model_1.TagType.Person,
|
117
120
|
fieldType: model_1.FieldType.Lookup,
|
118
121
|
readOnly: false,
|
119
122
|
important: true,
|
@@ -123,6 +126,7 @@ exports.Case = {
|
|
123
126
|
label: 'Owner',
|
124
127
|
name: 'Owner.Name',
|
125
128
|
description: 'Name of the User who has been assigned to work on this issue.',
|
129
|
+
tagType: model_1.TagType.Person,
|
126
130
|
fieldType: model_1.FieldType.Lookup,
|
127
131
|
readOnly: false,
|
128
132
|
important: true,
|
package/metadata/tables/issue.ts
CHANGED
@@ -2,6 +2,7 @@ import {
|
|
2
2
|
FieldType,
|
3
3
|
FieldVariation,
|
4
4
|
TableMetadata,
|
5
|
+
TagType,
|
5
6
|
TaskPriority,
|
6
7
|
TaskStatus,
|
7
8
|
} from '../../model';
|
@@ -100,6 +101,7 @@ export const Case: TableMetadata = {
|
|
100
101
|
label: 'Due Date',
|
101
102
|
name: 'DueDate',
|
102
103
|
description: 'Date when the issue is expected to be completed.',
|
104
|
+
tagType: TagType.Date,
|
103
105
|
fieldType: FieldType.Text,
|
104
106
|
fieldVariation: FieldVariation.Date,
|
105
107
|
readOnly: false,
|
@@ -110,6 +112,7 @@ export const Case: TableMetadata = {
|
|
110
112
|
label: 'Account',
|
111
113
|
name: 'Account.Name',
|
112
114
|
description: 'Name of the account associated with this issue.',
|
115
|
+
tagType: TagType.Organization,
|
113
116
|
fieldType: FieldType.Lookup,
|
114
117
|
readOnly: false,
|
115
118
|
important: true,
|
@@ -119,6 +122,7 @@ export const Case: TableMetadata = {
|
|
119
122
|
label: 'Contact Name',
|
120
123
|
name: 'Contact.Name',
|
121
124
|
description: 'Name of the contact associated with this issue.',
|
125
|
+
tagType: TagType.Person,
|
122
126
|
fieldType: FieldType.Lookup,
|
123
127
|
readOnly: false,
|
124
128
|
important: true,
|
@@ -129,6 +133,7 @@ export const Case: TableMetadata = {
|
|
129
133
|
name: 'Owner.Name',
|
130
134
|
description:
|
131
135
|
'Name of the User who has been assigned to work on this issue.',
|
136
|
+
tagType: TagType.Person,
|
132
137
|
fieldType: FieldType.Lookup,
|
133
138
|
readOnly: false,
|
134
139
|
important: true,
|
@@ -27,6 +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
|
+
tagType: model_1.TagType.Organization,
|
30
31
|
fieldType: model_1.FieldType.Lookup,
|
31
32
|
readOnly: false,
|
32
33
|
important: true,
|
@@ -46,6 +47,7 @@ exports.Opportunity = {
|
|
46
47
|
label: 'Close Date',
|
47
48
|
name: 'CloseDate',
|
48
49
|
description: 'Date when the opportunity is expected to close.',
|
50
|
+
tagType: model_1.TagType.Date,
|
49
51
|
fieldType: model_1.FieldType.Text,
|
50
52
|
fieldVariation: model_1.FieldVariation.Date,
|
51
53
|
readOnly: false,
|
@@ -117,6 +119,7 @@ exports.Opportunity = {
|
|
117
119
|
label: 'Owner',
|
118
120
|
name: 'Owner.Name',
|
119
121
|
description: 'Name of the User who has been assigned to work on this opportunity.',
|
122
|
+
tagType: model_1.TagType.Person,
|
120
123
|
fieldType: model_1.FieldType.Lookup,
|
121
124
|
readOnly: false,
|
122
125
|
important: true,
|
@@ -2,6 +2,7 @@ import {
|
|
2
2
|
FieldType,
|
3
3
|
FieldVariation,
|
4
4
|
TableMetadata,
|
5
|
+
TagType,
|
5
6
|
TaskStatus,
|
6
7
|
} from '../../model';
|
7
8
|
|
@@ -31,6 +32,7 @@ export const Opportunity: TableMetadata = {
|
|
31
32
|
name: 'Account.Name',
|
32
33
|
description:
|
33
34
|
'Name of the account associated with this opportunity.',
|
35
|
+
tagType: TagType.Organization,
|
34
36
|
fieldType: FieldType.Lookup,
|
35
37
|
readOnly: false,
|
36
38
|
important: true,
|
@@ -50,6 +52,7 @@ export const Opportunity: TableMetadata = {
|
|
50
52
|
label: 'Close Date',
|
51
53
|
name: 'CloseDate',
|
52
54
|
description: 'Date when the opportunity is expected to close.',
|
55
|
+
tagType: TagType.Date,
|
53
56
|
fieldType: FieldType.Text,
|
54
57
|
fieldVariation: FieldVariation.Date,
|
55
58
|
readOnly: false,
|
@@ -122,6 +125,7 @@ export const Opportunity: TableMetadata = {
|
|
122
125
|
name: 'Owner.Name',
|
123
126
|
description:
|
124
127
|
'Name of the User who has been assigned to work on this opportunity.',
|
128
|
+
tagType: TagType.Person,
|
125
129
|
fieldType: FieldType.Lookup,
|
126
130
|
readOnly: false,
|
127
131
|
important: true,
|
package/model.js
CHANGED
@@ -4,7 +4,7 @@ exports.ConnectedProviderQL = exports.CredentialQL = exports.StandardObjectsQL =
|
|
4
4
|
exports.Block = exports.BlockQL = exports.BlockFieldsForUpsert = exports.BlockFields = exports.Person = exports.Organization = exports.Domain = exports.DomainQL = exports.Tenant = exports.TenantQL = exports.Recommendation = exports.RecommendationQL = exports.ShareRecommendationQL = exports.UpsertRecommendationQL = exports.ConnectRecommendationQL = exports.TenantLight = exports.TenantLightQL = exports.TagRecommendationQL = exports.Tag = exports.TagQL = exports.TagFieldsJustSharing = exports.TagFieldsWithoutSharing = exports.GraphTagsInputQL = exports.GraphTagQL = exports.TagTypeQL = exports.Provider = exports.ProviderQL = exports.ProviderApplicationQL = exports.DashboardTagSubscriptionQL = exports.Sync = exports.SyncQL = exports.Search = exports.SearchQL = exports.Folder = exports.FolderQL = exports.Metadata = exports.MetadataQL = exports.MetadataFields = exports.SharedPrimitive = exports.SharedPrimitiveFieldsForUpsert = exports.SharedPrimitiveFields = exports.Primitive = exports.PrimitiveFieldsForUpsert = exports.PrimitiveFields = exports.PersonReferenceQL = exports.PersonReferenceFields = exports.ChangesQL = exports.ChangesInputQL = exports.ReferenceBlockQL = exports.ReferenceBlockInputQL = void 0;
|
5
5
|
exports.RecordInputQL = exports.TableMetadata = exports.TableMetadataQL = exports.FieldValueQL = exports.FieldValueInputQL = exports.FieldQL = exports.OptionQL = exports.FieldVariation = exports.FieldType = exports.Template = exports.TemplateQL = exports.DashboardMetadata = exports.DashboardMetadataQL = exports.DocumentMetadata = exports.DocumentMetadataQL = exports.BlockDescriptionQL = exports.Website = exports.WebsiteQL = exports.Dashboard = exports.DashboardQL = exports.BlockDataQL = exports.Document = exports.DocumentQL = exports.DocumentFields = exports.Thread = exports.Todo = exports.Calendar = exports.CalendarQL = exports.Event = exports.EventQL = exports.PersonAcceptanceQL = exports.ResponseStatus = exports.EventStatus = exports.Conference = exports.ConferenceQL = exports.ConferenceEntrypointQL = exports.TranscriptionQL = exports.TranscriptionEntryQL = exports.Task = exports.TaskQL = exports.Note = exports.NoteQL = exports.Section = exports.BusinessObject = exports.BusinessObjectQL = exports.BusinessObjectFieldsForUpsert = exports.BusinessObjectFields = exports.BusinessObjectIngestionRequest = exports.BlockProcessingResponse = exports.BlockProcessingRequest = void 0;
|
6
6
|
exports.BlockTypeQL = exports.SearchInputQL = exports.SearchTagsInputQL = exports.ArchiveSearchOutputQL = exports.ArchiveSearchInputQL = exports.FindSearchesInputQL = exports.FindSearchInputQL = exports.UpsertSearchInputQL = exports.ArchiveFolderOutputQL = exports.ArchiveFolderInputQL = exports.FindFoldersInputQL = exports.FindFolderInputQL = exports.UpsertFolderInputQL = exports.UpdateTaskInputQL = exports.DeleteSharingTagInputQL = exports.SetSharingTagInputQL = exports.MergeTagInputQL = exports.ArchiveTagOutputQL = exports.ArchiveTagInputQL = exports.FindTagsInputQL = exports.FindTagInputQL = exports.UpsertTagInputQL = exports.SharingTenantInputQL = exports.SharingDomainInputQL = exports.FindSyncInputQL = exports.FindProviderInputQL = exports.ArchiveRecommendationOutputQL = exports.ArchiveRecommendationInputQL = exports.UpdateRecommendationInputQL = exports.ArchiveBlockOutputQL = exports.ArchiveBlockInputQL = exports.FindBlocksInputQL = exports.FindBlockInputQL = exports.UpsertNoteInputQL = exports.FindDashboardInputQL = exports.UpsertDocumentInputQL = exports.FindDocumentInputQL = exports.FindEventInputQL = exports.FindCalendarInputQL = exports.FindDomainInputQL = exports.FindTenantsInputQL = exports.FindTenantInputQL = exports.UpsertRecordsInputQL = exports.FindRecordsInputQL = exports.FindRecordInputQL = exports.Table = exports.TableQL = exports.TableFields = exports.Record = exports.RecordQL = void 0;
|
7
|
-
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = void 0;
|
7
|
+
exports.GraphQLTypes = exports.UpdateTagSharingInputQL = exports.GraphSearchEventsInputQL = exports.GraphSearchInputQL = exports.GraphSearchInputFields = exports.SortOptionInputQL = exports.BusinessObjectFilterInputQL = exports.StringFilterInputQL = exports.NumberFilterInputQL = exports.ChildItemQL = exports.ChildItemInputQL = exports.ChildItemFields = exports.ParentItemQL = exports.ParentItemInputQL = exports.ParentItemFields = exports.OrderDirection = exports.OrderDirectionQL = exports.TaskStatusQL = void 0;
|
8
8
|
const uuid_1 = require("uuid");
|
9
9
|
/*
|
10
10
|
These are the core primitives of our model. These represent the entities that show
|
@@ -1217,6 +1217,7 @@ type Field {
|
|
1217
1217
|
important: Boolean
|
1218
1218
|
status: Boolean
|
1219
1219
|
priority: Boolean
|
1220
|
+
tagType: TagType
|
1220
1221
|
fieldType: String!
|
1221
1222
|
fieldVariation: String
|
1222
1223
|
maximumCharacters: Int
|
@@ -1620,6 +1621,28 @@ var OrderDirection;
|
|
1620
1621
|
OrderDirection["Ascending"] = "asc";
|
1621
1622
|
OrderDirection["Descending"] = "desc";
|
1622
1623
|
})(OrderDirection || (exports.OrderDirection = OrderDirection = {}));
|
1624
|
+
exports.ParentItemFields = `
|
1625
|
+
_id: String
|
1626
|
+
blockType: BlockType
|
1627
|
+
`;
|
1628
|
+
exports.ParentItemInputQL = `
|
1629
|
+
input ParentItemInput {${exports.ParentItemFields}
|
1630
|
+
children: [ChildItemInput]
|
1631
|
+
}`;
|
1632
|
+
exports.ParentItemQL = `
|
1633
|
+
type ParentItem {${exports.ParentItemFields}
|
1634
|
+
children: [ChildItem]
|
1635
|
+
}`;
|
1636
|
+
exports.ChildItemFields = `
|
1637
|
+
_id: String
|
1638
|
+
blockType: BlockType
|
1639
|
+
`;
|
1640
|
+
exports.ChildItemInputQL = `
|
1641
|
+
input ChildItem {${exports.ChildItemFields}
|
1642
|
+
}`;
|
1643
|
+
exports.ChildItemQL = `
|
1644
|
+
type ChildItem {${exports.ChildItemFields}
|
1645
|
+
}`;
|
1623
1646
|
exports.NumberFilterInputQL = `
|
1624
1647
|
input NumberFilterInput {
|
1625
1648
|
gt: Float
|
@@ -1811,6 +1834,10 @@ ${exports.UpdateTagSharingInputQL}
|
|
1811
1834
|
${exports.BlockTypeQL}
|
1812
1835
|
${exports.TaskStatusQL}
|
1813
1836
|
${exports.OrderDirectionQL}
|
1837
|
+
${exports.ParentItemQL}
|
1838
|
+
${exports.ParentItemInputQL}
|
1839
|
+
${exports.ChildItemQL}
|
1840
|
+
${exports.ChildItemInputQL}
|
1814
1841
|
${exports.NumberFilterInputQL}
|
1815
1842
|
${exports.StringFilterInputQL}
|
1816
1843
|
${exports.BusinessObjectFilterInputQL}
|
package/model.ts
CHANGED
@@ -2103,6 +2103,7 @@ type Field {
|
|
2103
2103
|
important: Boolean
|
2104
2104
|
status: Boolean
|
2105
2105
|
priority: Boolean
|
2106
|
+
tagType: TagType
|
2106
2107
|
fieldType: String!
|
2107
2108
|
fieldVariation: String
|
2108
2109
|
maximumCharacters: Int
|
@@ -2116,6 +2117,7 @@ export interface Field {
|
|
2116
2117
|
important?: boolean;
|
2117
2118
|
status?: boolean;
|
2118
2119
|
priority?: boolean;
|
2120
|
+
tagType?: TagType;
|
2119
2121
|
fieldType: FieldType;
|
2120
2122
|
fieldVariation?: FieldVariation;
|
2121
2123
|
maximumCharacters?: number;
|
@@ -2868,6 +2870,41 @@ export enum OrderDirection {
|
|
2868
2870
|
Descending = 'desc',
|
2869
2871
|
}
|
2870
2872
|
|
2873
|
+
export const ParentItemFields = `
|
2874
|
+
_id: String
|
2875
|
+
blockType: BlockType
|
2876
|
+
`;
|
2877
|
+
export const ParentItemInputQL = `
|
2878
|
+
input ParentItemInput {${ParentItemFields}
|
2879
|
+
children: [ChildItemInput]
|
2880
|
+
}`;
|
2881
|
+
export const ParentItemQL = `
|
2882
|
+
type ParentItem {${ParentItemFields}
|
2883
|
+
children: [ChildItem]
|
2884
|
+
}`;
|
2885
|
+
export interface ParentItem {
|
2886
|
+
_id: string;
|
2887
|
+
blockType: BlockType;
|
2888
|
+
children: ChildItem[];
|
2889
|
+
_order?: number;
|
2890
|
+
}
|
2891
|
+
|
2892
|
+
export const ChildItemFields = `
|
2893
|
+
_id: String
|
2894
|
+
blockType: BlockType
|
2895
|
+
`;
|
2896
|
+
export const ChildItemInputQL = `
|
2897
|
+
input ChildItem {${ChildItemFields}
|
2898
|
+
}`;
|
2899
|
+
export const ChildItemQL = `
|
2900
|
+
type ChildItem {${ChildItemFields}
|
2901
|
+
}`;
|
2902
|
+
export interface ChildItem {
|
2903
|
+
_id: string;
|
2904
|
+
blockType: BlockType;
|
2905
|
+
_order?: number;
|
2906
|
+
}
|
2907
|
+
|
2871
2908
|
export const NumberFilterInputQL = `
|
2872
2909
|
input NumberFilterInput {
|
2873
2910
|
gt: Float
|
@@ -3129,6 +3166,10 @@ ${UpdateTagSharingInputQL}
|
|
3129
3166
|
${BlockTypeQL}
|
3130
3167
|
${TaskStatusQL}
|
3131
3168
|
${OrderDirectionQL}
|
3169
|
+
${ParentItemQL}
|
3170
|
+
${ParentItemInputQL}
|
3171
|
+
${ChildItemQL}
|
3172
|
+
${ChildItemInputQL}
|
3132
3173
|
${NumberFilterInputQL}
|
3133
3174
|
${StringFilterInputQL}
|
3134
3175
|
${BusinessObjectFilterInputQL}
|