@uniformdev/mesh-sdk 20.72.3-alpha.8 → 20.72.4-alpha.11

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/index.d.mts CHANGED
@@ -1815,6 +1815,28 @@ declare const CSRF_HEADER_NAME = "x-mesh-csrf";
1815
1815
  */
1816
1816
  declare const CSRF_HEADER_VALUE = "1";
1817
1817
 
1818
+ /**
1819
+ * BFF 401 body `code` when the delegation session is missing or the access token
1820
+ * is expired. Clients re-exchange the Mesh session token and retry once.
1821
+ * Do not use for other 401s.
1822
+ *
1823
+ * @deprecated This beta identity delegation API may change with breaking changes.
1824
+ */
1825
+ declare const DELEGATION_EXPIRED_CODE: "delegation_expired";
1826
+ /**
1827
+ * Human-readable message to pair with {@link DELEGATION_EXPIRED_CODE}.
1828
+ *
1829
+ * @deprecated This beta identity delegation API may change with breaking changes.
1830
+ */
1831
+ declare const DELEGATION_SESSION_EXPIRED_MESSAGE: "Delegation session expired.";
1832
+ /**
1833
+ * Uniform API 401 message for an invalid/expired bearer token. BFFs can map this
1834
+ * to {@link DELEGATION_EXPIRED_CODE} so clients re-exchange.
1835
+ *
1836
+ * @deprecated This beta identity delegation API may change with breaking changes.
1837
+ */
1838
+ declare const UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE: "Bearer token not valid or expired";
1839
+
1818
1840
  /** @deprecated experimental */
1819
1841
  type FunctionCallResponse = {
1820
1842
  message: string;
@@ -2912,4 +2934,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
2912
2934
  */
2913
2935
  declare const hasRole: (role: string, user: UniformUser) => boolean;
2914
2936
 
2915
- export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, CSRF_HEADER_NAME, CSRF_HEADER_VALUE, type CSSHeight, type CanvasEditorContextMetadata, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type ConnectToParentResult, type DashboardToolLocation, type DashboardToolLocationMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataResourceSelectorLocation, type DataResourceSelectorLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DeleteNodeOptions, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type EditorComponentInstance, type EditorComponentParameter, type EditorExportOptions, type EditorNode, type EditorNodeChildren, type EditorNodeParentInfo, type EditorRootMetadata, type EditorRootNodeMetadata, type EditorStateApi, type EmbeddedEditorLocation, type EmbeddedEditorLocationMetadata, type EmbeddedEditorLocationSetValue, type EmbeddedEditorLocationValue, type FunctionCallResponse, type FunctionCallSystemParameter, type GetDataResourceLocation, type GetDataResourceMessage, type GetEditorStateLocation, type GetEditorStateLocationMaybe, type InsertNodeOptions, type InsertPatternOptions, type IntegrationCredentialRevokeParameters, type IntegrationCredentialRotateParameters, type IntegrationCredentialRotateResponse, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshParentConnection, type MeshRouter, type MeshSDKEventInterface, type MoveNodeOptions, type NavigateMessage, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PersonalizationCriteriaLocation, type PersonalizationCriteriaLocationMetadata, type ProjectToolLocation, type ProjectToolLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetPropertyLocalizabilityCommonParams, type SetPropertyLocalizabilityParams, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type UpdateNodePropertyOptions, type UpdateRootNodeOptions, type ValidationResult, functionCallSystemParameters, hasPermissions, hasRole, initializeUniformMeshSDK, parseFunctionCall };
2937
+ export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, CSRF_HEADER_NAME, CSRF_HEADER_VALUE, type CSSHeight, type CanvasEditorContextMetadata, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type ConnectToParentResult, DELEGATION_EXPIRED_CODE, DELEGATION_SESSION_EXPIRED_MESSAGE, type DashboardToolLocation, type DashboardToolLocationMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataResourceSelectorLocation, type DataResourceSelectorLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DeleteNodeOptions, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type EditorComponentInstance, type EditorComponentParameter, type EditorExportOptions, type EditorNode, type EditorNodeChildren, type EditorNodeParentInfo, type EditorRootMetadata, type EditorRootNodeMetadata, type EditorStateApi, type EmbeddedEditorLocation, type EmbeddedEditorLocationMetadata, type EmbeddedEditorLocationSetValue, type EmbeddedEditorLocationValue, type FunctionCallResponse, type FunctionCallSystemParameter, type GetDataResourceLocation, type GetDataResourceMessage, type GetEditorStateLocation, type GetEditorStateLocationMaybe, type InsertNodeOptions, type InsertPatternOptions, type IntegrationCredentialRevokeParameters, type IntegrationCredentialRotateParameters, type IntegrationCredentialRotateResponse, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshParentConnection, type MeshRouter, type MeshSDKEventInterface, type MoveNodeOptions, type NavigateMessage, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PersonalizationCriteriaLocation, type PersonalizationCriteriaLocationMetadata, type ProjectToolLocation, type ProjectToolLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetPropertyLocalizabilityCommonParams, type SetPropertyLocalizabilityParams, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type UpdateNodePropertyOptions, type UpdateRootNodeOptions, type ValidationResult, functionCallSystemParameters, hasPermissions, hasRole, initializeUniformMeshSDK, parseFunctionCall };
package/dist/index.d.ts CHANGED
@@ -1815,6 +1815,28 @@ declare const CSRF_HEADER_NAME = "x-mesh-csrf";
1815
1815
  */
1816
1816
  declare const CSRF_HEADER_VALUE = "1";
1817
1817
 
1818
+ /**
1819
+ * BFF 401 body `code` when the delegation session is missing or the access token
1820
+ * is expired. Clients re-exchange the Mesh session token and retry once.
1821
+ * Do not use for other 401s.
1822
+ *
1823
+ * @deprecated This beta identity delegation API may change with breaking changes.
1824
+ */
1825
+ declare const DELEGATION_EXPIRED_CODE: "delegation_expired";
1826
+ /**
1827
+ * Human-readable message to pair with {@link DELEGATION_EXPIRED_CODE}.
1828
+ *
1829
+ * @deprecated This beta identity delegation API may change with breaking changes.
1830
+ */
1831
+ declare const DELEGATION_SESSION_EXPIRED_MESSAGE: "Delegation session expired.";
1832
+ /**
1833
+ * Uniform API 401 message for an invalid/expired bearer token. BFFs can map this
1834
+ * to {@link DELEGATION_EXPIRED_CODE} so clients re-exchange.
1835
+ *
1836
+ * @deprecated This beta identity delegation API may change with breaking changes.
1837
+ */
1838
+ declare const UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE: "Bearer token not valid or expired";
1839
+
1818
1840
  /** @deprecated experimental */
1819
1841
  type FunctionCallResponse = {
1820
1842
  message: string;
@@ -2912,4 +2934,4 @@ declare const hasPermissions: (permissions: MeshLocationUserPermissions | MeshLo
2912
2934
  */
2913
2935
  declare const hasRole: (role: string, user: UniformUser) => boolean;
2914
2936
 
2915
- export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, CSRF_HEADER_NAME, CSRF_HEADER_VALUE, type CSSHeight, type CanvasEditorContextMetadata, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type ConnectToParentResult, type DashboardToolLocation, type DashboardToolLocationMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataResourceSelectorLocation, type DataResourceSelectorLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DeleteNodeOptions, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type EditorComponentInstance, type EditorComponentParameter, type EditorExportOptions, type EditorNode, type EditorNodeChildren, type EditorNodeParentInfo, type EditorRootMetadata, type EditorRootNodeMetadata, type EditorStateApi, type EmbeddedEditorLocation, type EmbeddedEditorLocationMetadata, type EmbeddedEditorLocationSetValue, type EmbeddedEditorLocationValue, type FunctionCallResponse, type FunctionCallSystemParameter, type GetDataResourceLocation, type GetDataResourceMessage, type GetEditorStateLocation, type GetEditorStateLocationMaybe, type InsertNodeOptions, type InsertPatternOptions, type IntegrationCredentialRevokeParameters, type IntegrationCredentialRotateParameters, type IntegrationCredentialRotateResponse, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshParentConnection, type MeshRouter, type MeshSDKEventInterface, type MoveNodeOptions, type NavigateMessage, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PersonalizationCriteriaLocation, type PersonalizationCriteriaLocationMetadata, type ProjectToolLocation, type ProjectToolLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetPropertyLocalizabilityCommonParams, type SetPropertyLocalizabilityParams, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type UpdateNodePropertyOptions, type UpdateRootNodeOptions, type ValidationResult, functionCallSystemParameters, hasPermissions, hasRole, initializeUniformMeshSDK, parseFunctionCall };
2937
+ export { type AIGenerateLocation, type AIGenerateLocationMetadata, type AIPromptMetadataLocation, type AssetLibraryLocation, type AssetLibraryLocationMetadata, type AssetParameterLocation, type AssetParameterLocationMetadata, type BindableTypes, CSRF_HEADER_NAME, CSRF_HEADER_VALUE, type CSSHeight, type CanvasEditorContextMetadata, type CanvasEditorEntityType, type CanvasEditorToolsData, type CanvasEditorToolsLocation, type CanvasEditorToolsLocationMetadata, type CloseDialogMessage, type CloseLocationDialogOptions, type CommonMetadata, type ConnectToParentResult, DELEGATION_EXPIRED_CODE, DELEGATION_SESSION_EXPIRED_MESSAGE, type DashboardToolLocation, type DashboardToolLocationMetadata, type DataConnectorInfo, type DataResourceLocation, type DataResourceLocationMetadata, type DataResourceSelectorLocation, type DataResourceSelectorLocationMetadata, type DataSourceLocation, type DataSourceLocationMetadata, type DataSourceLocationValue, type DataTypeLocation, type DataTypeLocationMetadata, type DataTypeLocationValue, type DeleteNodeOptions, type DialogContext, type DialogOptions, type DialogParamValue, type DialogParams, type DialogResponseData, type DialogResponseHandler, type DialogResponseHandlers, type DialogType, type DynamicInput, type DynamicInputs, type EditConnectedDataMessage, type EditConnectedDataResponse, type EditConnectedDataResponseCancellationContext, type EditorComponentInstance, type EditorComponentParameter, type EditorExportOptions, type EditorNode, type EditorNodeChildren, type EditorNodeParentInfo, type EditorRootMetadata, type EditorRootNodeMetadata, type EditorStateApi, type EmbeddedEditorLocation, type EmbeddedEditorLocationMetadata, type EmbeddedEditorLocationSetValue, type EmbeddedEditorLocationValue, type FunctionCallResponse, type FunctionCallSystemParameter, type GetDataResourceLocation, type GetDataResourceMessage, type GetEditorStateLocation, type GetEditorStateLocationMaybe, type InsertNodeOptions, type InsertPatternOptions, type IntegrationCredentialRevokeParameters, type IntegrationCredentialRotateParameters, type IntegrationCredentialRotateResponse, IntegrationDefinitionClient, type IntegrationDefinitionDeleteParameters, type IntegrationDefinitionGetParameters, type IntegrationDefinitionGetResponse, type IntegrationDefinitionPutParameters, type IntegrationDefinitionPutResponse, IntegrationInstallationClient, type IntegrationInstallationDeleteParameters, type IntegrationInstallationGetParameters, type IntegrationInstallationGetResponse, type IntegrationInstallationPutParameters, type LocationDialogResponse, type MeshContextData, type MeshLocation, type MeshLocationCore, type MeshLocationTypes, type MeshLocationUserPermissions, type MeshParentConnection, type MeshRouter, type MeshSDKEventInterface, type MoveNodeOptions, type NavigateMessage, type OpenConfirmationDialogOptions, type OpenConfirmationDialogResult, type OpenDialogMessage, type OpenDialogResult, type OpenLocationDialogOptions, type ParamTypeConfigLocation, type ParamTypeConfigLocationMetadata, type ParamTypeLocation, type ParamTypeLocationMetadata, type PersonalizationCriteriaLocation, type PersonalizationCriteriaLocationMetadata, type ProjectToolLocation, type ProjectToolLocationMetadata, type PromptSettingsLocationMetadata, type SdkWindow, type SetLocationFunction, type SetPropertyLocalizabilityCommonParams, type SetPropertyLocalizabilityParams, type SetValueMessage, type SetValueOptions, type SettingsLocation, type SettingsLocationMetadata, UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE, type UniformMeshSDK, type UniformMeshSDKEvents, type UniformUser, type UpdateNodePropertyOptions, type UpdateRootNodeOptions, type ValidationResult, functionCallSystemParameters, hasPermissions, hasRole, initializeUniformMeshSDK, parseFunctionCall };
package/dist/index.esm.js CHANGED
@@ -118,6 +118,11 @@ var IntegrationInstallationClient = _IntegrationInstallationClient;
118
118
  var CSRF_HEADER_NAME = "x-mesh-csrf";
119
119
  var CSRF_HEADER_VALUE = "1";
120
120
 
121
+ // src/delegation/delegationExpired.ts
122
+ var DELEGATION_EXPIRED_CODE = "delegation_expired";
123
+ var DELEGATION_SESSION_EXPIRED_MESSAGE = "Delegation session expired.";
124
+ var UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE = "Bearer token not valid or expired";
125
+
121
126
  // src/locations/aiAgents.ts
122
127
  var functionCallSystemParameters = ["pageHtml"];
123
128
  function parseFunctionCall(request) {
@@ -163,7 +168,7 @@ var getLogger = (prefix, debug) => {
163
168
  };
164
169
 
165
170
  // src/temp/version.ts
166
- var UNIFORM_MESH_SDK_VERSION = "20.72.2";
171
+ var UNIFORM_MESH_SDK_VERSION = "20.72.3";
167
172
 
168
173
  // src/framepost/constants.ts
169
174
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
@@ -987,8 +992,11 @@ var hasRole = (role, user) => {
987
992
  export {
988
993
  CSRF_HEADER_NAME,
989
994
  CSRF_HEADER_VALUE,
995
+ DELEGATION_EXPIRED_CODE,
996
+ DELEGATION_SESSION_EXPIRED_MESSAGE,
990
997
  IntegrationDefinitionClient,
991
998
  IntegrationInstallationClient,
999
+ UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE,
992
1000
  functionCallSystemParameters,
993
1001
  hasPermissions,
994
1002
  hasRole,
package/dist/index.js CHANGED
@@ -39,8 +39,11 @@ var index_exports = {};
39
39
  __export(index_exports, {
40
40
  CSRF_HEADER_NAME: () => CSRF_HEADER_NAME,
41
41
  CSRF_HEADER_VALUE: () => CSRF_HEADER_VALUE,
42
+ DELEGATION_EXPIRED_CODE: () => DELEGATION_EXPIRED_CODE,
43
+ DELEGATION_SESSION_EXPIRED_MESSAGE: () => DELEGATION_SESSION_EXPIRED_MESSAGE,
42
44
  IntegrationDefinitionClient: () => IntegrationDefinitionClient,
43
45
  IntegrationInstallationClient: () => IntegrationInstallationClient,
46
+ UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE: () => UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE,
44
47
  functionCallSystemParameters: () => functionCallSystemParameters,
45
48
  hasPermissions: () => hasPermissions,
46
49
  hasRole: () => hasRole,
@@ -162,6 +165,11 @@ var IntegrationInstallationClient = _IntegrationInstallationClient;
162
165
  var CSRF_HEADER_NAME = "x-mesh-csrf";
163
166
  var CSRF_HEADER_VALUE = "1";
164
167
 
168
+ // src/delegation/delegationExpired.ts
169
+ var DELEGATION_EXPIRED_CODE = "delegation_expired";
170
+ var DELEGATION_SESSION_EXPIRED_MESSAGE = "Delegation session expired.";
171
+ var UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE = "Bearer token not valid or expired";
172
+
165
173
  // src/locations/aiAgents.ts
166
174
  var functionCallSystemParameters = ["pageHtml"];
167
175
  function parseFunctionCall(request) {
@@ -207,7 +215,7 @@ var getLogger = (prefix, debug) => {
207
215
  };
208
216
 
209
217
  // src/temp/version.ts
210
- var UNIFORM_MESH_SDK_VERSION = "20.72.2";
218
+ var UNIFORM_MESH_SDK_VERSION = "20.72.3";
211
219
 
212
220
  // src/framepost/constants.ts
213
221
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
@@ -1032,8 +1040,11 @@ var hasRole = (role, user) => {
1032
1040
  0 && (module.exports = {
1033
1041
  CSRF_HEADER_NAME,
1034
1042
  CSRF_HEADER_VALUE,
1043
+ DELEGATION_EXPIRED_CODE,
1044
+ DELEGATION_SESSION_EXPIRED_MESSAGE,
1035
1045
  IntegrationDefinitionClient,
1036
1046
  IntegrationInstallationClient,
1047
+ UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE,
1037
1048
  functionCallSystemParameters,
1038
1049
  hasPermissions,
1039
1050
  hasRole,
package/dist/index.mjs CHANGED
@@ -118,6 +118,11 @@ var IntegrationInstallationClient = _IntegrationInstallationClient;
118
118
  var CSRF_HEADER_NAME = "x-mesh-csrf";
119
119
  var CSRF_HEADER_VALUE = "1";
120
120
 
121
+ // src/delegation/delegationExpired.ts
122
+ var DELEGATION_EXPIRED_CODE = "delegation_expired";
123
+ var DELEGATION_SESSION_EXPIRED_MESSAGE = "Delegation session expired.";
124
+ var UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE = "Bearer token not valid or expired";
125
+
121
126
  // src/locations/aiAgents.ts
122
127
  var functionCallSystemParameters = ["pageHtml"];
123
128
  function parseFunctionCall(request) {
@@ -163,7 +168,7 @@ var getLogger = (prefix, debug) => {
163
168
  };
164
169
 
165
170
  // src/temp/version.ts
166
- var UNIFORM_MESH_SDK_VERSION = "20.72.2";
171
+ var UNIFORM_MESH_SDK_VERSION = "20.72.3";
167
172
 
168
173
  // src/framepost/constants.ts
169
174
  var DEFAULT_REQUEST_TIMEOUT = 5e3;
@@ -987,8 +992,11 @@ var hasRole = (role, user) => {
987
992
  export {
988
993
  CSRF_HEADER_NAME,
989
994
  CSRF_HEADER_VALUE,
995
+ DELEGATION_EXPIRED_CODE,
996
+ DELEGATION_SESSION_EXPIRED_MESSAGE,
990
997
  IntegrationDefinitionClient,
991
998
  IntegrationInstallationClient,
999
+ UNIFORM_BEARER_TOKEN_NOT_VALID_OR_EXPIRED_MESSAGE,
992
1000
  functionCallSystemParameters,
993
1001
  hasPermissions,
994
1002
  hasRole,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/mesh-sdk",
3
- "version": "20.72.3-alpha.8+bc4cf36434",
3
+ "version": "20.72.4-alpha.11+e751b54a11",
4
4
  "description": "Uniform Mesh Framework SDK",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -51,10 +51,10 @@
51
51
  "access": "public"
52
52
  },
53
53
  "dependencies": {
54
- "@uniformdev/assets": "20.72.3-alpha.8+bc4cf36434",
55
- "@uniformdev/canvas": "20.72.3-alpha.8+bc4cf36434",
56
- "@uniformdev/context": "20.72.3-alpha.8+bc4cf36434",
57
- "@uniformdev/project-map": "20.72.3-alpha.8+bc4cf36434",
54
+ "@uniformdev/assets": "20.72.4-alpha.11+e751b54a11",
55
+ "@uniformdev/canvas": "20.72.4-alpha.11+e751b54a11",
56
+ "@uniformdev/context": "20.72.4-alpha.11+e751b54a11",
57
+ "@uniformdev/project-map": "20.72.4-alpha.11+e751b54a11",
58
58
  "cookie": "^1.1.1",
59
59
  "imagesloaded": "^5.0.0",
60
60
  "jose": "^6.2.2",
@@ -65,5 +65,5 @@
65
65
  "openai": "6.44.0",
66
66
  "tsup": "8.5.1"
67
67
  },
68
- "gitHead": "bc4cf3643488dcbc8929bbef6e554ca53de2dd37"
68
+ "gitHead": "e751b54a117bad0887d6bfb74c3ff9ccd0b21d88"
69
69
  }