lucid-extension-sdk 0.0.448 → 0.0.450

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 (164) hide show
  1. package/commandtypes.d.ts +320 -243
  2. package/commandtypes.js +313 -167
  3. package/core/authorizationflowhandlerregistry.js +2 -1
  4. package/core/cardintegration/cardfielddisplaysettings.d.ts +150 -61
  5. package/core/cardintegration/cardfielddisplaysettings.js +43 -46
  6. package/core/cardintegration/cardintegrationautosyncconfig.d.ts +27 -5
  7. package/core/cardintegration/cardintegrationautosyncconfig.js +5 -6
  8. package/core/cardintegration/cardintegrationconfig.d.ts +32 -33
  9. package/core/cardintegration/cardintegrationparams.d.ts +14 -0
  10. package/core/cardintegration/extensiondatapanel/extensiondatapanellistitemtexttagcolor.d.ts +15 -14
  11. package/core/cardintegration/extensiondatapanel/extensiondatapanellistitemtexttagcolor.js +14 -15
  12. package/core/cardintegration/extensionimportmodalwidthbreakpoint.d.ts +9 -8
  13. package/core/cardintegration/extensionimportmodalwidthbreakpoint.js +8 -9
  14. package/core/cardintegration/lucidcardintegration.d.ts +22 -2
  15. package/core/cardintegration/lucidcardintegration.js +2 -1
  16. package/core/cardintegration/lucidcardintegrationcustomimportmodal.js +2 -1
  17. package/core/cardintegration/lucidcardintegrationpresetsetupmodal.d.ts +29 -0
  18. package/core/cardintegration/lucidcardintegrationpresetsetupmodal.js +15 -0
  19. package/core/cardintegration/lucidcardintegrationregistry.d.ts +2 -1
  20. package/core/cardintegration/lucidcardintegrationregistry.js +65 -101
  21. package/core/cardintegration/lucidcardintegrationstandardimportmodal.d.ts +1 -0
  22. package/core/checks.d.ts +1 -1
  23. package/core/data/datasource/datasourcetype.d.ts +12 -11
  24. package/core/data/datasource/datasourcetype.js +11 -12
  25. package/core/data/datasource/metadatatypes.d.ts +10 -9
  26. package/core/data/datasource/metadatatypes.js +9 -10
  27. package/core/data/datasource/semanticcollection.d.ts +21 -6
  28. package/core/data/datasource/semanticcollection.js +6 -7
  29. package/core/data/datasource/semanticrelationships.d.ts +25 -13
  30. package/core/data/datasource/semanticrelationships.js +29 -30
  31. package/core/data/datasource/serializeddatasourceproperties.d.ts +23 -3
  32. package/core/data/datasource/serializedimporteddatasource.d.ts +46 -6
  33. package/core/data/datasource/serializedsourceforeignkey.d.ts +19 -0
  34. package/core/data/datasource/serializedsourceforeignkey.js +7 -1
  35. package/core/data/datasource/serializedupstreamconfig.d.ts +18 -3
  36. package/core/data/datasource/sourceforeignkeys.d.ts +37 -9
  37. package/core/data/datasource/sourceforeignkeys.js +23 -10
  38. package/core/data/datasource/upstreampatchtype.d.ts +6 -5
  39. package/core/data/datasource/upstreampatchtype.js +5 -6
  40. package/core/data/datasource/upstreamupdatetype.d.ts +7 -6
  41. package/core/data/datasource/upstreamupdatetype.js +6 -7
  42. package/core/data/fieldspecification.d.ts +3 -3
  43. package/core/data/fieldtypedefinition/basefieldtypedefinition.js +1 -2
  44. package/core/data/fieldtypedefinition/collectionenumfieldtype.d.ts +18 -9
  45. package/core/data/fieldtypedefinition/collectionenumfieldtype.js +10 -10
  46. package/core/data/fieldtypedefinition/deserializedmapenumfieldtype.d.ts +8 -0
  47. package/core/data/fieldtypedefinition/deserializedmapenumfieldtype.js +28 -2
  48. package/core/data/fieldtypedefinition/lucidfields.d.ts +90 -20
  49. package/core/data/fieldtypedefinition/lucidfields.js +20 -21
  50. package/core/data/fieldtypedefinition/ndimensionalfieldtypearray.js +1 -1
  51. package/core/data/fieldtypedefinition/scalarfieldtype.d.ts +43 -14
  52. package/core/data/fieldtypedefinition/scalarfieldtype.js +43 -28
  53. package/core/data/fieldtypedefinition/semanticfields.d.ts +31 -16
  54. package/core/data/fieldtypedefinition/semanticfields.js +16 -17
  55. package/core/data/fieldtypedefinition/semantickind.d.ts +39 -20
  56. package/core/data/fieldtypedefinition/semantickind.js +48 -73
  57. package/core/data/fieldtypedefinition/utils.d.ts +2 -2
  58. package/core/data/serializedfield/serializeddisplayoption.d.ts +13 -6
  59. package/core/data/serializedfield/serializeddisplayoption.js +6 -7
  60. package/core/data/serializedfield/serializedfielddefinition.d.ts +50 -16
  61. package/core/data/serializedfield/serializedfielddefinition.js +13 -14
  62. package/core/dataerrortype.d.ts +11 -10
  63. package/core/dataerrortype.js +43 -0
  64. package/core/defer.d.ts +1 -1
  65. package/core/format/enumformat.d.ts +2 -1
  66. package/core/format/enumformat.js +2 -3
  67. package/core/format/objectformat.d.ts +1 -1
  68. package/core/lucidproduct.d.ts +6 -5
  69. package/core/lucidproduct.js +5 -6
  70. package/core/offsettype.d.ts +30 -15
  71. package/core/offsettype.js +38 -25
  72. package/core/properties/datagraphic/badgeposition.d.ts +46 -30
  73. package/core/properties/datagraphic/badgeposition.js +36 -58
  74. package/core/properties/datagraphic/datagraphicindexes.d.ts +13 -12
  75. package/core/properties/datagraphic/datagraphicindexes.js +11 -12
  76. package/core/properties/dependencylinename.d.ts +8 -7
  77. package/core/properties/dependencylinename.js +7 -8
  78. package/core/properties/fillcolor.d.ts +8 -7
  79. package/core/properties/fillcolor.js +7 -8
  80. package/core/properties/strokestyle.d.ts +21 -20
  81. package/core/properties/strokestyle.js +22 -23
  82. package/core/quicktools/quicktoolsregistry.js +2 -1
  83. package/core/rules/badgeboxfit.d.ts +5 -4
  84. package/core/rules/badgeboxfit.js +4 -5
  85. package/core/rules/conditions.d.ts +101 -58
  86. package/core/rules/conditions.js +64 -66
  87. package/core/rules/conditiontype.d.ts +10 -9
  88. package/core/rules/conditiontype.js +9 -10
  89. package/core/rules/serializedeffect.d.ts +6 -5
  90. package/core/rules/serializedeffect.js +5 -6
  91. package/core/shapedatainheritance.d.ts +6 -5
  92. package/core/shapedatainheritance.js +5 -6
  93. package/core/sharedcardintegration/cardintegrationdefinitions.d.ts +99 -10
  94. package/core/sharedcardintegration/cardintegrationdefinitions.js +39 -9
  95. package/core/sharedcardintegration/dependencymappingconfig.d.ts +14 -0
  96. package/core/sharedcardintegration/dependencymappingconfig.js +2 -0
  97. package/core/sharedcardintegration/sharedregistryutil.d.ts +4 -0
  98. package/core/sharedcardintegration/sharedregistryutil.js +96 -0
  99. package/core/spreadsheetintegration/lucidspreadsheetintegration.d.ts +15 -7
  100. package/core/spreadsheetintegration/lucidspreadsheetintegration.js +7 -8
  101. package/core/spreadsheetintegration/lucidspreadsheetintegrationregistry.d.ts +4 -1
  102. package/core/spreadsheetintegration/lucidspreadsheetintegrationregistry.js +31 -7
  103. package/core/unfurl/unfurlcallbacks.d.ts +6 -5
  104. package/core/unfurl/unfurlcallbacks.js +5 -6
  105. package/core/unfurl/unfurldetails.d.ts +1 -1
  106. package/core/unfurl/unfurliframe.d.ts +9 -8
  107. package/core/unfurl/unfurliframe.js +18 -19
  108. package/core/unfurl/unfurlrefresherrortype.d.ts +9 -5
  109. package/core/unfurl/unfurlrefresherrortype.js +5 -6
  110. package/core/validators/validators.d.ts +1 -1
  111. package/core/validators/validators.js +6 -1
  112. package/data/collectionproxy.js +6 -5
  113. package/data/dataitemproxy.js +4 -3
  114. package/data/dataproxy.js +3 -2
  115. package/data/datasourceproxy.js +3 -2
  116. package/data/dataupdatefiltertype.d.ts +6 -5
  117. package/data/dataupdatefiltertype.js +5 -6
  118. package/data/displayoptiondefinition.d.ts +2 -2
  119. package/data/fieldconstraintdefinition.d.ts +22 -12
  120. package/data/patcherrortype.d.ts +5 -4
  121. package/data/patcherrortype.js +4 -5
  122. package/dataconnector/actions/dataconnectoractionkeys.d.ts +6 -5
  123. package/dataconnector/actions/dataconnectoractionkeys.js +5 -6
  124. package/dataconnector/actions/serializedpatchtypes.d.ts +4 -0
  125. package/dataconnector/dataconnector.d.ts +1 -1
  126. package/dataconnector/dataconnector.js +7 -1
  127. package/document/blockclasses/customblockproxy.d.ts +3 -3
  128. package/document/blockclasses/customblockproxy.js +5 -4
  129. package/document/blockclasses/legendblockproxy.d.ts +5 -4
  130. package/document/blockclasses/legendblockproxy.js +8 -9
  131. package/document/blockclasses/linkunfurlblockproxy.js +2 -1
  132. package/document/blockclasses/tableblockproxy.js +5 -4
  133. package/document/blockproxy.js +2 -1
  134. package/document/documentaccesspermission.d.ts +7 -6
  135. package/document/documentaccesspermission.js +6 -7
  136. package/document/documentelement/documentelementtype.d.ts +26 -25
  137. package/document/documentelement/documentelementtype.js +25 -26
  138. package/document/documentelement/ruleproxy.js +2 -1
  139. package/document/documentproxy.js +16 -15
  140. package/document/elementproxy.js +7 -6
  141. package/document/graphdefinition.d.ts +5 -4
  142. package/document/graphdefinition.js +4 -5
  143. package/document/groupproxy.js +7 -6
  144. package/document/itemproxy.js +10 -9
  145. package/document/lineproxy.d.ts +6 -5
  146. package/document/lineproxy.js +9 -9
  147. package/document/pageproxy.js +17 -17
  148. package/document/propertystoreproxy.js +3 -2
  149. package/document/ruledefinition.d.ts +9 -9
  150. package/document/shapedataproxy.js +6 -5
  151. package/document/text/textstyle.d.ts +17 -16
  152. package/document/text/textstyle.js +23 -24
  153. package/editorclient.d.ts +1 -1
  154. package/editorclient.js +40 -40
  155. package/package.json +3 -3
  156. package/ui/iframeui.d.ts +7 -6
  157. package/ui/iframeui.js +12 -12
  158. package/ui/menu.d.ts +15 -13
  159. package/ui/menu.js +23 -24
  160. package/ui/modal.js +3 -2
  161. package/ui/panel.d.ts +6 -5
  162. package/ui/panel.js +11 -11
  163. package/ui/viewport.js +16 -15
  164. package/user/userproxy.js +3 -2
package/commandtypes.d.ts CHANGED
@@ -26,145 +26,148 @@ import { PanelLocation } from './ui/panel';
26
26
  * Follow this guide to add new commands: https://lucidatlassian.atlassian.net/wiki/x/3AA3Xww
27
27
  * Before you add a new command bring it up in #api-committee to get feedback.
28
28
  */
29
- export declare const enum CommandName {
30
- AddAuthorizationFlowHandler = "aafh",
31
- AddCardIntegration = "aci",
32
- AddDiagramFromMermaid = "adfm",
33
- AddDiagramFromLuma = "luma",
34
- AddLineTextArea = "alta",
35
- AddMenuItem = "ami",
36
- AddQuickAction = "aqa",
37
- AddShapeData = "asd",
38
- AddSpreadsheetIntegration = "asi",
39
- AddTableColumn = "atc",
40
- AddTableRow = "atr",
41
- Alert = "a",
42
- AnimateViewport = "av",
43
- AwaitDataSourceImport = "adi",
44
- AwaitImport = "ai",
45
- Bootstrap = "b",
46
- CalculateHash = "hsh",
47
- CanEditPackageSettings = "ceps",
48
- CancelDragBlockToCanvas = "cdc",
49
- CheckUserFlagAssignment = "cufa",
50
- Confirm = "c",
51
- CreateBlock = "cb",
52
- CreateCards = "ca",
53
- CreateCollection = "cc",
54
- CreateDataSource = "cds",
55
- CreateDocumentElement = "cde",
56
- CreateGraph = "cgr",
57
- CreateGroup = "cg",
58
- CreateLine = "cl",
59
- CreatePage = "cp",
60
- CreateUserImage = "cui",
61
- DataAction = "da",
62
- DataItemExists = "die",
63
- DeleteDocumentElement = "dde",
64
- DeleteItem = "di",
65
- DeletePage = "dp",
66
- DeleteShapeData = "dsd",
67
- DeleteTableColumn = "dtc",
68
- DeleteTableRow = "dtr",
69
- Download = "d",
70
- DragPointerMove = "dpm",
71
- DragPointerUp = "dpu",
72
- DuplicateItems = "dis",
73
- ElementExists = "ee",
74
- ExecuteFormula = "ef",
75
- FindAvailableSpace = "fas",
76
- FireBeaconEvent = "fbe",
77
- GetCardIntegrationConfig = "gcic",
78
- GetConnectedLines = "gcl",
79
- GetCurrentPage = "gcp",
80
- GetCustomShape = "gcs",
81
- GetDataItemField = "gdif",
82
- GetDeveloperModeStatus = "gdms",
83
- GetDocumentAccessPermission = "gdap",
84
- GetDocumentChunks = "gdc",
85
- GetDocumentId = "gdid",
86
- GetElementType = "get",
87
- GetEnvironmentConfig = "gec",
88
- GetItemPageId = "gip",
89
- GetItemsAt = "gia",
90
- GetLLMContextFromItems = "llm",
91
- GetOAuthClientId = "goci",
92
- GetOAuthToken = "got",
93
- GetPackageSettings = "gps",
94
- GetProduct = "gpr",
95
- GetProperty = "gp",
96
- GetReferenceKey = "grk",
97
- GetRelativeLinePosition = "grlp",
98
- GetSelection = "gs",
99
- GetShapeData = "gsd",
100
- GetSvg = "gsvg",
101
- GetTextStyle = "gts",
102
- GetUserId = "guid",
103
- GetVisibleRect = "gvr",
104
- HideModal = "hm",
105
- HidePanel = "hp",
106
- HookAllChanges = "hac",
107
- HookCreateItems = "hci",
108
- HookDeleteItems = "hdi",
109
- HookSelection = "hs",
110
- HookTextEdit = "hte",
111
- ImportCards = "ic",
112
- ImportLinks = "il",
113
- ImportPage = "imp",
114
- KillExtension = "k",
115
- ListBlocks = "lb",
116
- ListCollectionFields = "lcf",
117
- ListCollections = "lc",
118
- ListDataItems = "ldi",
119
- ListDataSources = "lds",
120
- ListDocumentElements = "lde",
121
- ListGroups = "lg",
122
- ListLines = "ll",
123
- ListPages = "lp",
124
- ListProperties = "lpr",
125
- ListReferenceKeys = "lrk",
126
- ListShapeData = "lsd",
127
- ListTextAreas = "lta",
128
- LoadBlockClasses = "lbc",
129
- LogForTestCase = "log",
130
- MeasureText = "mt",
131
- OffsetItems = "oi",
132
- PatchDataItems = "pdi",
133
- Prompt = "p",
134
- RegisterPanel = "rp",
135
- RegisterUnfurl = "ru",
136
- ReloadExtension = "r",
137
- SendAsyncOAuthRequest = "aoauth",
138
- SendOAuthRequest = "oauth",
139
- SendPermanentTokenRequest = "perm",
140
- SendUIMessage = "suim",
141
- SendXHR = "xhr",
142
- SetCurrentPage = "scp",
143
- SetPackageSettings = "sps",
144
- SetProperty = "sp",
145
- SetReferenceKey = "srk",
146
- SetSelection = "ss",
147
- SetShapeData = "ssd",
148
- SetText = "st",
149
- SetTextStyle = "sts",
150
- ShowModal = "sm",
151
- ShowPackageSettingsModal = "spsm",
152
- ShowPanel = "spn",
153
- SleepForTestCase = "sleep",
154
- StartDragBlockToCanvas = "sdc",
155
- StartPDFUploadRequest = "pdf",
156
- ThrowForTestCase = "throw",
157
- TriggerAuthFlow = "tauth",
158
- UnhookAllChanges = "uac",
159
- UnhookCreateItems = "uci",
160
- UnhookDeleteItems = "udi",
161
- UnhookSelection = "us",
162
- UnhookTextEdit = "ute",
163
- UpdateCardIntegrationConfig = "ucic",
164
- WithMutex = "wm",
165
- WithSilentActions = "wsa",
166
- ZOrder = "z"
167
- }
29
+ export declare const CommandName: {
30
+ readonly AddAuthorizationFlowHandler: "aafh";
31
+ readonly AddCardIntegration: "aci";
32
+ readonly AddDiagramFromMermaid: "adfm";
33
+ readonly AddDiagramFromLuma: "luma";
34
+ readonly AddLineTextArea: "alta";
35
+ readonly AddMenuItem: "ami";
36
+ readonly AddQuickAction: "aqa";
37
+ readonly AddShapeData: "asd";
38
+ readonly AddSpreadsheetIntegration: "asi";
39
+ readonly AddTableColumn: "atc";
40
+ readonly AddTableRow: "atr";
41
+ readonly Alert: "a";
42
+ readonly AnimateViewport: "av";
43
+ readonly AwaitDataSourceImport: "adi";
44
+ readonly AwaitImport: "ai";
45
+ readonly Bootstrap: "b";
46
+ readonly CalculateHash: "hsh";
47
+ readonly CanEditPackageSettings: "ceps";
48
+ readonly CancelDragBlockToCanvas: "cdc";
49
+ readonly CheckUserFlagAssignment: "cufa";
50
+ readonly Confirm: "c";
51
+ readonly CreateBlock: "cb";
52
+ readonly CreateCards: "ca";
53
+ readonly CreateCollection: "cc";
54
+ readonly CreateDataSource: "cds";
55
+ readonly CreateDocumentElement: "cde";
56
+ readonly CreateGraph: "cgr";
57
+ readonly CreateGroup: "cg";
58
+ readonly CreateLine: "cl";
59
+ readonly CreatePage: "cp";
60
+ readonly CreateUserImage: "cui";
61
+ readonly DataAction: "da";
62
+ readonly DataItemExists: "die";
63
+ readonly DeleteDocumentElement: "dde";
64
+ readonly DeleteItem: "di";
65
+ readonly DeletePage: "dp";
66
+ readonly DeleteShapeData: "dsd";
67
+ readonly DeleteTableColumn: "dtc";
68
+ readonly DeleteTableRow: "dtr";
69
+ readonly Download: "d";
70
+ readonly DragPointerMove: "dpm";
71
+ readonly DragPointerUp: "dpu";
72
+ readonly DuplicateItems: "dis";
73
+ readonly ElementExists: "ee";
74
+ readonly ExecuteFormula: "ef";
75
+ readonly FindAvailableSpace: "fas";
76
+ readonly FireBeaconEvent: "fbe";
77
+ readonly GetCardIntegrationConfig: "gcic";
78
+ readonly GetConnectedLines: "gcl";
79
+ readonly GetCurrentPage: "gcp";
80
+ readonly GetCustomShape: "gcs";
81
+ readonly GetDataItemField: "gdif";
82
+ readonly GetDeveloperModeStatus: "gdms";
83
+ readonly GetDocumentAccessPermission: "gdap";
84
+ readonly GetDocumentChunks: "gdc";
85
+ readonly GetDocumentId: "gdid";
86
+ readonly GetElementType: "get";
87
+ readonly GetEnvironmentConfig: "gec";
88
+ readonly GetItemPageId: "gip";
89
+ readonly GetItemsAt: "gia";
90
+ readonly GetLLMContextFromItems: "llm";
91
+ readonly GetOAuthClientId: "goci";
92
+ readonly GetOAuthToken: "got";
93
+ readonly GetPackageSettings: "gps";
94
+ readonly GetProduct: "gpr";
95
+ readonly GetProperty: "gp";
96
+ readonly GetReferenceKey: "grk";
97
+ readonly GetRelativeLinePosition: "grlp";
98
+ readonly GetSelection: "gs";
99
+ readonly GetShapeData: "gsd";
100
+ readonly GetSvg: "gsvg";
101
+ readonly GetTextStyle: "gts";
102
+ readonly GetUserId: "guid";
103
+ readonly GetVisibleRect: "gvr";
104
+ readonly HideModal: "hm";
105
+ readonly HidePanel: "hp";
106
+ readonly HookAllChanges: "hac";
107
+ readonly HookCreateItems: "hci";
108
+ readonly HookDeleteItems: "hdi";
109
+ readonly HookSelection: "hs";
110
+ readonly HookTextEdit: "hte";
111
+ readonly ImportCards: "ic";
112
+ readonly ImportLinks: "il";
113
+ readonly ImportPage: "imp";
114
+ readonly KillExtension: "k";
115
+ readonly ListBlocks: "lb";
116
+ readonly ListCollectionFields: "lcf";
117
+ readonly ListCollections: "lc";
118
+ readonly ListDataItems: "ldi";
119
+ readonly ListDataSources: "lds";
120
+ readonly ListDocumentElements: "lde";
121
+ readonly ListGroups: "lg";
122
+ readonly ListLines: "ll";
123
+ readonly ListPages: "lp";
124
+ readonly ListProperties: "lpr";
125
+ readonly ListReferenceKeys: "lrk";
126
+ readonly ListShapeData: "lsd";
127
+ readonly ListTextAreas: "lta";
128
+ readonly LoadBlockClasses: "lbc";
129
+ readonly LogForTestCase: "log";
130
+ readonly MeasureText: "mt";
131
+ readonly OffsetItems: "oi";
132
+ readonly PatchDataItems: "pdi";
133
+ readonly Prompt: "p";
134
+ /** @ignore */
135
+ readonly RegisterAiAgent: "raa";
136
+ readonly RegisterPanel: "rp";
137
+ readonly RegisterUnfurl: "ru";
138
+ readonly ReloadExtension: "r";
139
+ readonly SendAsyncOAuthRequest: "aoauth";
140
+ readonly SendOAuthRequest: "oauth";
141
+ readonly SendPermanentTokenRequest: "perm";
142
+ readonly SendUIMessage: "suim";
143
+ readonly SendXHR: "xhr";
144
+ readonly SetCurrentPage: "scp";
145
+ readonly SetPackageSettings: "sps";
146
+ readonly SetProperty: "sp";
147
+ readonly SetReferenceKey: "srk";
148
+ readonly SetSelection: "ss";
149
+ readonly SetShapeData: "ssd";
150
+ readonly SetText: "st";
151
+ readonly SetTextStyle: "sts";
152
+ readonly ShowModal: "sm";
153
+ readonly ShowPackageSettingsModal: "spsm";
154
+ readonly ShowPanel: "spn";
155
+ readonly SleepForTestCase: "sleep";
156
+ readonly StartDragBlockToCanvas: "sdc";
157
+ readonly StartPDFUploadRequest: "pdf";
158
+ readonly ThrowForTestCase: "throw";
159
+ readonly TriggerAuthFlow: "tauth";
160
+ readonly UnhookAllChanges: "uac";
161
+ readonly UnhookCreateItems: "uci";
162
+ readonly UnhookDeleteItems: "udi";
163
+ readonly UnhookSelection: "us";
164
+ readonly UnhookTextEdit: "ute";
165
+ readonly UpdateCardIntegrationConfig: "ucic";
166
+ readonly WithMutex: "wm";
167
+ readonly WithSilentActions: "wsa";
168
+ readonly ZOrder: "z";
169
+ };
170
+ export type CommandName = (typeof CommandName)[keyof typeof CommandName];
168
171
  /** @ignore */
169
172
  export declare const commandTitles: Map<CommandName, string>;
170
173
  /**
@@ -252,8 +255,8 @@ export type CommandArgs = {
252
255
  result: CancelDragBlockToCanvasResult;
253
256
  };
254
257
  [CommandName.CheckUserFlagAssignment]: {
255
- query: CheckUserFlagAssignmentQuery;
256
- result: CheckUserFlagAssignmentResult;
258
+ query: CheckUserFeatureFlagAssignmentQuery;
259
+ result: CheckUserFeatureFlagAssignmentResult;
257
260
  };
258
261
  [CommandName.Confirm]: {
259
262
  query: ConfirmQuery;
@@ -591,6 +594,11 @@ export type CommandArgs = {
591
594
  query: PromptQuery;
592
595
  result: PromptResult;
593
596
  };
597
+ /** @ignore */
598
+ [CommandName.RegisterAiAgent]: {
599
+ query: RegisterAiAgentQuery;
600
+ result: RegisterAiAgentResult;
601
+ };
594
602
  [CommandName.RegisterPanel]: {
595
603
  query: RegisterPanelQuery;
596
604
  result: RegisterPanelResult;
@@ -725,9 +733,10 @@ export type CommandArgs = {
725
733
  };
726
734
  };
727
735
  export type AuthorizationFlowHandlerProvider = string;
728
- export declare enum AuthorizationFlowHandlerStage {
729
- OnFailure = "onFailure"
730
- }
736
+ export declare const AuthorizationFlowHandlerStage: {
737
+ readonly OnFailure: "onFailure";
738
+ };
739
+ export type AuthorizationFlowHandlerStage = (typeof AuthorizationFlowHandlerStage)[keyof typeof AuthorizationFlowHandlerStage];
731
740
  export type AddAuthorizationFlowHandlerQuery = {
732
741
  /**
733
742
  * Specifies the callback function to run when the handler is triggered.
@@ -746,6 +755,76 @@ export type AddCardsActions = {
746
755
  /** Create card action */
747
756
  'cc': string;
748
757
  };
758
+ export type DependencyMappingSettings = {
759
+ /** Whether to enable dependency mapping for this integration */
760
+ 'sdm'?: boolean;
761
+ /**
762
+ * Import dependencies action
763
+ * Inconsistent naming convention, to avoid calling this "ID"
764
+ */
765
+ 'idep'?: string | undefined;
766
+ /**
767
+ * If specified, the text phrases to show in the dependency mapping UI.
768
+ * If not specified, dependency mapping for this integration uses the default fallback phrases.
769
+ */
770
+ 'dmp'?: {
771
+ /** Entrypoint text */
772
+ 'ep'?: string;
773
+ /**
774
+ * Text for on-card badge for dependency mapping
775
+ * String, not a function itself; this is the name of the client's registered action hook
776
+ */
777
+ 'cl'?: string;
778
+ /** Text for the dependency manager */
779
+ 'm'?: {
780
+ /** Header */
781
+ 'h'?: string;
782
+ /** All links label */
783
+ 'all'?: string;
784
+ /** Show all links button text */
785
+ 'salb'?: string;
786
+ /** Hide all links button text */
787
+ 'halb'?: string;
788
+ /** Show all links tooltip text (when disabled) */
789
+ 'dsalt'?: string;
790
+ /** Hide all links tooltip text (when disabled) */
791
+ 'dhalt'?: string;
792
+ /** Text for various empty states */
793
+ 'es'?: {
794
+ /** Create link instruction text */
795
+ 'cli'?: string;
796
+ /** Instructional text when no items are selected */
797
+ 'nssi'?: string;
798
+ /** Heading text when no items are selected */
799
+ 'nssh'?: string;
800
+ /**
801
+ * Heading text when selected item has no links
802
+ * String, not a function itself; this is the name of the client's registered action hook
803
+ */
804
+ 'ndh'?: string;
805
+ /** Text when multiple items are selected and have no links */
806
+ 'mikwnl'?: string;
807
+ };
808
+ };
809
+ /** Text for editing a dependency */
810
+ 'ed'?: {
811
+ 'ch'?: string;
812
+ 'cnlo'?: string;
813
+ 'dh'?: string;
814
+ 'dd'?: string;
815
+ 'dab'?: string;
816
+ /**
817
+ * Selected issue heading
818
+ * String, not a function itself; this is the name of the client's registered action hook
819
+ */
820
+ 'sih'?: string;
821
+ };
822
+ /**
823
+ * Item label phrase
824
+ */
825
+ 'ilp'?: string;
826
+ } | undefined;
827
+ };
749
828
  export type AutoSyncSettings = {
750
829
  /** Phrases */
751
830
  'p'?: {
@@ -765,6 +844,14 @@ export type AutoSyncSettings = {
765
844
  'gsf': string;
766
845
  'sqs'?: string | undefined;
767
846
  'syqs'?: string | undefined;
847
+ /** If specified, setup fields that allow user to create query template that auto applies to dynamic tables when created*/
848
+ 'dpf'?: {
849
+ /** Get search fields action */
850
+ 'gsf': string;
851
+ /** Generate preset value action */
852
+ 'gpv': string;
853
+ } | undefined;
854
+ 'cftqs'?: string | undefined;
768
855
  };
769
856
  export type SerializedFieldConfiguration = {
770
857
  /** Callback to get field definitions for all fields supported by the card integration */
@@ -773,6 +860,8 @@ export type SerializedFieldConfiguration = {
773
860
  'osfc'?: string | undefined;
774
861
  /** Field name -> callback name tuples for searching for legal field values in an enum */
775
862
  'fvsc'?: [string, string][] | undefined;
863
+ /** Field name -> callback name tuples for some function that should be called before the field value is updated */
864
+ 'fttic'?: [string, string][] | undefined;
776
865
  /** Field type -> callback name tuples for searching for legal field values in an enum */
777
866
  'ftvsc'?: [string, string][] | undefined;
778
867
  /** Default search callback for searching for legal field values in an enum */
@@ -823,6 +912,8 @@ export type AddCardIntegrationQuery = {
823
912
  'mmw'?: number | undefined;
824
913
  /** Use Isolated Search Bar */
825
914
  'uisbui'?: boolean;
915
+ /** Use Updated Filter UI */
916
+ 'uufui'?: boolean;
826
917
  /** Get search fields action */
827
918
  'gsf': string;
828
919
  /** Search action */
@@ -840,13 +931,6 @@ export type AddCardIntegrationQuery = {
840
931
  'ac'?: AddCardsActions | undefined;
841
932
  /** If specified, auto sync settings */
842
933
  'as'?: AutoSyncSettings | undefined;
843
- /** Whether to enable dependency mapping for this integration */
844
- 'sdm'?: boolean;
845
- /**
846
- * Import dependencies action
847
- * Inconsistent naming convention, to avoid calling this "ID"
848
- */
849
- 'idep'?: string | undefined;
850
934
  /** Icons to display throughout the card integration */
851
935
  'icu'?: {
852
936
  /** Primary Icon Url */
@@ -866,67 +950,6 @@ export type AddCardIntegrationQuery = {
866
950
  * Banner action callback, to handle action button clicks in import error banners
867
951
  */
868
952
  'bac'?: string | undefined;
869
- /**
870
- * If specified, the text phrases to show in the dependency mapping UI.
871
- * If not specified, dependency mapping for this integration uses the default fallback phrases.
872
- */
873
- 'dmp'?: {
874
- /** Entrypoint text */
875
- 'ep'?: string;
876
- /**
877
- * Text for on-card badge for dependency mapping
878
- * String, not a function itself; this is the name of the client's registered action hook
879
- */
880
- 'cl'?: string;
881
- /** Text for the dependency manager */
882
- 'm'?: {
883
- /** Header */
884
- 'h'?: string;
885
- /** All links label */
886
- 'all'?: string;
887
- /** Show all links button text */
888
- 'salb'?: string;
889
- /** Hide all links button text */
890
- 'halb'?: string;
891
- /** Show all links tooltip text (when disabled) */
892
- 'dsalt'?: string;
893
- /** Hide all links tooltip text (when disabled) */
894
- 'dhalt'?: string;
895
- /** Text for various empty states */
896
- 'es'?: {
897
- /** Create link instruction text */
898
- 'cli'?: string;
899
- /** Instructional text when no items are selected */
900
- 'nssi'?: string;
901
- /** Heading text when no items are selected */
902
- 'nssh'?: string;
903
- /**
904
- * Heading text when selected item has no links
905
- * String, not a function itself; this is the name of the client's registered action hook
906
- */
907
- 'ndh'?: string;
908
- /** Text when multiple items are selected and have no links */
909
- 'mikwnl'?: string;
910
- };
911
- };
912
- /** Text for editing a dependency */
913
- 'ed'?: {
914
- 'ch'?: string;
915
- 'cnlo'?: string;
916
- 'dh'?: string;
917
- 'dd'?: string;
918
- 'dab'?: string;
919
- /**
920
- * Selected issue heading
921
- * String, not a function itself; this is the name of the client's registered action hook
922
- */
923
- 'sih'?: string;
924
- };
925
- /**
926
- * Item label phrase
927
- */
928
- 'ilp'?: string;
929
- } | undefined;
930
953
  /**
931
954
  * If provided, this data is used to turn links pasted on the canvas that match the domain(s) into primary keys and
932
955
  * other helpful data, which are sent back to the extension as an import action.
@@ -942,7 +965,16 @@ export type AddCardIntegrationQuery = {
942
965
  'cei'?: string | undefined;
943
966
  /** getAdditionalPanelTabsForCard -- Cards' additional details via tabs in panel */
944
967
  'gaptfc'?: string | undefined;
945
- };
968
+ /** Instance switching configuration */
969
+ 'is'?: {
970
+ /** Get instances action */
971
+ 'gi': string;
972
+ /** On instance change action */
973
+ 'oic': string;
974
+ /** Get selected instance ID action */
975
+ 'gsii': string;
976
+ } | undefined;
977
+ } & DependencyMappingSettings;
946
978
  export type AddCardIntegrationResult = undefined;
947
979
  export type AddLineTextAreaQuery = {
948
980
  /** Which line */
@@ -1080,6 +1112,7 @@ export type AddSpreadsheetIntegrationQuery = {
1080
1112
  'ac'?: AddCardsActions | undefined;
1081
1113
  /** fieldConfiguration */
1082
1114
  'fc'?: Partial<SerializedFieldConfiguration>;
1115
+ 'dm'?: DependencyMappingSettings | undefined;
1083
1116
  };
1084
1117
  /** @ignore until spreadsheet integration is ready for launch (CHART-51946) */
1085
1118
  export type AddSpreadsheetIntegrationResult = undefined;
@@ -1151,10 +1184,11 @@ export type BootstrapQuery = {
1151
1184
  'm'?: boolean | undefined;
1152
1185
  };
1153
1186
  export type BootstrapResult = Promise<void>;
1154
- export declare enum HashAlgorithmEnum {
1187
+ export declare const HashAlgorithmEnum: {
1155
1188
  /** Use the SHA 256 hashing algorithm */
1156
- sha256 = "SHA256"
1157
- }
1189
+ readonly sha256: "SHA256";
1190
+ };
1191
+ export type HashAlgorithmEnum = (typeof HashAlgorithmEnum)[keyof typeof HashAlgorithmEnum];
1158
1192
  export type CalculateHashQuery = {
1159
1193
  'a': HashAlgorithmEnum;
1160
1194
  's': string;
@@ -1456,16 +1490,17 @@ export type GetDeveloperModeStatusQuery = void;
1456
1490
  export type GetDeveloperModeStatusResult = boolean;
1457
1491
  export type GetDocumentAccessPermissionQuery = void;
1458
1492
  export type GetDocumentAccessPermissionResult = DocumentAccessPermission;
1459
- export declare enum GetDocumentChunksType {
1493
+ export declare const GetDocumentChunksType: {
1460
1494
  /**
1461
1495
  * Breaks up a document into chunks geographically
1462
1496
  */
1463
- Geographic = 0,
1497
+ readonly Geographic: 0;
1464
1498
  /**
1465
1499
  * Breaks up a document into chunks by finding containing blocks
1466
1500
  */
1467
- Container = 1
1468
- }
1501
+ readonly Container: 1;
1502
+ };
1503
+ export type GetDocumentChunksType = (typeof GetDocumentChunksType)[keyof typeof GetDocumentChunksType];
1469
1504
  export type GetDocumentChunksQuery = {
1470
1505
  't': GetDocumentChunksType[];
1471
1506
  };
@@ -1483,11 +1518,12 @@ export type GetDocumentIdQuery = void;
1483
1518
  export type GetDocumentIdResult = string;
1484
1519
  export type GetItemPageIdQuery = string;
1485
1520
  export type GetItemPageIdResult = string;
1486
- export declare enum GetItemsAtSearchType {
1487
- PossiblyOverlapping = 0,
1488
- Overlapping = 1,
1489
- Contained = 2
1490
- }
1521
+ export declare const GetItemsAtSearchType: {
1522
+ readonly PossiblyOverlapping: 0;
1523
+ readonly Overlapping: 1;
1524
+ readonly Contained: 2;
1525
+ };
1526
+ export type GetItemsAtSearchType = (typeof GetItemsAtSearchType)[keyof typeof GetItemsAtSearchType];
1491
1527
  export type GetItemsAtQuery = {
1492
1528
  /** Page ID to search */
1493
1529
  'p': string;
@@ -1498,21 +1534,22 @@ export type GetItemsAtQuery = {
1498
1534
  };
1499
1535
  /** IDs of the items found */
1500
1536
  export type GetItemsAtResult = string[];
1501
- export declare enum GetLLMContextType {
1537
+ export declare const GetLLMContextType: {
1502
1538
  /** Get context in a format for LLMs where relationships among connected and
1503
1539
  * contained items are preserved. Expand the scope of the selection to
1504
1540
  * include blocks contained by the selection as well as lines connecting
1505
1541
  * items in the selection. */
1506
- Relational = 1,
1542
+ readonly Relational: 1;
1507
1543
  /** Get context containing only plain text displayed on the given items, more suitable for embeddings */
1508
- PlainText = 2,
1544
+ readonly PlainText: 2;
1509
1545
  /** Get context in a format for LLMs where relationships among connected and
1510
1546
  * contained items are preserved. Do not expand the scope of the selection,
1511
1547
  * other than to ensure relationships are represented. Text on selected
1512
1548
  * items will be included, but text on automatically added items will not.
1513
1549
  * */
1514
- RelationalWithoutExpansion = 3
1515
- }
1550
+ readonly RelationalWithoutExpansion: 3;
1551
+ };
1552
+ export type GetLLMContextType = (typeof GetLLMContextType)[keyof typeof GetLLMContextType];
1516
1553
  export type GetLLMContextFromItemsQuery = {
1517
1554
  /** Page ID to find closely-related items */
1518
1555
  'p': string;
@@ -1727,11 +1764,12 @@ export type MeasureTextResult = {
1727
1764
  /** Text area height */
1728
1765
  'h': number;
1729
1766
  };
1730
- export declare enum MermaidDiagramType {
1731
- FLOWCHART = "flowchart",
1732
- CLASS_DIAGRAM = "class_diagram",
1733
- ERD = "erd"
1734
- }
1767
+ export declare const MermaidDiagramType: {
1768
+ readonly FLOWCHART: "flowchart";
1769
+ readonly CLASS_DIAGRAM: "class_diagram";
1770
+ readonly ERD: "erd";
1771
+ };
1772
+ export type MermaidDiagramType = (typeof MermaidDiagramType)[keyof typeof MermaidDiagramType];
1735
1773
  export type AddDiagramFromMermaidQuery = {
1736
1774
  /** Type of diagram as an enum, e.g., flowchart. */
1737
1775
  't': MermaidDiagramType;
@@ -2058,12 +2096,13 @@ export type WithSilentActionsQuery = {
2058
2096
  'a': string;
2059
2097
  };
2060
2098
  export type WithSilentActionsResult = void;
2061
- export declare enum ZOrderOperation {
2062
- UP = 1,
2063
- TOP = 2,
2064
- DOWN = 3,
2065
- BOTTOM = 4
2066
- }
2099
+ export declare const ZOrderOperation: {
2100
+ readonly UP: 1;
2101
+ readonly TOP: 2;
2102
+ readonly DOWN: 3;
2103
+ readonly BOTTOM: 4;
2104
+ };
2105
+ export type ZOrderOperation = (typeof ZOrderOperation)[keyof typeof ZOrderOperation];
2067
2106
  export type ZOrderQuery = {
2068
2107
  /** IDs of the items to adjust Z order */
2069
2108
  'i': string[];
@@ -2071,9 +2110,47 @@ export type ZOrderQuery = {
2071
2110
  'o': ZOrderOperation;
2072
2111
  };
2073
2112
  export type ZOrderResult = undefined;
2074
- export type CheckUserFlagAssignmentQuery = {
2113
+ export type CheckUserFeatureFlagAssignmentQuery = {
2075
2114
  /** The name of the flag that will be checked */
2076
2115
  'f': string;
2077
2116
  };
2078
- export type CheckUserFlagAssignmentResult = boolean;
2117
+ export type CheckUserFeatureFlagAssignmentResult = boolean;
2118
+ /**
2119
+ * @ignore
2120
+ * Definition of a custom tool that an extension can register with an AI agent.
2121
+ */
2122
+ export type ExtensionToolDefinition = {
2123
+ /** Unique name for this tool within the extension */
2124
+ 'n': string;
2125
+ /** Full description with usage instructions for the LLM */
2126
+ 'd': string;
2127
+ /** Named action to invoke when the tool is called */
2128
+ 'a': string;
2129
+ };
2130
+ /**
2131
+ * @ignore
2132
+ * Query to register an AI agent from an extension.
2133
+ */
2134
+ export type RegisterAiAgentQuery = {
2135
+ /** Agent name (unique identifier within the extension) */
2136
+ 'n': string;
2137
+ /** High-level overview of this agent for other agents/planning (1-2 sentences) */
2138
+ 'ab': string;
2139
+ /** Built-in tool names this agent can access (subset of AiToolName values) */
2140
+ 'bt'?: string[] | undefined;
2141
+ /** Custom tools defined by this extension */
2142
+ 'ct': ExtensionToolDefinition[];
2143
+ /** System prompt for the agent */
2144
+ 'sp': string;
2145
+ };
2146
+ /**
2147
+ * @ignore
2148
+ * Result of registering an AI agent.
2149
+ */
2150
+ export type RegisterAiAgentResult = {
2151
+ /** Whether registration succeeded */
2152
+ 's': boolean;
2153
+ /** Error message if registration failed */
2154
+ 'e'?: string;
2155
+ };
2079
2156
  export {};