@openfin/core 39.83.2 → 39.83.4

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
  /**
@@ -1629,7 +1634,7 @@ declare class Base {
1629
1634
  * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1630
1635
  * guaranteed to behave sensibly in all calling contexts.
1631
1636
  */
1632
- get me(): Identity;
1637
+ get me(): OpenFin_2.Identity;
1633
1638
  /**
1634
1639
  * @internal
1635
1640
  * @deprecated
@@ -1861,11 +1866,12 @@ declare type BeforeUnloadUserDecision = {
1861
1866
  /**
1862
1867
  * Array of views that will close.
1863
1868
  */
1864
- viewsToClose: Identity_5[];
1869
+ viewsToClose: Identity_4[];
1865
1870
  };
1866
1871
 
1867
1872
  /**
1868
1873
  * Generated at the beginning of a user-driven change to a window's size or position.
1874
+ *
1869
1875
  * @interface
1870
1876
  */
1871
1877
  declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
@@ -1906,31 +1912,33 @@ declare type Bounds = {
1906
1912
  * Generated after changes in a window's size and/or position.
1907
1913
  * @interface
1908
1914
  */
1909
- declare type BoundsChangedEvent = BoundsChangeEvent & {
1915
+ declare type BoundsChangedEvent = BoundsDidChangeEvent & {
1910
1916
  type: 'bounds-changed';
1911
1917
  };
1912
1918
 
1913
- /**
1914
- * A general bounds change event without event type.
1915
- * @interface
1916
- */
1917
- declare type BoundsChangeEvent = BaseEvent_5 & {
1919
+ declare type BoundsChangeEvent = BoundsEvent & {
1918
1920
  changeType: 0 | 1 | 2;
1919
- deferred: boolean;
1920
- height: number;
1921
- left: number;
1922
- top: number;
1923
- width: number;
1924
1921
  };
1925
1922
 
1926
1923
  /**
1927
1924
  * Generated during changes to a window's size and/or position.
1928
1925
  * @interface
1929
1926
  */
1930
- declare type BoundsChangingEvent = BoundsChangeEvent & {
1927
+ declare type BoundsChangingEvent = BoundsDidChangeEvent & {
1931
1928
  type: 'bounds-changing';
1932
1929
  };
1933
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_2.Bounds;
1941
+
1934
1942
  /**
1935
1943
  * A rule prescribing content creation in the browser.
1936
1944
  *
@@ -3036,7 +3044,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
3036
3044
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
3037
3045
  * @interface
3038
3046
  */
3039
- declare type ClientIdentity = Identity_5 & {
3047
+ declare type ClientIdentity = Identity_4 & {
3040
3048
  /**
3041
3049
  * Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
3042
3050
  */
@@ -3269,7 +3277,7 @@ declare type CloseViewOptions = {
3269
3277
  /**
3270
3278
  *View to be closed.
3271
3279
  */
3272
- viewIdentity: Identity_5;
3280
+ viewIdentity: Identity_4;
3273
3281
  };
3274
3282
 
3275
3283
  /**
@@ -3279,7 +3287,7 @@ declare type CloseViewPayload = {
3279
3287
  /**
3280
3288
  *View to be closed.
3281
3289
  */
3282
- view: Identity_5;
3290
+ view: Identity_4;
3283
3291
  /**
3284
3292
  * The target layout identity where this view should be closed. If not provided, will resolve to the
3285
3293
  * visible layout.
@@ -3297,7 +3305,7 @@ declare interface CloseWindowPayload {
3297
3305
  *
3298
3306
  * Identity of the Window
3299
3307
  */
3300
- windowId: Identity_5;
3308
+ windowId: Identity_4;
3301
3309
  options: {
3302
3310
  /**
3303
3311
  * @defaultValue false
@@ -3418,7 +3426,7 @@ declare type ConstViewOptions = {
3418
3426
  /**
3419
3427
  * The identity of the window this view should be attached to.
3420
3428
  */
3421
- target: Identity_5;
3429
+ target: Identity_4;
3422
3430
  /**
3423
3431
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3424
3432
  */
@@ -3643,7 +3651,7 @@ declare type ConstWindowOptions = {
3643
3651
  /**
3644
3652
  * Parent identity of a modal window. It will create a modal child window when this option is set.
3645
3653
  */
3646
- modalParentIdentity: Identity_5;
3654
+ modalParentIdentity: Identity_4;
3647
3655
  /**
3648
3656
  * The name of the window.
3649
3657
  */
@@ -3661,7 +3669,9 @@ declare type ConstWindowOptions = {
3661
3669
  */
3662
3670
  preloadScripts: PreloadScript[];
3663
3671
  /**
3664
- * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
3672
+ * String tag that attempts to group like-tagged renderers together.
3673
+ * 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.
3674
+ * @remarks Will only be used if pages are on the same origin.
3665
3675
  */
3666
3676
  processAffinity: string;
3667
3677
  /**
@@ -3708,11 +3718,6 @@ declare type ConstWindowOptions = {
3708
3718
  * @deprecated - use `icon` instead.
3709
3719
  */
3710
3720
  taskbarIcon: string;
3711
- /**
3712
- * Specify a taskbar group for the window.
3713
- * _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
3714
- */
3715
- taskbarIconGroup: string;
3716
3721
  /**
3717
3722
  * @defaultValue "about:blank"
3718
3723
  *
@@ -4127,13 +4132,13 @@ declare type CreateViewPayload = {
4127
4132
  * Window the view will be added to. If no target is provided, a new window will be created.
4128
4133
  */
4129
4134
  target?: CreateViewTarget;
4130
- targetView?: Identity_5;
4135
+ targetView?: Identity_4;
4131
4136
  };
4132
4137
 
4133
4138
  /**
4134
4139
  * @interface
4135
4140
  */
4136
- declare type CreateViewTarget = (Identity_5 | LayoutIdentity) & {
4141
+ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4137
4142
  /**
4138
4143
  * If specified, view creation will not attach to a window and caller must
4139
4144
  * insert the view into the layout explicitly
@@ -4579,7 +4584,7 @@ declare type EmitterAccessor = string[];
4579
4584
  declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
4580
4585
  #private;
4581
4586
  private topic;
4582
- protected identity: ApplicationIdentity;
4587
+ protected identity: OpenFin_2.ApplicationIdentity;
4583
4588
  constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
4584
4589
  eventNames: () => (string | symbol)[];
4585
4590
  /**
@@ -4659,20 +4664,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
4659
4664
 
4660
4665
  /**
4661
4666
  * Generated at the end of a user-driven change to a window's size or position.
4667
+ *
4662
4668
  * @interface
4663
4669
  */
4664
4670
  declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
4665
4671
  type: 'end-user-bounds-changing';
4666
4672
  };
4667
4673
 
4668
- declare type Entity = OpenFin_2.ApplicationType;
4669
-
4670
- declare type EntityInfo = OpenFin_2.EntityInfo;
4671
-
4672
4674
  /**
4673
4675
  * @interface
4674
4676
  */
4675
- declare type EntityInfo_2 = {
4677
+ declare type EntityInfo = {
4676
4678
  uuid: string;
4677
4679
  name: string;
4678
4680
  entityType: EntityType_4;
@@ -4758,6 +4760,7 @@ declare interface Environment {
4758
4760
  getInteropInfo(fin: OpenFin_2.Fin<OpenFin_2.EntityType>): Promise<InternalInteropBrokerOptions & {
4759
4761
  fdc3Version?: Version;
4760
4762
  }>;
4763
+ getViewWindowIdentity(fin: OpenFin_2.Fin<OpenFin_2.EntityType>, identity: OpenFin_2.Identity): Promise<OpenFin_2.Identity>;
4761
4764
  readonly type: EnvironmentType;
4762
4765
  }
4763
4766
 
@@ -4822,7 +4825,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
4822
4825
  */
4823
4826
  declare type Event_4 = (WebContentsEvents.Event<'view'> & {
4824
4827
  target: OpenFin_2.Identity;
4825
- }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
4828
+ }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
4826
4829
 
4827
4830
  /**
4828
4831
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
@@ -5042,7 +5045,7 @@ declare type ExternalApplicationEventType = EventType_4;
5042
5045
  * @interface
5043
5046
  */
5044
5047
  declare type ExternalApplicationInfo = {
5045
- parent: Identity_5;
5048
+ parent: Identity_4;
5046
5049
  };
5047
5050
 
5048
5051
  /**
@@ -5238,6 +5241,10 @@ declare type FileDownloadEvent = {
5238
5241
  * The number of bytes of the item that have already been downloaded.
5239
5242
  */
5240
5243
  downloadedBytes: number;
5244
+ /**
5245
+ * Unique identifier for the downloaded file.
5246
+ */
5247
+ fileUuid: string;
5241
5248
  } & NamedEvent;
5242
5249
 
5243
5250
  /**
@@ -5501,7 +5508,7 @@ declare type FrameInfo = {
5501
5508
  uuid: string;
5502
5509
  url: string;
5503
5510
  entityType: EntityType_4;
5504
- parent: Identity_5;
5511
+ parent: Identity_4;
5505
5512
  };
5506
5513
 
5507
5514
  /**
@@ -5576,12 +5583,10 @@ declare type FrameProcessDetails = ProcessDetails & {
5576
5583
  entityType: string;
5577
5584
  };
5578
5585
 
5579
- declare type GetLogRequestType = OpenFin_2.GetLogRequestType;
5580
-
5581
5586
  /**
5582
5587
  * @interface
5583
5588
  */
5584
- declare type GetLogRequestType_2 = {
5589
+ declare type GetLogRequestType = {
5585
5590
  /**
5586
5591
  * The name of the running application
5587
5592
  */
@@ -5601,7 +5606,7 @@ declare type GetWindowContextPayload = {
5601
5606
  /**
5602
5607
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
5603
5608
  */
5604
- target: Identity_5;
5609
+ target: Identity_4;
5605
5610
  };
5606
5611
 
5607
5612
  /**
@@ -5870,8 +5875,6 @@ declare type Identity_2 = OpenFin_2.Identity;
5870
5875
 
5871
5876
  declare type Identity_3 = OpenFin_2.Identity;
5872
5877
 
5873
- declare type Identity_4 = OpenFin_2.Identity;
5874
-
5875
5878
  /**
5876
5879
  * Unique identifier for a window, view or iframe.
5877
5880
  *
@@ -5880,7 +5883,7 @@ declare type Identity_4 = OpenFin_2.Identity;
5880
5883
  *
5881
5884
  * @interface
5882
5885
  */
5883
- declare type Identity_5 = {
5886
+ declare type Identity_4 = {
5884
5887
  /**
5885
5888
  * Universally unique identifier of the application that owns the component.
5886
5889
  */
@@ -6042,12 +6045,10 @@ declare type InstallationInfo = {
6042
6045
  cachedManifest: any;
6043
6046
  };
6044
6047
 
6045
- declare type InstalledApps = OpenFin_2.InstalledApps;
6046
-
6047
6048
  /**
6048
6049
  * @interface
6049
6050
  */
6050
- declare type InstalledApps_2 = {
6051
+ declare type InstalledApps = {
6051
6052
  [key: string]: InstallationInfo;
6052
6053
  };
6053
6054
 
@@ -6833,7 +6834,7 @@ declare class InteropBroker extends Base {
6833
6834
  * @param _id the identity tryinc to connect
6834
6835
  * @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
6835
6836
  */
6836
- isConnectionAuthorized(_id: Identity_3, _connectionPayload?: any): Promise<boolean> | boolean;
6837
+ isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
6837
6838
  /**
6838
6839
  * Called before every action to check if this entity should be allowed to take the action.
6839
6840
  * Return false to prevent the action
@@ -7634,6 +7635,10 @@ declare type LaunchIntoPlatformPayload = {
7634
7635
  */
7635
7636
  declare class Layout extends Base {
7636
7637
  #private;
7638
+ /**
7639
+ * @internal
7640
+ */
7641
+ static getClient(layout: Layout): Promise<LayoutEntitiesClient>;
7637
7642
  /**
7638
7643
  * @internal
7639
7644
  */
@@ -7739,6 +7744,17 @@ declare class Layout extends Base {
7739
7744
  * ```
7740
7745
  */
7741
7746
  getRootItem(): Promise<OpenFin_2.ColumnOrRow | OpenFin_2.TabStack>;
7747
+ /**
7748
+ * Retrieves the OpenFin.TabStack instance which the View belongs to.
7749
+ *
7750
+ * @example
7751
+ * ```js
7752
+ * const viewIdentity = { uuid: 'uuid', name: 'view-name' };
7753
+ * const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
7754
+ * console.log(await stack.getViews());
7755
+ * ```
7756
+ */
7757
+ getStackByViewIdentity(identity: OpenFin_2.Identity): Promise<OpenFin_2.TabStack>;
7742
7758
  /**
7743
7759
  * Replaces the specified view with a view with the provided configuration.
7744
7760
  *
@@ -7765,7 +7781,7 @@ declare class Layout extends Base {
7765
7781
  * await layout.replaceView(viewToReplace.identity, newViewConfig);
7766
7782
  * ```
7767
7783
  */
7768
- replaceView: (viewToReplace: Identity_4, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
7784
+ replaceView: (viewToReplace: Identity_3, newView: OpenFin_2.PlatformViewCreationOptions) => Promise<void>;
7769
7785
  /**
7770
7786
  * Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
7771
7787
  * The preset options are `columns`, `grid`, `rows`, and `tabs`.
@@ -7820,7 +7836,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
7820
7836
  /**
7821
7837
  * The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
7822
7838
  */
7823
- declare type LayoutDOMEvent = Identity_5 & {
7839
+ declare type LayoutDOMEvent = Identity_4 & {
7824
7840
  type: string;
7825
7841
  topic: 'openfin-DOM-event';
7826
7842
  tabSelector: string;
@@ -7881,7 +7897,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
7881
7897
  /**
7882
7898
  * @interface
7883
7899
  */
7884
- declare type LayoutIdentity = Identity_5 & {
7900
+ declare type LayoutIdentity = Identity_4 & {
7885
7901
  /**
7886
7902
  * The name of the layout in a given window.
7887
7903
  */
@@ -7990,7 +8006,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
7990
8006
  * @param identity
7991
8007
  * @returns LayoutIdentity | undefined
7992
8008
  */
7993
- resolveLayoutIdentity(identity?: Identity_5 | LayoutIdentity): LayoutIdentity | undefined;
8009
+ resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
7994
8010
  /**
7995
8011
  * @experimental
7996
8012
  *
@@ -8007,7 +8023,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8007
8023
  /**
8008
8024
  * @experimental
8009
8025
  */
8010
- getLayoutIdentityForView(viewIdentity: Identity_5): LayoutIdentity;
8026
+ getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
8011
8027
  /**
8012
8028
  * @experimental
8013
8029
  */
@@ -8108,6 +8124,17 @@ declare class LayoutModule extends Base {
8108
8124
  * ```
8109
8125
  */
8110
8126
  getCurrentSync(): OpenFin_2.Layout;
8127
+ /**
8128
+ * Retrieves the OpenFin.Layout instance for the Window the View is attached to.
8129
+ *
8130
+ * @example
8131
+ * ```js
8132
+ * const viewIdentity = { uuid: 'uuid', name: 'view-name' };
8133
+ * const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
8134
+ * console.log(await layout.getCurrentViews());
8135
+ * ```
8136
+ */
8137
+ getLayoutByViewIdentity(viewIdentity: OpenFin_2.Identity): Promise<OpenFin_2.Layout>;
8111
8138
  /**
8112
8139
  * Initialize the window's Layout.
8113
8140
  *
@@ -8481,12 +8508,10 @@ declare type Listener<T extends {
8481
8508
  type: string;
8482
8509
  }> = (payload: T) => void;
8483
8510
 
8484
- declare type LogInfo = OpenFin_2.LogInfo;
8485
-
8486
8511
  /**
8487
8512
  * @interface
8488
8513
  */
8489
- declare type LogInfo_2 = {
8514
+ declare type LogInfo = {
8490
8515
  /**
8491
8516
  * The filename of the log
8492
8517
  */
@@ -8501,8 +8526,6 @@ declare type LogInfo_2 = {
8501
8526
  date: string;
8502
8527
  };
8503
8528
 
8504
- declare type LogLevel = OpenFin_2.LogLevel;
8505
-
8506
8529
  /**
8507
8530
  * Describes the minimum level (inclusive) above which logs will be written.
8508
8531
  *
@@ -8512,7 +8535,7 @@ declare type LogLevel = OpenFin_2.LogLevel;
8512
8535
  * `error` and above<br>
8513
8536
  * `fatal`: fatal only, indicates a crash is imminent
8514
8537
  */
8515
- declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8538
+ declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8516
8539
 
8517
8540
  declare type LogUploaderUIOptions = {
8518
8541
  title?: string;
@@ -9165,6 +9188,12 @@ declare type MutableWindowOptions = {
9165
9188
  * Shows the window's icon in the taskbar.
9166
9189
  */
9167
9190
  showTaskbarIcon: boolean;
9191
+ /**
9192
+ * Specify a taskbar group for the window.
9193
+ * _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
9194
+ * @remarks It's only updatable when `enableJumpList` is set to false.
9195
+ */
9196
+ taskbarIconGroup: string;
9168
9197
  interop: InteropConfig;
9169
9198
  /**
9170
9199
  * @internal
@@ -9362,13 +9391,13 @@ declare namespace OpenFin_2 {
9362
9391
  LayoutPosition,
9363
9392
  WebContent,
9364
9393
  PlatformProvider,
9365
- ApplicationIdentity_2 as ApplicationIdentity,
9366
- Identity_5 as Identity,
9394
+ ApplicationIdentity,
9395
+ Identity_4 as Identity,
9367
9396
  ClientIdentity,
9368
9397
  ClientInfo,
9369
9398
  ClientIdentityMultiRuntime,
9370
9399
  ClientConnectionPayload,
9371
- EntityInfo_2 as EntityInfo,
9400
+ EntityInfo,
9372
9401
  EntityType_4 as EntityType,
9373
9402
  Bounds,
9374
9403
  WindowBounds,
@@ -9504,7 +9533,7 @@ declare namespace OpenFin_2 {
9504
9533
  GpuInfo,
9505
9534
  OSInfo,
9506
9535
  HostSpecs,
9507
- PrinterInfo_2 as PrinterInfo,
9536
+ PrinterInfo,
9508
9537
  Dpi,
9509
9538
  Margins,
9510
9539
  PrintOptions,
@@ -9612,24 +9641,24 @@ declare namespace OpenFin_2 {
9612
9641
  BeforeUnloadUserDecision,
9613
9642
  ViewStatuses,
9614
9643
  CloseWindowPayload,
9615
- ProxyInfo_2 as ProxyInfo,
9616
- ProxyConfig_2 as ProxyConfig,
9644
+ ProxyInfo,
9645
+ ProxyConfig,
9617
9646
  ProxySystemInfo,
9618
9647
  ChannelAction_2 as ChannelAction,
9619
9648
  ChannelMiddleware_2 as ChannelMiddleware,
9620
9649
  ErrorMiddleware_2 as ErrorMiddleware,
9621
- ApplicationState_2 as ApplicationState,
9622
- InstalledApps_2 as InstalledApps,
9650
+ ApplicationState,
9651
+ InstalledApps,
9623
9652
  InstallationInfo,
9624
- GetLogRequestType_2 as GetLogRequestType,
9625
- LogInfo_2 as LogInfo,
9653
+ GetLogRequestType,
9654
+ LogInfo,
9626
9655
  SendApplicationLogResponse,
9627
- LogLevel_2 as LogLevel,
9656
+ LogLevel,
9628
9657
  PermissionState_2 as PermissionState,
9629
- RegistryInfo_2 as RegistryInfo,
9658
+ RegistryInfo,
9630
9659
  ApplicationType,
9631
9660
  WindowInfo,
9632
- ApplicationWindowInfo_2 as ApplicationWindowInfo,
9661
+ ApplicationWindowInfo,
9633
9662
  WindowDetail,
9634
9663
  LayoutPresetType,
9635
9664
  LayoutIdentity,
@@ -11618,12 +11647,10 @@ declare type PresetLayoutOptions_2 = {
11618
11647
  presetType: LayoutPresetType;
11619
11648
  };
11620
11649
 
11621
- declare type PrinterInfo = OpenFin_2.PrinterInfo;
11622
-
11623
11650
  /**
11624
11651
  * @interface
11625
11652
  */
11626
- declare type PrinterInfo_2 = {
11653
+ declare type PrinterInfo = {
11627
11654
  /**
11628
11655
  * Printer Name
11629
11656
  */
@@ -11885,20 +11912,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
11885
11912
  declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
11886
11913
 
11887
11914
  declare interface ProtocolMap extends ProtocolMapBase {
11915
+ 'is-application-running': ApplicationIdentityCall<{}, boolean>;
11916
+ 'destroy-application': ApplicationIdentityCall<{
11917
+ force: boolean;
11918
+ }, void>;
11919
+ 'close-application': ApplicationIdentityCall<{
11920
+ force: boolean;
11921
+ }, void>;
11922
+ 'application-close': ApplicationIdentityCall<{}, void>;
11923
+ 'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
11924
+ 'get-application-manifest': {
11925
+ request: {
11926
+ manifestUrl?: string;
11927
+ uuid?: string;
11928
+ };
11929
+ response: OpenFin_2.Manifest;
11930
+ };
11931
+ 'get-parent-application': ApplicationIdentityCall<{}, string>;
11932
+ 'get-shortcuts': ApplicationIdentityCall<{}, OpenFin_2.ShortCutConfig>;
11933
+ 'application-get-views': ApplicationIdentityCall<{}, OpenFin_2.Identity[]>;
11934
+ 'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
11935
+ 'application-get-window': ApplicationIdentityCall<{}, void>;
11936
+ 'register-user': ApplicationIdentityCall<{
11937
+ userName: string;
11938
+ appName: string;
11939
+ }, void>;
11940
+ 'remove-tray-icon': ApplicationIdentityCall<{}, void>;
11941
+ 'restart-application': ApplicationIdentityCall<{}, void>;
11942
+ 'application-run': ApplicationIdentityCall<{}, void>;
11943
+ 'run-application': ApplicationIdentityCall<{
11944
+ manifestUrl?: string | undefined;
11945
+ opts?: OpenFin_2.RvmLaunchOptions;
11946
+ }, void>;
11947
+ 'relaunch-on-close': ApplicationIdentityCall<{}, void>;
11948
+ 'send-application-log': ApplicationIdentityCall<{}, OpenFin_2.SendApplicationLogResponse>;
11949
+ 'set-jump-list': ApplicationIdentityCall<{
11950
+ config: OpenFin_2.JumpListCategory[] | null;
11951
+ }, void>;
11952
+ 'set-tray-icon': ApplicationIdentityCall<{
11953
+ enabledIcon: string;
11954
+ }, void>;
11955
+ 'set-shortcuts': ApplicationIdentityCall<{
11956
+ data: OpenFin_2.ShortCutConfig;
11957
+ }, void>;
11958
+ 'set-shortcut-query-args': ApplicationIdentityCall<{
11959
+ data: string;
11960
+ }, void>;
11961
+ 'set-application-zoom-level': ApplicationIdentityCall<{
11962
+ level: number;
11963
+ }, void>;
11964
+ 'set-app-log-username': ApplicationIdentityCall<{
11965
+ data: string;
11966
+ }, void>;
11967
+ 'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin_2.TrayInfo>;
11968
+ 'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
11969
+ 'terminate-application': ApplicationIdentityCall<{}, void>;
11970
+ 'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
11971
+ 'get-info': ApplicationIdentityCall<{}, OpenFin_2.ApplicationInfo>;
11972
+ 'application-get-process-info': ApplicationIdentityCall<{}, OpenFin_2.AppProcessInfo>;
11973
+ 'set-file-download-location': {
11974
+ request: OpenFin_2.Identity & {
11975
+ downloadLocation: string;
11976
+ };
11977
+ response: void;
11978
+ };
11979
+ 'get-file-download-location': ApplicationIdentityCall<{}, string>;
11980
+ 'show-tray-icon-popup-menu': {
11981
+ request: OpenFin_2.Identity & {
11982
+ options: OpenFin_2.ShowTrayIconPopupMenuOptions;
11983
+ };
11984
+ response: OpenFin_2.MenuResult;
11985
+ };
11986
+ 'close-tray-icon-popup-menu': IdentityCall<{}, void>;
11987
+ 'wrap-application': VoidCall;
11988
+ 'wrap-application-sync': VoidCall;
11989
+ 'create-application': ApiCall<OpenFin_2.ApplicationCreationOptions, void>;
11990
+ 'application-create': VoidCall;
11991
+ 'start-application': VoidCall;
11992
+ 'run-applications': ApiCall<{
11993
+ applications: Array<OpenFin_2.ManifestInfo>;
11994
+ opts?: OpenFin_2.RvmLaunchOptions;
11995
+ }, void>;
11996
+ 'get-current-application': VoidCall;
11997
+ 'get-current-application-sync': VoidCall;
11998
+ 'application-start-from-manifest': VoidCall;
11999
+ 'application-create-from-manifest': VoidCall;
11888
12000
  'request-external-authorization': {
11889
12001
  request: any;
11890
12002
  response: void;
11891
12003
  specialResponse: AuthorizationPayload;
11892
12004
  };
11893
- 'application-get-views': {
11894
- request: OpenFin_2.ApplicationIdentity;
11895
- response: OpenFin_2.Identity[];
11896
- };
11897
- 'set-jump-list': {
11898
- request: {
11899
- config: OpenFin_2.JumpListCategory[] | null;
11900
- } & OpenFin_2.ApplicationIdentity;
12005
+ 'request-authorization': {
12006
+ request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
11901
12007
  response: void;
12008
+ specialResponse: Payload;
11902
12009
  };
11903
12010
  'clipboard-read-formats': {
11904
12011
  request: {
@@ -11910,6 +12017,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
11910
12017
  request: OpenFin_2.ReadImageClipboardRequest;
11911
12018
  response: string;
11912
12019
  };
12020
+ 'clipboard-read-text': {
12021
+ request: {
12022
+ type?: OpenFin_2.ClipboardSelectionType;
12023
+ };
12024
+ response: string;
12025
+ };
12026
+ 'clipboard-read-html': {
12027
+ request: {
12028
+ type?: OpenFin_2.ClipboardSelectionType;
12029
+ };
12030
+ response: string;
12031
+ };
12032
+ 'clipboard-read-rtf': {
12033
+ request: {
12034
+ type?: OpenFin_2.ClipboardSelectionType;
12035
+ };
12036
+ response: string;
12037
+ };
11913
12038
  'clipboard-write-image': {
11914
12039
  request: OpenFin_2.WriteImageClipboardRequest;
11915
12040
  response: void;
@@ -11918,6 +12043,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
11918
12043
  request: OpenFin_2.WriteAnyRequestType;
11919
12044
  response: void;
11920
12045
  };
12046
+ 'clipboard-write-text': {
12047
+ request: OpenFin_2.WriteClipboardRequest;
12048
+ response: void;
12049
+ };
12050
+ 'clipboard-write-html': {
12051
+ request: OpenFin_2.WriteClipboardRequest;
12052
+ response: void;
12053
+ };
12054
+ 'clipboard-write-rtf': {
12055
+ request: OpenFin_2.WriteClipboardRequest;
12056
+ response: void;
12057
+ };
11921
12058
  'get-view-window': IdentityCall<{}, OpenFin_2.Identity>;
11922
12059
  'create-view': IdentityCall<OpenFin_2.ViewCreationOptions & {
11923
12060
  uuid: string;
@@ -11943,13 +12080,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
11943
12080
  options: OpenFin_2.UpdatableViewOptions;
11944
12081
  }>;
11945
12082
  'trigger-before-unload': IdentityCall<{}, boolean>;
12083
+ 'view-wrap-sync': VoidCall;
12084
+ 'view-wrap': VoidCall;
12085
+ 'view-get-current': VoidCall;
12086
+ 'view-get-current-sync': VoidCall;
12087
+ 'animate-window': IdentityCall<{
12088
+ transitions: OpenFin_2.Transition;
12089
+ options: OpenFin_2.TransitionOptions;
12090
+ }>;
12091
+ 'get-all-frames': IdentityCall<{}, OpenFin_2.FrameInfo[]>;
12092
+ 'get-window-bounds': IdentityCall<{}, OpenFin_2.WindowBounds>;
12093
+ 'center-window': IdentityCall;
12094
+ 'blur-window': IdentityCall;
12095
+ 'bring-window-to-front': IdentityCall;
12096
+ 'hide-window': IdentityCall;
12097
+ 'close-window': IdentityCall<{
12098
+ force: boolean;
12099
+ }>;
12100
+ 'focused-webview-changed': IdentityCall;
12101
+ 'get-window-native-id': IdentityCall<{}, string>;
11946
12102
  'window-get-views': IdentityCall<{}, OpenFin_2.Identity[]>;
11947
- 'print': {
12103
+ 'disable-window-frame': IdentityCall;
12104
+ 'enable-window-frame': IdentityCall;
12105
+ 'flash-window': IdentityCall;
12106
+ 'stop-flash-window': IdentityCall;
12107
+ 'get-window-info': IdentityCall<{}, OpenFin_2.WindowInfo>;
12108
+ 'get-window-options': IdentityCall<{}, OpenFin_2.WindowOptions>;
12109
+ 'get-window-snapshot': IdentityCall<{
12110
+ area?: OpenFin_2.Rectangle;
12111
+ }, string>;
12112
+ 'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
12113
+ 'is-window-showing': IdentityCall<{}, boolean>;
12114
+ 'maximize-window': IdentityCall;
12115
+ 'minimize-window': IdentityCall;
12116
+ 'move-window-by': IdentityCall<WithPositioningOptions<{
12117
+ deltaLeft: number;
12118
+ deltaTop: number;
12119
+ }>>;
12120
+ 'move-window': IdentityCall<WithPositioningOptions<{
12121
+ left: number;
12122
+ top: number;
12123
+ }>>;
12124
+ 'resize-window-by': IdentityCall<WithPositioningOptions<{
12125
+ deltaWidth: number;
12126
+ deltaHeight: number;
12127
+ anchor: OpenFin_2.AnchorType;
12128
+ }>>;
12129
+ 'resize-window': IdentityCall<WithPositioningOptions<{
12130
+ width: number;
12131
+ height: number;
12132
+ anchor: OpenFin_2.AnchorType;
12133
+ }>>;
12134
+ 'restore-window': IdentityCall;
12135
+ 'set-foreground-window': IdentityCall;
12136
+ 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
12137
+ 'show-window': IdentityCall<{
12138
+ force: boolean;
12139
+ }>;
12140
+ 'show-at-window': IdentityCall<{
12141
+ left: number;
12142
+ top: number;
12143
+ force: boolean;
12144
+ }>;
12145
+ 'update-window-options': IdentityCall<{
12146
+ options: OpenFin_2.UpdatableWindowOptions;
12147
+ }>;
12148
+ 'window-authenticate': IdentityCall<{
12149
+ userName: string;
12150
+ password: string;
12151
+ }>;
12152
+ 'show-popup-menu': {
11948
12153
  request: OpenFin_2.Identity & {
11949
- options: OpenFin_2.PrintOptions;
12154
+ options: OpenFin_2.ShowPopupMenuOptions;
11950
12155
  };
11951
- response: void;
12156
+ response: OpenFin_2.MenuResult;
11952
12157
  };
12158
+ 'close-popup-menu': IdentityCall;
12159
+ 'dispatch-popup-result': IdentityCall<{
12160
+ data: any;
12161
+ }>;
11953
12162
  'print-screenshot': {
11954
12163
  request: OpenFin_2.Identity;
11955
12164
  response: void;
@@ -11960,6 +12169,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
11960
12169
  };
11961
12170
  response: void;
11962
12171
  };
12172
+ 'window-wrap': VoidCall;
12173
+ 'window-wrap-sync': VoidCall;
12174
+ 'create-window': VoidCall;
12175
+ 'get-current-window': VoidCall;
12176
+ 'get-current-window-sync': VoidCall;
12177
+ 'get-external-application-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.ExternalApplicationInfo>;
12178
+ 'external-application-wrap': VoidCall;
12179
+ 'external-application-wrap-sync': VoidCall;
12180
+ 'get-frame-info': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
12181
+ 'get-parent-window': ApiCall<OpenFin_2.Identity, OpenFin_2.FrameInfo>;
12182
+ 'frame-wrap': VoidCall;
12183
+ 'frame-wrap-sync': VoidCall;
12184
+ 'frame-get-current': VoidCall;
12185
+ 'frame-get-current-sync': VoidCall;
12186
+ 'global-hotkey-register': {
12187
+ request: {
12188
+ hotkey: string;
12189
+ };
12190
+ response: void;
12191
+ };
12192
+ 'global-hotkey-unregister': {
12193
+ request: {
12194
+ hotkey: string;
12195
+ };
12196
+ response: void;
12197
+ };
12198
+ 'global-hotkey-unregister-all': {
12199
+ request: {};
12200
+ response: void;
12201
+ };
12202
+ 'global-hotkey-is-registered': {
12203
+ request: {
12204
+ hotkey: string;
12205
+ };
12206
+ response: boolean;
12207
+ };
12208
+ 'publish-message': {
12209
+ request: {
12210
+ topic: string;
12211
+ message: any;
12212
+ sourceWindowName: string;
12213
+ };
12214
+ response: void;
12215
+ };
12216
+ 'send-message': {
12217
+ request: {
12218
+ destinationUuid: string;
12219
+ destinationWindowName: string | undefined;
12220
+ topic: string;
12221
+ message: any;
12222
+ sourceWindowName: string;
12223
+ };
12224
+ response: void;
12225
+ };
12226
+ 'subscribe': {
12227
+ request: {
12228
+ sourceUuid: string;
12229
+ sourceWindowName: string;
12230
+ topic: string;
12231
+ destinationWindowName: string;
12232
+ messageKey?: any;
12233
+ };
12234
+ response: void;
12235
+ };
12236
+ 'unsubscribe': {
12237
+ request: {
12238
+ sourceUuid: string;
12239
+ sourceWindowName: string;
12240
+ topic: string;
12241
+ destinationWindowName: string;
12242
+ };
12243
+ response: void;
12244
+ };
12245
+ 'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
12246
+ 'connect-to-channel': {
12247
+ request: any;
12248
+ response: OpenFin_2.RoutingInfo;
12249
+ };
12250
+ 'create-channel': ApiCall<{
12251
+ channelName: string;
12252
+ }, OpenFin_2.ProviderIdentity>;
12253
+ 'destroy-channel': ApiCall<{
12254
+ channelName: string;
12255
+ }, void>;
12256
+ 'disconnect-from-channel': {
12257
+ request: {
12258
+ channelName: string;
12259
+ uuid: string;
12260
+ name: string;
12261
+ endpointId: string;
12262
+ };
12263
+ response: void;
12264
+ };
12265
+ 'send-channel-message': {
12266
+ request: any;
12267
+ response: any;
12268
+ };
12269
+ 'get-version': GetterCall<string>;
12270
+ 'clear-cache': ApiCall<OpenFin_2.ClearCacheOption, void>;
12271
+ 'delete-cache-request': VoidCall;
12272
+ 'exit-desktop': VoidCall;
12273
+ 'fetch-manifest': ApiCall<{
12274
+ manifestUrl: string;
12275
+ }, any>;
12276
+ 'flush-cookie-store': VoidCall;
12277
+ 'get-all-windows': GetterCall<OpenFin_2.ApplicationWindowInfo[]>;
12278
+ 'get-all-applications': GetterCall<OpenFin_2.ApplicationState[]>;
12279
+ 'get-command-line-arguments': GetterCall<string>;
12280
+ 'get-crash-reporter-state': GetterCall<OpenFin_2.CrashReporterState>;
12281
+ 'start-crash-reporter': {
12282
+ request: OpenFin_2.CrashReporterOptions | {
12283
+ diagnosticMode: boolean;
12284
+ };
12285
+ response: OpenFin_2.CrashReporterState;
12286
+ };
12287
+ 'get-unique-user-id': GetterCall<string>;
12288
+ 'get-entity-info': {
12289
+ request: {
12290
+ uuid: string;
12291
+ name: string;
12292
+ };
12293
+ response: OpenFin_2.EntityInfo;
12294
+ };
12295
+ 'get-environment-variable': {
12296
+ request: {
12297
+ environmentVariables: string;
12298
+ };
12299
+ response: string;
12300
+ };
12301
+ 'get-focused-window': GetterCall<OpenFin_2.Identity | null>;
12302
+ 'is-app-certified': {
12303
+ request: {
12304
+ manifestUrl: string;
12305
+ };
12306
+ response: {
12307
+ action: string;
12308
+ certifiedInfo: OpenFin_2.CertifiedAppInfo;
12309
+ };
12310
+ };
12311
+ 'get-installed-runtimes': GetterCall<{
12312
+ action: string;
12313
+ runtimes: string[];
12314
+ }>;
12315
+ 'get-installed-apps': GetterCall<OpenFin_2.InstalledApps>;
12316
+ 'view-log': ApiCall<OpenFin_2.GetLogRequestType, string>;
12317
+ 'get-machine-id': GetterCall<string>;
12318
+ 'get-min-log-level': GetterCall<OpenFin_2.LogLevel>;
12319
+ 'list-logs': GetterCall<OpenFin_2.LogInfo[]>;
12320
+ 'get-monitor-info': GetterCall<OpenFin_2.MonitorInfo>;
12321
+ 'get-mouse-position': GetterCall<OpenFin_2.PointTopLeft>;
12322
+ 'process-snapshot': GetterCall<Array<any>>;
12323
+ 'get-all-process-info': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.SystemProcessInfo>;
12324
+ 'get-proxy-settings': GetterCall<OpenFin_2.ProxyInfo>;
12325
+ 'get-runtime-info': GetterCall<OpenFin_2.RuntimeInfo>;
12326
+ 'get-rvm-info': GetterCall<OpenFin_2.RVMInfo>;
12327
+ 'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
12328
+ 'get-os-info': GetterCall<OpenFin_2.OSInfo>;
12329
+ 'launch-external-process': ApiCall<OpenFin_2.ExternalProcessRequestType, OpenFin_2.Identity>;
12330
+ 'monitor-external-process': ApiCall<OpenFin_2.ExternalProcessInfo, OpenFin_2.Identity>;
12331
+ 'write-to-log': ApiCall<{
12332
+ level: string;
12333
+ message: string;
12334
+ }, void>;
12335
+ 'open-url-with-browser': ApiCall<{
12336
+ url: string;
12337
+ }, void>;
12338
+ 'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
12339
+ 'unregister-custom-protocol': ApiCall<{
12340
+ protocolName: string;
12341
+ }, void>;
12342
+ 'get-custom-protocol-state': ApiCall<{
12343
+ protocolName: string;
12344
+ }, OpenFin_2.CustomProtocolState>;
12345
+ 'release-external-process': ApiCall<{
12346
+ uuid: string;
12347
+ }, void>;
12348
+ 'show-developer-tools': ApiCall<OpenFin_2.Identity, void>;
12349
+ 'terminate-external-process': ApiCall<OpenFin_2.TerminateExternalRequestType, void>;
12350
+ 'update-proxy': ApiCall<OpenFin_2.ProxyConfig, void>;
12351
+ 'download-asset': {
12352
+ request: OpenFin_2.AppAssetInfo & {
12353
+ downloadId: string;
12354
+ };
12355
+ response: void;
12356
+ };
12357
+ 'download-runtime': {
12358
+ request: OpenFin_2.RuntimeDownloadOptions & {
12359
+ downloadId: string;
12360
+ };
12361
+ response: void;
12362
+ };
12363
+ 'download-preload-scripts': ApiCall<{
12364
+ scripts: Array<OpenFin_2.DownloadPreloadOption>;
12365
+ }, Array<OpenFin_2.DownloadPreloadInfo>>;
12366
+ 'get-all-external-applications': ApiCall<void, Array<OpenFin_2.Identity>>;
12367
+ 'get-app-asset-info': ApiCall<OpenFin_2.AppAssetRequest, OpenFin_2.AppAssetInfo>;
12368
+ 'get-cookies': {
12369
+ request: OpenFin_2.CookieOption & {
12370
+ url: string;
12371
+ };
12372
+ response: Array<OpenFin_2.CookieInfo>;
12373
+ };
12374
+ 'set-min-log-level': ApiCall<{
12375
+ level: OpenFin_2.LogLevel;
12376
+ }, void>;
12377
+ 'resolve-uuid': ApiCall<{
12378
+ entityKey: string;
12379
+ }, OpenFin_2.ApplicationType>;
12380
+ 'read-registry-value': ApiCall<{
12381
+ rootKey: string;
12382
+ subkey: string;
12383
+ value: string;
12384
+ }, OpenFin_2.RegistryInfo>;
12385
+ 'register-external-connection': ApiCall<{
12386
+ uuid: string;
12387
+ }, OpenFin_2.ExternalConnection>;
12388
+ 'get-service-configuration': ApiCall<{
12389
+ name: string;
12390
+ }, OpenFin_2.ServiceConfiguration>;
12391
+ 'get-system-app-configuration': ApiCall<{
12392
+ name: string;
12393
+ }, any>;
12394
+ 'run-rvm-health-check': ApiCall<void, string[]>;
11963
12395
  'launch-manifest': {
11964
12396
  request: {
11965
12397
  manifestUrl: string;
@@ -11971,17 +12403,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
11971
12403
  manifest: OpenFin_2.Manifest;
11972
12404
  };
11973
12405
  };
11974
- 'get-system-app-configuration': {
12406
+ 'query-permission-for-current-context': {
11975
12407
  request: {
11976
- name: string;
11977
- };
11978
- response: any;
11979
- };
11980
- 'show-popup-menu': {
11981
- request: OpenFin_2.Identity & {
11982
- options: OpenFin_2.ShowPopupMenuOptions;
12408
+ apiName: string;
12409
+ identity: OpenFin_2.Identity;
11983
12410
  };
11984
- response: OpenFin_2.MenuResult;
12411
+ response: OpenFin_2.QueryPermissionResult;
11985
12412
  };
11986
12413
  'enable-native-window-integration-provider': {
11987
12414
  request: {
@@ -11989,24 +12416,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
11989
12416
  };
11990
12417
  response: OpenFin_2.NativeWindowIntegrationProviderAuthorization;
11991
12418
  };
12419
+ 'register-usage': ApiCall<OpenFin_2.RegisterUsageData, void>;
12420
+ 'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
12421
+ 'system-update-process-logging-options': ApiCall<{
12422
+ options: OpenFin_2.ProcessLoggingOptions;
12423
+ }, void>;
12424
+ 'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
12425
+ 'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
12426
+ domainSettings: OpenFin_2.DefaultDomainSettings;
12427
+ }, void>;
12428
+ 'system-register-shutdown-handler': VoidCall;
11992
12429
  'get-permissions': GetterCall<any>;
11993
- 'get-all-channels': GetterCall<OpenFin_2.ProviderIdentity[]>;
11994
- 'set-file-download-location': {
11995
- request: OpenFin_2.Identity & {
11996
- downloadLocation: string;
11997
- };
11998
- response: void;
11999
- };
12000
- 'get-file-download-location': {
12001
- request: OpenFin_2.ApplicationIdentity;
12002
- response: string;
12003
- };
12004
- 'close-popup-menu': IdentityCall;
12005
12430
  'fdc3-add-context-listener': VoidCall;
12431
+ 'fdc3-add-intent-listener': VoidCall;
12432
+ 'fdc3-raise-intent': VoidCall;
12433
+ 'fdc3-find-intent': VoidCall;
12434
+ 'fdc3-find-intents-by-context': VoidCall;
12435
+ 'fdc3-raise-intent-for-context': VoidCall;
12436
+ 'fdc3-get-info': VoidCall;
12437
+ 'fdc3-find-instances': VoidCall;
12438
+ 'fdc3-get-app-metadata': VoidCall;
12006
12439
  'fdc3-broadcast': VoidCall;
12440
+ 'fdc3-open': VoidCall;
12441
+ 'fdc3-get-or-create-channel': VoidCall;
12007
12442
  'fdc3-get-system-channels': VoidCall;
12008
12443
  'fdc3-join-channel': VoidCall;
12444
+ 'fdc3-get-current-channel': VoidCall;
12009
12445
  'fdc3-leave-current-channel': VoidCall;
12446
+ 'interop-init': VoidCall;
12010
12447
  'interop-connect-sync': VoidCall;
12011
12448
  'interop-client-set-context': VoidCall;
12012
12449
  'interop-client-add-context-handler': VoidCall;
@@ -12015,6 +12452,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
12015
12452
  'interop-client-remove-from-context-group': VoidCall;
12016
12453
  'interop-client-get-all-clients-in-context-group': VoidCall;
12017
12454
  'interop-client-get-info-for-context-group': VoidCall;
12455
+ 'interop-client-fire-intent': VoidCall;
12456
+ 'interop-client-register-intent-handler': VoidCall;
12457
+ 'interop-client-get-current-context': VoidCall;
12458
+ 'interop-client-get-info-for-intent': VoidCall;
12459
+ 'interop-client-get-info-for-intents-by-context': VoidCall;
12460
+ 'interop-client-fire-intent-for-context': VoidCall;
12461
+ 'interop-client-add-ondisconnection-listener': VoidCall;
12018
12462
  'interop-broker-add-client-to-context-group': VoidCall;
12019
12463
  'interop-broker-get-all-clients-in-context-group': VoidCall;
12020
12464
  'interop-broker-get-context-groups': VoidCall;
@@ -12026,13 +12470,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
12026
12470
  'interop-broker-remove-from-context-group': VoidCall;
12027
12471
  'interop-broker-set-context': VoidCall;
12028
12472
  'interop-broker-set-context-for-group': VoidCall;
12029
- 'query-permission-for-current-context': {
12030
- request: {
12031
- apiName: string;
12032
- identity: OpenFin_2.Identity;
12033
- };
12034
- response: OpenFin_2.QueryPermissionResult;
12035
- };
12473
+ 'interop-broker-get-current-context': VoidCall;
12474
+ 'interop-broker-set-intent-target': VoidCall;
12475
+ 'interop-session-context-group-set-context': VoidCall;
12476
+ 'interop-session-context-group-get-context': VoidCall;
12477
+ 'interop-session-context-group-add-handler': VoidCall;
12478
+ 'platform-wrap': VoidCall;
12479
+ 'platform-wrap-sync': VoidCall;
12480
+ 'platform-get-current': VoidCall;
12481
+ 'platform-get-current-sync': VoidCall;
12482
+ 'platform-start': VoidCall;
12483
+ 'platform-start-from-manifest': VoidCall;
12484
+ 'platform-get-client': ApplicationIdentityCall<{}, void>;
12485
+ 'platform-create-view': ApplicationIdentityCall<{}, void>;
12486
+ 'platform-create-window': ApplicationIdentityCall<{}, void>;
12487
+ 'platform-quit': ApplicationIdentityCall<{}, void>;
12488
+ 'platform-close-view': ApplicationIdentityCall<{}, void>;
12489
+ 'platform-reparent-view': ApplicationIdentityCall<{}, void>;
12490
+ 'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
12491
+ 'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
12492
+ 'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
12493
+ 'platform-set-window-context': ApplicationIdentityCall<{}, void>;
12494
+ 'platform-get-window-context': ApplicationIdentityCall<{}, void>;
12495
+ 'platform-close-window': ApplicationIdentityCall<{}, void>;
12496
+ 'layout-wrap': VoidCall;
12497
+ 'layout-wrap-sync': VoidCall;
12498
+ 'layout-get-current': VoidCall;
12499
+ 'layout-get-current-sync': VoidCall;
12500
+ 'layout-init': VoidCall;
12501
+ 'layout-get-config': VoidCall;
12502
+ 'layout-get-views': VoidCall;
12503
+ 'layout-replace': VoidCall;
12504
+ 'layout-get-root-item': VoidCall;
12505
+ 'layout-replace-view': VoidCall;
12506
+ 'layout-apply-preset': VoidCall;
12507
+ 'layout-controller-get-root': VoidCall;
12508
+ 'layout-controller-get-stack-by-view': VoidCall;
12509
+ 'layout-controller-get-stack-views': VoidCall;
12510
+ 'layout-controller-get-content': VoidCall;
12511
+ 'layout-controller-get-parent': VoidCall;
12512
+ 'layout-controller-is-root': VoidCall;
12513
+ 'layout-controller-exists': VoidCall;
12514
+ 'layout-controller-add-view-to-stack': VoidCall;
12515
+ 'layout-controller-remove-view-from-stack': VoidCall;
12516
+ 'layout-controller-create-adjacent-stack': VoidCall;
12517
+ 'layout-controller-get-adjacent-stacks': VoidCall;
12518
+ 'layout-controller-set-stack-active-view': VoidCall;
12519
+ 'snapshot-source-init': VoidCall;
12520
+ 'snapshot-source-wrap-sync': VoidCall;
12521
+ 'snapshot-source-wrap': VoidCall;
12522
+ 'snapshot-source-ready': VoidCall;
12523
+ 'snapshot-source-get-snapshot': VoidCall;
12524
+ 'snapshot-source-apply-snapshot': VoidCall;
12525
+ 'capture-page': IdentityCall<{
12526
+ options?: OpenFin_2.CapturePageOptions;
12527
+ }, string>;
12528
+ 'execute-javascript-in-window': IdentityCall<{
12529
+ code: string;
12530
+ }, unknown>;
12531
+ 'get-zoom-level': IdentityCall<{}, number>;
12532
+ 'set-zoom-level': IdentityCall<{
12533
+ level: number;
12534
+ }, void>;
12535
+ 'navigate-window': IdentityCall<{
12536
+ url: string;
12537
+ }, void>;
12538
+ 'navigate-window-back': IdentityCall<{}, void>;
12539
+ 'navigate-window-forward': IdentityCall<{}, void>;
12540
+ 'stop-window-navigation': IdentityCall<{}, void>;
12541
+ 'reload-window': IdentityCall<{
12542
+ ignoreCache: boolean;
12543
+ }, void>;
12544
+ 'print': IdentityCall<{
12545
+ options: OpenFin_2.PrintOptions;
12546
+ }, void>;
12547
+ 'find-in-page': IdentityCall<{
12548
+ searchTerm: string;
12549
+ options?: OpenFin_2.FindInPageOptions;
12550
+ }, void>;
12551
+ 'stop-find-in-page': IdentityCall<{
12552
+ action: 'clearSelection' | 'keepSelection' | 'activateSelection';
12553
+ }, void>;
12554
+ 'get-printers': IdentityCall<{}, OpenFin_2.PrinterInfo>;
12555
+ 'focus-window': IdentityCall<{
12556
+ emitSynthFocused: boolean;
12557
+ }, void>;
12558
+ 'get-process-info': IdentityCall<{}, OpenFin_2.EntityProcessDetails>;
12559
+ 'get-shared-workers': IdentityCall<{}, OpenFin_2.SharedWorkerInfo[]>;
12560
+ 'inspect-shared-worker': IdentityCall<{}, void>;
12561
+ 'inspect-shared-worker-by-id': IdentityCall<{
12562
+ workerId: string;
12563
+ }, void>;
12564
+ 'inspect-service-worker': IdentityCall<{}, void>;
12565
+ 'view-show-popup-window': IdentityCall<{}, void>;
12566
+ 'window-show-popup-window': IdentityCall<{}, void>;
12036
12567
  'try-create-popup-window': {
12037
12568
  request: OpenFin_2.Identity & {
12038
12569
  options: OpenFin_2.PopupOptions;
@@ -12048,9 +12579,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12048
12579
  };
12049
12580
  response: OpenFin_2.PopupResult;
12050
12581
  };
12051
- 'dispatch-popup-result': IdentityCall<{
12052
- data: any;
12053
- }>;
12054
12582
  'render-overlay': {
12055
12583
  request: {
12056
12584
  bounds: OpenFin_2.Bounds;
@@ -12070,40 +12598,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12070
12598
  };
12071
12599
  response: void;
12072
12600
  };
12073
- 'get-host-specs': GetterCall<OpenFin_2.HostSpecs>;
12074
- 'get-os-info': GetterCall<OpenFin_2.OSInfo>;
12075
- 'system-get-printers': GetterCall<OpenFin_2.PrinterInfo[]>;
12076
- 'system-register-shutdown-handler': VoidCall;
12077
- 'get-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity, OpenFin_2.DefaultDomainSettings>;
12078
- 'set-domain-settings': ApiCall<OpenFin_2.ApplicationIdentity & {
12079
- domainSettings: OpenFin_2.DefaultDomainSettings;
12080
- }, void>;
12081
- 'move-window-by': IdentityCall<WithPositioningOptions<{
12082
- deltaLeft: number;
12083
- deltaTop: number;
12084
- }>>;
12085
- 'move-window': IdentityCall<WithPositioningOptions<{
12086
- left: number;
12087
- top: number;
12088
- }>>;
12089
- 'resize-window-by': IdentityCall<WithPositioningOptions<{
12090
- deltaWidth: number;
12091
- deltaHeight: number;
12092
- anchor: OpenFin_2.AnchorType;
12093
- }>>;
12094
- 'resize-window': IdentityCall<WithPositioningOptions<{
12095
- width: number;
12096
- height: number;
12097
- anchor: OpenFin_2.AnchorType;
12098
- }>>;
12099
- 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin_2.Bounds>>>;
12100
- 'register-custom-protocol': ApiCall<OpenFin_2.CustomProtocolOptions, void>;
12101
- 'unregister-custom-protocol': ApiCall<{
12102
- protocolName: string;
12103
- }, void>;
12104
- 'get-custom-protocol-state': ApiCall<{
12105
- protocolName: string;
12106
- }, OpenFin_2.CustomProtocolState>;
12107
12601
  }
12108
12602
 
12109
12603
  declare interface ProtocolMapBase {
@@ -12133,7 +12627,7 @@ declare type ProviderIdentity_3 = OpenFin_2.ProviderIdentity;
12133
12627
  * Identity of a channel provider.
12134
12628
  * @interface
12135
12629
  */
12136
- declare type ProviderIdentity_4 = Identity_5 & {
12630
+ declare type ProviderIdentity_4 = Identity_4 & {
12137
12631
  /**
12138
12632
  * Identifier of the channel.
12139
12633
  */
@@ -12144,12 +12638,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
12144
12638
  channelName: string;
12145
12639
  };
12146
12640
 
12147
- declare type ProxyConfig = OpenFin_2.ProxyConfig;
12148
-
12149
12641
  /**
12150
12642
  * @interface
12151
12643
  */
12152
- declare type ProxyConfig_2 = {
12644
+ declare type ProxyConfig = {
12153
12645
  /**
12154
12646
  * The configured proxy address.
12155
12647
  */
@@ -12161,13 +12653,11 @@ declare type ProxyConfig_2 = {
12161
12653
  type: string;
12162
12654
  };
12163
12655
 
12164
- declare type ProxyInfo = OpenFin_2.ProxyInfo;
12165
-
12166
12656
  /**
12167
12657
  * @interface
12168
12658
  */
12169
- declare type ProxyInfo_2 = {
12170
- config: ProxyConfig_2;
12659
+ declare type ProxyInfo = {
12660
+ config: ProxyConfig;
12171
12661
  system: ProxySystemInfo;
12172
12662
  };
12173
12663
 
@@ -12273,12 +12763,10 @@ declare type RegisterUsageData = {
12273
12763
  type: string;
12274
12764
  };
12275
12765
 
12276
- declare type RegistryInfo = OpenFin_2.RegistryInfo;
12277
-
12278
12766
  /**
12279
12767
  * @interface
12280
12768
  */
12281
- declare type RegistryInfo_2 = {
12769
+ declare type RegistryInfo = {
12282
12770
  data: any;
12283
12771
  rootKey: string;
12284
12772
  subkey: string;
@@ -12299,6 +12787,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
12299
12787
  token: string;
12300
12788
  }
12301
12789
 
12790
+ /**
12791
+ * Generated when a View is removed from a layout.
12792
+ * @interface
12793
+ */
12794
+ declare type RemovedFromLayoutEvent = BaseEvent_4 & {
12795
+ type: 'removed-from-layout';
12796
+ layoutIdentity: OpenFin_2.LayoutIdentity;
12797
+ };
12798
+
12302
12799
  /**
12303
12800
  * @interface
12304
12801
  */
@@ -12327,14 +12824,14 @@ declare type ReplaceLayoutPayload = {
12327
12824
  /**
12328
12825
  * Identity of the window whose layout will be replaced.
12329
12826
  */
12330
- target: Identity_5 | LayoutIdentity;
12827
+ target: Identity_4 | LayoutIdentity;
12331
12828
  };
12332
12829
 
12333
12830
  /**
12334
12831
  * @interface
12335
12832
  */
12336
12833
  declare type ReplaceViewOptions = {
12337
- viewToReplace: Identity_5;
12834
+ viewToReplace: Identity_4;
12338
12835
  newView: ViewState;
12339
12836
  };
12340
12837
 
@@ -12343,7 +12840,7 @@ declare type ReplaceViewOptions = {
12343
12840
  */
12344
12841
  declare type ReplaceViewPayload = {
12345
12842
  opts: {
12346
- viewToReplace: Identity_5;
12843
+ viewToReplace: Identity_4;
12347
12844
  newView: Partial<ViewOptions>;
12348
12845
  };
12349
12846
  target: LayoutIdentity;
@@ -12709,7 +13206,7 @@ declare type SetWindowContextPayload = {
12709
13206
  /**
12710
13207
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
12711
13208
  */
12712
- target: Identity_5;
13209
+ target: Identity_4;
12713
13210
  };
12714
13211
 
12715
13212
  /**
@@ -13159,7 +13656,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13159
13656
  * fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
13160
13657
  * ```
13161
13658
  */
13162
- getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
13659
+ getAllWindows(): Promise<Array<OpenFin_2.ApplicationWindowInfo>>;
13163
13660
  /**
13164
13661
  * Retrieves an array of data for all applications.
13165
13662
  *
@@ -13168,7 +13665,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13168
13665
  * fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
13169
13666
  * ```
13170
13667
  */
13171
- getAllApplications(): Promise<Array<ApplicationState>>;
13668
+ getAllApplications(): Promise<Array<OpenFin_2.ApplicationState>>;
13172
13669
  /**
13173
13670
  * Retrieves the command line argument string that started OpenFin Runtime.
13174
13671
  *
@@ -13243,7 +13740,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13243
13740
  * }
13244
13741
  * ```
13245
13742
  */
13246
- getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
13743
+ getEntityInfo(uuid: string, name: string): Promise<OpenFin_2.EntityInfo>;
13247
13744
  /**
13248
13745
  * Gets the value of a given environment variable on the computer on which the runtime is installed
13249
13746
  *
@@ -13285,7 +13782,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13285
13782
  * ```
13286
13783
  */
13287
13784
  getInstalledRuntimes(): Promise<string[]>;
13288
- getInstalledApps(): Promise<InstalledApps>;
13785
+ getInstalledApps(): Promise<OpenFin_2.InstalledApps>;
13289
13786
  /**
13290
13787
  * Retrieves the contents of the log with the specified filename.
13291
13788
  * @param options A object that id defined by the GetLogRequestType interface
@@ -13300,7 +13797,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13300
13797
  * getLog().then(log => console.log(log)).catch(err => console.log(err));
13301
13798
  * ```
13302
13799
  */
13303
- getLog(options: GetLogRequestType): Promise<string>;
13800
+ getLog(options: OpenFin_2.GetLogRequestType): Promise<string>;
13304
13801
  /**
13305
13802
  * Returns a unique identifier (UUID) provided by the machine.
13306
13803
  *
@@ -13318,7 +13815,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13318
13815
  * fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
13319
13816
  * ```
13320
13817
  */
13321
- getMinLogLevel(): Promise<LogLevel>;
13818
+ getMinLogLevel(): Promise<OpenFin_2.LogLevel>;
13322
13819
  /**
13323
13820
  * Retrieves an array containing information for each log file.
13324
13821
  *
@@ -13327,7 +13824,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13327
13824
  * fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
13328
13825
  * ```
13329
13826
  */
13330
- getLogList(): Promise<Array<LogInfo>>;
13827
+ getLogList(): Promise<Array<OpenFin_2.LogInfo>>;
13331
13828
  /**
13332
13829
  * Retrieves an object that contains data about the monitor setup of the
13333
13830
  * computer that the runtime is running on.
@@ -13398,7 +13895,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13398
13895
  * }
13399
13896
  * ```
13400
13897
  */
13401
- getProxySettings(): Promise<ProxyInfo>;
13898
+ getProxySettings(): Promise<OpenFin_2.ProxyInfo>;
13402
13899
  /**
13403
13900
  * Returns information about the running Runtime in an object.
13404
13901
  *
@@ -13765,7 +14262,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13765
14262
  * }
13766
14263
  * ```
13767
14264
  */
13768
- launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity_2>;
14265
+ launchExternalProcess(options: OpenFin_2.ExternalProcessRequestType): Promise<Identity>;
13769
14266
  /**
13770
14267
  * Monitors a running process. A pid for the process must be included in options.
13771
14268
  * <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
@@ -13782,7 +14279,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13782
14279
  * }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
13783
14280
  * ```
13784
14281
  */
13785
- monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity_2>;
14282
+ monitorExternalProcess(options: OpenFin_2.ExternalProcessInfo): Promise<Identity>;
13786
14283
  /**
13787
14284
  * Writes the passed message into both the log file and the console.
13788
14285
  * @param level The log level for the entry. Can be either "info", "warning" or "error"
@@ -13916,7 +14413,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13916
14413
  *
13917
14414
  * @tutorial System.showDeveloperTools
13918
14415
  */
13919
- showDeveloperTools(identity: Identity_2): Promise<void>;
14416
+ showDeveloperTools(identity: Identity): Promise<void>;
13920
14417
  /**
13921
14418
  * Attempt to close an external process. The process will be terminated if it
13922
14419
  * has not closed after the elapsed timeout in milliseconds.
@@ -13950,7 +14447,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
13950
14447
  * .catch(err => console.error(err));
13951
14448
  * ```
13952
14449
  */
13953
- updateProxySettings(options: ProxyConfig): Promise<void>;
14450
+ updateProxySettings(options: OpenFin_2.ProxyConfig): Promise<void>;
13954
14451
  /**
13955
14452
  * Downloads the given application asset.
13956
14453
  *
@@ -14042,7 +14539,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14042
14539
  * .catch(err => console.log(err));
14043
14540
  * ```
14044
14541
  */
14045
- getAllExternalApplications(): Promise<Array<Identity_2>>;
14542
+ getAllExternalApplications(): Promise<Array<Identity>>;
14046
14543
  /**
14047
14544
  * Retrieves app asset information.
14048
14545
  * @param options
@@ -14071,7 +14568,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14071
14568
  * fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
14072
14569
  * ```
14073
14570
  */
14074
- setMinLogLevel(level: LogLevel): Promise<void>;
14571
+ setMinLogLevel(level: OpenFin_2.LogLevel): Promise<void>;
14075
14572
  /**
14076
14573
  * Retrieves the UUID of the computer on which the runtime is installed
14077
14574
  * @param uuid The uuid of the running application
@@ -14081,7 +14578,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14081
14578
  * fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
14082
14579
  * ```
14083
14580
  */
14084
- resolveUuid(uuid: string): Promise<Entity>;
14581
+ resolveUuid(uuid: string): Promise<OpenFin_2.ApplicationType>;
14085
14582
  /**
14086
14583
  * Retrieves an array of data for all external applications
14087
14584
  * @param requestingIdentity This object is described in the Identity typedef
@@ -14089,7 +14586,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14089
14586
  *
14090
14587
  * @ignore
14091
14588
  */
14092
- executeOnRemote(requestingIdentity: Identity_2, data: any): Promise<any>;
14589
+ executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
14093
14590
  /**
14094
14591
  * Reads the specifed value from the registry.
14095
14592
  * @remarks This method is restricted by default and must be enabled via
@@ -14182,7 +14679,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14182
14679
  * }
14183
14680
  * ```
14184
14681
  */
14185
- readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
14682
+ readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin_2.RegistryInfo>;
14186
14683
  /**
14187
14684
  * This function call will register a unique id and produce a token.
14188
14685
  * The token can be used to broker an external connection.
@@ -14397,7 +14894,7 @@ declare class System extends EmitterBase<OpenFin_2.SystemEvent> {
14397
14894
  * });
14398
14895
  * ```
14399
14896
  */
14400
- getPrinters(): Promise<PrinterInfo[]>;
14897
+ getPrinters(): Promise<OpenFin_2.PrinterInfo[]>;
14401
14898
  /**
14402
14899
  * Updates Process Logging values: periodic interval and outlier detection entries and interval.
14403
14900
  * @param options Process Logging updatable options.
@@ -15023,14 +15520,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15023
15520
  declare type UserAppConfigArgs = Record<string, string | string[]>;
15024
15521
 
15025
15522
  /**
15026
- * A general user bounds change event without event type.
15523
+ * An event that fires when a window's bounds are changed directly by the user.
15524
+ *
15027
15525
  * @interface
15028
15526
  */
15029
- declare type UserBoundsChangeEvent = BaseEvent_5 & {
15030
- height: number;
15031
- left: number;
15032
- top: number;
15033
- width: number;
15527
+ declare type UserBoundsChangeEvent = BoundsEvent & {
15034
15528
  windowState: 'minimized' | 'normal' | 'maximized';
15035
15529
  };
15036
15530
 
@@ -15362,7 +15856,7 @@ declare class View_2 extends WebContents<OpenFin_2.ViewEvent> {
15362
15856
  */
15363
15857
  getInfo: () => Promise<OpenFin_2.ViewInfo>;
15364
15858
  /**
15365
- * Retrieves the layout for the window the view is attached to.
15859
+ * Retrieves the OpenFin.Layout instance for the Window the View is attached to.
15366
15860
  *
15367
15861
  * @example
15368
15862
  * ```js
@@ -15570,7 +16064,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
15570
16064
  declare type ViewCreationOptions = Partial<ViewOptions> & {
15571
16065
  name: string;
15572
16066
  url: string;
15573
- target: Identity_5;
16067
+ target: Identity_4;
15574
16068
  };
15575
16069
 
15576
16070
  declare type ViewCreationOrReference = OpenFin_2.Identity | OpenFin_2.PlatformViewCreationOptions;
@@ -15599,6 +16093,8 @@ declare namespace ViewEvents {
15599
16093
  BaseEvent_4 as BaseEvent,
15600
16094
  BaseViewEvent,
15601
16095
  TargetChangedEvent,
16096
+ AddedToLayoutEvent,
16097
+ RemovedFromLayoutEvent,
15602
16098
  NonPropagatedViewEvent,
15603
16099
  CreatedEvent,
15604
16100
  DestroyedEvent,
@@ -15754,15 +16250,15 @@ declare interface ViewsPreventingUnloadPayload {
15754
16250
  /**
15755
16251
  * Identity of the Window.
15756
16252
  */
15757
- windowId: Identity_5;
16253
+ windowId: Identity_4;
15758
16254
  /**
15759
16255
  * Identities of the Views that are preventing an unload
15760
16256
  */
15761
- viewsPreventingUnload: Identity_5[];
16257
+ viewsPreventingUnload: Identity_4[];
15762
16258
  /**
15763
16259
  * Identities of the Views that are not preventing an unload
15764
16260
  */
15765
- viewsNotPreventingUnload: Identity_5[];
16261
+ viewsNotPreventingUnload: Identity_4[];
15766
16262
  /**
15767
16263
  * Source of the close action.
15768
16264
  */
@@ -15787,11 +16283,11 @@ declare interface ViewStatuses {
15787
16283
  /**
15788
16284
  * Identities of the Views that are preventing an unload.
15789
16285
  */
15790
- viewsPreventingUnload: Identity_5[];
16286
+ viewsPreventingUnload: Identity_4[];
15791
16287
  /**
15792
16288
  * Identities of the Views that are not preventing an unload.
15793
16289
  */
15794
- viewsNotPreventingUnload: Identity_5[];
16290
+ viewsNotPreventingUnload: Identity_4[];
15795
16291
  }
15796
16292
 
15797
16293
  /**
@@ -16296,7 +16792,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
16296
16792
  * We do not expose an explicit superclass for this functionality, but it does have its own
16297
16793
  * {@link OpenFin.WebContentsEvents event namespace}.
16298
16794
  */
16299
- stopFindInPage(action: string): Promise<void>;
16795
+ stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
16300
16796
  /**
16301
16797
  * Returns an array with all system printers
16302
16798
  * @deprecated use System.getPrinters instead
@@ -16889,11 +17385,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
16889
17385
  * A general will-move or will-resize event without event type.
16890
17386
  * @interface
16891
17387
  */
16892
- declare type WillMoveOrResizeEvent = BaseEvent_5 & {
16893
- height: number;
16894
- left: number;
16895
- top: number;
16896
- width: number;
17388
+ declare type WillMoveOrResizeEvent = BoundsEvent & {
16897
17389
  monitorScaleFactor: number;
16898
17390
  };
16899
17391
 
@@ -18088,16 +18580,21 @@ declare namespace WindowEvents {
18088
18580
  PreloadScriptInfoRunning,
18089
18581
  PreloadScriptInfo,
18090
18582
  PreloadScriptsStateChangeEvent,
18091
- UserBoundsChangeEvent,
18583
+ BoundsEvent,
18092
18584
  BoundsChangeEvent,
18093
18585
  WillMoveOrResizeEvent,
18586
+ BoundsDidChangeEvent,
18587
+ BoundsChangedEvent,
18588
+ BoundsChangingEvent,
18589
+ DisabledMovementBoundsChangedEvent,
18590
+ DisabledMovementBoundsChangingEvent,
18591
+ UserBoundsChangeEvent,
18592
+ BeginUserBoundsChangingEvent,
18593
+ EndUserBoundsChangingEvent,
18094
18594
  PerformanceReportEvent,
18095
18595
  InputEvent_2 as InputEvent,
18096
18596
  LayoutInitializedEvent,
18097
18597
  LayoutReadyEvent,
18098
- BeginUserBoundsChangingEvent,
18099
- BoundsChangedEvent,
18100
- BoundsChangingEvent,
18101
18598
  CloseRequestedEvent,
18102
18599
  WindowCloseRequestedEvent,
18103
18600
  ContextChangedEvent,
@@ -18105,10 +18602,7 @@ declare namespace WindowEvents {
18105
18602
  WindowClosedEvent,
18106
18603
  ClosingEvent,
18107
18604
  WindowClosingEvent,
18108
- DisabledMovementBoundsChangedEvent,
18109
- DisabledMovementBoundsChangingEvent,
18110
18605
  EmbeddedEvent,
18111
- EndUserBoundsChangingEvent,
18112
18606
  HotkeyEvent_2 as HotkeyEvent,
18113
18607
  WindowHotkeyEvent,
18114
18608
  InitializedEvent_2 as InitializedEvent,