@openfin/fdc3-api 40.82.11 → 40.82.13

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
@@ -42,6 +42,15 @@ declare type Accelerator = {
42
42
  zoom: boolean;
43
43
  };
44
44
 
45
+ /**
46
+ * Generated when a View is added to a layout.
47
+ * @interface
48
+ */
49
+ declare type AddedToLayoutEvent = BaseEvent_4 & {
50
+ type: 'added-to-layout';
51
+ layoutIdentity: OpenFin.LayoutIdentity;
52
+ };
53
+
45
54
  /**
46
55
  * Options to use when adding a view to a {@link TabStack}.
47
56
  *
@@ -49,7 +58,7 @@ declare type Accelerator = {
49
58
  */
50
59
  declare type AddViewOptions = CreateViewTarget & {
51
60
  options: ViewState;
52
- targetView?: Identity_5;
61
+ targetView?: Identity_4;
53
62
  };
54
63
 
55
64
  /**
@@ -927,15 +936,15 @@ declare namespace ApplicationEvents {
927
936
  */
928
937
  declare type ApplicationEventType = EventType_3;
929
938
 
930
- declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
931
-
932
939
  /**
933
940
  * @interface
934
941
  */
935
- declare type ApplicationIdentity_2 = {
942
+ declare type ApplicationIdentity = {
936
943
  uuid: string;
937
944
  };
938
945
 
946
+ declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
947
+
939
948
  /**
940
949
  * @interface
941
950
  */
@@ -1308,12 +1317,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
1308
1317
  */
1309
1318
  declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
1310
1319
 
1311
- declare type ApplicationState = OpenFin.ApplicationState;
1312
-
1313
1320
  /**
1314
1321
  * @interface
1315
1322
  */
1316
- declare type ApplicationState_2 = {
1323
+ declare type ApplicationState = {
1317
1324
  /**
1318
1325
  * True when the application is a Platform controller
1319
1326
  */
@@ -1345,12 +1352,10 @@ declare type ApplicationType = {
1345
1352
  */
1346
1353
  declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
1347
1354
 
1348
- declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
1349
-
1350
1355
  /**
1351
1356
  * @interface
1352
1357
  */
1353
- declare type ApplicationWindowInfo_2 = {
1358
+ declare type ApplicationWindowInfo = {
1354
1359
  childWindows: Array<WindowDetail>;
1355
1360
  mainWindow: WindowDetail;
1356
1361
  /**
@@ -1626,7 +1631,7 @@ declare class Base {
1626
1631
  * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1627
1632
  * guaranteed to behave sensibly in all calling contexts.
1628
1633
  */
1629
- get me(): Identity;
1634
+ get me(): OpenFin.Identity;
1630
1635
  /**
1631
1636
  * @internal
1632
1637
  * @deprecated
@@ -1858,11 +1863,12 @@ declare type BeforeUnloadUserDecision = {
1858
1863
  /**
1859
1864
  * Array of views that will close.
1860
1865
  */
1861
- viewsToClose: Identity_5[];
1866
+ viewsToClose: Identity_4[];
1862
1867
  };
1863
1868
 
1864
1869
  /**
1865
1870
  * Generated at the beginning of a user-driven change to a window's size or position.
1871
+ *
1866
1872
  * @interface
1867
1873
  */
1868
1874
  declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
@@ -1903,31 +1909,33 @@ declare type Bounds = {
1903
1909
  * Generated after changes in a window's size and/or position.
1904
1910
  * @interface
1905
1911
  */
1906
- declare type BoundsChangedEvent = BoundsChangeEvent & {
1912
+ declare type BoundsChangedEvent = BoundsDidChangeEvent & {
1907
1913
  type: 'bounds-changed';
1908
1914
  };
1909
1915
 
1910
- /**
1911
- * A general bounds change event without event type.
1912
- * @interface
1913
- */
1914
- declare type BoundsChangeEvent = BaseEvent_5 & {
1916
+ declare type BoundsChangeEvent = BoundsEvent & {
1915
1917
  changeType: 0 | 1 | 2;
1916
- deferred: boolean;
1917
- height: number;
1918
- left: number;
1919
- top: number;
1920
- width: number;
1921
1918
  };
1922
1919
 
1923
1920
  /**
1924
1921
  * Generated during changes to a window's size and/or position.
1925
1922
  * @interface
1926
1923
  */
1927
- declare type BoundsChangingEvent = BoundsChangeEvent & {
1924
+ declare type BoundsChangingEvent = BoundsDidChangeEvent & {
1928
1925
  type: 'bounds-changing';
1929
1926
  };
1930
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
+
1931
1939
  /**
1932
1940
  * A rule prescribing content creation in the browser.
1933
1941
  *
@@ -3033,7 +3041,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
3033
3041
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
3034
3042
  * @interface
3035
3043
  */
3036
- declare type ClientIdentity = Identity_5 & {
3044
+ declare type ClientIdentity = Identity_4 & {
3037
3045
  /**
3038
3046
  * Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
3039
3047
  */
@@ -3266,7 +3274,7 @@ declare type CloseViewOptions = {
3266
3274
  /**
3267
3275
  *View to be closed.
3268
3276
  */
3269
- viewIdentity: Identity_5;
3277
+ viewIdentity: Identity_4;
3270
3278
  };
3271
3279
 
3272
3280
  /**
@@ -3276,7 +3284,7 @@ declare type CloseViewPayload = {
3276
3284
  /**
3277
3285
  *View to be closed.
3278
3286
  */
3279
- view: Identity_5;
3287
+ view: Identity_4;
3280
3288
  /**
3281
3289
  * The target layout identity where this view should be closed. If not provided, will resolve to the
3282
3290
  * visible layout.
@@ -3294,7 +3302,7 @@ declare interface CloseWindowPayload {
3294
3302
  *
3295
3303
  * Identity of the Window
3296
3304
  */
3297
- windowId: Identity_5;
3305
+ windowId: Identity_4;
3298
3306
  options: {
3299
3307
  /**
3300
3308
  * @defaultValue false
@@ -3415,7 +3423,7 @@ declare type ConstViewOptions = {
3415
3423
  /**
3416
3424
  * The identity of the window this view should be attached to.
3417
3425
  */
3418
- target: Identity_5;
3426
+ target: Identity_4;
3419
3427
  /**
3420
3428
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3421
3429
  */
@@ -3640,7 +3648,7 @@ declare type ConstWindowOptions = {
3640
3648
  /**
3641
3649
  * Parent identity of a modal window. It will create a modal child window when this option is set.
3642
3650
  */
3643
- modalParentIdentity: Identity_5;
3651
+ modalParentIdentity: Identity_4;
3644
3652
  /**
3645
3653
  * The name of the window.
3646
3654
  */
@@ -4124,13 +4132,13 @@ declare type CreateViewPayload = {
4124
4132
  * Window the view will be added to. If no target is provided, a new window will be created.
4125
4133
  */
4126
4134
  target?: CreateViewTarget;
4127
- targetView?: Identity_5;
4135
+ targetView?: Identity_4;
4128
4136
  };
4129
4137
 
4130
4138
  /**
4131
4139
  * @interface
4132
4140
  */
4133
- declare type CreateViewTarget = (Identity_5 | LayoutIdentity) & {
4141
+ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4134
4142
  /**
4135
4143
  * If specified, view creation will not attach to a window and caller must
4136
4144
  * insert the view into the layout explicitly
@@ -4576,7 +4584,7 @@ declare type EmitterAccessor = string[];
4576
4584
  declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
4577
4585
  #private;
4578
4586
  private topic;
4579
- protected identity: ApplicationIdentity;
4587
+ protected identity: OpenFin.ApplicationIdentity;
4580
4588
  constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
4581
4589
  eventNames: () => (string | symbol)[];
4582
4590
  /**
@@ -4656,20 +4664,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
4656
4664
 
4657
4665
  /**
4658
4666
  * Generated at the end of a user-driven change to a window's size or position.
4667
+ *
4659
4668
  * @interface
4660
4669
  */
4661
4670
  declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
4662
4671
  type: 'end-user-bounds-changing';
4663
4672
  };
4664
4673
 
4665
- declare type Entity = OpenFin.ApplicationType;
4666
-
4667
- declare type EntityInfo = OpenFin.EntityInfo;
4668
-
4669
4674
  /**
4670
4675
  * @interface
4671
4676
  */
4672
- declare type EntityInfo_2 = {
4677
+ declare type EntityInfo = {
4673
4678
  uuid: string;
4674
4679
  name: string;
4675
4680
  entityType: EntityType_4;
@@ -4771,6 +4776,7 @@ declare type ErrorPlainObject = {
4771
4776
  stack?: string;
4772
4777
  message: string;
4773
4778
  name?: string;
4779
+ cause?: Error | ErrorPlainObject;
4774
4780
  toString(): string;
4775
4781
  };
4776
4782
 
@@ -4819,7 +4825,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
4819
4825
  */
4820
4826
  declare type Event_4 = (WebContentsEvents.Event<'view'> & {
4821
4827
  target: OpenFin.Identity;
4822
- }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
4828
+ }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
4823
4829
 
4824
4830
  /**
4825
4831
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
@@ -5039,7 +5045,7 @@ declare type ExternalApplicationEventType = EventType_4;
5039
5045
  * @interface
5040
5046
  */
5041
5047
  declare type ExternalApplicationInfo = {
5042
- parent: Identity_5;
5048
+ parent: Identity_4;
5043
5049
  };
5044
5050
 
5045
5051
  /**
@@ -5582,6 +5588,10 @@ declare type FileDownloadEvent = {
5582
5588
  * The number of bytes of the item that have already been downloaded.
5583
5589
  */
5584
5590
  downloadedBytes: number;
5591
+ /**
5592
+ * Unique identifier for the downloaded file.
5593
+ */
5594
+ fileUuid: string;
5585
5595
  } & NamedEvent;
5586
5596
 
5587
5597
  /**
@@ -5843,7 +5853,7 @@ declare type FrameInfo = {
5843
5853
  uuid: string;
5844
5854
  url: string;
5845
5855
  entityType: EntityType_4;
5846
- parent: Identity_5;
5856
+ parent: Identity_4;
5847
5857
  };
5848
5858
 
5849
5859
  /**
@@ -5918,12 +5928,10 @@ declare type FrameProcessDetails = ProcessDetails & {
5918
5928
  entityType: string;
5919
5929
  };
5920
5930
 
5921
- declare type GetLogRequestType = OpenFin.GetLogRequestType;
5922
-
5923
5931
  /**
5924
5932
  * @interface
5925
5933
  */
5926
- declare type GetLogRequestType_2 = {
5934
+ declare type GetLogRequestType = {
5927
5935
  /**
5928
5936
  * The name of the running application
5929
5937
  */
@@ -5943,7 +5951,7 @@ declare type GetWindowContextPayload = {
5943
5951
  /**
5944
5952
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
5945
5953
  */
5946
- target: Identity_5;
5954
+ target: Identity_4;
5947
5955
  };
5948
5956
 
5949
5957
  /**
@@ -6212,8 +6220,6 @@ declare type Identity_2 = OpenFin.Identity;
6212
6220
 
6213
6221
  declare type Identity_3 = OpenFin.Identity;
6214
6222
 
6215
- declare type Identity_4 = OpenFin.Identity;
6216
-
6217
6223
  /**
6218
6224
  * Unique identifier for a window, view or iframe.
6219
6225
  *
@@ -6222,7 +6228,7 @@ declare type Identity_4 = OpenFin.Identity;
6222
6228
  *
6223
6229
  * @interface
6224
6230
  */
6225
- declare type Identity_5 = {
6231
+ declare type Identity_4 = {
6226
6232
  /**
6227
6233
  * Universally unique identifier of the application that owns the component.
6228
6234
  */
@@ -6384,12 +6390,10 @@ declare type InstallationInfo = {
6384
6390
  cachedManifest: any;
6385
6391
  };
6386
6392
 
6387
- declare type InstalledApps = OpenFin.InstalledApps;
6388
-
6389
6393
  /**
6390
6394
  * @interface
6391
6395
  */
6392
- declare type InstalledApps_2 = {
6396
+ declare type InstalledApps = {
6393
6397
  [key: string]: InstallationInfo;
6394
6398
  };
6395
6399
 
@@ -7175,7 +7179,7 @@ declare class InteropBroker extends Base {
7175
7179
  * @param _id the identity tryinc to connect
7176
7180
  * @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
7177
7181
  */
7178
- isConnectionAuthorized(_id: Identity_3, _connectionPayload?: any): Promise<boolean> | boolean;
7182
+ isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
7179
7183
  /**
7180
7184
  * Called before every action to check if this entity should be allowed to take the action.
7181
7185
  * Return false to prevent the action
@@ -8107,7 +8111,7 @@ declare class Layout extends Base {
8107
8111
  * await layout.replaceView(viewToReplace.identity, newViewConfig);
8108
8112
  * ```
8109
8113
  */
8110
- replaceView: (viewToReplace: Identity_4, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
8114
+ replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
8111
8115
  /**
8112
8116
  * Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
8113
8117
  * The preset options are `columns`, `grid`, `rows`, and `tabs`.
@@ -8162,7 +8166,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
8162
8166
  /**
8163
8167
  * The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
8164
8168
  */
8165
- declare type LayoutDOMEvent = Identity_5 & {
8169
+ declare type LayoutDOMEvent = Identity_4 & {
8166
8170
  type: string;
8167
8171
  topic: 'openfin-DOM-event';
8168
8172
  tabSelector: string;
@@ -8223,7 +8227,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
8223
8227
  /**
8224
8228
  * @interface
8225
8229
  */
8226
- declare type LayoutIdentity = Identity_5 & {
8230
+ declare type LayoutIdentity = Identity_4 & {
8227
8231
  /**
8228
8232
  * The name of the layout in a given window.
8229
8233
  */
@@ -8332,7 +8336,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8332
8336
  * @param identity
8333
8337
  * @returns LayoutIdentity | undefined
8334
8338
  */
8335
- resolveLayoutIdentity(identity?: Identity_5 | LayoutIdentity): LayoutIdentity | undefined;
8339
+ resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
8336
8340
  /**
8337
8341
  * @experimental
8338
8342
  *
@@ -8349,7 +8353,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8349
8353
  /**
8350
8354
  * @experimental
8351
8355
  */
8352
- getLayoutIdentityForView(viewIdentity: Identity_5): LayoutIdentity;
8356
+ getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
8353
8357
  /**
8354
8358
  * @experimental
8355
8359
  */
@@ -8823,12 +8827,10 @@ declare type Listener<T extends {
8823
8827
  type: string;
8824
8828
  }> = (payload: T) => void;
8825
8829
 
8826
- declare type LogInfo = OpenFin.LogInfo;
8827
-
8828
8830
  /**
8829
8831
  * @interface
8830
8832
  */
8831
- declare type LogInfo_2 = {
8833
+ declare type LogInfo = {
8832
8834
  /**
8833
8835
  * The filename of the log
8834
8836
  */
@@ -8843,8 +8845,6 @@ declare type LogInfo_2 = {
8843
8845
  date: string;
8844
8846
  };
8845
8847
 
8846
- declare type LogLevel = OpenFin.LogLevel;
8847
-
8848
8848
  /**
8849
8849
  * Describes the minimum level (inclusive) above which logs will be written.
8850
8850
  *
@@ -8854,7 +8854,24 @@ declare type LogLevel = OpenFin.LogLevel;
8854
8854
  * `error` and above<br>
8855
8855
  * `fatal`: fatal only, indicates a crash is imminent
8856
8856
  */
8857
- declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8857
+ declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8858
+
8859
+ declare type LogUploaderUIOptions = {
8860
+ title?: string;
8861
+ icon?: string;
8862
+ header?: string;
8863
+ description?: string;
8864
+ email?: string;
8865
+ website?: string;
8866
+ websiteDescription?: string;
8867
+ };
8868
+
8869
+ declare type LogUploadOptions = {
8870
+ endpoint: string;
8871
+ manifests?: string[];
8872
+ logs?: string[];
8873
+ ui?: LogUploaderUIOptions;
8874
+ };
8858
8875
 
8859
8876
  /**
8860
8877
  * @interface
@@ -8914,6 +8931,7 @@ declare type Manifest = {
8914
8931
  enableErrorReporting?: boolean;
8915
8932
  };
8916
8933
  interopBrokerConfiguration: InteropBrokerOptions;
8934
+ logUpload?: LogUploadOptions;
8917
8935
  };
8918
8936
 
8919
8937
  /**
@@ -9686,13 +9704,13 @@ declare namespace OpenFin {
9686
9704
  LayoutPosition,
9687
9705
  WebContent,
9688
9706
  PlatformProvider,
9689
- ApplicationIdentity_2 as ApplicationIdentity,
9690
- Identity_5 as Identity,
9707
+ ApplicationIdentity,
9708
+ Identity_4 as Identity,
9691
9709
  ClientIdentity,
9692
9710
  ClientInfo,
9693
9711
  ClientIdentityMultiRuntime,
9694
9712
  ClientConnectionPayload,
9695
- EntityInfo_2 as EntityInfo,
9713
+ EntityInfo,
9696
9714
  EntityType_4 as EntityType,
9697
9715
  Bounds,
9698
9716
  WindowBounds,
@@ -9797,6 +9815,8 @@ declare namespace OpenFin {
9797
9815
  PlatformViewCreationOptions,
9798
9816
  ProcessAffinityStrategy,
9799
9817
  PlatformOptions,
9818
+ LogUploaderUIOptions,
9819
+ LogUploadOptions,
9800
9820
  Manifest,
9801
9821
  LayoutContent,
9802
9822
  LayoutItemConfig,
@@ -9826,7 +9846,7 @@ declare namespace OpenFin {
9826
9846
  GpuInfo,
9827
9847
  OSInfo,
9828
9848
  HostSpecs,
9829
- PrinterInfo_2 as PrinterInfo,
9849
+ PrinterInfo,
9830
9850
  Dpi,
9831
9851
  Margins,
9832
9852
  PrintOptions,
@@ -9934,24 +9954,24 @@ declare namespace OpenFin {
9934
9954
  BeforeUnloadUserDecision,
9935
9955
  ViewStatuses,
9936
9956
  CloseWindowPayload,
9937
- ProxyInfo_2 as ProxyInfo,
9938
- ProxyConfig_2 as ProxyConfig,
9957
+ ProxyInfo,
9958
+ ProxyConfig,
9939
9959
  ProxySystemInfo,
9940
9960
  ChannelAction_2 as ChannelAction,
9941
9961
  ChannelMiddleware_2 as ChannelMiddleware,
9942
9962
  ErrorMiddleware_2 as ErrorMiddleware,
9943
- ApplicationState_2 as ApplicationState,
9944
- InstalledApps_2 as InstalledApps,
9963
+ ApplicationState,
9964
+ InstalledApps,
9945
9965
  InstallationInfo,
9946
- GetLogRequestType_2 as GetLogRequestType,
9947
- LogInfo_2 as LogInfo,
9966
+ GetLogRequestType,
9967
+ LogInfo,
9948
9968
  SendApplicationLogResponse,
9949
- LogLevel_2 as LogLevel,
9969
+ LogLevel,
9950
9970
  PermissionState_2 as PermissionState,
9951
- RegistryInfo_2 as RegistryInfo,
9971
+ RegistryInfo,
9952
9972
  ApplicationType,
9953
9973
  WindowInfo,
9954
- ApplicationWindowInfo_2 as ApplicationWindowInfo,
9974
+ ApplicationWindowInfo,
9955
9975
  WindowDetail,
9956
9976
  LayoutPresetType,
9957
9977
  LayoutIdentity,
@@ -11938,12 +11958,10 @@ declare type PresetLayoutOptions_2 = {
11938
11958
  presetType: LayoutPresetType;
11939
11959
  };
11940
11960
 
11941
- declare type PrinterInfo = OpenFin.PrinterInfo;
11942
-
11943
11961
  /**
11944
11962
  * @interface
11945
11963
  */
11946
- declare type PrinterInfo_2 = {
11964
+ declare type PrinterInfo = {
11947
11965
  /**
11948
11966
  * Printer Name
11949
11967
  */
@@ -12205,20 +12223,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
12205
12223
  declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
12206
12224
 
12207
12225
  declare interface ProtocolMap extends ProtocolMapBase {
12226
+ 'is-application-running': ApplicationIdentityCall<{}, boolean>;
12227
+ 'destroy-application': ApplicationIdentityCall<{
12228
+ force: boolean;
12229
+ }, void>;
12230
+ 'close-application': ApplicationIdentityCall<{
12231
+ force: boolean;
12232
+ }, void>;
12233
+ 'application-close': ApplicationIdentityCall<{}, void>;
12234
+ 'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
12235
+ 'get-application-manifest': {
12236
+ request: {
12237
+ manifestUrl?: string;
12238
+ uuid?: string;
12239
+ };
12240
+ response: OpenFin.Manifest;
12241
+ };
12242
+ 'get-parent-application': ApplicationIdentityCall<{}, string>;
12243
+ 'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
12244
+ 'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
12245
+ 'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
12246
+ 'application-get-window': ApplicationIdentityCall<{}, void>;
12247
+ 'register-user': ApplicationIdentityCall<{
12248
+ userName: string;
12249
+ appName: string;
12250
+ }, void>;
12251
+ 'remove-tray-icon': ApplicationIdentityCall<{}, void>;
12252
+ 'restart-application': ApplicationIdentityCall<{}, void>;
12253
+ 'application-run': ApplicationIdentityCall<{}, void>;
12254
+ 'run-application': ApplicationIdentityCall<{
12255
+ manifestUrl?: string | undefined;
12256
+ opts?: OpenFin.RvmLaunchOptions;
12257
+ }, void>;
12258
+ 'relaunch-on-close': ApplicationIdentityCall<{}, void>;
12259
+ 'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
12260
+ 'set-jump-list': ApplicationIdentityCall<{
12261
+ config: OpenFin.JumpListCategory[] | null;
12262
+ }, void>;
12263
+ 'set-tray-icon': ApplicationIdentityCall<{
12264
+ enabledIcon: string;
12265
+ }, void>;
12266
+ 'set-shortcuts': ApplicationIdentityCall<{
12267
+ data: OpenFin.ShortCutConfig;
12268
+ }, void>;
12269
+ 'set-shortcut-query-args': ApplicationIdentityCall<{
12270
+ data: string;
12271
+ }, void>;
12272
+ 'set-application-zoom-level': ApplicationIdentityCall<{
12273
+ level: number;
12274
+ }, void>;
12275
+ 'set-app-log-username': ApplicationIdentityCall<{
12276
+ data: string;
12277
+ }, void>;
12278
+ 'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
12279
+ 'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
12280
+ 'terminate-application': ApplicationIdentityCall<{}, void>;
12281
+ 'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
12282
+ 'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
12283
+ 'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
12284
+ 'set-file-download-location': {
12285
+ request: OpenFin.Identity & {
12286
+ downloadLocation: string;
12287
+ };
12288
+ response: void;
12289
+ };
12290
+ 'get-file-download-location': ApplicationIdentityCall<{}, string>;
12291
+ 'show-tray-icon-popup-menu': {
12292
+ request: OpenFin.Identity & {
12293
+ options: OpenFin.ShowTrayIconPopupMenuOptions;
12294
+ };
12295
+ response: OpenFin.MenuResult;
12296
+ };
12297
+ 'close-tray-icon-popup-menu': IdentityCall<{}, void>;
12298
+ 'wrap-application': VoidCall;
12299
+ 'wrap-application-sync': VoidCall;
12300
+ 'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
12301
+ 'application-create': VoidCall;
12302
+ 'start-application': VoidCall;
12303
+ 'run-applications': ApiCall<{
12304
+ applications: Array<OpenFin.ManifestInfo>;
12305
+ opts?: OpenFin.RvmLaunchOptions;
12306
+ }, void>;
12307
+ 'get-current-application': VoidCall;
12308
+ 'get-current-application-sync': VoidCall;
12309
+ 'application-start-from-manifest': VoidCall;
12310
+ 'application-create-from-manifest': VoidCall;
12208
12311
  'request-external-authorization': {
12209
12312
  request: any;
12210
12313
  response: void;
12211
12314
  specialResponse: AuthorizationPayload;
12212
12315
  };
12213
- 'application-get-views': {
12214
- request: OpenFin.ApplicationIdentity;
12215
- response: OpenFin.Identity[];
12216
- };
12217
- 'set-jump-list': {
12218
- request: {
12219
- config: OpenFin.JumpListCategory[] | null;
12220
- } & OpenFin.ApplicationIdentity;
12316
+ 'request-authorization': {
12317
+ request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
12221
12318
  response: void;
12319
+ specialResponse: Payload;
12222
12320
  };
12223
12321
  'clipboard-read-formats': {
12224
12322
  request: {
@@ -12230,6 +12328,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
12230
12328
  request: OpenFin.ReadImageClipboardRequest;
12231
12329
  response: string;
12232
12330
  };
12331
+ 'clipboard-read-text': {
12332
+ request: {
12333
+ type?: OpenFin.ClipboardSelectionType;
12334
+ };
12335
+ response: string;
12336
+ };
12337
+ 'clipboard-read-html': {
12338
+ request: {
12339
+ type?: OpenFin.ClipboardSelectionType;
12340
+ };
12341
+ response: string;
12342
+ };
12343
+ 'clipboard-read-rtf': {
12344
+ request: {
12345
+ type?: OpenFin.ClipboardSelectionType;
12346
+ };
12347
+ response: string;
12348
+ };
12233
12349
  'clipboard-write-image': {
12234
12350
  request: OpenFin.WriteImageClipboardRequest;
12235
12351
  response: void;
@@ -12238,6 +12354,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
12238
12354
  request: OpenFin.WriteAnyRequestType;
12239
12355
  response: void;
12240
12356
  };
12357
+ 'clipboard-write-text': {
12358
+ request: OpenFin.WriteClipboardRequest;
12359
+ response: void;
12360
+ };
12361
+ 'clipboard-write-html': {
12362
+ request: OpenFin.WriteClipboardRequest;
12363
+ response: void;
12364
+ };
12365
+ 'clipboard-write-rtf': {
12366
+ request: OpenFin.WriteClipboardRequest;
12367
+ response: void;
12368
+ };
12241
12369
  'get-view-window': IdentityCall<{}, OpenFin.Identity>;
12242
12370
  'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
12243
12371
  uuid: string;
@@ -12263,13 +12391,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
12263
12391
  options: OpenFin.UpdatableViewOptions;
12264
12392
  }>;
12265
12393
  'trigger-before-unload': IdentityCall<{}, boolean>;
12394
+ 'view-wrap-sync': VoidCall;
12395
+ 'view-wrap': VoidCall;
12396
+ 'view-get-current': VoidCall;
12397
+ 'view-get-current-sync': VoidCall;
12398
+ 'animate-window': IdentityCall<{
12399
+ transitions: OpenFin.Transition;
12400
+ options: OpenFin.TransitionOptions;
12401
+ }>;
12402
+ 'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
12403
+ 'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
12404
+ 'center-window': IdentityCall;
12405
+ 'blur-window': IdentityCall;
12406
+ 'bring-window-to-front': IdentityCall;
12407
+ 'hide-window': IdentityCall;
12408
+ 'close-window': IdentityCall<{
12409
+ force: boolean;
12410
+ }>;
12411
+ 'focused-webview-changed': IdentityCall;
12412
+ 'get-window-native-id': IdentityCall<{}, string>;
12266
12413
  'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
12267
- 'print': {
12414
+ 'disable-window-frame': IdentityCall;
12415
+ 'enable-window-frame': IdentityCall;
12416
+ 'flash-window': IdentityCall;
12417
+ 'stop-flash-window': IdentityCall;
12418
+ 'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
12419
+ 'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
12420
+ 'get-window-snapshot': IdentityCall<{
12421
+ area?: OpenFin.Rectangle;
12422
+ }, string>;
12423
+ 'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
12424
+ 'is-window-showing': IdentityCall<{}, boolean>;
12425
+ 'maximize-window': IdentityCall;
12426
+ 'minimize-window': IdentityCall;
12427
+ 'move-window-by': IdentityCall<WithPositioningOptions<{
12428
+ deltaLeft: number;
12429
+ deltaTop: number;
12430
+ }>>;
12431
+ 'move-window': IdentityCall<WithPositioningOptions<{
12432
+ left: number;
12433
+ top: number;
12434
+ }>>;
12435
+ 'resize-window-by': IdentityCall<WithPositioningOptions<{
12436
+ deltaWidth: number;
12437
+ deltaHeight: number;
12438
+ anchor: OpenFin.AnchorType;
12439
+ }>>;
12440
+ 'resize-window': IdentityCall<WithPositioningOptions<{
12441
+ width: number;
12442
+ height: number;
12443
+ anchor: OpenFin.AnchorType;
12444
+ }>>;
12445
+ 'restore-window': IdentityCall;
12446
+ 'set-foreground-window': IdentityCall;
12447
+ 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
12448
+ 'show-window': IdentityCall<{
12449
+ force: boolean;
12450
+ }>;
12451
+ 'show-at-window': IdentityCall<{
12452
+ left: number;
12453
+ top: number;
12454
+ force: boolean;
12455
+ }>;
12456
+ 'update-window-options': IdentityCall<{
12457
+ options: OpenFin.UpdatableWindowOptions;
12458
+ }>;
12459
+ 'window-authenticate': IdentityCall<{
12460
+ userName: string;
12461
+ password: string;
12462
+ }>;
12463
+ 'show-popup-menu': {
12268
12464
  request: OpenFin.Identity & {
12269
- options: OpenFin.PrintOptions;
12465
+ options: OpenFin.ShowPopupMenuOptions;
12270
12466
  };
12271
- response: void;
12467
+ response: OpenFin.MenuResult;
12272
12468
  };
12469
+ 'close-popup-menu': IdentityCall;
12470
+ 'dispatch-popup-result': IdentityCall<{
12471
+ data: any;
12472
+ }>;
12273
12473
  'print-screenshot': {
12274
12474
  request: OpenFin.Identity;
12275
12475
  response: void;
@@ -12280,6 +12480,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
12280
12480
  };
12281
12481
  response: void;
12282
12482
  };
12483
+ 'window-wrap': VoidCall;
12484
+ 'window-wrap-sync': VoidCall;
12485
+ 'create-window': VoidCall;
12486
+ 'get-current-window': VoidCall;
12487
+ 'get-current-window-sync': VoidCall;
12488
+ 'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
12489
+ 'external-application-wrap': VoidCall;
12490
+ 'external-application-wrap-sync': VoidCall;
12491
+ 'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
12492
+ 'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
12493
+ 'frame-wrap': VoidCall;
12494
+ 'frame-wrap-sync': VoidCall;
12495
+ 'frame-get-current': VoidCall;
12496
+ 'frame-get-current-sync': VoidCall;
12497
+ 'global-hotkey-register': {
12498
+ request: {
12499
+ hotkey: string;
12500
+ };
12501
+ response: void;
12502
+ };
12503
+ 'global-hotkey-unregister': {
12504
+ request: {
12505
+ hotkey: string;
12506
+ };
12507
+ response: void;
12508
+ };
12509
+ 'global-hotkey-unregister-all': {
12510
+ request: {};
12511
+ response: void;
12512
+ };
12513
+ 'global-hotkey-is-registered': {
12514
+ request: {
12515
+ hotkey: string;
12516
+ };
12517
+ response: boolean;
12518
+ };
12519
+ 'publish-message': {
12520
+ request: {
12521
+ topic: string;
12522
+ message: any;
12523
+ sourceWindowName: string;
12524
+ };
12525
+ response: void;
12526
+ };
12527
+ 'send-message': {
12528
+ request: {
12529
+ destinationUuid: string;
12530
+ destinationWindowName: string | undefined;
12531
+ topic: string;
12532
+ message: any;
12533
+ sourceWindowName: string;
12534
+ };
12535
+ response: void;
12536
+ };
12537
+ 'subscribe': {
12538
+ request: {
12539
+ sourceUuid: string;
12540
+ sourceWindowName: string;
12541
+ topic: string;
12542
+ destinationWindowName: string;
12543
+ messageKey?: any;
12544
+ };
12545
+ response: void;
12546
+ };
12547
+ 'unsubscribe': {
12548
+ request: {
12549
+ sourceUuid: string;
12550
+ sourceWindowName: string;
12551
+ topic: string;
12552
+ destinationWindowName: string;
12553
+ };
12554
+ response: void;
12555
+ };
12556
+ 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
12557
+ 'connect-to-channel': {
12558
+ request: any;
12559
+ response: OpenFin.RoutingInfo;
12560
+ };
12561
+ 'create-channel': ApiCall<{
12562
+ channelName: string;
12563
+ }, OpenFin.ProviderIdentity>;
12564
+ 'destroy-channel': ApiCall<{
12565
+ channelName: string;
12566
+ }, void>;
12567
+ 'disconnect-from-channel': {
12568
+ request: {
12569
+ channelName: string;
12570
+ uuid: string;
12571
+ name: string;
12572
+ endpointId: string;
12573
+ };
12574
+ response: void;
12575
+ };
12576
+ 'send-channel-message': {
12577
+ request: any;
12578
+ response: any;
12579
+ };
12580
+ 'get-version': GetterCall<string>;
12581
+ 'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
12582
+ 'delete-cache-request': VoidCall;
12583
+ 'exit-desktop': VoidCall;
12584
+ 'fetch-manifest': ApiCall<{
12585
+ manifestUrl: string;
12586
+ }, any>;
12587
+ 'flush-cookie-store': VoidCall;
12588
+ 'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
12589
+ 'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
12590
+ 'get-command-line-arguments': GetterCall<string>;
12591
+ 'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
12592
+ 'start-crash-reporter': {
12593
+ request: OpenFin.CrashReporterOptions | {
12594
+ diagnosticMode: boolean;
12595
+ };
12596
+ response: OpenFin.CrashReporterState;
12597
+ };
12598
+ 'get-unique-user-id': GetterCall<string>;
12599
+ 'get-entity-info': {
12600
+ request: {
12601
+ uuid: string;
12602
+ name: string;
12603
+ };
12604
+ response: OpenFin.EntityInfo;
12605
+ };
12606
+ 'get-environment-variable': {
12607
+ request: {
12608
+ environmentVariables: string;
12609
+ };
12610
+ response: string;
12611
+ };
12612
+ 'get-focused-window': GetterCall<OpenFin.Identity | null>;
12613
+ 'is-app-certified': {
12614
+ request: {
12615
+ manifestUrl: string;
12616
+ };
12617
+ response: {
12618
+ action: string;
12619
+ certifiedInfo: OpenFin.CertifiedAppInfo;
12620
+ };
12621
+ };
12622
+ 'get-installed-runtimes': GetterCall<{
12623
+ action: string;
12624
+ runtimes: string[];
12625
+ }>;
12626
+ 'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
12627
+ 'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
12628
+ 'get-machine-id': GetterCall<string>;
12629
+ 'get-min-log-level': GetterCall<OpenFin.LogLevel>;
12630
+ 'list-logs': GetterCall<OpenFin.LogInfo[]>;
12631
+ 'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
12632
+ 'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
12633
+ 'process-snapshot': GetterCall<Array<any>>;
12634
+ 'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
12635
+ 'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
12636
+ 'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
12637
+ 'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
12638
+ 'get-host-specs': GetterCall<OpenFin.HostSpecs>;
12639
+ 'get-os-info': GetterCall<OpenFin.OSInfo>;
12640
+ 'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
12641
+ 'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
12642
+ 'write-to-log': ApiCall<{
12643
+ level: string;
12644
+ message: string;
12645
+ }, void>;
12646
+ 'open-url-with-browser': ApiCall<{
12647
+ url: string;
12648
+ }, void>;
12649
+ 'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
12650
+ 'unregister-custom-protocol': ApiCall<{
12651
+ protocolName: string;
12652
+ }, void>;
12653
+ 'get-custom-protocol-state': ApiCall<{
12654
+ protocolName: string;
12655
+ }, OpenFin.CustomProtocolState>;
12656
+ 'release-external-process': ApiCall<{
12657
+ uuid: string;
12658
+ }, void>;
12659
+ 'show-developer-tools': ApiCall<OpenFin.Identity, void>;
12660
+ 'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
12661
+ 'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
12662
+ 'download-asset': {
12663
+ request: OpenFin.AppAssetInfo & {
12664
+ downloadId: string;
12665
+ };
12666
+ response: void;
12667
+ };
12668
+ 'download-runtime': {
12669
+ request: OpenFin.RuntimeDownloadOptions & {
12670
+ downloadId: string;
12671
+ };
12672
+ response: void;
12673
+ };
12674
+ 'download-preload-scripts': ApiCall<{
12675
+ scripts: Array<OpenFin.DownloadPreloadOption>;
12676
+ }, Array<OpenFin.DownloadPreloadInfo>>;
12677
+ 'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
12678
+ 'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
12679
+ 'get-cookies': {
12680
+ request: OpenFin.CookieOption & {
12681
+ url: string;
12682
+ };
12683
+ response: Array<OpenFin.CookieInfo>;
12684
+ };
12685
+ 'set-min-log-level': ApiCall<{
12686
+ level: OpenFin.LogLevel;
12687
+ }, void>;
12688
+ 'resolve-uuid': ApiCall<{
12689
+ entityKey: string;
12690
+ }, OpenFin.ApplicationType>;
12691
+ 'read-registry-value': ApiCall<{
12692
+ rootKey: string;
12693
+ subkey: string;
12694
+ value: string;
12695
+ }, OpenFin.RegistryInfo>;
12696
+ 'register-external-connection': ApiCall<{
12697
+ uuid: string;
12698
+ }, OpenFin.ExternalConnection>;
12699
+ 'get-service-configuration': ApiCall<{
12700
+ name: string;
12701
+ }, OpenFin.ServiceConfiguration>;
12702
+ 'get-system-app-configuration': ApiCall<{
12703
+ name: string;
12704
+ }, any>;
12705
+ 'run-rvm-health-check': ApiCall<void, string[]>;
12283
12706
  'launch-manifest': {
12284
12707
  request: {
12285
12708
  manifestUrl: string;
@@ -12291,17 +12714,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
12291
12714
  manifest: OpenFin.Manifest;
12292
12715
  };
12293
12716
  };
12294
- 'get-system-app-configuration': {
12717
+ 'query-permission-for-current-context': {
12295
12718
  request: {
12296
- name: string;
12297
- };
12298
- response: any;
12299
- };
12300
- 'show-popup-menu': {
12301
- request: OpenFin.Identity & {
12302
- options: OpenFin.ShowPopupMenuOptions;
12719
+ apiName: string;
12720
+ identity: OpenFin.Identity;
12303
12721
  };
12304
- response: OpenFin.MenuResult;
12722
+ response: OpenFin.QueryPermissionResult;
12305
12723
  };
12306
12724
  'enable-native-window-integration-provider': {
12307
12725
  request: {
@@ -12309,24 +12727,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
12309
12727
  };
12310
12728
  response: OpenFin.NativeWindowIntegrationProviderAuthorization;
12311
12729
  };
12730
+ 'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
12731
+ 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
12732
+ 'system-update-process-logging-options': ApiCall<{
12733
+ options: OpenFin.ProcessLoggingOptions;
12734
+ }, void>;
12735
+ 'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12736
+ 'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12737
+ domainSettings: OpenFin.DefaultDomainSettings;
12738
+ }, void>;
12739
+ 'system-register-shutdown-handler': VoidCall;
12312
12740
  'get-permissions': GetterCall<any>;
12313
- 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
12314
- 'set-file-download-location': {
12315
- request: OpenFin.Identity & {
12316
- downloadLocation: string;
12317
- };
12318
- response: void;
12319
- };
12320
- 'get-file-download-location': {
12321
- request: OpenFin.ApplicationIdentity;
12322
- response: string;
12323
- };
12324
- 'close-popup-menu': IdentityCall;
12325
12741
  'fdc3-add-context-listener': VoidCall;
12742
+ 'fdc3-add-intent-listener': VoidCall;
12743
+ 'fdc3-raise-intent': VoidCall;
12744
+ 'fdc3-find-intent': VoidCall;
12745
+ 'fdc3-find-intents-by-context': VoidCall;
12746
+ 'fdc3-raise-intent-for-context': VoidCall;
12747
+ 'fdc3-get-info': VoidCall;
12748
+ 'fdc3-find-instances': VoidCall;
12749
+ 'fdc3-get-app-metadata': VoidCall;
12326
12750
  'fdc3-broadcast': VoidCall;
12751
+ 'fdc3-open': VoidCall;
12752
+ 'fdc3-get-or-create-channel': VoidCall;
12327
12753
  'fdc3-get-system-channels': VoidCall;
12328
12754
  'fdc3-join-channel': VoidCall;
12755
+ 'fdc3-get-current-channel': VoidCall;
12329
12756
  'fdc3-leave-current-channel': VoidCall;
12757
+ 'interop-init': VoidCall;
12330
12758
  'interop-connect-sync': VoidCall;
12331
12759
  'interop-client-set-context': VoidCall;
12332
12760
  'interop-client-add-context-handler': VoidCall;
@@ -12335,6 +12763,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
12335
12763
  'interop-client-remove-from-context-group': VoidCall;
12336
12764
  'interop-client-get-all-clients-in-context-group': VoidCall;
12337
12765
  'interop-client-get-info-for-context-group': VoidCall;
12766
+ 'interop-client-fire-intent': VoidCall;
12767
+ 'interop-client-register-intent-handler': VoidCall;
12768
+ 'interop-client-get-current-context': VoidCall;
12769
+ 'interop-client-get-info-for-intent': VoidCall;
12770
+ 'interop-client-get-info-for-intents-by-context': VoidCall;
12771
+ 'interop-client-fire-intent-for-context': VoidCall;
12772
+ 'interop-client-add-ondisconnection-listener': VoidCall;
12338
12773
  'interop-broker-add-client-to-context-group': VoidCall;
12339
12774
  'interop-broker-get-all-clients-in-context-group': VoidCall;
12340
12775
  'interop-broker-get-context-groups': VoidCall;
@@ -12346,13 +12781,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
12346
12781
  'interop-broker-remove-from-context-group': VoidCall;
12347
12782
  'interop-broker-set-context': VoidCall;
12348
12783
  'interop-broker-set-context-for-group': VoidCall;
12349
- 'query-permission-for-current-context': {
12350
- request: {
12351
- apiName: string;
12352
- identity: OpenFin.Identity;
12353
- };
12354
- response: OpenFin.QueryPermissionResult;
12355
- };
12784
+ 'interop-broker-get-current-context': VoidCall;
12785
+ 'interop-broker-set-intent-target': VoidCall;
12786
+ 'interop-session-context-group-set-context': VoidCall;
12787
+ 'interop-session-context-group-get-context': VoidCall;
12788
+ 'interop-session-context-group-add-handler': VoidCall;
12789
+ 'platform-wrap': VoidCall;
12790
+ 'platform-wrap-sync': VoidCall;
12791
+ 'platform-get-current': VoidCall;
12792
+ 'platform-get-current-sync': VoidCall;
12793
+ 'platform-start': VoidCall;
12794
+ 'platform-start-from-manifest': VoidCall;
12795
+ 'platform-get-client': ApplicationIdentityCall<{}, void>;
12796
+ 'platform-create-view': ApplicationIdentityCall<{}, void>;
12797
+ 'platform-create-window': ApplicationIdentityCall<{}, void>;
12798
+ 'platform-quit': ApplicationIdentityCall<{}, void>;
12799
+ 'platform-close-view': ApplicationIdentityCall<{}, void>;
12800
+ 'platform-reparent-view': ApplicationIdentityCall<{}, void>;
12801
+ 'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
12802
+ 'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
12803
+ 'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
12804
+ 'platform-set-window-context': ApplicationIdentityCall<{}, void>;
12805
+ 'platform-get-window-context': ApplicationIdentityCall<{}, void>;
12806
+ 'platform-close-window': ApplicationIdentityCall<{}, void>;
12807
+ 'layout-wrap': VoidCall;
12808
+ 'layout-wrap-sync': VoidCall;
12809
+ 'layout-get-current': VoidCall;
12810
+ 'layout-get-current-sync': VoidCall;
12811
+ 'layout-init': VoidCall;
12812
+ 'layout-get-config': VoidCall;
12813
+ 'layout-get-views': VoidCall;
12814
+ 'layout-replace': VoidCall;
12815
+ 'layout-get-root-item': VoidCall;
12816
+ 'layout-replace-view': VoidCall;
12817
+ 'layout-apply-preset': VoidCall;
12818
+ 'layout-controller-get-root': VoidCall;
12819
+ 'layout-controller-get-stack-by-view': VoidCall;
12820
+ 'layout-controller-get-stack-views': VoidCall;
12821
+ 'layout-controller-get-content': VoidCall;
12822
+ 'layout-controller-get-parent': VoidCall;
12823
+ 'layout-controller-is-root': VoidCall;
12824
+ 'layout-controller-exists': VoidCall;
12825
+ 'layout-controller-add-view-to-stack': VoidCall;
12826
+ 'layout-controller-remove-view-from-stack': VoidCall;
12827
+ 'layout-controller-create-adjacent-stack': VoidCall;
12828
+ 'layout-controller-get-adjacent-stacks': VoidCall;
12829
+ 'layout-controller-set-stack-active-view': VoidCall;
12830
+ 'snapshot-source-init': VoidCall;
12831
+ 'snapshot-source-wrap-sync': VoidCall;
12832
+ 'snapshot-source-wrap': VoidCall;
12833
+ 'snapshot-source-ready': VoidCall;
12834
+ 'snapshot-source-get-snapshot': VoidCall;
12835
+ 'snapshot-source-apply-snapshot': VoidCall;
12836
+ 'capture-page': IdentityCall<{
12837
+ options?: OpenFin.CapturePageOptions;
12838
+ }, string>;
12839
+ 'execute-javascript-in-window': IdentityCall<{
12840
+ code: string;
12841
+ }, unknown>;
12842
+ 'get-zoom-level': IdentityCall<{}, number>;
12843
+ 'set-zoom-level': IdentityCall<{
12844
+ level: number;
12845
+ }, void>;
12846
+ 'navigate-window': IdentityCall<{
12847
+ url: string;
12848
+ }, void>;
12849
+ 'navigate-window-back': IdentityCall<{}, void>;
12850
+ 'navigate-window-forward': IdentityCall<{}, void>;
12851
+ 'stop-window-navigation': IdentityCall<{}, void>;
12852
+ 'reload-window': IdentityCall<{
12853
+ ignoreCache: boolean;
12854
+ }, void>;
12855
+ 'print': IdentityCall<{
12856
+ options: OpenFin.PrintOptions;
12857
+ }, void>;
12858
+ 'find-in-page': IdentityCall<{
12859
+ searchTerm: string;
12860
+ options?: OpenFin.FindInPageOptions;
12861
+ }, void>;
12862
+ 'stop-find-in-page': IdentityCall<{
12863
+ action: 'clearSelection' | 'keepSelection' | 'activateSelection';
12864
+ }, void>;
12865
+ 'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
12866
+ 'focus-window': IdentityCall<{
12867
+ emitSynthFocused: boolean;
12868
+ }, void>;
12869
+ 'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
12870
+ 'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
12871
+ 'inspect-shared-worker': IdentityCall<{}, void>;
12872
+ 'inspect-shared-worker-by-id': IdentityCall<{
12873
+ workerId: string;
12874
+ }, void>;
12875
+ 'inspect-service-worker': IdentityCall<{}, void>;
12876
+ 'view-show-popup-window': IdentityCall<{}, void>;
12877
+ 'window-show-popup-window': IdentityCall<{}, void>;
12356
12878
  'try-create-popup-window': {
12357
12879
  request: OpenFin.Identity & {
12358
12880
  options: OpenFin.PopupOptions;
@@ -12368,9 +12890,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12368
12890
  };
12369
12891
  response: OpenFin.PopupResult;
12370
12892
  };
12371
- 'dispatch-popup-result': IdentityCall<{
12372
- data: any;
12373
- }>;
12374
12893
  'render-overlay': {
12375
12894
  request: {
12376
12895
  bounds: OpenFin.Bounds;
@@ -12390,40 +12909,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12390
12909
  };
12391
12910
  response: void;
12392
12911
  };
12393
- 'get-host-specs': GetterCall<OpenFin.HostSpecs>;
12394
- 'get-os-info': GetterCall<OpenFin.OSInfo>;
12395
- 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
12396
- 'system-register-shutdown-handler': VoidCall;
12397
- 'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12398
- 'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12399
- domainSettings: OpenFin.DefaultDomainSettings;
12400
- }, void>;
12401
- 'move-window-by': IdentityCall<WithPositioningOptions<{
12402
- deltaLeft: number;
12403
- deltaTop: number;
12404
- }>>;
12405
- 'move-window': IdentityCall<WithPositioningOptions<{
12406
- left: number;
12407
- top: number;
12408
- }>>;
12409
- 'resize-window-by': IdentityCall<WithPositioningOptions<{
12410
- deltaWidth: number;
12411
- deltaHeight: number;
12412
- anchor: OpenFin.AnchorType;
12413
- }>>;
12414
- 'resize-window': IdentityCall<WithPositioningOptions<{
12415
- width: number;
12416
- height: number;
12417
- anchor: OpenFin.AnchorType;
12418
- }>>;
12419
- 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
12420
- 'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
12421
- 'unregister-custom-protocol': ApiCall<{
12422
- protocolName: string;
12423
- }, void>;
12424
- 'get-custom-protocol-state': ApiCall<{
12425
- protocolName: string;
12426
- }, OpenFin.CustomProtocolState>;
12427
12912
  }
12428
12913
 
12429
12914
  declare interface ProtocolMapBase {
@@ -12453,7 +12938,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
12453
12938
  * Identity of a channel provider.
12454
12939
  * @interface
12455
12940
  */
12456
- declare type ProviderIdentity_4 = Identity_5 & {
12941
+ declare type ProviderIdentity_4 = Identity_4 & {
12457
12942
  /**
12458
12943
  * Identifier of the channel.
12459
12944
  */
@@ -12464,12 +12949,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
12464
12949
  channelName: string;
12465
12950
  };
12466
12951
 
12467
- declare type ProxyConfig = OpenFin.ProxyConfig;
12468
-
12469
12952
  /**
12470
12953
  * @interface
12471
12954
  */
12472
- declare type ProxyConfig_2 = {
12955
+ declare type ProxyConfig = {
12473
12956
  /**
12474
12957
  * The configured proxy address.
12475
12958
  */
@@ -12481,13 +12964,11 @@ declare type ProxyConfig_2 = {
12481
12964
  type: string;
12482
12965
  };
12483
12966
 
12484
- declare type ProxyInfo = OpenFin.ProxyInfo;
12485
-
12486
12967
  /**
12487
12968
  * @interface
12488
12969
  */
12489
- declare type ProxyInfo_2 = {
12490
- config: ProxyConfig_2;
12970
+ declare type ProxyInfo = {
12971
+ config: ProxyConfig;
12491
12972
  system: ProxySystemInfo;
12492
12973
  };
12493
12974
 
@@ -12593,12 +13074,10 @@ declare type RegisterUsageData = {
12593
13074
  type: string;
12594
13075
  };
12595
13076
 
12596
- declare type RegistryInfo = OpenFin.RegistryInfo;
12597
-
12598
13077
  /**
12599
13078
  * @interface
12600
13079
  */
12601
- declare type RegistryInfo_2 = {
13080
+ declare type RegistryInfo = {
12602
13081
  data: any;
12603
13082
  rootKey: string;
12604
13083
  subkey: string;
@@ -12619,6 +13098,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
12619
13098
  token: string;
12620
13099
  }
12621
13100
 
13101
+ /**
13102
+ * Generated when a View is removed from a layout.
13103
+ * @interface
13104
+ */
13105
+ declare type RemovedFromLayoutEvent = BaseEvent_4 & {
13106
+ type: 'removed-from-layout';
13107
+ layoutIdentity: OpenFin.LayoutIdentity;
13108
+ };
13109
+
12622
13110
  /**
12623
13111
  * @interface
12624
13112
  */
@@ -12647,14 +13135,14 @@ declare type ReplaceLayoutPayload = {
12647
13135
  /**
12648
13136
  * Identity of the window whose layout will be replaced.
12649
13137
  */
12650
- target: Identity_5 | LayoutIdentity;
13138
+ target: Identity_4 | LayoutIdentity;
12651
13139
  };
12652
13140
 
12653
13141
  /**
12654
13142
  * @interface
12655
13143
  */
12656
13144
  declare type ReplaceViewOptions = {
12657
- viewToReplace: Identity_5;
13145
+ viewToReplace: Identity_4;
12658
13146
  newView: ViewState;
12659
13147
  };
12660
13148
 
@@ -12663,7 +13151,7 @@ declare type ReplaceViewOptions = {
12663
13151
  */
12664
13152
  declare type ReplaceViewPayload = {
12665
13153
  opts: {
12666
- viewToReplace: Identity_5;
13154
+ viewToReplace: Identity_4;
12667
13155
  newView: Partial<ViewOptions>;
12668
13156
  };
12669
13157
  target: LayoutIdentity;
@@ -13029,7 +13517,7 @@ declare type SetWindowContextPayload = {
13029
13517
  /**
13030
13518
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
13031
13519
  */
13032
- target: Identity_5;
13520
+ target: Identity_4;
13033
13521
  };
13034
13522
 
13035
13523
  /**
@@ -13479,7 +13967,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13479
13967
  * fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
13480
13968
  * ```
13481
13969
  */
13482
- getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
13970
+ getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
13483
13971
  /**
13484
13972
  * Retrieves an array of data for all applications.
13485
13973
  *
@@ -13488,7 +13976,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13488
13976
  * fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
13489
13977
  * ```
13490
13978
  */
13491
- getAllApplications(): Promise<Array<ApplicationState>>;
13979
+ getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
13492
13980
  /**
13493
13981
  * Retrieves the command line argument string that started OpenFin Runtime.
13494
13982
  *
@@ -13563,7 +14051,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13563
14051
  * }
13564
14052
  * ```
13565
14053
  */
13566
- getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
14054
+ getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
13567
14055
  /**
13568
14056
  * Gets the value of a given environment variable on the computer on which the runtime is installed
13569
14057
  *
@@ -13605,7 +14093,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13605
14093
  * ```
13606
14094
  */
13607
14095
  getInstalledRuntimes(): Promise<string[]>;
13608
- getInstalledApps(): Promise<InstalledApps>;
14096
+ getInstalledApps(): Promise<OpenFin.InstalledApps>;
13609
14097
  /**
13610
14098
  * Retrieves the contents of the log with the specified filename.
13611
14099
  * @param options A object that id defined by the GetLogRequestType interface
@@ -13620,7 +14108,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13620
14108
  * getLog().then(log => console.log(log)).catch(err => console.log(err));
13621
14109
  * ```
13622
14110
  */
13623
- getLog(options: GetLogRequestType): Promise<string>;
14111
+ getLog(options: OpenFin.GetLogRequestType): Promise<string>;
13624
14112
  /**
13625
14113
  * Returns a unique identifier (UUID) provided by the machine.
13626
14114
  *
@@ -13638,7 +14126,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13638
14126
  * fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
13639
14127
  * ```
13640
14128
  */
13641
- getMinLogLevel(): Promise<LogLevel>;
14129
+ getMinLogLevel(): Promise<OpenFin.LogLevel>;
13642
14130
  /**
13643
14131
  * Retrieves an array containing information for each log file.
13644
14132
  *
@@ -13647,7 +14135,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13647
14135
  * fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
13648
14136
  * ```
13649
14137
  */
13650
- getLogList(): Promise<Array<LogInfo>>;
14138
+ getLogList(): Promise<Array<OpenFin.LogInfo>>;
13651
14139
  /**
13652
14140
  * Retrieves an object that contains data about the monitor setup of the
13653
14141
  * computer that the runtime is running on.
@@ -13718,7 +14206,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13718
14206
  * }
13719
14207
  * ```
13720
14208
  */
13721
- getProxySettings(): Promise<ProxyInfo>;
14209
+ getProxySettings(): Promise<OpenFin.ProxyInfo>;
13722
14210
  /**
13723
14211
  * Returns information about the running Runtime in an object.
13724
14212
  *
@@ -14085,7 +14573,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14085
14573
  * }
14086
14574
  * ```
14087
14575
  */
14088
- launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity_2>;
14576
+ launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
14089
14577
  /**
14090
14578
  * Monitors a running process. A pid for the process must be included in options.
14091
14579
  * <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
@@ -14102,7 +14590,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14102
14590
  * }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
14103
14591
  * ```
14104
14592
  */
14105
- monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity_2>;
14593
+ monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
14106
14594
  /**
14107
14595
  * Writes the passed message into both the log file and the console.
14108
14596
  * @param level The log level for the entry. Can be either "info", "warning" or "error"
@@ -14236,7 +14724,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14236
14724
  *
14237
14725
  * @tutorial System.showDeveloperTools
14238
14726
  */
14239
- showDeveloperTools(identity: Identity_2): Promise<void>;
14727
+ showDeveloperTools(identity: Identity): Promise<void>;
14240
14728
  /**
14241
14729
  * Attempt to close an external process. The process will be terminated if it
14242
14730
  * has not closed after the elapsed timeout in milliseconds.
@@ -14270,7 +14758,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14270
14758
  * .catch(err => console.error(err));
14271
14759
  * ```
14272
14760
  */
14273
- updateProxySettings(options: ProxyConfig): Promise<void>;
14761
+ updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
14274
14762
  /**
14275
14763
  * Downloads the given application asset.
14276
14764
  *
@@ -14362,7 +14850,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14362
14850
  * .catch(err => console.log(err));
14363
14851
  * ```
14364
14852
  */
14365
- getAllExternalApplications(): Promise<Array<Identity_2>>;
14853
+ getAllExternalApplications(): Promise<Array<Identity>>;
14366
14854
  /**
14367
14855
  * Retrieves app asset information.
14368
14856
  * @param options
@@ -14391,7 +14879,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14391
14879
  * fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
14392
14880
  * ```
14393
14881
  */
14394
- setMinLogLevel(level: LogLevel): Promise<void>;
14882
+ setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
14395
14883
  /**
14396
14884
  * Retrieves the UUID of the computer on which the runtime is installed
14397
14885
  * @param uuid The uuid of the running application
@@ -14401,7 +14889,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14401
14889
  * fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
14402
14890
  * ```
14403
14891
  */
14404
- resolveUuid(uuid: string): Promise<Entity>;
14892
+ resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
14405
14893
  /**
14406
14894
  * Retrieves an array of data for all external applications
14407
14895
  * @param requestingIdentity This object is described in the Identity typedef
@@ -14409,7 +14897,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14409
14897
  *
14410
14898
  * @ignore
14411
14899
  */
14412
- executeOnRemote(requestingIdentity: Identity_2, data: any): Promise<any>;
14900
+ executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
14413
14901
  /**
14414
14902
  * Reads the specifed value from the registry.
14415
14903
  * @remarks This method is restricted by default and must be enabled via
@@ -14502,7 +14990,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14502
14990
  * }
14503
14991
  * ```
14504
14992
  */
14505
- readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
14993
+ readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
14506
14994
  /**
14507
14995
  * This function call will register a unique id and produce a token.
14508
14996
  * The token can be used to broker an external connection.
@@ -14717,7 +15205,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14717
15205
  * });
14718
15206
  * ```
14719
15207
  */
14720
- getPrinters(): Promise<PrinterInfo[]>;
15208
+ getPrinters(): Promise<OpenFin.PrinterInfo[]>;
14721
15209
  /**
14722
15210
  * Updates Process Logging values: periodic interval and outlier detection entries and interval.
14723
15211
  * @param options Process Logging updatable options.
@@ -15343,14 +15831,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
15343
15831
  declare type UserAppConfigArgs = Record<string, string | string[]>;
15344
15832
 
15345
15833
  /**
15346
- * A general user bounds change event without event type.
15834
+ * An event that fires when a window's bounds are changed directly by the user.
15835
+ *
15347
15836
  * @interface
15348
15837
  */
15349
- declare type UserBoundsChangeEvent = BaseEvent_5 & {
15350
- height: number;
15351
- left: number;
15352
- top: number;
15353
- width: number;
15838
+ declare type UserBoundsChangeEvent = BoundsEvent & {
15354
15839
  windowState: 'minimized' | 'normal' | 'maximized';
15355
15840
  };
15356
15841
 
@@ -15996,7 +16481,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
15996
16481
  declare type ViewCreationOptions = Partial<ViewOptions> & {
15997
16482
  name: string;
15998
16483
  url: string;
15999
- target: Identity_5;
16484
+ target: Identity_4;
16000
16485
  };
16001
16486
 
16002
16487
  declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
@@ -16025,6 +16510,8 @@ declare namespace ViewEvents {
16025
16510
  BaseEvent_4 as BaseEvent,
16026
16511
  BaseViewEvent,
16027
16512
  TargetChangedEvent,
16513
+ AddedToLayoutEvent,
16514
+ RemovedFromLayoutEvent,
16028
16515
  NonPropagatedViewEvent,
16029
16516
  CreatedEvent,
16030
16517
  DestroyedEvent,
@@ -16180,15 +16667,15 @@ declare interface ViewsPreventingUnloadPayload {
16180
16667
  /**
16181
16668
  * Identity of the Window.
16182
16669
  */
16183
- windowId: Identity_5;
16670
+ windowId: Identity_4;
16184
16671
  /**
16185
16672
  * Identities of the Views that are preventing an unload
16186
16673
  */
16187
- viewsPreventingUnload: Identity_5[];
16674
+ viewsPreventingUnload: Identity_4[];
16188
16675
  /**
16189
16676
  * Identities of the Views that are not preventing an unload
16190
16677
  */
16191
- viewsNotPreventingUnload: Identity_5[];
16678
+ viewsNotPreventingUnload: Identity_4[];
16192
16679
  /**
16193
16680
  * Source of the close action.
16194
16681
  */
@@ -16213,11 +16700,11 @@ declare interface ViewStatuses {
16213
16700
  /**
16214
16701
  * Identities of the Views that are preventing an unload.
16215
16702
  */
16216
- viewsPreventingUnload: Identity_5[];
16703
+ viewsPreventingUnload: Identity_4[];
16217
16704
  /**
16218
16705
  * Identities of the Views that are not preventing an unload.
16219
16706
  */
16220
- viewsNotPreventingUnload: Identity_5[];
16707
+ viewsNotPreventingUnload: Identity_4[];
16221
16708
  }
16222
16709
 
16223
16710
  /**
@@ -16722,7 +17209,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
16722
17209
  * We do not expose an explicit superclass for this functionality, but it does have its own
16723
17210
  * {@link OpenFin.WebContentsEvents event namespace}.
16724
17211
  */
16725
- stopFindInPage(action: string): Promise<void>;
17212
+ stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
16726
17213
  /**
16727
17214
  * Returns an array with all system printers
16728
17215
  * @deprecated use System.getPrinters instead
@@ -17315,11 +17802,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
17315
17802
  * A general will-move or will-resize event without event type.
17316
17803
  * @interface
17317
17804
  */
17318
- declare type WillMoveOrResizeEvent = BaseEvent_5 & {
17319
- height: number;
17320
- left: number;
17321
- top: number;
17322
- width: number;
17805
+ declare type WillMoveOrResizeEvent = BoundsEvent & {
17323
17806
  monitorScaleFactor: number;
17324
17807
  };
17325
17808
 
@@ -18514,16 +18997,21 @@ declare namespace WindowEvents {
18514
18997
  PreloadScriptInfoRunning,
18515
18998
  PreloadScriptInfo,
18516
18999
  PreloadScriptsStateChangeEvent,
18517
- UserBoundsChangeEvent,
19000
+ BoundsEvent,
18518
19001
  BoundsChangeEvent,
18519
19002
  WillMoveOrResizeEvent,
19003
+ BoundsDidChangeEvent,
19004
+ BoundsChangedEvent,
19005
+ BoundsChangingEvent,
19006
+ DisabledMovementBoundsChangedEvent,
19007
+ DisabledMovementBoundsChangingEvent,
19008
+ UserBoundsChangeEvent,
19009
+ BeginUserBoundsChangingEvent,
19010
+ EndUserBoundsChangingEvent,
18520
19011
  PerformanceReportEvent,
18521
19012
  InputEvent_2 as InputEvent,
18522
19013
  LayoutInitializedEvent,
18523
19014
  LayoutReadyEvent,
18524
- BeginUserBoundsChangingEvent,
18525
- BoundsChangedEvent,
18526
- BoundsChangingEvent,
18527
19015
  CloseRequestedEvent,
18528
19016
  WindowCloseRequestedEvent,
18529
19017
  ContextChangedEvent,
@@ -18531,10 +19019,7 @@ declare namespace WindowEvents {
18531
19019
  WindowClosedEvent,
18532
19020
  ClosingEvent,
18533
19021
  WindowClosingEvent,
18534
- DisabledMovementBoundsChangedEvent,
18535
- DisabledMovementBoundsChangingEvent,
18536
19022
  EmbeddedEvent,
18537
- EndUserBoundsChangingEvent,
18538
19023
  HotkeyEvent_2 as HotkeyEvent,
18539
19024
  WindowHotkeyEvent,
18540
19025
  InitializedEvent_2 as InitializedEvent,