@openfin/fdc3-api 38.82.69 → 38.83.71

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/out/fdc3-api.d.ts CHANGED
@@ -58,7 +58,7 @@ declare type AddedToLayoutEvent = BaseEvent_4 & {
58
58
  */
59
59
  declare type AddViewOptions = CreateViewTarget & {
60
60
  options: ViewState;
61
- targetView?: Identity_5;
61
+ targetView?: Identity_4;
62
62
  };
63
63
 
64
64
  /**
@@ -936,15 +936,15 @@ declare namespace ApplicationEvents {
936
936
  */
937
937
  declare type ApplicationEventType = EventType_3;
938
938
 
939
- declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
940
-
941
939
  /**
942
940
  * @interface
943
941
  */
944
- declare type ApplicationIdentity_2 = {
942
+ declare type ApplicationIdentity = {
945
943
  uuid: string;
946
944
  };
947
945
 
946
+ declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
947
+
948
948
  /**
949
949
  * @interface
950
950
  */
@@ -1317,12 +1317,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
1317
1317
  */
1318
1318
  declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
1319
1319
 
1320
- declare type ApplicationState = OpenFin.ApplicationState;
1321
-
1322
1320
  /**
1323
1321
  * @interface
1324
1322
  */
1325
- declare type ApplicationState_2 = {
1323
+ declare type ApplicationState = {
1326
1324
  /**
1327
1325
  * True when the application is a Platform controller
1328
1326
  */
@@ -1354,12 +1352,10 @@ declare type ApplicationType = {
1354
1352
  */
1355
1353
  declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
1356
1354
 
1357
- declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
1358
-
1359
1355
  /**
1360
1356
  * @interface
1361
1357
  */
1362
- declare type ApplicationWindowInfo_2 = {
1358
+ declare type ApplicationWindowInfo = {
1363
1359
  childWindows: Array<WindowDetail>;
1364
1360
  mainWindow: WindowDetail;
1365
1361
  /**
@@ -1638,7 +1634,7 @@ declare class Base {
1638
1634
  * Useful for debugging in the devtools console, where this will intelligently type itself based
1639
1635
  * on the context in which the devtools panel was opened.
1640
1636
  */
1641
- get me(): Identity;
1637
+ get me(): OpenFin.Identity;
1642
1638
  /**
1643
1639
  * @internal
1644
1640
  * @deprecated
@@ -1870,11 +1866,12 @@ declare type BeforeUnloadUserDecision = {
1870
1866
  /**
1871
1867
  * Array of views that will close.
1872
1868
  */
1873
- viewsToClose: Identity_5[];
1869
+ viewsToClose: Identity_4[];
1874
1870
  };
1875
1871
 
1876
1872
  /**
1877
1873
  * Generated at the beginning of a user-driven change to a window's size or position.
1874
+ *
1878
1875
  * @interface
1879
1876
  */
1880
1877
  declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
@@ -1915,31 +1912,33 @@ declare type Bounds = {
1915
1912
  * Generated after changes in a window's size and/or position.
1916
1913
  * @interface
1917
1914
  */
1918
- declare type BoundsChangedEvent = BoundsChangeEvent & {
1915
+ declare type BoundsChangedEvent = BoundsDidChangeEvent & {
1919
1916
  type: 'bounds-changed';
1920
1917
  };
1921
1918
 
1922
- /**
1923
- * A general bounds change event without event type.
1924
- * @interface
1925
- */
1926
- declare type BoundsChangeEvent = BaseEvent_5 & {
1919
+ declare type BoundsChangeEvent = BoundsEvent & {
1927
1920
  changeType: 0 | 1 | 2;
1928
- deferred: boolean;
1929
- height: number;
1930
- left: number;
1931
- top: number;
1932
- width: number;
1933
1921
  };
1934
1922
 
1935
1923
  /**
1936
1924
  * Generated during changes to a window's size and/or position.
1937
1925
  * @interface
1938
1926
  */
1939
- declare type BoundsChangingEvent = BoundsChangeEvent & {
1927
+ declare type BoundsChangingEvent = BoundsDidChangeEvent & {
1940
1928
  type: 'bounds-changing';
1941
1929
  };
1942
1930
 
1931
+ /**
1932
+ * An event that fires when a window's bounds are successfully changed.
1933
+ *
1934
+ * @interface
1935
+ */
1936
+ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1937
+ reason: 'self' | 'animation';
1938
+ };
1939
+
1940
+ declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
1941
+
1943
1942
  /**
1944
1943
  * A rule prescribing content creation in the browser.
1945
1944
  *
@@ -2997,6 +2996,18 @@ declare type ChildWindowCreatedEvent = ContentCreationRulesEvent & {
2997
2996
  childOptions: OpenFin.WindowOptions;
2998
2997
  };
2999
2998
 
2999
+ /**
3000
+ * Control behavior for Chromium policies
3001
+ *
3002
+ * @interface
3003
+ */
3004
+ declare type ChromiumPolicies = {
3005
+ /**
3006
+ * Disable AutofillAddressEnabled policy for a Window or View.
3007
+ */
3008
+ AutofillAddressEnabled?: PolicyOptions;
3009
+ };
3010
+
3000
3011
  declare interface ClassicProtocolOffer extends ProtocolPacketBase {
3001
3012
  type: 'classic';
3002
3013
  }
@@ -3045,7 +3056,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
3045
3056
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
3046
3057
  * @interface
3047
3058
  */
3048
- declare type ClientIdentity = Identity_5 & {
3059
+ declare type ClientIdentity = Identity_4 & {
3049
3060
  /**
3050
3061
  * Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
3051
3062
  */
@@ -3278,7 +3289,7 @@ declare type CloseViewOptions = {
3278
3289
  /**
3279
3290
  *View to be closed.
3280
3291
  */
3281
- viewIdentity: Identity_5;
3292
+ viewIdentity: Identity_4;
3282
3293
  };
3283
3294
 
3284
3295
  /**
@@ -3288,7 +3299,7 @@ declare type CloseViewPayload = {
3288
3299
  /**
3289
3300
  *View to be closed.
3290
3301
  */
3291
- view: Identity_5;
3302
+ view: Identity_4;
3292
3303
  /**
3293
3304
  * The target layout identity where this view should be closed. If not provided, will resolve to the
3294
3305
  * visible layout.
@@ -3306,7 +3317,7 @@ declare interface CloseWindowPayload {
3306
3317
  *
3307
3318
  * Identity of the Window
3308
3319
  */
3309
- windowId: Identity_5;
3320
+ windowId: Identity_4;
3310
3321
  options: {
3311
3322
  /**
3312
3323
  * @defaultValue false
@@ -3427,7 +3438,7 @@ declare type ConstViewOptions = {
3427
3438
  /**
3428
3439
  * The identity of the window this view should be attached to.
3429
3440
  */
3430
- target: Identity_5;
3441
+ target: Identity_4;
3431
3442
  /**
3432
3443
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3433
3444
  */
@@ -3511,6 +3522,10 @@ declare type ConstViewOptions = {
3511
3522
  */
3512
3523
  enabled: boolean;
3513
3524
  };
3525
+ /**
3526
+ * Control which options to ignore when creating a Platform View.
3527
+ */
3528
+ excludeOptions: ExcludeOptions;
3514
3529
  };
3515
3530
 
3516
3531
  /**
@@ -3652,7 +3667,7 @@ declare type ConstWindowOptions = {
3652
3667
  /**
3653
3668
  * Parent identity of a modal window. It will create a modal child window when this option is set.
3654
3669
  */
3655
- modalParentIdentity: Identity_5;
3670
+ modalParentIdentity: Identity_4;
3656
3671
  /**
3657
3672
  * The name of the window.
3658
3673
  */
@@ -3670,7 +3685,9 @@ declare type ConstWindowOptions = {
3670
3685
  */
3671
3686
  preloadScripts: PreloadScript[];
3672
3687
  /**
3673
- * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
3688
+ * String tag that attempts to group like-tagged renderers together.
3689
+ * However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
3690
+ * @remarks Will only be used if pages are on the same origin.
3674
3691
  */
3675
3692
  processAffinity: string;
3676
3693
  /**
@@ -3717,11 +3734,6 @@ declare type ConstWindowOptions = {
3717
3734
  * @deprecated - use `icon` instead.
3718
3735
  */
3719
3736
  taskbarIcon: string;
3720
- /**
3721
- * Specify a taskbar group for the window.
3722
- * _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
3723
- */
3724
- taskbarIconGroup: string;
3725
3737
  /**
3726
3738
  * @defaultValue "about:blank"
3727
3739
  *
@@ -3758,6 +3770,10 @@ declare type ConstWindowOptions = {
3758
3770
  * Controls whether an option is inherited from the parent application. The option is set as part of the window options for the parent application in either the {@link Manifest.startup_app} or {@link Manifest.platform} properties in the manifest or in {@link ApplicationOptions.mainWindowOptions} when calling {@link Application.ApplicationModule.start Application.start}. Use { [option]: false } to disable a specific [option]. All inheritable properties will be inherited by default if omitted.
3759
3771
  */
3760
3772
  inheritance?: Partial<InheritableOptions>;
3773
+ /**
3774
+ * Control which options to ignore when creating a Platform Window.
3775
+ */
3776
+ excludeOptions: ExcludeOptions;
3761
3777
  };
3762
3778
 
3763
3779
  /**
@@ -4136,13 +4152,13 @@ declare type CreateViewPayload = {
4136
4152
  * Window the view will be added to. If no target is provided, a new window will be created.
4137
4153
  */
4138
4154
  target?: CreateViewTarget;
4139
- targetView?: Identity_5;
4155
+ targetView?: Identity_4;
4140
4156
  };
4141
4157
 
4142
4158
  /**
4143
4159
  * @interface
4144
4160
  */
4145
- declare type CreateViewTarget = (Identity_5 | LayoutIdentity) & {
4161
+ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4146
4162
  /**
4147
4163
  * If specified, view creation will not attach to a window and caller must
4148
4164
  * insert the view into the layout explicitly
@@ -4588,7 +4604,7 @@ declare type EmitterAccessor = string[];
4588
4604
  declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
4589
4605
  #private;
4590
4606
  private topic;
4591
- protected identity: ApplicationIdentity;
4607
+ protected identity: OpenFin.ApplicationIdentity;
4592
4608
  constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
4593
4609
  eventNames: () => (string | symbol)[];
4594
4610
  /**
@@ -4668,20 +4684,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
4668
4684
 
4669
4685
  /**
4670
4686
  * Generated at the end of a user-driven change to a window's size or position.
4687
+ *
4671
4688
  * @interface
4672
4689
  */
4673
4690
  declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
4674
4691
  type: 'end-user-bounds-changing';
4675
4692
  };
4676
4693
 
4677
- declare type Entity = OpenFin.ApplicationType;
4678
-
4679
- declare type EntityInfo = OpenFin.EntityInfo;
4680
-
4681
4694
  /**
4682
4695
  * @interface
4683
4696
  */
4684
- declare type EntityInfo_2 = {
4697
+ declare type EntityInfo = {
4685
4698
  uuid: string;
4686
4699
  name: string;
4687
4700
  entityType: EntityType_4;
@@ -4799,7 +4812,7 @@ declare type Event_10 = ApplicationEvents.Event | ApiReadyEvent | SnapshotApplie
4799
4812
  * under the {@link OpenFin.SystemEvents} namespace (payloads inherited from propagated events are defined in the namespace
4800
4813
  * from which they propagate).
4801
4814
  */
4802
- declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>> | ExcludeRequested<ViewEvents.PropagatedEvent<'system'>> | ExcludeRequested<ApplicationEvents.PropagatedEvent<'system'>> | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleStateChangedEvent | MonitorInfoChangedEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent;
4815
+ declare type Event_11 = ExcludeRequested<WindowEvents.PropagatedEvent<'system'>> | ExcludeRequested<ViewEvents.PropagatedEvent<'system'>> | ExcludeRequested<ApplicationEvents.PropagatedEvent<'system'>> | ApplicationCreatedEvent | DesktopIconClickedEvent | IdleStateChangedEvent | MonitorInfoChangedEvent | SessionChangedEvent | AppVersionEventWithId | SystemShutdownEvent | ExtensionsEnabledEvent | ExtensionsDisabledEvent | ExtensionsExcludedEvent | ExtensionsInstalledEvent | ExtensionInstalledEvent | ExtensionsInstallFailedEvent | ExtensionInstallFailedEvent | ExtensionsInitializationFailedEvent;
4803
4816
 
4804
4817
  /**
4805
4818
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing every possible event that can be emitted by the HTMLElement Layout container.
@@ -4953,6 +4966,18 @@ declare type EventWithId<Event extends AppVersionEvent> = Event extends infer E
4953
4966
  appVersionId: string;
4954
4967
  } : never;
4955
4968
 
4969
+ /**
4970
+ * @interface
4971
+ */
4972
+ declare type ExcludeOptions = {
4973
+ /**
4974
+ * @defaultValue false
4975
+ *
4976
+ * When true, will not merge default preload scripts from {@link ApplicationOptions.defaultWindowOptions} or {@link ApplicationOptions.defaultViewOptions}.
4977
+ */
4978
+ preloadScripts: boolean;
4979
+ };
4980
+
4956
4981
  /**
4957
4982
  * @internal
4958
4983
  *
@@ -4977,6 +5002,105 @@ declare type ExitCode = {
4977
5002
  exitCode: number;
4978
5003
  };
4979
5004
 
5005
+ declare type ExtensionEvent = SecurityRealmEvent & {
5006
+ /**
5007
+ * Runtime extension whose status has been (possibly) modified
5008
+ */
5009
+ extension: string;
5010
+ };
5011
+
5012
+ /**
5013
+ * @interface
5014
+ */
5015
+ declare type ExtensionInfo = {
5016
+ extensionId: string;
5017
+ name: string;
5018
+ enabled: boolean;
5019
+ };
5020
+
5021
+ /**
5022
+ * An event that fires when an extension is installed in the security realm.
5023
+ *
5024
+ * @interface
5025
+ */
5026
+ declare type ExtensionInstalledEvent = ExtensionEvent & {
5027
+ type: 'extension-installed';
5028
+ };
5029
+
5030
+ /**
5031
+ * An event that fires when an extension fails to install in the security realm.
5032
+ *
5033
+ * @interface
5034
+ */
5035
+ declare type ExtensionInstallFailedEvent = ExtensionEvent & {
5036
+ type: 'extension-install-failed';
5037
+ };
5038
+
5039
+ /**
5040
+ * An event that fires when extensions are disabled in the security realm.
5041
+ *
5042
+ * @interface
5043
+ */
5044
+ declare type ExtensionsDisabledEvent = ExtensionsEvent & {
5045
+ type: 'extensions-disabled';
5046
+ };
5047
+
5048
+ /**
5049
+ * An event that fires when extensions are enabled in the security realm.
5050
+ *
5051
+ * @interface
5052
+ */
5053
+ declare type ExtensionsEnabledEvent = ExtensionsEvent & {
5054
+ type: 'extensions-enabled';
5055
+ };
5056
+
5057
+ declare type ExtensionsEvent = SecurityRealmEvent & {
5058
+ /**
5059
+ * Runtime extensions whose status has been (possibly) modified
5060
+ */
5061
+ extensions: string[];
5062
+ };
5063
+
5064
+ /**
5065
+ * An event that fires when requested extensions are not allowed to be installed in the security realm.
5066
+ *
5067
+ * @interface
5068
+ */
5069
+ declare type ExtensionsExcludedEvent = ExtensionsEvent & {
5070
+ type: 'extensions-excluded';
5071
+ };
5072
+
5073
+ /**
5074
+ * An event that fires when extension initialization fails on initial app launch. Users may attempt to
5075
+ * re-initialize extensions by calling {@link System.refreshExtensions}. This event will not fire in response
5076
+ * to manual extension refreshes (users should catch the error normally).
5077
+ */
5078
+ declare type ExtensionsInitializationFailedEvent = Omit<ExtensionsEvent, 'extensions'> & {
5079
+ type: 'extensions-initialization-failed';
5080
+ /**
5081
+ * The error that caused the extension initialization failure
5082
+ */
5083
+ error: Error;
5084
+ };
5085
+
5086
+ /**
5087
+ * An event that fires when extensions are installed in the security realm.
5088
+ *
5089
+ * @interface
5090
+ */
5091
+ declare type ExtensionsInstalledEvent = ExtensionsEvent & {
5092
+ type: 'extensions-installed';
5093
+ };
5094
+
5095
+ /**
5096
+ * An event that fires when extensions fail to install in the security realm.
5097
+ *
5098
+ * @interface
5099
+ */
5100
+ declare type ExtensionsInstallFailedEvent = ExtensionsEvent & {
5101
+ type: 'extensions-install-failed';
5102
+ };
5103
+
4980
5104
  /**
4981
5105
  * An ExternalApplication object representing native language adapter connections to the runtime. Allows
4982
5106
  * the developer to listen to {@link OpenFin.ExternalApplicationEvents external application events}.
@@ -5051,7 +5175,7 @@ declare type ExternalApplicationEventType = EventType_4;
5051
5175
  * @interface
5052
5176
  */
5053
5177
  declare type ExternalApplicationInfo = {
5054
- parent: Identity_5;
5178
+ parent: Identity_4;
5055
5179
  };
5056
5180
 
5057
5181
  /**
@@ -5594,6 +5718,10 @@ declare type FileDownloadEvent = {
5594
5718
  * The number of bytes of the item that have already been downloaded.
5595
5719
  */
5596
5720
  downloadedBytes: number;
5721
+ /**
5722
+ * Unique identifier for the downloaded file.
5723
+ */
5724
+ fileUuid: string;
5597
5725
  } & NamedEvent;
5598
5726
 
5599
5727
  /**
@@ -5848,7 +5976,7 @@ declare type FrameInfo = {
5848
5976
  uuid: string;
5849
5977
  url: string;
5850
5978
  entityType: EntityType_4;
5851
- parent: Identity_5;
5979
+ parent: Identity_4;
5852
5980
  };
5853
5981
 
5854
5982
  /**
@@ -5923,12 +6051,10 @@ declare type FrameProcessDetails = ProcessDetails & {
5923
6051
  entityType: string;
5924
6052
  };
5925
6053
 
5926
- declare type GetLogRequestType = OpenFin.GetLogRequestType;
5927
-
5928
6054
  /**
5929
6055
  * @interface
5930
6056
  */
5931
- declare type GetLogRequestType_2 = {
6057
+ declare type GetLogRequestType = {
5932
6058
  /**
5933
6059
  * The name of the running application
5934
6060
  */
@@ -5948,7 +6074,7 @@ declare type GetWindowContextPayload = {
5948
6074
  /**
5949
6075
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
5950
6076
  */
5951
- target: Identity_5;
6077
+ target: Identity_4;
5952
6078
  };
5953
6079
 
5954
6080
  /**
@@ -6217,8 +6343,6 @@ declare type Identity_2 = OpenFin.Identity;
6217
6343
 
6218
6344
  declare type Identity_3 = OpenFin.Identity;
6219
6345
 
6220
- declare type Identity_4 = OpenFin.Identity;
6221
-
6222
6346
  /**
6223
6347
  * Unique identifier for a window, view or iframe.
6224
6348
  *
@@ -6227,7 +6351,7 @@ declare type Identity_4 = OpenFin.Identity;
6227
6351
  *
6228
6352
  * @interface
6229
6353
  */
6230
- declare type Identity_5 = {
6354
+ declare type Identity_4 = {
6231
6355
  /**
6232
6356
  * Universally unique identifier of the application that owns the component.
6233
6357
  */
@@ -6389,12 +6513,10 @@ declare type InstallationInfo = {
6389
6513
  cachedManifest: any;
6390
6514
  };
6391
6515
 
6392
- declare type InstalledApps = OpenFin.InstalledApps;
6393
-
6394
6516
  /**
6395
6517
  * @interface
6396
6518
  */
6397
- declare type InstalledApps_2 = {
6519
+ declare type InstalledApps = {
6398
6520
  [key: string]: InstallationInfo;
6399
6521
  };
6400
6522
 
@@ -7180,7 +7302,7 @@ declare class InteropBroker extends Base {
7180
7302
  * @param _id the identity tryinc to connect
7181
7303
  * @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
7182
7304
  */
7183
- isConnectionAuthorized(_id: Identity_3, _connectionPayload?: any): Promise<boolean> | boolean;
7305
+ isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
7184
7306
  /**
7185
7307
  * Called before every action to check if this entity should be allowed to take the action.
7186
7308
  * Return false to prevent the action
@@ -8112,7 +8234,7 @@ declare class Layout extends Base {
8112
8234
  * await layout.replaceView(viewToReplace.identity, newViewConfig);
8113
8235
  * ```
8114
8236
  */
8115
- replaceView: (viewToReplace: Identity_4, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
8237
+ replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
8116
8238
  /**
8117
8239
  * Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
8118
8240
  * The preset options are `columns`, `grid`, `rows`, and `tabs`.
@@ -8167,7 +8289,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
8167
8289
  /**
8168
8290
  * The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
8169
8291
  */
8170
- declare type LayoutDOMEvent = Identity_5 & {
8292
+ declare type LayoutDOMEvent = Identity_4 & {
8171
8293
  type: string;
8172
8294
  topic: 'openfin-DOM-event';
8173
8295
  tabSelector: string;
@@ -8228,7 +8350,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
8228
8350
  /**
8229
8351
  * @interface
8230
8352
  */
8231
- declare type LayoutIdentity = Identity_5 & {
8353
+ declare type LayoutIdentity = Identity_4 & {
8232
8354
  /**
8233
8355
  * The name of the layout in a given window.
8234
8356
  */
@@ -8243,10 +8365,7 @@ declare type LayoutIdentity = Identity_5 & {
8243
8365
  declare type LayoutInitializedEvent = BaseEvent_5 & {
8244
8366
  type: 'layout-initialized';
8245
8367
  layoutIdentity: OpenFin.LayoutIdentity;
8246
- ofViews: {
8247
- identity: OpenFin.Identity;
8248
- entityType: 'view';
8249
- }[];
8368
+ ofViews: OpenFin.ViewCreationResult[];
8250
8369
  };
8251
8370
 
8252
8371
  /**
@@ -8337,7 +8456,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8337
8456
  * @param identity
8338
8457
  * @returns LayoutIdentity | undefined
8339
8458
  */
8340
- resolveLayoutIdentity(identity?: Identity_5 | LayoutIdentity): LayoutIdentity | undefined;
8459
+ resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
8341
8460
  /**
8342
8461
  * @experimental
8343
8462
  *
@@ -8354,7 +8473,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8354
8473
  /**
8355
8474
  * @experimental
8356
8475
  */
8357
- getLayoutIdentityForView(viewIdentity: Identity_5): LayoutIdentity;
8476
+ getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
8358
8477
  /**
8359
8478
  * @experimental
8360
8479
  */
@@ -8828,12 +8947,10 @@ declare type Listener<T extends {
8828
8947
  type: string;
8829
8948
  }> = (payload: T) => void;
8830
8949
 
8831
- declare type LogInfo = OpenFin.LogInfo;
8832
-
8833
8950
  /**
8834
8951
  * @interface
8835
8952
  */
8836
- declare type LogInfo_2 = {
8953
+ declare type LogInfo = {
8837
8954
  /**
8838
8955
  * The filename of the log
8839
8956
  */
@@ -8848,8 +8965,6 @@ declare type LogInfo_2 = {
8848
8965
  date: string;
8849
8966
  };
8850
8967
 
8851
- declare type LogLevel = OpenFin.LogLevel;
8852
-
8853
8968
  /**
8854
8969
  * Describes the minimum level (inclusive) above which logs will be written.
8855
8970
  *
@@ -8859,7 +8974,7 @@ declare type LogLevel = OpenFin.LogLevel;
8859
8974
  * `error` and above<br>
8860
8975
  * `fatal`: fatal only, indicates a crash is imminent
8861
8976
  */
8862
- declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8977
+ declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8863
8978
 
8864
8979
  /**
8865
8980
  * @interface
@@ -9254,6 +9369,10 @@ declare type MutableViewOptions = {
9254
9369
  * @defaultValue 'enabled'
9255
9370
  */
9256
9371
  throttling: ViewThrottling;
9372
+ /**
9373
+ * {@inheritDoc ChromiumPolicies}
9374
+ */
9375
+ chromiumPolicies: ChromiumPolicies;
9257
9376
  };
9258
9377
 
9259
9378
  /**
@@ -9494,6 +9613,12 @@ declare type MutableWindowOptions = {
9494
9613
  * Shows the window's icon in the taskbar.
9495
9614
  */
9496
9615
  showTaskbarIcon: boolean;
9616
+ /**
9617
+ * Specify a taskbar group for the window.
9618
+ * _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
9619
+ * @remarks It's only updatable when `enableJumpList` is set to false.
9620
+ */
9621
+ taskbarIconGroup: string;
9497
9622
  interop: InteropConfig;
9498
9623
  /**
9499
9624
  * @internal
@@ -9513,6 +9638,10 @@ declare type MutableWindowOptions = {
9513
9638
  * @remarks If `throttling` option is present, the `backgroundThrottling` option is completely ignored for windows.
9514
9639
  */
9515
9640
  throttling: WindowThrottling;
9641
+ /**
9642
+ * {@inheritDoc ChromiumPolicies}
9643
+ */
9644
+ chromiumPolicies: ChromiumPolicies;
9516
9645
  };
9517
9646
 
9518
9647
  declare type NackHandler = (payloadOrMessage: RuntimeErrorPayload | string) => void;
@@ -9691,13 +9820,13 @@ declare namespace OpenFin {
9691
9820
  LayoutPosition,
9692
9821
  WebContent,
9693
9822
  PlatformProvider,
9694
- ApplicationIdentity_2 as ApplicationIdentity,
9695
- Identity_5 as Identity,
9823
+ ApplicationIdentity,
9824
+ Identity_4 as Identity,
9696
9825
  ClientIdentity,
9697
9826
  ClientInfo,
9698
9827
  ClientIdentityMultiRuntime,
9699
9828
  ClientConnectionPayload,
9700
- EntityInfo_2 as EntityInfo,
9829
+ EntityInfo,
9701
9830
  EntityType_4 as EntityType,
9702
9831
  Bounds,
9703
9832
  WindowBounds,
@@ -9733,8 +9862,11 @@ declare namespace OpenFin {
9733
9862
  ViewVisibilityOptions,
9734
9863
  WindowState,
9735
9864
  AutoplayPolicyOptions,
9865
+ ExcludeOptions,
9736
9866
  ConstWindowOptions,
9737
9867
  InheritableOptions,
9868
+ PolicyOptions,
9869
+ ChromiumPolicies,
9738
9870
  MutableWindowOptions,
9739
9871
  WorkspacePlatformOptions,
9740
9872
  WebRequestHeader,
@@ -9768,6 +9900,9 @@ declare namespace OpenFin {
9768
9900
  ViewOptions,
9769
9901
  ConstViewOptions,
9770
9902
  ViewState,
9903
+ ViewCreationSuccess,
9904
+ ViewCreationFailure,
9905
+ ViewCreationResult,
9771
9906
  Certificate,
9772
9907
  HostContextChangedPayload,
9773
9908
  ApplySnapshotOptions,
@@ -9831,7 +9966,7 @@ declare namespace OpenFin {
9831
9966
  GpuInfo,
9832
9967
  OSInfo,
9833
9968
  HostSpecs,
9834
- PrinterInfo_2 as PrinterInfo,
9969
+ PrinterInfo,
9835
9970
  Dpi,
9836
9971
  Margins,
9837
9972
  PrintOptions,
@@ -9939,24 +10074,24 @@ declare namespace OpenFin {
9939
10074
  BeforeUnloadUserDecision,
9940
10075
  ViewStatuses,
9941
10076
  CloseWindowPayload,
9942
- ProxyInfo_2 as ProxyInfo,
9943
- ProxyConfig_2 as ProxyConfig,
10077
+ ProxyInfo,
10078
+ ProxyConfig,
9944
10079
  ProxySystemInfo,
9945
10080
  ChannelAction_2 as ChannelAction,
9946
10081
  ChannelMiddleware_2 as ChannelMiddleware,
9947
10082
  ErrorMiddleware_2 as ErrorMiddleware,
9948
- ApplicationState_2 as ApplicationState,
9949
- InstalledApps_2 as InstalledApps,
10083
+ ApplicationState,
10084
+ InstalledApps,
9950
10085
  InstallationInfo,
9951
- GetLogRequestType_2 as GetLogRequestType,
9952
- LogInfo_2 as LogInfo,
10086
+ GetLogRequestType,
10087
+ LogInfo,
9953
10088
  SendApplicationLogResponse,
9954
- LogLevel_2 as LogLevel,
10089
+ LogLevel,
9955
10090
  PermissionState_2 as PermissionState,
9956
- RegistryInfo_2 as RegistryInfo,
10091
+ RegistryInfo,
9957
10092
  ApplicationType,
9958
10093
  WindowInfo,
9959
- ApplicationWindowInfo_2 as ApplicationWindowInfo,
10094
+ ApplicationWindowInfo,
9960
10095
  WindowDetail,
9961
10096
  LayoutPresetType,
9962
10097
  LayoutIdentity,
@@ -10011,6 +10146,7 @@ declare namespace OpenFin {
10011
10146
  RoutingInfo,
10012
10147
  DownloadShelfOptions,
10013
10148
  ViewShowAtOptions,
10149
+ ExtensionInfo,
10014
10150
  ApplicationEvents,
10015
10151
  BaseEvents,
10016
10152
  ExternalApplicationEvents,
@@ -10212,6 +10348,10 @@ declare type PerDomainSettings = {
10212
10348
  * {@link ContentRedirect} in {@link WindowOptions} and {@link ViewOptions} will be **ignored**.
10213
10349
  */
10214
10350
  content?: ContentPermission;
10351
+ /**
10352
+ * {@inheritdoc ChromiumPolicies}
10353
+ */
10354
+ chromiumPolicies?: ChromiumPolicies;
10215
10355
  };
10216
10356
 
10217
10357
  /**
@@ -11644,6 +11784,45 @@ declare interface PlatformProvider {
11644
11784
  * @returns {Promise<void>}
11645
11785
  */
11646
11786
  handleRunRequested({ manifest, userAppConfigArgs }: RunRequestedEvent): Promise<void>;
11787
+ /**
11788
+ * @experimental
11789
+ *
11790
+ * This method is called to handle errors with view creation and initial navigation during layout creation.
11791
+ * Overriding this method enables catching the error and correcting behavior (ie navigating to an error page).
11792
+ * * To indicate that the error has been handled, view creation should be treated as successful return {identity: viewIdentity, success: true}.
11793
+ * * Not returning anything will cause the layout-initialized event to include the view as failed with the original error.
11794
+ * * Throwing an error will update the error on the event payload of layout-initialized to the thrown error.
11795
+ *
11796
+ * @param viewIdentity Identity of the view
11797
+ * @param error error thrown during a view creation
11798
+ * @returns {Promise<OpenFin.ViewCreationSuccess | void>}
11799
+ *
11800
+ * @example
11801
+ *
11802
+ * ```js
11803
+ * const overrideCallback = (PlatformProvider) => {
11804
+ * class Override extends PlatformProvider {
11805
+ * async handleFailedViewCreation(viewIdentity, error) {
11806
+ * const view = fin.View.wrapSync(viewId);
11807
+ * try {
11808
+ * // navigate to an error page
11809
+ * await view.navigate('http://localhost:3000/errorPage.html');
11810
+ * // resolve a success result after redirecting to a error page
11811
+ * return {identity: viewIdentity, success: true};
11812
+ * } catch(e) {
11813
+ * // layout-initialized event will include this view with the error
11814
+ * throw error;
11815
+ * }
11816
+ * }
11817
+ * }
11818
+ * return new Override();
11819
+ * }
11820
+ *
11821
+ * fin.Platform.init({ overrideCallback });
11822
+ *
11823
+ * ```
11824
+ */
11825
+ handleFailedViewCreation(viewIdentity: OpenFin.Identity, error: Error): Promise<OpenFin.ViewCreationSuccess | void>;
11647
11826
  }
11648
11827
 
11649
11828
  /**
@@ -11708,6 +11887,12 @@ declare type PointTopLeft = {
11708
11887
  left: number;
11709
11888
  };
11710
11889
 
11890
+ /**
11891
+ * When set to `disable`, disables the policy
11892
+ * When set to `defer-to-group-policy`, respects Group Policy settings
11893
+ */
11894
+ declare type PolicyOptions = 'disable' | 'defer-to-group-policy';
11895
+
11711
11896
  declare type PopupBaseBehavior = 'close' | 'hide';
11712
11897
 
11713
11898
  declare type PopupBlurBehavior = 'modal' | PopupBaseBehavior;
@@ -11943,12 +12128,10 @@ declare type PresetLayoutOptions_2 = {
11943
12128
  presetType: LayoutPresetType;
11944
12129
  };
11945
12130
 
11946
- declare type PrinterInfo = OpenFin.PrinterInfo;
11947
-
11948
12131
  /**
11949
12132
  * @interface
11950
12133
  */
11951
- declare type PrinterInfo_2 = {
12134
+ declare type PrinterInfo = {
11952
12135
  /**
11953
12136
  * Printer Name
11954
12137
  */
@@ -12210,20 +12393,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
12210
12393
  declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
12211
12394
 
12212
12395
  declare interface ProtocolMap extends ProtocolMapBase {
12396
+ 'is-application-running': ApplicationIdentityCall<{}, boolean>;
12397
+ 'destroy-application': ApplicationIdentityCall<{
12398
+ force: boolean;
12399
+ }, void>;
12400
+ 'close-application': ApplicationIdentityCall<{
12401
+ force: boolean;
12402
+ }, void>;
12403
+ 'application-close': ApplicationIdentityCall<{}, void>;
12404
+ 'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
12405
+ 'get-application-manifest': {
12406
+ request: {
12407
+ manifestUrl?: string;
12408
+ uuid?: string;
12409
+ };
12410
+ response: OpenFin.Manifest;
12411
+ };
12412
+ 'get-parent-application': ApplicationIdentityCall<{}, string>;
12413
+ 'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
12414
+ 'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
12415
+ 'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
12416
+ 'application-get-window': ApplicationIdentityCall<{}, void>;
12417
+ 'register-user': ApplicationIdentityCall<{
12418
+ userName: string;
12419
+ appName: string;
12420
+ }, void>;
12421
+ 'remove-tray-icon': ApplicationIdentityCall<{}, void>;
12422
+ 'restart-application': ApplicationIdentityCall<{}, void>;
12423
+ 'application-run': ApplicationIdentityCall<{}, void>;
12424
+ 'run-application': ApplicationIdentityCall<{
12425
+ manifestUrl?: string | undefined;
12426
+ opts?: OpenFin.RvmLaunchOptions;
12427
+ }, void>;
12428
+ 'relaunch-on-close': ApplicationIdentityCall<{}, void>;
12429
+ 'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
12430
+ 'set-jump-list': ApplicationIdentityCall<{
12431
+ config: OpenFin.JumpListCategory[] | null;
12432
+ }, void>;
12433
+ 'set-tray-icon': ApplicationIdentityCall<{
12434
+ enabledIcon: string;
12435
+ }, void>;
12436
+ 'set-shortcuts': ApplicationIdentityCall<{
12437
+ data: OpenFin.ShortCutConfig;
12438
+ }, void>;
12439
+ 'set-shortcut-query-args': ApplicationIdentityCall<{
12440
+ data: string;
12441
+ }, void>;
12442
+ 'set-application-zoom-level': ApplicationIdentityCall<{
12443
+ level: number;
12444
+ }, void>;
12445
+ 'set-app-log-username': ApplicationIdentityCall<{
12446
+ data: string;
12447
+ }, void>;
12448
+ 'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
12449
+ 'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
12450
+ 'terminate-application': ApplicationIdentityCall<{}, void>;
12451
+ 'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
12452
+ 'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
12453
+ 'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
12454
+ 'set-file-download-location': {
12455
+ request: OpenFin.Identity & {
12456
+ downloadLocation: string;
12457
+ };
12458
+ response: void;
12459
+ };
12460
+ 'get-file-download-location': ApplicationIdentityCall<{}, string>;
12461
+ 'show-tray-icon-popup-menu': {
12462
+ request: OpenFin.Identity & {
12463
+ options: OpenFin.ShowTrayIconPopupMenuOptions;
12464
+ };
12465
+ response: OpenFin.MenuResult;
12466
+ };
12467
+ 'close-tray-icon-popup-menu': IdentityCall<{}, void>;
12468
+ 'wrap-application': VoidCall;
12469
+ 'wrap-application-sync': VoidCall;
12470
+ 'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
12471
+ 'application-create': VoidCall;
12472
+ 'start-application': VoidCall;
12473
+ 'run-applications': ApiCall<{
12474
+ applications: Array<OpenFin.ManifestInfo>;
12475
+ opts?: OpenFin.RvmLaunchOptions;
12476
+ }, void>;
12477
+ 'get-current-application': VoidCall;
12478
+ 'get-current-application-sync': VoidCall;
12479
+ 'application-start-from-manifest': VoidCall;
12480
+ 'application-create-from-manifest': VoidCall;
12213
12481
  'request-external-authorization': {
12214
12482
  request: any;
12215
12483
  response: void;
12216
12484
  specialResponse: AuthorizationPayload;
12217
12485
  };
12218
- 'application-get-views': {
12219
- request: OpenFin.ApplicationIdentity;
12220
- response: OpenFin.Identity[];
12221
- };
12222
- 'set-jump-list': {
12223
- request: {
12224
- config: OpenFin.JumpListCategory[] | null;
12225
- } & OpenFin.ApplicationIdentity;
12486
+ 'request-authorization': {
12487
+ request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
12226
12488
  response: void;
12489
+ specialResponse: Payload;
12227
12490
  };
12228
12491
  'clipboard-read-formats': {
12229
12492
  request: {
@@ -12235,6 +12498,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
12235
12498
  request: OpenFin.ReadImageClipboardRequest;
12236
12499
  response: string;
12237
12500
  };
12501
+ 'clipboard-read-text': {
12502
+ request: {
12503
+ type?: OpenFin.ClipboardSelectionType;
12504
+ };
12505
+ response: string;
12506
+ };
12507
+ 'clipboard-read-html': {
12508
+ request: {
12509
+ type?: OpenFin.ClipboardSelectionType;
12510
+ };
12511
+ response: string;
12512
+ };
12513
+ 'clipboard-read-rtf': {
12514
+ request: {
12515
+ type?: OpenFin.ClipboardSelectionType;
12516
+ };
12517
+ response: string;
12518
+ };
12238
12519
  'clipboard-write-image': {
12239
12520
  request: OpenFin.WriteImageClipboardRequest;
12240
12521
  response: void;
@@ -12243,6 +12524,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
12243
12524
  request: OpenFin.WriteAnyRequestType;
12244
12525
  response: void;
12245
12526
  };
12527
+ 'clipboard-write-text': {
12528
+ request: OpenFin.WriteClipboardRequest;
12529
+ response: void;
12530
+ };
12531
+ 'clipboard-write-html': {
12532
+ request: OpenFin.WriteClipboardRequest;
12533
+ response: void;
12534
+ };
12535
+ 'clipboard-write-rtf': {
12536
+ request: OpenFin.WriteClipboardRequest;
12537
+ response: void;
12538
+ };
12246
12539
  'get-view-window': IdentityCall<{}, OpenFin.Identity>;
12247
12540
  'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
12248
12541
  uuid: string;
@@ -12268,13 +12561,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
12268
12561
  options: OpenFin.UpdatableViewOptions;
12269
12562
  }>;
12270
12563
  'trigger-before-unload': IdentityCall<{}, boolean>;
12564
+ 'view-wrap-sync': VoidCall;
12565
+ 'view-wrap': VoidCall;
12566
+ 'view-get-current': VoidCall;
12567
+ 'view-get-current-sync': VoidCall;
12568
+ 'animate-window': IdentityCall<{
12569
+ transitions: OpenFin.Transition;
12570
+ options: OpenFin.TransitionOptions;
12571
+ }>;
12572
+ 'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
12573
+ 'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
12574
+ 'center-window': IdentityCall;
12575
+ 'blur-window': IdentityCall;
12576
+ 'bring-window-to-front': IdentityCall;
12577
+ 'hide-window': IdentityCall;
12578
+ 'close-window': IdentityCall<{
12579
+ force: boolean;
12580
+ }>;
12581
+ 'focused-webview-changed': IdentityCall;
12582
+ 'get-window-native-id': IdentityCall<{}, string>;
12271
12583
  'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
12272
- 'print': {
12584
+ 'disable-window-frame': IdentityCall;
12585
+ 'enable-window-frame': IdentityCall;
12586
+ 'flash-window': IdentityCall;
12587
+ 'stop-flash-window': IdentityCall;
12588
+ 'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
12589
+ 'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
12590
+ 'get-window-snapshot': IdentityCall<{
12591
+ area?: OpenFin.Rectangle;
12592
+ }, string>;
12593
+ 'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
12594
+ 'is-window-showing': IdentityCall<{}, boolean>;
12595
+ 'maximize-window': IdentityCall;
12596
+ 'minimize-window': IdentityCall;
12597
+ 'move-window-by': IdentityCall<WithPositioningOptions<{
12598
+ deltaLeft: number;
12599
+ deltaTop: number;
12600
+ }>>;
12601
+ 'move-window': IdentityCall<WithPositioningOptions<{
12602
+ left: number;
12603
+ top: number;
12604
+ }>>;
12605
+ 'resize-window-by': IdentityCall<WithPositioningOptions<{
12606
+ deltaWidth: number;
12607
+ deltaHeight: number;
12608
+ anchor: OpenFin.AnchorType;
12609
+ }>>;
12610
+ 'resize-window': IdentityCall<WithPositioningOptions<{
12611
+ width: number;
12612
+ height: number;
12613
+ anchor: OpenFin.AnchorType;
12614
+ }>>;
12615
+ 'restore-window': IdentityCall;
12616
+ 'set-foreground-window': IdentityCall;
12617
+ 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
12618
+ 'show-window': IdentityCall<{
12619
+ force: boolean;
12620
+ }>;
12621
+ 'show-at-window': IdentityCall<{
12622
+ left: number;
12623
+ top: number;
12624
+ force: boolean;
12625
+ }>;
12626
+ 'update-window-options': IdentityCall<{
12627
+ options: OpenFin.UpdatableWindowOptions;
12628
+ }>;
12629
+ 'window-authenticate': IdentityCall<{
12630
+ userName: string;
12631
+ password: string;
12632
+ }>;
12633
+ 'show-popup-menu': {
12273
12634
  request: OpenFin.Identity & {
12274
- options: OpenFin.PrintOptions;
12635
+ options: OpenFin.ShowPopupMenuOptions;
12275
12636
  };
12276
- response: void;
12637
+ response: OpenFin.MenuResult;
12277
12638
  };
12639
+ 'close-popup-menu': IdentityCall;
12640
+ 'dispatch-popup-result': IdentityCall<{
12641
+ data: any;
12642
+ }>;
12278
12643
  'print-screenshot': {
12279
12644
  request: OpenFin.Identity;
12280
12645
  response: void;
@@ -12285,6 +12650,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
12285
12650
  };
12286
12651
  response: void;
12287
12652
  };
12653
+ 'window-wrap': VoidCall;
12654
+ 'window-wrap-sync': VoidCall;
12655
+ 'create-window': VoidCall;
12656
+ 'get-current-window': VoidCall;
12657
+ 'get-current-window-sync': VoidCall;
12658
+ 'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
12659
+ 'external-application-wrap': VoidCall;
12660
+ 'external-application-wrap-sync': VoidCall;
12661
+ 'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
12662
+ 'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
12663
+ 'frame-wrap': VoidCall;
12664
+ 'frame-wrap-sync': VoidCall;
12665
+ 'frame-get-current': VoidCall;
12666
+ 'frame-get-current-sync': VoidCall;
12667
+ 'global-hotkey-register': {
12668
+ request: {
12669
+ hotkey: string;
12670
+ };
12671
+ response: void;
12672
+ };
12673
+ 'global-hotkey-unregister': {
12674
+ request: {
12675
+ hotkey: string;
12676
+ };
12677
+ response: void;
12678
+ };
12679
+ 'global-hotkey-unregister-all': {
12680
+ request: {};
12681
+ response: void;
12682
+ };
12683
+ 'global-hotkey-is-registered': {
12684
+ request: {
12685
+ hotkey: string;
12686
+ };
12687
+ response: boolean;
12688
+ };
12689
+ 'publish-message': {
12690
+ request: {
12691
+ topic: string;
12692
+ message: any;
12693
+ sourceWindowName: string;
12694
+ };
12695
+ response: void;
12696
+ };
12697
+ 'send-message': {
12698
+ request: {
12699
+ destinationUuid: string;
12700
+ destinationWindowName: string | undefined;
12701
+ topic: string;
12702
+ message: any;
12703
+ sourceWindowName: string;
12704
+ };
12705
+ response: void;
12706
+ };
12707
+ 'subscribe': {
12708
+ request: {
12709
+ sourceUuid: string;
12710
+ sourceWindowName: string;
12711
+ topic: string;
12712
+ destinationWindowName: string;
12713
+ messageKey?: any;
12714
+ };
12715
+ response: void;
12716
+ };
12717
+ 'unsubscribe': {
12718
+ request: {
12719
+ sourceUuid: string;
12720
+ sourceWindowName: string;
12721
+ topic: string;
12722
+ destinationWindowName: string;
12723
+ };
12724
+ response: void;
12725
+ };
12726
+ 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
12727
+ 'connect-to-channel': {
12728
+ request: any;
12729
+ response: OpenFin.RoutingInfo;
12730
+ };
12731
+ 'create-channel': ApiCall<{
12732
+ channelName: string;
12733
+ }, OpenFin.ProviderIdentity>;
12734
+ 'destroy-channel': ApiCall<{
12735
+ channelName: string;
12736
+ }, void>;
12737
+ 'disconnect-from-channel': {
12738
+ request: {
12739
+ channelName: string;
12740
+ uuid: string;
12741
+ name: string;
12742
+ endpointId: string;
12743
+ };
12744
+ response: void;
12745
+ };
12746
+ 'send-channel-message': {
12747
+ request: any;
12748
+ response: any;
12749
+ };
12750
+ 'get-version': GetterCall<string>;
12751
+ 'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
12752
+ 'delete-cache-request': VoidCall;
12753
+ 'exit-desktop': VoidCall;
12754
+ 'fetch-manifest': ApiCall<{
12755
+ manifestUrl: string;
12756
+ }, any>;
12757
+ 'flush-cookie-store': VoidCall;
12758
+ 'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
12759
+ 'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
12760
+ 'get-command-line-arguments': GetterCall<string>;
12761
+ 'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
12762
+ 'start-crash-reporter': {
12763
+ request: OpenFin.CrashReporterOptions | {
12764
+ diagnosticMode: boolean;
12765
+ };
12766
+ response: OpenFin.CrashReporterState;
12767
+ };
12768
+ 'get-unique-user-id': GetterCall<string>;
12769
+ 'get-entity-info': {
12770
+ request: {
12771
+ uuid: string;
12772
+ name: string;
12773
+ };
12774
+ response: OpenFin.EntityInfo;
12775
+ };
12776
+ 'get-environment-variable': {
12777
+ request: {
12778
+ environmentVariables: string;
12779
+ };
12780
+ response: string;
12781
+ };
12782
+ 'get-focused-window': GetterCall<OpenFin.Identity | null>;
12783
+ 'is-app-certified': {
12784
+ request: {
12785
+ manifestUrl: string;
12786
+ };
12787
+ response: {
12788
+ action: string;
12789
+ certifiedInfo: OpenFin.CertifiedAppInfo;
12790
+ };
12791
+ };
12792
+ 'get-installed-runtimes': GetterCall<{
12793
+ action: string;
12794
+ runtimes: string[];
12795
+ }>;
12796
+ 'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
12797
+ 'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
12798
+ 'get-machine-id': GetterCall<string>;
12799
+ 'get-min-log-level': GetterCall<OpenFin.LogLevel>;
12800
+ 'list-logs': GetterCall<OpenFin.LogInfo[]>;
12801
+ 'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
12802
+ 'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
12803
+ 'process-snapshot': GetterCall<Array<any>>;
12804
+ 'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
12805
+ 'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
12806
+ 'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
12807
+ 'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
12808
+ 'get-host-specs': GetterCall<OpenFin.HostSpecs>;
12809
+ 'get-os-info': GetterCall<OpenFin.OSInfo>;
12810
+ 'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
12811
+ 'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
12812
+ 'write-to-log': ApiCall<{
12813
+ level: string;
12814
+ message: string;
12815
+ }, void>;
12816
+ 'open-url-with-browser': ApiCall<{
12817
+ url: string;
12818
+ }, void>;
12819
+ 'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
12820
+ 'unregister-custom-protocol': ApiCall<{
12821
+ protocolName: string;
12822
+ }, void>;
12823
+ 'get-custom-protocol-state': ApiCall<{
12824
+ protocolName: string;
12825
+ }, OpenFin.CustomProtocolState>;
12826
+ 'release-external-process': ApiCall<{
12827
+ uuid: string;
12828
+ }, void>;
12829
+ 'show-developer-tools': ApiCall<OpenFin.Identity, void>;
12830
+ 'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
12831
+ 'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
12832
+ 'download-asset': {
12833
+ request: OpenFin.AppAssetInfo & {
12834
+ downloadId: string;
12835
+ };
12836
+ response: void;
12837
+ };
12838
+ 'download-runtime': {
12839
+ request: OpenFin.RuntimeDownloadOptions & {
12840
+ downloadId: string;
12841
+ };
12842
+ response: void;
12843
+ };
12844
+ 'download-preload-scripts': ApiCall<{
12845
+ scripts: Array<OpenFin.DownloadPreloadOption>;
12846
+ }, Array<OpenFin.DownloadPreloadInfo>>;
12847
+ 'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
12848
+ 'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
12849
+ 'get-cookies': {
12850
+ request: OpenFin.CookieOption & {
12851
+ url: string;
12852
+ };
12853
+ response: Array<OpenFin.CookieInfo>;
12854
+ };
12855
+ 'set-min-log-level': ApiCall<{
12856
+ level: OpenFin.LogLevel;
12857
+ }, void>;
12858
+ 'resolve-uuid': ApiCall<{
12859
+ entityKey: string;
12860
+ }, OpenFin.ApplicationType>;
12861
+ 'read-registry-value': ApiCall<{
12862
+ rootKey: string;
12863
+ subkey: string;
12864
+ value: string;
12865
+ }, OpenFin.RegistryInfo>;
12866
+ 'register-external-connection': ApiCall<{
12867
+ uuid: string;
12868
+ }, OpenFin.ExternalConnection>;
12869
+ 'get-service-configuration': ApiCall<{
12870
+ name: string;
12871
+ }, OpenFin.ServiceConfiguration>;
12872
+ 'get-system-app-configuration': ApiCall<{
12873
+ name: string;
12874
+ }, any>;
12875
+ 'run-rvm-health-check': ApiCall<void, string[]>;
12288
12876
  'launch-manifest': {
12289
12877
  request: {
12290
12878
  manifestUrl: string;
@@ -12296,17 +12884,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
12296
12884
  manifest: OpenFin.Manifest;
12297
12885
  };
12298
12886
  };
12299
- 'get-system-app-configuration': {
12887
+ 'query-permission-for-current-context': {
12300
12888
  request: {
12301
- name: string;
12302
- };
12303
- response: any;
12304
- };
12305
- 'show-popup-menu': {
12306
- request: OpenFin.Identity & {
12307
- options: OpenFin.ShowPopupMenuOptions;
12889
+ apiName: string;
12890
+ identity: OpenFin.Identity;
12308
12891
  };
12309
- response: OpenFin.MenuResult;
12892
+ response: OpenFin.QueryPermissionResult;
12310
12893
  };
12311
12894
  'enable-native-window-integration-provider': {
12312
12895
  request: {
@@ -12314,24 +12897,42 @@ declare interface ProtocolMap extends ProtocolMapBase {
12314
12897
  };
12315
12898
  response: OpenFin.NativeWindowIntegrationProviderAuthorization;
12316
12899
  };
12900
+ 'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
12901
+ 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
12902
+ 'system-update-process-logging-options': ApiCall<{
12903
+ options: OpenFin.ProcessLoggingOptions;
12904
+ }, void>;
12905
+ 'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12906
+ 'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12907
+ domainSettings: OpenFin.DefaultDomainSettings;
12908
+ }, void>;
12909
+ 'system-register-shutdown-handler': VoidCall;
12317
12910
  'get-permissions': GetterCall<any>;
12318
- 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
12319
- 'set-file-download-location': {
12320
- request: OpenFin.Identity & {
12321
- downloadLocation: string;
12322
- };
12323
- response: void;
12911
+ 'refresh-extensions': {
12912
+ request: void;
12913
+ response: string[] | undefined;
12324
12914
  };
12325
- 'get-file-download-location': {
12326
- request: OpenFin.ApplicationIdentity;
12327
- response: string;
12915
+ 'get-installed-extensions': {
12916
+ request: void;
12917
+ response: OpenFin.ExtensionInfo[];
12328
12918
  };
12329
- 'close-popup-menu': IdentityCall;
12330
12919
  'fdc3-add-context-listener': VoidCall;
12920
+ 'fdc3-add-intent-listener': VoidCall;
12921
+ 'fdc3-raise-intent': VoidCall;
12922
+ 'fdc3-find-intent': VoidCall;
12923
+ 'fdc3-find-intents-by-context': VoidCall;
12924
+ 'fdc3-raise-intent-for-context': VoidCall;
12925
+ 'fdc3-get-info': VoidCall;
12926
+ 'fdc3-find-instances': VoidCall;
12927
+ 'fdc3-get-app-metadata': VoidCall;
12331
12928
  'fdc3-broadcast': VoidCall;
12929
+ 'fdc3-open': VoidCall;
12930
+ 'fdc3-get-or-create-channel': VoidCall;
12332
12931
  'fdc3-get-system-channels': VoidCall;
12333
12932
  'fdc3-join-channel': VoidCall;
12933
+ 'fdc3-get-current-channel': VoidCall;
12334
12934
  'fdc3-leave-current-channel': VoidCall;
12935
+ 'interop-init': VoidCall;
12335
12936
  'interop-connect-sync': VoidCall;
12336
12937
  'interop-client-set-context': VoidCall;
12337
12938
  'interop-client-add-context-handler': VoidCall;
@@ -12340,6 +12941,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
12340
12941
  'interop-client-remove-from-context-group': VoidCall;
12341
12942
  'interop-client-get-all-clients-in-context-group': VoidCall;
12342
12943
  'interop-client-get-info-for-context-group': VoidCall;
12944
+ 'interop-client-fire-intent': VoidCall;
12945
+ 'interop-client-register-intent-handler': VoidCall;
12946
+ 'interop-client-get-current-context': VoidCall;
12947
+ 'interop-client-get-info-for-intent': VoidCall;
12948
+ 'interop-client-get-info-for-intents-by-context': VoidCall;
12949
+ 'interop-client-fire-intent-for-context': VoidCall;
12950
+ 'interop-client-add-ondisconnection-listener': VoidCall;
12343
12951
  'interop-broker-add-client-to-context-group': VoidCall;
12344
12952
  'interop-broker-get-all-clients-in-context-group': VoidCall;
12345
12953
  'interop-broker-get-context-groups': VoidCall;
@@ -12351,13 +12959,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
12351
12959
  'interop-broker-remove-from-context-group': VoidCall;
12352
12960
  'interop-broker-set-context': VoidCall;
12353
12961
  'interop-broker-set-context-for-group': VoidCall;
12354
- 'query-permission-for-current-context': {
12355
- request: {
12356
- apiName: string;
12357
- identity: OpenFin.Identity;
12358
- };
12359
- response: OpenFin.QueryPermissionResult;
12360
- };
12962
+ 'interop-broker-get-current-context': VoidCall;
12963
+ 'interop-broker-set-intent-target': VoidCall;
12964
+ 'interop-session-context-group-set-context': VoidCall;
12965
+ 'interop-session-context-group-get-context': VoidCall;
12966
+ 'interop-session-context-group-add-handler': VoidCall;
12967
+ 'platform-wrap': VoidCall;
12968
+ 'platform-wrap-sync': VoidCall;
12969
+ 'platform-get-current': VoidCall;
12970
+ 'platform-get-current-sync': VoidCall;
12971
+ 'platform-start': VoidCall;
12972
+ 'platform-start-from-manifest': VoidCall;
12973
+ 'platform-get-client': ApplicationIdentityCall<{}, void>;
12974
+ 'platform-create-view': ApplicationIdentityCall<{}, void>;
12975
+ 'platform-create-window': ApplicationIdentityCall<{}, void>;
12976
+ 'platform-quit': ApplicationIdentityCall<{}, void>;
12977
+ 'platform-close-view': ApplicationIdentityCall<{}, void>;
12978
+ 'platform-reparent-view': ApplicationIdentityCall<{}, void>;
12979
+ 'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
12980
+ 'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
12981
+ 'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
12982
+ 'platform-set-window-context': ApplicationIdentityCall<{}, void>;
12983
+ 'platform-get-window-context': ApplicationIdentityCall<{}, void>;
12984
+ 'platform-close-window': ApplicationIdentityCall<{}, void>;
12985
+ 'layout-wrap': VoidCall;
12986
+ 'layout-wrap-sync': VoidCall;
12987
+ 'layout-get-current': VoidCall;
12988
+ 'layout-get-current-sync': VoidCall;
12989
+ 'layout-init': VoidCall;
12990
+ 'layout-get-config': VoidCall;
12991
+ 'layout-get-views': VoidCall;
12992
+ 'layout-replace': VoidCall;
12993
+ 'layout-get-root-item': VoidCall;
12994
+ 'layout-replace-view': VoidCall;
12995
+ 'layout-apply-preset': VoidCall;
12996
+ 'layout-controller-get-root': VoidCall;
12997
+ 'layout-controller-get-stack-by-view': VoidCall;
12998
+ 'layout-controller-get-stack-views': VoidCall;
12999
+ 'layout-controller-get-content': VoidCall;
13000
+ 'layout-controller-get-parent': VoidCall;
13001
+ 'layout-controller-is-root': VoidCall;
13002
+ 'layout-controller-exists': VoidCall;
13003
+ 'layout-controller-add-view-to-stack': VoidCall;
13004
+ 'layout-controller-remove-view-from-stack': VoidCall;
13005
+ 'layout-controller-create-adjacent-stack': VoidCall;
13006
+ 'layout-controller-get-adjacent-stacks': VoidCall;
13007
+ 'layout-controller-set-stack-active-view': VoidCall;
13008
+ 'snapshot-source-init': VoidCall;
13009
+ 'snapshot-source-wrap-sync': VoidCall;
13010
+ 'snapshot-source-wrap': VoidCall;
13011
+ 'snapshot-source-ready': VoidCall;
13012
+ 'snapshot-source-get-snapshot': VoidCall;
13013
+ 'snapshot-source-apply-snapshot': VoidCall;
13014
+ 'capture-page': IdentityCall<{
13015
+ options?: OpenFin.CapturePageOptions;
13016
+ }, string>;
13017
+ 'execute-javascript-in-window': IdentityCall<{
13018
+ code: string;
13019
+ }, unknown>;
13020
+ 'get-zoom-level': IdentityCall<{}, number>;
13021
+ 'set-zoom-level': IdentityCall<{
13022
+ level: number;
13023
+ }, void>;
13024
+ 'navigate-window': IdentityCall<{
13025
+ url: string;
13026
+ }, void>;
13027
+ 'navigate-window-back': IdentityCall<{}, void>;
13028
+ 'navigate-window-forward': IdentityCall<{}, void>;
13029
+ 'stop-window-navigation': IdentityCall<{}, void>;
13030
+ 'reload-window': IdentityCall<{
13031
+ ignoreCache: boolean;
13032
+ }, void>;
13033
+ 'print': IdentityCall<{
13034
+ options: OpenFin.PrintOptions;
13035
+ }, void>;
13036
+ 'find-in-page': IdentityCall<{
13037
+ searchTerm: string;
13038
+ options?: OpenFin.FindInPageOptions;
13039
+ }, void>;
13040
+ 'stop-find-in-page': IdentityCall<{
13041
+ action: 'clearSelection' | 'keepSelection' | 'activateSelection';
13042
+ }, void>;
13043
+ 'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
13044
+ 'focus-window': IdentityCall<{
13045
+ emitSynthFocused: boolean;
13046
+ }, void>;
13047
+ 'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
13048
+ 'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
13049
+ 'inspect-shared-worker': IdentityCall<{}, void>;
13050
+ 'inspect-shared-worker-by-id': IdentityCall<{
13051
+ workerId: string;
13052
+ }, void>;
13053
+ 'inspect-service-worker': IdentityCall<{}, void>;
13054
+ 'view-show-popup-window': IdentityCall<{}, void>;
13055
+ 'window-show-popup-window': IdentityCall<{}, void>;
12361
13056
  'try-create-popup-window': {
12362
13057
  request: OpenFin.Identity & {
12363
13058
  options: OpenFin.PopupOptions;
@@ -12373,9 +13068,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12373
13068
  };
12374
13069
  response: OpenFin.PopupResult;
12375
13070
  };
12376
- 'dispatch-popup-result': IdentityCall<{
12377
- data: any;
12378
- }>;
12379
13071
  'render-overlay': {
12380
13072
  request: {
12381
13073
  bounds: OpenFin.Bounds;
@@ -12395,40 +13087,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12395
13087
  };
12396
13088
  response: void;
12397
13089
  };
12398
- 'get-host-specs': GetterCall<OpenFin.HostSpecs>;
12399
- 'get-os-info': GetterCall<OpenFin.OSInfo>;
12400
- 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
12401
- 'system-register-shutdown-handler': VoidCall;
12402
- 'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12403
- 'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12404
- domainSettings: OpenFin.DefaultDomainSettings;
12405
- }, void>;
12406
- 'move-window-by': IdentityCall<WithPositioningOptions<{
12407
- deltaLeft: number;
12408
- deltaTop: number;
12409
- }>>;
12410
- 'move-window': IdentityCall<WithPositioningOptions<{
12411
- left: number;
12412
- top: number;
12413
- }>>;
12414
- 'resize-window-by': IdentityCall<WithPositioningOptions<{
12415
- deltaWidth: number;
12416
- deltaHeight: number;
12417
- anchor: OpenFin.AnchorType;
12418
- }>>;
12419
- 'resize-window': IdentityCall<WithPositioningOptions<{
12420
- width: number;
12421
- height: number;
12422
- anchor: OpenFin.AnchorType;
12423
- }>>;
12424
- 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
12425
- 'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
12426
- 'unregister-custom-protocol': ApiCall<{
12427
- protocolName: string;
12428
- }, void>;
12429
- 'get-custom-protocol-state': ApiCall<{
12430
- protocolName: string;
12431
- }, OpenFin.CustomProtocolState>;
12432
13090
  }
12433
13091
 
12434
13092
  declare interface ProtocolMapBase {
@@ -12458,7 +13116,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
12458
13116
  * Identity of a channel provider.
12459
13117
  * @interface
12460
13118
  */
12461
- declare type ProviderIdentity_4 = Identity_5 & {
13119
+ declare type ProviderIdentity_4 = Identity_4 & {
12462
13120
  /**
12463
13121
  * Identifier of the channel.
12464
13122
  */
@@ -12469,12 +13127,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
12469
13127
  channelName: string;
12470
13128
  };
12471
13129
 
12472
- declare type ProxyConfig = OpenFin.ProxyConfig;
12473
-
12474
13130
  /**
12475
13131
  * @interface
12476
13132
  */
12477
- declare type ProxyConfig_2 = {
13133
+ declare type ProxyConfig = {
12478
13134
  /**
12479
13135
  * The configured proxy address.
12480
13136
  */
@@ -12486,13 +13142,11 @@ declare type ProxyConfig_2 = {
12486
13142
  type: string;
12487
13143
  };
12488
13144
 
12489
- declare type ProxyInfo = OpenFin.ProxyInfo;
12490
-
12491
13145
  /**
12492
13146
  * @interface
12493
13147
  */
12494
- declare type ProxyInfo_2 = {
12495
- config: ProxyConfig_2;
13148
+ declare type ProxyInfo = {
13149
+ config: ProxyConfig;
12496
13150
  system: ProxySystemInfo;
12497
13151
  };
12498
13152
 
@@ -12598,12 +13252,10 @@ declare type RegisterUsageData = {
12598
13252
  type: string;
12599
13253
  };
12600
13254
 
12601
- declare type RegistryInfo = OpenFin.RegistryInfo;
12602
-
12603
13255
  /**
12604
13256
  * @interface
12605
13257
  */
12606
- declare type RegistryInfo_2 = {
13258
+ declare type RegistryInfo = {
12607
13259
  data: any;
12608
13260
  rootKey: string;
12609
13261
  subkey: string;
@@ -12661,14 +13313,14 @@ declare type ReplaceLayoutPayload = {
12661
13313
  /**
12662
13314
  * Identity of the window whose layout will be replaced.
12663
13315
  */
12664
- target: Identity_5 | LayoutIdentity;
13316
+ target: Identity_4 | LayoutIdentity;
12665
13317
  };
12666
13318
 
12667
13319
  /**
12668
13320
  * @interface
12669
13321
  */
12670
13322
  declare type ReplaceViewOptions = {
12671
- viewToReplace: Identity_5;
13323
+ viewToReplace: Identity_4;
12672
13324
  newView: ViewState;
12673
13325
  };
12674
13326
 
@@ -12677,7 +13329,7 @@ declare type ReplaceViewOptions = {
12677
13329
  */
12678
13330
  declare type ReplaceViewPayload = {
12679
13331
  opts: {
12680
- viewToReplace: Identity_5;
13332
+ viewToReplace: Identity_4;
12681
13333
  newView: Partial<ViewOptions>;
12682
13334
  };
12683
13335
  target: LayoutIdentity;
@@ -12952,6 +13604,21 @@ declare type ScreenshotPrintOptions = {
12952
13604
  content: 'screenshot';
12953
13605
  };
12954
13606
 
13607
+ /**
13608
+ * An event generated when an application modifies the runtime in a way that affects all other applications in the
13609
+ * application runtime/security realm.
13610
+ */
13611
+ declare type SecurityRealmEvent = BaseEvent_9 & {
13612
+ /**
13613
+ * Config URL of the application that modified the security realm's extensions
13614
+ */
13615
+ configUrl: string;
13616
+ /**
13617
+ * Identity of the application that modified the security realm's extensions
13618
+ */
13619
+ applicationIdentity: OpenFin.ApplicationIdentity;
13620
+ };
13621
+
12955
13622
  declare type SendActionResponse<T extends keyof ProtocolMap> = Message<{
12956
13623
  data: ProtocolMap[T]['response'];
12957
13624
  } & ProtocolMap[T]['specialResponse']>;
@@ -13043,7 +13710,7 @@ declare type SetWindowContextPayload = {
13043
13710
  /**
13044
13711
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
13045
13712
  */
13046
- target: Identity_5;
13713
+ target: Identity_4;
13047
13714
  };
13048
13715
 
13049
13716
  /**
@@ -13493,7 +14160,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13493
14160
  * fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
13494
14161
  * ```
13495
14162
  */
13496
- getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
14163
+ getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
13497
14164
  /**
13498
14165
  * Retrieves an array of data for all applications.
13499
14166
  *
@@ -13502,7 +14169,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13502
14169
  * fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
13503
14170
  * ```
13504
14171
  */
13505
- getAllApplications(): Promise<Array<ApplicationState>>;
14172
+ getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
13506
14173
  /**
13507
14174
  * Retrieves the command line argument string that started OpenFin Runtime.
13508
14175
  *
@@ -13577,7 +14244,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13577
14244
  * }
13578
14245
  * ```
13579
14246
  */
13580
- getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
14247
+ getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
13581
14248
  /**
13582
14249
  * Gets the value of a given environment variable on the computer on which the runtime is installed
13583
14250
  *
@@ -13619,7 +14286,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13619
14286
  * ```
13620
14287
  */
13621
14288
  getInstalledRuntimes(): Promise<string[]>;
13622
- getInstalledApps(): Promise<InstalledApps>;
14289
+ getInstalledApps(): Promise<OpenFin.InstalledApps>;
13623
14290
  /**
13624
14291
  * Retrieves the contents of the log with the specified filename.
13625
14292
  * @param options A object that id defined by the GetLogRequestType interface
@@ -13634,7 +14301,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13634
14301
  * getLog().then(log => console.log(log)).catch(err => console.log(err));
13635
14302
  * ```
13636
14303
  */
13637
- getLog(options: GetLogRequestType): Promise<string>;
14304
+ getLog(options: OpenFin.GetLogRequestType): Promise<string>;
13638
14305
  /**
13639
14306
  * Returns a unique identifier (UUID) provided by the machine.
13640
14307
  *
@@ -13652,7 +14319,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13652
14319
  * fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
13653
14320
  * ```
13654
14321
  */
13655
- getMinLogLevel(): Promise<LogLevel>;
14322
+ getMinLogLevel(): Promise<OpenFin.LogLevel>;
13656
14323
  /**
13657
14324
  * Retrieves an array containing information for each log file.
13658
14325
  *
@@ -13661,7 +14328,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13661
14328
  * fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
13662
14329
  * ```
13663
14330
  */
13664
- getLogList(): Promise<Array<LogInfo>>;
14331
+ getLogList(): Promise<Array<OpenFin.LogInfo>>;
13665
14332
  /**
13666
14333
  * Retrieves an object that contains data about the monitor setup of the
13667
14334
  * computer that the runtime is running on.
@@ -13732,7 +14399,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13732
14399
  * }
13733
14400
  * ```
13734
14401
  */
13735
- getProxySettings(): Promise<ProxyInfo>;
14402
+ getProxySettings(): Promise<OpenFin.ProxyInfo>;
13736
14403
  /**
13737
14404
  * Returns information about the running Runtime in an object.
13738
14405
  *
@@ -14099,7 +14766,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14099
14766
  * }
14100
14767
  * ```
14101
14768
  */
14102
- launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity_2>;
14769
+ launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
14103
14770
  /**
14104
14771
  * Monitors a running process. A pid for the process must be included in options.
14105
14772
  * <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
@@ -14116,7 +14783,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14116
14783
  * }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
14117
14784
  * ```
14118
14785
  */
14119
- monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity_2>;
14786
+ monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
14120
14787
  /**
14121
14788
  * Writes the passed message into both the log file and the console.
14122
14789
  * @param level The log level for the entry. Can be either "info", "warning" or "error"
@@ -14250,7 +14917,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14250
14917
  *
14251
14918
  * @tutorial System.showDeveloperTools
14252
14919
  */
14253
- showDeveloperTools(identity: Identity_2): Promise<void>;
14920
+ showDeveloperTools(identity: Identity): Promise<void>;
14254
14921
  /**
14255
14922
  * Attempt to close an external process. The process will be terminated if it
14256
14923
  * has not closed after the elapsed timeout in milliseconds.
@@ -14284,7 +14951,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14284
14951
  * .catch(err => console.error(err));
14285
14952
  * ```
14286
14953
  */
14287
- updateProxySettings(options: ProxyConfig): Promise<void>;
14954
+ updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
14288
14955
  /**
14289
14956
  * Downloads the given application asset.
14290
14957
  *
@@ -14376,7 +15043,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14376
15043
  * .catch(err => console.log(err));
14377
15044
  * ```
14378
15045
  */
14379
- getAllExternalApplications(): Promise<Array<Identity_2>>;
15046
+ getAllExternalApplications(): Promise<Array<Identity>>;
14380
15047
  /**
14381
15048
  * Retrieves app asset information.
14382
15049
  * @param options
@@ -14405,7 +15072,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14405
15072
  * fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
14406
15073
  * ```
14407
15074
  */
14408
- setMinLogLevel(level: LogLevel): Promise<void>;
15075
+ setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
14409
15076
  /**
14410
15077
  * Retrieves the UUID of the computer on which the runtime is installed
14411
15078
  * @param uuid The uuid of the running application
@@ -14415,7 +15082,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14415
15082
  * fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
14416
15083
  * ```
14417
15084
  */
14418
- resolveUuid(uuid: string): Promise<Entity>;
15085
+ resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
14419
15086
  /**
14420
15087
  * Retrieves an array of data for all external applications
14421
15088
  * @param requestingIdentity This object is described in the Identity typedef
@@ -14423,7 +15090,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14423
15090
  *
14424
15091
  * @ignore
14425
15092
  */
14426
- executeOnRemote(requestingIdentity: Identity_2, data: any): Promise<any>;
15093
+ executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
14427
15094
  /**
14428
15095
  * Reads the specifed value from the registry.
14429
15096
  * @remarks This method is restricted by default and must be enabled via
@@ -14516,7 +15183,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14516
15183
  * }
14517
15184
  * ```
14518
15185
  */
14519
- readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
15186
+ readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
14520
15187
  /**
14521
15188
  * This function call will register a unique id and produce a token.
14522
15189
  * The token can be used to broker an external connection.
@@ -14731,7 +15398,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14731
15398
  * });
14732
15399
  * ```
14733
15400
  */
14734
- getPrinters(): Promise<PrinterInfo[]>;
15401
+ getPrinters(): Promise<OpenFin.PrinterInfo[]>;
14735
15402
  /**
14736
15403
  * Updates Process Logging values: periodic interval and outlier detection entries and interval.
14737
15404
  * @param options Process Logging updatable options.
@@ -14849,6 +15516,16 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14849
15516
  * ```
14850
15517
  */
14851
15518
  setDomainSettings(domainSettings: OpenFin.DefaultDomainSettings): Promise<void>;
15519
+ /**
15520
+ * Attempts to install and enable extensions for the security realm. Users may want to call this function in response
15521
+ * to an `extensions-install-failed` event. Only extensions allowed by every application on the current security realm
15522
+ * will be installed/enabled.
15523
+ */
15524
+ refreshExtensions(): Promise<string[] | undefined>;
15525
+ /**
15526
+ * Gets the currently-installed
15527
+ */
15528
+ getInstalledExtensions(): Promise<OpenFin.ExtensionInfo[]>;
14852
15529
  }
14853
15530
 
14854
15531
  /**
@@ -14879,6 +15556,14 @@ declare namespace SystemEvents {
14879
15556
  ApplicationCreatedEvent,
14880
15557
  DesktopIconClickedEvent,
14881
15558
  SystemShutdownEvent,
15559
+ ExtensionsEnabledEvent,
15560
+ ExtensionsDisabledEvent,
15561
+ ExtensionsExcludedEvent,
15562
+ ExtensionsInstalledEvent,
15563
+ ExtensionInstalledEvent,
15564
+ ExtensionsInstallFailedEvent,
15565
+ ExtensionInstallFailedEvent,
15566
+ ExtensionsInitializationFailedEvent,
14882
15567
  Event_11 as Event,
14883
15568
  SystemEvent,
14884
15569
  EventType_8 as EventType,
@@ -15357,14 +16042,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15357
16042
  declare type UserAppConfigArgs = Record<string, string | string[]>;
15358
16043
 
15359
16044
  /**
15360
- * A general user bounds change event without event type.
16045
+ * An event that fires when a window's bounds are changed directly by the user.
16046
+ *
15361
16047
  * @interface
15362
16048
  */
15363
- declare type UserBoundsChangeEvent = BaseEvent_5 & {
15364
- height: number;
15365
- left: number;
15366
- top: number;
15367
- width: number;
16049
+ declare type UserBoundsChangeEvent = BoundsEvent & {
15368
16050
  windowState: 'minimized' | 'normal' | 'maximized';
15369
16051
  };
15370
16052
 
@@ -16000,6 +16682,24 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
16000
16682
  options?: Partial<ViewOptions>;
16001
16683
  };
16002
16684
 
16685
+ /**
16686
+ * @interface
16687
+ */
16688
+ declare type ViewCreationFailure = {
16689
+ /**
16690
+ * The identity of the created view
16691
+ */
16692
+ identity: Identity_4;
16693
+ /**
16694
+ * Whether the view was created with errors
16695
+ */
16696
+ success: false;
16697
+ /**
16698
+ * Error thrown during view creation
16699
+ */
16700
+ error: Error;
16701
+ };
16702
+
16003
16703
  /**
16004
16704
  * The options object required by {@link View.ViewModule.create View.create}.
16005
16705
  *
@@ -16010,11 +16710,30 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
16010
16710
  declare type ViewCreationOptions = Partial<ViewOptions> & {
16011
16711
  name: string;
16012
16712
  url: string;
16013
- target: Identity_5;
16713
+ target: Identity_4;
16014
16714
  };
16015
16715
 
16016
16716
  declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
16017
16717
 
16718
+ /**
16719
+ * A view creation state
16720
+ */
16721
+ declare type ViewCreationResult = ViewCreationSuccess | ViewCreationFailure;
16722
+
16723
+ /**
16724
+ * @interface
16725
+ */
16726
+ declare type ViewCreationSuccess = {
16727
+ /**
16728
+ * The identity of the created view
16729
+ */
16730
+ identity: Identity_4;
16731
+ /**
16732
+ * Whether the view was created without errors
16733
+ */
16734
+ success: true;
16735
+ };
16736
+
16018
16737
  /**
16019
16738
  * Generated when a window has a view detached from it.
16020
16739
  * @remarks Will fire when a view is destroyed in which case `target` will be null.
@@ -16176,6 +16895,9 @@ declare class ViewModule extends Base {
16176
16895
  */
16177
16896
  declare type ViewOptions = ConstViewOptions & MutableViewOptions;
16178
16897
 
16898
+ /**
16899
+ * @interface
16900
+ */
16179
16901
  declare type ViewShowAtOptions = {
16180
16902
  /**
16181
16903
  * Sets the view as the top level view. See {@link OpenFin.View.bringToFront} for more information.
@@ -16196,15 +16918,15 @@ declare interface ViewsPreventingUnloadPayload {
16196
16918
  /**
16197
16919
  * Identity of the Window.
16198
16920
  */
16199
- windowId: Identity_5;
16921
+ windowId: Identity_4;
16200
16922
  /**
16201
16923
  * Identities of the Views that are preventing an unload
16202
16924
  */
16203
- viewsPreventingUnload: Identity_5[];
16925
+ viewsPreventingUnload: Identity_4[];
16204
16926
  /**
16205
16927
  * Identities of the Views that are not preventing an unload
16206
16928
  */
16207
- viewsNotPreventingUnload: Identity_5[];
16929
+ viewsNotPreventingUnload: Identity_4[];
16208
16930
  /**
16209
16931
  * Source of the close action.
16210
16932
  */
@@ -16229,11 +16951,11 @@ declare interface ViewStatuses {
16229
16951
  /**
16230
16952
  * Identities of the Views that are preventing an unload.
16231
16953
  */
16232
- viewsPreventingUnload: Identity_5[];
16954
+ viewsPreventingUnload: Identity_4[];
16233
16955
  /**
16234
16956
  * Identities of the Views that are not preventing an unload.
16235
16957
  */
16236
- viewsNotPreventingUnload: Identity_5[];
16958
+ viewsNotPreventingUnload: Identity_4[];
16237
16959
  }
16238
16960
 
16239
16961
  /**
@@ -16738,7 +17460,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
16738
17460
  * We do not expose an explicit superclass for this functionality, but it does have its own
16739
17461
  * {@link OpenFin.WebContentsEvents event namespace}.
16740
17462
  */
16741
- stopFindInPage(action: string): Promise<void>;
17463
+ stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
16742
17464
  /**
16743
17465
  * Returns an array with all system printers
16744
17466
  * @deprecated use System.getPrinters instead
@@ -17331,11 +18053,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
17331
18053
  * A general will-move or will-resize event without event type.
17332
18054
  * @interface
17333
18055
  */
17334
- declare type WillMoveOrResizeEvent = BaseEvent_5 & {
17335
- height: number;
17336
- left: number;
17337
- top: number;
17338
- width: number;
18056
+ declare type WillMoveOrResizeEvent = BoundsEvent & {
17339
18057
  monitorScaleFactor: number;
17340
18058
  };
17341
18059
 
@@ -18530,16 +19248,21 @@ declare namespace WindowEvents {
18530
19248
  PreloadScriptInfoRunning,
18531
19249
  PreloadScriptInfo,
18532
19250
  PreloadScriptsStateChangeEvent,
18533
- UserBoundsChangeEvent,
19251
+ BoundsEvent,
18534
19252
  BoundsChangeEvent,
18535
19253
  WillMoveOrResizeEvent,
19254
+ BoundsDidChangeEvent,
19255
+ BoundsChangedEvent,
19256
+ BoundsChangingEvent,
19257
+ DisabledMovementBoundsChangedEvent,
19258
+ DisabledMovementBoundsChangingEvent,
19259
+ UserBoundsChangeEvent,
19260
+ BeginUserBoundsChangingEvent,
19261
+ EndUserBoundsChangingEvent,
18536
19262
  PerformanceReportEvent,
18537
19263
  InputEvent_2 as InputEvent,
18538
19264
  LayoutInitializedEvent,
18539
19265
  LayoutReadyEvent,
18540
- BeginUserBoundsChangingEvent,
18541
- BoundsChangedEvent,
18542
- BoundsChangingEvent,
18543
19266
  CloseRequestedEvent,
18544
19267
  WindowCloseRequestedEvent,
18545
19268
  ContextChangedEvent,
@@ -18547,10 +19270,7 @@ declare namespace WindowEvents {
18547
19270
  WindowClosedEvent,
18548
19271
  ClosingEvent,
18549
19272
  WindowClosingEvent,
18550
- DisabledMovementBoundsChangedEvent,
18551
- DisabledMovementBoundsChangingEvent,
18552
19273
  EmbeddedEvent,
18553
- EndUserBoundsChangingEvent,
18554
19274
  HotkeyEvent_2 as HotkeyEvent,
18555
19275
  WindowHotkeyEvent,
18556
19276
  InitializedEvent_2 as InitializedEvent,