@openfin/fdc3-api 39.83.3 → 39.83.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,7 @@ declare type AddedToLayoutEvent = BaseEvent_4 & {
58
58
  */
59
59
  declare type AddViewOptions = CreateViewTarget & {
60
60
  options: ViewState;
61
- targetView?: Identity_5;
61
+ targetView?: Identity_4;
62
62
  };
63
63
 
64
64
  /**
@@ -930,15 +930,15 @@ declare namespace ApplicationEvents {
930
930
  */
931
931
  declare type ApplicationEventType = EventType_3;
932
932
 
933
- declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
934
-
935
933
  /**
936
934
  * @interface
937
935
  */
938
- declare type ApplicationIdentity_2 = {
936
+ declare type ApplicationIdentity = {
939
937
  uuid: string;
940
938
  };
941
939
 
940
+ declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
941
+
942
942
  /**
943
943
  * @interface
944
944
  */
@@ -1311,12 +1311,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
1311
1311
  */
1312
1312
  declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
1313
1313
 
1314
- declare type ApplicationState = OpenFin.ApplicationState;
1315
-
1316
1314
  /**
1317
1315
  * @interface
1318
1316
  */
1319
- declare type ApplicationState_2 = {
1317
+ declare type ApplicationState = {
1320
1318
  /**
1321
1319
  * True when the application is a Platform controller
1322
1320
  */
@@ -1348,12 +1346,10 @@ declare type ApplicationType = {
1348
1346
  */
1349
1347
  declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
1350
1348
 
1351
- declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
1352
-
1353
1349
  /**
1354
1350
  * @interface
1355
1351
  */
1356
- declare type ApplicationWindowInfo_2 = {
1352
+ declare type ApplicationWindowInfo = {
1357
1353
  childWindows: Array<WindowDetail>;
1358
1354
  mainWindow: WindowDetail;
1359
1355
  /**
@@ -1615,7 +1611,7 @@ declare class Base {
1615
1611
  * @deprecated `me` should only be accessed from the `fin` global ({@link FinApi.me}); access through entity classes is not
1616
1612
  * guaranteed to behave sensibly in all calling contexts.
1617
1613
  */
1618
- get me(): Identity;
1614
+ get me(): OpenFin.Identity;
1619
1615
  /* Excluded from this release type: isNodeEnvironment */
1620
1616
  /* Excluded from this release type: isOpenFinEnvironment */
1621
1617
  /* Excluded from this release type: isBrowserEnvironment */
@@ -1835,11 +1831,12 @@ declare type BeforeUnloadUserDecision = {
1835
1831
  /**
1836
1832
  * Array of views that will close.
1837
1833
  */
1838
- viewsToClose: Identity_5[];
1834
+ viewsToClose: Identity_4[];
1839
1835
  };
1840
1836
 
1841
1837
  /**
1842
1838
  * Generated at the beginning of a user-driven change to a window's size or position.
1839
+ *
1843
1840
  * @interface
1844
1841
  */
1845
1842
  declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
@@ -1880,31 +1877,33 @@ declare type Bounds = {
1880
1877
  * Generated after changes in a window's size and/or position.
1881
1878
  * @interface
1882
1879
  */
1883
- declare type BoundsChangedEvent = BoundsChangeEvent & {
1880
+ declare type BoundsChangedEvent = BoundsDidChangeEvent & {
1884
1881
  type: 'bounds-changed';
1885
1882
  };
1886
1883
 
1887
- /**
1888
- * A general bounds change event without event type.
1889
- * @interface
1890
- */
1891
- declare type BoundsChangeEvent = BaseEvent_5 & {
1884
+ declare type BoundsChangeEvent = BoundsEvent & {
1892
1885
  changeType: 0 | 1 | 2;
1893
- deferred: boolean;
1894
- height: number;
1895
- left: number;
1896
- top: number;
1897
- width: number;
1898
1886
  };
1899
1887
 
1900
1888
  /**
1901
1889
  * Generated during changes to a window's size and/or position.
1902
1890
  * @interface
1903
1891
  */
1904
- declare type BoundsChangingEvent = BoundsChangeEvent & {
1892
+ declare type BoundsChangingEvent = BoundsDidChangeEvent & {
1905
1893
  type: 'bounds-changing';
1906
1894
  };
1907
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
+
1908
1907
  /**
1909
1908
  * A rule prescribing content creation in the browser.
1910
1909
  *
@@ -2986,7 +2985,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
2986
2985
  * Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
2987
2986
  * @interface
2988
2987
  */
2989
- declare type ClientIdentity = Identity_5 & {
2988
+ declare type ClientIdentity = Identity_4 & {
2990
2989
  /**
2991
2990
  * Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
2992
2991
  */
@@ -3219,7 +3218,7 @@ declare type CloseViewOptions = {
3219
3218
  /**
3220
3219
  *View to be closed.
3221
3220
  */
3222
- viewIdentity: Identity_5;
3221
+ viewIdentity: Identity_4;
3223
3222
  };
3224
3223
 
3225
3224
  /**
@@ -3229,7 +3228,7 @@ declare type CloseViewPayload = {
3229
3228
  /**
3230
3229
  *View to be closed.
3231
3230
  */
3232
- view: Identity_5;
3231
+ view: Identity_4;
3233
3232
  /**
3234
3233
  * The target layout identity where this view should be closed. If not provided, will resolve to the
3235
3234
  * visible layout.
@@ -3247,7 +3246,7 @@ declare interface CloseWindowPayload {
3247
3246
  *
3248
3247
  * Identity of the Window
3249
3248
  */
3250
- windowId: Identity_5;
3249
+ windowId: Identity_4;
3251
3250
  options: {
3252
3251
  /**
3253
3252
  * @defaultValue false
@@ -3365,7 +3364,7 @@ declare type ConstViewOptions = {
3365
3364
  /**
3366
3365
  * The identity of the window this view should be attached to.
3367
3366
  */
3368
- target: Identity_5;
3367
+ target: Identity_4;
3369
3368
  /**
3370
3369
  * Configures how new content (e,g, from `window.open` or a link) is opened.
3371
3370
  */
@@ -3590,7 +3589,7 @@ declare type ConstWindowOptions = {
3590
3589
  /**
3591
3590
  * Parent identity of a modal window. It will create a modal child window when this option is set.
3592
3591
  */
3593
- modalParentIdentity: Identity_5;
3592
+ modalParentIdentity: Identity_4;
3594
3593
  /**
3595
3594
  * The name of the window.
3596
3595
  */
@@ -3608,7 +3607,9 @@ declare type ConstWindowOptions = {
3608
3607
  */
3609
3608
  preloadScripts: PreloadScript[];
3610
3609
  /**
3611
- * String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
3610
+ * String tag that attempts to group like-tagged renderers together.
3611
+ * However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
3612
+ * @remarks Will only be used if pages are on the same origin.
3612
3613
  */
3613
3614
  processAffinity: string;
3614
3615
  /**
@@ -3655,11 +3656,6 @@ declare type ConstWindowOptions = {
3655
3656
  * @deprecated - use `icon` instead.
3656
3657
  */
3657
3658
  taskbarIcon: string;
3658
- /**
3659
- * Specify a taskbar group for the window.
3660
- * _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
3661
- */
3662
- taskbarIconGroup: string;
3663
3659
  /**
3664
3660
  * @defaultValue "about:blank"
3665
3661
  *
@@ -4074,13 +4070,13 @@ declare type CreateViewPayload = {
4074
4070
  * Window the view will be added to. If no target is provided, a new window will be created.
4075
4071
  */
4076
4072
  target?: CreateViewTarget;
4077
- targetView?: Identity_5;
4073
+ targetView?: Identity_4;
4078
4074
  };
4079
4075
 
4080
4076
  /**
4081
4077
  * @interface
4082
4078
  */
4083
- declare type CreateViewTarget = (Identity_5 | LayoutIdentity) & {
4079
+ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4084
4080
  /**
4085
4081
  * If specified, view creation will not attach to a window and caller must
4086
4082
  * insert the view into the layout explicitly
@@ -4526,7 +4522,7 @@ declare type EmitterAccessor = string[];
4526
4522
  declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
4527
4523
  #private;
4528
4524
  private topic;
4529
- protected identity: ApplicationIdentity;
4525
+ protected identity: OpenFin.ApplicationIdentity;
4530
4526
  constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
4531
4527
  eventNames: () => (string | symbol)[];
4532
4528
  /* Excluded from this release type: emit */
@@ -4601,20 +4597,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
4601
4597
 
4602
4598
  /**
4603
4599
  * Generated at the end of a user-driven change to a window's size or position.
4600
+ *
4604
4601
  * @interface
4605
4602
  */
4606
4603
  declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
4607
4604
  type: 'end-user-bounds-changing';
4608
4605
  };
4609
4606
 
4610
- declare type Entity = OpenFin.ApplicationType;
4611
-
4612
- declare type EntityInfo = OpenFin.EntityInfo;
4613
-
4614
4607
  /**
4615
4608
  * @interface
4616
4609
  */
4617
- declare type EntityInfo_2 = {
4610
+ declare type EntityInfo = {
4618
4611
  uuid: string;
4619
4612
  name: string;
4620
4613
  entityType: EntityType_4;
@@ -4700,6 +4693,7 @@ declare interface Environment {
4700
4693
  getInteropInfo(fin: OpenFin.Fin<OpenFin.EntityType>): Promise<InternalInteropBrokerOptions & {
4701
4694
  fdc3Version?: Version;
4702
4695
  }>;
4696
+ getViewWindowIdentity(fin: OpenFin.Fin<OpenFin.EntityType>, identity: OpenFin.Identity): Promise<OpenFin.Identity>;
4703
4697
  readonly type: EnvironmentType;
4704
4698
  }
4705
4699
 
@@ -4963,7 +4957,7 @@ declare type ExternalApplicationEventType = EventType_4;
4963
4957
  * @interface
4964
4958
  */
4965
4959
  declare type ExternalApplicationInfo = {
4966
- parent: Identity_5;
4960
+ parent: Identity_4;
4967
4961
  };
4968
4962
 
4969
4963
  /**
@@ -5768,7 +5762,7 @@ declare type FrameInfo = {
5768
5762
  uuid: string;
5769
5763
  url: string;
5770
5764
  entityType: EntityType_4;
5771
- parent: Identity_5;
5765
+ parent: Identity_4;
5772
5766
  };
5773
5767
 
5774
5768
  /**
@@ -5843,12 +5837,10 @@ declare type FrameProcessDetails = ProcessDetails & {
5843
5837
  entityType: string;
5844
5838
  };
5845
5839
 
5846
- declare type GetLogRequestType = OpenFin.GetLogRequestType;
5847
-
5848
5840
  /**
5849
5841
  * @interface
5850
5842
  */
5851
- declare type GetLogRequestType_2 = {
5843
+ declare type GetLogRequestType = {
5852
5844
  /**
5853
5845
  * The name of the running application
5854
5846
  */
@@ -5868,7 +5860,7 @@ declare type GetWindowContextPayload = {
5868
5860
  /**
5869
5861
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
5870
5862
  */
5871
- target: Identity_5;
5863
+ target: Identity_4;
5872
5864
  };
5873
5865
 
5874
5866
  /**
@@ -6134,8 +6126,6 @@ declare type Identity_2 = OpenFin.Identity;
6134
6126
 
6135
6127
  declare type Identity_3 = OpenFin.Identity;
6136
6128
 
6137
- declare type Identity_4 = OpenFin.Identity;
6138
-
6139
6129
  /**
6140
6130
  * Unique identifier for a window, view or iframe.
6141
6131
  *
@@ -6144,7 +6134,7 @@ declare type Identity_4 = OpenFin.Identity;
6144
6134
  *
6145
6135
  * @interface
6146
6136
  */
6147
- declare type Identity_5 = {
6137
+ declare type Identity_4 = {
6148
6138
  /**
6149
6139
  * Universally unique identifier of the application that owns the component.
6150
6140
  */
@@ -6303,12 +6293,10 @@ declare type InstallationInfo = {
6303
6293
  cachedManifest: any;
6304
6294
  };
6305
6295
 
6306
- declare type InstalledApps = OpenFin.InstalledApps;
6307
-
6308
6296
  /**
6309
6297
  * @interface
6310
6298
  */
6311
- declare type InstalledApps_2 = {
6299
+ declare type InstalledApps = {
6312
6300
  [key: string]: InstallationInfo;
6313
6301
  };
6314
6302
 
@@ -7079,7 +7067,7 @@ declare class InteropBroker extends Base {
7079
7067
  * @param _id the identity tryinc to connect
7080
7068
  * @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
7081
7069
  */
7082
- isConnectionAuthorized(_id: Identity_3, _connectionPayload?: any): Promise<boolean> | boolean;
7070
+ isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
7083
7071
  /**
7084
7072
  * Called before every action to check if this entity should be allowed to take the action.
7085
7073
  * Return false to prevent the action
@@ -7872,6 +7860,7 @@ declare type LaunchIntoPlatformPayload = {
7872
7860
  */
7873
7861
  declare class Layout extends Base {
7874
7862
  #private;
7863
+ /* Excluded from this release type: getClient */
7875
7864
  /* Excluded from this release type: init */
7876
7865
  identity: OpenFin.Identity | OpenFin.LayoutIdentity;
7877
7866
  private platform;
@@ -7971,6 +7960,17 @@ declare class Layout extends Base {
7971
7960
  * ```
7972
7961
  */
7973
7962
  getRootItem(): Promise<OpenFin.ColumnOrRow | OpenFin.TabStack>;
7963
+ /**
7964
+ * Retrieves the OpenFin.TabStack instance which the View belongs to.
7965
+ *
7966
+ * @example
7967
+ * ```js
7968
+ * const viewIdentity = { uuid: 'uuid', name: 'view-name' };
7969
+ * const stack = await fin.View.wrapSync(viewIdentity).getStackByViewIdentity(viewIdentity);
7970
+ * console.log(await stack.getViews());
7971
+ * ```
7972
+ */
7973
+ getStackByViewIdentity(identity: OpenFin.Identity): Promise<OpenFin.TabStack>;
7974
7974
  /**
7975
7975
  * Replaces the specified view with a view with the provided configuration.
7976
7976
  *
@@ -7997,7 +7997,7 @@ declare class Layout extends Base {
7997
7997
  * await layout.replaceView(viewToReplace.identity, newViewConfig);
7998
7998
  * ```
7999
7999
  */
8000
- replaceView: (viewToReplace: Identity_4, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
8000
+ replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
8001
8001
  /**
8002
8002
  * Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
8003
8003
  * The preset options are `columns`, `grid`, `rows`, and `tabs`.
@@ -8052,7 +8052,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
8052
8052
  /**
8053
8053
  * The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
8054
8054
  */
8055
- declare type LayoutDOMEvent = Identity_5 & {
8055
+ declare type LayoutDOMEvent = Identity_4 & {
8056
8056
  type: string;
8057
8057
  topic: 'openfin-DOM-event';
8058
8058
  tabSelector: string;
@@ -8113,7 +8113,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
8113
8113
  /**
8114
8114
  * @interface
8115
8115
  */
8116
- declare type LayoutIdentity = Identity_5 & {
8116
+ declare type LayoutIdentity = Identity_4 & {
8117
8117
  /**
8118
8118
  * The name of the layout in a given window.
8119
8119
  */
@@ -8222,7 +8222,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8222
8222
  * @param identity
8223
8223
  * @returns LayoutIdentity | undefined
8224
8224
  */
8225
- resolveLayoutIdentity(identity?: Identity_5 | LayoutIdentity): LayoutIdentity | undefined;
8225
+ resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
8226
8226
  /**
8227
8227
  * @experimental
8228
8228
  *
@@ -8239,7 +8239,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
8239
8239
  /**
8240
8240
  * @experimental
8241
8241
  */
8242
- getLayoutIdentityForView(viewIdentity: Identity_5): LayoutIdentity;
8242
+ getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
8243
8243
  /**
8244
8244
  * @experimental
8245
8245
  */
@@ -8340,6 +8340,17 @@ declare class LayoutModule extends Base {
8340
8340
  * ```
8341
8341
  */
8342
8342
  getCurrentSync(): OpenFin.Layout;
8343
+ /**
8344
+ * Retrieves the OpenFin.Layout instance for the Window the View is attached to.
8345
+ *
8346
+ * @example
8347
+ * ```js
8348
+ * const viewIdentity = { uuid: 'uuid', name: 'view-name' };
8349
+ * const layout = await fin.Platform.Layout.getLayoutByViewIdentity(viewIdentity);
8350
+ * console.log(await layout.getCurrentViews());
8351
+ * ```
8352
+ */
8353
+ getLayoutByViewIdentity(viewIdentity: OpenFin.Identity): Promise<OpenFin.Layout>;
8343
8354
  /**
8344
8355
  * Initialize the window's Layout.
8345
8356
  *
@@ -8543,12 +8554,10 @@ declare type Listener<T extends {
8543
8554
  type: string;
8544
8555
  }> = (payload: T) => void;
8545
8556
 
8546
- declare type LogInfo = OpenFin.LogInfo;
8547
-
8548
8557
  /**
8549
8558
  * @interface
8550
8559
  */
8551
- declare type LogInfo_2 = {
8560
+ declare type LogInfo = {
8552
8561
  /**
8553
8562
  * The filename of the log
8554
8563
  */
@@ -8563,8 +8572,6 @@ declare type LogInfo_2 = {
8563
8572
  date: string;
8564
8573
  };
8565
8574
 
8566
- declare type LogLevel = OpenFin.LogLevel;
8567
-
8568
8575
  /**
8569
8576
  * Describes the minimum level (inclusive) above which logs will be written.
8570
8577
  *
@@ -8574,7 +8581,7 @@ declare type LogLevel = OpenFin.LogLevel;
8574
8581
  * `error` and above<br>
8575
8582
  * `fatal`: fatal only, indicates a crash is imminent
8576
8583
  */
8577
- declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8584
+ declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
8578
8585
 
8579
8586
  declare type LogUploaderUIOptions = {
8580
8587
  title?: string;
@@ -9223,6 +9230,12 @@ declare type MutableWindowOptions = {
9223
9230
  * Shows the window's icon in the taskbar.
9224
9231
  */
9225
9232
  showTaskbarIcon: boolean;
9233
+ /**
9234
+ * Specify a taskbar group for the window.
9235
+ * _If omitted, defaults to app's uuid (`fin.Application.getCurrentSync().identity.uuid`)._
9236
+ * @remarks It's only updatable when `enableJumpList` is set to false.
9237
+ */
9238
+ taskbarIconGroup: string;
9226
9239
  interop: InteropConfig;
9227
9240
  /* Excluded from this release type: _internalWorkspaceData */
9228
9241
  /* Excluded from this release type: workspacePlatform */
@@ -9402,13 +9415,13 @@ declare namespace OpenFin {
9402
9415
  LayoutPosition,
9403
9416
  WebContent,
9404
9417
  PlatformProvider,
9405
- ApplicationIdentity_2 as ApplicationIdentity,
9406
- Identity_5 as Identity,
9418
+ ApplicationIdentity,
9419
+ Identity_4 as Identity,
9407
9420
  ClientIdentity,
9408
9421
  ClientInfo,
9409
9422
  ClientIdentityMultiRuntime,
9410
9423
  ClientConnectionPayload,
9411
- EntityInfo_2 as EntityInfo,
9424
+ EntityInfo,
9412
9425
  EntityType_4 as EntityType,
9413
9426
  Bounds,
9414
9427
  WindowBounds,
@@ -9544,7 +9557,7 @@ declare namespace OpenFin {
9544
9557
  GpuInfo,
9545
9558
  OSInfo,
9546
9559
  HostSpecs,
9547
- PrinterInfo_2 as PrinterInfo,
9560
+ PrinterInfo,
9548
9561
  Dpi,
9549
9562
  Margins,
9550
9563
  PrintOptions,
@@ -9652,24 +9665,24 @@ declare namespace OpenFin {
9652
9665
  BeforeUnloadUserDecision,
9653
9666
  ViewStatuses,
9654
9667
  CloseWindowPayload,
9655
- ProxyInfo_2 as ProxyInfo,
9656
- ProxyConfig_2 as ProxyConfig,
9668
+ ProxyInfo,
9669
+ ProxyConfig,
9657
9670
  ProxySystemInfo,
9658
9671
  ChannelAction_2 as ChannelAction,
9659
9672
  ChannelMiddleware_2 as ChannelMiddleware,
9660
9673
  ErrorMiddleware_2 as ErrorMiddleware,
9661
- ApplicationState_2 as ApplicationState,
9662
- InstalledApps_2 as InstalledApps,
9674
+ ApplicationState,
9675
+ InstalledApps,
9663
9676
  InstallationInfo,
9664
- GetLogRequestType_2 as GetLogRequestType,
9665
- LogInfo_2 as LogInfo,
9677
+ GetLogRequestType,
9678
+ LogInfo,
9666
9679
  SendApplicationLogResponse,
9667
- LogLevel_2 as LogLevel,
9680
+ LogLevel,
9668
9681
  PermissionState_2 as PermissionState,
9669
- RegistryInfo_2 as RegistryInfo,
9682
+ RegistryInfo,
9670
9683
  ApplicationType,
9671
9684
  WindowInfo,
9672
- ApplicationWindowInfo_2 as ApplicationWindowInfo,
9685
+ ApplicationWindowInfo,
9673
9686
  WindowDetail,
9674
9687
  LayoutPresetType,
9675
9688
  LayoutIdentity,
@@ -11578,12 +11591,10 @@ declare type PresetLayoutOptions_2 = {
11578
11591
  presetType: LayoutPresetType;
11579
11592
  };
11580
11593
 
11581
- declare type PrinterInfo = OpenFin.PrinterInfo;
11582
-
11583
11594
  /**
11584
11595
  * @interface
11585
11596
  */
11586
- declare type PrinterInfo_2 = {
11597
+ declare type PrinterInfo = {
11587
11598
  /**
11588
11599
  * Printer Name
11589
11600
  */
@@ -11845,20 +11856,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
11845
11856
  declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
11846
11857
 
11847
11858
  declare interface ProtocolMap extends ProtocolMapBase {
11859
+ 'is-application-running': ApplicationIdentityCall<{}, boolean>;
11860
+ 'destroy-application': ApplicationIdentityCall<{
11861
+ force: boolean;
11862
+ }, void>;
11863
+ 'close-application': ApplicationIdentityCall<{
11864
+ force: boolean;
11865
+ }, void>;
11866
+ 'application-close': ApplicationIdentityCall<{}, void>;
11867
+ 'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
11868
+ 'get-application-manifest': {
11869
+ request: {
11870
+ manifestUrl?: string;
11871
+ uuid?: string;
11872
+ };
11873
+ response: OpenFin.Manifest;
11874
+ };
11875
+ 'get-parent-application': ApplicationIdentityCall<{}, string>;
11876
+ 'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
11877
+ 'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
11878
+ 'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
11879
+ 'application-get-window': ApplicationIdentityCall<{}, void>;
11880
+ 'register-user': ApplicationIdentityCall<{
11881
+ userName: string;
11882
+ appName: string;
11883
+ }, void>;
11884
+ 'remove-tray-icon': ApplicationIdentityCall<{}, void>;
11885
+ 'restart-application': ApplicationIdentityCall<{}, void>;
11886
+ 'application-run': ApplicationIdentityCall<{}, void>;
11887
+ 'run-application': ApplicationIdentityCall<{
11888
+ manifestUrl?: string | undefined;
11889
+ opts?: OpenFin.RvmLaunchOptions;
11890
+ }, void>;
11891
+ 'relaunch-on-close': ApplicationIdentityCall<{}, void>;
11892
+ 'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
11893
+ 'set-jump-list': ApplicationIdentityCall<{
11894
+ config: OpenFin.JumpListCategory[] | null;
11895
+ }, void>;
11896
+ 'set-tray-icon': ApplicationIdentityCall<{
11897
+ enabledIcon: string;
11898
+ }, void>;
11899
+ 'set-shortcuts': ApplicationIdentityCall<{
11900
+ data: OpenFin.ShortCutConfig;
11901
+ }, void>;
11902
+ 'set-shortcut-query-args': ApplicationIdentityCall<{
11903
+ data: string;
11904
+ }, void>;
11905
+ 'set-application-zoom-level': ApplicationIdentityCall<{
11906
+ level: number;
11907
+ }, void>;
11908
+ 'set-app-log-username': ApplicationIdentityCall<{
11909
+ data: string;
11910
+ }, void>;
11911
+ 'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
11912
+ 'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
11913
+ 'terminate-application': ApplicationIdentityCall<{}, void>;
11914
+ 'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
11915
+ 'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
11916
+ 'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
11917
+ 'set-file-download-location': {
11918
+ request: OpenFin.Identity & {
11919
+ downloadLocation: string;
11920
+ };
11921
+ response: void;
11922
+ };
11923
+ 'get-file-download-location': ApplicationIdentityCall<{}, string>;
11924
+ 'show-tray-icon-popup-menu': {
11925
+ request: OpenFin.Identity & {
11926
+ options: OpenFin.ShowTrayIconPopupMenuOptions;
11927
+ };
11928
+ response: OpenFin.MenuResult;
11929
+ };
11930
+ 'close-tray-icon-popup-menu': IdentityCall<{}, void>;
11931
+ 'wrap-application': VoidCall;
11932
+ 'wrap-application-sync': VoidCall;
11933
+ 'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
11934
+ 'application-create': VoidCall;
11935
+ 'start-application': VoidCall;
11936
+ 'run-applications': ApiCall<{
11937
+ applications: Array<OpenFin.ManifestInfo>;
11938
+ opts?: OpenFin.RvmLaunchOptions;
11939
+ }, void>;
11940
+ 'get-current-application': VoidCall;
11941
+ 'get-current-application-sync': VoidCall;
11942
+ 'application-start-from-manifest': VoidCall;
11943
+ 'application-create-from-manifest': VoidCall;
11848
11944
  'request-external-authorization': {
11849
11945
  request: any;
11850
11946
  response: void;
11851
11947
  specialResponse: AuthorizationPayload;
11852
11948
  };
11853
- 'application-get-views': {
11854
- request: OpenFin.ApplicationIdentity;
11855
- response: OpenFin.Identity[];
11856
- };
11857
- 'set-jump-list': {
11858
- request: {
11859
- config: OpenFin.JumpListCategory[] | null;
11860
- } & OpenFin.ApplicationIdentity;
11949
+ 'request-authorization': {
11950
+ request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
11861
11951
  response: void;
11952
+ specialResponse: Payload;
11862
11953
  };
11863
11954
  'clipboard-read-formats': {
11864
11955
  request: {
@@ -11870,6 +11961,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
11870
11961
  request: OpenFin.ReadImageClipboardRequest;
11871
11962
  response: string;
11872
11963
  };
11964
+ 'clipboard-read-text': {
11965
+ request: {
11966
+ type?: OpenFin.ClipboardSelectionType;
11967
+ };
11968
+ response: string;
11969
+ };
11970
+ 'clipboard-read-html': {
11971
+ request: {
11972
+ type?: OpenFin.ClipboardSelectionType;
11973
+ };
11974
+ response: string;
11975
+ };
11976
+ 'clipboard-read-rtf': {
11977
+ request: {
11978
+ type?: OpenFin.ClipboardSelectionType;
11979
+ };
11980
+ response: string;
11981
+ };
11873
11982
  'clipboard-write-image': {
11874
11983
  request: OpenFin.WriteImageClipboardRequest;
11875
11984
  response: void;
@@ -11878,6 +11987,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
11878
11987
  request: OpenFin.WriteAnyRequestType;
11879
11988
  response: void;
11880
11989
  };
11990
+ 'clipboard-write-text': {
11991
+ request: OpenFin.WriteClipboardRequest;
11992
+ response: void;
11993
+ };
11994
+ 'clipboard-write-html': {
11995
+ request: OpenFin.WriteClipboardRequest;
11996
+ response: void;
11997
+ };
11998
+ 'clipboard-write-rtf': {
11999
+ request: OpenFin.WriteClipboardRequest;
12000
+ response: void;
12001
+ };
11881
12002
  'get-view-window': IdentityCall<{}, OpenFin.Identity>;
11882
12003
  'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
11883
12004
  uuid: string;
@@ -11903,13 +12024,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
11903
12024
  options: OpenFin.UpdatableViewOptions;
11904
12025
  }>;
11905
12026
  'trigger-before-unload': IdentityCall<{}, boolean>;
12027
+ 'view-wrap-sync': VoidCall;
12028
+ 'view-wrap': VoidCall;
12029
+ 'view-get-current': VoidCall;
12030
+ 'view-get-current-sync': VoidCall;
12031
+ 'animate-window': IdentityCall<{
12032
+ transitions: OpenFin.Transition;
12033
+ options: OpenFin.TransitionOptions;
12034
+ }>;
12035
+ 'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
12036
+ 'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
12037
+ 'center-window': IdentityCall;
12038
+ 'blur-window': IdentityCall;
12039
+ 'bring-window-to-front': IdentityCall;
12040
+ 'hide-window': IdentityCall;
12041
+ 'close-window': IdentityCall<{
12042
+ force: boolean;
12043
+ }>;
12044
+ 'focused-webview-changed': IdentityCall;
12045
+ 'get-window-native-id': IdentityCall<{}, string>;
11906
12046
  'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
11907
- 'print': {
12047
+ 'disable-window-frame': IdentityCall;
12048
+ 'enable-window-frame': IdentityCall;
12049
+ 'flash-window': IdentityCall;
12050
+ 'stop-flash-window': IdentityCall;
12051
+ 'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
12052
+ 'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
12053
+ 'get-window-snapshot': IdentityCall<{
12054
+ area?: OpenFin.Rectangle;
12055
+ }, string>;
12056
+ 'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
12057
+ 'is-window-showing': IdentityCall<{}, boolean>;
12058
+ 'maximize-window': IdentityCall;
12059
+ 'minimize-window': IdentityCall;
12060
+ 'move-window-by': IdentityCall<WithPositioningOptions<{
12061
+ deltaLeft: number;
12062
+ deltaTop: number;
12063
+ }>>;
12064
+ 'move-window': IdentityCall<WithPositioningOptions<{
12065
+ left: number;
12066
+ top: number;
12067
+ }>>;
12068
+ 'resize-window-by': IdentityCall<WithPositioningOptions<{
12069
+ deltaWidth: number;
12070
+ deltaHeight: number;
12071
+ anchor: OpenFin.AnchorType;
12072
+ }>>;
12073
+ 'resize-window': IdentityCall<WithPositioningOptions<{
12074
+ width: number;
12075
+ height: number;
12076
+ anchor: OpenFin.AnchorType;
12077
+ }>>;
12078
+ 'restore-window': IdentityCall;
12079
+ 'set-foreground-window': IdentityCall;
12080
+ 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
12081
+ 'show-window': IdentityCall<{
12082
+ force: boolean;
12083
+ }>;
12084
+ 'show-at-window': IdentityCall<{
12085
+ left: number;
12086
+ top: number;
12087
+ force: boolean;
12088
+ }>;
12089
+ 'update-window-options': IdentityCall<{
12090
+ options: OpenFin.UpdatableWindowOptions;
12091
+ }>;
12092
+ 'window-authenticate': IdentityCall<{
12093
+ userName: string;
12094
+ password: string;
12095
+ }>;
12096
+ 'show-popup-menu': {
11908
12097
  request: OpenFin.Identity & {
11909
- options: OpenFin.PrintOptions;
12098
+ options: OpenFin.ShowPopupMenuOptions;
11910
12099
  };
11911
- response: void;
12100
+ response: OpenFin.MenuResult;
11912
12101
  };
12102
+ 'close-popup-menu': IdentityCall;
12103
+ 'dispatch-popup-result': IdentityCall<{
12104
+ data: any;
12105
+ }>;
11913
12106
  'print-screenshot': {
11914
12107
  request: OpenFin.Identity;
11915
12108
  response: void;
@@ -11920,6 +12113,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
11920
12113
  };
11921
12114
  response: void;
11922
12115
  };
12116
+ 'window-wrap': VoidCall;
12117
+ 'window-wrap-sync': VoidCall;
12118
+ 'create-window': VoidCall;
12119
+ 'get-current-window': VoidCall;
12120
+ 'get-current-window-sync': VoidCall;
12121
+ 'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
12122
+ 'external-application-wrap': VoidCall;
12123
+ 'external-application-wrap-sync': VoidCall;
12124
+ 'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
12125
+ 'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
12126
+ 'frame-wrap': VoidCall;
12127
+ 'frame-wrap-sync': VoidCall;
12128
+ 'frame-get-current': VoidCall;
12129
+ 'frame-get-current-sync': VoidCall;
12130
+ 'global-hotkey-register': {
12131
+ request: {
12132
+ hotkey: string;
12133
+ };
12134
+ response: void;
12135
+ };
12136
+ 'global-hotkey-unregister': {
12137
+ request: {
12138
+ hotkey: string;
12139
+ };
12140
+ response: void;
12141
+ };
12142
+ 'global-hotkey-unregister-all': {
12143
+ request: {};
12144
+ response: void;
12145
+ };
12146
+ 'global-hotkey-is-registered': {
12147
+ request: {
12148
+ hotkey: string;
12149
+ };
12150
+ response: boolean;
12151
+ };
12152
+ 'publish-message': {
12153
+ request: {
12154
+ topic: string;
12155
+ message: any;
12156
+ sourceWindowName: string;
12157
+ };
12158
+ response: void;
12159
+ };
12160
+ 'send-message': {
12161
+ request: {
12162
+ destinationUuid: string;
12163
+ destinationWindowName: string | undefined;
12164
+ topic: string;
12165
+ message: any;
12166
+ sourceWindowName: string;
12167
+ };
12168
+ response: void;
12169
+ };
12170
+ 'subscribe': {
12171
+ request: {
12172
+ sourceUuid: string;
12173
+ sourceWindowName: string;
12174
+ topic: string;
12175
+ destinationWindowName: string;
12176
+ messageKey?: any;
12177
+ };
12178
+ response: void;
12179
+ };
12180
+ 'unsubscribe': {
12181
+ request: {
12182
+ sourceUuid: string;
12183
+ sourceWindowName: string;
12184
+ topic: string;
12185
+ destinationWindowName: string;
12186
+ };
12187
+ response: void;
12188
+ };
12189
+ 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
12190
+ 'connect-to-channel': {
12191
+ request: any;
12192
+ response: OpenFin.RoutingInfo;
12193
+ };
12194
+ 'create-channel': ApiCall<{
12195
+ channelName: string;
12196
+ }, OpenFin.ProviderIdentity>;
12197
+ 'destroy-channel': ApiCall<{
12198
+ channelName: string;
12199
+ }, void>;
12200
+ 'disconnect-from-channel': {
12201
+ request: {
12202
+ channelName: string;
12203
+ uuid: string;
12204
+ name: string;
12205
+ endpointId: string;
12206
+ };
12207
+ response: void;
12208
+ };
12209
+ 'send-channel-message': {
12210
+ request: any;
12211
+ response: any;
12212
+ };
12213
+ 'get-version': GetterCall<string>;
12214
+ 'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
12215
+ 'delete-cache-request': VoidCall;
12216
+ 'exit-desktop': VoidCall;
12217
+ 'fetch-manifest': ApiCall<{
12218
+ manifestUrl: string;
12219
+ }, any>;
12220
+ 'flush-cookie-store': VoidCall;
12221
+ 'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
12222
+ 'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
12223
+ 'get-command-line-arguments': GetterCall<string>;
12224
+ 'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
12225
+ 'start-crash-reporter': {
12226
+ request: OpenFin.CrashReporterOptions | {
12227
+ diagnosticMode: boolean;
12228
+ };
12229
+ response: OpenFin.CrashReporterState;
12230
+ };
12231
+ 'get-unique-user-id': GetterCall<string>;
12232
+ 'get-entity-info': {
12233
+ request: {
12234
+ uuid: string;
12235
+ name: string;
12236
+ };
12237
+ response: OpenFin.EntityInfo;
12238
+ };
12239
+ 'get-environment-variable': {
12240
+ request: {
12241
+ environmentVariables: string;
12242
+ };
12243
+ response: string;
12244
+ };
12245
+ 'get-focused-window': GetterCall<OpenFin.Identity | null>;
12246
+ 'is-app-certified': {
12247
+ request: {
12248
+ manifestUrl: string;
12249
+ };
12250
+ response: {
12251
+ action: string;
12252
+ certifiedInfo: OpenFin.CertifiedAppInfo;
12253
+ };
12254
+ };
12255
+ 'get-installed-runtimes': GetterCall<{
12256
+ action: string;
12257
+ runtimes: string[];
12258
+ }>;
12259
+ 'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
12260
+ 'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
12261
+ 'get-machine-id': GetterCall<string>;
12262
+ 'get-min-log-level': GetterCall<OpenFin.LogLevel>;
12263
+ 'list-logs': GetterCall<OpenFin.LogInfo[]>;
12264
+ 'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
12265
+ 'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
12266
+ 'process-snapshot': GetterCall<Array<any>>;
12267
+ 'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
12268
+ 'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
12269
+ 'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
12270
+ 'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
12271
+ 'get-host-specs': GetterCall<OpenFin.HostSpecs>;
12272
+ 'get-os-info': GetterCall<OpenFin.OSInfo>;
12273
+ 'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
12274
+ 'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
12275
+ 'write-to-log': ApiCall<{
12276
+ level: string;
12277
+ message: string;
12278
+ }, void>;
12279
+ 'open-url-with-browser': ApiCall<{
12280
+ url: string;
12281
+ }, void>;
12282
+ 'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
12283
+ 'unregister-custom-protocol': ApiCall<{
12284
+ protocolName: string;
12285
+ }, void>;
12286
+ 'get-custom-protocol-state': ApiCall<{
12287
+ protocolName: string;
12288
+ }, OpenFin.CustomProtocolState>;
12289
+ 'release-external-process': ApiCall<{
12290
+ uuid: string;
12291
+ }, void>;
12292
+ 'show-developer-tools': ApiCall<OpenFin.Identity, void>;
12293
+ 'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
12294
+ 'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
12295
+ 'download-asset': {
12296
+ request: OpenFin.AppAssetInfo & {
12297
+ downloadId: string;
12298
+ };
12299
+ response: void;
12300
+ };
12301
+ 'download-runtime': {
12302
+ request: OpenFin.RuntimeDownloadOptions & {
12303
+ downloadId: string;
12304
+ };
12305
+ response: void;
12306
+ };
12307
+ 'download-preload-scripts': ApiCall<{
12308
+ scripts: Array<OpenFin.DownloadPreloadOption>;
12309
+ }, Array<OpenFin.DownloadPreloadInfo>>;
12310
+ 'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
12311
+ 'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
12312
+ 'get-cookies': {
12313
+ request: OpenFin.CookieOption & {
12314
+ url: string;
12315
+ };
12316
+ response: Array<OpenFin.CookieInfo>;
12317
+ };
12318
+ 'set-min-log-level': ApiCall<{
12319
+ level: OpenFin.LogLevel;
12320
+ }, void>;
12321
+ 'resolve-uuid': ApiCall<{
12322
+ entityKey: string;
12323
+ }, OpenFin.ApplicationType>;
12324
+ 'read-registry-value': ApiCall<{
12325
+ rootKey: string;
12326
+ subkey: string;
12327
+ value: string;
12328
+ }, OpenFin.RegistryInfo>;
12329
+ 'register-external-connection': ApiCall<{
12330
+ uuid: string;
12331
+ }, OpenFin.ExternalConnection>;
12332
+ 'get-service-configuration': ApiCall<{
12333
+ name: string;
12334
+ }, OpenFin.ServiceConfiguration>;
12335
+ 'get-system-app-configuration': ApiCall<{
12336
+ name: string;
12337
+ }, any>;
12338
+ 'run-rvm-health-check': ApiCall<void, string[]>;
11923
12339
  'launch-manifest': {
11924
12340
  request: {
11925
12341
  manifestUrl: string;
@@ -11931,17 +12347,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
11931
12347
  manifest: OpenFin.Manifest;
11932
12348
  };
11933
12349
  };
11934
- 'get-system-app-configuration': {
12350
+ 'query-permission-for-current-context': {
11935
12351
  request: {
11936
- name: string;
11937
- };
11938
- response: any;
11939
- };
11940
- 'show-popup-menu': {
11941
- request: OpenFin.Identity & {
11942
- options: OpenFin.ShowPopupMenuOptions;
12352
+ apiName: string;
12353
+ identity: OpenFin.Identity;
11943
12354
  };
11944
- response: OpenFin.MenuResult;
12355
+ response: OpenFin.QueryPermissionResult;
11945
12356
  };
11946
12357
  'enable-native-window-integration-provider': {
11947
12358
  request: {
@@ -11949,24 +12360,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
11949
12360
  };
11950
12361
  response: OpenFin.NativeWindowIntegrationProviderAuthorization;
11951
12362
  };
12363
+ 'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
12364
+ 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
12365
+ 'system-update-process-logging-options': ApiCall<{
12366
+ options: OpenFin.ProcessLoggingOptions;
12367
+ }, void>;
12368
+ 'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12369
+ 'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12370
+ domainSettings: OpenFin.DefaultDomainSettings;
12371
+ }, void>;
12372
+ 'system-register-shutdown-handler': VoidCall;
11952
12373
  'get-permissions': GetterCall<any>;
11953
- 'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
11954
- 'set-file-download-location': {
11955
- request: OpenFin.Identity & {
11956
- downloadLocation: string;
11957
- };
11958
- response: void;
11959
- };
11960
- 'get-file-download-location': {
11961
- request: OpenFin.ApplicationIdentity;
11962
- response: string;
11963
- };
11964
- 'close-popup-menu': IdentityCall;
11965
12374
  'fdc3-add-context-listener': VoidCall;
12375
+ 'fdc3-add-intent-listener': VoidCall;
12376
+ 'fdc3-raise-intent': VoidCall;
12377
+ 'fdc3-find-intent': VoidCall;
12378
+ 'fdc3-find-intents-by-context': VoidCall;
12379
+ 'fdc3-raise-intent-for-context': VoidCall;
12380
+ 'fdc3-get-info': VoidCall;
12381
+ 'fdc3-find-instances': VoidCall;
12382
+ 'fdc3-get-app-metadata': VoidCall;
11966
12383
  'fdc3-broadcast': VoidCall;
12384
+ 'fdc3-open': VoidCall;
12385
+ 'fdc3-get-or-create-channel': VoidCall;
11967
12386
  'fdc3-get-system-channels': VoidCall;
11968
12387
  'fdc3-join-channel': VoidCall;
12388
+ 'fdc3-get-current-channel': VoidCall;
11969
12389
  'fdc3-leave-current-channel': VoidCall;
12390
+ 'interop-init': VoidCall;
11970
12391
  'interop-connect-sync': VoidCall;
11971
12392
  'interop-client-set-context': VoidCall;
11972
12393
  'interop-client-add-context-handler': VoidCall;
@@ -11975,6 +12396,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
11975
12396
  'interop-client-remove-from-context-group': VoidCall;
11976
12397
  'interop-client-get-all-clients-in-context-group': VoidCall;
11977
12398
  'interop-client-get-info-for-context-group': VoidCall;
12399
+ 'interop-client-fire-intent': VoidCall;
12400
+ 'interop-client-register-intent-handler': VoidCall;
12401
+ 'interop-client-get-current-context': VoidCall;
12402
+ 'interop-client-get-info-for-intent': VoidCall;
12403
+ 'interop-client-get-info-for-intents-by-context': VoidCall;
12404
+ 'interop-client-fire-intent-for-context': VoidCall;
12405
+ 'interop-client-add-ondisconnection-listener': VoidCall;
11978
12406
  'interop-broker-add-client-to-context-group': VoidCall;
11979
12407
  'interop-broker-get-all-clients-in-context-group': VoidCall;
11980
12408
  'interop-broker-get-context-groups': VoidCall;
@@ -11986,13 +12414,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
11986
12414
  'interop-broker-remove-from-context-group': VoidCall;
11987
12415
  'interop-broker-set-context': VoidCall;
11988
12416
  'interop-broker-set-context-for-group': VoidCall;
11989
- 'query-permission-for-current-context': {
11990
- request: {
11991
- apiName: string;
11992
- identity: OpenFin.Identity;
11993
- };
11994
- response: OpenFin.QueryPermissionResult;
11995
- };
12417
+ 'interop-broker-get-current-context': VoidCall;
12418
+ 'interop-broker-set-intent-target': VoidCall;
12419
+ 'interop-session-context-group-set-context': VoidCall;
12420
+ 'interop-session-context-group-get-context': VoidCall;
12421
+ 'interop-session-context-group-add-handler': VoidCall;
12422
+ 'platform-wrap': VoidCall;
12423
+ 'platform-wrap-sync': VoidCall;
12424
+ 'platform-get-current': VoidCall;
12425
+ 'platform-get-current-sync': VoidCall;
12426
+ 'platform-start': VoidCall;
12427
+ 'platform-start-from-manifest': VoidCall;
12428
+ 'platform-get-client': ApplicationIdentityCall<{}, void>;
12429
+ 'platform-create-view': ApplicationIdentityCall<{}, void>;
12430
+ 'platform-create-window': ApplicationIdentityCall<{}, void>;
12431
+ 'platform-quit': ApplicationIdentityCall<{}, void>;
12432
+ 'platform-close-view': ApplicationIdentityCall<{}, void>;
12433
+ 'platform-reparent-view': ApplicationIdentityCall<{}, void>;
12434
+ 'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
12435
+ 'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
12436
+ 'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
12437
+ 'platform-set-window-context': ApplicationIdentityCall<{}, void>;
12438
+ 'platform-get-window-context': ApplicationIdentityCall<{}, void>;
12439
+ 'platform-close-window': ApplicationIdentityCall<{}, void>;
12440
+ 'layout-wrap': VoidCall;
12441
+ 'layout-wrap-sync': VoidCall;
12442
+ 'layout-get-current': VoidCall;
12443
+ 'layout-get-current-sync': VoidCall;
12444
+ 'layout-init': VoidCall;
12445
+ 'layout-get-config': VoidCall;
12446
+ 'layout-get-views': VoidCall;
12447
+ 'layout-replace': VoidCall;
12448
+ 'layout-get-root-item': VoidCall;
12449
+ 'layout-replace-view': VoidCall;
12450
+ 'layout-apply-preset': VoidCall;
12451
+ 'layout-controller-get-root': VoidCall;
12452
+ 'layout-controller-get-stack-by-view': VoidCall;
12453
+ 'layout-controller-get-stack-views': VoidCall;
12454
+ 'layout-controller-get-content': VoidCall;
12455
+ 'layout-controller-get-parent': VoidCall;
12456
+ 'layout-controller-is-root': VoidCall;
12457
+ 'layout-controller-exists': VoidCall;
12458
+ 'layout-controller-add-view-to-stack': VoidCall;
12459
+ 'layout-controller-remove-view-from-stack': VoidCall;
12460
+ 'layout-controller-create-adjacent-stack': VoidCall;
12461
+ 'layout-controller-get-adjacent-stacks': VoidCall;
12462
+ 'layout-controller-set-stack-active-view': VoidCall;
12463
+ 'snapshot-source-init': VoidCall;
12464
+ 'snapshot-source-wrap-sync': VoidCall;
12465
+ 'snapshot-source-wrap': VoidCall;
12466
+ 'snapshot-source-ready': VoidCall;
12467
+ 'snapshot-source-get-snapshot': VoidCall;
12468
+ 'snapshot-source-apply-snapshot': VoidCall;
12469
+ 'capture-page': IdentityCall<{
12470
+ options?: OpenFin.CapturePageOptions;
12471
+ }, string>;
12472
+ 'execute-javascript-in-window': IdentityCall<{
12473
+ code: string;
12474
+ }, unknown>;
12475
+ 'get-zoom-level': IdentityCall<{}, number>;
12476
+ 'set-zoom-level': IdentityCall<{
12477
+ level: number;
12478
+ }, void>;
12479
+ 'navigate-window': IdentityCall<{
12480
+ url: string;
12481
+ }, void>;
12482
+ 'navigate-window-back': IdentityCall<{}, void>;
12483
+ 'navigate-window-forward': IdentityCall<{}, void>;
12484
+ 'stop-window-navigation': IdentityCall<{}, void>;
12485
+ 'reload-window': IdentityCall<{
12486
+ ignoreCache: boolean;
12487
+ }, void>;
12488
+ 'print': IdentityCall<{
12489
+ options: OpenFin.PrintOptions;
12490
+ }, void>;
12491
+ 'find-in-page': IdentityCall<{
12492
+ searchTerm: string;
12493
+ options?: OpenFin.FindInPageOptions;
12494
+ }, void>;
12495
+ 'stop-find-in-page': IdentityCall<{
12496
+ action: 'clearSelection' | 'keepSelection' | 'activateSelection';
12497
+ }, void>;
12498
+ 'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
12499
+ 'focus-window': IdentityCall<{
12500
+ emitSynthFocused: boolean;
12501
+ }, void>;
12502
+ 'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
12503
+ 'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
12504
+ 'inspect-shared-worker': IdentityCall<{}, void>;
12505
+ 'inspect-shared-worker-by-id': IdentityCall<{
12506
+ workerId: string;
12507
+ }, void>;
12508
+ 'inspect-service-worker': IdentityCall<{}, void>;
12509
+ 'view-show-popup-window': IdentityCall<{}, void>;
12510
+ 'window-show-popup-window': IdentityCall<{}, void>;
11996
12511
  'try-create-popup-window': {
11997
12512
  request: OpenFin.Identity & {
11998
12513
  options: OpenFin.PopupOptions;
@@ -12008,9 +12523,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12008
12523
  };
12009
12524
  response: OpenFin.PopupResult;
12010
12525
  };
12011
- 'dispatch-popup-result': IdentityCall<{
12012
- data: any;
12013
- }>;
12014
12526
  'render-overlay': {
12015
12527
  request: {
12016
12528
  bounds: OpenFin.Bounds;
@@ -12030,40 +12542,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
12030
12542
  };
12031
12543
  response: void;
12032
12544
  };
12033
- 'get-host-specs': GetterCall<OpenFin.HostSpecs>;
12034
- 'get-os-info': GetterCall<OpenFin.OSInfo>;
12035
- 'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
12036
- 'system-register-shutdown-handler': VoidCall;
12037
- 'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
12038
- 'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
12039
- domainSettings: OpenFin.DefaultDomainSettings;
12040
- }, void>;
12041
- 'move-window-by': IdentityCall<WithPositioningOptions<{
12042
- deltaLeft: number;
12043
- deltaTop: number;
12044
- }>>;
12045
- 'move-window': IdentityCall<WithPositioningOptions<{
12046
- left: number;
12047
- top: number;
12048
- }>>;
12049
- 'resize-window-by': IdentityCall<WithPositioningOptions<{
12050
- deltaWidth: number;
12051
- deltaHeight: number;
12052
- anchor: OpenFin.AnchorType;
12053
- }>>;
12054
- 'resize-window': IdentityCall<WithPositioningOptions<{
12055
- width: number;
12056
- height: number;
12057
- anchor: OpenFin.AnchorType;
12058
- }>>;
12059
- 'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
12060
- 'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
12061
- 'unregister-custom-protocol': ApiCall<{
12062
- protocolName: string;
12063
- }, void>;
12064
- 'get-custom-protocol-state': ApiCall<{
12065
- protocolName: string;
12066
- }, OpenFin.CustomProtocolState>;
12067
12545
  }
12068
12546
 
12069
12547
  declare interface ProtocolMapBase {
@@ -12093,7 +12571,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
12093
12571
  * Identity of a channel provider.
12094
12572
  * @interface
12095
12573
  */
12096
- declare type ProviderIdentity_4 = Identity_5 & {
12574
+ declare type ProviderIdentity_4 = Identity_4 & {
12097
12575
  /**
12098
12576
  * Identifier of the channel.
12099
12577
  */
@@ -12104,12 +12582,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
12104
12582
  channelName: string;
12105
12583
  };
12106
12584
 
12107
- declare type ProxyConfig = OpenFin.ProxyConfig;
12108
-
12109
12585
  /**
12110
12586
  * @interface
12111
12587
  */
12112
- declare type ProxyConfig_2 = {
12588
+ declare type ProxyConfig = {
12113
12589
  /**
12114
12590
  * The configured proxy address.
12115
12591
  */
@@ -12121,13 +12597,11 @@ declare type ProxyConfig_2 = {
12121
12597
  type: string;
12122
12598
  };
12123
12599
 
12124
- declare type ProxyInfo = OpenFin.ProxyInfo;
12125
-
12126
12600
  /**
12127
12601
  * @interface
12128
12602
  */
12129
- declare type ProxyInfo_2 = {
12130
- config: ProxyConfig_2;
12603
+ declare type ProxyInfo = {
12604
+ config: ProxyConfig;
12131
12605
  system: ProxySystemInfo;
12132
12606
  };
12133
12607
 
@@ -12233,12 +12707,10 @@ declare type RegisterUsageData = {
12233
12707
  type: string;
12234
12708
  };
12235
12709
 
12236
- declare type RegistryInfo = OpenFin.RegistryInfo;
12237
-
12238
12710
  /**
12239
12711
  * @interface
12240
12712
  */
12241
- declare type RegistryInfo_2 = {
12713
+ declare type RegistryInfo = {
12242
12714
  data: any;
12243
12715
  rootKey: string;
12244
12716
  subkey: string;
@@ -12296,14 +12768,14 @@ declare type ReplaceLayoutPayload = {
12296
12768
  /**
12297
12769
  * Identity of the window whose layout will be replaced.
12298
12770
  */
12299
- target: Identity_5 | LayoutIdentity;
12771
+ target: Identity_4 | LayoutIdentity;
12300
12772
  };
12301
12773
 
12302
12774
  /**
12303
12775
  * @interface
12304
12776
  */
12305
12777
  declare type ReplaceViewOptions = {
12306
- viewToReplace: Identity_5;
12778
+ viewToReplace: Identity_4;
12307
12779
  newView: ViewState;
12308
12780
  };
12309
12781
 
@@ -12312,7 +12784,7 @@ declare type ReplaceViewOptions = {
12312
12784
  */
12313
12785
  declare type ReplaceViewPayload = {
12314
12786
  opts: {
12315
- viewToReplace: Identity_5;
12787
+ viewToReplace: Identity_4;
12316
12788
  newView: Partial<ViewOptions>;
12317
12789
  };
12318
12790
  target: LayoutIdentity;
@@ -12678,7 +13150,7 @@ declare type SetWindowContextPayload = {
12678
13150
  /**
12679
13151
  * Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
12680
13152
  */
12681
- target: Identity_5;
13153
+ target: Identity_4;
12682
13154
  };
12683
13155
 
12684
13156
  /**
@@ -13122,7 +13594,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13122
13594
  * fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
13123
13595
  * ```
13124
13596
  */
13125
- getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
13597
+ getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
13126
13598
  /**
13127
13599
  * Retrieves an array of data for all applications.
13128
13600
  *
@@ -13131,7 +13603,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13131
13603
  * fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
13132
13604
  * ```
13133
13605
  */
13134
- getAllApplications(): Promise<Array<ApplicationState>>;
13606
+ getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
13135
13607
  /**
13136
13608
  * Retrieves the command line argument string that started OpenFin Runtime.
13137
13609
  *
@@ -13206,7 +13678,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13206
13678
  * }
13207
13679
  * ```
13208
13680
  */
13209
- getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
13681
+ getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
13210
13682
  /**
13211
13683
  * Gets the value of a given environment variable on the computer on which the runtime is installed
13212
13684
  *
@@ -13248,7 +13720,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13248
13720
  * ```
13249
13721
  */
13250
13722
  getInstalledRuntimes(): Promise<string[]>;
13251
- getInstalledApps(): Promise<InstalledApps>;
13723
+ getInstalledApps(): Promise<OpenFin.InstalledApps>;
13252
13724
  /**
13253
13725
  * Retrieves the contents of the log with the specified filename.
13254
13726
  * @param options A object that id defined by the GetLogRequestType interface
@@ -13263,7 +13735,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13263
13735
  * getLog().then(log => console.log(log)).catch(err => console.log(err));
13264
13736
  * ```
13265
13737
  */
13266
- getLog(options: GetLogRequestType): Promise<string>;
13738
+ getLog(options: OpenFin.GetLogRequestType): Promise<string>;
13267
13739
  /**
13268
13740
  * Returns a unique identifier (UUID) provided by the machine.
13269
13741
  *
@@ -13281,7 +13753,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13281
13753
  * fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
13282
13754
  * ```
13283
13755
  */
13284
- getMinLogLevel(): Promise<LogLevel>;
13756
+ getMinLogLevel(): Promise<OpenFin.LogLevel>;
13285
13757
  /**
13286
13758
  * Retrieves an array containing information for each log file.
13287
13759
  *
@@ -13290,7 +13762,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13290
13762
  * fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
13291
13763
  * ```
13292
13764
  */
13293
- getLogList(): Promise<Array<LogInfo>>;
13765
+ getLogList(): Promise<Array<OpenFin.LogInfo>>;
13294
13766
  /**
13295
13767
  * Retrieves an object that contains data about the monitor setup of the
13296
13768
  * computer that the runtime is running on.
@@ -13361,7 +13833,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13361
13833
  * }
13362
13834
  * ```
13363
13835
  */
13364
- getProxySettings(): Promise<ProxyInfo>;
13836
+ getProxySettings(): Promise<OpenFin.ProxyInfo>;
13365
13837
  /**
13366
13838
  * Returns information about the running Runtime in an object.
13367
13839
  *
@@ -13728,7 +14200,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13728
14200
  * }
13729
14201
  * ```
13730
14202
  */
13731
- launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity_2>;
14203
+ launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
13732
14204
  /**
13733
14205
  * Monitors a running process. A pid for the process must be included in options.
13734
14206
  * <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
@@ -13745,7 +14217,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13745
14217
  * }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
13746
14218
  * ```
13747
14219
  */
13748
- monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity_2>;
14220
+ monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
13749
14221
  /**
13750
14222
  * Writes the passed message into both the log file and the console.
13751
14223
  * @param level The log level for the entry. Can be either "info", "warning" or "error"
@@ -13879,7 +14351,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13879
14351
  *
13880
14352
  * @tutorial System.showDeveloperTools
13881
14353
  */
13882
- showDeveloperTools(identity: Identity_2): Promise<void>;
14354
+ showDeveloperTools(identity: Identity): Promise<void>;
13883
14355
  /**
13884
14356
  * Attempt to close an external process. The process will be terminated if it
13885
14357
  * has not closed after the elapsed timeout in milliseconds.
@@ -13913,7 +14385,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
13913
14385
  * .catch(err => console.error(err));
13914
14386
  * ```
13915
14387
  */
13916
- updateProxySettings(options: ProxyConfig): Promise<void>;
14388
+ updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
13917
14389
  /**
13918
14390
  * Downloads the given application asset.
13919
14391
  *
@@ -14005,7 +14477,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14005
14477
  * .catch(err => console.log(err));
14006
14478
  * ```
14007
14479
  */
14008
- getAllExternalApplications(): Promise<Array<Identity_2>>;
14480
+ getAllExternalApplications(): Promise<Array<Identity>>;
14009
14481
  /**
14010
14482
  * Retrieves app asset information.
14011
14483
  * @param options
@@ -14034,7 +14506,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14034
14506
  * fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
14035
14507
  * ```
14036
14508
  */
14037
- setMinLogLevel(level: LogLevel): Promise<void>;
14509
+ setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
14038
14510
  /**
14039
14511
  * Retrieves the UUID of the computer on which the runtime is installed
14040
14512
  * @param uuid The uuid of the running application
@@ -14044,7 +14516,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14044
14516
  * fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
14045
14517
  * ```
14046
14518
  */
14047
- resolveUuid(uuid: string): Promise<Entity>;
14519
+ resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
14048
14520
  /**
14049
14521
  * Retrieves an array of data for all external applications
14050
14522
  * @param requestingIdentity This object is described in the Identity typedef
@@ -14052,7 +14524,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14052
14524
  *
14053
14525
  * @ignore
14054
14526
  */
14055
- executeOnRemote(requestingIdentity: Identity_2, data: any): Promise<any>;
14527
+ executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
14056
14528
  /**
14057
14529
  * Reads the specifed value from the registry.
14058
14530
  * @remarks This method is restricted by default and must be enabled via
@@ -14145,7 +14617,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14145
14617
  * }
14146
14618
  * ```
14147
14619
  */
14148
- readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
14620
+ readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
14149
14621
  /**
14150
14622
  * This function call will register a unique id and produce a token.
14151
14623
  * The token can be used to broker an external connection.
@@ -14360,7 +14832,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
14360
14832
  * });
14361
14833
  * ```
14362
14834
  */
14363
- getPrinters(): Promise<PrinterInfo[]>;
14835
+ getPrinters(): Promise<OpenFin.PrinterInfo[]>;
14364
14836
  /**
14365
14837
  * Updates Process Logging values: periodic interval and outlier detection entries and interval.
14366
14838
  * @param options Process Logging updatable options.
@@ -14979,14 +15451,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
14979
15451
  declare type UserAppConfigArgs = Record<string, string | string[]>;
14980
15452
 
14981
15453
  /**
14982
- * A general user bounds change event without event type.
15454
+ * An event that fires when a window's bounds are changed directly by the user.
15455
+ *
14983
15456
  * @interface
14984
15457
  */
14985
- declare type UserBoundsChangeEvent = BaseEvent_5 & {
14986
- height: number;
14987
- left: number;
14988
- top: number;
14989
- width: number;
15458
+ declare type UserBoundsChangeEvent = BoundsEvent & {
14990
15459
  windowState: 'minimized' | 'normal' | 'maximized';
14991
15460
  };
14992
15461
 
@@ -15421,7 +15890,7 @@ declare class View_2 extends WebContents<OpenFin.ViewEvent> {
15421
15890
  */
15422
15891
  getInfo: () => Promise<OpenFin.ViewInfo>;
15423
15892
  /**
15424
- * Retrieves the layout for the window the view is attached to.
15893
+ * Retrieves the OpenFin.Layout instance for the Window the View is attached to.
15425
15894
  *
15426
15895
  * @example
15427
15896
  * ```js
@@ -15595,7 +16064,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
15595
16064
  declare type ViewCreationOptions = Partial<ViewOptions> & {
15596
16065
  name: string;
15597
16066
  url: string;
15598
- target: Identity_5;
16067
+ target: Identity_4;
15599
16068
  };
15600
16069
 
15601
16070
  declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
@@ -15781,15 +16250,15 @@ declare interface ViewsPreventingUnloadPayload {
15781
16250
  /**
15782
16251
  * Identity of the Window.
15783
16252
  */
15784
- windowId: Identity_5;
16253
+ windowId: Identity_4;
15785
16254
  /**
15786
16255
  * Identities of the Views that are preventing an unload
15787
16256
  */
15788
- viewsPreventingUnload: Identity_5[];
16257
+ viewsPreventingUnload: Identity_4[];
15789
16258
  /**
15790
16259
  * Identities of the Views that are not preventing an unload
15791
16260
  */
15792
- viewsNotPreventingUnload: Identity_5[];
16261
+ viewsNotPreventingUnload: Identity_4[];
15793
16262
  /**
15794
16263
  * Source of the close action.
15795
16264
  */
@@ -15814,11 +16283,11 @@ declare interface ViewStatuses {
15814
16283
  /**
15815
16284
  * Identities of the Views that are preventing an unload.
15816
16285
  */
15817
- viewsPreventingUnload: Identity_5[];
16286
+ viewsPreventingUnload: Identity_4[];
15818
16287
  /**
15819
16288
  * Identities of the Views that are not preventing an unload.
15820
16289
  */
15821
- viewsNotPreventingUnload: Identity_5[];
16290
+ viewsNotPreventingUnload: Identity_4[];
15822
16291
  }
15823
16292
 
15824
16293
  /**
@@ -16323,7 +16792,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
16323
16792
  * We do not expose an explicit superclass for this functionality, but it does have its own
16324
16793
  * {@link OpenFin.WebContentsEvents event namespace}.
16325
16794
  */
16326
- stopFindInPage(action: string): Promise<void>;
16795
+ stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
16327
16796
  /**
16328
16797
  * Returns an array with all system printers
16329
16798
  * @deprecated use System.getPrinters instead
@@ -16916,11 +17385,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
16916
17385
  * A general will-move or will-resize event without event type.
16917
17386
  * @interface
16918
17387
  */
16919
- declare type WillMoveOrResizeEvent = BaseEvent_5 & {
16920
- height: number;
16921
- left: number;
16922
- top: number;
16923
- width: number;
17388
+ declare type WillMoveOrResizeEvent = BoundsEvent & {
16924
17389
  monitorScaleFactor: number;
16925
17390
  };
16926
17391
 
@@ -18112,16 +18577,21 @@ declare namespace WindowEvents {
18112
18577
  PreloadScriptInfoRunning,
18113
18578
  PreloadScriptInfo,
18114
18579
  PreloadScriptsStateChangeEvent,
18115
- UserBoundsChangeEvent,
18580
+ BoundsEvent,
18116
18581
  BoundsChangeEvent,
18117
18582
  WillMoveOrResizeEvent,
18583
+ BoundsDidChangeEvent,
18584
+ BoundsChangedEvent,
18585
+ BoundsChangingEvent,
18586
+ DisabledMovementBoundsChangedEvent,
18587
+ DisabledMovementBoundsChangingEvent,
18588
+ UserBoundsChangeEvent,
18589
+ BeginUserBoundsChangingEvent,
18590
+ EndUserBoundsChangingEvent,
18118
18591
  PerformanceReportEvent,
18119
18592
  InputEvent_2 as InputEvent,
18120
18593
  LayoutInitializedEvent,
18121
18594
  LayoutReadyEvent,
18122
- BeginUserBoundsChangingEvent,
18123
- BoundsChangedEvent,
18124
- BoundsChangingEvent,
18125
18595
  CloseRequestedEvent,
18126
18596
  WindowCloseRequestedEvent,
18127
18597
  ContextChangedEvent,
@@ -18129,10 +18599,7 @@ declare namespace WindowEvents {
18129
18599
  WindowClosedEvent,
18130
18600
  ClosingEvent,
18131
18601
  WindowClosingEvent,
18132
- DisabledMovementBoundsChangedEvent,
18133
- DisabledMovementBoundsChangingEvent,
18134
18602
  EmbeddedEvent,
18135
- EndUserBoundsChangingEvent,
18136
18603
  HotkeyEvent_2 as HotkeyEvent,
18137
18604
  WindowHotkeyEvent,
18138
18605
  InitializedEvent_2 as InitializedEvent,