twenty-sdk 2.26.0 → 2.29.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.
- package/dist/{catalog-sync-BhcRTPpY.js → catalog-sync-4aA_KNKt.js} +1 -1
- package/dist/{catalog-sync-CMzypQBt.mjs → catalog-sync-iMUPp5Zl.mjs} +1 -1
- package/dist/cli/utilities/entity/entity-page-layout-template.d.ts +1 -1
- package/dist/cli.cjs +121 -115
- package/dist/cli.mjs +3326 -3296
- package/dist/define/index.cjs +15 -10
- package/dist/define/index.cjs.map +1 -1
- package/dist/define/index.d.ts +21 -3
- package/dist/define/index.mjs +3663 -3365
- package/dist/define/index.mjs.map +1 -1
- package/dist/front-component/index.cjs +1 -1
- package/dist/front-component/index.cjs.map +1 -1
- package/dist/front-component/index.d.ts +2 -1
- package/dist/front-component/index.mjs +2 -2
- package/dist/front-component/index.mjs.map +1 -1
- package/dist/front-component-renderer/build.cjs +1 -1
- package/dist/front-component-renderer/build.mjs +1 -1
- package/dist/{get-front-component-build-plugins-klRAsPTE.mjs → get-front-component-build-plugins-B5IvUvSS.mjs} +1 -1
- package/dist/{get-front-component-build-plugins-C7h3DVdC.js → get-front-component-build-plugins-TJrFS3_p.js} +1 -1
- package/dist/{get-function-input-schema-GNk3NRLJ-BFDLBpFh.mjs → get-function-input-schema-GNk3NRLJ-CVLFFqWb.mjs} +1 -1
- package/dist/logic-function/index.d.ts +11 -1
- package/dist/{login-CY_XIBxf.js → login-CJAHe6Nd.js} +59 -57
- package/dist/{login-CAb32cRd.mjs → login-rRUKuleo.mjs} +6781 -6485
- package/dist/operations.cjs +1 -1
- package/dist/operations.mjs +1 -1
- package/package.json +3 -3
package/dist/define/index.d.ts
CHANGED
|
@@ -172,6 +172,7 @@ type ConnectionProviderManifest = SyncableEntityOptions$1 & {
|
|
|
172
172
|
type: 'oauth';
|
|
173
173
|
oauth: OAuthConnectionProviderConfig;
|
|
174
174
|
onConnectLogicFunction?: SyncableEntityOptions$1;
|
|
175
|
+
onDisconnectLogicFunction?: SyncableEntityOptions$1;
|
|
175
176
|
};
|
|
176
177
|
|
|
177
178
|
declare const getFieldUniversalIdentifier: ({ applicationUniversalIdentifier, objectUniversalIdentifier, name, }: {
|
|
@@ -647,6 +648,12 @@ declare enum NavigationMenuItemType {
|
|
|
647
648
|
PAGE_LAYOUT = "PAGE_LAYOUT"
|
|
648
649
|
}
|
|
649
650
|
|
|
651
|
+
declare enum ObjectOpenRecordIn {
|
|
652
|
+
SIDE_PANEL = "SIDE_PANEL",
|
|
653
|
+
RECORD_PAGE = "RECORD_PAGE",
|
|
654
|
+
USER_CHOICE = "USER_CHOICE"
|
|
655
|
+
}
|
|
656
|
+
|
|
650
657
|
declare enum ObjectRecordGroupByDateGranularity {
|
|
651
658
|
DAY = "DAY",
|
|
652
659
|
MONTH = "MONTH",
|
|
@@ -771,7 +778,7 @@ type ViewConfiguration = {
|
|
|
771
778
|
};
|
|
772
779
|
type RecordTableConfiguration = {
|
|
773
780
|
configurationType: 'RECORD_TABLE';
|
|
774
|
-
viewId?:
|
|
781
|
+
viewId?: SerializedRelation | null;
|
|
775
782
|
recordLimit?: number;
|
|
776
783
|
};
|
|
777
784
|
type FieldConfiguration = {
|
|
@@ -779,6 +786,7 @@ type FieldConfiguration = {
|
|
|
779
786
|
fieldMetadataId: string;
|
|
780
787
|
fieldDisplayMode: 'CARD' | 'EDITOR' | 'FIELD' | 'VIEW' | 'TABLE';
|
|
781
788
|
viewId?: string;
|
|
789
|
+
nestedRelationFieldMetadataId?: string | null;
|
|
782
790
|
};
|
|
783
791
|
type FieldsConfiguration = {
|
|
784
792
|
configurationType: 'FIELDS';
|
|
@@ -828,6 +836,12 @@ type MessageCampaignBodyConfiguration = {
|
|
|
828
836
|
type MessageCampaignDetailsConfiguration = {
|
|
829
837
|
configurationType: 'MESSAGE_CAMPAIGN_DETAILS';
|
|
830
838
|
};
|
|
839
|
+
type CallRecordingSummaryConfiguration = {
|
|
840
|
+
configurationType: 'CALL_RECORDING_SUMMARY';
|
|
841
|
+
};
|
|
842
|
+
type CallRecordingTranscriptConfiguration = {
|
|
843
|
+
configurationType: 'CALL_RECORDING_TRANSCRIPT';
|
|
844
|
+
};
|
|
831
845
|
type CalendarConfiguration = {
|
|
832
846
|
configurationType: 'CALENDAR';
|
|
833
847
|
};
|
|
@@ -840,7 +854,7 @@ type WorkflowVersionConfiguration = {
|
|
|
840
854
|
type WorkflowRunConfiguration = {
|
|
841
855
|
configurationType: 'WORKFLOW_RUN';
|
|
842
856
|
};
|
|
843
|
-
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;
|
|
857
|
+
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;
|
|
844
858
|
|
|
845
859
|
declare enum PageLayoutTabLayoutMode {
|
|
846
860
|
GRID = "GRID",
|
|
@@ -1095,6 +1109,7 @@ type ObjectManifest = SyncableEntityOptions$1 & {
|
|
|
1095
1109
|
isSearchable?: boolean;
|
|
1096
1110
|
isUICreatable?: boolean;
|
|
1097
1111
|
isUIEditable?: boolean;
|
|
1112
|
+
openRecordIn?: ObjectOpenRecordIn;
|
|
1098
1113
|
fields: ObjectFieldManifest[];
|
|
1099
1114
|
labelIdentifierFieldMetadataUniversalIdentifier: string;
|
|
1100
1115
|
};
|
|
@@ -4273,6 +4288,9 @@ declare const STANDARD_OBJECTS: {
|
|
|
4273
4288
|
colorScheme: {
|
|
4274
4289
|
universalIdentifier: string;
|
|
4275
4290
|
};
|
|
4291
|
+
openRecordIn: {
|
|
4292
|
+
universalIdentifier: string;
|
|
4293
|
+
};
|
|
4276
4294
|
locale: {
|
|
4277
4295
|
universalIdentifier: string;
|
|
4278
4296
|
};
|
|
@@ -5059,5 +5077,5 @@ declare const defineView: DefineEntity<ViewConfig>;
|
|
|
5059
5077
|
|
|
5060
5078
|
declare const defineViewField: DefineEntity<StandaloneViewFieldManifest>;
|
|
5061
5079
|
|
|
5062
|
-
export { AggregateOperations, DateDisplayFormat, FieldMetadataSettingsOnClickAction, FieldMetadataType as FieldType, HTTPMethod, NavigationMenuItemType, NumberDataType, 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, 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, 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 };
|
|
5080
|
+
export { AggregateOperations, DateDisplayFormat, FieldMetadataSettingsOnClickAction, FieldMetadataType as FieldType, HTTPMethod, 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, 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, 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 };
|
|
5063
5081
|
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, TwentyRecord, UninstallHandler, UninstallPayload, ValidationResult, ViewConfig, ViewFieldGroupManifest, ViewFieldManifest, ViewFilterGroupManifest, ViewFilterManifest, ViewGroupManifest, ViewManifestFilterValue, ViewSortManifest };
|