@bigfootai/bigfoot-types 5.1.16 → 5.1.18

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.
@@ -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,
@@ -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,
@@ -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,
@@ -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
@@ -511,6 +511,7 @@ type Folder {${exports.SharedPrimitiveFields}
511
511
  description: String
512
512
  searchIds: [String]
513
513
  archived: Boolean!
514
+ order: Int
514
515
  }`;
515
516
  class Folder extends SharedPrimitive {
516
517
  constructor(tenantIdCreated, sharingTags, label) {
@@ -546,6 +547,7 @@ type Search {${exports.SharedPrimitiveFields}
546
547
  size: Int
547
548
  archived: Boolean!
548
549
  favoriteTagId: String
550
+ order: Int
549
551
  }`;
550
552
  class Search extends SharedPrimitive {
551
553
  constructor(tenantIdCreated, sharingTags) {
@@ -1215,6 +1217,7 @@ type Field {
1215
1217
  important: Boolean
1216
1218
  status: Boolean
1217
1219
  priority: Boolean
1220
+ tagType: TagType
1218
1221
  fieldType: String!
1219
1222
  fieldVariation: String
1220
1223
  maximumCharacters: Int
@@ -1471,6 +1474,7 @@ input UpsertFolderInput {
1471
1474
  label: String
1472
1475
  description: String
1473
1476
  searchIds: [String]
1477
+ order: Int
1474
1478
  }`;
1475
1479
  exports.FindFolderInputQL = `
1476
1480
  input FindFolderInput {
@@ -1515,6 +1519,7 @@ input UpsertSearchInput {
1515
1519
  favorite: Boolean
1516
1520
  snoozed: Boolean
1517
1521
  size: Int
1522
+ order: Int
1518
1523
  }`;
1519
1524
  exports.FindSearchInputQL = `
1520
1525
  input FindSearchInput {
@@ -1579,6 +1584,7 @@ input SearchInput {
1579
1584
  snoozed: Boolean
1580
1585
  page: Int
1581
1586
  size: Int
1587
+ order: Int
1582
1588
  }`;
1583
1589
  exports.BlockTypeQL = `
1584
1590
  enum BlockType {
@@ -1663,6 +1669,7 @@ exports.GraphSearchInputFields = `
1663
1669
  sort: [SortOptionInput]
1664
1670
  page: Int
1665
1671
  size: Int
1672
+ order: Int
1666
1673
  `;
1667
1674
  exports.GraphSearchInputQL = `
1668
1675
  input GraphSearchInput {${exports.GraphSearchInputFields}
package/model.ts CHANGED
@@ -724,6 +724,7 @@ type Folder {${SharedPrimitiveFields}
724
724
  description: String
725
725
  searchIds: [String]
726
726
  archived: Boolean!
727
+ order: Int
727
728
  }`;
728
729
  export class Folder extends SharedPrimitive {
729
730
  icon?: string;
@@ -731,6 +732,7 @@ export class Folder extends SharedPrimitive {
731
732
  description?: string;
732
733
  searchIds?: string[];
733
734
  archived: boolean;
735
+ order?: number;
734
736
  _tagType?: TagType;
735
737
 
736
738
  constructor(
@@ -771,6 +773,7 @@ type Search {${SharedPrimitiveFields}
771
773
  size: Int
772
774
  archived: Boolean!
773
775
  favoriteTagId: String
776
+ order: Int
774
777
  }`;
775
778
  export class Search extends SharedPrimitive {
776
779
  blockType?: BlockType;
@@ -796,6 +799,7 @@ export class Search extends SharedPrimitive {
796
799
  size?: number;
797
800
  archived: boolean;
798
801
  favoriteTagId?: string;
802
+ order?: number;
799
803
 
800
804
  constructor(tenantIdCreated: string, sharingTags: SharingTag[]) {
801
805
  super(sharingTags);
@@ -2099,6 +2103,7 @@ type Field {
2099
2103
  important: Boolean
2100
2104
  status: Boolean
2101
2105
  priority: Boolean
2106
+ tagType: TagType
2102
2107
  fieldType: String!
2103
2108
  fieldVariation: String
2104
2109
  maximumCharacters: Int
@@ -2112,6 +2117,7 @@ export interface Field {
2112
2117
  important?: boolean;
2113
2118
  status?: boolean;
2114
2119
  priority?: boolean;
2120
+ tagType?: TagType;
2115
2121
  fieldType: FieldType;
2116
2122
  fieldVariation?: FieldVariation;
2117
2123
  maximumCharacters?: number;
@@ -2594,6 +2600,7 @@ input UpsertFolderInput {
2594
2600
  label: String
2595
2601
  description: String
2596
2602
  searchIds: [String]
2603
+ order: Int
2597
2604
  }`;
2598
2605
  export interface UpsertFolderInput {
2599
2606
  _id?: string;
@@ -2602,6 +2609,7 @@ export interface UpsertFolderInput {
2602
2609
  label?: string;
2603
2610
  description?: string;
2604
2611
  searchIds?: string[];
2612
+ order?: number;
2605
2613
  _tagType?: TagType;
2606
2614
  }
2607
2615
 
@@ -2667,6 +2675,7 @@ input UpsertSearchInput {
2667
2675
  favorite: Boolean
2668
2676
  snoozed: Boolean
2669
2677
  size: Int
2678
+ order: Int
2670
2679
  }`;
2671
2680
  export interface UpsertSearchInput {
2672
2681
  _id?: string;
@@ -2691,6 +2700,7 @@ export interface UpsertSearchInput {
2691
2700
  favorite?: boolean;
2692
2701
  snoozed?: boolean;
2693
2702
  size?: number;
2703
+ order?: number;
2694
2704
  }
2695
2705
 
2696
2706
  export const FindSearchInputQL = `
@@ -2795,6 +2805,7 @@ input SearchInput {
2795
2805
  snoozed: Boolean
2796
2806
  page: Int
2797
2807
  size: Int
2808
+ order: Int
2798
2809
  }`;
2799
2810
  export interface SearchInput {
2800
2811
  blockType?: BlockType;
@@ -2819,6 +2830,7 @@ export interface SearchInput {
2819
2830
  snoozed?: boolean;
2820
2831
  page?: number;
2821
2832
  size?: number;
2833
+ order?: number;
2822
2834
  }
2823
2835
 
2824
2836
  export const BlockTypeQL = `
@@ -2933,6 +2945,7 @@ export const GraphSearchInputFields = `
2933
2945
  sort: [SortOptionInput]
2934
2946
  page: Int
2935
2947
  size: Int
2948
+ order: Int
2936
2949
  `;
2937
2950
  export const GraphSearchInputQL = `
2938
2951
  input GraphSearchInput {${GraphSearchInputFields}
@@ -2963,6 +2976,8 @@ export interface GraphSearchInput {
2963
2976
  // Page and sizing
2964
2977
  page?: number;
2965
2978
  size?: number;
2979
+ // For sorting in relation to other searches
2980
+ order?: number;
2966
2981
  }
2967
2982
 
2968
2983
  export const GraphSearchEventsInputQL = `
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "author": "Bigfoot",
3
3
  "name": "@bigfootai/bigfoot-types",
4
- "version": "5.1.16",
4
+ "version": "5.1.18",
5
5
  "description": "The internal library for the types used in the Bigfoot platform",
6
6
  "main": "model.js",
7
7
  "license": "ISC",