twenty-sdk 2.35.1 → 2.38.0

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.
Files changed (52) hide show
  1. package/dist/billing/index.cjs +3 -3
  2. package/dist/billing/index.cjs.map +1 -1
  3. package/dist/billing/index.d.ts +25 -4
  4. package/dist/billing/index.mjs +495 -464
  5. package/dist/billing/index.mjs.map +1 -1
  6. package/dist/catalog-sync-DB_oIbry.js +1 -0
  7. package/dist/{catalog-sync-C82Xfr2f.mjs → catalog-sync-TFrxc_Y6.mjs} +4 -4
  8. package/dist/cli/commands/dev/dev-once.d.ts +1 -0
  9. package/dist/cli/commands/dev/dev.d.ts +1 -0
  10. package/dist/cli/operations/dev-once.d.ts +1 -0
  11. package/dist/cli/utilities/api/api-service.d.ts +3 -0
  12. package/dist/cli/utilities/api/application-api.d.ts +1 -0
  13. package/dist/cli/utilities/api/file-api.d.ts +41 -0
  14. package/dist/cli/utilities/dev/orchestrator/dev-mode-orchestrator.d.ts +1 -0
  15. package/dist/cli/utilities/dev/orchestrator/steps/format-sync-actions-plan.d.ts +8 -1
  16. package/dist/cli/utilities/dev/orchestrator/steps/sync-application-orchestrator-step.d.ts +3 -1
  17. package/dist/cli/utilities/dev/orchestrator/steps/upload-files-orchestrator-step.d.ts +1 -0
  18. package/dist/cli/utilities/entity/entity-view-template.d.ts +1 -1
  19. package/dist/cli/utilities/error/parse-server-error.d.ts +1 -0
  20. package/dist/cli/utilities/file/file-uploader.d.ts +13 -4
  21. package/dist/cli/utilities/file/put-file-to-upload-url.d.ts +5 -0
  22. package/dist/cli.cjs +30 -30
  23. package/dist/cli.mjs +5455 -5421
  24. package/dist/define/index.cjs +14 -14
  25. package/dist/define/index.cjs.map +1 -1
  26. package/dist/define/index.d.ts +340 -26
  27. package/dist/define/index.mjs +6104 -5955
  28. package/dist/define/index.mjs.map +1 -1
  29. package/dist/front-component/index.cjs +1 -1
  30. package/dist/front-component/index.cjs.map +1 -1
  31. package/dist/front-component/index.d.ts +23 -6
  32. package/dist/front-component/index.mjs +2 -2
  33. package/dist/front-component/index.mjs.map +1 -1
  34. package/dist/front-component-renderer/build.cjs +1 -1
  35. package/dist/front-component-renderer/build.mjs +1 -1
  36. package/dist/{get-front-component-build-plugins-D9VJQHw7.mjs → get-front-component-build-plugins-Bed7hCGi.mjs} +105 -91
  37. package/dist/{get-front-component-build-plugins-CcV3Cown.js → get-front-component-build-plugins-o8cM1FFZ.js} +8 -8
  38. package/dist/{get-function-input-schema-GNk3NRLJ-Byssjp8I.js → get-function-input-schema-GNk3NRLJ-A3CmF1qq.js} +1 -1
  39. package/dist/{get-function-input-schema-GNk3NRLJ-Dm0Ljlg4.mjs → get-function-input-schema-GNk3NRLJ-BPeB4a-_.mjs} +1 -1
  40. package/dist/logic-function/index.cjs +6 -4
  41. package/dist/logic-function/index.cjs.map +1 -1
  42. package/dist/logic-function/index.d.ts +24 -3
  43. package/dist/logic-function/index.mjs +28 -14
  44. package/dist/logic-function/index.mjs.map +1 -1
  45. package/dist/{login-cG7hCrTK.js → login-2yrPIORt.js} +89 -66
  46. package/dist/{login-BsiMC4oB.mjs → login-QYv7vAbh.mjs} +5011 -4705
  47. package/dist/operations.cjs +1 -1
  48. package/dist/operations.mjs +4 -4
  49. package/dist/utils/index.cjs.map +1 -1
  50. package/dist/utils/index.mjs.map +1 -1
  51. package/package.json +2 -2
  52. package/dist/catalog-sync-Bs-X2ChV.js +0 -1
@@ -36,6 +36,32 @@ type AgentManifest = SyncableEntityOptions$1 & {
36
36
  roleUniversalIdentifier?: string;
37
37
  };
38
38
 
39
+ declare const USAGE_OPERATION_TYPES: readonly ["AI_CHAT_TOKEN", "AI_WORKFLOW_TOKEN", "WORKFLOW_EXECUTION", "CODE_EXECUTION", "WEB_SEARCH", "CALL_RECORDING", "EMAIL_SEND"];
40
+ type UsageOperationTypeValue = (typeof USAGE_OPERATION_TYPES)[number];
41
+
42
+ type BillableOperationManifest = {
43
+ operationType: UsageOperationTypeValue;
44
+ label: string;
45
+ };
46
+ type BillableOperations = Partial<Record<string, BillableOperationManifest>>;
47
+
48
+ declare const RECURRING_CHARGE_PERIODS: readonly ["MONTH"];
49
+ type RecurringChargePeriod = (typeof RECURRING_CHARGE_PERIODS)[number];
50
+ declare const RECURRING_CHARGE_UNITS: readonly ["WORKSPACE_MEMBER"];
51
+ type RecurringChargeUnit = (typeof RECURRING_CHARGE_UNITS)[number];
52
+ type RecurringCharge = {
53
+ period: RecurringChargePeriod;
54
+ amountMicroCredits: number;
55
+ per?: RecurringChargeUnit;
56
+ label: string;
57
+ };
58
+ type RecurringCharges = Partial<Record<string, RecurringCharge>>;
59
+ type ApplicationBilling = {
60
+ description?: string;
61
+ recurring?: RecurringCharges;
62
+ operations?: BillableOperations;
63
+ };
64
+
39
65
  declare const APPLICATION_CATEGORIES: readonly ["Communication", "Productivity", "Product management", "Sales", "Marketing", "Enrichment", "Data", "Search", "Other"];
40
66
  type KnownApplicationCategory = (typeof APPLICATION_CATEGORIES)[number];
41
67
  type ApplicationCategory = KnownApplicationCategory | (string & {});
@@ -97,6 +123,7 @@ type ApplicationVariableOption = {
97
123
  };
98
124
  type ApplicationVariableValue = string | number | boolean | string[] | Record<string, unknown> | null;
99
125
  type TypedApplicationVariable = {
126
+ label?: string;
100
127
  type?: ApplicationVariableType;
101
128
  options?: ApplicationVariableOption[];
102
129
  isDeprecated?: boolean;
@@ -128,6 +155,7 @@ type ApplicationManifest = SyncableEntityOptions$1 & {
128
155
  displayName: string;
129
156
  description: string;
130
157
  applicationVariables?: ApplicationVariables;
158
+ billing?: ApplicationBilling;
131
159
  serverVariables?: ServerVariables;
132
160
  author?: string;
133
161
  category?: ApplicationCategory;
@@ -334,6 +362,13 @@ type CommandMenuContextApi = {
334
362
  objectMetadataLabel: string;
335
363
  };
336
364
 
365
+ declare enum CommandMenuItemAvailabilityType {
366
+ GLOBAL = "GLOBAL",
367
+ GLOBAL_OBJECT_CONTEXT = "GLOBAL_OBJECT_CONTEXT",
368
+ RECORD_SELECTION = "RECORD_SELECTION",
369
+ FALLBACK = "FALLBACK"
370
+ }
371
+
337
372
  type IsExactly<T, U> = [T] extends [U] ? [U] extends [T] ? true : false : false;
338
373
 
339
374
  type TagColor = 'red' | 'ruby' | 'crimson' | 'tomato' | 'orange' | 'amber' | 'yellow' | 'lime' | 'grass' | 'green' | 'jade' | 'mint' | 'turquoise' | 'cyan' | 'sky' | 'blue' | 'iris' | 'violet' | 'purple' | 'plum' | 'pink' | 'bronze' | 'gold' | 'brown' | 'gray';
@@ -558,6 +593,8 @@ declare enum DateDisplayFormat {
558
593
  }
559
594
  type FieldNumberVariant = 'number' | 'percentage';
560
595
  type FieldCurrencyFormat = 'short' | 'full';
596
+ declare const FIELD_LINKS_VARIANTS: readonly ["url", "domain"];
597
+ type FieldLinksVariant = (typeof FIELD_LINKS_VARIANTS)[number];
561
598
  type FieldMetadataNumberSettings = {
562
599
  dataType?: NumberDataType;
563
600
  decimals?: number;
@@ -585,6 +622,9 @@ type FieldMetadataRelationSettings = {
585
622
  type FieldMetadataAddressSettings = {
586
623
  subFields?: AllowedAddressSubField[];
587
624
  };
625
+ type FieldMetadataLinksSettings = FieldMetadataMultiItemSettings & {
626
+ type?: FieldLinksVariant;
627
+ };
588
628
  type FieldMetadataFilesSettings = {
589
629
  maxNumberOfValues: number;
590
630
  };
@@ -600,7 +640,7 @@ type FieldMetadataSettingsMapping = {
600
640
  [FieldMetadataType.TS_VECTOR]: null;
601
641
  [FieldMetadataType.PHONES]: FieldMetadataMultiItemSettings | null;
602
642
  [FieldMetadataType.EMAILS]: FieldMetadataMultiItemSettings | null;
603
- [FieldMetadataType.LINKS]: FieldMetadataMultiItemSettings | null;
643
+ [FieldMetadataType.LINKS]: FieldMetadataLinksSettings | null;
604
644
  [FieldMetadataType.ARRAY]: FieldMetadataMultiItemSettings | null;
605
645
  [FieldMetadataType.FILES]: FieldMetadataFilesSettings;
606
646
  };
@@ -626,6 +666,11 @@ declare enum HTTPMethod {
626
666
  DELETE = "DELETE"
627
667
  }
628
668
 
669
+ declare enum IndexType {
670
+ BTREE = "BTREE",
671
+ GIN = "GIN"
672
+ }
673
+
629
674
  type LogicFunctionEvent<TBody = object> = {
630
675
  headers: Record<string, string | undefined>;
631
676
  queryStringParameters: Record<string, string | undefined>;
@@ -701,13 +746,6 @@ type ChartFilter = {
701
746
  recordFilterGroups?: ChartRecordFilterGroup[];
702
747
  };
703
748
 
704
- type GridPosition = {
705
- row: number;
706
- column: number;
707
- rowSpan: number;
708
- columnSpan: number;
709
- };
710
-
711
749
  type RatioAggregateConfig = {
712
750
  fieldMetadataId: SerializedRelation;
713
751
  optionValue: string;
@@ -796,6 +834,7 @@ type RecordTableConfiguration = {
796
834
  configurationType: 'RECORD_TABLE';
797
835
  viewId?: SerializedRelation | null;
798
836
  recordLimit?: number;
837
+ isUIEditable?: boolean;
799
838
  };
800
839
  type FieldConfiguration = {
801
840
  configurationType: 'FIELD';
@@ -803,6 +842,11 @@ type FieldConfiguration = {
803
842
  fieldDisplayMode: 'CARD' | 'EDITOR' | 'FIELD' | 'VIEW' | 'TABLE';
804
843
  viewId?: string;
805
844
  nestedRelationFieldMetadataId?: string | null;
845
+ isUIEditable?: boolean;
846
+ };
847
+ type FormFieldConfiguration = {
848
+ configurationType: 'FORM_FIELD';
849
+ fieldMetadataId: string;
806
850
  };
807
851
  type FieldsConfiguration = {
808
852
  configurationType: 'FIELDS';
@@ -871,7 +915,7 @@ type WorkflowVersionConfiguration = {
871
915
  type WorkflowRunConfiguration = {
872
916
  configurationType: 'WORKFLOW_RUN';
873
917
  };
874
- type PageLayoutWidgetConfiguration = AggregateChartConfiguration | PieChartConfiguration | BarChartConfiguration | LineChartConfiguration | ViewConfiguration | RecordTableConfiguration | FieldConfiguration | FieldsConfiguration | FieldRichTextConfiguration | StandaloneRichTextConfiguration | IframeConfiguration | FrontComponentConfiguration | TimelineConfiguration | TasksConfiguration | NotesConfiguration | FilesConfiguration | EmailsConfiguration | CalendarConfiguration | WorkflowConfiguration | WorkflowVersionConfiguration | WorkflowRunConfiguration | EmailThreadConfiguration | MessageCampaignBodyConfiguration | MessageCampaignDetailsConfiguration | CallRecordingSummaryConfiguration | CallRecordingTranscriptConfiguration;
918
+ type PageLayoutWidgetConfiguration = AggregateChartConfiguration | PieChartConfiguration | BarChartConfiguration | LineChartConfiguration | ViewConfiguration | RecordTableConfiguration | FieldConfiguration | FieldsConfiguration | FormFieldConfiguration | FieldRichTextConfiguration | StandaloneRichTextConfiguration | IframeConfiguration | FrontComponentConfiguration | TimelineConfiguration | TasksConfiguration | NotesConfiguration | FilesConfiguration | EmailsConfiguration | CalendarConfiguration | WorkflowConfiguration | WorkflowVersionConfiguration | WorkflowRunConfiguration | EmailThreadConfiguration | MessageCampaignBodyConfiguration | MessageCampaignDetailsConfiguration | CallRecordingSummaryConfiguration | CallRecordingTranscriptConfiguration;
875
919
 
876
920
  declare enum PageLayoutTabLayoutMode {
877
921
  GRID = "GRID",
@@ -879,17 +923,61 @@ declare enum PageLayoutTabLayoutMode {
879
923
  CANVAS = "CANVAS"
880
924
  }
881
925
 
926
+ type PageLayoutWidgetGridPosition = {
927
+ layoutMode: PageLayoutTabLayoutMode.GRID;
928
+ row: number;
929
+ column: number;
930
+ rowSpan: number;
931
+ columnSpan: number;
932
+ };
933
+ type PageLayoutWidgetVerticalListPosition = {
934
+ layoutMode: PageLayoutTabLayoutMode.VERTICAL_LIST;
935
+ index: number;
936
+ };
937
+ type PageLayoutWidgetCanvasPosition = {
938
+ layoutMode: PageLayoutTabLayoutMode.CANVAS;
939
+ };
940
+ type PageLayoutWidgetPosition = PageLayoutWidgetGridPosition | PageLayoutWidgetVerticalListPosition | PageLayoutWidgetCanvasPosition;
941
+
882
942
  type PageLayoutWidgetUniversalConfiguration = FormatRecordSerializedRelationProperties<PageLayoutWidgetConfiguration>;
883
943
 
884
944
  declare enum PageLayoutType {
885
945
  RECORD_INDEX = "RECORD_INDEX",
886
946
  RECORD_PAGE = "RECORD_PAGE",
887
947
  DASHBOARD = "DASHBOARD",
888
- STANDALONE_PAGE = "STANDALONE_PAGE"
948
+ STANDALONE_PAGE = "STANDALONE_PAGE",
949
+ RECORD_FORM = "RECORD_FORM"
889
950
  }
890
951
 
891
952
  type PageLayoutWidgetConditionalDisplay = object;
892
953
 
954
+ declare enum WidgetType {
955
+ VIEW = "VIEW",
956
+ IFRAME = "IFRAME",
957
+ FIELD = "FIELD",
958
+ FIELDS = "FIELDS",
959
+ GRAPH = "GRAPH",
960
+ STANDALONE_RICH_TEXT = "STANDALONE_RICH_TEXT",
961
+ TIMELINE = "TIMELINE",
962
+ TASKS = "TASKS",
963
+ NOTES = "NOTES",
964
+ FILES = "FILES",
965
+ EMAILS = "EMAILS",
966
+ CALENDAR = "CALENDAR",
967
+ FIELD_RICH_TEXT = "FIELD_RICH_TEXT",
968
+ WORKFLOW = "WORKFLOW",
969
+ WORKFLOW_VERSION = "WORKFLOW_VERSION",
970
+ WORKFLOW_RUN = "WORKFLOW_RUN",
971
+ FRONT_COMPONENT = "FRONT_COMPONENT",
972
+ RECORD_TABLE = "RECORD_TABLE",
973
+ EMAIL_THREAD = "EMAIL_THREAD",
974
+ CALL_RECORDING_SUMMARY = "CALL_RECORDING_SUMMARY",
975
+ CALL_RECORDING_TRANSCRIPT = "CALL_RECORDING_TRANSCRIPT",
976
+ MESSAGE_CAMPAIGN_BODY = "MESSAGE_CAMPAIGN_BODY",
977
+ MESSAGE_CAMPAIGN_DETAILS = "MESSAGE_CAMPAIGN_DETAILS",
978
+ FORM_FIELD = "FORM_FIELD"
979
+ }
980
+
893
981
  type RelationAndMorphRelationFieldMetadataType = FieldMetadataType.RELATION | FieldMetadataType.MORPH_RELATION;
894
982
 
895
983
  declare enum ViewFilterOperand {
@@ -995,7 +1083,7 @@ type CommandMenuItemManifest = SyncableEntityOptions$1 & {
995
1083
  /** @deprecated icon will be ignored in favor of application icon */
996
1084
  icon?: string;
997
1085
  isPinned?: boolean;
998
- availabilityType?: 'GLOBAL' | 'GLOBAL_OBJECT_CONTEXT' | 'RECORD_SELECTION' | 'FALLBACK';
1086
+ availabilityType?: `${CommandMenuItemAvailabilityType}`;
999
1087
  availabilityObjectUniversalIdentifier?: string;
1000
1088
  frontComponentUniversalIdentifier: string;
1001
1089
  conditionalAvailabilityExpression?: string;
@@ -1019,7 +1107,7 @@ type IndexFieldManifest = SyncableEntityOptions$1 & {
1019
1107
 
1020
1108
  type IndexManifest = SyncableEntityOptions$1 & {
1021
1109
  objectUniversalIdentifier: string;
1022
- indexType?: 'BTREE' | 'GIN';
1110
+ indexType?: `${IndexType}`;
1023
1111
  isUnique?: boolean;
1024
1112
  fields: IndexFieldManifest[];
1025
1113
  };
@@ -1145,10 +1233,10 @@ type ObjectManifest = SyncableEntityOptions$1 & {
1145
1233
 
1146
1234
  type PageLayoutWidgetManifest = SyncableEntityOptions$1 & {
1147
1235
  title: string;
1148
- type: string;
1236
+ type: `${WidgetType}`;
1149
1237
  objectUniversalIdentifier?: string;
1150
1238
  conditionalDisplay?: PageLayoutWidgetConditionalDisplay;
1151
- gridPosition?: GridPosition;
1239
+ position?: PageLayoutWidgetPosition;
1152
1240
  configuration: PageLayoutWidgetUniversalConfiguration;
1153
1241
  };
1154
1242
  type PageLayoutTabManifest = SyncableEntityOptions$1 & {
@@ -1239,6 +1327,7 @@ type TimelineActivityAction = (typeof TIMELINE_ACTIVITY_ACTIONS)[number];
1239
1327
  type TimelineActivityTypeEmitThroughManifest = {
1240
1328
  relationFieldUniversalIdentifier: string;
1241
1329
  triggerFieldUniversalIdentifiers?: string[];
1330
+ happensAtFieldUniversalIdentifier?: string;
1242
1331
  };
1243
1332
  type TimelineActivityTypeEmitManifest = {
1244
1333
  on: TimelineActivityAction;
@@ -1715,6 +1804,9 @@ declare const STANDARD_OBJECTS: {
1715
1804
  handle: {
1716
1805
  universalIdentifier: string;
1717
1806
  };
1807
+ scope: {
1808
+ universalIdentifier: string;
1809
+ };
1718
1810
  workspaceMember: {
1719
1811
  universalIdentifier: string;
1720
1812
  };
@@ -1955,6 +2047,9 @@ declare const STANDARD_OBJECTS: {
1955
2047
  calendarEventParticipants: {
1956
2048
  universalIdentifier: string;
1957
2049
  };
2050
+ calendarEventTargets: {
2051
+ universalIdentifier: string;
2052
+ };
1958
2053
  callRecordings: {
1959
2054
  universalIdentifier: string;
1960
2055
  };
@@ -1993,7 +2088,7 @@ declare const STANDARD_OBJECTS: {
1993
2088
  };
1994
2089
  readonly calendarEventRecordPageFields: {
1995
2090
  universalIdentifier: string;
1996
- viewFields: Record<"conferenceLink" | "conferenceSolution" | "description" | "endsAt" | "externalCreatedAt" | "externalUpdatedAt" | "iCalUid" | "isCanceled" | "isFullDay" | "location" | "startsAt" | "title", {
2091
+ viewFields: Record<"calendarEventTargets" | "conferenceLink" | "conferenceSolution" | "description" | "endsAt" | "externalCreatedAt" | "externalUpdatedAt" | "iCalUid" | "isCanceled" | "isFullDay" | "location" | "startsAt" | "title", {
1997
2092
  universalIdentifier: string;
1998
2093
  }>;
1999
2094
  viewFieldGroups: Record<"general" | "system", {
@@ -2002,6 +2097,82 @@ declare const STANDARD_OBJECTS: {
2002
2097
  };
2003
2098
  };
2004
2099
  };
2100
+ readonly calendarEventTarget: {
2101
+ readonly universalIdentifier: "6a9b9656-3e23-4234-94a4-b913c5dde668";
2102
+ readonly fields: {
2103
+ calendarEvent: {
2104
+ universalIdentifier: string;
2105
+ };
2106
+ isAutomaticallyAssigned: {
2107
+ universalIdentifier: string;
2108
+ };
2109
+ isManuallyAssigned: {
2110
+ universalIdentifier: string;
2111
+ };
2112
+ targetPerson: {
2113
+ universalIdentifier: string;
2114
+ };
2115
+ targetCompany: {
2116
+ universalIdentifier: string;
2117
+ };
2118
+ targetOpportunity: {
2119
+ universalIdentifier: string;
2120
+ };
2121
+ createdAt: {
2122
+ universalIdentifier: string;
2123
+ };
2124
+ createdBy: {
2125
+ universalIdentifier: string;
2126
+ };
2127
+ deletedAt: {
2128
+ universalIdentifier: string;
2129
+ };
2130
+ id: {
2131
+ universalIdentifier: string;
2132
+ };
2133
+ position: {
2134
+ universalIdentifier: string;
2135
+ };
2136
+ searchVector: {
2137
+ universalIdentifier: string;
2138
+ };
2139
+ updatedAt: {
2140
+ universalIdentifier: string;
2141
+ };
2142
+ updatedBy: {
2143
+ universalIdentifier: string;
2144
+ };
2145
+ };
2146
+ readonly morphIds: {
2147
+ readonly targetMorphId: {
2148
+ readonly morphId: "676e9f68-7b5c-41e6-b46d-2fb9527b7051";
2149
+ };
2150
+ };
2151
+ readonly indexes: {
2152
+ readonly calendarEventIdIndex: {
2153
+ readonly universalIdentifier: "ce1c180c-0236-4673-ad1d-359dddf59f93";
2154
+ };
2155
+ readonly personIdIndex: {
2156
+ readonly universalIdentifier: "f151bc84-ba45-40cb-b064-02ef359ac17b";
2157
+ };
2158
+ readonly companyIdIndex: {
2159
+ readonly universalIdentifier: "30413277-505d-4f08-be38-a56257460f9f";
2160
+ };
2161
+ readonly opportunityIdIndex: {
2162
+ readonly universalIdentifier: "7920092d-281f-473a-8ea4-53c209b36a37";
2163
+ };
2164
+ readonly calendarEventPersonUniqueIndex: {
2165
+ readonly universalIdentifier: "15b9e394-d451-4186-aaf0-612f6be1ea91";
2166
+ };
2167
+ readonly calendarEventCompanyUniqueIndex: {
2168
+ readonly universalIdentifier: "3fa22398-6e7d-47a5-95eb-4971f9d62135";
2169
+ };
2170
+ readonly calendarEventOpportunityUniqueIndex: {
2171
+ readonly universalIdentifier: "c8183b17-5dfe-4e02-8d9d-aef8e54ef07d";
2172
+ };
2173
+ };
2174
+ readonly views: {};
2175
+ };
2005
2176
  readonly callRecording: {
2006
2177
  readonly universalIdentifier: "ce19efb9-710f-45b2-b141-473abbeea60b";
2007
2178
  readonly fields: {
@@ -2122,6 +2293,12 @@ declare const STANDARD_OBJECTS: {
2122
2293
  noteTargets: {
2123
2294
  universalIdentifier: string;
2124
2295
  };
2296
+ calendarEventTargets: {
2297
+ universalIdentifier: string;
2298
+ };
2299
+ messageThreadTargets: {
2300
+ universalIdentifier: string;
2301
+ };
2125
2302
  opportunities: {
2126
2303
  universalIdentifier: string;
2127
2304
  };
@@ -2263,6 +2440,9 @@ declare const STANDARD_OBJECTS: {
2263
2440
  sentCount: {
2264
2441
  universalIdentifier: string;
2265
2442
  };
2443
+ deliveredCount: {
2444
+ universalIdentifier: string;
2445
+ };
2266
2446
  failedCount: {
2267
2447
  universalIdentifier: string;
2268
2448
  };
@@ -2272,6 +2452,9 @@ declare const STANDARD_OBJECTS: {
2272
2452
  complainedCount: {
2273
2453
  universalIdentifier: string;
2274
2454
  };
2455
+ skippedCount: {
2456
+ universalIdentifier: string;
2457
+ };
2275
2458
  unsubscribeTopicId: {
2276
2459
  universalIdentifier: string;
2277
2460
  };
@@ -2326,13 +2509,13 @@ declare const STANDARD_OBJECTS: {
2326
2509
  readonly views: {
2327
2510
  readonly allMessageCampaigns: {
2328
2511
  universalIdentifier: string;
2329
- viewFields: Record<"bouncedCount" | "complainedCount" | "createdAt" | "failedCount" | "fromAddress" | "list" | "name" | "recipients" | "sentAt" | "sentCount" | "status" | "subject", {
2512
+ viewFields: Record<"bouncedCount" | "complainedCount" | "createdAt" | "deliveredCount" | "failedCount" | "fromAddress" | "list" | "name" | "recipients" | "sentAt" | "sentCount" | "skippedCount" | "status" | "subject", {
2330
2513
  universalIdentifier: string;
2331
2514
  }>;
2332
2515
  };
2333
2516
  readonly messageCampaignRecordPageFields: {
2334
2517
  universalIdentifier: string;
2335
- viewFields: Record<"bouncedCount" | "complainedCount" | "failedCount" | "sentAt" | "sentCount" | "status", {
2518
+ viewFields: Record<"bouncedCount" | "complainedCount" | "deliveredCount" | "failedCount" | "sentAt" | "sentCount" | "skippedCount" | "status", {
2336
2519
  universalIdentifier: string;
2337
2520
  }>;
2338
2521
  viewFieldGroups: Record<"stats", {
@@ -2672,6 +2855,9 @@ declare const STANDARD_OBJECTS: {
2672
2855
  subject: {
2673
2856
  universalIdentifier: string;
2674
2857
  };
2858
+ messageThreadTargets: {
2859
+ universalIdentifier: string;
2860
+ };
2675
2861
  createdAt: {
2676
2862
  universalIdentifier: string;
2677
2863
  };
@@ -2707,6 +2893,82 @@ declare const STANDARD_OBJECTS: {
2707
2893
  };
2708
2894
  };
2709
2895
  };
2896
+ readonly messageThreadTarget: {
2897
+ readonly universalIdentifier: "378ad1b0-592d-4084-80ee-86fef44725b9";
2898
+ readonly fields: {
2899
+ messageThread: {
2900
+ universalIdentifier: string;
2901
+ };
2902
+ isAutomaticallyAssigned: {
2903
+ universalIdentifier: string;
2904
+ };
2905
+ isManuallyAssigned: {
2906
+ universalIdentifier: string;
2907
+ };
2908
+ targetPerson: {
2909
+ universalIdentifier: string;
2910
+ };
2911
+ targetCompany: {
2912
+ universalIdentifier: string;
2913
+ };
2914
+ targetOpportunity: {
2915
+ universalIdentifier: string;
2916
+ };
2917
+ createdAt: {
2918
+ universalIdentifier: string;
2919
+ };
2920
+ createdBy: {
2921
+ universalIdentifier: string;
2922
+ };
2923
+ deletedAt: {
2924
+ universalIdentifier: string;
2925
+ };
2926
+ id: {
2927
+ universalIdentifier: string;
2928
+ };
2929
+ position: {
2930
+ universalIdentifier: string;
2931
+ };
2932
+ searchVector: {
2933
+ universalIdentifier: string;
2934
+ };
2935
+ updatedAt: {
2936
+ universalIdentifier: string;
2937
+ };
2938
+ updatedBy: {
2939
+ universalIdentifier: string;
2940
+ };
2941
+ };
2942
+ readonly morphIds: {
2943
+ readonly targetMorphId: {
2944
+ readonly morphId: "e85e853d-c26e-41b3-bec0-7afc4bdbc2f7";
2945
+ };
2946
+ };
2947
+ readonly indexes: {
2948
+ readonly messageThreadIdIndex: {
2949
+ readonly universalIdentifier: "222fdd8b-0863-4f2a-816a-29745537b6b6";
2950
+ };
2951
+ readonly personIdIndex: {
2952
+ readonly universalIdentifier: "280ee419-ac3c-4599-bd62-3e5cb268342c";
2953
+ };
2954
+ readonly companyIdIndex: {
2955
+ readonly universalIdentifier: "b98005e4-3811-41b6-82d0-3ccd27757eba";
2956
+ };
2957
+ readonly opportunityIdIndex: {
2958
+ readonly universalIdentifier: "7679ee05-cf6c-40a7-9ee6-c3e8053caca5";
2959
+ };
2960
+ readonly messageThreadPersonUniqueIndex: {
2961
+ readonly universalIdentifier: "087f97cb-8c3c-4ea1-9556-933acde6c83b";
2962
+ };
2963
+ readonly messageThreadCompanyUniqueIndex: {
2964
+ readonly universalIdentifier: "30d4f1af-8b6f-4685-802f-8a7cf29f318b";
2965
+ };
2966
+ readonly messageThreadOpportunityUniqueIndex: {
2967
+ readonly universalIdentifier: "1dc0e37e-afb1-4e90-90b4-052374126a6a";
2968
+ };
2969
+ };
2970
+ readonly views: {};
2971
+ };
2710
2972
  readonly message: {
2711
2973
  readonly universalIdentifier: "20202020-3f6b-4425-80ab-e468899ab4b2";
2712
2974
  readonly fields: {
@@ -2734,9 +2996,6 @@ declare const STANDARD_OBJECTS: {
2734
2996
  messageCampaign: {
2735
2997
  universalIdentifier: string;
2736
2998
  };
2737
- deliveryStatus: {
2738
- universalIdentifier: string;
2739
- };
2740
2999
  isDraft: {
2741
3000
  universalIdentifier: string;
2742
3001
  };
@@ -2772,6 +3031,9 @@ declare const STANDARD_OBJECTS: {
2772
3031
  readonly messageCampaignIdIndex: {
2773
3032
  readonly universalIdentifier: "79e777ca-7008-46c5-b3a6-3108b7c7dfb6";
2774
3033
  };
3034
+ readonly headerMessageIdIndex: {
3035
+ readonly universalIdentifier: "0904b3e4-6052-4a8d-bf41-f12a27c7e34a";
3036
+ };
2775
3037
  };
2776
3038
  readonly views: {
2777
3039
  readonly allMessages: {
@@ -2839,10 +3101,10 @@ declare const STANDARD_OBJECTS: {
2839
3101
  };
2840
3102
  readonly noteRecordPageFields: {
2841
3103
  universalIdentifier: string;
2842
- viewFields: Record<"attachments" | "bodyV2" | "createdAt" | "createdBy" | "noteTargets" | "timelineActivities" | "updatedAt" | "updatedBy", {
3104
+ viewFields: Record<"attachments" | "noteTargets" | "timelineActivities", {
2843
3105
  universalIdentifier: string;
2844
3106
  }>;
2845
- viewFieldGroups: Record<"general" | "system", {
3107
+ viewFieldGroups: Record<"general", {
2846
3108
  universalIdentifier: string;
2847
3109
  }>;
2848
3110
  };
@@ -2906,6 +3168,15 @@ declare const STANDARD_OBJECTS: {
2906
3168
  readonly opportunityIdIndex: {
2907
3169
  readonly universalIdentifier: "0d1a59b4-cc87-4b7d-804a-656e8504f371";
2908
3170
  };
3171
+ readonly notePersonUniqueIndex: {
3172
+ readonly universalIdentifier: "29be76d1-ff4f-4f0f-b05c-f679a234e90a";
3173
+ };
3174
+ readonly noteCompanyUniqueIndex: {
3175
+ readonly universalIdentifier: "e3b92659-04cf-4496-8fd4-4f32c747c26a";
3176
+ };
3177
+ readonly noteOpportunityUniqueIndex: {
3178
+ readonly universalIdentifier: "58002741-8aa7-4812-b7af-f4cf98dd2433";
3179
+ };
2909
3180
  };
2910
3181
  readonly views: {
2911
3182
  readonly allNoteTargets: {
@@ -2946,6 +3217,12 @@ declare const STANDARD_OBJECTS: {
2946
3217
  noteTargets: {
2947
3218
  universalIdentifier: string;
2948
3219
  };
3220
+ calendarEventTargets: {
3221
+ universalIdentifier: string;
3222
+ };
3223
+ messageThreadTargets: {
3224
+ universalIdentifier: string;
3225
+ };
2949
3226
  attachments: {
2950
3227
  universalIdentifier: string;
2951
3228
  };
@@ -3085,6 +3362,12 @@ declare const STANDARD_OBJECTS: {
3085
3362
  noteTargets: {
3086
3363
  universalIdentifier: string;
3087
3364
  };
3365
+ calendarEventTargets: {
3366
+ universalIdentifier: string;
3367
+ };
3368
+ messageThreadTargets: {
3369
+ universalIdentifier: string;
3370
+ };
3088
3371
  attachments: {
3089
3372
  universalIdentifier: string;
3090
3373
  };
@@ -3299,10 +3582,10 @@ declare const STANDARD_OBJECTS: {
3299
3582
  };
3300
3583
  readonly taskRecordPageFields: {
3301
3584
  universalIdentifier: string;
3302
- viewFields: Record<"assignee" | "attachments" | "bodyV2" | "createdAt" | "createdBy" | "dueAt" | "status" | "taskTargets" | "timelineActivities" | "updatedAt" | "updatedBy", {
3585
+ viewFields: Record<"assignee" | "attachments" | "dueAt" | "status" | "taskTargets" | "timelineActivities", {
3303
3586
  universalIdentifier: string;
3304
3587
  }>;
3305
- viewFieldGroups: Record<"general" | "system", {
3588
+ viewFieldGroups: Record<"general", {
3306
3589
  universalIdentifier: string;
3307
3590
  }>;
3308
3591
  };
@@ -3366,6 +3649,15 @@ declare const STANDARD_OBJECTS: {
3366
3649
  readonly opportunityIdIndex: {
3367
3650
  readonly universalIdentifier: "6942e0ba-90f6-4c33-bf40-7f00b1ec35ab";
3368
3651
  };
3652
+ readonly taskPersonUniqueIndex: {
3653
+ readonly universalIdentifier: "4adf4d5a-ad69-4c5c-bc62-2807816b3aa8";
3654
+ };
3655
+ readonly taskCompanyUniqueIndex: {
3656
+ readonly universalIdentifier: "637dce5e-f609-49f4-89e3-c0ef9e330d3a";
3657
+ };
3658
+ readonly taskOpportunityUniqueIndex: {
3659
+ readonly universalIdentifier: "eb5422ff-7a41-48d2-a2df-3de1cbf7bced";
3660
+ };
3369
3661
  };
3370
3662
  readonly views: {
3371
3663
  readonly allTaskTargets: {
@@ -3666,6 +3958,12 @@ declare const STANDARD_OBJECTS: {
3666
3958
  stepLogs: {
3667
3959
  universalIdentifier: string;
3668
3960
  };
3961
+ coreWorkflowId: {
3962
+ universalIdentifier: string;
3963
+ };
3964
+ coreWorkflowVersionId: {
3965
+ universalIdentifier: string;
3966
+ };
3669
3967
  timelineActivities: {
3670
3968
  universalIdentifier: string;
3671
3969
  };
@@ -4419,6 +4717,22 @@ declare const STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS: {
4419
4717
  };
4420
4718
  };
4421
4719
  };
4720
+ readonly summary: {
4721
+ universalIdentifier: string;
4722
+ widgets: {
4723
+ readonly summary: {
4724
+ universalIdentifier: string;
4725
+ };
4726
+ };
4727
+ };
4728
+ readonly callRecording: {
4729
+ universalIdentifier: string;
4730
+ widgets: {
4731
+ readonly transcript: {
4732
+ universalIdentifier: string;
4733
+ };
4734
+ };
4735
+ };
4422
4736
  };
4423
4737
  };
4424
4738
  readonly messageChannelMessageAssociationRecordPage: {
@@ -4615,5 +4929,5 @@ declare const defineView: DefineEntity<ViewConfig>;
4615
4929
 
4616
4930
  declare const defineViewField: DefineEntity<StandaloneViewFieldManifest>;
4617
4931
 
4618
- export { AggregateOperations, DateDisplayFormat, FieldMetadataSettingsOnClickAction, FieldMetadataType as FieldType, HTTPMethod, MetadataWritability, NavigationMenuItemType, NumberDataType, ObjectOpenRecordIn, ObjectRecordBaseEvent, ObjectRecordCreateEvent, ObjectRecordDeleteEvent, ObjectRecordDestroyEvent, ObjectRecordGroupByDateGranularity, ObjectRecordRestoreEvent, ObjectRecordUpdateEvent, ObjectRecordUpsertEvent, RelationOnDeleteAction as OnDeleteAction, PageLayoutTabLayoutMode, PageLayoutType, RelationType, RowLevelPermissionPredicateGroupLogicalOperator, RowLevelPermissionPredicateOperand, STANDARD_OBJECTS as STANDARD_OBJECT, STANDARD_OBJECTS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS, STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS as STANDARD_PAGE_LAYOUT, STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS, SYSTEM_VIEW_KEYS, SystemPermissionFlag, ViewCalendarLayout, ViewFilterGroupLogicalOperator, ViewFilterOperand, ViewKey, ViewOpenRecordIn, ViewSortDirection, ViewType, ViewVisibility, canAccessFullAdminPanel, canImpersonate, createValidationResult, defineAgent, defineApplication, defineApplicationRole, defineCommandMenuItem, defineConnectionProvider, defineField, defineFrontComponent, defineIndex, defineLogicFunction, defineNavigationMenuItem, defineObject, definePageLayout, definePageLayoutTab, definePermissionFlag, definePostInstallLogicFunction, definePreInstallLogicFunction, defineRole, defineSettingsFrontComponent, defineSkill, defineTimelineActivityType, defineUninstallLogicFunction, defineView, defineViewField, every, everyDefined, everyEquals, favoriteRecordIds, featureFlags, getFieldUniversalIdentifier, getSystemRelationFieldUniversalIdentifier, getSystemViewFieldUniversalIdentifier, getSystemViewUniversalIdentifier, hasAnySoftDeleteFilterOnView, includes, includesEvery, isDashboardPageLayoutInEditMode, isDefined, isInSidePanel, isLayoutCustomizationModeEnabled, isNonEmptyString, isSelectAll, none, noneDefined, noneEquals, numberOfSelectedRecords, objectMetadataItem, objectMetadataLabel, objectPermissions, pageType, selectedRecords, some, someDefined, someEquals, someNonEmptyString, targetObjectReadPermissions, targetObjectWritePermissions, validateFields };
4619
- export type { ActorMetadata as ActorField, AddressMetadata as AddressField, ApplicationConfig, CommandMenuItemConfig, CommandMenuItemManifest, CronPayload, CurrencyMetadata as CurrencyField, DatabaseEventPayload, DefinableEntity, DefineEntity, EmailsMetadata as EmailsField, FrontComponentConfig, FrontComponentType, FullNameMetadata as FullNameField, GridPosition, IndexConfig, IndexFieldManifest, IndexManifest, InputJsonSchema, InstallHandler, InstallPayload, LinksMetadata as LinksField, LogicFunctionConfig, LogicFunctionHandler, ObjectRecordEvent, PageLayoutConfig, PageLayoutManifest, PageLayoutTabConfig, PageLayoutTabManifest, PageLayoutWidgetConditionalDisplay, PageLayoutWidgetManifest, PageLayoutWidgetUniversalConfiguration, PermissionFlagConfig, PermissionFlagManifest, PermissionFlagPermissionType, PhonesMetadata as PhonesField, RichTextMetadata as RichTextField, LogicFunctionEvent as RoutePayload, RowLevelPermissionPredicateGroupManifest, RowLevelPermissionPredicateManifest, ServerRouteDispatchResult, ServerRouteResolverResult, SettingsFrontComponentConfig, StandaloneViewFieldManifest, SyncableEntityOptions, SystemViewKey, TimelineActivityTypeConfig, TimelineActivityTypeManifest, TwentyRecord, UninstallHandler, UninstallPayload, ValidationResult, ViewConfig, ViewFieldGroupManifest, ViewFieldManifest, ViewFilterGroupManifest, ViewFilterManifest, ViewGroupManifest, ViewManifestFilterValue, ViewSortManifest };
4932
+ export { AggregateOperations, CommandMenuItemAvailabilityType, DateDisplayFormat, FieldMetadataSettingsOnClickAction, FieldMetadataType as FieldType, HTTPMethod, IndexType, MetadataWritability, NavigationMenuItemType, NumberDataType, ObjectOpenRecordIn, ObjectRecordBaseEvent, ObjectRecordCreateEvent, ObjectRecordDeleteEvent, ObjectRecordDestroyEvent, ObjectRecordGroupByDateGranularity, ObjectRecordRestoreEvent, ObjectRecordUpdateEvent, ObjectRecordUpsertEvent, RelationOnDeleteAction as OnDeleteAction, PageLayoutTabLayoutMode, PageLayoutType, RelationType, RowLevelPermissionPredicateGroupLogicalOperator, RowLevelPermissionPredicateOperand, STANDARD_OBJECTS as STANDARD_OBJECT, STANDARD_OBJECTS as STANDARD_OBJECT_UNIVERSAL_IDENTIFIERS, STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS as STANDARD_PAGE_LAYOUT, STANDARD_PAGE_LAYOUT_UNIVERSAL_IDENTIFIERS, SYSTEM_VIEW_KEYS, SystemPermissionFlag, ViewCalendarLayout, ViewFilterGroupLogicalOperator, ViewFilterOperand, ViewKey, ViewOpenRecordIn, ViewSortDirection, ViewType, ViewVisibility, WidgetType, canAccessFullAdminPanel, canImpersonate, createValidationResult, defineAgent, defineApplication, defineApplicationRole, defineCommandMenuItem, defineConnectionProvider, defineField, defineFrontComponent, defineIndex, defineLogicFunction, defineNavigationMenuItem, defineObject, definePageLayout, definePageLayoutTab, definePermissionFlag, definePostInstallLogicFunction, definePreInstallLogicFunction, defineRole, defineSettingsFrontComponent, defineSkill, defineTimelineActivityType, defineUninstallLogicFunction, defineView, defineViewField, every, everyDefined, everyEquals, favoriteRecordIds, featureFlags, getFieldUniversalIdentifier, getSystemRelationFieldUniversalIdentifier, getSystemViewFieldUniversalIdentifier, getSystemViewUniversalIdentifier, hasAnySoftDeleteFilterOnView, includes, includesEvery, isDashboardPageLayoutInEditMode, isDefined, isInSidePanel, isLayoutCustomizationModeEnabled, isNonEmptyString, isSelectAll, none, noneDefined, noneEquals, numberOfSelectedRecords, objectMetadataItem, objectMetadataLabel, objectPermissions, pageType, selectedRecords, some, someDefined, someEquals, someNonEmptyString, targetObjectReadPermissions, targetObjectWritePermissions, validateFields };
4933
+ export type { ActorMetadata as ActorField, AddressMetadata as AddressField, ApplicationConfig, CommandMenuItemConfig, CommandMenuItemManifest, CronPayload, CurrencyMetadata as CurrencyField, DatabaseEventPayload, DefinableEntity, DefineEntity, EmailsMetadata as EmailsField, FrontComponentConfig, FrontComponentType, FullNameMetadata as FullNameField, IndexConfig, IndexFieldManifest, IndexManifest, InputJsonSchema, InstallHandler, InstallPayload, LinksMetadata as LinksField, LogicFunctionConfig, LogicFunctionHandler, ObjectRecordEvent, PageLayoutConfig, PageLayoutManifest, PageLayoutTabConfig, PageLayoutTabManifest, PageLayoutWidgetCanvasPosition, PageLayoutWidgetConditionalDisplay, PageLayoutWidgetGridPosition, PageLayoutWidgetManifest, PageLayoutWidgetPosition, PageLayoutWidgetUniversalConfiguration, PageLayoutWidgetVerticalListPosition, PermissionFlagConfig, PermissionFlagManifest, PermissionFlagPermissionType, PhonesMetadata as PhonesField, RichTextMetadata as RichTextField, LogicFunctionEvent as RoutePayload, RowLevelPermissionPredicateGroupManifest, RowLevelPermissionPredicateManifest, ServerRouteDispatchResult, ServerRouteResolverResult, SettingsFrontComponentConfig, StandaloneViewFieldManifest, SyncableEntityOptions, SystemViewKey, TimelineActivityTypeConfig, TimelineActivityTypeManifest, TwentyRecord, UninstallHandler, UninstallPayload, ValidationResult, ViewConfig, ViewFieldGroupManifest, ViewFieldManifest, ViewFilterGroupManifest, ViewFilterManifest, ViewGroupManifest, ViewManifestFilterValue, ViewSortManifest };