@openfin/core 38.82.63 → 38.82.65

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/mock.d.ts CHANGED
@@ -45,6 +45,15 @@ declare type Accelerator = {
45
45
  zoom: boolean;
46
46
  };
47
47
 
48
+ /**
49
+ * Generated when a View is added to a layout.
50
+ * @interface
51
+ */
52
+ declare type AddedToLayoutEvent = BaseEvent_4 & {
53
+ type: 'added-to-layout';
54
+ layoutIdentity: OpenFin_2.LayoutIdentity;
55
+ };
56
+
48
57
  /**
49
58
  * Options to use when adding a view to a {@link TabStack}.
50
59
  *
@@ -52,7 +61,7 @@ declare type Accelerator = {
52
61
  */
53
62
  declare type AddViewOptions = CreateViewTarget & {
54
63
  options: ViewState;
55
- targetView?: Identity_5;
64
+ targetView?: Identity_4;
56
65
  };
57
66
 
58
67
  /**
@@ -930,15 +939,15 @@ declare namespace ApplicationEvents {
930
939
  */
931
940
  declare type ApplicationEventType = EventType_3;
932
941
 
933
- declare type ApplicationIdentity = OpenFin_2.ApplicationIdentity;
934
-
935
942
  /**
936
943
  * @interface
937
944
  */
938
- declare type ApplicationIdentity_2 = {
945
+ declare type ApplicationIdentity = {
939
946
  uuid: string;
940
947
  };
941
948
 
949
+ declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin_2.ApplicationIdentity, Response>;
950
+
942
951
  /**
943
952
  * @interface
944
953
  */
@@ -1311,12 +1320,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
1311
1320
  */
1312
1321
  declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
1313
1322
 
1314
- declare type ApplicationState = OpenFin_2.ApplicationState;
1315
-
1316
1323
  /**
1317
1324
  * @interface
1318
1325
  */
1319
- declare type ApplicationState_2 = {
1326
+ declare type ApplicationState = {
1320
1327
  /**
1321
1328
  * True when the application is a Platform controller
1322
1329
  */
@@ -1348,12 +1355,10 @@ declare type ApplicationType = {
1348
1355
  */
1349
1356
  declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
1350
1357
 
1351
- declare type ApplicationWindowInfo = OpenFin_2.ApplicationWindowInfo;
1352
-
1353
1358
  /**
1354
1359
  * @interface
1355
1360
  */
1356
- declare type ApplicationWindowInfo_2 = {
1361
+ declare type ApplicationWindowInfo = {
1357
1362
  childWindows: Array<WindowDetail>;
1358
1363
  mainWindow: WindowDetail;
1359
1364
  /**
@@ -1632,7 +1637,7 @@ declare class Base {
1632
1637
  * Useful for debugging in the devtools console, where this will intelligently type itself based
1633
1638
  * on the context in which the devtools panel was opened.
1634
1639
  */
1635
- get me(): Identity;
1640
+ get me(): OpenFin_2.Identity;
1636
1641
  /**
1637
1642
  * @internal
1638
1643
  * @deprecated
@@ -1864,11 +1869,12 @@ declare type BeforeUnloadUserDecision = {
1864
1869
  /**
1865
1870
  * Array of views that will close.
1866
1871
  */
1867
- viewsToClose: Identity_5[];
1872
+ viewsToClose: Identity_4[];
1868
1873
  };
1869
1874
 
1870
1875
  /**
1871
1876
  * Generated at the beginning of a user-driven change to a window's size or position.
1877
+ *
1872
1878
  * @interface
1873
1879
  */
1874
1880
  declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
@@ -1909,31 +1915,33 @@ declare type Bounds = {
1909
1915
  * Generated after changes in a window's size and/or position.
1910
1916
  * @interface
1911
1917
  */
1912
- declare type BoundsChangedEvent = BoundsChangeEvent & {
1918
+ declare type BoundsChangedEvent = BoundsDidChangeEvent & {
1913
1919
  type: 'bounds-changed';
1914
1920
  };
1915
1921
 
1916
- /**
1917
- * A general bounds change event without event type.
1918
- * @interface
1919
- */
1920
- declare type BoundsChangeEvent = BaseEvent_5 & {
1922
+ declare type BoundsChangeEvent = BoundsEvent & {
1921
1923
  changeType: 0 | 1 | 2;
1922
- deferred: boolean;
1923
- height: number;
1924
- left: number;
1925
- top: number;
1926
- width: number;
1927
1924
  };
1928
1925
 
1929
1926
  /**
1930
1927
  * Generated during changes to a window's size and/or position.
1931
1928
  * @interface
1932
1929
  */
1933
- declare type BoundsChangingEvent = BoundsChangeEvent & {
1930
+ declare type BoundsChangingEvent = BoundsDidChangeEvent & {
1934
1931
  type: 'bounds-changing';
1935
1932
  };
1936
1933
 
1934
+ /**
1935
+ * An event that fires when a window's bounds are successfully changed.
1936
+ *
1937
+ * @interface
1938
+ */
1939
+ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1940
+ reason: 'self' | 'animation';
1941
+ };
1942
+
1943
+ declare type BoundsEvent = BaseEvent_5 & OpenFin_2.Bounds;
1944
+
1937
1945
  /**
1938
1946
  * A rule prescribing content creation in the browser.
1939
1947
  *
@@ -3039,7 +3047,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
3039
3047
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
3040
3048
  * @interface
3041
3049
  */
3042
- declare type ClientIdentity = Identity_5 & {
3050
+ declare type ClientIdentity = Identity_4 & {
3043
3051
  /**
3044
3052
  * Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
3045
3053
  */
@@ -3272,7 +3280,7 @@ declare type CloseViewOptions = {
3272
3280
  /**
3273
3281
  *View to be closed.
3274
3282
  */
3275
- viewIdentity: Identity_5;
3283
+ viewIdentity: Identity_4;
3276
3284
  };
3277
3285
 
3278
3286
  /**
@@ -3282,7 +3290,7 @@ declare type CloseViewPayload = {
3282
3290
  /**
3283
3291
  *View to be closed.
3284
3292
  */
3285
- view: Identity_5;
3293
+ view: Identity_4;
3286
3294
  /**
3287
3295
  * The target layout identity where this view should be closed. If not provided, will resolve to the
3288
3296
  * visible layout.
@@ -3300,7 +3308,7 @@ declare interface CloseWindowPayload {
3300
3308
  *
3301
3309
  * Identity of the Window
3302
3310
  */
3303
- windowId: Identity_5;
3311
+ windowId: Identity_4;
3304
3312
  options: {
3305
3313
  /**
3306
3314
  * @defaultValue false
@@ -3421,7 +3429,7 @@ declare type ConstViewOptions = {
3421
3429
  /**
3422
3430
  * The identity of the window this view should be attached to.
3423
3431
  */
3424
- target: Identity_5;
3432
+ target: Identity_4;
3425
3433
  /**
3426
3434
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3427
3435
  */
@@ -3646,7 +3654,7 @@ declare type ConstWindowOptions = {
3646
3654
  /**
3647
3655
  * Parent identity of a modal window. It will create a modal child window when this option is set.
3648
3656
  */
3649
- modalParentIdentity: Identity_5;
3657
+ modalParentIdentity: Identity_4;
3650
3658
  /**
3651
3659
  * The name of the window.
3652
3660
  */
@@ -3664,7 +3672,9 @@ declare type ConstWindowOptions = {
3664
3672
  */
3665
3673
  preloadScripts: PreloadScript[];
3666
3674
  /**
3667
- * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
3675
+ * String tag that attempts to group like-tagged renderers together.
3676
+ * 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.
3677
+ * @remarks Will only be used if pages are on the same origin.
3668
3678
  */
3669
3679
  processAffinity: string;
3670
3680
  /**
@@ -4130,13 +4140,13 @@ declare type CreateViewPayload = {
4130
4140
  * Window the view will be added to. If no target is provided, a new window will be created.
4131
4141
  */
4132
4142
  target?: CreateViewTarget;
4133
- targetView?: Identity_5;
4143
+ targetView?: Identity_4;
4134
4144
  };
4135
4145
 
4136
4146
  /**
4137
4147
  * @interface
4138
4148
  */
4139
- declare type CreateViewTarget = (Identity_5 | LayoutIdentity) & {
4149
+ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4140
4150
  /**
4141
4151
  * If specified, view creation will not attach to a window and caller must
4142
4152
  * insert the view into the layout explicitly
@@ -4582,7 +4592,7 @@ declare type EmitterAccessor = string[];
4582
4592
  declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
4583
4593
  #private;
4584
4594
  private topic;
4585
- protected identity: ApplicationIdentity;
4595
+ protected identity: OpenFin_2.ApplicationIdentity;
4586
4596
  constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
4587
4597
  eventNames: () => (string | symbol)[];
4588
4598
  /**
@@ -4662,20 +4672,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
4662
4672
 
4663
4673
  /**
4664
4674
  * Generated at the end of a user-driven change to a window's size or position.
4675
+ *
4665
4676
  * @interface
4666
4677
  */
4667
4678
  declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
4668
4679
  type: 'end-user-bounds-changing';
4669
4680
  };
4670
4681
 
4671
- declare type Entity = OpenFin_2.ApplicationType;
4672
-
4673
- declare type EntityInfo = OpenFin_2.EntityInfo;
4674
-
4675
4682
  /**
4676
4683
  * @interface
4677
4684
  */
4678
- declare type EntityInfo_2 = {
4685
+ declare type EntityInfo = {
4679
4686
  uuid: string;
4680
4687
  name: string;
4681
4688
  entityType: EntityType_4;
@@ -4825,7 +4832,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
4825
4832
  */
4826
4833
  declare type Event_4 = (WebContentsEvents.Event<'view'> & {
4827
4834
  target: OpenFin_2.Identity;
4828
- }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
4835
+ }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
4829
4836
 
4830
4837
  /**
4831
4838
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
@@ -5045,7 +5052,7 @@ declare type ExternalApplicationEventType = EventType_4;
5045
5052
  * @interface
5046
5053
  */
5047
5054
  declare type ExternalApplicationInfo = {
5048
- parent: Identity_5;
5055
+ parent: Identity_4;
5049
5056
  };
5050
5057
 
5051
5058
  /**
@@ -5241,6 +5248,10 @@ declare type FileDownloadEvent = {
5241
5248
  * The number of bytes of the item that have already been downloaded.
5242
5249
  */
5243
5250
  downloadedBytes: number;
5251
+ /**
5252
+ * Unique identifier for the downloaded file.
5253
+ */
5254
+ fileUuid: string;
5244
5255
  } & NamedEvent;
5245
5256
 
5246
5257
  /**
@@ -5497,7 +5508,7 @@ declare type FrameInfo = {
5497
5508
  uuid: string;
5498
5509
  url: string;
5499
5510
  entityType: EntityType_4;
5500
- parent: Identity_5;
5511
+ parent: Identity_4;
5501
5512
  };
5502
5513
 
5503
5514
  /**
@@ -5572,12 +5583,10 @@ declare type FrameProcessDetails = ProcessDetails & {
5572
5583
  entityType: string;
5573
5584
  };
5574
5585
 
5575
- declare type GetLogRequestType = OpenFin_2.GetLogRequestType;
5576
-
5577
5586
  /**
5578
5587
  * @interface
5579
5588
  */
5580
- declare type GetLogRequestType_2 = {
5589
+ declare type GetLogRequestType = {
5581
5590
  /**
5582
5591
  * The name of the running application
5583
5592
  */
@@ -5597,7 +5606,7 @@ declare type GetWindowContextPayload = {
5597
5606
  /**
5598
5607
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
5599
5608
  */
5600
- target: Identity_5;
5609
+ target: Identity_4;
5601
5610
  };
5602
5611
 
5603
5612
  /**
@@ -5866,8 +5875,6 @@ declare type Identity_2 = OpenFin_2.Identity;
5866
5875
 
5867
5876
  declare type Identity_3 = OpenFin_2.Identity;
5868
5877
 
5869
- declare type Identity_4 = OpenFin_2.Identity;
5870
-
5871
5878
  /**
5872
5879
  * Unique identifier for a window, view or iframe.
5873
5880
  *
@@ -5876,7 +5883,7 @@ declare type Identity_4 = OpenFin_2.Identity;
5876
5883
  *
5877
5884
  * @interface
5878
5885
  */
5879
- declare type Identity_5 = {
5886
+ declare type Identity_4 = {
5880
5887
  /**
5881
5888
  * Universally unique identifier of the application that owns the component.
5882
5889
  */
@@ -6038,12 +6045,10 @@ declare type InstallationInfo = {
6038
6045
  cachedManifest: any;
6039
6046
  };
6040
6047
 
6041
- declare type InstalledApps = OpenFin_2.InstalledApps;
6042
-
6043
6048
  /**
6044
6049
  * @interface
6045
6050
  */
6046
- declare type InstalledApps_2 = {
6051
+ declare type InstalledApps = {
6047
6052
  [key: string]: InstallationInfo;
6048
6053
  };
6049
6054
 
@@ -6829,7 +6834,7 @@ declare class InteropBroker extends Base {
6829
6834
  * @param _id the identity tryinc to connect
6830
6835
  * @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
6831
6836
  */
6832
- isConnectionAuthorized(_id: Identity_3, _connectionPayload?: any): Promise<boolean> | boolean;
6837
+ isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
6833
6838
  /**
6834
6839
  * Called before every action to check if this entity should be allowed to take the action.
6835
6840
  * Return false to prevent the action
@@ -7761,7 +7766,7 @@ declare class Layout extends Base {
7761
7766
  * await layout.replaceView(viewToReplace.identity, newViewConfig);
7762
7767
  * ```
7763
7768
  */
7764
- replaceView: (viewToReplace: Identity_4, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
7769
+ replaceView: (viewToReplace: Identity_3, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
7765
7770
  /**
7766
7771
  * Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
7767
7772
  * The preset options are `columns`, `grid`, `rows`, and `tabs`.
@@ -7816,7 +7821,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
7816
7821
  /**
7817
7822
  * The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
7818
7823
  */
7819
- declare type LayoutDOMEvent = Identity_5 & {
7824
+ declare type LayoutDOMEvent = Identity_4 & {
7820
7825
  type: string;
7821
7826
  topic: 'openfin-DOM-event';
7822
7827
  tabSelector: string;
@@ -7877,7 +7882,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
7877
7882
  /**
7878
7883
  * @interface
7879
7884
  */
7880
- declare type LayoutIdentity = Identity_5 & {
7885
+ declare type LayoutIdentity = Identity_4 & {
7881
7886
  /**
7882
7887
  * The name of the layout in a given window.
7883
7888
  */
@@ -7986,7 +7991,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
7986
7991
  * @param identity
7987
7992
  * @returns LayoutIdentity | undefined
7988
7993
  */
7989
- resolveLayoutIdentity(identity?: Identity_5 | LayoutIdentity): LayoutIdentity | undefined;
7994
+ resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
7990
7995
  /**
7991
7996
  * @experimental
7992
7997
  *
@@ -8003,7 +8008,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8003
8008
  /**
8004
8009
  * @experimental
8005
8010
  */
8006
- getLayoutIdentityForView(viewIdentity: Identity_5): LayoutIdentity;
8011
+ getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
8007
8012
  /**
8008
8013
  * @experimental
8009
8014
  */
@@ -8477,12 +8482,10 @@ declare type Listener<T extends {
8477
8482
  type: string;
8478
8483
  }> = (payload: T) => void;
8479
8484
 
8480
- declare type LogInfo = OpenFin_2.LogInfo;
8481
-
8482
8485
  /**
8483
8486
  * @interface
8484
8487
  */
8485
- declare type LogInfo_2 = {
8488
+ declare type LogInfo = {
8486
8489
  /**
8487
8490
  * The filename of the log
8488
8491
  */
@@ -8497,8 +8500,6 @@ declare type LogInfo_2 = {
8497
8500
  date: string;
8498
8501
  };
8499
8502
 
8500
- declare type LogLevel = OpenFin_2.LogLevel;
8501
-
8502
8503
  /**
8503
8504
  * Describes the minimum level (inclusive) above which logs will be written.
8504
8505
  *
@@ -8508,7 +8509,7 @@ declare type LogLevel = OpenFin_2.LogLevel;
8508
8509
  * `error` and above<br>
8509
8510
  * `fatal`: fatal only, indicates a crash is imminent
8510
8511
  */
8511
- declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8512
+ declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8512
8513
 
8513
8514
  /**
8514
8515
  * @interface
@@ -9340,13 +9341,13 @@ declare namespace OpenFin_2 {
9340
9341
  LayoutPosition,
9341
9342
  WebContent,
9342
9343
  PlatformProvider,
9343
- ApplicationIdentity_2 as ApplicationIdentity,
9344
- Identity_5 as Identity,
9344
+ ApplicationIdentity,
9345
+ Identity_4 as Identity,
9345
9346
  ClientIdentity,
9346
9347
  ClientInfo,
9347
9348
  ClientIdentityMultiRuntime,
9348
9349
  ClientConnectionPayload,
9349
- EntityInfo_2 as EntityInfo,
9350
+ EntityInfo,
9350
9351
  EntityType_4 as EntityType,
9351
9352
  Bounds,
9352
9353
  WindowBounds,
@@ -9480,7 +9481,7 @@ declare namespace OpenFin_2 {
9480
9481
  GpuInfo,
9481
9482
  OSInfo,
9482
9483
  HostSpecs,
9483
- PrinterInfo_2 as PrinterInfo,
9484
+ PrinterInfo,
9484
9485
  Dpi,
9485
9486
  Margins,
9486
9487
  PrintOptions,
@@ -9588,24 +9589,24 @@ declare namespace OpenFin_2 {
9588
9589
  BeforeUnloadUserDecision,
9589
9590
  ViewStatuses,
9590
9591
  CloseWindowPayload,
9591
- ProxyInfo_2 as ProxyInfo,
9592
- ProxyConfig_2 as ProxyConfig,
9592
+ ProxyInfo,
9593
+ ProxyConfig,
9593
9594
  ProxySystemInfo,
9594
9595
  ChannelAction_2 as ChannelAction,
9595
9596
  ChannelMiddleware_2 as ChannelMiddleware,
9596
9597
  ErrorMiddleware_2 as ErrorMiddleware,
9597
- ApplicationState_2 as ApplicationState,
9598
- InstalledApps_2 as InstalledApps,
9598
+ ApplicationState,
9599
+ InstalledApps,
9599
9600
  InstallationInfo,
9600
- GetLogRequestType_2 as GetLogRequestType,
9601
- LogInfo_2 as LogInfo,
9601
+ GetLogRequestType,
9602
+ LogInfo,
9602
9603
  SendApplicationLogResponse,
9603
- LogLevel_2 as LogLevel,
9604
+ LogLevel,
9604
9605
  PermissionState_2 as PermissionState,
9605
- RegistryInfo_2 as RegistryInfo,
9606
+ RegistryInfo,
9606
9607
  ApplicationType,
9607
9608
  WindowInfo,
9608
- ApplicationWindowInfo_2 as ApplicationWindowInfo,
9609
+ ApplicationWindowInfo,
9609
9610
  WindowDetail,
9610
9611
  LayoutPresetType,
9611
9612
  LayoutIdentity,
@@ -11594,12 +11595,10 @@ declare type PresetLayoutOptions_2 = {
11594
11595
  presetType: LayoutPresetType;
11595
11596
  };
11596
11597
 
11597
- declare type PrinterInfo = OpenFin_2.PrinterInfo;
11598
-
11599
11598
  /**
11600
11599
  * @interface
11601
11600
  */
11602
- declare type PrinterInfo_2 = {
11601
+ declare type PrinterInfo = {
11603
11602
  /**
11604
11603
  * Printer Name
11605
11604
  */
@@ -11861,20 +11860,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
11861
11860
  declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
11862
11861
 
11863
11862
  declare interface ProtocolMap extends ProtocolMapBase {
11863
+ 'is-application-running': ApplicationIdentityCall<{}, boolean>;
11864
+ 'destroy-application': ApplicationIdentityCall<{
11865
+ force: boolean;
11866
+ }, void>;
11867
+ 'close-application': ApplicationIdentityCall<{
11868
+ force: boolean;
11869
+ }, void>;
11870
+ 'application-close': ApplicationIdentityCall<{}, void>;
11871
+ 'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
11872
+ 'get-application-manifest': {
11873
+ request: {
11874
+ manifestUrl?: string;
11875
+ uuid?: string;
11876
+ };
11877
+ response: OpenFin_2.Manifest;
11878
+ };
11879
+ 'get-parent-application': ApplicationIdentityCall<{}, string>;
11880
+ 'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
11881
+ 'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
11882
+ 'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
11883
+ 'application-get-window': ApplicationIdentityCall<{}, void>;
11884
+ 'register-user': ApplicationIdentityCall<{
11885
+ userName: string;
11886
+ appName: string;
11887
+ }, void>;
11888
+ 'remove-tray-icon': ApplicationIdentityCall<{}, void>;
11889
+ 'restart-application': ApplicationIdentityCall<{}, void>;
11890
+ 'application-run': ApplicationIdentityCall<{}, void>;
11891
+ 'run-application': ApplicationIdentityCall<{
11892
+ manifestUrl?: string | undefined;
11893
+ opts?: OpenFin_2.RvmLaunchOptions;
11894
+ }, void>;
11895
+ 'relaunch-on-close': ApplicationIdentityCall<{}, void>;
11896
+ 'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
11897
+ 'set-jump-list': ApplicationIdentityCall<{
11898
+ config: OpenFin_2.JumpListCategory[] | null;
11899
+ }, void>;
11900
+ 'set-tray-icon': ApplicationIdentityCall<{
11901
+ enabledIcon: string;
11902
+ }, void>;
11903
+ 'set-shortcuts': ApplicationIdentityCall<{
11904
+ data: OpenFin_2.ShortCutConfig;
11905
+ }, void>;
11906
+ 'set-shortcut-query-args': ApplicationIdentityCall<{
11907
+ data: string;
11908
+ }, void>;
11909
+ 'set-application-zoom-level': ApplicationIdentityCall<{
11910
+ level: number;
11911
+ }, void>;
11912
+ 'set-app-log-username': ApplicationIdentityCall<{
11913
+ data: string;
11914
+ }, void>;
11915
+ 'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
11916
+ 'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
11917
+ 'terminate-application': ApplicationIdentityCall<{}, void>;
11918
+ 'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
11919
+ 'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
11920
+ 'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
11921
+ 'set-file-download-location': {
11922
+ request: OpenFin_2.Identity & {
11923
+ downloadLocation: string;
11924
+ };
11925
+ response: void;
11926
+ };
11927
+ 'get-file-download-location': ApplicationIdentityCall<{}, string>;
11928
+ 'show-tray-icon-popup-menu': {
11929
+ request: OpenFin_2.Identity & {
11930
+ options: OpenFin_2.ShowTrayIconPopupMenuOptions;
11931
+ };
11932
+ response: OpenFin_2.MenuResult;
11933
+ };
11934
+ 'close-tray-icon-popup-menu': IdentityCall<{}, void>;
11935
+ 'wrap-application': VoidCall;
11936
+ 'wrap-application-sync': VoidCall;
11937
+ 'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
11938
+ 'application-create': VoidCall;
11939
+ 'start-application': VoidCall;
11940
+ 'run-applications': ApiCall<{
11941
+ applications: Array<OpenFin_2.ManifestInfo>;
11942
+ opts?: OpenFin_2.RvmLaunchOptions;
11943
+ }, void>;
11944
+ 'get-current-application': VoidCall;
11945
+ 'get-current-application-sync': VoidCall;
11946
+ 'application-start-from-manifest': VoidCall;
11947
+ 'application-create-from-manifest': VoidCall;
11864
11948
  'request-external-authorization': {
11865
11949
  request: any;
11866
11950
  response: void;
11867
11951
  specialResponse: AuthorizationPayload;
11868
11952
  };
11869
- 'application-get-views': {
11870
- request: OpenFin_2.ApplicationIdentity;
11871
- response: OpenFin_2.Identity[];
11872
- };
11873
- 'set-jump-list': {
11874
- request: {
11875
- config: OpenFin_2.JumpListCategory[] | null;
11876
- } & OpenFin_2.ApplicationIdentity;
11953
+ 'request-authorization': {
11954
+ request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
11877
11955
  response: void;
11956
+ specialResponse: Payload;
11878
11957
  };
11879
11958
  'clipboard-read-formats': {
11880
11959
  request: {
@@ -11886,6 +11965,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
11886
11965
  request: OpenFin_2.ReadImageClipboardRequest;
11887
11966
  response: string;
11888
11967
  };
11968
+ 'clipboard-read-text': {
11969
+ request: {
11970
+ type?: OpenFin_2.ClipboardSelectionType;
11971
+ };
11972
+ response: string;
11973
+ };
11974
+ 'clipboard-read-html': {
11975
+ request: {
11976
+ type?: OpenFin_2.ClipboardSelectionType;
11977
+ };
11978
+ response: string;
11979
+ };
11980
+ 'clipboard-read-rtf': {
11981
+ request: {
11982
+ type?: OpenFin_2.ClipboardSelectionType;
11983
+ };
11984
+ response: string;
11985
+ };
11889
11986
  'clipboard-write-image': {
11890
11987
  request: OpenFin_2.WriteImageClipboardRequest;
11891
11988
  response: void;
@@ -11894,6 +11991,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
11894
11991
  request: OpenFin_2.WriteAnyRequestType;
11895
11992
  response: void;
11896
11993
  };
11994
+ 'clipboard-write-text': {
11995
+ request: OpenFin_2.WriteClipboardRequest;
11996
+ response: void;
11997
+ };
11998
+ 'clipboard-write-html': {
11999
+ request: OpenFin_2.WriteClipboardRequest;
12000
+ response: void;
12001
+ };
12002
+ 'clipboard-write-rtf': {
12003
+ request: OpenFin_2.WriteClipboardRequest;
12004
+ response: void;
12005
+ };
11897
12006
  'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
11898
12007
  'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
11899
12008
  uuid: string;
@@ -11919,13 +12028,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
11919
12028
  options: OpenFin_2.UpdatableViewOptions;
11920
12029
  }>;
11921
12030
  'trigger-before-unload': IdentityCall<{}, boolean>;
12031
+ 'view-wrap-sync': VoidCall;
12032
+ 'view-wrap': VoidCall;
12033
+ 'view-get-current': VoidCall;
12034
+ 'view-get-current-sync': VoidCall;
12035
+ 'animate-window': IdentityCall<{
12036
+ transitions: OpenFin_2.Transition;
12037
+ options: OpenFin_2.TransitionOptions;
12038
+ }>;
12039
+ 'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
12040
+ 'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
12041
+ 'center-window': IdentityCall;
12042
+ 'blur-window': IdentityCall;
12043
+ 'bring-window-to-front': IdentityCall;
12044
+ 'hide-window': IdentityCall;
12045
+ 'close-window': IdentityCall<{
12046
+ force: boolean;
12047
+ }>;
12048
+ 'focused-webview-changed': IdentityCall;
12049
+ 'get-window-native-id': IdentityCall<{}, string>;
11922
12050
  'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
11923
- 'print': {
12051
+ 'disable-window-frame': IdentityCall;
12052
+ 'enable-window-frame': IdentityCall;
12053
+ 'flash-window': IdentityCall;
12054
+ 'stop-flash-window': IdentityCall;
12055
+ 'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
12056
+ 'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
12057
+ 'get-window-snapshot': IdentityCall<{
12058
+ area?: OpenFin_2.Rectangle;
12059
+ }, string>;
12060
+ 'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
12061
+ 'is-window-showing': IdentityCall<{}, boolean>;
12062
+ 'maximize-window': IdentityCall;
12063
+ 'minimize-window': IdentityCall;
12064
+ 'move-window-by': IdentityCall<WithPositioningOptions<{
12065
+ deltaLeft: number;
12066
+ deltaTop: number;
12067
+ }>>;
12068
+ 'move-window': IdentityCall<WithPositioningOptions<{
12069
+ left: number;
12070
+ top: number;
12071
+ }>>;
12072
+ 'resize-window-by': IdentityCall<WithPositioningOptions<{
12073
+ deltaWidth: number;
12074
+ deltaHeight: number;
12075
+ anchor: OpenFin_2.AnchorType;
12076
+ }>>;
12077
+ 'resize-window': IdentityCall<WithPositioningOptions<{
12078
+ width: number;
12079
+ height: number;
12080
+ anchor: OpenFin_2.AnchorType;
12081
+ }>>;
12082
+ 'restore-window': IdentityCall;
12083
+ 'set-foreground-window': IdentityCall;
12084
+ 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
12085
+ 'show-window': IdentityCall<{
12086
+ force: boolean;
12087
+ }>;
12088
+ 'show-at-window': IdentityCall<{
12089
+ left: number;
12090
+ top: number;
12091
+ force: boolean;
12092
+ }>;
12093
+ 'update-window-options': IdentityCall<{
12094
+ options: OpenFin_2.UpdatableWindowOptions;
12095
+ }>;
12096
+ 'window-authenticate': IdentityCall<{
12097
+ userName: string;
12098
+ password: string;
12099
+ }>;
12100
+ 'show-popup-menu': {
11924
12101
  request: OpenFin_2.Identity & {
11925
- options: OpenFin_2.PrintOptions;
12102
+ options: OpenFin_2.ShowPopupMenuOptions;
11926
12103
  };
11927
- response: void;
12104
+ response: OpenFin_2.MenuResult;
11928
12105
  };
12106
+ 'close-popup-menu': IdentityCall;
12107
+ 'dispatch-popup-result': IdentityCall<{
12108
+ data: any;
12109
+ }>;
11929
12110
  'print-screenshot': {
11930
12111
  request: OpenFin_2.Identity;
11931
12112
  response: void;
@@ -11936,6 +12117,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
11936
12117
  };
11937
12118
  response: void;
11938
12119
  };
12120
+ 'window-wrap': VoidCall;
12121
+ 'window-wrap-sync': VoidCall;
12122
+ 'create-window': VoidCall;
12123
+ 'get-current-window': VoidCall;
12124
+ 'get-current-window-sync': VoidCall;
12125
+ 'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
12126
+ 'external-application-wrap': VoidCall;
12127
+ 'external-application-wrap-sync': VoidCall;
12128
+ 'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
12129
+ 'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
12130
+ 'frame-wrap': VoidCall;
12131
+ 'frame-wrap-sync': VoidCall;
12132
+ 'frame-get-current': VoidCall;
12133
+ 'frame-get-current-sync': VoidCall;
12134
+ 'global-hotkey-register': {
12135
+ request: {
12136
+ hotkey: string;
12137
+ };
12138
+ response: void;
12139
+ };
12140
+ 'global-hotkey-unregister': {
12141
+ request: {
12142
+ hotkey: string;
12143
+ };
12144
+ response: void;
12145
+ };
12146
+ 'global-hotkey-unregister-all': {
12147
+ request: {};
12148
+ response: void;
12149
+ };
12150
+ 'global-hotkey-is-registered': {
12151
+ request: {
12152
+ hotkey: string;
12153
+ };
12154
+ response: boolean;
12155
+ };
12156
+ 'publish-message': {
12157
+ request: {
12158
+ topic: string;
12159
+ message: any;
12160
+ sourceWindowName: string;
12161
+ };
12162
+ response: void;
12163
+ };
12164
+ 'send-message': {
12165
+ request: {
12166
+ destinationUuid: string;
12167
+ destinationWindowName: string | undefined;
12168
+ topic: string;
12169
+ message: any;
12170
+ sourceWindowName: string;
12171
+ };
12172
+ response: void;
12173
+ };
12174
+ 'subscribe': {
12175
+ request: {
12176
+ sourceUuid: string;
12177
+ sourceWindowName: string;
12178
+ topic: string;
12179
+ destinationWindowName: string;
12180
+ messageKey?: any;
12181
+ };
12182
+ response: void;
12183
+ };
12184
+ 'unsubscribe': {
12185
+ request: {
12186
+ sourceUuid: string;
12187
+ sourceWindowName: string;
12188
+ topic: string;
12189
+ destinationWindowName: string;
12190
+ };
12191
+ response: void;
12192
+ };
12193
+ 'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
12194
+ 'connect-to-channel': {
12195
+ request: any;
12196
+ response: OpenFin_2.RoutingInfo;
12197
+ };
12198
+ 'create-channel': ApiCall<{
12199
+ channelName: string;
12200
+ }, OpenFin_2.ProviderIdentity>;
12201
+ 'destroy-channel': ApiCall<{
12202
+ channelName: string;
12203
+ }, void>;
12204
+ 'disconnect-from-channel': {
12205
+ request: {
12206
+ channelName: string;
12207
+ uuid: string;
12208
+ name: string;
12209
+ endpointId: string;
12210
+ };
12211
+ response: void;
12212
+ };
12213
+ 'send-channel-message': {
12214
+ request: any;
12215
+ response: any;
12216
+ };
12217
+ 'get-version': GetterCall<string>;
12218
+ 'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
12219
+ 'delete-cache-request': VoidCall;
12220
+ 'exit-desktop': VoidCall;
12221
+ 'fetch-manifest': ApiCall<{
12222
+ manifestUrl: string;
12223
+ }, any>;
12224
+ 'flush-cookie-store': VoidCall;
12225
+ 'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
12226
+ 'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
12227
+ 'get-command-line-arguments': GetterCall<string>;
12228
+ 'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
12229
+ 'start-crash-reporter': {
12230
+ request: OpenFin_2.CrashReporterOptions | {
12231
+ diagnosticMode: boolean;
12232
+ };
12233
+ response: OpenFin_2.CrashReporterState;
12234
+ };
12235
+ 'get-unique-user-id': GetterCall<string>;
12236
+ 'get-entity-info': {
12237
+ request: {
12238
+ uuid: string;
12239
+ name: string;
12240
+ };
12241
+ response: OpenFin_2.EntityInfo;
12242
+ };
12243
+ 'get-environment-variable': {
12244
+ request: {
12245
+ environmentVariables: string;
12246
+ };
12247
+ response: string;
12248
+ };
12249
+ 'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
12250
+ 'is-app-certified': {
12251
+ request: {
12252
+ manifestUrl: string;
12253
+ };
12254
+ response: {
12255
+ action: string;
12256
+ certifiedInfo: OpenFin_2.CertifiedAppInfo;
12257
+ };
12258
+ };
12259
+ 'get-installed-runtimes': GetterCall<{
12260
+ action: string;
12261
+ runtimes: string[];
12262
+ }>;
12263
+ 'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
12264
+ 'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
12265
+ 'get-machine-id': GetterCall<string>;
12266
+ 'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
12267
+ 'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
12268
+ 'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
12269
+ 'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
12270
+ 'process-snapshot': GetterCall<Array<any>>;
12271
+ 'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
12272
+ 'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
12273
+ 'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
12274
+ 'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
12275
+ 'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
12276
+ 'get-os-info': GetterCall<OpenFin_2.OSInfo>;
12277
+ 'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
12278
+ 'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
12279
+ 'write-to-log': ApiCall<{
12280
+ level: string;
12281
+ message: string;
12282
+ }, void>;
12283
+ 'open-url-with-browser': ApiCall<{
12284
+ url: string;
12285
+ }, void>;
12286
+ 'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
12287
+ 'unregister-custom-protocol': ApiCall<{
12288
+ protocolName: string;
12289
+ }, void>;
12290
+ 'get-custom-protocol-state': ApiCall<{
12291
+ protocolName: string;
12292
+ }, OpenFin_2.CustomProtocolState>;
12293
+ 'release-external-process': ApiCall<{
12294
+ uuid: string;
12295
+ }, void>;
12296
+ 'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
12297
+ 'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
12298
+ 'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
12299
+ 'download-asset': {
12300
+ request: OpenFin_2.AppAssetInfo & {
12301
+ downloadId: string;
12302
+ };
12303
+ response: void;
12304
+ };
12305
+ 'download-runtime': {
12306
+ request: OpenFin_2.RuntimeDownloadOptions & {
12307
+ downloadId: string;
12308
+ };
12309
+ response: void;
12310
+ };
12311
+ 'download-preload-scripts': ApiCall<{
12312
+ scripts: Array<OpenFin_2.DownloadPreloadOption>;
12313
+ }, Array<OpenFin_2.DownloadPreloadInfo>>;
12314
+ 'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
12315
+ 'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
12316
+ 'get-cookies': {
12317
+ request: OpenFin_2.CookieOption & {
12318
+ url: string;
12319
+ };
12320
+ response: Array<OpenFin_2.CookieInfo>;
12321
+ };
12322
+ 'set-min-log-level': ApiCall<{
12323
+ level: OpenFin_2.LogLevel;
12324
+ }, void>;
12325
+ 'resolve-uuid': ApiCall<{
12326
+ entityKey: string;
12327
+ }, OpenFin_2.ApplicationType>;
12328
+ 'read-registry-value': ApiCall<{
12329
+ rootKey: string;
12330
+ subkey: string;
12331
+ value: string;
12332
+ }, OpenFin_2.RegistryInfo>;
12333
+ 'register-external-connection': ApiCall<{
12334
+ uuid: string;
12335
+ }, OpenFin_2.ExternalConnection>;
12336
+ 'get-service-configuration': ApiCall<{
12337
+ name: string;
12338
+ }, OpenFin_2.ServiceConfiguration>;
12339
+ 'get-system-app-configuration': ApiCall<{
12340
+ name: string;
12341
+ }, any>;
12342
+ 'run-rvm-health-check': ApiCall<void, string[]>;
11939
12343
  'launch-manifest': {
11940
12344
  request: {
11941
12345
  manifestUrl: string;
@@ -11947,17 +12351,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
11947
12351
  manifest: OpenFin_2.Manifest;
11948
12352
  };
11949
12353
  };
11950
- 'get-system-app-configuration': {
12354
+ 'query-permission-for-current-context': {
11951
12355
  request: {
11952
- name: string;
11953
- };
11954
- response: any;
11955
- };
11956
- 'show-popup-menu': {
11957
- request: OpenFin_2.Identity & {
11958
- options: OpenFin_2.ShowPopupMenuOptions;
12356
+ apiName: string;
12357
+ identity: OpenFin_2.Identity;
11959
12358
  };
11960
- response: OpenFin_2.MenuResult;
12359
+ response: OpenFin_2.QueryPermissionResult;
11961
12360
  };
11962
12361
  'enable-native-window-integration-provider': {
11963
12362
  request: {
@@ -11965,24 +12364,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
11965
12364
  };
11966
12365
  response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
11967
12366
  };
12367
+ 'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
12368
+ 'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
12369
+ 'system-update-process-logging-options': ApiCall<{
12370
+ options: OpenFin_2.ProcessLoggingOptions;
12371
+ }, void>;
12372
+ 'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
12373
+ 'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
12374
+ domainSettings: OpenFin_2.DefaultDomainSettings;
12375
+ }, void>;
12376
+ 'system-register-shutdown-handler': VoidCall;
11968
12377
  'get-permissions': GetterCall<any>;
11969
- 'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
11970
- 'set-file-download-location': {
11971
- request: OpenFin_2.Identity & {
11972
- downloadLocation: string;
11973
- };
11974
- response: void;
11975
- };
11976
- 'get-file-download-location': {
11977
- request: OpenFin_2.ApplicationIdentity;
11978
- response: string;
11979
- };
11980
- 'close-popup-menu': IdentityCall;
11981
12378
  'fdc3-add-context-listener': VoidCall;
12379
+ 'fdc3-add-intent-listener': VoidCall;
12380
+ 'fdc3-raise-intent': VoidCall;
12381
+ 'fdc3-find-intent': VoidCall;
12382
+ 'fdc3-find-intents-by-context': VoidCall;
12383
+ 'fdc3-raise-intent-for-context': VoidCall;
12384
+ 'fdc3-get-info': VoidCall;
12385
+ 'fdc3-find-instances': VoidCall;
12386
+ 'fdc3-get-app-metadata': VoidCall;
11982
12387
  'fdc3-broadcast': VoidCall;
12388
+ 'fdc3-open': VoidCall;
12389
+ 'fdc3-get-or-create-channel': VoidCall;
11983
12390
  'fdc3-get-system-channels': VoidCall;
11984
12391
  'fdc3-join-channel': VoidCall;
12392
+ 'fdc3-get-current-channel': VoidCall;
11985
12393
  'fdc3-leave-current-channel': VoidCall;
12394
+ 'interop-init': VoidCall;
11986
12395
  'interop-connect-sync': VoidCall;
11987
12396
  'interop-client-set-context': VoidCall;
11988
12397
  'interop-client-add-context-handler': VoidCall;
@@ -11991,6 +12400,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
11991
12400
  'interop-client-remove-from-context-group': VoidCall;
11992
12401
  'interop-client-get-all-clients-in-context-group': VoidCall;
11993
12402
  'interop-client-get-info-for-context-group': VoidCall;
12403
+ 'interop-client-fire-intent': VoidCall;
12404
+ 'interop-client-register-intent-handler': VoidCall;
12405
+ 'interop-client-get-current-context': VoidCall;
12406
+ 'interop-client-get-info-for-intent': VoidCall;
12407
+ 'interop-client-get-info-for-intents-by-context': VoidCall;
12408
+ 'interop-client-fire-intent-for-context': VoidCall;
12409
+ 'interop-client-add-ondisconnection-listener': VoidCall;
11994
12410
  'interop-broker-add-client-to-context-group': VoidCall;
11995
12411
  'interop-broker-get-all-clients-in-context-group': VoidCall;
11996
12412
  'interop-broker-get-context-groups': VoidCall;
@@ -12002,13 +12418,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
12002
12418
  'interop-broker-remove-from-context-group': VoidCall;
12003
12419
  'interop-broker-set-context': VoidCall;
12004
12420
  'interop-broker-set-context-for-group': VoidCall;
12005
- 'query-permission-for-current-context': {
12006
- request: {
12007
- apiName: string;
12008
- identity: OpenFin_2.Identity;
12009
- };
12010
- response: OpenFin_2.QueryPermissionResult;
12011
- };
12421
+ 'interop-broker-get-current-context': VoidCall;
12422
+ 'interop-broker-set-intent-target': VoidCall;
12423
+ 'interop-session-context-group-set-context': VoidCall;
12424
+ 'interop-session-context-group-get-context': VoidCall;
12425
+ 'interop-session-context-group-add-handler': VoidCall;
12426
+ 'platform-wrap': VoidCall;
12427
+ 'platform-wrap-sync': VoidCall;
12428
+ 'platform-get-current': VoidCall;
12429
+ 'platform-get-current-sync': VoidCall;
12430
+ 'platform-start': VoidCall;
12431
+ 'platform-start-from-manifest': VoidCall;
12432
+ 'platform-get-client': ApplicationIdentityCall<{}, void>;
12433
+ 'platform-create-view': ApplicationIdentityCall<{}, void>;
12434
+ 'platform-create-window': ApplicationIdentityCall<{}, void>;
12435
+ 'platform-quit': ApplicationIdentityCall<{}, void>;
12436
+ 'platform-close-view': ApplicationIdentityCall<{}, void>;
12437
+ 'platform-reparent-view': ApplicationIdentityCall<{}, void>;
12438
+ 'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
12439
+ 'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
12440
+ 'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
12441
+ 'platform-set-window-context': ApplicationIdentityCall<{}, void>;
12442
+ 'platform-get-window-context': ApplicationIdentityCall<{}, void>;
12443
+ 'platform-close-window': ApplicationIdentityCall<{}, void>;
12444
+ 'layout-wrap': VoidCall;
12445
+ 'layout-wrap-sync': VoidCall;
12446
+ 'layout-get-current': VoidCall;
12447
+ 'layout-get-current-sync': VoidCall;
12448
+ 'layout-init': VoidCall;
12449
+ 'layout-get-config': VoidCall;
12450
+ 'layout-get-views': VoidCall;
12451
+ 'layout-replace': VoidCall;
12452
+ 'layout-get-root-item': VoidCall;
12453
+ 'layout-replace-view': VoidCall;
12454
+ 'layout-apply-preset': VoidCall;
12455
+ 'layout-controller-get-root': VoidCall;
12456
+ 'layout-controller-get-stack-by-view': VoidCall;
12457
+ 'layout-controller-get-stack-views': VoidCall;
12458
+ 'layout-controller-get-content': VoidCall;
12459
+ 'layout-controller-get-parent': VoidCall;
12460
+ 'layout-controller-is-root': VoidCall;
12461
+ 'layout-controller-exists': VoidCall;
12462
+ 'layout-controller-add-view-to-stack': VoidCall;
12463
+ 'layout-controller-remove-view-from-stack': VoidCall;
12464
+ 'layout-controller-create-adjacent-stack': VoidCall;
12465
+ 'layout-controller-get-adjacent-stacks': VoidCall;
12466
+ 'layout-controller-set-stack-active-view': VoidCall;
12467
+ 'snapshot-source-init': VoidCall;
12468
+ 'snapshot-source-wrap-sync': VoidCall;
12469
+ 'snapshot-source-wrap': VoidCall;
12470
+ 'snapshot-source-ready': VoidCall;
12471
+ 'snapshot-source-get-snapshot': VoidCall;
12472
+ 'snapshot-source-apply-snapshot': VoidCall;
12473
+ 'capture-page': IdentityCall<{
12474
+ options?: OpenFin_2.CapturePageOptions;
12475
+ }, string>;
12476
+ 'execute-javascript-in-window': IdentityCall<{
12477
+ code: string;
12478
+ }, unknown>;
12479
+ 'get-zoom-level': IdentityCall<{}, number>;
12480
+ 'set-zoom-level': IdentityCall<{
12481
+ level: number;
12482
+ }, void>;
12483
+ 'navigate-window': IdentityCall<{
12484
+ url: string;
12485
+ }, void>;
12486
+ 'navigate-window-back': IdentityCall<{}, void>;
12487
+ 'navigate-window-forward': IdentityCall<{}, void>;
12488
+ 'stop-window-navigation': IdentityCall<{}, void>;
12489
+ 'reload-window': IdentityCall<{
12490
+ ignoreCache: boolean;
12491
+ }, void>;
12492
+ 'print': IdentityCall<{
12493
+ options: OpenFin_2.PrintOptions;
12494
+ }, void>;
12495
+ 'find-in-page': IdentityCall<{
12496
+ searchTerm: string;
12497
+ options?: OpenFin_2.FindInPageOptions;
12498
+ }, void>;
12499
+ 'stop-find-in-page': IdentityCall<{
12500
+ action: 'clearSelection' | 'keepSelection' | 'activateSelection';
12501
+ }, void>;
12502
+ 'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
12503
+ 'focus-window': IdentityCall<{
12504
+ emitSynthFocused: boolean;
12505
+ }, void>;
12506
+ 'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
12507
+ 'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
12508
+ 'inspect-shared-worker': IdentityCall<{}, void>;
12509
+ 'inspect-shared-worker-by-id': IdentityCall<{
12510
+ workerId: string;
12511
+ }, void>;
12512
+ 'inspect-service-worker': IdentityCall<{}, void>;
12513
+ 'view-show-popup-window': IdentityCall<{}, void>;
12514
+ 'window-show-popup-window': IdentityCall<{}, void>;
12012
12515
  'try-create-popup-window': {
12013
12516
  request: OpenFin_2.Identity & {
12014
12517
  options: OpenFin_2.PopupOptions;
@@ -12024,9 +12527,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12024
12527
  };
12025
12528
  response: OpenFin_2.PopupResult;
12026
12529
  };
12027
- 'dispatch-popup-result': IdentityCall<{
12028
- data: any;
12029
- }>;
12030
12530
  'render-overlay': {
12031
12531
  request: {
12032
12532
  bounds: OpenFin_2.Bounds;
@@ -12046,40 +12546,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12046
12546
  };
12047
12547
  response: void;
12048
12548
  };
12049
- 'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
12050
- 'get-os-info': GetterCall<OpenFin_2.OSInfo>;
12051
- 'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
12052
- 'system-register-shutdown-handler': VoidCall;
12053
- 'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
12054
- 'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
12055
- domainSettings: OpenFin_2.DefaultDomainSettings;
12056
- }, void>;
12057
- 'move-window-by': IdentityCall<WithPositioningOptions<{
12058
- deltaLeft: number;
12059
- deltaTop: number;
12060
- }>>;
12061
- 'move-window': IdentityCall<WithPositioningOptions<{
12062
- left: number;
12063
- top: number;
12064
- }>>;
12065
- 'resize-window-by': IdentityCall<WithPositioningOptions<{
12066
- deltaWidth: number;
12067
- deltaHeight: number;
12068
- anchor: OpenFin_2.AnchorType;
12069
- }>>;
12070
- 'resize-window': IdentityCall<WithPositioningOptions<{
12071
- width: number;
12072
- height: number;
12073
- anchor: OpenFin_2.AnchorType;
12074
- }>>;
12075
- 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
12076
- 'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
12077
- 'unregister-custom-protocol': ApiCall<{
12078
- protocolName: string;
12079
- }, void>;
12080
- 'get-custom-protocol-state': ApiCall<{
12081
- protocolName: string;
12082
- }, OpenFin_2.CustomProtocolState>;
12083
12549
  }
12084
12550
 
12085
12551
  declare interface ProtocolMapBase {
@@ -12109,7 +12575,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
12109
12575
  * Identity of a channel provider.
12110
12576
  * @interface
12111
12577
  */
12112
- declare type ProviderIdentity_4 = Identity_5 & {
12578
+ declare type ProviderIdentity_4 = Identity_4 & {
12113
12579
  /**
12114
12580
  * Identifier of the channel.
12115
12581
  */
@@ -12120,12 +12586,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
12120
12586
  channelName: string;
12121
12587
  };
12122
12588
 
12123
- declare type ProxyConfig = OpenFin_2.ProxyConfig;
12124
-
12125
12589
  /**
12126
12590
  * @interface
12127
12591
  */
12128
- declare type ProxyConfig_2 = {
12592
+ declare type ProxyConfig = {
12129
12593
  /**
12130
12594
  * The configured proxy address.
12131
12595
  */
@@ -12137,13 +12601,11 @@ declare type ProxyConfig_2 = {
12137
12601
  type: string;
12138
12602
  };
12139
12603
 
12140
- declare type ProxyInfo = OpenFin_2.ProxyInfo;
12141
-
12142
12604
  /**
12143
12605
  * @interface
12144
12606
  */
12145
- declare type ProxyInfo_2 = {
12146
- config: ProxyConfig_2;
12607
+ declare type ProxyInfo = {
12608
+ config: ProxyConfig;
12147
12609
  system: ProxySystemInfo;
12148
12610
  };
12149
12611
 
@@ -12249,12 +12711,10 @@ declare type RegisterUsageData = {
12249
12711
  type: string;
12250
12712
  };
12251
12713
 
12252
- declare type RegistryInfo = OpenFin_2.RegistryInfo;
12253
-
12254
12714
  /**
12255
12715
  * @interface
12256
12716
  */
12257
- declare type RegistryInfo_2 = {
12717
+ declare type RegistryInfo = {
12258
12718
  data: any;
12259
12719
  rootKey: string;
12260
12720
  subkey: string;
@@ -12275,6 +12735,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
12275
12735
  token: string;
12276
12736
  }
12277
12737
 
12738
+ /**
12739
+ * Generated when a View is removed from a layout.
12740
+ * @interface
12741
+ */
12742
+ declare type RemovedFromLayoutEvent = BaseEvent_4 & {
12743
+ type: 'removed-from-layout';
12744
+ layoutIdentity: OpenFin_2.LayoutIdentity;
12745
+ };
12746
+
12278
12747
  /**
12279
12748
  * @interface
12280
12749
  */
@@ -12303,14 +12772,14 @@ declare type ReplaceLayoutPayload = {
12303
12772
  /**
12304
12773
  * Identity of the window whose layout will be replaced.
12305
12774
  */
12306
- target: Identity_5 | LayoutIdentity;
12775
+ target: Identity_4 | LayoutIdentity;
12307
12776
  };
12308
12777
 
12309
12778
  /**
12310
12779
  * @interface
12311
12780
  */
12312
12781
  declare type ReplaceViewOptions = {
12313
- viewToReplace: Identity_5;
12782
+ viewToReplace: Identity_4;
12314
12783
  newView: ViewState;
12315
12784
  };
12316
12785
 
@@ -12319,7 +12788,7 @@ declare type ReplaceViewOptions = {
12319
12788
  */
12320
12789
  declare type ReplaceViewPayload = {
12321
12790
  opts: {
12322
- viewToReplace: Identity_5;
12791
+ viewToReplace: Identity_4;
12323
12792
  newView: Partial<ViewOptions>;
12324
12793
  };
12325
12794
  target: LayoutIdentity;
@@ -12685,7 +13154,7 @@ declare type SetWindowContextPayload = {
12685
13154
  /**
12686
13155
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
12687
13156
  */
12688
- target: Identity_5;
13157
+ target: Identity_4;
12689
13158
  };
12690
13159
 
12691
13160
  /**
@@ -13135,7 +13604,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13135
13604
  * fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
13136
13605
  * ```
13137
13606
  */
13138
- getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
13607
+ getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
13139
13608
  /**
13140
13609
  * Retrieves an array of data for all applications.
13141
13610
  *
@@ -13144,7 +13613,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13144
13613
  * fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
13145
13614
  * ```
13146
13615
  */
13147
- getAllApplications(): Promise<Array<ApplicationState>>;
13616
+ getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
13148
13617
  /**
13149
13618
  * Retrieves the command line argument string that started OpenFin Runtime.
13150
13619
  *
@@ -13219,7 +13688,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13219
13688
  * }
13220
13689
  * ```
13221
13690
  */
13222
- getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
13691
+ getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
13223
13692
  /**
13224
13693
  * Gets the value of a given environment variable on the computer on which the runtime is installed
13225
13694
  *
@@ -13261,7 +13730,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13261
13730
  * ```
13262
13731
  */
13263
13732
  getInstalledRuntimes(): Promise<string[]>;
13264
- getInstalledApps(): Promise<InstalledApps>;
13733
+ getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
13265
13734
  /**
13266
13735
  * Retrieves the contents of the log with the specified filename.
13267
13736
  * @param options A object that id defined by the GetLogRequestType interface
@@ -13276,7 +13745,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13276
13745
  * getLog().then(log => console.log(log)).catch(err => console.log(err));
13277
13746
  * ```
13278
13747
  */
13279
- getLog(options: GetLogRequestType): Promise<string>;
13748
+ getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
13280
13749
  /**
13281
13750
  * Returns a unique identifier (UUID) provided by the machine.
13282
13751
  *
@@ -13294,7 +13763,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13294
13763
  * fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
13295
13764
  * ```
13296
13765
  */
13297
- getMinLogLevel(): Promise<LogLevel>;
13766
+ getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
13298
13767
  /**
13299
13768
  * Retrieves an array containing information for each log file.
13300
13769
  *
@@ -13303,7 +13772,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13303
13772
  * fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
13304
13773
  * ```
13305
13774
  */
13306
- getLogList(): Promise<Array<LogInfo>>;
13775
+ getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
13307
13776
  /**
13308
13777
  * Retrieves an object that contains data about the monitor setup of the
13309
13778
  * computer that the runtime is running on.
@@ -13374,7 +13843,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13374
13843
  * }
13375
13844
  * ```
13376
13845
  */
13377
- getProxySettings(): Promise<ProxyInfo>;
13846
+ getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
13378
13847
  /**
13379
13848
  * Returns information about the running Runtime in an object.
13380
13849
  *
@@ -13741,7 +14210,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13741
14210
  * }
13742
14211
  * ```
13743
14212
  */
13744
- launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity_2>;
14213
+ launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
13745
14214
  /**
13746
14215
  * Monitors a running process. A pid for the process must be included in options.
13747
14216
  * <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
@@ -13758,7 +14227,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13758
14227
  * }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
13759
14228
  * ```
13760
14229
  */
13761
- monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity_2>;
14230
+ monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
13762
14231
  /**
13763
14232
  * Writes the passed message into both the log file and the console.
13764
14233
  * @param level The log level for the entry. Can be either "info", "warning" or "error"
@@ -13892,7 +14361,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13892
14361
  *
13893
14362
  * @tutorial System.showDeveloperTools
13894
14363
  */
13895
- showDeveloperTools(identity: Identity_2): Promise<void>;
14364
+ showDeveloperTools(identity: Identity): Promise<void>;
13896
14365
  /**
13897
14366
  * Attempt to close an external process. The process will be terminated if it
13898
14367
  * has not closed after the elapsed timeout in milliseconds.
@@ -13926,7 +14395,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13926
14395
  * .catch(err => console.error(err));
13927
14396
  * ```
13928
14397
  */
13929
- updateProxySettings(options: ProxyConfig): Promise<void>;
14398
+ updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
13930
14399
  /**
13931
14400
  * Downloads the given application asset.
13932
14401
  *
@@ -14018,7 +14487,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14018
14487
  * .catch(err => console.log(err));
14019
14488
  * ```
14020
14489
  */
14021
- getAllExternalApplications(): Promise<Array<Identity_2>>;
14490
+ getAllExternalApplications(): Promise<Array<Identity>>;
14022
14491
  /**
14023
14492
  * Retrieves app asset information.
14024
14493
  * @param options
@@ -14047,7 +14516,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14047
14516
  * fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
14048
14517
  * ```
14049
14518
  */
14050
- setMinLogLevel(level: LogLevel): Promise<void>;
14519
+ setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
14051
14520
  /**
14052
14521
  * Retrieves the UUID of the computer on which the runtime is installed
14053
14522
  * @param uuid The uuid of the running application
@@ -14057,7 +14526,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14057
14526
  * fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
14058
14527
  * ```
14059
14528
  */
14060
- resolveUuid(uuid: string): Promise<Entity>;
14529
+ resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
14061
14530
  /**
14062
14531
  * Retrieves an array of data for all external applications
14063
14532
  * @param requestingIdentity This object is described in the Identity typedef
@@ -14065,7 +14534,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14065
14534
  *
14066
14535
  * @ignore
14067
14536
  */
14068
- executeOnRemote(requestingIdentity: Identity_2, data: any): Promise<any>;
14537
+ executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
14069
14538
  /**
14070
14539
  * Reads the specifed value from the registry.
14071
14540
  * @remarks This method is restricted by default and must be enabled via
@@ -14158,7 +14627,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14158
14627
  * }
14159
14628
  * ```
14160
14629
  */
14161
- readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
14630
+ readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
14162
14631
  /**
14163
14632
  * This function call will register a unique id and produce a token.
14164
14633
  * The token can be used to broker an external connection.
@@ -14373,7 +14842,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14373
14842
  * });
14374
14843
  * ```
14375
14844
  */
14376
- getPrinters(): Promise<PrinterInfo[]>;
14845
+ getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
14377
14846
  /**
14378
14847
  * Updates Process Logging values: periodic interval and outlier detection entries and interval.
14379
14848
  * @param options Process Logging updatable options.
@@ -14999,14 +15468,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
14999
15468
  declare type UserAppConfigArgs = Record<string, string | string[]>;
15000
15469
 
15001
15470
  /**
15002
- * A general user bounds change event without event type.
15471
+ * An event that fires when a window's bounds are changed directly by the user.
15472
+ *
15003
15473
  * @interface
15004
15474
  */
15005
- declare type UserBoundsChangeEvent = BaseEvent_5 & {
15006
- height: number;
15007
- left: number;
15008
- top: number;
15009
- width: number;
15475
+ declare type UserBoundsChangeEvent = BoundsEvent & {
15010
15476
  windowState: 'minimized' | 'normal' | 'maximized';
15011
15477
  };
15012
15478
 
@@ -15546,7 +16012,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
15546
16012
  declare type ViewCreationOptions = Partial<ViewOptions> & {
15547
16013
  name: string;
15548
16014
  url: string;
15549
- target: Identity_5;
16015
+ target: Identity_4;
15550
16016
  };
15551
16017
 
15552
16018
  declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
@@ -15575,6 +16041,8 @@ declare namespace ViewEvents {
15575
16041
  BaseEvent_4 as BaseEvent,
15576
16042
  BaseViewEvent,
15577
16043
  TargetChangedEvent,
16044
+ AddedToLayoutEvent,
16045
+ RemovedFromLayoutEvent,
15578
16046
  NonPropagatedViewEvent,
15579
16047
  CreatedEvent,
15580
16048
  DestroyedEvent,
@@ -15730,15 +16198,15 @@ declare interface ViewsPreventingUnloadPayload {
15730
16198
  /**
15731
16199
  * Identity of the Window.
15732
16200
  */
15733
- windowId: Identity_5;
16201
+ windowId: Identity_4;
15734
16202
  /**
15735
16203
  * Identities of the Views that are preventing an unload
15736
16204
  */
15737
- viewsPreventingUnload: Identity_5[];
16205
+ viewsPreventingUnload: Identity_4[];
15738
16206
  /**
15739
16207
  * Identities of the Views that are not preventing an unload
15740
16208
  */
15741
- viewsNotPreventingUnload: Identity_5[];
16209
+ viewsNotPreventingUnload: Identity_4[];
15742
16210
  /**
15743
16211
  * Source of the close action.
15744
16212
  */
@@ -15763,11 +16231,11 @@ declare interface ViewStatuses {
15763
16231
  /**
15764
16232
  * Identities of the Views that are preventing an unload.
15765
16233
  */
15766
- viewsPreventingUnload: Identity_5[];
16234
+ viewsPreventingUnload: Identity_4[];
15767
16235
  /**
15768
16236
  * Identities of the Views that are not preventing an unload.
15769
16237
  */
15770
- viewsNotPreventingUnload: Identity_5[];
16238
+ viewsNotPreventingUnload: Identity_4[];
15771
16239
  }
15772
16240
 
15773
16241
  /**
@@ -16272,7 +16740,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
16272
16740
  * We do not expose an explicit superclass for this functionality, but it does have its own
16273
16741
  * {@link OpenFin.WebContentsEvents event namespace}.
16274
16742
  */
16275
- stopFindInPage(action: string): Promise<void>;
16743
+ stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
16276
16744
  /**
16277
16745
  * Returns an array with all system printers
16278
16746
  * @deprecated use System.getPrinters instead
@@ -16865,11 +17333,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
16865
17333
  * A general will-move or will-resize event without event type.
16866
17334
  * @interface
16867
17335
  */
16868
- declare type WillMoveOrResizeEvent = BaseEvent_5 & {
16869
- height: number;
16870
- left: number;
16871
- top: number;
16872
- width: number;
17336
+ declare type WillMoveOrResizeEvent = BoundsEvent & {
16873
17337
  monitorScaleFactor: number;
16874
17338
  };
16875
17339
 
@@ -18064,16 +18528,21 @@ declare namespace WindowEvents {
18064
18528
  PreloadScriptInfoRunning,
18065
18529
  PreloadScriptInfo,
18066
18530
  PreloadScriptsStateChangeEvent,
18067
- UserBoundsChangeEvent,
18531
+ BoundsEvent,
18068
18532
  BoundsChangeEvent,
18069
18533
  WillMoveOrResizeEvent,
18534
+ BoundsDidChangeEvent,
18535
+ BoundsChangedEvent,
18536
+ BoundsChangingEvent,
18537
+ DisabledMovementBoundsChangedEvent,
18538
+ DisabledMovementBoundsChangingEvent,
18539
+ UserBoundsChangeEvent,
18540
+ BeginUserBoundsChangingEvent,
18541
+ EndUserBoundsChangingEvent,
18070
18542
  PerformanceReportEvent,
18071
18543
  InputEvent_2 as InputEvent,
18072
18544
  LayoutInitializedEvent,
18073
18545
  LayoutReadyEvent,
18074
- BeginUserBoundsChangingEvent,
18075
- BoundsChangedEvent,
18076
- BoundsChangingEvent,
18077
18546
  CloseRequestedEvent,
18078
18547
  WindowCloseRequestedEvent,
18079
18548
  ContextChangedEvent,
@@ -18081,10 +18550,7 @@ declare namespace WindowEvents {
18081
18550
  WindowClosedEvent,
18082
18551
  ClosingEvent,
18083
18552
  WindowClosingEvent,
18084
- DisabledMovementBoundsChangedEvent,
18085
- DisabledMovementBoundsChangingEvent,
18086
18553
  EmbeddedEvent,
18087
- EndUserBoundsChangingEvent,
18088
18554
  HotkeyEvent_2 as HotkeyEvent,
18089
18555
  WindowHotkeyEvent,
18090
18556
  InitializedEvent_2 as InitializedEvent,