@openfin/fdc3-api 39.83.3 → 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/fdc3-api.d.ts CHANGED
@@ -58,7 +58,7 @@ declare type AddedToLayoutEvent = BaseEvent_4 & {
58
58
  */
59
59
  declare type AddViewOptions = CreateViewTarget & {
60
60
  options: ViewState;
61
- targetView?: Identity_5;
61
+ targetView?: Identity_4;
62
62
  };
63
63
 
64
64
  /**
@@ -936,15 +936,15 @@ declare namespace ApplicationEvents {
936
936
  */
937
937
  declare type ApplicationEventType = EventType_3;
938
938
 
939
- declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
940
-
941
939
  /**
942
940
  * @interface
943
941
  */
944
- declare type ApplicationIdentity_2 = {
942
+ declare type ApplicationIdentity = {
945
943
  uuid: string;
946
944
  };
947
945
 
946
+ declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
947
+
948
948
  /**
949
949
  * @interface
950
950
  */
@@ -1317,12 +1317,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
1317
1317
  */
1318
1318
  declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
1319
1319
 
1320
- declare type ApplicationState = OpenFin.ApplicationState;
1321
-
1322
1320
  /**
1323
1321
  * @interface
1324
1322
  */
1325
- declare type ApplicationState_2 = {
1323
+ declare type ApplicationState = {
1326
1324
  /**
1327
1325
  * True when the application is a Platform controller
1328
1326
  */
@@ -1354,12 +1352,10 @@ declare type ApplicationType = {
1354
1352
  */
1355
1353
  declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
1356
1354
 
1357
- declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
1358
-
1359
1355
  /**
1360
1356
  * @interface
1361
1357
  */
1362
- declare type ApplicationWindowInfo_2 = {
1358
+ declare type ApplicationWindowInfo = {
1363
1359
  childWindows: Array<WindowDetail>;
1364
1360
  mainWindow: WindowDetail;
1365
1361
  /**
@@ -1635,7 +1631,7 @@ declare class Base {
1635
1631
  * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1636
1632
  * guaranteed to behave sensibly in all calling contexts.
1637
1633
  */
1638
- get me(): Identity;
1634
+ get me(): OpenFin.Identity;
1639
1635
  /**
1640
1636
  * @internal
1641
1637
  * @deprecated
@@ -1867,11 +1863,12 @@ declare type BeforeUnloadUserDecision = {
1867
1863
  /**
1868
1864
  * Array of views that will close.
1869
1865
  */
1870
- viewsToClose: Identity_5[];
1866
+ viewsToClose: Identity_4[];
1871
1867
  };
1872
1868
 
1873
1869
  /**
1874
1870
  * Generated at the beginning of a user-driven change to a window's size or position.
1871
+ *
1875
1872
  * @interface
1876
1873
  */
1877
1874
  declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
@@ -1912,31 +1909,33 @@ declare type Bounds = {
1912
1909
  * Generated after changes in a window's size and/or position.
1913
1910
  * @interface
1914
1911
  */
1915
- declare type BoundsChangedEvent = BoundsChangeEvent & {
1912
+ declare type BoundsChangedEvent = BoundsDidChangeEvent & {
1916
1913
  type: 'bounds-changed';
1917
1914
  };
1918
1915
 
1919
- /**
1920
- * A general bounds change event without event type.
1921
- * @interface
1922
- */
1923
- declare type BoundsChangeEvent = BaseEvent_5 & {
1916
+ declare type BoundsChangeEvent = BoundsEvent & {
1924
1917
  changeType: 0 | 1 | 2;
1925
- deferred: boolean;
1926
- height: number;
1927
- left: number;
1928
- top: number;
1929
- width: number;
1930
1918
  };
1931
1919
 
1932
1920
  /**
1933
1921
  * Generated during changes to a window's size and/or position.
1934
1922
  * @interface
1935
1923
  */
1936
- declare type BoundsChangingEvent = BoundsChangeEvent & {
1924
+ declare type BoundsChangingEvent = BoundsDidChangeEvent & {
1937
1925
  type: 'bounds-changing';
1938
1926
  };
1939
1927
 
1928
+ /**
1929
+ * An event that fires when a window's bounds are successfully changed.
1930
+ *
1931
+ * @interface
1932
+ */
1933
+ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1934
+ reason: 'self' | 'animation';
1935
+ };
1936
+
1937
+ declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
1938
+
1940
1939
  /**
1941
1940
  * A rule prescribing content creation in the browser.
1942
1941
  *
@@ -3042,7 +3041,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
3042
3041
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
3043
3042
  * @interface
3044
3043
  */
3045
- declare type ClientIdentity = Identity_5 & {
3044
+ declare type ClientIdentity = Identity_4 & {
3046
3045
  /**
3047
3046
  * Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
3048
3047
  */
@@ -3275,7 +3274,7 @@ declare type CloseViewOptions = {
3275
3274
  /**
3276
3275
  *View to be closed.
3277
3276
  */
3278
- viewIdentity: Identity_5;
3277
+ viewIdentity: Identity_4;
3279
3278
  };
3280
3279
 
3281
3280
  /**
@@ -3285,7 +3284,7 @@ declare type CloseViewPayload = {
3285
3284
  /**
3286
3285
  *View to be closed.
3287
3286
  */
3288
- view: Identity_5;
3287
+ view: Identity_4;
3289
3288
  /**
3290
3289
  * The target layout identity where this view should be closed. If not provided, will resolve to the
3291
3290
  * visible layout.
@@ -3303,7 +3302,7 @@ declare interface CloseWindowPayload {
3303
3302
  *
3304
3303
  * Identity of the Window
3305
3304
  */
3306
- windowId: Identity_5;
3305
+ windowId: Identity_4;
3307
3306
  options: {
3308
3307
  /**
3309
3308
  * @defaultValue false
@@ -3424,7 +3423,7 @@ declare type ConstViewOptions = {
3424
3423
  /**
3425
3424
  * The identity of the window this view should be attached to.
3426
3425
  */
3427
- target: Identity_5;
3426
+ target: Identity_4;
3428
3427
  /**
3429
3428
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3430
3429
  */
@@ -3649,7 +3648,7 @@ declare type ConstWindowOptions = {
3649
3648
  /**
3650
3649
  * Parent identity of a modal window. It will create a modal child window when this option is set.
3651
3650
  */
3652
- modalParentIdentity: Identity_5;
3651
+ modalParentIdentity: Identity_4;
3653
3652
  /**
3654
3653
  * The name of the window.
3655
3654
  */
@@ -3667,7 +3666,9 @@ declare type ConstWindowOptions = {
3667
3666
  */
3668
3667
  preloadScripts: PreloadScript[];
3669
3668
  /**
3670
- * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
3669
+ * String tag that attempts to group like-tagged renderers together.
3670
+ * 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.
3671
+ * @remarks Will only be used if pages are on the same origin.
3671
3672
  */
3672
3673
  processAffinity: string;
3673
3674
  /**
@@ -3714,11 +3715,6 @@ declare type ConstWindowOptions = {
3714
3715
  * @deprecated - use `icon` instead.
3715
3716
  */
3716
3717
  taskbarIcon: string;
3717
- /**
3718
- * Specify a taskbar group for the window.
3719
- * _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
3720
- */
3721
- taskbarIconGroup: string;
3722
3718
  /**
3723
3719
  * @defaultValue "about:blank"
3724
3720
  *
@@ -4133,13 +4129,13 @@ declare type CreateViewPayload = {
4133
4129
  * Window the view will be added to. If no target is provided, a new window will be created.
4134
4130
  */
4135
4131
  target?: CreateViewTarget;
4136
- targetView?: Identity_5;
4132
+ targetView?: Identity_4;
4137
4133
  };
4138
4134
 
4139
4135
  /**
4140
4136
  * @interface
4141
4137
  */
4142
- declare type CreateViewTarget = (Identity_5 | LayoutIdentity) & {
4138
+ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4143
4139
  /**
4144
4140
  * If specified, view creation will not attach to a window and caller must
4145
4141
  * insert the view into the layout explicitly
@@ -4585,7 +4581,7 @@ declare type EmitterAccessor = string[];
4585
4581
  declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
4586
4582
  #private;
4587
4583
  private topic;
4588
- protected identity: ApplicationIdentity;
4584
+ protected identity: OpenFin.ApplicationIdentity;
4589
4585
  constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
4590
4586
  eventNames: () => (string | symbol)[];
4591
4587
  /**
@@ -4665,20 +4661,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
4665
4661
 
4666
4662
  /**
4667
4663
  * Generated at the end of a user-driven change to a window's size or position.
4664
+ *
4668
4665
  * @interface
4669
4666
  */
4670
4667
  declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
4671
4668
  type: 'end-user-bounds-changing';
4672
4669
  };
4673
4670
 
4674
- declare type Entity = OpenFin.ApplicationType;
4675
-
4676
- declare type EntityInfo = OpenFin.EntityInfo;
4677
-
4678
4671
  /**
4679
4672
  * @interface
4680
4673
  */
4681
- declare type EntityInfo_2 = {
4674
+ declare type EntityInfo = {
4682
4675
  uuid: string;
4683
4676
  name: string;
4684
4677
  entityType: EntityType_4;
@@ -4764,6 +4757,7 @@ declare interface Environment {
4764
4757
  getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
4765
4758
  fdc3Version?: Version;
4766
4759
  }>;
4760
+ getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
4767
4761
  readonly type: EnvironmentType;
4768
4762
  }
4769
4763
 
@@ -5048,7 +5042,7 @@ declare type ExternalApplicationEventType = EventType_4;
5048
5042
  * @interface
5049
5043
  */
5050
5044
  declare type ExternalApplicationInfo = {
5051
- parent: Identity_5;
5045
+ parent: Identity_4;
5052
5046
  };
5053
5047
 
5054
5048
  /**
@@ -5856,7 +5850,7 @@ declare type FrameInfo = {
5856
5850
  uuid: string;
5857
5851
  url: string;
5858
5852
  entityType: EntityType_4;
5859
- parent: Identity_5;
5853
+ parent: Identity_4;
5860
5854
  };
5861
5855
 
5862
5856
  /**
@@ -5931,12 +5925,10 @@ declare type FrameProcessDetails = ProcessDetails & {
5931
5925
  entityType: string;
5932
5926
  };
5933
5927
 
5934
- declare type GetLogRequestType = OpenFin.GetLogRequestType;
5935
-
5936
5928
  /**
5937
5929
  * @interface
5938
5930
  */
5939
- declare type GetLogRequestType_2 = {
5931
+ declare type GetLogRequestType = {
5940
5932
  /**
5941
5933
  * The name of the running application
5942
5934
  */
@@ -5956,7 +5948,7 @@ declare type GetWindowContextPayload = {
5956
5948
  /**
5957
5949
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
5958
5950
  */
5959
- target: Identity_5;
5951
+ target: Identity_4;
5960
5952
  };
5961
5953
 
5962
5954
  /**
@@ -6225,8 +6217,6 @@ declare type Identity_2 = OpenFin.Identity;
6225
6217
 
6226
6218
  declare type Identity_3 = OpenFin.Identity;
6227
6219
 
6228
- declare type Identity_4 = OpenFin.Identity;
6229
-
6230
6220
  /**
6231
6221
  * Unique identifier for a window, view or iframe.
6232
6222
  *
@@ -6235,7 +6225,7 @@ declare type Identity_4 = OpenFin.Identity;
6235
6225
  *
6236
6226
  * @interface
6237
6227
  */
6238
- declare type Identity_5 = {
6228
+ declare type Identity_4 = {
6239
6229
  /**
6240
6230
  * Universally unique identifier of the application that owns the component.
6241
6231
  */
@@ -6397,12 +6387,10 @@ declare type InstallationInfo = {
6397
6387
  cachedManifest: any;
6398
6388
  };
6399
6389
 
6400
- declare type InstalledApps = OpenFin.InstalledApps;
6401
-
6402
6390
  /**
6403
6391
  * @interface
6404
6392
  */
6405
- declare type InstalledApps_2 = {
6393
+ declare type InstalledApps = {
6406
6394
  [key: string]: InstallationInfo;
6407
6395
  };
6408
6396
 
@@ -7188,7 +7176,7 @@ declare class InteropBroker extends Base {
7188
7176
  * @param _id the identity tryinc to connect
7189
7177
  * @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
7190
7178
  */
7191
- isConnectionAuthorized(_id: Identity_3, _connectionPayload?: any): Promise<boolean> | boolean;
7179
+ isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
7192
7180
  /**
7193
7181
  * Called before every action to check if this entity should be allowed to take the action.
7194
7182
  * Return false to prevent the action
@@ -7989,6 +7977,10 @@ declare type LaunchIntoPlatformPayload = {
7989
7977
  */
7990
7978
  declare class Layout extends Base {
7991
7979
  #private;
7980
+ /**
7981
+ * @internal
7982
+ */
7983
+ static getClient(layout: Layout): Promise<LayoutEntitiesClient>;
7992
7984
  /**
7993
7985
  * @internal
7994
7986
  */
@@ -8094,6 +8086,17 @@ declare class Layout extends Base {
8094
8086
  * ```
8095
8087
  */
8096
8088
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
8089
+ /**
8090
+ * Retrieves the OpenFin.TabStack instance which the View belongs to.
8091
+ *
8092
+ * @example
8093
+ * ```js
8094
+ * const viewIdentity = { uuid: 'uuid', name: 'view-name' };
8095
+ * const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
8096
+ * console.log(await stack.getViews());
8097
+ * ```
8098
+ */
8099
+ getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
8097
8100
  /**
8098
8101
  * Replaces the specified view with a view with the provided configuration.
8099
8102
  *
@@ -8120,7 +8123,7 @@ declare class Layout extends Base {
8120
8123
  * await layout.replaceView(viewToReplace.identity, newViewConfig);
8121
8124
  * ```
8122
8125
  */
8123
- replaceView: (viewToReplace: Identity_4, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
8126
+ replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
8124
8127
  /**
8125
8128
  * Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
8126
8129
  * The preset options are `columns`, `grid`, `rows`, and `tabs`.
@@ -8175,7 +8178,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
8175
8178
  /**
8176
8179
  * The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
8177
8180
  */
8178
- declare type LayoutDOMEvent = Identity_5 & {
8181
+ declare type LayoutDOMEvent = Identity_4 & {
8179
8182
  type: string;
8180
8183
  topic: 'openfin-DOM-event';
8181
8184
  tabSelector: string;
@@ -8236,7 +8239,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
8236
8239
  /**
8237
8240
  * @interface
8238
8241
  */
8239
- declare type LayoutIdentity = Identity_5 & {
8242
+ declare type LayoutIdentity = Identity_4 & {
8240
8243
  /**
8241
8244
  * The name of the layout in a given window.
8242
8245
  */
@@ -8345,7 +8348,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8345
8348
  * @param identity
8346
8349
  * @returns LayoutIdentity | undefined
8347
8350
  */
8348
- resolveLayoutIdentity(identity?: Identity_5 | LayoutIdentity): LayoutIdentity | undefined;
8351
+ resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
8349
8352
  /**
8350
8353
  * @experimental
8351
8354
  *
@@ -8362,7 +8365,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8362
8365
  /**
8363
8366
  * @experimental
8364
8367
  */
8365
- getLayoutIdentityForView(viewIdentity: Identity_5): LayoutIdentity;
8368
+ getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
8366
8369
  /**
8367
8370
  * @experimental
8368
8371
  */
@@ -8463,6 +8466,17 @@ declare class LayoutModule extends Base {
8463
8466
  * ```
8464
8467
  */
8465
8468
  getCurrentSync(): OpenFin.Layout;
8469
+ /**
8470
+ * Retrieves the OpenFin.Layout instance for the Window the View is attached to.
8471
+ *
8472
+ * @example
8473
+ * ```js
8474
+ * const viewIdentity = { uuid: 'uuid', name: 'view-name' };
8475
+ * const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
8476
+ * console.log(await layout.getCurrentViews());
8477
+ * ```
8478
+ */
8479
+ getLayoutByViewIdentity(viewIdentity: OpenFin.Identity): Promise<OpenFin.Layout>;
8466
8480
  /**
8467
8481
  * Initialize the window's Layout.
8468
8482
  *
@@ -8836,12 +8850,10 @@ declare type Listener<T extends {
8836
8850
  type: string;
8837
8851
  }> = (payload: T) => void;
8838
8852
 
8839
- declare type LogInfo = OpenFin.LogInfo;
8840
-
8841
8853
  /**
8842
8854
  * @interface
8843
8855
  */
8844
- declare type LogInfo_2 = {
8856
+ declare type LogInfo = {
8845
8857
  /**
8846
8858
  * The filename of the log
8847
8859
  */
@@ -8856,8 +8868,6 @@ declare type LogInfo_2 = {
8856
8868
  date: string;
8857
8869
  };
8858
8870
 
8859
- declare type LogLevel = OpenFin.LogLevel;
8860
-
8861
8871
  /**
8862
8872
  * Describes the minimum level (inclusive) above which logs will be written.
8863
8873
  *
@@ -8867,7 +8877,7 @@ declare type LogLevel = OpenFin.LogLevel;
8867
8877
  * `error` and above<br>
8868
8878
  * `fatal`: fatal only, indicates a crash is imminent
8869
8879
  */
8870
- declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8880
+ declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8871
8881
 
8872
8882
  declare type LogUploaderUIOptions = {
8873
8883
  title?: string;
@@ -9520,6 +9530,12 @@ declare type MutableWindowOptions = {
9520
9530
  * Shows the window's icon in the taskbar.
9521
9531
  */
9522
9532
  showTaskbarIcon: boolean;
9533
+ /**
9534
+ * Specify a taskbar group for the window.
9535
+ * _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
9536
+ * @remarks It's only updatable when `enableJumpList` is set to false.
9537
+ */
9538
+ taskbarIconGroup: string;
9523
9539
  interop: InteropConfig;
9524
9540
  /**
9525
9541
  * @internal
@@ -9717,13 +9733,13 @@ declare namespace OpenFin {
9717
9733
  LayoutPosition,
9718
9734
  WebContent,
9719
9735
  PlatformProvider,
9720
- ApplicationIdentity_2 as ApplicationIdentity,
9721
- Identity_5 as Identity,
9736
+ ApplicationIdentity,
9737
+ Identity_4 as Identity,
9722
9738
  ClientIdentity,
9723
9739
  ClientInfo,
9724
9740
  ClientIdentityMultiRuntime,
9725
9741
  ClientConnectionPayload,
9726
- EntityInfo_2 as EntityInfo,
9742
+ EntityInfo,
9727
9743
  EntityType_4 as EntityType,
9728
9744
  Bounds,
9729
9745
  WindowBounds,
@@ -9859,7 +9875,7 @@ declare namespace OpenFin {
9859
9875
  GpuInfo,
9860
9876
  OSInfo,
9861
9877
  HostSpecs,
9862
- PrinterInfo_2 as PrinterInfo,
9878
+ PrinterInfo,
9863
9879
  Dpi,
9864
9880
  Margins,
9865
9881
  PrintOptions,
@@ -9967,24 +9983,24 @@ declare namespace OpenFin {
9967
9983
  BeforeUnloadUserDecision,
9968
9984
  ViewStatuses,
9969
9985
  CloseWindowPayload,
9970
- ProxyInfo_2 as ProxyInfo,
9971
- ProxyConfig_2 as ProxyConfig,
9986
+ ProxyInfo,
9987
+ ProxyConfig,
9972
9988
  ProxySystemInfo,
9973
9989
  ChannelAction_2 as ChannelAction,
9974
9990
  ChannelMiddleware_2 as ChannelMiddleware,
9975
9991
  ErrorMiddleware_2 as ErrorMiddleware,
9976
- ApplicationState_2 as ApplicationState,
9977
- InstalledApps_2 as InstalledApps,
9992
+ ApplicationState,
9993
+ InstalledApps,
9978
9994
  InstallationInfo,
9979
- GetLogRequestType_2 as GetLogRequestType,
9980
- LogInfo_2 as LogInfo,
9995
+ GetLogRequestType,
9996
+ LogInfo,
9981
9997
  SendApplicationLogResponse,
9982
- LogLevel_2 as LogLevel,
9998
+ LogLevel,
9983
9999
  PermissionState_2 as PermissionState,
9984
- RegistryInfo_2 as RegistryInfo,
10000
+ RegistryInfo,
9985
10001
  ApplicationType,
9986
10002
  WindowInfo,
9987
- ApplicationWindowInfo_2 as ApplicationWindowInfo,
10003
+ ApplicationWindowInfo,
9988
10004
  WindowDetail,
9989
10005
  LayoutPresetType,
9990
10006
  LayoutIdentity,
@@ -11971,12 +11987,10 @@ declare type PresetLayoutOptions_2 = {
11971
11987
  presetType: LayoutPresetType;
11972
11988
  };
11973
11989
 
11974
- declare type PrinterInfo = OpenFin.PrinterInfo;
11975
-
11976
11990
  /**
11977
11991
  * @interface
11978
11992
  */
11979
- declare type PrinterInfo_2 = {
11993
+ declare type PrinterInfo = {
11980
11994
  /**
11981
11995
  * Printer Name
11982
11996
  */
@@ -12238,20 +12252,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
12238
12252
  declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
12239
12253
 
12240
12254
  declare interface ProtocolMap extends ProtocolMapBase {
12255
+ 'is-application-running': ApplicationIdentityCall<{}, boolean>;
12256
+ 'destroy-application': ApplicationIdentityCall<{
12257
+ force: boolean;
12258
+ }, void>;
12259
+ 'close-application': ApplicationIdentityCall<{
12260
+ force: boolean;
12261
+ }, void>;
12262
+ 'application-close': ApplicationIdentityCall<{}, void>;
12263
+ 'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
12264
+ 'get-application-manifest': {
12265
+ request: {
12266
+ manifestUrl?: string;
12267
+ uuid?: string;
12268
+ };
12269
+ response: OpenFin.Manifest;
12270
+ };
12271
+ 'get-parent-application': ApplicationIdentityCall<{}, string>;
12272
+ 'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
12273
+ 'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
12274
+ 'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
12275
+ 'application-get-window': ApplicationIdentityCall<{}, void>;
12276
+ 'register-user': ApplicationIdentityCall<{
12277
+ userName: string;
12278
+ appName: string;
12279
+ }, void>;
12280
+ 'remove-tray-icon': ApplicationIdentityCall<{}, void>;
12281
+ 'restart-application': ApplicationIdentityCall<{}, void>;
12282
+ 'application-run': ApplicationIdentityCall<{}, void>;
12283
+ 'run-application': ApplicationIdentityCall<{
12284
+ manifestUrl?: string | undefined;
12285
+ opts?: OpenFin.RvmLaunchOptions;
12286
+ }, void>;
12287
+ 'relaunch-on-close': ApplicationIdentityCall<{}, void>;
12288
+ 'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
12289
+ 'set-jump-list': ApplicationIdentityCall<{
12290
+ config: OpenFin.JumpListCategory[] | null;
12291
+ }, void>;
12292
+ 'set-tray-icon': ApplicationIdentityCall<{
12293
+ enabledIcon: string;
12294
+ }, void>;
12295
+ 'set-shortcuts': ApplicationIdentityCall<{
12296
+ data: OpenFin.ShortCutConfig;
12297
+ }, void>;
12298
+ 'set-shortcut-query-args': ApplicationIdentityCall<{
12299
+ data: string;
12300
+ }, void>;
12301
+ 'set-application-zoom-level': ApplicationIdentityCall<{
12302
+ level: number;
12303
+ }, void>;
12304
+ 'set-app-log-username': ApplicationIdentityCall<{
12305
+ data: string;
12306
+ }, void>;
12307
+ 'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
12308
+ 'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
12309
+ 'terminate-application': ApplicationIdentityCall<{}, void>;
12310
+ 'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
12311
+ 'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
12312
+ 'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
12313
+ 'set-file-download-location': {
12314
+ request: OpenFin.Identity & {
12315
+ downloadLocation: string;
12316
+ };
12317
+ response: void;
12318
+ };
12319
+ 'get-file-download-location': ApplicationIdentityCall<{}, string>;
12320
+ 'show-tray-icon-popup-menu': {
12321
+ request: OpenFin.Identity & {
12322
+ options: OpenFin.ShowTrayIconPopupMenuOptions;
12323
+ };
12324
+ response: OpenFin.MenuResult;
12325
+ };
12326
+ 'close-tray-icon-popup-menu': IdentityCall<{}, void>;
12327
+ 'wrap-application': VoidCall;
12328
+ 'wrap-application-sync': VoidCall;
12329
+ 'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
12330
+ 'application-create': VoidCall;
12331
+ 'start-application': VoidCall;
12332
+ 'run-applications': ApiCall<{
12333
+ applications: Array<OpenFin.ManifestInfo>;
12334
+ opts?: OpenFin.RvmLaunchOptions;
12335
+ }, void>;
12336
+ 'get-current-application': VoidCall;
12337
+ 'get-current-application-sync': VoidCall;
12338
+ 'application-start-from-manifest': VoidCall;
12339
+ 'application-create-from-manifest': VoidCall;
12241
12340
  'request-external-authorization': {
12242
12341
  request: any;
12243
12342
  response: void;
12244
12343
  specialResponse: AuthorizationPayload;
12245
12344
  };
12246
- 'application-get-views': {
12247
- request: OpenFin.ApplicationIdentity;
12248
- response: OpenFin.Identity[];
12249
- };
12250
- 'set-jump-list': {
12251
- request: {
12252
- config: OpenFin.JumpListCategory[] | null;
12253
- } & OpenFin.ApplicationIdentity;
12345
+ 'request-authorization': {
12346
+ request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
12254
12347
  response: void;
12348
+ specialResponse: Payload;
12255
12349
  };
12256
12350
  'clipboard-read-formats': {
12257
12351
  request: {
@@ -12263,6 +12357,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
12263
12357
  request: OpenFin.ReadImageClipboardRequest;
12264
12358
  response: string;
12265
12359
  };
12360
+ 'clipboard-read-text': {
12361
+ request: {
12362
+ type?: OpenFin.ClipboardSelectionType;
12363
+ };
12364
+ response: string;
12365
+ };
12366
+ 'clipboard-read-html': {
12367
+ request: {
12368
+ type?: OpenFin.ClipboardSelectionType;
12369
+ };
12370
+ response: string;
12371
+ };
12372
+ 'clipboard-read-rtf': {
12373
+ request: {
12374
+ type?: OpenFin.ClipboardSelectionType;
12375
+ };
12376
+ response: string;
12377
+ };
12266
12378
  'clipboard-write-image': {
12267
12379
  request: OpenFin.WriteImageClipboardRequest;
12268
12380
  response: void;
@@ -12271,6 +12383,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
12271
12383
  request: OpenFin.WriteAnyRequestType;
12272
12384
  response: void;
12273
12385
  };
12386
+ 'clipboard-write-text': {
12387
+ request: OpenFin.WriteClipboardRequest;
12388
+ response: void;
12389
+ };
12390
+ 'clipboard-write-html': {
12391
+ request: OpenFin.WriteClipboardRequest;
12392
+ response: void;
12393
+ };
12394
+ 'clipboard-write-rtf': {
12395
+ request: OpenFin.WriteClipboardRequest;
12396
+ response: void;
12397
+ };
12274
12398
  'get-view-window': IdentityCall<{}, OpenFin.Identity>;
12275
12399
  'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
12276
12400
  uuid: string;
@@ -12296,13 +12420,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
12296
12420
  options: OpenFin.UpdatableViewOptions;
12297
12421
  }>;
12298
12422
  'trigger-before-unload': IdentityCall<{}, boolean>;
12423
+ 'view-wrap-sync': VoidCall;
12424
+ 'view-wrap': VoidCall;
12425
+ 'view-get-current': VoidCall;
12426
+ 'view-get-current-sync': VoidCall;
12427
+ 'animate-window': IdentityCall<{
12428
+ transitions: OpenFin.Transition;
12429
+ options: OpenFin.TransitionOptions;
12430
+ }>;
12431
+ 'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
12432
+ 'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
12433
+ 'center-window': IdentityCall;
12434
+ 'blur-window': IdentityCall;
12435
+ 'bring-window-to-front': IdentityCall;
12436
+ 'hide-window': IdentityCall;
12437
+ 'close-window': IdentityCall<{
12438
+ force: boolean;
12439
+ }>;
12440
+ 'focused-webview-changed': IdentityCall;
12441
+ 'get-window-native-id': IdentityCall<{}, string>;
12299
12442
  'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
12300
- 'print': {
12443
+ 'disable-window-frame': IdentityCall;
12444
+ 'enable-window-frame': IdentityCall;
12445
+ 'flash-window': IdentityCall;
12446
+ 'stop-flash-window': IdentityCall;
12447
+ 'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
12448
+ 'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
12449
+ 'get-window-snapshot': IdentityCall<{
12450
+ area?: OpenFin.Rectangle;
12451
+ }, string>;
12452
+ 'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
12453
+ 'is-window-showing': IdentityCall<{}, boolean>;
12454
+ 'maximize-window': IdentityCall;
12455
+ 'minimize-window': IdentityCall;
12456
+ 'move-window-by': IdentityCall<WithPositioningOptions<{
12457
+ deltaLeft: number;
12458
+ deltaTop: number;
12459
+ }>>;
12460
+ 'move-window': IdentityCall<WithPositioningOptions<{
12461
+ left: number;
12462
+ top: number;
12463
+ }>>;
12464
+ 'resize-window-by': IdentityCall<WithPositioningOptions<{
12465
+ deltaWidth: number;
12466
+ deltaHeight: number;
12467
+ anchor: OpenFin.AnchorType;
12468
+ }>>;
12469
+ 'resize-window': IdentityCall<WithPositioningOptions<{
12470
+ width: number;
12471
+ height: number;
12472
+ anchor: OpenFin.AnchorType;
12473
+ }>>;
12474
+ 'restore-window': IdentityCall;
12475
+ 'set-foreground-window': IdentityCall;
12476
+ 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
12477
+ 'show-window': IdentityCall<{
12478
+ force: boolean;
12479
+ }>;
12480
+ 'show-at-window': IdentityCall<{
12481
+ left: number;
12482
+ top: number;
12483
+ force: boolean;
12484
+ }>;
12485
+ 'update-window-options': IdentityCall<{
12486
+ options: OpenFin.UpdatableWindowOptions;
12487
+ }>;
12488
+ 'window-authenticate': IdentityCall<{
12489
+ userName: string;
12490
+ password: string;
12491
+ }>;
12492
+ 'show-popup-menu': {
12301
12493
  request: OpenFin.Identity & {
12302
- options: OpenFin.PrintOptions;
12494
+ options: OpenFin.ShowPopupMenuOptions;
12303
12495
  };
12304
- response: void;
12496
+ response: OpenFin.MenuResult;
12305
12497
  };
12498
+ 'close-popup-menu': IdentityCall;
12499
+ 'dispatch-popup-result': IdentityCall<{
12500
+ data: any;
12501
+ }>;
12306
12502
  'print-screenshot': {
12307
12503
  request: OpenFin.Identity;
12308
12504
  response: void;
@@ -12313,6 +12509,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
12313
12509
  };
12314
12510
  response: void;
12315
12511
  };
12512
+ 'window-wrap': VoidCall;
12513
+ 'window-wrap-sync': VoidCall;
12514
+ 'create-window': VoidCall;
12515
+ 'get-current-window': VoidCall;
12516
+ 'get-current-window-sync': VoidCall;
12517
+ 'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
12518
+ 'external-application-wrap': VoidCall;
12519
+ 'external-application-wrap-sync': VoidCall;
12520
+ 'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
12521
+ 'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
12522
+ 'frame-wrap': VoidCall;
12523
+ 'frame-wrap-sync': VoidCall;
12524
+ 'frame-get-current': VoidCall;
12525
+ 'frame-get-current-sync': VoidCall;
12526
+ 'global-hotkey-register': {
12527
+ request: {
12528
+ hotkey: string;
12529
+ };
12530
+ response: void;
12531
+ };
12532
+ 'global-hotkey-unregister': {
12533
+ request: {
12534
+ hotkey: string;
12535
+ };
12536
+ response: void;
12537
+ };
12538
+ 'global-hotkey-unregister-all': {
12539
+ request: {};
12540
+ response: void;
12541
+ };
12542
+ 'global-hotkey-is-registered': {
12543
+ request: {
12544
+ hotkey: string;
12545
+ };
12546
+ response: boolean;
12547
+ };
12548
+ 'publish-message': {
12549
+ request: {
12550
+ topic: string;
12551
+ message: any;
12552
+ sourceWindowName: string;
12553
+ };
12554
+ response: void;
12555
+ };
12556
+ 'send-message': {
12557
+ request: {
12558
+ destinationUuid: string;
12559
+ destinationWindowName: string | undefined;
12560
+ topic: string;
12561
+ message: any;
12562
+ sourceWindowName: string;
12563
+ };
12564
+ response: void;
12565
+ };
12566
+ 'subscribe': {
12567
+ request: {
12568
+ sourceUuid: string;
12569
+ sourceWindowName: string;
12570
+ topic: string;
12571
+ destinationWindowName: string;
12572
+ messageKey?: any;
12573
+ };
12574
+ response: void;
12575
+ };
12576
+ 'unsubscribe': {
12577
+ request: {
12578
+ sourceUuid: string;
12579
+ sourceWindowName: string;
12580
+ topic: string;
12581
+ destinationWindowName: string;
12582
+ };
12583
+ response: void;
12584
+ };
12585
+ 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
12586
+ 'connect-to-channel': {
12587
+ request: any;
12588
+ response: OpenFin.RoutingInfo;
12589
+ };
12590
+ 'create-channel': ApiCall<{
12591
+ channelName: string;
12592
+ }, OpenFin.ProviderIdentity>;
12593
+ 'destroy-channel': ApiCall<{
12594
+ channelName: string;
12595
+ }, void>;
12596
+ 'disconnect-from-channel': {
12597
+ request: {
12598
+ channelName: string;
12599
+ uuid: string;
12600
+ name: string;
12601
+ endpointId: string;
12602
+ };
12603
+ response: void;
12604
+ };
12605
+ 'send-channel-message': {
12606
+ request: any;
12607
+ response: any;
12608
+ };
12609
+ 'get-version': GetterCall<string>;
12610
+ 'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
12611
+ 'delete-cache-request': VoidCall;
12612
+ 'exit-desktop': VoidCall;
12613
+ 'fetch-manifest': ApiCall<{
12614
+ manifestUrl: string;
12615
+ }, any>;
12616
+ 'flush-cookie-store': VoidCall;
12617
+ 'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
12618
+ 'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
12619
+ 'get-command-line-arguments': GetterCall<string>;
12620
+ 'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
12621
+ 'start-crash-reporter': {
12622
+ request: OpenFin.CrashReporterOptions | {
12623
+ diagnosticMode: boolean;
12624
+ };
12625
+ response: OpenFin.CrashReporterState;
12626
+ };
12627
+ 'get-unique-user-id': GetterCall<string>;
12628
+ 'get-entity-info': {
12629
+ request: {
12630
+ uuid: string;
12631
+ name: string;
12632
+ };
12633
+ response: OpenFin.EntityInfo;
12634
+ };
12635
+ 'get-environment-variable': {
12636
+ request: {
12637
+ environmentVariables: string;
12638
+ };
12639
+ response: string;
12640
+ };
12641
+ 'get-focused-window': GetterCall<OpenFin.Identity | null>;
12642
+ 'is-app-certified': {
12643
+ request: {
12644
+ manifestUrl: string;
12645
+ };
12646
+ response: {
12647
+ action: string;
12648
+ certifiedInfo: OpenFin.CertifiedAppInfo;
12649
+ };
12650
+ };
12651
+ 'get-installed-runtimes': GetterCall<{
12652
+ action: string;
12653
+ runtimes: string[];
12654
+ }>;
12655
+ 'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
12656
+ 'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
12657
+ 'get-machine-id': GetterCall<string>;
12658
+ 'get-min-log-level': GetterCall<OpenFin.LogLevel>;
12659
+ 'list-logs': GetterCall<OpenFin.LogInfo[]>;
12660
+ 'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
12661
+ 'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
12662
+ 'process-snapshot': GetterCall<Array<any>>;
12663
+ 'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
12664
+ 'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
12665
+ 'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
12666
+ 'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
12667
+ 'get-host-specs': GetterCall<OpenFin.HostSpecs>;
12668
+ 'get-os-info': GetterCall<OpenFin.OSInfo>;
12669
+ 'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
12670
+ 'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
12671
+ 'write-to-log': ApiCall<{
12672
+ level: string;
12673
+ message: string;
12674
+ }, void>;
12675
+ 'open-url-with-browser': ApiCall<{
12676
+ url: string;
12677
+ }, void>;
12678
+ 'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
12679
+ 'unregister-custom-protocol': ApiCall<{
12680
+ protocolName: string;
12681
+ }, void>;
12682
+ 'get-custom-protocol-state': ApiCall<{
12683
+ protocolName: string;
12684
+ }, OpenFin.CustomProtocolState>;
12685
+ 'release-external-process': ApiCall<{
12686
+ uuid: string;
12687
+ }, void>;
12688
+ 'show-developer-tools': ApiCall<OpenFin.Identity, void>;
12689
+ 'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
12690
+ 'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
12691
+ 'download-asset': {
12692
+ request: OpenFin.AppAssetInfo & {
12693
+ downloadId: string;
12694
+ };
12695
+ response: void;
12696
+ };
12697
+ 'download-runtime': {
12698
+ request: OpenFin.RuntimeDownloadOptions & {
12699
+ downloadId: string;
12700
+ };
12701
+ response: void;
12702
+ };
12703
+ 'download-preload-scripts': ApiCall<{
12704
+ scripts: Array<OpenFin.DownloadPreloadOption>;
12705
+ }, Array<OpenFin.DownloadPreloadInfo>>;
12706
+ 'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
12707
+ 'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
12708
+ 'get-cookies': {
12709
+ request: OpenFin.CookieOption & {
12710
+ url: string;
12711
+ };
12712
+ response: Array<OpenFin.CookieInfo>;
12713
+ };
12714
+ 'set-min-log-level': ApiCall<{
12715
+ level: OpenFin.LogLevel;
12716
+ }, void>;
12717
+ 'resolve-uuid': ApiCall<{
12718
+ entityKey: string;
12719
+ }, OpenFin.ApplicationType>;
12720
+ 'read-registry-value': ApiCall<{
12721
+ rootKey: string;
12722
+ subkey: string;
12723
+ value: string;
12724
+ }, OpenFin.RegistryInfo>;
12725
+ 'register-external-connection': ApiCall<{
12726
+ uuid: string;
12727
+ }, OpenFin.ExternalConnection>;
12728
+ 'get-service-configuration': ApiCall<{
12729
+ name: string;
12730
+ }, OpenFin.ServiceConfiguration>;
12731
+ 'get-system-app-configuration': ApiCall<{
12732
+ name: string;
12733
+ }, any>;
12734
+ 'run-rvm-health-check': ApiCall<void, string[]>;
12316
12735
  'launch-manifest': {
12317
12736
  request: {
12318
12737
  manifestUrl: string;
@@ -12324,17 +12743,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
12324
12743
  manifest: OpenFin.Manifest;
12325
12744
  };
12326
12745
  };
12327
- 'get-system-app-configuration': {
12746
+ 'query-permission-for-current-context': {
12328
12747
  request: {
12329
- name: string;
12330
- };
12331
- response: any;
12332
- };
12333
- 'show-popup-menu': {
12334
- request: OpenFin.Identity & {
12335
- options: OpenFin.ShowPopupMenuOptions;
12748
+ apiName: string;
12749
+ identity: OpenFin.Identity;
12336
12750
  };
12337
- response: OpenFin.MenuResult;
12751
+ response: OpenFin.QueryPermissionResult;
12338
12752
  };
12339
12753
  'enable-native-window-integration-provider': {
12340
12754
  request: {
@@ -12342,24 +12756,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
12342
12756
  };
12343
12757
  response: OpenFin.NativeWindowIntegrationProviderAuthorization;
12344
12758
  };
12759
+ 'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
12760
+ 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
12761
+ 'system-update-process-logging-options': ApiCall<{
12762
+ options: OpenFin.ProcessLoggingOptions;
12763
+ }, void>;
12764
+ 'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12765
+ 'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12766
+ domainSettings: OpenFin.DefaultDomainSettings;
12767
+ }, void>;
12768
+ 'system-register-shutdown-handler': VoidCall;
12345
12769
  'get-permissions': GetterCall<any>;
12346
- 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
12347
- 'set-file-download-location': {
12348
- request: OpenFin.Identity & {
12349
- downloadLocation: string;
12350
- };
12351
- response: void;
12352
- };
12353
- 'get-file-download-location': {
12354
- request: OpenFin.ApplicationIdentity;
12355
- response: string;
12356
- };
12357
- 'close-popup-menu': IdentityCall;
12358
12770
  'fdc3-add-context-listener': VoidCall;
12771
+ 'fdc3-add-intent-listener': VoidCall;
12772
+ 'fdc3-raise-intent': VoidCall;
12773
+ 'fdc3-find-intent': VoidCall;
12774
+ 'fdc3-find-intents-by-context': VoidCall;
12775
+ 'fdc3-raise-intent-for-context': VoidCall;
12776
+ 'fdc3-get-info': VoidCall;
12777
+ 'fdc3-find-instances': VoidCall;
12778
+ 'fdc3-get-app-metadata': VoidCall;
12359
12779
  'fdc3-broadcast': VoidCall;
12780
+ 'fdc3-open': VoidCall;
12781
+ 'fdc3-get-or-create-channel': VoidCall;
12360
12782
  'fdc3-get-system-channels': VoidCall;
12361
12783
  'fdc3-join-channel': VoidCall;
12784
+ 'fdc3-get-current-channel': VoidCall;
12362
12785
  'fdc3-leave-current-channel': VoidCall;
12786
+ 'interop-init': VoidCall;
12363
12787
  'interop-connect-sync': VoidCall;
12364
12788
  'interop-client-set-context': VoidCall;
12365
12789
  'interop-client-add-context-handler': VoidCall;
@@ -12368,6 +12792,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
12368
12792
  'interop-client-remove-from-context-group': VoidCall;
12369
12793
  'interop-client-get-all-clients-in-context-group': VoidCall;
12370
12794
  'interop-client-get-info-for-context-group': VoidCall;
12795
+ 'interop-client-fire-intent': VoidCall;
12796
+ 'interop-client-register-intent-handler': VoidCall;
12797
+ 'interop-client-get-current-context': VoidCall;
12798
+ 'interop-client-get-info-for-intent': VoidCall;
12799
+ 'interop-client-get-info-for-intents-by-context': VoidCall;
12800
+ 'interop-client-fire-intent-for-context': VoidCall;
12801
+ 'interop-client-add-ondisconnection-listener': VoidCall;
12371
12802
  'interop-broker-add-client-to-context-group': VoidCall;
12372
12803
  'interop-broker-get-all-clients-in-context-group': VoidCall;
12373
12804
  'interop-broker-get-context-groups': VoidCall;
@@ -12379,13 +12810,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
12379
12810
  'interop-broker-remove-from-context-group': VoidCall;
12380
12811
  'interop-broker-set-context': VoidCall;
12381
12812
  'interop-broker-set-context-for-group': VoidCall;
12382
- 'query-permission-for-current-context': {
12383
- request: {
12384
- apiName: string;
12385
- identity: OpenFin.Identity;
12386
- };
12387
- response: OpenFin.QueryPermissionResult;
12388
- };
12813
+ 'interop-broker-get-current-context': VoidCall;
12814
+ 'interop-broker-set-intent-target': VoidCall;
12815
+ 'interop-session-context-group-set-context': VoidCall;
12816
+ 'interop-session-context-group-get-context': VoidCall;
12817
+ 'interop-session-context-group-add-handler': VoidCall;
12818
+ 'platform-wrap': VoidCall;
12819
+ 'platform-wrap-sync': VoidCall;
12820
+ 'platform-get-current': VoidCall;
12821
+ 'platform-get-current-sync': VoidCall;
12822
+ 'platform-start': VoidCall;
12823
+ 'platform-start-from-manifest': VoidCall;
12824
+ 'platform-get-client': ApplicationIdentityCall<{}, void>;
12825
+ 'platform-create-view': ApplicationIdentityCall<{}, void>;
12826
+ 'platform-create-window': ApplicationIdentityCall<{}, void>;
12827
+ 'platform-quit': ApplicationIdentityCall<{}, void>;
12828
+ 'platform-close-view': ApplicationIdentityCall<{}, void>;
12829
+ 'platform-reparent-view': ApplicationIdentityCall<{}, void>;
12830
+ 'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
12831
+ 'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
12832
+ 'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
12833
+ 'platform-set-window-context': ApplicationIdentityCall<{}, void>;
12834
+ 'platform-get-window-context': ApplicationIdentityCall<{}, void>;
12835
+ 'platform-close-window': ApplicationIdentityCall<{}, void>;
12836
+ 'layout-wrap': VoidCall;
12837
+ 'layout-wrap-sync': VoidCall;
12838
+ 'layout-get-current': VoidCall;
12839
+ 'layout-get-current-sync': VoidCall;
12840
+ 'layout-init': VoidCall;
12841
+ 'layout-get-config': VoidCall;
12842
+ 'layout-get-views': VoidCall;
12843
+ 'layout-replace': VoidCall;
12844
+ 'layout-get-root-item': VoidCall;
12845
+ 'layout-replace-view': VoidCall;
12846
+ 'layout-apply-preset': VoidCall;
12847
+ 'layout-controller-get-root': VoidCall;
12848
+ 'layout-controller-get-stack-by-view': VoidCall;
12849
+ 'layout-controller-get-stack-views': VoidCall;
12850
+ 'layout-controller-get-content': VoidCall;
12851
+ 'layout-controller-get-parent': VoidCall;
12852
+ 'layout-controller-is-root': VoidCall;
12853
+ 'layout-controller-exists': VoidCall;
12854
+ 'layout-controller-add-view-to-stack': VoidCall;
12855
+ 'layout-controller-remove-view-from-stack': VoidCall;
12856
+ 'layout-controller-create-adjacent-stack': VoidCall;
12857
+ 'layout-controller-get-adjacent-stacks': VoidCall;
12858
+ 'layout-controller-set-stack-active-view': VoidCall;
12859
+ 'snapshot-source-init': VoidCall;
12860
+ 'snapshot-source-wrap-sync': VoidCall;
12861
+ 'snapshot-source-wrap': VoidCall;
12862
+ 'snapshot-source-ready': VoidCall;
12863
+ 'snapshot-source-get-snapshot': VoidCall;
12864
+ 'snapshot-source-apply-snapshot': VoidCall;
12865
+ 'capture-page': IdentityCall<{
12866
+ options?: OpenFin.CapturePageOptions;
12867
+ }, string>;
12868
+ 'execute-javascript-in-window': IdentityCall<{
12869
+ code: string;
12870
+ }, unknown>;
12871
+ 'get-zoom-level': IdentityCall<{}, number>;
12872
+ 'set-zoom-level': IdentityCall<{
12873
+ level: number;
12874
+ }, void>;
12875
+ 'navigate-window': IdentityCall<{
12876
+ url: string;
12877
+ }, void>;
12878
+ 'navigate-window-back': IdentityCall<{}, void>;
12879
+ 'navigate-window-forward': IdentityCall<{}, void>;
12880
+ 'stop-window-navigation': IdentityCall<{}, void>;
12881
+ 'reload-window': IdentityCall<{
12882
+ ignoreCache: boolean;
12883
+ }, void>;
12884
+ 'print': IdentityCall<{
12885
+ options: OpenFin.PrintOptions;
12886
+ }, void>;
12887
+ 'find-in-page': IdentityCall<{
12888
+ searchTerm: string;
12889
+ options?: OpenFin.FindInPageOptions;
12890
+ }, void>;
12891
+ 'stop-find-in-page': IdentityCall<{
12892
+ action: 'clearSelection' | 'keepSelection' | 'activateSelection';
12893
+ }, void>;
12894
+ 'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
12895
+ 'focus-window': IdentityCall<{
12896
+ emitSynthFocused: boolean;
12897
+ }, void>;
12898
+ 'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
12899
+ 'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
12900
+ 'inspect-shared-worker': IdentityCall<{}, void>;
12901
+ 'inspect-shared-worker-by-id': IdentityCall<{
12902
+ workerId: string;
12903
+ }, void>;
12904
+ 'inspect-service-worker': IdentityCall<{}, void>;
12905
+ 'view-show-popup-window': IdentityCall<{}, void>;
12906
+ 'window-show-popup-window': IdentityCall<{}, void>;
12389
12907
  'try-create-popup-window': {
12390
12908
  request: OpenFin.Identity & {
12391
12909
  options: OpenFin.PopupOptions;
@@ -12401,9 +12919,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12401
12919
  };
12402
12920
  response: OpenFin.PopupResult;
12403
12921
  };
12404
- 'dispatch-popup-result': IdentityCall<{
12405
- data: any;
12406
- }>;
12407
12922
  'render-overlay': {
12408
12923
  request: {
12409
12924
  bounds: OpenFin.Bounds;
@@ -12423,40 +12938,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12423
12938
  };
12424
12939
  response: void;
12425
12940
  };
12426
- 'get-host-specs': GetterCall<OpenFin.HostSpecs>;
12427
- 'get-os-info': GetterCall<OpenFin.OSInfo>;
12428
- 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
12429
- 'system-register-shutdown-handler': VoidCall;
12430
- 'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12431
- 'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12432
- domainSettings: OpenFin.DefaultDomainSettings;
12433
- }, void>;
12434
- 'move-window-by': IdentityCall<WithPositioningOptions<{
12435
- deltaLeft: number;
12436
- deltaTop: number;
12437
- }>>;
12438
- 'move-window': IdentityCall<WithPositioningOptions<{
12439
- left: number;
12440
- top: number;
12441
- }>>;
12442
- 'resize-window-by': IdentityCall<WithPositioningOptions<{
12443
- deltaWidth: number;
12444
- deltaHeight: number;
12445
- anchor: OpenFin.AnchorType;
12446
- }>>;
12447
- 'resize-window': IdentityCall<WithPositioningOptions<{
12448
- width: number;
12449
- height: number;
12450
- anchor: OpenFin.AnchorType;
12451
- }>>;
12452
- 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
12453
- 'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
12454
- 'unregister-custom-protocol': ApiCall<{
12455
- protocolName: string;
12456
- }, void>;
12457
- 'get-custom-protocol-state': ApiCall<{
12458
- protocolName: string;
12459
- }, OpenFin.CustomProtocolState>;
12460
12941
  }
12461
12942
 
12462
12943
  declare interface ProtocolMapBase {
@@ -12486,7 +12967,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
12486
12967
  * Identity of a channel provider.
12487
12968
  * @interface
12488
12969
  */
12489
- declare type ProviderIdentity_4 = Identity_5 & {
12970
+ declare type ProviderIdentity_4 = Identity_4 & {
12490
12971
  /**
12491
12972
  * Identifier of the channel.
12492
12973
  */
@@ -12497,12 +12978,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
12497
12978
  channelName: string;
12498
12979
  };
12499
12980
 
12500
- declare type ProxyConfig = OpenFin.ProxyConfig;
12501
-
12502
12981
  /**
12503
12982
  * @interface
12504
12983
  */
12505
- declare type ProxyConfig_2 = {
12984
+ declare type ProxyConfig = {
12506
12985
  /**
12507
12986
  * The configured proxy address.
12508
12987
  */
@@ -12514,13 +12993,11 @@ declare type ProxyConfig_2 = {
12514
12993
  type: string;
12515
12994
  };
12516
12995
 
12517
- declare type ProxyInfo = OpenFin.ProxyInfo;
12518
-
12519
12996
  /**
12520
12997
  * @interface
12521
12998
  */
12522
- declare type ProxyInfo_2 = {
12523
- config: ProxyConfig_2;
12999
+ declare type ProxyInfo = {
13000
+ config: ProxyConfig;
12524
13001
  system: ProxySystemInfo;
12525
13002
  };
12526
13003
 
@@ -12626,12 +13103,10 @@ declare type RegisterUsageData = {
12626
13103
  type: string;
12627
13104
  };
12628
13105
 
12629
- declare type RegistryInfo = OpenFin.RegistryInfo;
12630
-
12631
13106
  /**
12632
13107
  * @interface
12633
13108
  */
12634
- declare type RegistryInfo_2 = {
13109
+ declare type RegistryInfo = {
12635
13110
  data: any;
12636
13111
  rootKey: string;
12637
13112
  subkey: string;
@@ -12689,14 +13164,14 @@ declare type ReplaceLayoutPayload = {
12689
13164
  /**
12690
13165
  * Identity of the window whose layout will be replaced.
12691
13166
  */
12692
- target: Identity_5 | LayoutIdentity;
13167
+ target: Identity_4 | LayoutIdentity;
12693
13168
  };
12694
13169
 
12695
13170
  /**
12696
13171
  * @interface
12697
13172
  */
12698
13173
  declare type ReplaceViewOptions = {
12699
- viewToReplace: Identity_5;
13174
+ viewToReplace: Identity_4;
12700
13175
  newView: ViewState;
12701
13176
  };
12702
13177
 
@@ -12705,7 +13180,7 @@ declare type ReplaceViewOptions = {
12705
13180
  */
12706
13181
  declare type ReplaceViewPayload = {
12707
13182
  opts: {
12708
- viewToReplace: Identity_5;
13183
+ viewToReplace: Identity_4;
12709
13184
  newView: Partial<ViewOptions>;
12710
13185
  };
12711
13186
  target: LayoutIdentity;
@@ -13071,7 +13546,7 @@ declare type SetWindowContextPayload = {
13071
13546
  /**
13072
13547
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
13073
13548
  */
13074
- target: Identity_5;
13549
+ target: Identity_4;
13075
13550
  };
13076
13551
 
13077
13552
  /**
@@ -13521,7 +13996,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13521
13996
  * fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
13522
13997
  * ```
13523
13998
  */
13524
- getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
13999
+ getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
13525
14000
  /**
13526
14001
  * Retrieves an array of data for all applications.
13527
14002
  *
@@ -13530,7 +14005,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13530
14005
  * fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
13531
14006
  * ```
13532
14007
  */
13533
- getAllApplications(): Promise<Array<ApplicationState>>;
14008
+ getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
13534
14009
  /**
13535
14010
  * Retrieves the command line argument string that started OpenFin Runtime.
13536
14011
  *
@@ -13605,7 +14080,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13605
14080
  * }
13606
14081
  * ```
13607
14082
  */
13608
- getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
14083
+ getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
13609
14084
  /**
13610
14085
  * Gets the value of a given environment variable on the computer on which the runtime is installed
13611
14086
  *
@@ -13647,7 +14122,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13647
14122
  * ```
13648
14123
  */
13649
14124
  getInstalledRuntimes(): Promise<string[]>;
13650
- getInstalledApps(): Promise<InstalledApps>;
14125
+ getInstalledApps(): Promise<OpenFin.InstalledApps>;
13651
14126
  /**
13652
14127
  * Retrieves the contents of the log with the specified filename.
13653
14128
  * @param options A object that id defined by the GetLogRequestType interface
@@ -13662,7 +14137,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13662
14137
  * getLog().then(log => console.log(log)).catch(err => console.log(err));
13663
14138
  * ```
13664
14139
  */
13665
- getLog(options: GetLogRequestType): Promise<string>;
14140
+ getLog(options: OpenFin.GetLogRequestType): Promise<string>;
13666
14141
  /**
13667
14142
  * Returns a unique identifier (UUID) provided by the machine.
13668
14143
  *
@@ -13680,7 +14155,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13680
14155
  * fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
13681
14156
  * ```
13682
14157
  */
13683
- getMinLogLevel(): Promise<LogLevel>;
14158
+ getMinLogLevel(): Promise<OpenFin.LogLevel>;
13684
14159
  /**
13685
14160
  * Retrieves an array containing information for each log file.
13686
14161
  *
@@ -13689,7 +14164,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13689
14164
  * fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
13690
14165
  * ```
13691
14166
  */
13692
- getLogList(): Promise<Array<LogInfo>>;
14167
+ getLogList(): Promise<Array<OpenFin.LogInfo>>;
13693
14168
  /**
13694
14169
  * Retrieves an object that contains data about the monitor setup of the
13695
14170
  * computer that the runtime is running on.
@@ -13760,7 +14235,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13760
14235
  * }
13761
14236
  * ```
13762
14237
  */
13763
- getProxySettings(): Promise<ProxyInfo>;
14238
+ getProxySettings(): Promise<OpenFin.ProxyInfo>;
13764
14239
  /**
13765
14240
  * Returns information about the running Runtime in an object.
13766
14241
  *
@@ -14127,7 +14602,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14127
14602
  * }
14128
14603
  * ```
14129
14604
  */
14130
- launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity_2>;
14605
+ launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
14131
14606
  /**
14132
14607
  * Monitors a running process. A pid for the process must be included in options.
14133
14608
  * <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
@@ -14144,7 +14619,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14144
14619
  * }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
14145
14620
  * ```
14146
14621
  */
14147
- monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity_2>;
14622
+ monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
14148
14623
  /**
14149
14624
  * Writes the passed message into both the log file and the console.
14150
14625
  * @param level The log level for the entry. Can be either "info", "warning" or "error"
@@ -14278,7 +14753,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14278
14753
  *
14279
14754
  * @tutorial System.showDeveloperTools
14280
14755
  */
14281
- showDeveloperTools(identity: Identity_2): Promise<void>;
14756
+ showDeveloperTools(identity: Identity): Promise<void>;
14282
14757
  /**
14283
14758
  * Attempt to close an external process. The process will be terminated if it
14284
14759
  * has not closed after the elapsed timeout in milliseconds.
@@ -14312,7 +14787,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14312
14787
  * .catch(err => console.error(err));
14313
14788
  * ```
14314
14789
  */
14315
- updateProxySettings(options: ProxyConfig): Promise<void>;
14790
+ updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
14316
14791
  /**
14317
14792
  * Downloads the given application asset.
14318
14793
  *
@@ -14404,7 +14879,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14404
14879
  * .catch(err => console.log(err));
14405
14880
  * ```
14406
14881
  */
14407
- getAllExternalApplications(): Promise<Array<Identity_2>>;
14882
+ getAllExternalApplications(): Promise<Array<Identity>>;
14408
14883
  /**
14409
14884
  * Retrieves app asset information.
14410
14885
  * @param options
@@ -14433,7 +14908,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14433
14908
  * fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
14434
14909
  * ```
14435
14910
  */
14436
- setMinLogLevel(level: LogLevel): Promise<void>;
14911
+ setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
14437
14912
  /**
14438
14913
  * Retrieves the UUID of the computer on which the runtime is installed
14439
14914
  * @param uuid The uuid of the running application
@@ -14443,7 +14918,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14443
14918
  * fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
14444
14919
  * ```
14445
14920
  */
14446
- resolveUuid(uuid: string): Promise<Entity>;
14921
+ resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
14447
14922
  /**
14448
14923
  * Retrieves an array of data for all external applications
14449
14924
  * @param requestingIdentity This object is described in the Identity typedef
@@ -14451,7 +14926,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14451
14926
  *
14452
14927
  * @ignore
14453
14928
  */
14454
- executeOnRemote(requestingIdentity: Identity_2, data: any): Promise<any>;
14929
+ executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
14455
14930
  /**
14456
14931
  * Reads the specifed value from the registry.
14457
14932
  * @remarks This method is restricted by default and must be enabled via
@@ -14544,7 +15019,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14544
15019
  * }
14545
15020
  * ```
14546
15021
  */
14547
- readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
15022
+ readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
14548
15023
  /**
14549
15024
  * This function call will register a unique id and produce a token.
14550
15025
  * The token can be used to broker an external connection.
@@ -14759,7 +15234,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14759
15234
  * });
14760
15235
  * ```
14761
15236
  */
14762
- getPrinters(): Promise<PrinterInfo[]>;
15237
+ getPrinters(): Promise<OpenFin.PrinterInfo[]>;
14763
15238
  /**
14764
15239
  * Updates Process Logging values: periodic interval and outlier detection entries and interval.
14765
15240
  * @param options Process Logging updatable options.
@@ -15385,14 +15860,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15385
15860
  declare type UserAppConfigArgs = Record<string, string | string[]>;
15386
15861
 
15387
15862
  /**
15388
- * A general user bounds change event without event type.
15863
+ * An event that fires when a window's bounds are changed directly by the user.
15864
+ *
15389
15865
  * @interface
15390
15866
  */
15391
- declare type UserBoundsChangeEvent = BaseEvent_5 & {
15392
- height: number;
15393
- left: number;
15394
- top: number;
15395
- width: number;
15867
+ declare type UserBoundsChangeEvent = BoundsEvent & {
15396
15868
  windowState: 'minimized' | 'normal' | 'maximized';
15397
15869
  };
15398
15870
 
@@ -15830,7 +16302,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
15830
16302
  */
15831
16303
  getInfo: () => Promise<OpenFin.ViewInfo>;
15832
16304
  /**
15833
- * Retrieves the layout for the window the view is attached to.
16305
+ * Retrieves the OpenFin.Layout instance for the Window the View is attached to.
15834
16306
  *
15835
16307
  * @example
15836
16308
  * ```js
@@ -16038,7 +16510,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
16038
16510
  declare type ViewCreationOptions = Partial<ViewOptions> & {
16039
16511
  name: string;
16040
16512
  url: string;
16041
- target: Identity_5;
16513
+ target: Identity_4;
16042
16514
  };
16043
16515
 
16044
16516
  declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
@@ -16224,15 +16696,15 @@ declare interface ViewsPreventingUnloadPayload {
16224
16696
  /**
16225
16697
  * Identity of the Window.
16226
16698
  */
16227
- windowId: Identity_5;
16699
+ windowId: Identity_4;
16228
16700
  /**
16229
16701
  * Identities of the Views that are preventing an unload
16230
16702
  */
16231
- viewsPreventingUnload: Identity_5[];
16703
+ viewsPreventingUnload: Identity_4[];
16232
16704
  /**
16233
16705
  * Identities of the Views that are not preventing an unload
16234
16706
  */
16235
- viewsNotPreventingUnload: Identity_5[];
16707
+ viewsNotPreventingUnload: Identity_4[];
16236
16708
  /**
16237
16709
  * Source of the close action.
16238
16710
  */
@@ -16257,11 +16729,11 @@ declare interface ViewStatuses {
16257
16729
  /**
16258
16730
  * Identities of the Views that are preventing an unload.
16259
16731
  */
16260
- viewsPreventingUnload: Identity_5[];
16732
+ viewsPreventingUnload: Identity_4[];
16261
16733
  /**
16262
16734
  * Identities of the Views that are not preventing an unload.
16263
16735
  */
16264
- viewsNotPreventingUnload: Identity_5[];
16736
+ viewsNotPreventingUnload: Identity_4[];
16265
16737
  }
16266
16738
 
16267
16739
  /**
@@ -16766,7 +17238,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
16766
17238
  * We do not expose an explicit superclass for this functionality, but it does have its own
16767
17239
  * {@link OpenFin.WebContentsEvents event namespace}.
16768
17240
  */
16769
- stopFindInPage(action: string): Promise<void>;
17241
+ stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
16770
17242
  /**
16771
17243
  * Returns an array with all system printers
16772
17244
  * @deprecated use System.getPrinters instead
@@ -17359,11 +17831,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
17359
17831
  * A general will-move or will-resize event without event type.
17360
17832
  * @interface
17361
17833
  */
17362
- declare type WillMoveOrResizeEvent = BaseEvent_5 & {
17363
- height: number;
17364
- left: number;
17365
- top: number;
17366
- width: number;
17834
+ declare type WillMoveOrResizeEvent = BoundsEvent & {
17367
17835
  monitorScaleFactor: number;
17368
17836
  };
17369
17837
 
@@ -18558,16 +19026,21 @@ declare namespace WindowEvents {
18558
19026
  PreloadScriptInfoRunning,
18559
19027
  PreloadScriptInfo,
18560
19028
  PreloadScriptsStateChangeEvent,
18561
- UserBoundsChangeEvent,
19029
+ BoundsEvent,
18562
19030
  BoundsChangeEvent,
18563
19031
  WillMoveOrResizeEvent,
19032
+ BoundsDidChangeEvent,
19033
+ BoundsChangedEvent,
19034
+ BoundsChangingEvent,
19035
+ DisabledMovementBoundsChangedEvent,
19036
+ DisabledMovementBoundsChangingEvent,
19037
+ UserBoundsChangeEvent,
19038
+ BeginUserBoundsChangingEvent,
19039
+ EndUserBoundsChangingEvent,
18564
19040
  PerformanceReportEvent,
18565
19041
  InputEvent_2 as InputEvent,
18566
19042
  LayoutInitializedEvent,
18567
19043
  LayoutReadyEvent,
18568
- BeginUserBoundsChangingEvent,
18569
- BoundsChangedEvent,
18570
- BoundsChangingEvent,
18571
19044
  CloseRequestedEvent,
18572
19045
  WindowCloseRequestedEvent,
18573
19046
  ContextChangedEvent,
@@ -18575,10 +19048,7 @@ declare namespace WindowEvents {
18575
19048
  WindowClosedEvent,
18576
19049
  ClosingEvent,
18577
19050
  WindowClosingEvent,
18578
- DisabledMovementBoundsChangedEvent,
18579
- DisabledMovementBoundsChangingEvent,
18580
19051
  EmbeddedEvent,
18581
- EndUserBoundsChangingEvent,
18582
19052
  HotkeyEvent_2 as HotkeyEvent,
18583
19053
  WindowHotkeyEvent,
18584
19054
  InitializedEvent_2 as InitializedEvent,