@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.
@@ -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
  /**
@@ -921,15 +930,15 @@ declare namespace ApplicationEvents {
921
930
  */
922
931
  declare type ApplicationEventType = EventType_3;
923
932
 
924
- declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
925
-
926
933
  /**
927
934
  * @interface
928
935
  */
929
- declare type ApplicationIdentity_2 = {
936
+ declare type ApplicationIdentity = {
930
937
  uuid: string;
931
938
  };
932
939
 
940
+ declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
941
+
933
942
  /**
934
943
  * @interface
935
944
  */
@@ -1302,12 +1311,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
1302
1311
  */
1303
1312
  declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
1304
1313
 
1305
- declare type ApplicationState = OpenFin.ApplicationState;
1306
-
1307
1314
  /**
1308
1315
  * @interface
1309
1316
  */
1310
- declare type ApplicationState_2 = {
1317
+ declare type ApplicationState = {
1311
1318
  /**
1312
1319
  * True when the application is a Platform controller
1313
1320
  */
@@ -1339,12 +1346,10 @@ declare type ApplicationType = {
1339
1346
  */
1340
1347
  declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
1341
1348
 
1342
- declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
1343
-
1344
1349
  /**
1345
1350
  * @interface
1346
1351
  */
1347
- declare type ApplicationWindowInfo_2 = {
1352
+ declare type ApplicationWindowInfo = {
1348
1353
  childWindows: Array<WindowDetail>;
1349
1354
  mainWindow: WindowDetail;
1350
1355
  /**
@@ -1606,7 +1611,7 @@ declare class Base {
1606
1611
  * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1607
1612
  * guaranteed to behave sensibly in all calling contexts.
1608
1613
  */
1609
- get me(): Identity;
1614
+ get me(): OpenFin.Identity;
1610
1615
  /* Excluded from this release type: isNodeEnvironment */
1611
1616
  /* Excluded from this release type: isOpenFinEnvironment */
1612
1617
  /* Excluded from this release type: isBrowserEnvironment */
@@ -1826,11 +1831,12 @@ declare type BeforeUnloadUserDecision = {
1826
1831
  /**
1827
1832
  * Array of views that will close.
1828
1833
  */
1829
- viewsToClose: Identity_5[];
1834
+ viewsToClose: Identity_4[];
1830
1835
  };
1831
1836
 
1832
1837
  /**
1833
1838
  * Generated at the beginning of a user-driven change to a window's size or position.
1839
+ *
1834
1840
  * @interface
1835
1841
  */
1836
1842
  declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
@@ -1871,31 +1877,33 @@ declare type Bounds = {
1871
1877
  * Generated after changes in a window's size and/or position.
1872
1878
  * @interface
1873
1879
  */
1874
- declare type BoundsChangedEvent = BoundsChangeEvent & {
1880
+ declare type BoundsChangedEvent = BoundsDidChangeEvent & {
1875
1881
  type: 'bounds-changed';
1876
1882
  };
1877
1883
 
1878
- /**
1879
- * A general bounds change event without event type.
1880
- * @interface
1881
- */
1882
- declare type BoundsChangeEvent = BaseEvent_5 & {
1884
+ declare type BoundsChangeEvent = BoundsEvent & {
1883
1885
  changeType: 0 | 1 | 2;
1884
- deferred: boolean;
1885
- height: number;
1886
- left: number;
1887
- top: number;
1888
- width: number;
1889
1886
  };
1890
1887
 
1891
1888
  /**
1892
1889
  * Generated during changes to a window's size and/or position.
1893
1890
  * @interface
1894
1891
  */
1895
- declare type BoundsChangingEvent = BoundsChangeEvent & {
1892
+ declare type BoundsChangingEvent = BoundsDidChangeEvent & {
1896
1893
  type: 'bounds-changing';
1897
1894
  };
1898
1895
 
1896
+ /**
1897
+ * An event that fires when a window's bounds are successfully changed.
1898
+ *
1899
+ * @interface
1900
+ */
1901
+ declare type BoundsDidChangeEvent = BoundsChangeEvent & {
1902
+ reason: 'self' | 'animation';
1903
+ };
1904
+
1905
+ declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
1906
+
1899
1907
  /**
1900
1908
  * A rule prescribing content creation in the browser.
1901
1909
  *
@@ -2977,7 +2985,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
2977
2985
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
2978
2986
  * @interface
2979
2987
  */
2980
- declare type ClientIdentity = Identity_5 & {
2988
+ declare type ClientIdentity = Identity_4 & {
2981
2989
  /**
2982
2990
  * Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
2983
2991
  */
@@ -3210,7 +3218,7 @@ declare type CloseViewOptions = {
3210
3218
  /**
3211
3219
  *View to be closed.
3212
3220
  */
3213
- viewIdentity: Identity_5;
3221
+ viewIdentity: Identity_4;
3214
3222
  };
3215
3223
 
3216
3224
  /**
@@ -3220,7 +3228,7 @@ declare type CloseViewPayload = {
3220
3228
  /**
3221
3229
  *View to be closed.
3222
3230
  */
3223
- view: Identity_5;
3231
+ view: Identity_4;
3224
3232
  /**
3225
3233
  * The target layout identity where this view should be closed. If not provided, will resolve to the
3226
3234
  * visible layout.
@@ -3238,7 +3246,7 @@ declare interface CloseWindowPayload {
3238
3246
  *
3239
3247
  * Identity of the Window
3240
3248
  */
3241
- windowId: Identity_5;
3249
+ windowId: Identity_4;
3242
3250
  options: {
3243
3251
  /**
3244
3252
  * @defaultValue false
@@ -3356,7 +3364,7 @@ declare type ConstViewOptions = {
3356
3364
  /**
3357
3365
  * The identity of the window this view should be attached to.
3358
3366
  */
3359
- target: Identity_5;
3367
+ target: Identity_4;
3360
3368
  /**
3361
3369
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3362
3370
  */
@@ -3581,7 +3589,7 @@ declare type ConstWindowOptions = {
3581
3589
  /**
3582
3590
  * Parent identity of a modal window. It will create a modal child window when this option is set.
3583
3591
  */
3584
- modalParentIdentity: Identity_5;
3592
+ modalParentIdentity: Identity_4;
3585
3593
  /**
3586
3594
  * The name of the window.
3587
3595
  */
@@ -4065,13 +4073,13 @@ declare type CreateViewPayload = {
4065
4073
  * Window the view will be added to. If no target is provided, a new window will be created.
4066
4074
  */
4067
4075
  target?: CreateViewTarget;
4068
- targetView?: Identity_5;
4076
+ targetView?: Identity_4;
4069
4077
  };
4070
4078
 
4071
4079
  /**
4072
4080
  * @interface
4073
4081
  */
4074
- declare type CreateViewTarget = (Identity_5 | LayoutIdentity) & {
4082
+ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4075
4083
  /**
4076
4084
  * If specified, view creation will not attach to a window and caller must
4077
4085
  * insert the view into the layout explicitly
@@ -4517,7 +4525,7 @@ declare type EmitterAccessor = string[];
4517
4525
  declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
4518
4526
  #private;
4519
4527
  private topic;
4520
- protected identity: ApplicationIdentity;
4528
+ protected identity: OpenFin.ApplicationIdentity;
4521
4529
  constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
4522
4530
  eventNames: () => (string | symbol)[];
4523
4531
  /* Excluded from this release type: emit */
@@ -4592,20 +4600,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
4592
4600
 
4593
4601
  /**
4594
4602
  * Generated at the end of a user-driven change to a window's size or position.
4603
+ *
4595
4604
  * @interface
4596
4605
  */
4597
4606
  declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
4598
4607
  type: 'end-user-bounds-changing';
4599
4608
  };
4600
4609
 
4601
- declare type Entity = OpenFin.ApplicationType;
4602
-
4603
- declare type EntityInfo = OpenFin.EntityInfo;
4604
-
4605
4610
  /**
4606
4611
  * @interface
4607
4612
  */
4608
- declare type EntityInfo_2 = {
4613
+ declare type EntityInfo = {
4609
4614
  uuid: string;
4610
4615
  name: string;
4611
4616
  entityType: EntityType_4;
@@ -4707,6 +4712,7 @@ declare type ErrorPlainObject = {
4707
4712
  stack?: string;
4708
4713
  message: string;
4709
4714
  name?: string;
4715
+ cause?: Error | ErrorPlainObject;
4710
4716
  toString(): string;
4711
4717
  };
4712
4718
 
@@ -4755,7 +4761,7 @@ declare type Event_3 = ViewEvents.PropagatedEvent<'application'> | WindowEvents.
4755
4761
  */
4756
4762
  declare type Event_4 = (WebContentsEvents.Event<'view'> & {
4757
4763
  target: OpenFin.Identity;
4758
- }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
4764
+ }) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent | AddedToLayoutEvent | RemovedFromLayoutEvent;
4759
4765
 
4760
4766
  /**
4761
4767
  * [Union](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) containing events shared by all WebContents elements
@@ -4954,7 +4960,7 @@ declare type ExternalApplicationEventType = EventType_4;
4954
4960
  * @interface
4955
4961
  */
4956
4962
  declare type ExternalApplicationInfo = {
4957
- parent: Identity_5;
4963
+ parent: Identity_4;
4958
4964
  };
4959
4965
 
4960
4966
  /**
@@ -5497,6 +5503,10 @@ declare type FileDownloadEvent = {
5497
5503
  * The number of bytes of the item that have already been downloaded.
5498
5504
  */
5499
5505
  downloadedBytes: number;
5506
+ /**
5507
+ * Unique identifier for the downloaded file.
5508
+ */
5509
+ fileUuid: string;
5500
5510
  } & NamedEvent;
5501
5511
 
5502
5512
  /**
@@ -5755,7 +5765,7 @@ declare type FrameInfo = {
5755
5765
  uuid: string;
5756
5766
  url: string;
5757
5767
  entityType: EntityType_4;
5758
- parent: Identity_5;
5768
+ parent: Identity_4;
5759
5769
  };
5760
5770
 
5761
5771
  /**
@@ -5830,12 +5840,10 @@ declare type FrameProcessDetails = ProcessDetails & {
5830
5840
  entityType: string;
5831
5841
  };
5832
5842
 
5833
- declare type GetLogRequestType = OpenFin.GetLogRequestType;
5834
-
5835
5843
  /**
5836
5844
  * @interface
5837
5845
  */
5838
- declare type GetLogRequestType_2 = {
5846
+ declare type GetLogRequestType = {
5839
5847
  /**
5840
5848
  * The name of the running application
5841
5849
  */
@@ -5855,7 +5863,7 @@ declare type GetWindowContextPayload = {
5855
5863
  /**
5856
5864
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
5857
5865
  */
5858
- target: Identity_5;
5866
+ target: Identity_4;
5859
5867
  };
5860
5868
 
5861
5869
  /**
@@ -6121,8 +6129,6 @@ declare type Identity_2 = OpenFin.Identity;
6121
6129
 
6122
6130
  declare type Identity_3 = OpenFin.Identity;
6123
6131
 
6124
- declare type Identity_4 = OpenFin.Identity;
6125
-
6126
6132
  /**
6127
6133
  * Unique identifier for a window, view or iframe.
6128
6134
  *
@@ -6131,7 +6137,7 @@ declare type Identity_4 = OpenFin.Identity;
6131
6137
  *
6132
6138
  * @interface
6133
6139
  */
6134
- declare type Identity_5 = {
6140
+ declare type Identity_4 = {
6135
6141
  /**
6136
6142
  * Universally unique identifier of the application that owns the component.
6137
6143
  */
@@ -6290,12 +6296,10 @@ declare type InstallationInfo = {
6290
6296
  cachedManifest: any;
6291
6297
  };
6292
6298
 
6293
- declare type InstalledApps = OpenFin.InstalledApps;
6294
-
6295
6299
  /**
6296
6300
  * @interface
6297
6301
  */
6298
- declare type InstalledApps_2 = {
6302
+ declare type InstalledApps = {
6299
6303
  [key: string]: InstallationInfo;
6300
6304
  };
6301
6305
 
@@ -7066,7 +7070,7 @@ declare class InteropBroker extends Base {
7066
7070
  * @param _id the identity tryinc to connect
7067
7071
  * @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
7068
7072
  */
7069
- isConnectionAuthorized(_id: Identity_3, _connectionPayload?: any): Promise<boolean> | boolean;
7073
+ isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
7070
7074
  /**
7071
7075
  * Called before every action to check if this entity should be allowed to take the action.
7072
7076
  * Return false to prevent the action
@@ -7984,7 +7988,7 @@ declare class Layout extends Base {
7984
7988
  * await layout.replaceView(viewToReplace.identity, newViewConfig);
7985
7989
  * ```
7986
7990
  */
7987
- replaceView: (viewToReplace: Identity_4, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
7991
+ replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
7988
7992
  /**
7989
7993
  * Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
7990
7994
  * The preset options are `columns`, `grid`, `rows`, and `tabs`.
@@ -8039,7 +8043,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
8039
8043
  /**
8040
8044
  * The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
8041
8045
  */
8042
- declare type LayoutDOMEvent = Identity_5 & {
8046
+ declare type LayoutDOMEvent = Identity_4 & {
8043
8047
  type: string;
8044
8048
  topic: 'openfin-DOM-event';
8045
8049
  tabSelector: string;
@@ -8100,7 +8104,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
8100
8104
  /**
8101
8105
  * @interface
8102
8106
  */
8103
- declare type LayoutIdentity = Identity_5 & {
8107
+ declare type LayoutIdentity = Identity_4 & {
8104
8108
  /**
8105
8109
  * The name of the layout in a given window.
8106
8110
  */
@@ -8209,7 +8213,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8209
8213
  * @param identity
8210
8214
  * @returns LayoutIdentity | undefined
8211
8215
  */
8212
- resolveLayoutIdentity(identity?: Identity_5 | LayoutIdentity): LayoutIdentity | undefined;
8216
+ resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
8213
8217
  /**
8214
8218
  * @experimental
8215
8219
  *
@@ -8226,7 +8230,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8226
8230
  /**
8227
8231
  * @experimental
8228
8232
  */
8229
- getLayoutIdentityForView(viewIdentity: Identity_5): LayoutIdentity;
8233
+ getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
8230
8234
  /**
8231
8235
  * @experimental
8232
8236
  */
@@ -8530,12 +8534,10 @@ declare type Listener<T extends {
8530
8534
  type: string;
8531
8535
  }> = (payload: T) => void;
8532
8536
 
8533
- declare type LogInfo = OpenFin.LogInfo;
8534
-
8535
8537
  /**
8536
8538
  * @interface
8537
8539
  */
8538
- declare type LogInfo_2 = {
8540
+ declare type LogInfo = {
8539
8541
  /**
8540
8542
  * The filename of the log
8541
8543
  */
@@ -8550,8 +8552,6 @@ declare type LogInfo_2 = {
8550
8552
  date: string;
8551
8553
  };
8552
8554
 
8553
- declare type LogLevel = OpenFin.LogLevel;
8554
-
8555
8555
  /**
8556
8556
  * Describes the minimum level (inclusive) above which logs will be written.
8557
8557
  *
@@ -8561,7 +8561,24 @@ declare type LogLevel = OpenFin.LogLevel;
8561
8561
  * `error` and above<br>
8562
8562
  * `fatal`: fatal only, indicates a crash is imminent
8563
8563
  */
8564
- declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8564
+ declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8565
+
8566
+ declare type LogUploaderUIOptions = {
8567
+ title?: string;
8568
+ icon?: string;
8569
+ header?: string;
8570
+ description?: string;
8571
+ email?: string;
8572
+ website?: string;
8573
+ websiteDescription?: string;
8574
+ };
8575
+
8576
+ declare type LogUploadOptions = {
8577
+ endpoint: string;
8578
+ manifests?: string[];
8579
+ logs?: string[];
8580
+ ui?: LogUploaderUIOptions;
8581
+ };
8565
8582
 
8566
8583
  /**
8567
8584
  * @interface
@@ -8621,6 +8638,7 @@ declare type Manifest = {
8621
8638
  enableErrorReporting?: boolean;
8622
8639
  };
8623
8640
  interopBrokerConfiguration: InteropBrokerOptions;
8641
+ logUpload?: LogUploadOptions;
8624
8642
  };
8625
8643
 
8626
8644
  /**
@@ -9371,13 +9389,13 @@ declare namespace OpenFin {
9371
9389
  LayoutPosition,
9372
9390
  WebContent,
9373
9391
  PlatformProvider,
9374
- ApplicationIdentity_2 as ApplicationIdentity,
9375
- Identity_5 as Identity,
9392
+ ApplicationIdentity,
9393
+ Identity_4 as Identity,
9376
9394
  ClientIdentity,
9377
9395
  ClientInfo,
9378
9396
  ClientIdentityMultiRuntime,
9379
9397
  ClientConnectionPayload,
9380
- EntityInfo_2 as EntityInfo,
9398
+ EntityInfo,
9381
9399
  EntityType_4 as EntityType,
9382
9400
  Bounds,
9383
9401
  WindowBounds,
@@ -9482,6 +9500,8 @@ declare namespace OpenFin {
9482
9500
  PlatformViewCreationOptions,
9483
9501
  ProcessAffinityStrategy,
9484
9502
  PlatformOptions,
9503
+ LogUploaderUIOptions,
9504
+ LogUploadOptions,
9485
9505
  Manifest,
9486
9506
  LayoutContent,
9487
9507
  LayoutItemConfig,
@@ -9511,7 +9531,7 @@ declare namespace OpenFin {
9511
9531
  GpuInfo,
9512
9532
  OSInfo,
9513
9533
  HostSpecs,
9514
- PrinterInfo_2 as PrinterInfo,
9534
+ PrinterInfo,
9515
9535
  Dpi,
9516
9536
  Margins,
9517
9537
  PrintOptions,
@@ -9619,24 +9639,24 @@ declare namespace OpenFin {
9619
9639
  BeforeUnloadUserDecision,
9620
9640
  ViewStatuses,
9621
9641
  CloseWindowPayload,
9622
- ProxyInfo_2 as ProxyInfo,
9623
- ProxyConfig_2 as ProxyConfig,
9642
+ ProxyInfo,
9643
+ ProxyConfig,
9624
9644
  ProxySystemInfo,
9625
9645
  ChannelAction_2 as ChannelAction,
9626
9646
  ChannelMiddleware_2 as ChannelMiddleware,
9627
9647
  ErrorMiddleware_2 as ErrorMiddleware,
9628
- ApplicationState_2 as ApplicationState,
9629
- InstalledApps_2 as InstalledApps,
9648
+ ApplicationState,
9649
+ InstalledApps,
9630
9650
  InstallationInfo,
9631
- GetLogRequestType_2 as GetLogRequestType,
9632
- LogInfo_2 as LogInfo,
9651
+ GetLogRequestType,
9652
+ LogInfo,
9633
9653
  SendApplicationLogResponse,
9634
- LogLevel_2 as LogLevel,
9654
+ LogLevel,
9635
9655
  PermissionState_2 as PermissionState,
9636
- RegistryInfo_2 as RegistryInfo,
9656
+ RegistryInfo,
9637
9657
  ApplicationType,
9638
9658
  WindowInfo,
9639
- ApplicationWindowInfo_2 as ApplicationWindowInfo,
9659
+ ApplicationWindowInfo,
9640
9660
  WindowDetail,
9641
9661
  LayoutPresetType,
9642
9662
  LayoutIdentity,
@@ -11545,12 +11565,10 @@ declare type PresetLayoutOptions_2 = {
11545
11565
  presetType: LayoutPresetType;
11546
11566
  };
11547
11567
 
11548
- declare type PrinterInfo = OpenFin.PrinterInfo;
11549
-
11550
11568
  /**
11551
11569
  * @interface
11552
11570
  */
11553
- declare type PrinterInfo_2 = {
11571
+ declare type PrinterInfo = {
11554
11572
  /**
11555
11573
  * Printer Name
11556
11574
  */
@@ -11812,20 +11830,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
11812
11830
  declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
11813
11831
 
11814
11832
  declare interface ProtocolMap extends ProtocolMapBase {
11833
+ 'is-application-running': ApplicationIdentityCall<{}, boolean>;
11834
+ 'destroy-application': ApplicationIdentityCall<{
11835
+ force: boolean;
11836
+ }, void>;
11837
+ 'close-application': ApplicationIdentityCall<{
11838
+ force: boolean;
11839
+ }, void>;
11840
+ 'application-close': ApplicationIdentityCall<{}, void>;
11841
+ 'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
11842
+ 'get-application-manifest': {
11843
+ request: {
11844
+ manifestUrl?: string;
11845
+ uuid?: string;
11846
+ };
11847
+ response: OpenFin.Manifest;
11848
+ };
11849
+ 'get-parent-application': ApplicationIdentityCall<{}, string>;
11850
+ 'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
11851
+ 'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
11852
+ 'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
11853
+ 'application-get-window': ApplicationIdentityCall<{}, void>;
11854
+ 'register-user': ApplicationIdentityCall<{
11855
+ userName: string;
11856
+ appName: string;
11857
+ }, void>;
11858
+ 'remove-tray-icon': ApplicationIdentityCall<{}, void>;
11859
+ 'restart-application': ApplicationIdentityCall<{}, void>;
11860
+ 'application-run': ApplicationIdentityCall<{}, void>;
11861
+ 'run-application': ApplicationIdentityCall<{
11862
+ manifestUrl?: string | undefined;
11863
+ opts?: OpenFin.RvmLaunchOptions;
11864
+ }, void>;
11865
+ 'relaunch-on-close': ApplicationIdentityCall<{}, void>;
11866
+ 'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
11867
+ 'set-jump-list': ApplicationIdentityCall<{
11868
+ config: OpenFin.JumpListCategory[] | null;
11869
+ }, void>;
11870
+ 'set-tray-icon': ApplicationIdentityCall<{
11871
+ enabledIcon: string;
11872
+ }, void>;
11873
+ 'set-shortcuts': ApplicationIdentityCall<{
11874
+ data: OpenFin.ShortCutConfig;
11875
+ }, void>;
11876
+ 'set-shortcut-query-args': ApplicationIdentityCall<{
11877
+ data: string;
11878
+ }, void>;
11879
+ 'set-application-zoom-level': ApplicationIdentityCall<{
11880
+ level: number;
11881
+ }, void>;
11882
+ 'set-app-log-username': ApplicationIdentityCall<{
11883
+ data: string;
11884
+ }, void>;
11885
+ 'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
11886
+ 'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
11887
+ 'terminate-application': ApplicationIdentityCall<{}, void>;
11888
+ 'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
11889
+ 'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
11890
+ 'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
11891
+ 'set-file-download-location': {
11892
+ request: OpenFin.Identity & {
11893
+ downloadLocation: string;
11894
+ };
11895
+ response: void;
11896
+ };
11897
+ 'get-file-download-location': ApplicationIdentityCall<{}, string>;
11898
+ 'show-tray-icon-popup-menu': {
11899
+ request: OpenFin.Identity & {
11900
+ options: OpenFin.ShowTrayIconPopupMenuOptions;
11901
+ };
11902
+ response: OpenFin.MenuResult;
11903
+ };
11904
+ 'close-tray-icon-popup-menu': IdentityCall<{}, void>;
11905
+ 'wrap-application': VoidCall;
11906
+ 'wrap-application-sync': VoidCall;
11907
+ 'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
11908
+ 'application-create': VoidCall;
11909
+ 'start-application': VoidCall;
11910
+ 'run-applications': ApiCall<{
11911
+ applications: Array<OpenFin.ManifestInfo>;
11912
+ opts?: OpenFin.RvmLaunchOptions;
11913
+ }, void>;
11914
+ 'get-current-application': VoidCall;
11915
+ 'get-current-application-sync': VoidCall;
11916
+ 'application-start-from-manifest': VoidCall;
11917
+ 'application-create-from-manifest': VoidCall;
11815
11918
  'request-external-authorization': {
11816
11919
  request: any;
11817
11920
  response: void;
11818
11921
  specialResponse: AuthorizationPayload;
11819
11922
  };
11820
- 'application-get-views': {
11821
- request: OpenFin.ApplicationIdentity;
11822
- response: OpenFin.Identity[];
11823
- };
11824
- 'set-jump-list': {
11825
- request: {
11826
- config: OpenFin.JumpListCategory[] | null;
11827
- } & OpenFin.ApplicationIdentity;
11923
+ 'request-authorization': {
11924
+ request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
11828
11925
  response: void;
11926
+ specialResponse: Payload;
11829
11927
  };
11830
11928
  'clipboard-read-formats': {
11831
11929
  request: {
@@ -11837,6 +11935,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
11837
11935
  request: OpenFin.ReadImageClipboardRequest;
11838
11936
  response: string;
11839
11937
  };
11938
+ 'clipboard-read-text': {
11939
+ request: {
11940
+ type?: OpenFin.ClipboardSelectionType;
11941
+ };
11942
+ response: string;
11943
+ };
11944
+ 'clipboard-read-html': {
11945
+ request: {
11946
+ type?: OpenFin.ClipboardSelectionType;
11947
+ };
11948
+ response: string;
11949
+ };
11950
+ 'clipboard-read-rtf': {
11951
+ request: {
11952
+ type?: OpenFin.ClipboardSelectionType;
11953
+ };
11954
+ response: string;
11955
+ };
11840
11956
  'clipboard-write-image': {
11841
11957
  request: OpenFin.WriteImageClipboardRequest;
11842
11958
  response: void;
@@ -11845,6 +11961,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
11845
11961
  request: OpenFin.WriteAnyRequestType;
11846
11962
  response: void;
11847
11963
  };
11964
+ 'clipboard-write-text': {
11965
+ request: OpenFin.WriteClipboardRequest;
11966
+ response: void;
11967
+ };
11968
+ 'clipboard-write-html': {
11969
+ request: OpenFin.WriteClipboardRequest;
11970
+ response: void;
11971
+ };
11972
+ 'clipboard-write-rtf': {
11973
+ request: OpenFin.WriteClipboardRequest;
11974
+ response: void;
11975
+ };
11848
11976
  'get-view-window': IdentityCall<{}, OpenFin.Identity>;
11849
11977
  'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
11850
11978
  uuid: string;
@@ -11870,13 +11998,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
11870
11998
  options: OpenFin.UpdatableViewOptions;
11871
11999
  }>;
11872
12000
  'trigger-before-unload': IdentityCall<{}, boolean>;
12001
+ 'view-wrap-sync': VoidCall;
12002
+ 'view-wrap': VoidCall;
12003
+ 'view-get-current': VoidCall;
12004
+ 'view-get-current-sync': VoidCall;
12005
+ 'animate-window': IdentityCall<{
12006
+ transitions: OpenFin.Transition;
12007
+ options: OpenFin.TransitionOptions;
12008
+ }>;
12009
+ 'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
12010
+ 'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
12011
+ 'center-window': IdentityCall;
12012
+ 'blur-window': IdentityCall;
12013
+ 'bring-window-to-front': IdentityCall;
12014
+ 'hide-window': IdentityCall;
12015
+ 'close-window': IdentityCall<{
12016
+ force: boolean;
12017
+ }>;
12018
+ 'focused-webview-changed': IdentityCall;
12019
+ 'get-window-native-id': IdentityCall<{}, string>;
11873
12020
  'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
11874
- 'print': {
12021
+ 'disable-window-frame': IdentityCall;
12022
+ 'enable-window-frame': IdentityCall;
12023
+ 'flash-window': IdentityCall;
12024
+ 'stop-flash-window': IdentityCall;
12025
+ 'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
12026
+ 'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
12027
+ 'get-window-snapshot': IdentityCall<{
12028
+ area?: OpenFin.Rectangle;
12029
+ }, string>;
12030
+ 'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
12031
+ 'is-window-showing': IdentityCall<{}, boolean>;
12032
+ 'maximize-window': IdentityCall;
12033
+ 'minimize-window': IdentityCall;
12034
+ 'move-window-by': IdentityCall<WithPositioningOptions<{
12035
+ deltaLeft: number;
12036
+ deltaTop: number;
12037
+ }>>;
12038
+ 'move-window': IdentityCall<WithPositioningOptions<{
12039
+ left: number;
12040
+ top: number;
12041
+ }>>;
12042
+ 'resize-window-by': IdentityCall<WithPositioningOptions<{
12043
+ deltaWidth: number;
12044
+ deltaHeight: number;
12045
+ anchor: OpenFin.AnchorType;
12046
+ }>>;
12047
+ 'resize-window': IdentityCall<WithPositioningOptions<{
12048
+ width: number;
12049
+ height: number;
12050
+ anchor: OpenFin.AnchorType;
12051
+ }>>;
12052
+ 'restore-window': IdentityCall;
12053
+ 'set-foreground-window': IdentityCall;
12054
+ 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
12055
+ 'show-window': IdentityCall<{
12056
+ force: boolean;
12057
+ }>;
12058
+ 'show-at-window': IdentityCall<{
12059
+ left: number;
12060
+ top: number;
12061
+ force: boolean;
12062
+ }>;
12063
+ 'update-window-options': IdentityCall<{
12064
+ options: OpenFin.UpdatableWindowOptions;
12065
+ }>;
12066
+ 'window-authenticate': IdentityCall<{
12067
+ userName: string;
12068
+ password: string;
12069
+ }>;
12070
+ 'show-popup-menu': {
11875
12071
  request: OpenFin.Identity & {
11876
- options: OpenFin.PrintOptions;
12072
+ options: OpenFin.ShowPopupMenuOptions;
11877
12073
  };
11878
- response: void;
12074
+ response: OpenFin.MenuResult;
11879
12075
  };
12076
+ 'close-popup-menu': IdentityCall;
12077
+ 'dispatch-popup-result': IdentityCall<{
12078
+ data: any;
12079
+ }>;
11880
12080
  'print-screenshot': {
11881
12081
  request: OpenFin.Identity;
11882
12082
  response: void;
@@ -11887,6 +12087,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
11887
12087
  };
11888
12088
  response: void;
11889
12089
  };
12090
+ 'window-wrap': VoidCall;
12091
+ 'window-wrap-sync': VoidCall;
12092
+ 'create-window': VoidCall;
12093
+ 'get-current-window': VoidCall;
12094
+ 'get-current-window-sync': VoidCall;
12095
+ 'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
12096
+ 'external-application-wrap': VoidCall;
12097
+ 'external-application-wrap-sync': VoidCall;
12098
+ 'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
12099
+ 'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
12100
+ 'frame-wrap': VoidCall;
12101
+ 'frame-wrap-sync': VoidCall;
12102
+ 'frame-get-current': VoidCall;
12103
+ 'frame-get-current-sync': VoidCall;
12104
+ 'global-hotkey-register': {
12105
+ request: {
12106
+ hotkey: string;
12107
+ };
12108
+ response: void;
12109
+ };
12110
+ 'global-hotkey-unregister': {
12111
+ request: {
12112
+ hotkey: string;
12113
+ };
12114
+ response: void;
12115
+ };
12116
+ 'global-hotkey-unregister-all': {
12117
+ request: {};
12118
+ response: void;
12119
+ };
12120
+ 'global-hotkey-is-registered': {
12121
+ request: {
12122
+ hotkey: string;
12123
+ };
12124
+ response: boolean;
12125
+ };
12126
+ 'publish-message': {
12127
+ request: {
12128
+ topic: string;
12129
+ message: any;
12130
+ sourceWindowName: string;
12131
+ };
12132
+ response: void;
12133
+ };
12134
+ 'send-message': {
12135
+ request: {
12136
+ destinationUuid: string;
12137
+ destinationWindowName: string | undefined;
12138
+ topic: string;
12139
+ message: any;
12140
+ sourceWindowName: string;
12141
+ };
12142
+ response: void;
12143
+ };
12144
+ 'subscribe': {
12145
+ request: {
12146
+ sourceUuid: string;
12147
+ sourceWindowName: string;
12148
+ topic: string;
12149
+ destinationWindowName: string;
12150
+ messageKey?: any;
12151
+ };
12152
+ response: void;
12153
+ };
12154
+ 'unsubscribe': {
12155
+ request: {
12156
+ sourceUuid: string;
12157
+ sourceWindowName: string;
12158
+ topic: string;
12159
+ destinationWindowName: string;
12160
+ };
12161
+ response: void;
12162
+ };
12163
+ 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
12164
+ 'connect-to-channel': {
12165
+ request: any;
12166
+ response: OpenFin.RoutingInfo;
12167
+ };
12168
+ 'create-channel': ApiCall<{
12169
+ channelName: string;
12170
+ }, OpenFin.ProviderIdentity>;
12171
+ 'destroy-channel': ApiCall<{
12172
+ channelName: string;
12173
+ }, void>;
12174
+ 'disconnect-from-channel': {
12175
+ request: {
12176
+ channelName: string;
12177
+ uuid: string;
12178
+ name: string;
12179
+ endpointId: string;
12180
+ };
12181
+ response: void;
12182
+ };
12183
+ 'send-channel-message': {
12184
+ request: any;
12185
+ response: any;
12186
+ };
12187
+ 'get-version': GetterCall<string>;
12188
+ 'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
12189
+ 'delete-cache-request': VoidCall;
12190
+ 'exit-desktop': VoidCall;
12191
+ 'fetch-manifest': ApiCall<{
12192
+ manifestUrl: string;
12193
+ }, any>;
12194
+ 'flush-cookie-store': VoidCall;
12195
+ 'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
12196
+ 'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
12197
+ 'get-command-line-arguments': GetterCall<string>;
12198
+ 'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
12199
+ 'start-crash-reporter': {
12200
+ request: OpenFin.CrashReporterOptions | {
12201
+ diagnosticMode: boolean;
12202
+ };
12203
+ response: OpenFin.CrashReporterState;
12204
+ };
12205
+ 'get-unique-user-id': GetterCall<string>;
12206
+ 'get-entity-info': {
12207
+ request: {
12208
+ uuid: string;
12209
+ name: string;
12210
+ };
12211
+ response: OpenFin.EntityInfo;
12212
+ };
12213
+ 'get-environment-variable': {
12214
+ request: {
12215
+ environmentVariables: string;
12216
+ };
12217
+ response: string;
12218
+ };
12219
+ 'get-focused-window': GetterCall<OpenFin.Identity | null>;
12220
+ 'is-app-certified': {
12221
+ request: {
12222
+ manifestUrl: string;
12223
+ };
12224
+ response: {
12225
+ action: string;
12226
+ certifiedInfo: OpenFin.CertifiedAppInfo;
12227
+ };
12228
+ };
12229
+ 'get-installed-runtimes': GetterCall<{
12230
+ action: string;
12231
+ runtimes: string[];
12232
+ }>;
12233
+ 'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
12234
+ 'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
12235
+ 'get-machine-id': GetterCall<string>;
12236
+ 'get-min-log-level': GetterCall<OpenFin.LogLevel>;
12237
+ 'list-logs': GetterCall<OpenFin.LogInfo[]>;
12238
+ 'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
12239
+ 'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
12240
+ 'process-snapshot': GetterCall<Array<any>>;
12241
+ 'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
12242
+ 'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
12243
+ 'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
12244
+ 'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
12245
+ 'get-host-specs': GetterCall<OpenFin.HostSpecs>;
12246
+ 'get-os-info': GetterCall<OpenFin.OSInfo>;
12247
+ 'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
12248
+ 'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
12249
+ 'write-to-log': ApiCall<{
12250
+ level: string;
12251
+ message: string;
12252
+ }, void>;
12253
+ 'open-url-with-browser': ApiCall<{
12254
+ url: string;
12255
+ }, void>;
12256
+ 'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
12257
+ 'unregister-custom-protocol': ApiCall<{
12258
+ protocolName: string;
12259
+ }, void>;
12260
+ 'get-custom-protocol-state': ApiCall<{
12261
+ protocolName: string;
12262
+ }, OpenFin.CustomProtocolState>;
12263
+ 'release-external-process': ApiCall<{
12264
+ uuid: string;
12265
+ }, void>;
12266
+ 'show-developer-tools': ApiCall<OpenFin.Identity, void>;
12267
+ 'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
12268
+ 'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
12269
+ 'download-asset': {
12270
+ request: OpenFin.AppAssetInfo & {
12271
+ downloadId: string;
12272
+ };
12273
+ response: void;
12274
+ };
12275
+ 'download-runtime': {
12276
+ request: OpenFin.RuntimeDownloadOptions & {
12277
+ downloadId: string;
12278
+ };
12279
+ response: void;
12280
+ };
12281
+ 'download-preload-scripts': ApiCall<{
12282
+ scripts: Array<OpenFin.DownloadPreloadOption>;
12283
+ }, Array<OpenFin.DownloadPreloadInfo>>;
12284
+ 'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
12285
+ 'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
12286
+ 'get-cookies': {
12287
+ request: OpenFin.CookieOption & {
12288
+ url: string;
12289
+ };
12290
+ response: Array<OpenFin.CookieInfo>;
12291
+ };
12292
+ 'set-min-log-level': ApiCall<{
12293
+ level: OpenFin.LogLevel;
12294
+ }, void>;
12295
+ 'resolve-uuid': ApiCall<{
12296
+ entityKey: string;
12297
+ }, OpenFin.ApplicationType>;
12298
+ 'read-registry-value': ApiCall<{
12299
+ rootKey: string;
12300
+ subkey: string;
12301
+ value: string;
12302
+ }, OpenFin.RegistryInfo>;
12303
+ 'register-external-connection': ApiCall<{
12304
+ uuid: string;
12305
+ }, OpenFin.ExternalConnection>;
12306
+ 'get-service-configuration': ApiCall<{
12307
+ name: string;
12308
+ }, OpenFin.ServiceConfiguration>;
12309
+ 'get-system-app-configuration': ApiCall<{
12310
+ name: string;
12311
+ }, any>;
12312
+ 'run-rvm-health-check': ApiCall<void, string[]>;
11890
12313
  'launch-manifest': {
11891
12314
  request: {
11892
12315
  manifestUrl: string;
@@ -11898,17 +12321,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
11898
12321
  manifest: OpenFin.Manifest;
11899
12322
  };
11900
12323
  };
11901
- 'get-system-app-configuration': {
12324
+ 'query-permission-for-current-context': {
11902
12325
  request: {
11903
- name: string;
11904
- };
11905
- response: any;
11906
- };
11907
- 'show-popup-menu': {
11908
- request: OpenFin.Identity & {
11909
- options: OpenFin.ShowPopupMenuOptions;
12326
+ apiName: string;
12327
+ identity: OpenFin.Identity;
11910
12328
  };
11911
- response: OpenFin.MenuResult;
12329
+ response: OpenFin.QueryPermissionResult;
11912
12330
  };
11913
12331
  'enable-native-window-integration-provider': {
11914
12332
  request: {
@@ -11916,24 +12334,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
11916
12334
  };
11917
12335
  response: OpenFin.NativeWindowIntegrationProviderAuthorization;
11918
12336
  };
12337
+ 'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
12338
+ 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
12339
+ 'system-update-process-logging-options': ApiCall<{
12340
+ options: OpenFin.ProcessLoggingOptions;
12341
+ }, void>;
12342
+ 'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12343
+ 'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12344
+ domainSettings: OpenFin.DefaultDomainSettings;
12345
+ }, void>;
12346
+ 'system-register-shutdown-handler': VoidCall;
11919
12347
  'get-permissions': GetterCall<any>;
11920
- 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
11921
- 'set-file-download-location': {
11922
- request: OpenFin.Identity & {
11923
- downloadLocation: string;
11924
- };
11925
- response: void;
11926
- };
11927
- 'get-file-download-location': {
11928
- request: OpenFin.ApplicationIdentity;
11929
- response: string;
11930
- };
11931
- 'close-popup-menu': IdentityCall;
11932
12348
  'fdc3-add-context-listener': VoidCall;
12349
+ 'fdc3-add-intent-listener': VoidCall;
12350
+ 'fdc3-raise-intent': VoidCall;
12351
+ 'fdc3-find-intent': VoidCall;
12352
+ 'fdc3-find-intents-by-context': VoidCall;
12353
+ 'fdc3-raise-intent-for-context': VoidCall;
12354
+ 'fdc3-get-info': VoidCall;
12355
+ 'fdc3-find-instances': VoidCall;
12356
+ 'fdc3-get-app-metadata': VoidCall;
11933
12357
  'fdc3-broadcast': VoidCall;
12358
+ 'fdc3-open': VoidCall;
12359
+ 'fdc3-get-or-create-channel': VoidCall;
11934
12360
  'fdc3-get-system-channels': VoidCall;
11935
12361
  'fdc3-join-channel': VoidCall;
12362
+ 'fdc3-get-current-channel': VoidCall;
11936
12363
  'fdc3-leave-current-channel': VoidCall;
12364
+ 'interop-init': VoidCall;
11937
12365
  'interop-connect-sync': VoidCall;
11938
12366
  'interop-client-set-context': VoidCall;
11939
12367
  'interop-client-add-context-handler': VoidCall;
@@ -11942,6 +12370,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
11942
12370
  'interop-client-remove-from-context-group': VoidCall;
11943
12371
  'interop-client-get-all-clients-in-context-group': VoidCall;
11944
12372
  'interop-client-get-info-for-context-group': VoidCall;
12373
+ 'interop-client-fire-intent': VoidCall;
12374
+ 'interop-client-register-intent-handler': VoidCall;
12375
+ 'interop-client-get-current-context': VoidCall;
12376
+ 'interop-client-get-info-for-intent': VoidCall;
12377
+ 'interop-client-get-info-for-intents-by-context': VoidCall;
12378
+ 'interop-client-fire-intent-for-context': VoidCall;
12379
+ 'interop-client-add-ondisconnection-listener': VoidCall;
11945
12380
  'interop-broker-add-client-to-context-group': VoidCall;
11946
12381
  'interop-broker-get-all-clients-in-context-group': VoidCall;
11947
12382
  'interop-broker-get-context-groups': VoidCall;
@@ -11953,13 +12388,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
11953
12388
  'interop-broker-remove-from-context-group': VoidCall;
11954
12389
  'interop-broker-set-context': VoidCall;
11955
12390
  'interop-broker-set-context-for-group': VoidCall;
11956
- 'query-permission-for-current-context': {
11957
- request: {
11958
- apiName: string;
11959
- identity: OpenFin.Identity;
11960
- };
11961
- response: OpenFin.QueryPermissionResult;
11962
- };
12391
+ 'interop-broker-get-current-context': VoidCall;
12392
+ 'interop-broker-set-intent-target': VoidCall;
12393
+ 'interop-session-context-group-set-context': VoidCall;
12394
+ 'interop-session-context-group-get-context': VoidCall;
12395
+ 'interop-session-context-group-add-handler': VoidCall;
12396
+ 'platform-wrap': VoidCall;
12397
+ 'platform-wrap-sync': VoidCall;
12398
+ 'platform-get-current': VoidCall;
12399
+ 'platform-get-current-sync': VoidCall;
12400
+ 'platform-start': VoidCall;
12401
+ 'platform-start-from-manifest': VoidCall;
12402
+ 'platform-get-client': ApplicationIdentityCall<{}, void>;
12403
+ 'platform-create-view': ApplicationIdentityCall<{}, void>;
12404
+ 'platform-create-window': ApplicationIdentityCall<{}, void>;
12405
+ 'platform-quit': ApplicationIdentityCall<{}, void>;
12406
+ 'platform-close-view': ApplicationIdentityCall<{}, void>;
12407
+ 'platform-reparent-view': ApplicationIdentityCall<{}, void>;
12408
+ 'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
12409
+ 'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
12410
+ 'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
12411
+ 'platform-set-window-context': ApplicationIdentityCall<{}, void>;
12412
+ 'platform-get-window-context': ApplicationIdentityCall<{}, void>;
12413
+ 'platform-close-window': ApplicationIdentityCall<{}, void>;
12414
+ 'layout-wrap': VoidCall;
12415
+ 'layout-wrap-sync': VoidCall;
12416
+ 'layout-get-current': VoidCall;
12417
+ 'layout-get-current-sync': VoidCall;
12418
+ 'layout-init': VoidCall;
12419
+ 'layout-get-config': VoidCall;
12420
+ 'layout-get-views': VoidCall;
12421
+ 'layout-replace': VoidCall;
12422
+ 'layout-get-root-item': VoidCall;
12423
+ 'layout-replace-view': VoidCall;
12424
+ 'layout-apply-preset': VoidCall;
12425
+ 'layout-controller-get-root': VoidCall;
12426
+ 'layout-controller-get-stack-by-view': VoidCall;
12427
+ 'layout-controller-get-stack-views': VoidCall;
12428
+ 'layout-controller-get-content': VoidCall;
12429
+ 'layout-controller-get-parent': VoidCall;
12430
+ 'layout-controller-is-root': VoidCall;
12431
+ 'layout-controller-exists': VoidCall;
12432
+ 'layout-controller-add-view-to-stack': VoidCall;
12433
+ 'layout-controller-remove-view-from-stack': VoidCall;
12434
+ 'layout-controller-create-adjacent-stack': VoidCall;
12435
+ 'layout-controller-get-adjacent-stacks': VoidCall;
12436
+ 'layout-controller-set-stack-active-view': VoidCall;
12437
+ 'snapshot-source-init': VoidCall;
12438
+ 'snapshot-source-wrap-sync': VoidCall;
12439
+ 'snapshot-source-wrap': VoidCall;
12440
+ 'snapshot-source-ready': VoidCall;
12441
+ 'snapshot-source-get-snapshot': VoidCall;
12442
+ 'snapshot-source-apply-snapshot': VoidCall;
12443
+ 'capture-page': IdentityCall<{
12444
+ options?: OpenFin.CapturePageOptions;
12445
+ }, string>;
12446
+ 'execute-javascript-in-window': IdentityCall<{
12447
+ code: string;
12448
+ }, unknown>;
12449
+ 'get-zoom-level': IdentityCall<{}, number>;
12450
+ 'set-zoom-level': IdentityCall<{
12451
+ level: number;
12452
+ }, void>;
12453
+ 'navigate-window': IdentityCall<{
12454
+ url: string;
12455
+ }, void>;
12456
+ 'navigate-window-back': IdentityCall<{}, void>;
12457
+ 'navigate-window-forward': IdentityCall<{}, void>;
12458
+ 'stop-window-navigation': IdentityCall<{}, void>;
12459
+ 'reload-window': IdentityCall<{
12460
+ ignoreCache: boolean;
12461
+ }, void>;
12462
+ 'print': IdentityCall<{
12463
+ options: OpenFin.PrintOptions;
12464
+ }, void>;
12465
+ 'find-in-page': IdentityCall<{
12466
+ searchTerm: string;
12467
+ options?: OpenFin.FindInPageOptions;
12468
+ }, void>;
12469
+ 'stop-find-in-page': IdentityCall<{
12470
+ action: 'clearSelection' | 'keepSelection' | 'activateSelection';
12471
+ }, void>;
12472
+ 'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
12473
+ 'focus-window': IdentityCall<{
12474
+ emitSynthFocused: boolean;
12475
+ }, void>;
12476
+ 'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
12477
+ 'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
12478
+ 'inspect-shared-worker': IdentityCall<{}, void>;
12479
+ 'inspect-shared-worker-by-id': IdentityCall<{
12480
+ workerId: string;
12481
+ }, void>;
12482
+ 'inspect-service-worker': IdentityCall<{}, void>;
12483
+ 'view-show-popup-window': IdentityCall<{}, void>;
12484
+ 'window-show-popup-window': IdentityCall<{}, void>;
11963
12485
  'try-create-popup-window': {
11964
12486
  request: OpenFin.Identity & {
11965
12487
  options: OpenFin.PopupOptions;
@@ -11975,9 +12497,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
11975
12497
  };
11976
12498
  response: OpenFin.PopupResult;
11977
12499
  };
11978
- 'dispatch-popup-result': IdentityCall<{
11979
- data: any;
11980
- }>;
11981
12500
  'render-overlay': {
11982
12501
  request: {
11983
12502
  bounds: OpenFin.Bounds;
@@ -11997,40 +12516,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
11997
12516
  };
11998
12517
  response: void;
11999
12518
  };
12000
- 'get-host-specs': GetterCall<OpenFin.HostSpecs>;
12001
- 'get-os-info': GetterCall<OpenFin.OSInfo>;
12002
- 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
12003
- 'system-register-shutdown-handler': VoidCall;
12004
- 'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12005
- 'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12006
- domainSettings: OpenFin.DefaultDomainSettings;
12007
- }, void>;
12008
- 'move-window-by': IdentityCall<WithPositioningOptions<{
12009
- deltaLeft: number;
12010
- deltaTop: number;
12011
- }>>;
12012
- 'move-window': IdentityCall<WithPositioningOptions<{
12013
- left: number;
12014
- top: number;
12015
- }>>;
12016
- 'resize-window-by': IdentityCall<WithPositioningOptions<{
12017
- deltaWidth: number;
12018
- deltaHeight: number;
12019
- anchor: OpenFin.AnchorType;
12020
- }>>;
12021
- 'resize-window': IdentityCall<WithPositioningOptions<{
12022
- width: number;
12023
- height: number;
12024
- anchor: OpenFin.AnchorType;
12025
- }>>;
12026
- 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
12027
- 'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
12028
- 'unregister-custom-protocol': ApiCall<{
12029
- protocolName: string;
12030
- }, void>;
12031
- 'get-custom-protocol-state': ApiCall<{
12032
- protocolName: string;
12033
- }, OpenFin.CustomProtocolState>;
12034
12519
  }
12035
12520
 
12036
12521
  declare interface ProtocolMapBase {
@@ -12060,7 +12545,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
12060
12545
  * Identity of a channel provider.
12061
12546
  * @interface
12062
12547
  */
12063
- declare type ProviderIdentity_4 = Identity_5 & {
12548
+ declare type ProviderIdentity_4 = Identity_4 & {
12064
12549
  /**
12065
12550
  * Identifier of the channel.
12066
12551
  */
@@ -12071,12 +12556,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
12071
12556
  channelName: string;
12072
12557
  };
12073
12558
 
12074
- declare type ProxyConfig = OpenFin.ProxyConfig;
12075
-
12076
12559
  /**
12077
12560
  * @interface
12078
12561
  */
12079
- declare type ProxyConfig_2 = {
12562
+ declare type ProxyConfig = {
12080
12563
  /**
12081
12564
  * The configured proxy address.
12082
12565
  */
@@ -12088,13 +12571,11 @@ declare type ProxyConfig_2 = {
12088
12571
  type: string;
12089
12572
  };
12090
12573
 
12091
- declare type ProxyInfo = OpenFin.ProxyInfo;
12092
-
12093
12574
  /**
12094
12575
  * @interface
12095
12576
  */
12096
- declare type ProxyInfo_2 = {
12097
- config: ProxyConfig_2;
12577
+ declare type ProxyInfo = {
12578
+ config: ProxyConfig;
12098
12579
  system: ProxySystemInfo;
12099
12580
  };
12100
12581
 
@@ -12200,12 +12681,10 @@ declare type RegisterUsageData = {
12200
12681
  type: string;
12201
12682
  };
12202
12683
 
12203
- declare type RegistryInfo = OpenFin.RegistryInfo;
12204
-
12205
12684
  /**
12206
12685
  * @interface
12207
12686
  */
12208
- declare type RegistryInfo_2 = {
12687
+ declare type RegistryInfo = {
12209
12688
  data: any;
12210
12689
  rootKey: string;
12211
12690
  subkey: string;
@@ -12226,6 +12705,15 @@ declare interface RemoteConfig extends ExistingConnectConfig {
12226
12705
  token: string;
12227
12706
  }
12228
12707
 
12708
+ /**
12709
+ * Generated when a View is removed from a layout.
12710
+ * @interface
12711
+ */
12712
+ declare type RemovedFromLayoutEvent = BaseEvent_4 & {
12713
+ type: 'removed-from-layout';
12714
+ layoutIdentity: OpenFin.LayoutIdentity;
12715
+ };
12716
+
12229
12717
  /**
12230
12718
  * @interface
12231
12719
  */
@@ -12254,14 +12742,14 @@ declare type ReplaceLayoutPayload = {
12254
12742
  /**
12255
12743
  * Identity of the window whose layout will be replaced.
12256
12744
  */
12257
- target: Identity_5 | LayoutIdentity;
12745
+ target: Identity_4 | LayoutIdentity;
12258
12746
  };
12259
12747
 
12260
12748
  /**
12261
12749
  * @interface
12262
12750
  */
12263
12751
  declare type ReplaceViewOptions = {
12264
- viewToReplace: Identity_5;
12752
+ viewToReplace: Identity_4;
12265
12753
  newView: ViewState;
12266
12754
  };
12267
12755
 
@@ -12270,7 +12758,7 @@ declare type ReplaceViewOptions = {
12270
12758
  */
12271
12759
  declare type ReplaceViewPayload = {
12272
12760
  opts: {
12273
- viewToReplace: Identity_5;
12761
+ viewToReplace: Identity_4;
12274
12762
  newView: Partial<ViewOptions>;
12275
12763
  };
12276
12764
  target: LayoutIdentity;
@@ -12636,7 +13124,7 @@ declare type SetWindowContextPayload = {
12636
13124
  /**
12637
13125
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
12638
13126
  */
12639
- target: Identity_5;
13127
+ target: Identity_4;
12640
13128
  };
12641
13129
 
12642
13130
  /**
@@ -13080,7 +13568,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13080
13568
  * fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
13081
13569
  * ```
13082
13570
  */
13083
- getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
13571
+ getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
13084
13572
  /**
13085
13573
  * Retrieves an array of data for all applications.
13086
13574
  *
@@ -13089,7 +13577,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13089
13577
  * fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
13090
13578
  * ```
13091
13579
  */
13092
- getAllApplications(): Promise<Array<ApplicationState>>;
13580
+ getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
13093
13581
  /**
13094
13582
  * Retrieves the command line argument string that started OpenFin Runtime.
13095
13583
  *
@@ -13164,7 +13652,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13164
13652
  * }
13165
13653
  * ```
13166
13654
  */
13167
- getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
13655
+ getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
13168
13656
  /**
13169
13657
  * Gets the value of a given environment variable on the computer on which the runtime is installed
13170
13658
  *
@@ -13206,7 +13694,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13206
13694
  * ```
13207
13695
  */
13208
13696
  getInstalledRuntimes(): Promise<string[]>;
13209
- getInstalledApps(): Promise<InstalledApps>;
13697
+ getInstalledApps(): Promise<OpenFin.InstalledApps>;
13210
13698
  /**
13211
13699
  * Retrieves the contents of the log with the specified filename.
13212
13700
  * @param options A object that id defined by the GetLogRequestType interface
@@ -13221,7 +13709,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13221
13709
  * getLog().then(log => console.log(log)).catch(err => console.log(err));
13222
13710
  * ```
13223
13711
  */
13224
- getLog(options: GetLogRequestType): Promise<string>;
13712
+ getLog(options: OpenFin.GetLogRequestType): Promise<string>;
13225
13713
  /**
13226
13714
  * Returns a unique identifier (UUID) provided by the machine.
13227
13715
  *
@@ -13239,7 +13727,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13239
13727
  * fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
13240
13728
  * ```
13241
13729
  */
13242
- getMinLogLevel(): Promise<LogLevel>;
13730
+ getMinLogLevel(): Promise<OpenFin.LogLevel>;
13243
13731
  /**
13244
13732
  * Retrieves an array containing information for each log file.
13245
13733
  *
@@ -13248,7 +13736,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13248
13736
  * fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
13249
13737
  * ```
13250
13738
  */
13251
- getLogList(): Promise<Array<LogInfo>>;
13739
+ getLogList(): Promise<Array<OpenFin.LogInfo>>;
13252
13740
  /**
13253
13741
  * Retrieves an object that contains data about the monitor setup of the
13254
13742
  * computer that the runtime is running on.
@@ -13319,7 +13807,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13319
13807
  * }
13320
13808
  * ```
13321
13809
  */
13322
- getProxySettings(): Promise<ProxyInfo>;
13810
+ getProxySettings(): Promise<OpenFin.ProxyInfo>;
13323
13811
  /**
13324
13812
  * Returns information about the running Runtime in an object.
13325
13813
  *
@@ -13686,7 +14174,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13686
14174
  * }
13687
14175
  * ```
13688
14176
  */
13689
- launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity_2>;
14177
+ launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
13690
14178
  /**
13691
14179
  * Monitors a running process. A pid for the process must be included in options.
13692
14180
  * <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
@@ -13703,7 +14191,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13703
14191
  * }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
13704
14192
  * ```
13705
14193
  */
13706
- monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity_2>;
14194
+ monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
13707
14195
  /**
13708
14196
  * Writes the passed message into both the log file and the console.
13709
14197
  * @param level The log level for the entry. Can be either "info", "warning" or "error"
@@ -13837,7 +14325,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13837
14325
  *
13838
14326
  * @tutorial System.showDeveloperTools
13839
14327
  */
13840
- showDeveloperTools(identity: Identity_2): Promise<void>;
14328
+ showDeveloperTools(identity: Identity): Promise<void>;
13841
14329
  /**
13842
14330
  * Attempt to close an external process. The process will be terminated if it
13843
14331
  * has not closed after the elapsed timeout in milliseconds.
@@ -13871,7 +14359,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13871
14359
  * .catch(err => console.error(err));
13872
14360
  * ```
13873
14361
  */
13874
- updateProxySettings(options: ProxyConfig): Promise<void>;
14362
+ updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
13875
14363
  /**
13876
14364
  * Downloads the given application asset.
13877
14365
  *
@@ -13963,7 +14451,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13963
14451
  * .catch(err => console.log(err));
13964
14452
  * ```
13965
14453
  */
13966
- getAllExternalApplications(): Promise<Array<Identity_2>>;
14454
+ getAllExternalApplications(): Promise<Array<Identity>>;
13967
14455
  /**
13968
14456
  * Retrieves app asset information.
13969
14457
  * @param options
@@ -13992,7 +14480,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13992
14480
  * fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
13993
14481
  * ```
13994
14482
  */
13995
- setMinLogLevel(level: LogLevel): Promise<void>;
14483
+ setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
13996
14484
  /**
13997
14485
  * Retrieves the UUID of the computer on which the runtime is installed
13998
14486
  * @param uuid The uuid of the running application
@@ -14002,7 +14490,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14002
14490
  * fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
14003
14491
  * ```
14004
14492
  */
14005
- resolveUuid(uuid: string): Promise<Entity>;
14493
+ resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
14006
14494
  /**
14007
14495
  * Retrieves an array of data for all external applications
14008
14496
  * @param requestingIdentity This object is described in the Identity typedef
@@ -14010,7 +14498,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14010
14498
  *
14011
14499
  * @ignore
14012
14500
  */
14013
- executeOnRemote(requestingIdentity: Identity_2, data: any): Promise<any>;
14501
+ executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
14014
14502
  /**
14015
14503
  * Reads the specifed value from the registry.
14016
14504
  * @remarks This method is restricted by default and must be enabled via
@@ -14103,7 +14591,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14103
14591
  * }
14104
14592
  * ```
14105
14593
  */
14106
- readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
14594
+ readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
14107
14595
  /**
14108
14596
  * This function call will register a unique id and produce a token.
14109
14597
  * The token can be used to broker an external connection.
@@ -14318,7 +14806,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14318
14806
  * });
14319
14807
  * ```
14320
14808
  */
14321
- getPrinters(): Promise<PrinterInfo[]>;
14809
+ getPrinters(): Promise<OpenFin.PrinterInfo[]>;
14322
14810
  /**
14323
14811
  * Updates Process Logging values: periodic interval and outlier detection entries and interval.
14324
14812
  * @param options Process Logging updatable options.
@@ -14937,14 +15425,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
14937
15425
  declare type UserAppConfigArgs = Record<string, string | string[]>;
14938
15426
 
14939
15427
  /**
14940
- * A general user bounds change event without event type.
15428
+ * An event that fires when a window's bounds are changed directly by the user.
15429
+ *
14941
15430
  * @interface
14942
15431
  */
14943
- declare type UserBoundsChangeEvent = BaseEvent_5 & {
14944
- height: number;
14945
- left: number;
14946
- top: number;
14947
- width: number;
15432
+ declare type UserBoundsChangeEvent = BoundsEvent & {
14948
15433
  windowState: 'minimized' | 'normal' | 'maximized';
14949
15434
  };
14950
15435
 
@@ -15553,7 +16038,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
15553
16038
  declare type ViewCreationOptions = Partial<ViewOptions> & {
15554
16039
  name: string;
15555
16040
  url: string;
15556
- target: Identity_5;
16041
+ target: Identity_4;
15557
16042
  };
15558
16043
 
15559
16044
  declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
@@ -15582,6 +16067,8 @@ declare namespace ViewEvents {
15582
16067
  BaseEvent_4 as BaseEvent,
15583
16068
  BaseViewEvent,
15584
16069
  TargetChangedEvent,
16070
+ AddedToLayoutEvent,
16071
+ RemovedFromLayoutEvent,
15585
16072
  NonPropagatedViewEvent,
15586
16073
  CreatedEvent,
15587
16074
  DestroyedEvent,
@@ -15737,15 +16224,15 @@ declare interface ViewsPreventingUnloadPayload {
15737
16224
  /**
15738
16225
  * Identity of the Window.
15739
16226
  */
15740
- windowId: Identity_5;
16227
+ windowId: Identity_4;
15741
16228
  /**
15742
16229
  * Identities of the Views that are preventing an unload
15743
16230
  */
15744
- viewsPreventingUnload: Identity_5[];
16231
+ viewsPreventingUnload: Identity_4[];
15745
16232
  /**
15746
16233
  * Identities of the Views that are not preventing an unload
15747
16234
  */
15748
- viewsNotPreventingUnload: Identity_5[];
16235
+ viewsNotPreventingUnload: Identity_4[];
15749
16236
  /**
15750
16237
  * Source of the close action.
15751
16238
  */
@@ -15770,11 +16257,11 @@ declare interface ViewStatuses {
15770
16257
  /**
15771
16258
  * Identities of the Views that are preventing an unload.
15772
16259
  */
15773
- viewsPreventingUnload: Identity_5[];
16260
+ viewsPreventingUnload: Identity_4[];
15774
16261
  /**
15775
16262
  * Identities of the Views that are not preventing an unload.
15776
16263
  */
15777
- viewsNotPreventingUnload: Identity_5[];
16264
+ viewsNotPreventingUnload: Identity_4[];
15778
16265
  }
15779
16266
 
15780
16267
  /**
@@ -16279,7 +16766,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
16279
16766
  * We do not expose an explicit superclass for this functionality, but it does have its own
16280
16767
  * {@link OpenFin.WebContentsEvents event namespace}.
16281
16768
  */
16282
- stopFindInPage(action: string): Promise<void>;
16769
+ stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
16283
16770
  /**
16284
16771
  * Returns an array with all system printers
16285
16772
  * @deprecated use System.getPrinters instead
@@ -16872,11 +17359,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
16872
17359
  * A general will-move or will-resize event without event type.
16873
17360
  * @interface
16874
17361
  */
16875
- declare type WillMoveOrResizeEvent = BaseEvent_5 & {
16876
- height: number;
16877
- left: number;
16878
- top: number;
16879
- width: number;
17362
+ declare type WillMoveOrResizeEvent = BoundsEvent & {
16880
17363
  monitorScaleFactor: number;
16881
17364
  };
16882
17365
 
@@ -18068,16 +18551,21 @@ declare namespace WindowEvents {
18068
18551
  PreloadScriptInfoRunning,
18069
18552
  PreloadScriptInfo,
18070
18553
  PreloadScriptsStateChangeEvent,
18071
- UserBoundsChangeEvent,
18554
+ BoundsEvent,
18072
18555
  BoundsChangeEvent,
18073
18556
  WillMoveOrResizeEvent,
18557
+ BoundsDidChangeEvent,
18558
+ BoundsChangedEvent,
18559
+ BoundsChangingEvent,
18560
+ DisabledMovementBoundsChangedEvent,
18561
+ DisabledMovementBoundsChangingEvent,
18562
+ UserBoundsChangeEvent,
18563
+ BeginUserBoundsChangingEvent,
18564
+ EndUserBoundsChangingEvent,
18074
18565
  PerformanceReportEvent,
18075
18566
  InputEvent_2 as InputEvent,
18076
18567
  LayoutInitializedEvent,
18077
18568
  LayoutReadyEvent,
18078
- BeginUserBoundsChangingEvent,
18079
- BoundsChangedEvent,
18080
- BoundsChangingEvent,
18081
18569
  CloseRequestedEvent,
18082
18570
  WindowCloseRequestedEvent,
18083
18571
  ContextChangedEvent,
@@ -18085,10 +18573,7 @@ declare namespace WindowEvents {
18085
18573
  WindowClosedEvent,
18086
18574
  ClosingEvent,
18087
18575
  WindowClosingEvent,
18088
- DisabledMovementBoundsChangedEvent,
18089
- DisabledMovementBoundsChangingEvent,
18090
18576
  EmbeddedEvent,
18091
- EndUserBoundsChangingEvent,
18092
18577
  HotkeyEvent_2 as HotkeyEvent,
18093
18578
  WindowHotkeyEvent,
18094
18579
  InitializedEvent_2 as InitializedEvent,