@openfin/fdc3-api 38.82.64 → 38.82.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/fdc3-api-alpha.d.ts +659 -213
- package/out/fdc3-api-beta.d.ts +659 -213
- package/out/fdc3-api-public.d.ts +659 -213
- package/out/fdc3-api.d.ts +659 -213
- package/out/fdc3-api.js +39 -7
- package/package.json +1 -1
package/out/fdc3-api.d.ts
CHANGED
|
@@ -58,7 +58,7 @@ declare type AddedToLayoutEvent = BaseEvent_4 & {
|
|
|
58
58
|
*/
|
|
59
59
|
declare type AddViewOptions = CreateViewTarget & {
|
|
60
60
|
options: ViewState;
|
|
61
|
-
targetView?:
|
|
61
|
+
targetView?: Identity_4;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
64
|
/**
|
|
@@ -936,15 +936,15 @@ declare namespace ApplicationEvents {
|
|
|
936
936
|
*/
|
|
937
937
|
declare type ApplicationEventType = EventType_3;
|
|
938
938
|
|
|
939
|
-
declare type ApplicationIdentity = OpenFin.ApplicationIdentity;
|
|
940
|
-
|
|
941
939
|
/**
|
|
942
940
|
* @interface
|
|
943
941
|
*/
|
|
944
|
-
declare type
|
|
942
|
+
declare type ApplicationIdentity = {
|
|
945
943
|
uuid: string;
|
|
946
944
|
};
|
|
947
945
|
|
|
946
|
+
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
|
|
947
|
+
|
|
948
948
|
/**
|
|
949
949
|
* @interface
|
|
950
950
|
*/
|
|
@@ -1317,12 +1317,10 @@ declare type ApplicationSourcedEvent = ClosedEvent | ConnectedEvent_2 | CrashedE
|
|
|
1317
1317
|
*/
|
|
1318
1318
|
declare type ApplicationSourcedEventType = ApplicationSourcedEvent['type'];
|
|
1319
1319
|
|
|
1320
|
-
declare type ApplicationState = OpenFin.ApplicationState;
|
|
1321
|
-
|
|
1322
1320
|
/**
|
|
1323
1321
|
* @interface
|
|
1324
1322
|
*/
|
|
1325
|
-
declare type
|
|
1323
|
+
declare type ApplicationState = {
|
|
1326
1324
|
/**
|
|
1327
1325
|
* True when the application is a Platform controller
|
|
1328
1326
|
*/
|
|
@@ -1354,12 +1352,10 @@ declare type ApplicationType = {
|
|
|
1354
1352
|
*/
|
|
1355
1353
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
|
1356
1354
|
|
|
1357
|
-
declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
|
|
1358
|
-
|
|
1359
1355
|
/**
|
|
1360
1356
|
* @interface
|
|
1361
1357
|
*/
|
|
1362
|
-
declare type
|
|
1358
|
+
declare type ApplicationWindowInfo = {
|
|
1363
1359
|
childWindows: Array<WindowDetail>;
|
|
1364
1360
|
mainWindow: WindowDetail;
|
|
1365
1361
|
/**
|
|
@@ -1638,7 +1634,7 @@ declare class Base {
|
|
|
1638
1634
|
* Useful for debugging in the devtools console, where this will intelligently type itself based
|
|
1639
1635
|
* on the context in which the devtools panel was opened.
|
|
1640
1636
|
*/
|
|
1641
|
-
get me(): Identity;
|
|
1637
|
+
get me(): OpenFin.Identity;
|
|
1642
1638
|
/**
|
|
1643
1639
|
* @internal
|
|
1644
1640
|
* @deprecated
|
|
@@ -1870,11 +1866,12 @@ declare type BeforeUnloadUserDecision = {
|
|
|
1870
1866
|
/**
|
|
1871
1867
|
* Array of views that will close.
|
|
1872
1868
|
*/
|
|
1873
|
-
viewsToClose:
|
|
1869
|
+
viewsToClose: Identity_4[];
|
|
1874
1870
|
};
|
|
1875
1871
|
|
|
1876
1872
|
/**
|
|
1877
1873
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
|
1874
|
+
*
|
|
1878
1875
|
* @interface
|
|
1879
1876
|
*/
|
|
1880
1877
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
@@ -1915,31 +1912,33 @@ declare type Bounds = {
|
|
|
1915
1912
|
* Generated after changes in a window's size and/or position.
|
|
1916
1913
|
* @interface
|
|
1917
1914
|
*/
|
|
1918
|
-
declare type BoundsChangedEvent =
|
|
1915
|
+
declare type BoundsChangedEvent = BoundsDidChangeEvent & {
|
|
1919
1916
|
type: 'bounds-changed';
|
|
1920
1917
|
};
|
|
1921
1918
|
|
|
1922
|
-
|
|
1923
|
-
* A general bounds change event without event type.
|
|
1924
|
-
* @interface
|
|
1925
|
-
*/
|
|
1926
|
-
declare type BoundsChangeEvent = BaseEvent_5 & {
|
|
1919
|
+
declare type BoundsChangeEvent = BoundsEvent & {
|
|
1927
1920
|
changeType: 0 | 1 | 2;
|
|
1928
|
-
deferred: boolean;
|
|
1929
|
-
height: number;
|
|
1930
|
-
left: number;
|
|
1931
|
-
top: number;
|
|
1932
|
-
width: number;
|
|
1933
1921
|
};
|
|
1934
1922
|
|
|
1935
1923
|
/**
|
|
1936
1924
|
* Generated during changes to a window's size and/or position.
|
|
1937
1925
|
* @interface
|
|
1938
1926
|
*/
|
|
1939
|
-
declare type BoundsChangingEvent =
|
|
1927
|
+
declare type BoundsChangingEvent = BoundsDidChangeEvent & {
|
|
1940
1928
|
type: 'bounds-changing';
|
|
1941
1929
|
};
|
|
1942
1930
|
|
|
1931
|
+
/**
|
|
1932
|
+
* An event that fires when a window's bounds are successfully changed.
|
|
1933
|
+
*
|
|
1934
|
+
* @interface
|
|
1935
|
+
*/
|
|
1936
|
+
declare type BoundsDidChangeEvent = BoundsChangeEvent & {
|
|
1937
|
+
reason: 'self' | 'animation';
|
|
1938
|
+
};
|
|
1939
|
+
|
|
1940
|
+
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1941
|
+
|
|
1943
1942
|
/**
|
|
1944
1943
|
* A rule prescribing content creation in the browser.
|
|
1945
1944
|
*
|
|
@@ -3045,7 +3044,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
|
3045
3044
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
|
3046
3045
|
* @interface
|
|
3047
3046
|
*/
|
|
3048
|
-
declare type ClientIdentity =
|
|
3047
|
+
declare type ClientIdentity = Identity_4 & {
|
|
3049
3048
|
/**
|
|
3050
3049
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
|
3051
3050
|
*/
|
|
@@ -3278,7 +3277,7 @@ declare type CloseViewOptions = {
|
|
|
3278
3277
|
/**
|
|
3279
3278
|
*View to be closed.
|
|
3280
3279
|
*/
|
|
3281
|
-
viewIdentity:
|
|
3280
|
+
viewIdentity: Identity_4;
|
|
3282
3281
|
};
|
|
3283
3282
|
|
|
3284
3283
|
/**
|
|
@@ -3288,7 +3287,7 @@ declare type CloseViewPayload = {
|
|
|
3288
3287
|
/**
|
|
3289
3288
|
*View to be closed.
|
|
3290
3289
|
*/
|
|
3291
|
-
view:
|
|
3290
|
+
view: Identity_4;
|
|
3292
3291
|
/**
|
|
3293
3292
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
|
3294
3293
|
* visible layout.
|
|
@@ -3306,7 +3305,7 @@ declare interface CloseWindowPayload {
|
|
|
3306
3305
|
*
|
|
3307
3306
|
* Identity of the Window
|
|
3308
3307
|
*/
|
|
3309
|
-
windowId:
|
|
3308
|
+
windowId: Identity_4;
|
|
3310
3309
|
options: {
|
|
3311
3310
|
/**
|
|
3312
3311
|
* @defaultValue false
|
|
@@ -3427,7 +3426,7 @@ declare type ConstViewOptions = {
|
|
|
3427
3426
|
/**
|
|
3428
3427
|
* The identity of the window this view should be attached to.
|
|
3429
3428
|
*/
|
|
3430
|
-
target:
|
|
3429
|
+
target: Identity_4;
|
|
3431
3430
|
/**
|
|
3432
3431
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3433
3432
|
*/
|
|
@@ -3652,7 +3651,7 @@ declare type ConstWindowOptions = {
|
|
|
3652
3651
|
/**
|
|
3653
3652
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
|
3654
3653
|
*/
|
|
3655
|
-
modalParentIdentity:
|
|
3654
|
+
modalParentIdentity: Identity_4;
|
|
3656
3655
|
/**
|
|
3657
3656
|
* The name of the window.
|
|
3658
3657
|
*/
|
|
@@ -3670,7 +3669,9 @@ declare type ConstWindowOptions = {
|
|
|
3670
3669
|
*/
|
|
3671
3670
|
preloadScripts: PreloadScript[];
|
|
3672
3671
|
/**
|
|
3673
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3672
|
+
* String tag that attempts to group like-tagged renderers together.
|
|
3673
|
+
* However, there is no guarantee that a different affinity value will create a different process, under the hood Chromium can enforce its own process management under certain circumstances.
|
|
3674
|
+
* @remarks Will only be used if pages are on the same origin.
|
|
3674
3675
|
*/
|
|
3675
3676
|
processAffinity: string;
|
|
3676
3677
|
/**
|
|
@@ -4136,13 +4137,13 @@ declare type CreateViewPayload = {
|
|
|
4136
4137
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
|
4137
4138
|
*/
|
|
4138
4139
|
target?: CreateViewTarget;
|
|
4139
|
-
targetView?:
|
|
4140
|
+
targetView?: Identity_4;
|
|
4140
4141
|
};
|
|
4141
4142
|
|
|
4142
4143
|
/**
|
|
4143
4144
|
* @interface
|
|
4144
4145
|
*/
|
|
4145
|
-
declare type CreateViewTarget = (
|
|
4146
|
+
declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
|
|
4146
4147
|
/**
|
|
4147
4148
|
* If specified, view creation will not attach to a window and caller must
|
|
4148
4149
|
* insert the view into the layout explicitly
|
|
@@ -4588,7 +4589,7 @@ declare type EmitterAccessor = string[];
|
|
|
4588
4589
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
|
4589
4590
|
#private;
|
|
4590
4591
|
private topic;
|
|
4591
|
-
protected identity: ApplicationIdentity;
|
|
4592
|
+
protected identity: OpenFin.ApplicationIdentity;
|
|
4592
4593
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
|
4593
4594
|
eventNames: () => (string | symbol)[];
|
|
4594
4595
|
/**
|
|
@@ -4668,20 +4669,17 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
|
4668
4669
|
|
|
4669
4670
|
/**
|
|
4670
4671
|
* Generated at the end of a user-driven change to a window's size or position.
|
|
4672
|
+
*
|
|
4671
4673
|
* @interface
|
|
4672
4674
|
*/
|
|
4673
4675
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
4674
4676
|
type: 'end-user-bounds-changing';
|
|
4675
4677
|
};
|
|
4676
4678
|
|
|
4677
|
-
declare type Entity = OpenFin.ApplicationType;
|
|
4678
|
-
|
|
4679
|
-
declare type EntityInfo = OpenFin.EntityInfo;
|
|
4680
|
-
|
|
4681
4679
|
/**
|
|
4682
4680
|
* @interface
|
|
4683
4681
|
*/
|
|
4684
|
-
declare type
|
|
4682
|
+
declare type EntityInfo = {
|
|
4685
4683
|
uuid: string;
|
|
4686
4684
|
name: string;
|
|
4687
4685
|
entityType: EntityType_4;
|
|
@@ -5051,7 +5049,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
|
5051
5049
|
* @interface
|
|
5052
5050
|
*/
|
|
5053
5051
|
declare type ExternalApplicationInfo = {
|
|
5054
|
-
parent:
|
|
5052
|
+
parent: Identity_4;
|
|
5055
5053
|
};
|
|
5056
5054
|
|
|
5057
5055
|
/**
|
|
@@ -5594,6 +5592,10 @@ declare type FileDownloadEvent = {
|
|
|
5594
5592
|
* The number of bytes of the item that have already been downloaded.
|
|
5595
5593
|
*/
|
|
5596
5594
|
downloadedBytes: number;
|
|
5595
|
+
/**
|
|
5596
|
+
* Unique identifier for the downloaded file.
|
|
5597
|
+
*/
|
|
5598
|
+
fileUuid: string;
|
|
5597
5599
|
} & NamedEvent;
|
|
5598
5600
|
|
|
5599
5601
|
/**
|
|
@@ -5848,7 +5850,7 @@ declare type FrameInfo = {
|
|
|
5848
5850
|
uuid: string;
|
|
5849
5851
|
url: string;
|
|
5850
5852
|
entityType: EntityType_4;
|
|
5851
|
-
parent:
|
|
5853
|
+
parent: Identity_4;
|
|
5852
5854
|
};
|
|
5853
5855
|
|
|
5854
5856
|
/**
|
|
@@ -5923,12 +5925,10 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
|
5923
5925
|
entityType: string;
|
|
5924
5926
|
};
|
|
5925
5927
|
|
|
5926
|
-
declare type GetLogRequestType = OpenFin.GetLogRequestType;
|
|
5927
|
-
|
|
5928
5928
|
/**
|
|
5929
5929
|
* @interface
|
|
5930
5930
|
*/
|
|
5931
|
-
declare type
|
|
5931
|
+
declare type GetLogRequestType = {
|
|
5932
5932
|
/**
|
|
5933
5933
|
* The name of the running application
|
|
5934
5934
|
*/
|
|
@@ -5948,7 +5948,7 @@ declare type GetWindowContextPayload = {
|
|
|
5948
5948
|
/**
|
|
5949
5949
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
5950
5950
|
*/
|
|
5951
|
-
target:
|
|
5951
|
+
target: Identity_4;
|
|
5952
5952
|
};
|
|
5953
5953
|
|
|
5954
5954
|
/**
|
|
@@ -6217,8 +6217,6 @@ declare type Identity_2 = OpenFin.Identity;
|
|
|
6217
6217
|
|
|
6218
6218
|
declare type Identity_3 = OpenFin.Identity;
|
|
6219
6219
|
|
|
6220
|
-
declare type Identity_4 = OpenFin.Identity;
|
|
6221
|
-
|
|
6222
6220
|
/**
|
|
6223
6221
|
* Unique identifier for a window, view or iframe.
|
|
6224
6222
|
*
|
|
@@ -6227,7 +6225,7 @@ declare type Identity_4 = OpenFin.Identity;
|
|
|
6227
6225
|
*
|
|
6228
6226
|
* @interface
|
|
6229
6227
|
*/
|
|
6230
|
-
declare type
|
|
6228
|
+
declare type Identity_4 = {
|
|
6231
6229
|
/**
|
|
6232
6230
|
* Universally unique identifier of the application that owns the component.
|
|
6233
6231
|
*/
|
|
@@ -6389,12 +6387,10 @@ declare type InstallationInfo = {
|
|
|
6389
6387
|
cachedManifest: any;
|
|
6390
6388
|
};
|
|
6391
6389
|
|
|
6392
|
-
declare type InstalledApps = OpenFin.InstalledApps;
|
|
6393
|
-
|
|
6394
6390
|
/**
|
|
6395
6391
|
* @interface
|
|
6396
6392
|
*/
|
|
6397
|
-
declare type
|
|
6393
|
+
declare type InstalledApps = {
|
|
6398
6394
|
[key: string]: InstallationInfo;
|
|
6399
6395
|
};
|
|
6400
6396
|
|
|
@@ -7180,7 +7176,7 @@ declare class InteropBroker extends Base {
|
|
|
7180
7176
|
* @param _id the identity tryinc to connect
|
|
7181
7177
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
|
7182
7178
|
*/
|
|
7183
|
-
isConnectionAuthorized(_id:
|
|
7179
|
+
isConnectionAuthorized(_id: Identity_2, _connectionPayload?: any): Promise<boolean> | boolean;
|
|
7184
7180
|
/**
|
|
7185
7181
|
* Called before every action to check if this entity should be allowed to take the action.
|
|
7186
7182
|
* Return false to prevent the action
|
|
@@ -8112,7 +8108,7 @@ declare class Layout extends Base {
|
|
|
8112
8108
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
|
8113
8109
|
* ```
|
|
8114
8110
|
*/
|
|
8115
|
-
replaceView: (viewToReplace:
|
|
8111
|
+
replaceView: (viewToReplace: Identity_3, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
|
|
8116
8112
|
/**
|
|
8117
8113
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
|
8118
8114
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
|
@@ -8167,7 +8163,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
|
8167
8163
|
/**
|
|
8168
8164
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
|
8169
8165
|
*/
|
|
8170
|
-
declare type LayoutDOMEvent =
|
|
8166
|
+
declare type LayoutDOMEvent = Identity_4 & {
|
|
8171
8167
|
type: string;
|
|
8172
8168
|
topic: 'openfin-DOM-event';
|
|
8173
8169
|
tabSelector: string;
|
|
@@ -8228,7 +8224,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
|
8228
8224
|
/**
|
|
8229
8225
|
* @interface
|
|
8230
8226
|
*/
|
|
8231
|
-
declare type LayoutIdentity =
|
|
8227
|
+
declare type LayoutIdentity = Identity_4 & {
|
|
8232
8228
|
/**
|
|
8233
8229
|
* The name of the layout in a given window.
|
|
8234
8230
|
*/
|
|
@@ -8337,7 +8333,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8337
8333
|
* @param identity
|
|
8338
8334
|
* @returns LayoutIdentity | undefined
|
|
8339
8335
|
*/
|
|
8340
|
-
resolveLayoutIdentity(identity?:
|
|
8336
|
+
resolveLayoutIdentity(identity?: Identity_4 | LayoutIdentity): LayoutIdentity | undefined;
|
|
8341
8337
|
/**
|
|
8342
8338
|
* @experimental
|
|
8343
8339
|
*
|
|
@@ -8354,7 +8350,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8354
8350
|
/**
|
|
8355
8351
|
* @experimental
|
|
8356
8352
|
*/
|
|
8357
|
-
getLayoutIdentityForView(viewIdentity:
|
|
8353
|
+
getLayoutIdentityForView(viewIdentity: Identity_4): LayoutIdentity;
|
|
8358
8354
|
/**
|
|
8359
8355
|
* @experimental
|
|
8360
8356
|
*/
|
|
@@ -8828,12 +8824,10 @@ declare type Listener<T extends {
|
|
|
8828
8824
|
type: string;
|
|
8829
8825
|
}> = (payload: T) => void;
|
|
8830
8826
|
|
|
8831
|
-
declare type LogInfo = OpenFin.LogInfo;
|
|
8832
|
-
|
|
8833
8827
|
/**
|
|
8834
8828
|
* @interface
|
|
8835
8829
|
*/
|
|
8836
|
-
declare type
|
|
8830
|
+
declare type LogInfo = {
|
|
8837
8831
|
/**
|
|
8838
8832
|
* The filename of the log
|
|
8839
8833
|
*/
|
|
@@ -8848,8 +8842,6 @@ declare type LogInfo_2 = {
|
|
|
8848
8842
|
date: string;
|
|
8849
8843
|
};
|
|
8850
8844
|
|
|
8851
|
-
declare type LogLevel = OpenFin.LogLevel;
|
|
8852
|
-
|
|
8853
8845
|
/**
|
|
8854
8846
|
* Describes the minimum level (inclusive) above which logs will be written.
|
|
8855
8847
|
*
|
|
@@ -8859,7 +8851,7 @@ declare type LogLevel = OpenFin.LogLevel;
|
|
|
8859
8851
|
* `error` and above<br>
|
|
8860
8852
|
* `fatal`: fatal only, indicates a crash is imminent
|
|
8861
8853
|
*/
|
|
8862
|
-
declare type
|
|
8854
|
+
declare type LogLevel = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8863
8855
|
|
|
8864
8856
|
/**
|
|
8865
8857
|
* @interface
|
|
@@ -9691,13 +9683,13 @@ declare namespace OpenFin {
|
|
|
9691
9683
|
LayoutPosition,
|
|
9692
9684
|
WebContent,
|
|
9693
9685
|
PlatformProvider,
|
|
9694
|
-
|
|
9695
|
-
|
|
9686
|
+
ApplicationIdentity,
|
|
9687
|
+
Identity_4 as Identity,
|
|
9696
9688
|
ClientIdentity,
|
|
9697
9689
|
ClientInfo,
|
|
9698
9690
|
ClientIdentityMultiRuntime,
|
|
9699
9691
|
ClientConnectionPayload,
|
|
9700
|
-
|
|
9692
|
+
EntityInfo,
|
|
9701
9693
|
EntityType_4 as EntityType,
|
|
9702
9694
|
Bounds,
|
|
9703
9695
|
WindowBounds,
|
|
@@ -9831,7 +9823,7 @@ declare namespace OpenFin {
|
|
|
9831
9823
|
GpuInfo,
|
|
9832
9824
|
OSInfo,
|
|
9833
9825
|
HostSpecs,
|
|
9834
|
-
|
|
9826
|
+
PrinterInfo,
|
|
9835
9827
|
Dpi,
|
|
9836
9828
|
Margins,
|
|
9837
9829
|
PrintOptions,
|
|
@@ -9939,24 +9931,24 @@ declare namespace OpenFin {
|
|
|
9939
9931
|
BeforeUnloadUserDecision,
|
|
9940
9932
|
ViewStatuses,
|
|
9941
9933
|
CloseWindowPayload,
|
|
9942
|
-
|
|
9943
|
-
|
|
9934
|
+
ProxyInfo,
|
|
9935
|
+
ProxyConfig,
|
|
9944
9936
|
ProxySystemInfo,
|
|
9945
9937
|
ChannelAction_2 as ChannelAction,
|
|
9946
9938
|
ChannelMiddleware_2 as ChannelMiddleware,
|
|
9947
9939
|
ErrorMiddleware_2 as ErrorMiddleware,
|
|
9948
|
-
|
|
9949
|
-
|
|
9940
|
+
ApplicationState,
|
|
9941
|
+
InstalledApps,
|
|
9950
9942
|
InstallationInfo,
|
|
9951
|
-
|
|
9952
|
-
|
|
9943
|
+
GetLogRequestType,
|
|
9944
|
+
LogInfo,
|
|
9953
9945
|
SendApplicationLogResponse,
|
|
9954
|
-
|
|
9946
|
+
LogLevel,
|
|
9955
9947
|
PermissionState_2 as PermissionState,
|
|
9956
|
-
|
|
9948
|
+
RegistryInfo,
|
|
9957
9949
|
ApplicationType,
|
|
9958
9950
|
WindowInfo,
|
|
9959
|
-
|
|
9951
|
+
ApplicationWindowInfo,
|
|
9960
9952
|
WindowDetail,
|
|
9961
9953
|
LayoutPresetType,
|
|
9962
9954
|
LayoutIdentity,
|
|
@@ -11943,12 +11935,10 @@ declare type PresetLayoutOptions_2 = {
|
|
|
11943
11935
|
presetType: LayoutPresetType;
|
|
11944
11936
|
};
|
|
11945
11937
|
|
|
11946
|
-
declare type PrinterInfo = OpenFin.PrinterInfo;
|
|
11947
|
-
|
|
11948
11938
|
/**
|
|
11949
11939
|
* @interface
|
|
11950
11940
|
*/
|
|
11951
|
-
declare type
|
|
11941
|
+
declare type PrinterInfo = {
|
|
11952
11942
|
/**
|
|
11953
11943
|
* Printer Name
|
|
11954
11944
|
*/
|
|
@@ -12210,20 +12200,100 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
|
12210
12200
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
|
12211
12201
|
|
|
12212
12202
|
declare interface ProtocolMap extends ProtocolMapBase {
|
|
12203
|
+
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
|
12204
|
+
'destroy-application': ApplicationIdentityCall<{
|
|
12205
|
+
force: boolean;
|
|
12206
|
+
}, void>;
|
|
12207
|
+
'close-application': ApplicationIdentityCall<{
|
|
12208
|
+
force: boolean;
|
|
12209
|
+
}, void>;
|
|
12210
|
+
'application-close': ApplicationIdentityCall<{}, void>;
|
|
12211
|
+
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
|
12212
|
+
'get-application-manifest': {
|
|
12213
|
+
request: {
|
|
12214
|
+
manifestUrl?: string;
|
|
12215
|
+
uuid?: string;
|
|
12216
|
+
};
|
|
12217
|
+
response: OpenFin.Manifest;
|
|
12218
|
+
};
|
|
12219
|
+
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
|
12220
|
+
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
|
|
12221
|
+
'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
|
|
12222
|
+
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
|
12223
|
+
'application-get-window': ApplicationIdentityCall<{}, void>;
|
|
12224
|
+
'register-user': ApplicationIdentityCall<{
|
|
12225
|
+
userName: string;
|
|
12226
|
+
appName: string;
|
|
12227
|
+
}, void>;
|
|
12228
|
+
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
|
12229
|
+
'restart-application': ApplicationIdentityCall<{}, void>;
|
|
12230
|
+
'application-run': ApplicationIdentityCall<{}, void>;
|
|
12231
|
+
'run-application': ApplicationIdentityCall<{
|
|
12232
|
+
manifestUrl?: string | undefined;
|
|
12233
|
+
opts?: OpenFin.RvmLaunchOptions;
|
|
12234
|
+
}, void>;
|
|
12235
|
+
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
|
12236
|
+
'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
|
|
12237
|
+
'set-jump-list': ApplicationIdentityCall<{
|
|
12238
|
+
config: OpenFin.JumpListCategory[] | null;
|
|
12239
|
+
}, void>;
|
|
12240
|
+
'set-tray-icon': ApplicationIdentityCall<{
|
|
12241
|
+
enabledIcon: string;
|
|
12242
|
+
}, void>;
|
|
12243
|
+
'set-shortcuts': ApplicationIdentityCall<{
|
|
12244
|
+
data: OpenFin.ShortCutConfig;
|
|
12245
|
+
}, void>;
|
|
12246
|
+
'set-shortcut-query-args': ApplicationIdentityCall<{
|
|
12247
|
+
data: string;
|
|
12248
|
+
}, void>;
|
|
12249
|
+
'set-application-zoom-level': ApplicationIdentityCall<{
|
|
12250
|
+
level: number;
|
|
12251
|
+
}, void>;
|
|
12252
|
+
'set-app-log-username': ApplicationIdentityCall<{
|
|
12253
|
+
data: string;
|
|
12254
|
+
}, void>;
|
|
12255
|
+
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
|
|
12256
|
+
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
|
12257
|
+
'terminate-application': ApplicationIdentityCall<{}, void>;
|
|
12258
|
+
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
|
12259
|
+
'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
|
|
12260
|
+
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
|
|
12261
|
+
'set-file-download-location': {
|
|
12262
|
+
request: OpenFin.Identity & {
|
|
12263
|
+
downloadLocation: string;
|
|
12264
|
+
};
|
|
12265
|
+
response: void;
|
|
12266
|
+
};
|
|
12267
|
+
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
|
12268
|
+
'show-tray-icon-popup-menu': {
|
|
12269
|
+
request: OpenFin.Identity & {
|
|
12270
|
+
options: OpenFin.ShowTrayIconPopupMenuOptions;
|
|
12271
|
+
};
|
|
12272
|
+
response: OpenFin.MenuResult;
|
|
12273
|
+
};
|
|
12274
|
+
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
12275
|
+
'wrap-application': VoidCall;
|
|
12276
|
+
'wrap-application-sync': VoidCall;
|
|
12277
|
+
'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
|
|
12278
|
+
'application-create': VoidCall;
|
|
12279
|
+
'start-application': VoidCall;
|
|
12280
|
+
'run-applications': ApiCall<{
|
|
12281
|
+
applications: Array<OpenFin.ManifestInfo>;
|
|
12282
|
+
opts?: OpenFin.RvmLaunchOptions;
|
|
12283
|
+
}, void>;
|
|
12284
|
+
'get-current-application': VoidCall;
|
|
12285
|
+
'get-current-application-sync': VoidCall;
|
|
12286
|
+
'application-start-from-manifest': VoidCall;
|
|
12287
|
+
'application-create-from-manifest': VoidCall;
|
|
12213
12288
|
'request-external-authorization': {
|
|
12214
12289
|
request: any;
|
|
12215
12290
|
response: void;
|
|
12216
12291
|
specialResponse: AuthorizationPayload;
|
|
12217
12292
|
};
|
|
12218
|
-
'
|
|
12219
|
-
request:
|
|
12220
|
-
response: OpenFin.Identity[];
|
|
12221
|
-
};
|
|
12222
|
-
'set-jump-list': {
|
|
12223
|
-
request: {
|
|
12224
|
-
config: OpenFin.JumpListCategory[] | null;
|
|
12225
|
-
} & OpenFin.ApplicationIdentity;
|
|
12293
|
+
'request-authorization': {
|
|
12294
|
+
request: ExistingConnectConfig | RemoteConfig | ReceiverConfig;
|
|
12226
12295
|
response: void;
|
|
12296
|
+
specialResponse: Payload;
|
|
12227
12297
|
};
|
|
12228
12298
|
'clipboard-read-formats': {
|
|
12229
12299
|
request: {
|
|
@@ -12235,6 +12305,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12235
12305
|
request: OpenFin.ReadImageClipboardRequest;
|
|
12236
12306
|
response: string;
|
|
12237
12307
|
};
|
|
12308
|
+
'clipboard-read-text': {
|
|
12309
|
+
request: {
|
|
12310
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
12311
|
+
};
|
|
12312
|
+
response: string;
|
|
12313
|
+
};
|
|
12314
|
+
'clipboard-read-html': {
|
|
12315
|
+
request: {
|
|
12316
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
12317
|
+
};
|
|
12318
|
+
response: string;
|
|
12319
|
+
};
|
|
12320
|
+
'clipboard-read-rtf': {
|
|
12321
|
+
request: {
|
|
12322
|
+
type?: OpenFin.ClipboardSelectionType;
|
|
12323
|
+
};
|
|
12324
|
+
response: string;
|
|
12325
|
+
};
|
|
12238
12326
|
'clipboard-write-image': {
|
|
12239
12327
|
request: OpenFin.WriteImageClipboardRequest;
|
|
12240
12328
|
response: void;
|
|
@@ -12243,6 +12331,18 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12243
12331
|
request: OpenFin.WriteAnyRequestType;
|
|
12244
12332
|
response: void;
|
|
12245
12333
|
};
|
|
12334
|
+
'clipboard-write-text': {
|
|
12335
|
+
request: OpenFin.WriteClipboardRequest;
|
|
12336
|
+
response: void;
|
|
12337
|
+
};
|
|
12338
|
+
'clipboard-write-html': {
|
|
12339
|
+
request: OpenFin.WriteClipboardRequest;
|
|
12340
|
+
response: void;
|
|
12341
|
+
};
|
|
12342
|
+
'clipboard-write-rtf': {
|
|
12343
|
+
request: OpenFin.WriteClipboardRequest;
|
|
12344
|
+
response: void;
|
|
12345
|
+
};
|
|
12246
12346
|
'get-view-window': IdentityCall<{}, OpenFin.Identity>;
|
|
12247
12347
|
'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
|
|
12248
12348
|
uuid: string;
|
|
@@ -12268,13 +12368,85 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12268
12368
|
options: OpenFin.UpdatableViewOptions;
|
|
12269
12369
|
}>;
|
|
12270
12370
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
12371
|
+
'view-wrap-sync': VoidCall;
|
|
12372
|
+
'view-wrap': VoidCall;
|
|
12373
|
+
'view-get-current': VoidCall;
|
|
12374
|
+
'view-get-current-sync': VoidCall;
|
|
12375
|
+
'animate-window': IdentityCall<{
|
|
12376
|
+
transitions: OpenFin.Transition;
|
|
12377
|
+
options: OpenFin.TransitionOptions;
|
|
12378
|
+
}>;
|
|
12379
|
+
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
12380
|
+
'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
|
|
12381
|
+
'center-window': IdentityCall;
|
|
12382
|
+
'blur-window': IdentityCall;
|
|
12383
|
+
'bring-window-to-front': IdentityCall;
|
|
12384
|
+
'hide-window': IdentityCall;
|
|
12385
|
+
'close-window': IdentityCall<{
|
|
12386
|
+
force: boolean;
|
|
12387
|
+
}>;
|
|
12388
|
+
'focused-webview-changed': IdentityCall;
|
|
12389
|
+
'get-window-native-id': IdentityCall<{}, string>;
|
|
12271
12390
|
'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
|
|
12272
|
-
'
|
|
12391
|
+
'disable-window-frame': IdentityCall;
|
|
12392
|
+
'enable-window-frame': IdentityCall;
|
|
12393
|
+
'flash-window': IdentityCall;
|
|
12394
|
+
'stop-flash-window': IdentityCall;
|
|
12395
|
+
'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
|
|
12396
|
+
'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
|
|
12397
|
+
'get-window-snapshot': IdentityCall<{
|
|
12398
|
+
area?: OpenFin.Rectangle;
|
|
12399
|
+
}, string>;
|
|
12400
|
+
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
|
12401
|
+
'is-window-showing': IdentityCall<{}, boolean>;
|
|
12402
|
+
'maximize-window': IdentityCall;
|
|
12403
|
+
'minimize-window': IdentityCall;
|
|
12404
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12405
|
+
deltaLeft: number;
|
|
12406
|
+
deltaTop: number;
|
|
12407
|
+
}>>;
|
|
12408
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12409
|
+
left: number;
|
|
12410
|
+
top: number;
|
|
12411
|
+
}>>;
|
|
12412
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12413
|
+
deltaWidth: number;
|
|
12414
|
+
deltaHeight: number;
|
|
12415
|
+
anchor: OpenFin.AnchorType;
|
|
12416
|
+
}>>;
|
|
12417
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12418
|
+
width: number;
|
|
12419
|
+
height: number;
|
|
12420
|
+
anchor: OpenFin.AnchorType;
|
|
12421
|
+
}>>;
|
|
12422
|
+
'restore-window': IdentityCall;
|
|
12423
|
+
'set-foreground-window': IdentityCall;
|
|
12424
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12425
|
+
'show-window': IdentityCall<{
|
|
12426
|
+
force: boolean;
|
|
12427
|
+
}>;
|
|
12428
|
+
'show-at-window': IdentityCall<{
|
|
12429
|
+
left: number;
|
|
12430
|
+
top: number;
|
|
12431
|
+
force: boolean;
|
|
12432
|
+
}>;
|
|
12433
|
+
'update-window-options': IdentityCall<{
|
|
12434
|
+
options: OpenFin.UpdatableWindowOptions;
|
|
12435
|
+
}>;
|
|
12436
|
+
'window-authenticate': IdentityCall<{
|
|
12437
|
+
userName: string;
|
|
12438
|
+
password: string;
|
|
12439
|
+
}>;
|
|
12440
|
+
'show-popup-menu': {
|
|
12273
12441
|
request: OpenFin.Identity & {
|
|
12274
|
-
options: OpenFin.
|
|
12442
|
+
options: OpenFin.ShowPopupMenuOptions;
|
|
12275
12443
|
};
|
|
12276
|
-
response:
|
|
12444
|
+
response: OpenFin.MenuResult;
|
|
12277
12445
|
};
|
|
12446
|
+
'close-popup-menu': IdentityCall;
|
|
12447
|
+
'dispatch-popup-result': IdentityCall<{
|
|
12448
|
+
data: any;
|
|
12449
|
+
}>;
|
|
12278
12450
|
'print-screenshot': {
|
|
12279
12451
|
request: OpenFin.Identity;
|
|
12280
12452
|
response: void;
|
|
@@ -12285,6 +12457,229 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12285
12457
|
};
|
|
12286
12458
|
response: void;
|
|
12287
12459
|
};
|
|
12460
|
+
'window-wrap': VoidCall;
|
|
12461
|
+
'window-wrap-sync': VoidCall;
|
|
12462
|
+
'create-window': VoidCall;
|
|
12463
|
+
'get-current-window': VoidCall;
|
|
12464
|
+
'get-current-window-sync': VoidCall;
|
|
12465
|
+
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
12466
|
+
'external-application-wrap': VoidCall;
|
|
12467
|
+
'external-application-wrap-sync': VoidCall;
|
|
12468
|
+
'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12469
|
+
'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12470
|
+
'frame-wrap': VoidCall;
|
|
12471
|
+
'frame-wrap-sync': VoidCall;
|
|
12472
|
+
'frame-get-current': VoidCall;
|
|
12473
|
+
'frame-get-current-sync': VoidCall;
|
|
12474
|
+
'global-hotkey-register': {
|
|
12475
|
+
request: {
|
|
12476
|
+
hotkey: string;
|
|
12477
|
+
};
|
|
12478
|
+
response: void;
|
|
12479
|
+
};
|
|
12480
|
+
'global-hotkey-unregister': {
|
|
12481
|
+
request: {
|
|
12482
|
+
hotkey: string;
|
|
12483
|
+
};
|
|
12484
|
+
response: void;
|
|
12485
|
+
};
|
|
12486
|
+
'global-hotkey-unregister-all': {
|
|
12487
|
+
request: {};
|
|
12488
|
+
response: void;
|
|
12489
|
+
};
|
|
12490
|
+
'global-hotkey-is-registered': {
|
|
12491
|
+
request: {
|
|
12492
|
+
hotkey: string;
|
|
12493
|
+
};
|
|
12494
|
+
response: boolean;
|
|
12495
|
+
};
|
|
12496
|
+
'publish-message': {
|
|
12497
|
+
request: {
|
|
12498
|
+
topic: string;
|
|
12499
|
+
message: any;
|
|
12500
|
+
sourceWindowName: string;
|
|
12501
|
+
};
|
|
12502
|
+
response: void;
|
|
12503
|
+
};
|
|
12504
|
+
'send-message': {
|
|
12505
|
+
request: {
|
|
12506
|
+
destinationUuid: string;
|
|
12507
|
+
destinationWindowName: string | undefined;
|
|
12508
|
+
topic: string;
|
|
12509
|
+
message: any;
|
|
12510
|
+
sourceWindowName: string;
|
|
12511
|
+
};
|
|
12512
|
+
response: void;
|
|
12513
|
+
};
|
|
12514
|
+
'subscribe': {
|
|
12515
|
+
request: {
|
|
12516
|
+
sourceUuid: string;
|
|
12517
|
+
sourceWindowName: string;
|
|
12518
|
+
topic: string;
|
|
12519
|
+
destinationWindowName: string;
|
|
12520
|
+
messageKey?: any;
|
|
12521
|
+
};
|
|
12522
|
+
response: void;
|
|
12523
|
+
};
|
|
12524
|
+
'unsubscribe': {
|
|
12525
|
+
request: {
|
|
12526
|
+
sourceUuid: string;
|
|
12527
|
+
sourceWindowName: string;
|
|
12528
|
+
topic: string;
|
|
12529
|
+
destinationWindowName: string;
|
|
12530
|
+
};
|
|
12531
|
+
response: void;
|
|
12532
|
+
};
|
|
12533
|
+
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12534
|
+
'connect-to-channel': {
|
|
12535
|
+
request: any;
|
|
12536
|
+
response: OpenFin.RoutingInfo;
|
|
12537
|
+
};
|
|
12538
|
+
'create-channel': ApiCall<{
|
|
12539
|
+
channelName: string;
|
|
12540
|
+
}, OpenFin.ProviderIdentity>;
|
|
12541
|
+
'destroy-channel': ApiCall<{
|
|
12542
|
+
channelName: string;
|
|
12543
|
+
}, void>;
|
|
12544
|
+
'disconnect-from-channel': {
|
|
12545
|
+
request: {
|
|
12546
|
+
channelName: string;
|
|
12547
|
+
uuid: string;
|
|
12548
|
+
name: string;
|
|
12549
|
+
endpointId: string;
|
|
12550
|
+
};
|
|
12551
|
+
response: void;
|
|
12552
|
+
};
|
|
12553
|
+
'send-channel-message': {
|
|
12554
|
+
request: any;
|
|
12555
|
+
response: any;
|
|
12556
|
+
};
|
|
12557
|
+
'get-version': GetterCall<string>;
|
|
12558
|
+
'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
|
|
12559
|
+
'delete-cache-request': VoidCall;
|
|
12560
|
+
'exit-desktop': VoidCall;
|
|
12561
|
+
'fetch-manifest': ApiCall<{
|
|
12562
|
+
manifestUrl: string;
|
|
12563
|
+
}, any>;
|
|
12564
|
+
'flush-cookie-store': VoidCall;
|
|
12565
|
+
'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
|
|
12566
|
+
'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
|
|
12567
|
+
'get-command-line-arguments': GetterCall<string>;
|
|
12568
|
+
'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
|
|
12569
|
+
'start-crash-reporter': {
|
|
12570
|
+
request: OpenFin.CrashReporterOptions | {
|
|
12571
|
+
diagnosticMode: boolean;
|
|
12572
|
+
};
|
|
12573
|
+
response: OpenFin.CrashReporterState;
|
|
12574
|
+
};
|
|
12575
|
+
'get-unique-user-id': GetterCall<string>;
|
|
12576
|
+
'get-entity-info': {
|
|
12577
|
+
request: {
|
|
12578
|
+
uuid: string;
|
|
12579
|
+
name: string;
|
|
12580
|
+
};
|
|
12581
|
+
response: OpenFin.EntityInfo;
|
|
12582
|
+
};
|
|
12583
|
+
'get-environment-variable': {
|
|
12584
|
+
request: {
|
|
12585
|
+
environmentVariables: string;
|
|
12586
|
+
};
|
|
12587
|
+
response: string;
|
|
12588
|
+
};
|
|
12589
|
+
'get-focused-window': GetterCall<OpenFin.Identity | null>;
|
|
12590
|
+
'is-app-certified': {
|
|
12591
|
+
request: {
|
|
12592
|
+
manifestUrl: string;
|
|
12593
|
+
};
|
|
12594
|
+
response: {
|
|
12595
|
+
action: string;
|
|
12596
|
+
certifiedInfo: OpenFin.CertifiedAppInfo;
|
|
12597
|
+
};
|
|
12598
|
+
};
|
|
12599
|
+
'get-installed-runtimes': GetterCall<{
|
|
12600
|
+
action: string;
|
|
12601
|
+
runtimes: string[];
|
|
12602
|
+
}>;
|
|
12603
|
+
'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
|
|
12604
|
+
'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
|
|
12605
|
+
'get-machine-id': GetterCall<string>;
|
|
12606
|
+
'get-min-log-level': GetterCall<OpenFin.LogLevel>;
|
|
12607
|
+
'list-logs': GetterCall<OpenFin.LogInfo[]>;
|
|
12608
|
+
'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
|
|
12609
|
+
'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
|
|
12610
|
+
'process-snapshot': GetterCall<Array<any>>;
|
|
12611
|
+
'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
|
|
12612
|
+
'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
|
|
12613
|
+
'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
|
|
12614
|
+
'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
|
|
12615
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12616
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12617
|
+
'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
|
|
12618
|
+
'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
|
|
12619
|
+
'write-to-log': ApiCall<{
|
|
12620
|
+
level: string;
|
|
12621
|
+
message: string;
|
|
12622
|
+
}, void>;
|
|
12623
|
+
'open-url-with-browser': ApiCall<{
|
|
12624
|
+
url: string;
|
|
12625
|
+
}, void>;
|
|
12626
|
+
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12627
|
+
'unregister-custom-protocol': ApiCall<{
|
|
12628
|
+
protocolName: string;
|
|
12629
|
+
}, void>;
|
|
12630
|
+
'get-custom-protocol-state': ApiCall<{
|
|
12631
|
+
protocolName: string;
|
|
12632
|
+
}, OpenFin.CustomProtocolState>;
|
|
12633
|
+
'release-external-process': ApiCall<{
|
|
12634
|
+
uuid: string;
|
|
12635
|
+
}, void>;
|
|
12636
|
+
'show-developer-tools': ApiCall<OpenFin.Identity, void>;
|
|
12637
|
+
'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
|
|
12638
|
+
'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
|
|
12639
|
+
'download-asset': {
|
|
12640
|
+
request: OpenFin.AppAssetInfo & {
|
|
12641
|
+
downloadId: string;
|
|
12642
|
+
};
|
|
12643
|
+
response: void;
|
|
12644
|
+
};
|
|
12645
|
+
'download-runtime': {
|
|
12646
|
+
request: OpenFin.RuntimeDownloadOptions & {
|
|
12647
|
+
downloadId: string;
|
|
12648
|
+
};
|
|
12649
|
+
response: void;
|
|
12650
|
+
};
|
|
12651
|
+
'download-preload-scripts': ApiCall<{
|
|
12652
|
+
scripts: Array<OpenFin.DownloadPreloadOption>;
|
|
12653
|
+
}, Array<OpenFin.DownloadPreloadInfo>>;
|
|
12654
|
+
'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
|
|
12655
|
+
'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
|
|
12656
|
+
'get-cookies': {
|
|
12657
|
+
request: OpenFin.CookieOption & {
|
|
12658
|
+
url: string;
|
|
12659
|
+
};
|
|
12660
|
+
response: Array<OpenFin.CookieInfo>;
|
|
12661
|
+
};
|
|
12662
|
+
'set-min-log-level': ApiCall<{
|
|
12663
|
+
level: OpenFin.LogLevel;
|
|
12664
|
+
}, void>;
|
|
12665
|
+
'resolve-uuid': ApiCall<{
|
|
12666
|
+
entityKey: string;
|
|
12667
|
+
}, OpenFin.ApplicationType>;
|
|
12668
|
+
'read-registry-value': ApiCall<{
|
|
12669
|
+
rootKey: string;
|
|
12670
|
+
subkey: string;
|
|
12671
|
+
value: string;
|
|
12672
|
+
}, OpenFin.RegistryInfo>;
|
|
12673
|
+
'register-external-connection': ApiCall<{
|
|
12674
|
+
uuid: string;
|
|
12675
|
+
}, OpenFin.ExternalConnection>;
|
|
12676
|
+
'get-service-configuration': ApiCall<{
|
|
12677
|
+
name: string;
|
|
12678
|
+
}, OpenFin.ServiceConfiguration>;
|
|
12679
|
+
'get-system-app-configuration': ApiCall<{
|
|
12680
|
+
name: string;
|
|
12681
|
+
}, any>;
|
|
12682
|
+
'run-rvm-health-check': ApiCall<void, string[]>;
|
|
12288
12683
|
'launch-manifest': {
|
|
12289
12684
|
request: {
|
|
12290
12685
|
manifestUrl: string;
|
|
@@ -12296,17 +12691,12 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12296
12691
|
manifest: OpenFin.Manifest;
|
|
12297
12692
|
};
|
|
12298
12693
|
};
|
|
12299
|
-
'
|
|
12694
|
+
'query-permission-for-current-context': {
|
|
12300
12695
|
request: {
|
|
12301
|
-
|
|
12302
|
-
|
|
12303
|
-
response: any;
|
|
12304
|
-
};
|
|
12305
|
-
'show-popup-menu': {
|
|
12306
|
-
request: OpenFin.Identity & {
|
|
12307
|
-
options: OpenFin.ShowPopupMenuOptions;
|
|
12696
|
+
apiName: string;
|
|
12697
|
+
identity: OpenFin.Identity;
|
|
12308
12698
|
};
|
|
12309
|
-
response: OpenFin.
|
|
12699
|
+
response: OpenFin.QueryPermissionResult;
|
|
12310
12700
|
};
|
|
12311
12701
|
'enable-native-window-integration-provider': {
|
|
12312
12702
|
request: {
|
|
@@ -12314,24 +12704,34 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12314
12704
|
};
|
|
12315
12705
|
response: OpenFin.NativeWindowIntegrationProviderAuthorization;
|
|
12316
12706
|
};
|
|
12707
|
+
'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
|
|
12708
|
+
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12709
|
+
'system-update-process-logging-options': ApiCall<{
|
|
12710
|
+
options: OpenFin.ProcessLoggingOptions;
|
|
12711
|
+
}, void>;
|
|
12712
|
+
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12713
|
+
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12714
|
+
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12715
|
+
}, void>;
|
|
12716
|
+
'system-register-shutdown-handler': VoidCall;
|
|
12317
12717
|
'get-permissions': GetterCall<any>;
|
|
12318
|
-
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12319
|
-
'set-file-download-location': {
|
|
12320
|
-
request: OpenFin.Identity & {
|
|
12321
|
-
downloadLocation: string;
|
|
12322
|
-
};
|
|
12323
|
-
response: void;
|
|
12324
|
-
};
|
|
12325
|
-
'get-file-download-location': {
|
|
12326
|
-
request: OpenFin.ApplicationIdentity;
|
|
12327
|
-
response: string;
|
|
12328
|
-
};
|
|
12329
|
-
'close-popup-menu': IdentityCall;
|
|
12330
12718
|
'fdc3-add-context-listener': VoidCall;
|
|
12719
|
+
'fdc3-add-intent-listener': VoidCall;
|
|
12720
|
+
'fdc3-raise-intent': VoidCall;
|
|
12721
|
+
'fdc3-find-intent': VoidCall;
|
|
12722
|
+
'fdc3-find-intents-by-context': VoidCall;
|
|
12723
|
+
'fdc3-raise-intent-for-context': VoidCall;
|
|
12724
|
+
'fdc3-get-info': VoidCall;
|
|
12725
|
+
'fdc3-find-instances': VoidCall;
|
|
12726
|
+
'fdc3-get-app-metadata': VoidCall;
|
|
12331
12727
|
'fdc3-broadcast': VoidCall;
|
|
12728
|
+
'fdc3-open': VoidCall;
|
|
12729
|
+
'fdc3-get-or-create-channel': VoidCall;
|
|
12332
12730
|
'fdc3-get-system-channels': VoidCall;
|
|
12333
12731
|
'fdc3-join-channel': VoidCall;
|
|
12732
|
+
'fdc3-get-current-channel': VoidCall;
|
|
12334
12733
|
'fdc3-leave-current-channel': VoidCall;
|
|
12734
|
+
'interop-init': VoidCall;
|
|
12335
12735
|
'interop-connect-sync': VoidCall;
|
|
12336
12736
|
'interop-client-set-context': VoidCall;
|
|
12337
12737
|
'interop-client-add-context-handler': VoidCall;
|
|
@@ -12340,6 +12740,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12340
12740
|
'interop-client-remove-from-context-group': VoidCall;
|
|
12341
12741
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
|
12342
12742
|
'interop-client-get-info-for-context-group': VoidCall;
|
|
12743
|
+
'interop-client-fire-intent': VoidCall;
|
|
12744
|
+
'interop-client-register-intent-handler': VoidCall;
|
|
12745
|
+
'interop-client-get-current-context': VoidCall;
|
|
12746
|
+
'interop-client-get-info-for-intent': VoidCall;
|
|
12747
|
+
'interop-client-get-info-for-intents-by-context': VoidCall;
|
|
12748
|
+
'interop-client-fire-intent-for-context': VoidCall;
|
|
12749
|
+
'interop-client-add-ondisconnection-listener': VoidCall;
|
|
12343
12750
|
'interop-broker-add-client-to-context-group': VoidCall;
|
|
12344
12751
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
|
12345
12752
|
'interop-broker-get-context-groups': VoidCall;
|
|
@@ -12351,13 +12758,100 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12351
12758
|
'interop-broker-remove-from-context-group': VoidCall;
|
|
12352
12759
|
'interop-broker-set-context': VoidCall;
|
|
12353
12760
|
'interop-broker-set-context-for-group': VoidCall;
|
|
12354
|
-
'
|
|
12355
|
-
|
|
12356
|
-
|
|
12357
|
-
|
|
12358
|
-
|
|
12359
|
-
|
|
12360
|
-
|
|
12761
|
+
'interop-broker-get-current-context': VoidCall;
|
|
12762
|
+
'interop-broker-set-intent-target': VoidCall;
|
|
12763
|
+
'interop-session-context-group-set-context': VoidCall;
|
|
12764
|
+
'interop-session-context-group-get-context': VoidCall;
|
|
12765
|
+
'interop-session-context-group-add-handler': VoidCall;
|
|
12766
|
+
'platform-wrap': VoidCall;
|
|
12767
|
+
'platform-wrap-sync': VoidCall;
|
|
12768
|
+
'platform-get-current': VoidCall;
|
|
12769
|
+
'platform-get-current-sync': VoidCall;
|
|
12770
|
+
'platform-start': VoidCall;
|
|
12771
|
+
'platform-start-from-manifest': VoidCall;
|
|
12772
|
+
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
12773
|
+
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
12774
|
+
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
12775
|
+
'platform-quit': ApplicationIdentityCall<{}, void>;
|
|
12776
|
+
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
|
12777
|
+
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
|
12778
|
+
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12779
|
+
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12780
|
+
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
|
12781
|
+
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
12782
|
+
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
12783
|
+
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
12784
|
+
'layout-wrap': VoidCall;
|
|
12785
|
+
'layout-wrap-sync': VoidCall;
|
|
12786
|
+
'layout-get-current': VoidCall;
|
|
12787
|
+
'layout-get-current-sync': VoidCall;
|
|
12788
|
+
'layout-init': VoidCall;
|
|
12789
|
+
'layout-get-config': VoidCall;
|
|
12790
|
+
'layout-get-views': VoidCall;
|
|
12791
|
+
'layout-replace': VoidCall;
|
|
12792
|
+
'layout-get-root-item': VoidCall;
|
|
12793
|
+
'layout-replace-view': VoidCall;
|
|
12794
|
+
'layout-apply-preset': VoidCall;
|
|
12795
|
+
'layout-controller-get-root': VoidCall;
|
|
12796
|
+
'layout-controller-get-stack-by-view': VoidCall;
|
|
12797
|
+
'layout-controller-get-stack-views': VoidCall;
|
|
12798
|
+
'layout-controller-get-content': VoidCall;
|
|
12799
|
+
'layout-controller-get-parent': VoidCall;
|
|
12800
|
+
'layout-controller-is-root': VoidCall;
|
|
12801
|
+
'layout-controller-exists': VoidCall;
|
|
12802
|
+
'layout-controller-add-view-to-stack': VoidCall;
|
|
12803
|
+
'layout-controller-remove-view-from-stack': VoidCall;
|
|
12804
|
+
'layout-controller-create-adjacent-stack': VoidCall;
|
|
12805
|
+
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
12806
|
+
'layout-controller-set-stack-active-view': VoidCall;
|
|
12807
|
+
'snapshot-source-init': VoidCall;
|
|
12808
|
+
'snapshot-source-wrap-sync': VoidCall;
|
|
12809
|
+
'snapshot-source-wrap': VoidCall;
|
|
12810
|
+
'snapshot-source-ready': VoidCall;
|
|
12811
|
+
'snapshot-source-get-snapshot': VoidCall;
|
|
12812
|
+
'snapshot-source-apply-snapshot': VoidCall;
|
|
12813
|
+
'capture-page': IdentityCall<{
|
|
12814
|
+
options?: OpenFin.CapturePageOptions;
|
|
12815
|
+
}, string>;
|
|
12816
|
+
'execute-javascript-in-window': IdentityCall<{
|
|
12817
|
+
code: string;
|
|
12818
|
+
}, unknown>;
|
|
12819
|
+
'get-zoom-level': IdentityCall<{}, number>;
|
|
12820
|
+
'set-zoom-level': IdentityCall<{
|
|
12821
|
+
level: number;
|
|
12822
|
+
}, void>;
|
|
12823
|
+
'navigate-window': IdentityCall<{
|
|
12824
|
+
url: string;
|
|
12825
|
+
}, void>;
|
|
12826
|
+
'navigate-window-back': IdentityCall<{}, void>;
|
|
12827
|
+
'navigate-window-forward': IdentityCall<{}, void>;
|
|
12828
|
+
'stop-window-navigation': IdentityCall<{}, void>;
|
|
12829
|
+
'reload-window': IdentityCall<{
|
|
12830
|
+
ignoreCache: boolean;
|
|
12831
|
+
}, void>;
|
|
12832
|
+
'print': IdentityCall<{
|
|
12833
|
+
options: OpenFin.PrintOptions;
|
|
12834
|
+
}, void>;
|
|
12835
|
+
'find-in-page': IdentityCall<{
|
|
12836
|
+
searchTerm: string;
|
|
12837
|
+
options?: OpenFin.FindInPageOptions;
|
|
12838
|
+
}, void>;
|
|
12839
|
+
'stop-find-in-page': IdentityCall<{
|
|
12840
|
+
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
|
12841
|
+
}, void>;
|
|
12842
|
+
'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
|
|
12843
|
+
'focus-window': IdentityCall<{
|
|
12844
|
+
emitSynthFocused: boolean;
|
|
12845
|
+
}, void>;
|
|
12846
|
+
'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
|
|
12847
|
+
'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
|
|
12848
|
+
'inspect-shared-worker': IdentityCall<{}, void>;
|
|
12849
|
+
'inspect-shared-worker-by-id': IdentityCall<{
|
|
12850
|
+
workerId: string;
|
|
12851
|
+
}, void>;
|
|
12852
|
+
'inspect-service-worker': IdentityCall<{}, void>;
|
|
12853
|
+
'view-show-popup-window': IdentityCall<{}, void>;
|
|
12854
|
+
'window-show-popup-window': IdentityCall<{}, void>;
|
|
12361
12855
|
'try-create-popup-window': {
|
|
12362
12856
|
request: OpenFin.Identity & {
|
|
12363
12857
|
options: OpenFin.PopupOptions;
|
|
@@ -12373,9 +12867,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12373
12867
|
};
|
|
12374
12868
|
response: OpenFin.PopupResult;
|
|
12375
12869
|
};
|
|
12376
|
-
'dispatch-popup-result': IdentityCall<{
|
|
12377
|
-
data: any;
|
|
12378
|
-
}>;
|
|
12379
12870
|
'render-overlay': {
|
|
12380
12871
|
request: {
|
|
12381
12872
|
bounds: OpenFin.Bounds;
|
|
@@ -12395,40 +12886,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12395
12886
|
};
|
|
12396
12887
|
response: void;
|
|
12397
12888
|
};
|
|
12398
|
-
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12399
|
-
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12400
|
-
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12401
|
-
'system-register-shutdown-handler': VoidCall;
|
|
12402
|
-
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12403
|
-
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12404
|
-
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12405
|
-
}, void>;
|
|
12406
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12407
|
-
deltaLeft: number;
|
|
12408
|
-
deltaTop: number;
|
|
12409
|
-
}>>;
|
|
12410
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12411
|
-
left: number;
|
|
12412
|
-
top: number;
|
|
12413
|
-
}>>;
|
|
12414
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12415
|
-
deltaWidth: number;
|
|
12416
|
-
deltaHeight: number;
|
|
12417
|
-
anchor: OpenFin.AnchorType;
|
|
12418
|
-
}>>;
|
|
12419
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12420
|
-
width: number;
|
|
12421
|
-
height: number;
|
|
12422
|
-
anchor: OpenFin.AnchorType;
|
|
12423
|
-
}>>;
|
|
12424
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12425
|
-
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12426
|
-
'unregister-custom-protocol': ApiCall<{
|
|
12427
|
-
protocolName: string;
|
|
12428
|
-
}, void>;
|
|
12429
|
-
'get-custom-protocol-state': ApiCall<{
|
|
12430
|
-
protocolName: string;
|
|
12431
|
-
}, OpenFin.CustomProtocolState>;
|
|
12432
12889
|
}
|
|
12433
12890
|
|
|
12434
12891
|
declare interface ProtocolMapBase {
|
|
@@ -12458,7 +12915,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
|
|
|
12458
12915
|
* Identity of a channel provider.
|
|
12459
12916
|
* @interface
|
|
12460
12917
|
*/
|
|
12461
|
-
declare type ProviderIdentity_4 =
|
|
12918
|
+
declare type ProviderIdentity_4 = Identity_4 & {
|
|
12462
12919
|
/**
|
|
12463
12920
|
* Identifier of the channel.
|
|
12464
12921
|
*/
|
|
@@ -12469,12 +12926,10 @@ declare type ProviderIdentity_4 = Identity_5 & {
|
|
|
12469
12926
|
channelName: string;
|
|
12470
12927
|
};
|
|
12471
12928
|
|
|
12472
|
-
declare type ProxyConfig = OpenFin.ProxyConfig;
|
|
12473
|
-
|
|
12474
12929
|
/**
|
|
12475
12930
|
* @interface
|
|
12476
12931
|
*/
|
|
12477
|
-
declare type
|
|
12932
|
+
declare type ProxyConfig = {
|
|
12478
12933
|
/**
|
|
12479
12934
|
* The configured proxy address.
|
|
12480
12935
|
*/
|
|
@@ -12486,13 +12941,11 @@ declare type ProxyConfig_2 = {
|
|
|
12486
12941
|
type: string;
|
|
12487
12942
|
};
|
|
12488
12943
|
|
|
12489
|
-
declare type ProxyInfo = OpenFin.ProxyInfo;
|
|
12490
|
-
|
|
12491
12944
|
/**
|
|
12492
12945
|
* @interface
|
|
12493
12946
|
*/
|
|
12494
|
-
declare type
|
|
12495
|
-
config:
|
|
12947
|
+
declare type ProxyInfo = {
|
|
12948
|
+
config: ProxyConfig;
|
|
12496
12949
|
system: ProxySystemInfo;
|
|
12497
12950
|
};
|
|
12498
12951
|
|
|
@@ -12598,12 +13051,10 @@ declare type RegisterUsageData = {
|
|
|
12598
13051
|
type: string;
|
|
12599
13052
|
};
|
|
12600
13053
|
|
|
12601
|
-
declare type RegistryInfo = OpenFin.RegistryInfo;
|
|
12602
|
-
|
|
12603
13054
|
/**
|
|
12604
13055
|
* @interface
|
|
12605
13056
|
*/
|
|
12606
|
-
declare type
|
|
13057
|
+
declare type RegistryInfo = {
|
|
12607
13058
|
data: any;
|
|
12608
13059
|
rootKey: string;
|
|
12609
13060
|
subkey: string;
|
|
@@ -12661,14 +13112,14 @@ declare type ReplaceLayoutPayload = {
|
|
|
12661
13112
|
/**
|
|
12662
13113
|
* Identity of the window whose layout will be replaced.
|
|
12663
13114
|
*/
|
|
12664
|
-
target:
|
|
13115
|
+
target: Identity_4 | LayoutIdentity;
|
|
12665
13116
|
};
|
|
12666
13117
|
|
|
12667
13118
|
/**
|
|
12668
13119
|
* @interface
|
|
12669
13120
|
*/
|
|
12670
13121
|
declare type ReplaceViewOptions = {
|
|
12671
|
-
viewToReplace:
|
|
13122
|
+
viewToReplace: Identity_4;
|
|
12672
13123
|
newView: ViewState;
|
|
12673
13124
|
};
|
|
12674
13125
|
|
|
@@ -12677,7 +13128,7 @@ declare type ReplaceViewOptions = {
|
|
|
12677
13128
|
*/
|
|
12678
13129
|
declare type ReplaceViewPayload = {
|
|
12679
13130
|
opts: {
|
|
12680
|
-
viewToReplace:
|
|
13131
|
+
viewToReplace: Identity_4;
|
|
12681
13132
|
newView: Partial<ViewOptions>;
|
|
12682
13133
|
};
|
|
12683
13134
|
target: LayoutIdentity;
|
|
@@ -13043,7 +13494,7 @@ declare type SetWindowContextPayload = {
|
|
|
13043
13494
|
/**
|
|
13044
13495
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
13045
13496
|
*/
|
|
13046
|
-
target:
|
|
13497
|
+
target: Identity_4;
|
|
13047
13498
|
};
|
|
13048
13499
|
|
|
13049
13500
|
/**
|
|
@@ -13493,7 +13944,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13493
13944
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
|
13494
13945
|
* ```
|
|
13495
13946
|
*/
|
|
13496
|
-
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
|
13947
|
+
getAllWindows(): Promise<Array<OpenFin.ApplicationWindowInfo>>;
|
|
13497
13948
|
/**
|
|
13498
13949
|
* Retrieves an array of data for all applications.
|
|
13499
13950
|
*
|
|
@@ -13502,7 +13953,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13502
13953
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
|
13503
13954
|
* ```
|
|
13504
13955
|
*/
|
|
13505
|
-
getAllApplications(): Promise<Array<ApplicationState>>;
|
|
13956
|
+
getAllApplications(): Promise<Array<OpenFin.ApplicationState>>;
|
|
13506
13957
|
/**
|
|
13507
13958
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
|
13508
13959
|
*
|
|
@@ -13577,7 +14028,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13577
14028
|
* }
|
|
13578
14029
|
* ```
|
|
13579
14030
|
*/
|
|
13580
|
-
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
|
14031
|
+
getEntityInfo(uuid: string, name: string): Promise<OpenFin.EntityInfo>;
|
|
13581
14032
|
/**
|
|
13582
14033
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
|
13583
14034
|
*
|
|
@@ -13619,7 +14070,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13619
14070
|
* ```
|
|
13620
14071
|
*/
|
|
13621
14072
|
getInstalledRuntimes(): Promise<string[]>;
|
|
13622
|
-
getInstalledApps(): Promise<InstalledApps>;
|
|
14073
|
+
getInstalledApps(): Promise<OpenFin.InstalledApps>;
|
|
13623
14074
|
/**
|
|
13624
14075
|
* Retrieves the contents of the log with the specified filename.
|
|
13625
14076
|
* @param options A object that id defined by the GetLogRequestType interface
|
|
@@ -13634,7 +14085,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13634
14085
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
|
13635
14086
|
* ```
|
|
13636
14087
|
*/
|
|
13637
|
-
getLog(options: GetLogRequestType): Promise<string>;
|
|
14088
|
+
getLog(options: OpenFin.GetLogRequestType): Promise<string>;
|
|
13638
14089
|
/**
|
|
13639
14090
|
* Returns a unique identifier (UUID) provided by the machine.
|
|
13640
14091
|
*
|
|
@@ -13652,7 +14103,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13652
14103
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
|
13653
14104
|
* ```
|
|
13654
14105
|
*/
|
|
13655
|
-
getMinLogLevel(): Promise<LogLevel>;
|
|
14106
|
+
getMinLogLevel(): Promise<OpenFin.LogLevel>;
|
|
13656
14107
|
/**
|
|
13657
14108
|
* Retrieves an array containing information for each log file.
|
|
13658
14109
|
*
|
|
@@ -13661,7 +14112,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13661
14112
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
|
13662
14113
|
* ```
|
|
13663
14114
|
*/
|
|
13664
|
-
getLogList(): Promise<Array<LogInfo>>;
|
|
14115
|
+
getLogList(): Promise<Array<OpenFin.LogInfo>>;
|
|
13665
14116
|
/**
|
|
13666
14117
|
* Retrieves an object that contains data about the monitor setup of the
|
|
13667
14118
|
* computer that the runtime is running on.
|
|
@@ -13732,7 +14183,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13732
14183
|
* }
|
|
13733
14184
|
* ```
|
|
13734
14185
|
*/
|
|
13735
|
-
getProxySettings(): Promise<ProxyInfo>;
|
|
14186
|
+
getProxySettings(): Promise<OpenFin.ProxyInfo>;
|
|
13736
14187
|
/**
|
|
13737
14188
|
* Returns information about the running Runtime in an object.
|
|
13738
14189
|
*
|
|
@@ -14099,7 +14550,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14099
14550
|
* }
|
|
14100
14551
|
* ```
|
|
14101
14552
|
*/
|
|
14102
|
-
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<
|
|
14553
|
+
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity>;
|
|
14103
14554
|
/**
|
|
14104
14555
|
* Monitors a running process. A pid for the process must be included in options.
|
|
14105
14556
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14116,7 +14567,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14116
14567
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
|
14117
14568
|
* ```
|
|
14118
14569
|
*/
|
|
14119
|
-
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<
|
|
14570
|
+
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity>;
|
|
14120
14571
|
/**
|
|
14121
14572
|
* Writes the passed message into both the log file and the console.
|
|
14122
14573
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
@@ -14250,7 +14701,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14250
14701
|
*
|
|
14251
14702
|
* @tutorial System.showDeveloperTools
|
|
14252
14703
|
*/
|
|
14253
|
-
showDeveloperTools(identity:
|
|
14704
|
+
showDeveloperTools(identity: Identity): Promise<void>;
|
|
14254
14705
|
/**
|
|
14255
14706
|
* Attempt to close an external process. The process will be terminated if it
|
|
14256
14707
|
* has not closed after the elapsed timeout in milliseconds.
|
|
@@ -14284,7 +14735,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14284
14735
|
* .catch(err => console.error(err));
|
|
14285
14736
|
* ```
|
|
14286
14737
|
*/
|
|
14287
|
-
updateProxySettings(options: ProxyConfig): Promise<void>;
|
|
14738
|
+
updateProxySettings(options: OpenFin.ProxyConfig): Promise<void>;
|
|
14288
14739
|
/**
|
|
14289
14740
|
* Downloads the given application asset.
|
|
14290
14741
|
*
|
|
@@ -14376,7 +14827,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14376
14827
|
* .catch(err => console.log(err));
|
|
14377
14828
|
* ```
|
|
14378
14829
|
*/
|
|
14379
|
-
getAllExternalApplications(): Promise<Array<
|
|
14830
|
+
getAllExternalApplications(): Promise<Array<Identity>>;
|
|
14380
14831
|
/**
|
|
14381
14832
|
* Retrieves app asset information.
|
|
14382
14833
|
* @param options
|
|
@@ -14405,7 +14856,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14405
14856
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
|
14406
14857
|
* ```
|
|
14407
14858
|
*/
|
|
14408
|
-
setMinLogLevel(level: LogLevel): Promise<void>;
|
|
14859
|
+
setMinLogLevel(level: OpenFin.LogLevel): Promise<void>;
|
|
14409
14860
|
/**
|
|
14410
14861
|
* Retrieves the UUID of the computer on which the runtime is installed
|
|
14411
14862
|
* @param uuid The uuid of the running application
|
|
@@ -14415,7 +14866,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14415
14866
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
|
14416
14867
|
* ```
|
|
14417
14868
|
*/
|
|
14418
|
-
resolveUuid(uuid: string): Promise<
|
|
14869
|
+
resolveUuid(uuid: string): Promise<OpenFin.ApplicationType>;
|
|
14419
14870
|
/**
|
|
14420
14871
|
* Retrieves an array of data for all external applications
|
|
14421
14872
|
* @param requestingIdentity This object is described in the Identity typedef
|
|
@@ -14423,7 +14874,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14423
14874
|
*
|
|
14424
14875
|
* @ignore
|
|
14425
14876
|
*/
|
|
14426
|
-
executeOnRemote(requestingIdentity:
|
|
14877
|
+
executeOnRemote(requestingIdentity: Identity, data: any): Promise<any>;
|
|
14427
14878
|
/**
|
|
14428
14879
|
* Reads the specifed value from the registry.
|
|
14429
14880
|
* @remarks This method is restricted by default and must be enabled via
|
|
@@ -14516,7 +14967,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14516
14967
|
* }
|
|
14517
14968
|
* ```
|
|
14518
14969
|
*/
|
|
14519
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
|
14970
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<OpenFin.RegistryInfo>;
|
|
14520
14971
|
/**
|
|
14521
14972
|
* This function call will register a unique id and produce a token.
|
|
14522
14973
|
* The token can be used to broker an external connection.
|
|
@@ -14731,7 +15182,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14731
15182
|
* });
|
|
14732
15183
|
* ```
|
|
14733
15184
|
*/
|
|
14734
|
-
getPrinters(): Promise<PrinterInfo[]>;
|
|
15185
|
+
getPrinters(): Promise<OpenFin.PrinterInfo[]>;
|
|
14735
15186
|
/**
|
|
14736
15187
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
|
14737
15188
|
* @param options Process Logging updatable options.
|
|
@@ -15357,14 +15808,11 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
15357
15808
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
15358
15809
|
|
|
15359
15810
|
/**
|
|
15360
|
-
*
|
|
15811
|
+
* An event that fires when a window's bounds are changed directly by the user.
|
|
15812
|
+
*
|
|
15361
15813
|
* @interface
|
|
15362
15814
|
*/
|
|
15363
|
-
declare type UserBoundsChangeEvent =
|
|
15364
|
-
height: number;
|
|
15365
|
-
left: number;
|
|
15366
|
-
top: number;
|
|
15367
|
-
width: number;
|
|
15815
|
+
declare type UserBoundsChangeEvent = BoundsEvent & {
|
|
15368
15816
|
windowState: 'minimized' | 'normal' | 'maximized';
|
|
15369
15817
|
};
|
|
15370
15818
|
|
|
@@ -16010,7 +16458,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
|
16010
16458
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
|
16011
16459
|
name: string;
|
|
16012
16460
|
url: string;
|
|
16013
|
-
target:
|
|
16461
|
+
target: Identity_4;
|
|
16014
16462
|
};
|
|
16015
16463
|
|
|
16016
16464
|
declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
|
|
@@ -16196,15 +16644,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
16196
16644
|
/**
|
|
16197
16645
|
* Identity of the Window.
|
|
16198
16646
|
*/
|
|
16199
|
-
windowId:
|
|
16647
|
+
windowId: Identity_4;
|
|
16200
16648
|
/**
|
|
16201
16649
|
* Identities of the Views that are preventing an unload
|
|
16202
16650
|
*/
|
|
16203
|
-
viewsPreventingUnload:
|
|
16651
|
+
viewsPreventingUnload: Identity_4[];
|
|
16204
16652
|
/**
|
|
16205
16653
|
* Identities of the Views that are not preventing an unload
|
|
16206
16654
|
*/
|
|
16207
|
-
viewsNotPreventingUnload:
|
|
16655
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
16208
16656
|
/**
|
|
16209
16657
|
* Source of the close action.
|
|
16210
16658
|
*/
|
|
@@ -16229,11 +16677,11 @@ declare interface ViewStatuses {
|
|
|
16229
16677
|
/**
|
|
16230
16678
|
* Identities of the Views that are preventing an unload.
|
|
16231
16679
|
*/
|
|
16232
|
-
viewsPreventingUnload:
|
|
16680
|
+
viewsPreventingUnload: Identity_4[];
|
|
16233
16681
|
/**
|
|
16234
16682
|
* Identities of the Views that are not preventing an unload.
|
|
16235
16683
|
*/
|
|
16236
|
-
viewsNotPreventingUnload:
|
|
16684
|
+
viewsNotPreventingUnload: Identity_4[];
|
|
16237
16685
|
}
|
|
16238
16686
|
|
|
16239
16687
|
/**
|
|
@@ -16738,7 +17186,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
16738
17186
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
|
16739
17187
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
|
16740
17188
|
*/
|
|
16741
|
-
stopFindInPage(action:
|
|
17189
|
+
stopFindInPage(action: 'clearSelection' | 'keepSelection' | 'activateSelection'): Promise<void>;
|
|
16742
17190
|
/**
|
|
16743
17191
|
* Returns an array with all system printers
|
|
16744
17192
|
* @deprecated use System.getPrinters instead
|
|
@@ -17331,11 +17779,7 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
|
17331
17779
|
* A general will-move or will-resize event without event type.
|
|
17332
17780
|
* @interface
|
|
17333
17781
|
*/
|
|
17334
|
-
declare type WillMoveOrResizeEvent =
|
|
17335
|
-
height: number;
|
|
17336
|
-
left: number;
|
|
17337
|
-
top: number;
|
|
17338
|
-
width: number;
|
|
17782
|
+
declare type WillMoveOrResizeEvent = BoundsEvent & {
|
|
17339
17783
|
monitorScaleFactor: number;
|
|
17340
17784
|
};
|
|
17341
17785
|
|
|
@@ -18530,16 +18974,21 @@ declare namespace WindowEvents {
|
|
|
18530
18974
|
PreloadScriptInfoRunning,
|
|
18531
18975
|
PreloadScriptInfo,
|
|
18532
18976
|
PreloadScriptsStateChangeEvent,
|
|
18533
|
-
|
|
18977
|
+
BoundsEvent,
|
|
18534
18978
|
BoundsChangeEvent,
|
|
18535
18979
|
WillMoveOrResizeEvent,
|
|
18980
|
+
BoundsDidChangeEvent,
|
|
18981
|
+
BoundsChangedEvent,
|
|
18982
|
+
BoundsChangingEvent,
|
|
18983
|
+
DisabledMovementBoundsChangedEvent,
|
|
18984
|
+
DisabledMovementBoundsChangingEvent,
|
|
18985
|
+
UserBoundsChangeEvent,
|
|
18986
|
+
BeginUserBoundsChangingEvent,
|
|
18987
|
+
EndUserBoundsChangingEvent,
|
|
18536
18988
|
PerformanceReportEvent,
|
|
18537
18989
|
InputEvent_2 as InputEvent,
|
|
18538
18990
|
LayoutInitializedEvent,
|
|
18539
18991
|
LayoutReadyEvent,
|
|
18540
|
-
BeginUserBoundsChangingEvent,
|
|
18541
|
-
BoundsChangedEvent,
|
|
18542
|
-
BoundsChangingEvent,
|
|
18543
18992
|
CloseRequestedEvent,
|
|
18544
18993
|
WindowCloseRequestedEvent,
|
|
18545
18994
|
ContextChangedEvent,
|
|
@@ -18547,10 +18996,7 @@ declare namespace WindowEvents {
|
|
|
18547
18996
|
WindowClosedEvent,
|
|
18548
18997
|
ClosingEvent,
|
|
18549
18998
|
WindowClosingEvent,
|
|
18550
|
-
DisabledMovementBoundsChangedEvent,
|
|
18551
|
-
DisabledMovementBoundsChangingEvent,
|
|
18552
18999
|
EmbeddedEvent,
|
|
18553
|
-
EndUserBoundsChangingEvent,
|
|
18554
19000
|
HotkeyEvent_2 as HotkeyEvent,
|
|
18555
19001
|
WindowHotkeyEvent,
|
|
18556
19002
|
InitializedEvent_2 as InitializedEvent,
|