@openfin/fdc3-api 38.82.66 → 38.82.69
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 +213 -659
- package/out/fdc3-api-beta.d.ts +213 -659
- package/out/fdc3-api-public.d.ts +213 -659
- package/out/fdc3-api.d.ts +213 -659
- package/out/fdc3-api.js +7 -39
- package/package.json +1 -1
package/out/fdc3-api-alpha.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_5;
|
|
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
|
+
|
|
933
935
|
/**
|
|
934
936
|
* @interface
|
|
935
937
|
*/
|
|
936
|
-
declare type
|
|
938
|
+
declare type ApplicationIdentity_2 = {
|
|
937
939
|
uuid: string;
|
|
938
940
|
};
|
|
939
941
|
|
|
940
|
-
declare type ApplicationIdentityCall<AdditionalPayload = {}, Response = void> = ApiCall<AdditionalPayload & OpenFin.ApplicationIdentity, Response>;
|
|
941
|
-
|
|
942
942
|
/**
|
|
943
943
|
* @interface
|
|
944
944
|
*/
|
|
@@ -1311,10 +1311,12 @@ 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
|
+
|
|
1314
1316
|
/**
|
|
1315
1317
|
* @interface
|
|
1316
1318
|
*/
|
|
1317
|
-
declare type
|
|
1319
|
+
declare type ApplicationState_2 = {
|
|
1318
1320
|
/**
|
|
1319
1321
|
* True when the application is a Platform controller
|
|
1320
1322
|
*/
|
|
@@ -1346,10 +1348,12 @@ declare type ApplicationType = {
|
|
|
1346
1348
|
*/
|
|
1347
1349
|
declare type ApplicationWindowEvent = WindowAlertRequestedEvent | WindowCreatedEvent | WindowEndLoadEvent | WindowNotRespondingEvent | WindowRespondingEvent | WindowStartLoadEvent;
|
|
1348
1350
|
|
|
1351
|
+
declare type ApplicationWindowInfo = OpenFin.ApplicationWindowInfo;
|
|
1352
|
+
|
|
1349
1353
|
/**
|
|
1350
1354
|
* @interface
|
|
1351
1355
|
*/
|
|
1352
|
-
declare type
|
|
1356
|
+
declare type ApplicationWindowInfo_2 = {
|
|
1353
1357
|
childWindows: Array<WindowDetail>;
|
|
1354
1358
|
mainWindow: WindowDetail;
|
|
1355
1359
|
/**
|
|
@@ -1614,7 +1618,7 @@ declare class Base {
|
|
|
1614
1618
|
* Useful for debugging in the devtools console, where this will intelligently type itself based
|
|
1615
1619
|
* on the context in which the devtools panel was opened.
|
|
1616
1620
|
*/
|
|
1617
|
-
get me():
|
|
1621
|
+
get me(): Identity;
|
|
1618
1622
|
/* Excluded from this release type: isNodeEnvironment */
|
|
1619
1623
|
/* Excluded from this release type: isOpenFinEnvironment */
|
|
1620
1624
|
/* Excluded from this release type: isBrowserEnvironment */
|
|
@@ -1834,12 +1838,11 @@ declare type BeforeUnloadUserDecision = {
|
|
|
1834
1838
|
/**
|
|
1835
1839
|
* Array of views that will close.
|
|
1836
1840
|
*/
|
|
1837
|
-
viewsToClose:
|
|
1841
|
+
viewsToClose: Identity_5[];
|
|
1838
1842
|
};
|
|
1839
1843
|
|
|
1840
1844
|
/**
|
|
1841
1845
|
* Generated at the beginning of a user-driven change to a window's size or position.
|
|
1842
|
-
*
|
|
1843
1846
|
* @interface
|
|
1844
1847
|
*/
|
|
1845
1848
|
declare type BeginUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
@@ -1880,33 +1883,31 @@ declare type Bounds = {
|
|
|
1880
1883
|
* Generated after changes in a window's size and/or position.
|
|
1881
1884
|
* @interface
|
|
1882
1885
|
*/
|
|
1883
|
-
declare type BoundsChangedEvent =
|
|
1886
|
+
declare type BoundsChangedEvent = BoundsChangeEvent & {
|
|
1884
1887
|
type: 'bounds-changed';
|
|
1885
1888
|
};
|
|
1886
1889
|
|
|
1887
|
-
declare type BoundsChangeEvent = BoundsEvent & {
|
|
1888
|
-
changeType: 0 | 1 | 2;
|
|
1889
|
-
};
|
|
1890
|
-
|
|
1891
1890
|
/**
|
|
1892
|
-
*
|
|
1891
|
+
* A general bounds change event without event type.
|
|
1893
1892
|
* @interface
|
|
1894
1893
|
*/
|
|
1895
|
-
declare type
|
|
1896
|
-
|
|
1894
|
+
declare type BoundsChangeEvent = BaseEvent_5 & {
|
|
1895
|
+
changeType: 0 | 1 | 2;
|
|
1896
|
+
deferred: boolean;
|
|
1897
|
+
height: number;
|
|
1898
|
+
left: number;
|
|
1899
|
+
top: number;
|
|
1900
|
+
width: number;
|
|
1897
1901
|
};
|
|
1898
1902
|
|
|
1899
1903
|
/**
|
|
1900
|
-
*
|
|
1901
|
-
*
|
|
1904
|
+
* Generated during changes to a window's size and/or position.
|
|
1902
1905
|
* @interface
|
|
1903
1906
|
*/
|
|
1904
|
-
declare type
|
|
1905
|
-
|
|
1907
|
+
declare type BoundsChangingEvent = BoundsChangeEvent & {
|
|
1908
|
+
type: 'bounds-changing';
|
|
1906
1909
|
};
|
|
1907
1910
|
|
|
1908
|
-
declare type BoundsEvent = BaseEvent_5 & OpenFin.Bounds;
|
|
1909
|
-
|
|
1910
1911
|
/**
|
|
1911
1912
|
* A rule prescribing content creation in the browser.
|
|
1912
1913
|
*
|
|
@@ -2988,7 +2989,7 @@ declare type ClientConnectionPayload = ClientIdentity & ClientInfo;
|
|
|
2988
2989
|
* Identity of a channel client. Includes endpointId to differentiate between different connections for an entity.
|
|
2989
2990
|
* @interface
|
|
2990
2991
|
*/
|
|
2991
|
-
declare type ClientIdentity =
|
|
2992
|
+
declare type ClientIdentity = Identity_5 & {
|
|
2992
2993
|
/**
|
|
2993
2994
|
* Unique identifier for a client, because there can be multiple clients at one name/uuid entity.
|
|
2994
2995
|
*/
|
|
@@ -3221,7 +3222,7 @@ declare type CloseViewOptions = {
|
|
|
3221
3222
|
/**
|
|
3222
3223
|
*View to be closed.
|
|
3223
3224
|
*/
|
|
3224
|
-
viewIdentity:
|
|
3225
|
+
viewIdentity: Identity_5;
|
|
3225
3226
|
};
|
|
3226
3227
|
|
|
3227
3228
|
/**
|
|
@@ -3231,7 +3232,7 @@ declare type CloseViewPayload = {
|
|
|
3231
3232
|
/**
|
|
3232
3233
|
*View to be closed.
|
|
3233
3234
|
*/
|
|
3234
|
-
view:
|
|
3235
|
+
view: Identity_5;
|
|
3235
3236
|
/**
|
|
3236
3237
|
* The target layout identity where this view should be closed. If not provided, will resolve to the
|
|
3237
3238
|
* visible layout.
|
|
@@ -3249,7 +3250,7 @@ declare interface CloseWindowPayload {
|
|
|
3249
3250
|
*
|
|
3250
3251
|
* Identity of the Window
|
|
3251
3252
|
*/
|
|
3252
|
-
windowId:
|
|
3253
|
+
windowId: Identity_5;
|
|
3253
3254
|
options: {
|
|
3254
3255
|
/**
|
|
3255
3256
|
* @defaultValue false
|
|
@@ -3367,7 +3368,7 @@ declare type ConstViewOptions = {
|
|
|
3367
3368
|
/**
|
|
3368
3369
|
* The identity of the window this view should be attached to.
|
|
3369
3370
|
*/
|
|
3370
|
-
target:
|
|
3371
|
+
target: Identity_5;
|
|
3371
3372
|
/**
|
|
3372
3373
|
* Configures how new content (e,g, from `window.open` or a link) is opened.
|
|
3373
3374
|
*/
|
|
@@ -3592,7 +3593,7 @@ declare type ConstWindowOptions = {
|
|
|
3592
3593
|
/**
|
|
3593
3594
|
* Parent identity of a modal window. It will create a modal child window when this option is set.
|
|
3594
3595
|
*/
|
|
3595
|
-
modalParentIdentity:
|
|
3596
|
+
modalParentIdentity: Identity_5;
|
|
3596
3597
|
/**
|
|
3597
3598
|
* The name of the window.
|
|
3598
3599
|
*/
|
|
@@ -3610,9 +3611,7 @@ declare type ConstWindowOptions = {
|
|
|
3610
3611
|
*/
|
|
3611
3612
|
preloadScripts: PreloadScript[];
|
|
3612
3613
|
/**
|
|
3613
|
-
* String tag that attempts to group like-tagged renderers together.
|
|
3614
|
-
* 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.
|
|
3615
|
-
* @remarks Will only be used if pages are on the same origin.
|
|
3614
|
+
* String tag that attempts to group like-tagged renderers together. Will only be used if pages are on the same origin.
|
|
3616
3615
|
*/
|
|
3617
3616
|
processAffinity: string;
|
|
3618
3617
|
/**
|
|
@@ -4078,13 +4077,13 @@ declare type CreateViewPayload = {
|
|
|
4078
4077
|
* Window the view will be added to. If no target is provided, a new window will be created.
|
|
4079
4078
|
*/
|
|
4080
4079
|
target?: CreateViewTarget;
|
|
4081
|
-
targetView?:
|
|
4080
|
+
targetView?: Identity_5;
|
|
4082
4081
|
};
|
|
4083
4082
|
|
|
4084
4083
|
/**
|
|
4085
4084
|
* @interface
|
|
4086
4085
|
*/
|
|
4087
|
-
declare type CreateViewTarget = (
|
|
4086
|
+
declare type CreateViewTarget = (Identity_5 | LayoutIdentity) & {
|
|
4088
4087
|
/**
|
|
4089
4088
|
* If specified, view creation will not attach to a window and caller must
|
|
4090
4089
|
* insert the view into the layout explicitly
|
|
@@ -4530,7 +4529,7 @@ declare type EmitterAccessor = string[];
|
|
|
4530
4529
|
declare class EmitterBase<EmitterEvent extends BaseEvent, EmitterEventType extends EmitterEvent['type'] = EmitterEvent['type']> extends Base {
|
|
4531
4530
|
#private;
|
|
4532
4531
|
private topic;
|
|
4533
|
-
protected identity:
|
|
4532
|
+
protected identity: ApplicationIdentity;
|
|
4534
4533
|
constructor(wire: Transport, topic: string, ...additionalAccessors: string[]);
|
|
4535
4534
|
eventNames: () => (string | symbol)[];
|
|
4536
4535
|
/* Excluded from this release type: emit */
|
|
@@ -4605,17 +4604,20 @@ declare type EndLoadEvent = BaseEvent_5 & {
|
|
|
4605
4604
|
|
|
4606
4605
|
/**
|
|
4607
4606
|
* Generated at the end of a user-driven change to a window's size or position.
|
|
4608
|
-
*
|
|
4609
4607
|
* @interface
|
|
4610
4608
|
*/
|
|
4611
4609
|
declare type EndUserBoundsChangingEvent = UserBoundsChangeEvent & {
|
|
4612
4610
|
type: 'end-user-bounds-changing';
|
|
4613
4611
|
};
|
|
4614
4612
|
|
|
4613
|
+
declare type Entity = OpenFin.ApplicationType;
|
|
4614
|
+
|
|
4615
|
+
declare type EntityInfo = OpenFin.EntityInfo;
|
|
4616
|
+
|
|
4615
4617
|
/**
|
|
4616
4618
|
* @interface
|
|
4617
4619
|
*/
|
|
4618
|
-
declare type
|
|
4620
|
+
declare type EntityInfo_2 = {
|
|
4619
4621
|
uuid: string;
|
|
4620
4622
|
name: string;
|
|
4621
4623
|
entityType: EntityType_4;
|
|
@@ -4964,7 +4966,7 @@ declare type ExternalApplicationEventType = EventType_4;
|
|
|
4964
4966
|
* @interface
|
|
4965
4967
|
*/
|
|
4966
4968
|
declare type ExternalApplicationInfo = {
|
|
4967
|
-
parent:
|
|
4969
|
+
parent: Identity_5;
|
|
4968
4970
|
};
|
|
4969
4971
|
|
|
4970
4972
|
/**
|
|
@@ -5507,10 +5509,6 @@ declare type FileDownloadEvent = {
|
|
|
5507
5509
|
* The number of bytes of the item that have already been downloaded.
|
|
5508
5510
|
*/
|
|
5509
5511
|
downloadedBytes: number;
|
|
5510
|
-
/**
|
|
5511
|
-
* Unique identifier for the downloaded file.
|
|
5512
|
-
*/
|
|
5513
|
-
fileUuid: string;
|
|
5514
5512
|
} & NamedEvent;
|
|
5515
5513
|
|
|
5516
5514
|
/**
|
|
@@ -5762,7 +5760,7 @@ declare type FrameInfo = {
|
|
|
5762
5760
|
uuid: string;
|
|
5763
5761
|
url: string;
|
|
5764
5762
|
entityType: EntityType_4;
|
|
5765
|
-
parent:
|
|
5763
|
+
parent: Identity_5;
|
|
5766
5764
|
};
|
|
5767
5765
|
|
|
5768
5766
|
/**
|
|
@@ -5837,10 +5835,12 @@ declare type FrameProcessDetails = ProcessDetails & {
|
|
|
5837
5835
|
entityType: string;
|
|
5838
5836
|
};
|
|
5839
5837
|
|
|
5838
|
+
declare type GetLogRequestType = OpenFin.GetLogRequestType;
|
|
5839
|
+
|
|
5840
5840
|
/**
|
|
5841
5841
|
* @interface
|
|
5842
5842
|
*/
|
|
5843
|
-
declare type
|
|
5843
|
+
declare type GetLogRequestType_2 = {
|
|
5844
5844
|
/**
|
|
5845
5845
|
* The name of the running application
|
|
5846
5846
|
*/
|
|
@@ -5860,7 +5860,7 @@ declare type GetWindowContextPayload = {
|
|
|
5860
5860
|
/**
|
|
5861
5861
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
5862
5862
|
*/
|
|
5863
|
-
target:
|
|
5863
|
+
target: Identity_5;
|
|
5864
5864
|
};
|
|
5865
5865
|
|
|
5866
5866
|
/**
|
|
@@ -6126,6 +6126,8 @@ declare type Identity_2 = OpenFin.Identity;
|
|
|
6126
6126
|
|
|
6127
6127
|
declare type Identity_3 = OpenFin.Identity;
|
|
6128
6128
|
|
|
6129
|
+
declare type Identity_4 = OpenFin.Identity;
|
|
6130
|
+
|
|
6129
6131
|
/**
|
|
6130
6132
|
* Unique identifier for a window, view or iframe.
|
|
6131
6133
|
*
|
|
@@ -6134,7 +6136,7 @@ declare type Identity_3 = OpenFin.Identity;
|
|
|
6134
6136
|
*
|
|
6135
6137
|
* @interface
|
|
6136
6138
|
*/
|
|
6137
|
-
declare type
|
|
6139
|
+
declare type Identity_5 = {
|
|
6138
6140
|
/**
|
|
6139
6141
|
* Universally unique identifier of the application that owns the component.
|
|
6140
6142
|
*/
|
|
@@ -6293,10 +6295,12 @@ declare type InstallationInfo = {
|
|
|
6293
6295
|
cachedManifest: any;
|
|
6294
6296
|
};
|
|
6295
6297
|
|
|
6298
|
+
declare type InstalledApps = OpenFin.InstalledApps;
|
|
6299
|
+
|
|
6296
6300
|
/**
|
|
6297
6301
|
* @interface
|
|
6298
6302
|
*/
|
|
6299
|
-
declare type
|
|
6303
|
+
declare type InstalledApps_2 = {
|
|
6300
6304
|
[key: string]: InstallationInfo;
|
|
6301
6305
|
};
|
|
6302
6306
|
|
|
@@ -7067,7 +7071,7 @@ declare class InteropBroker extends Base {
|
|
|
7067
7071
|
* @param _id the identity tryinc to connect
|
|
7068
7072
|
* @param _connectionPayload optional payload to use in custom implementations, will be undefined by default
|
|
7069
7073
|
*/
|
|
7070
|
-
isConnectionAuthorized(_id:
|
|
7074
|
+
isConnectionAuthorized(_id: Identity_3, _connectionPayload?: any): Promise<boolean> | boolean;
|
|
7071
7075
|
/**
|
|
7072
7076
|
* Called before every action to check if this entity should be allowed to take the action.
|
|
7073
7077
|
* Return false to prevent the action
|
|
@@ -7985,7 +7989,7 @@ declare class Layout extends Base {
|
|
|
7985
7989
|
* await layout.replaceView(viewToReplace.identity, newViewConfig);
|
|
7986
7990
|
* ```
|
|
7987
7991
|
*/
|
|
7988
|
-
replaceView: (viewToReplace:
|
|
7992
|
+
replaceView: (viewToReplace: Identity_4, newView: OpenFin.PlatformViewCreationOptions) => Promise<void>;
|
|
7989
7993
|
/**
|
|
7990
7994
|
* Replaces a Platform window's layout with a preset layout arrangement using the existing Views attached to the window.
|
|
7991
7995
|
* The preset options are `columns`, `grid`, `rows`, and `tabs`.
|
|
@@ -8040,7 +8044,7 @@ declare type LayoutContent = Array<LayoutItemConfig | LayoutRow | LayoutColumn |
|
|
|
8040
8044
|
/**
|
|
8041
8045
|
* The base payload for the CustomEvent.detail property for Layout events emitted on the layout container element.
|
|
8042
8046
|
*/
|
|
8043
|
-
declare type LayoutDOMEvent =
|
|
8047
|
+
declare type LayoutDOMEvent = Identity_5 & {
|
|
8044
8048
|
type: string;
|
|
8045
8049
|
topic: 'openfin-DOM-event';
|
|
8046
8050
|
tabSelector: string;
|
|
@@ -8101,7 +8105,7 @@ declare type LayoutEntityTypes = 'column' | 'row' | 'stack';
|
|
|
8101
8105
|
/**
|
|
8102
8106
|
* @interface
|
|
8103
8107
|
*/
|
|
8104
|
-
declare type LayoutIdentity =
|
|
8108
|
+
declare type LayoutIdentity = Identity_5 & {
|
|
8105
8109
|
/**
|
|
8106
8110
|
* The name of the layout in a given window.
|
|
8107
8111
|
*/
|
|
@@ -8210,7 +8214,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8210
8214
|
* @param identity
|
|
8211
8215
|
* @returns LayoutIdentity | undefined
|
|
8212
8216
|
*/
|
|
8213
|
-
resolveLayoutIdentity(identity?:
|
|
8217
|
+
resolveLayoutIdentity(identity?: Identity_5 | LayoutIdentity): LayoutIdentity | undefined;
|
|
8214
8218
|
/**
|
|
8215
8219
|
* @experimental
|
|
8216
8220
|
*
|
|
@@ -8227,7 +8231,7 @@ declare interface LayoutManager<T extends LayoutSnapshot> {
|
|
|
8227
8231
|
/**
|
|
8228
8232
|
* @experimental
|
|
8229
8233
|
*/
|
|
8230
|
-
getLayoutIdentityForView(viewIdentity:
|
|
8234
|
+
getLayoutIdentityForView(viewIdentity: Identity_5): LayoutIdentity;
|
|
8231
8235
|
/**
|
|
8232
8236
|
* @experimental
|
|
8233
8237
|
*/
|
|
@@ -8531,10 +8535,12 @@ declare type Listener<T extends {
|
|
|
8531
8535
|
type: string;
|
|
8532
8536
|
}> = (payload: T) => void;
|
|
8533
8537
|
|
|
8538
|
+
declare type LogInfo = OpenFin.LogInfo;
|
|
8539
|
+
|
|
8534
8540
|
/**
|
|
8535
8541
|
* @interface
|
|
8536
8542
|
*/
|
|
8537
|
-
declare type
|
|
8543
|
+
declare type LogInfo_2 = {
|
|
8538
8544
|
/**
|
|
8539
8545
|
* The filename of the log
|
|
8540
8546
|
*/
|
|
@@ -8549,6 +8555,8 @@ declare type LogInfo = {
|
|
|
8549
8555
|
date: string;
|
|
8550
8556
|
};
|
|
8551
8557
|
|
|
8558
|
+
declare type LogLevel = OpenFin.LogLevel;
|
|
8559
|
+
|
|
8552
8560
|
/**
|
|
8553
8561
|
* Describes the minimum level (inclusive) above which logs will be written.
|
|
8554
8562
|
*
|
|
@@ -8558,7 +8566,7 @@ declare type LogInfo = {
|
|
|
8558
8566
|
* `error` and above<br>
|
|
8559
8567
|
* `fatal`: fatal only, indicates a crash is imminent
|
|
8560
8568
|
*/
|
|
8561
|
-
declare type
|
|
8569
|
+
declare type LogLevel_2 = 'verbose' | 'info' | 'warning' | 'error' | 'fatal';
|
|
8562
8570
|
|
|
8563
8571
|
/**
|
|
8564
8572
|
* @interface
|
|
@@ -9368,13 +9376,13 @@ declare namespace OpenFin {
|
|
|
9368
9376
|
LayoutPosition,
|
|
9369
9377
|
WebContent,
|
|
9370
9378
|
PlatformProvider,
|
|
9371
|
-
ApplicationIdentity,
|
|
9372
|
-
|
|
9379
|
+
ApplicationIdentity_2 as ApplicationIdentity,
|
|
9380
|
+
Identity_5 as Identity,
|
|
9373
9381
|
ClientIdentity,
|
|
9374
9382
|
ClientInfo,
|
|
9375
9383
|
ClientIdentityMultiRuntime,
|
|
9376
9384
|
ClientConnectionPayload,
|
|
9377
|
-
EntityInfo,
|
|
9385
|
+
EntityInfo_2 as EntityInfo,
|
|
9378
9386
|
EntityType_4 as EntityType,
|
|
9379
9387
|
Bounds,
|
|
9380
9388
|
WindowBounds,
|
|
@@ -9508,7 +9516,7 @@ declare namespace OpenFin {
|
|
|
9508
9516
|
GpuInfo,
|
|
9509
9517
|
OSInfo,
|
|
9510
9518
|
HostSpecs,
|
|
9511
|
-
PrinterInfo,
|
|
9519
|
+
PrinterInfo_2 as PrinterInfo,
|
|
9512
9520
|
Dpi,
|
|
9513
9521
|
Margins,
|
|
9514
9522
|
PrintOptions,
|
|
@@ -9616,24 +9624,24 @@ declare namespace OpenFin {
|
|
|
9616
9624
|
BeforeUnloadUserDecision,
|
|
9617
9625
|
ViewStatuses,
|
|
9618
9626
|
CloseWindowPayload,
|
|
9619
|
-
ProxyInfo,
|
|
9620
|
-
ProxyConfig,
|
|
9627
|
+
ProxyInfo_2 as ProxyInfo,
|
|
9628
|
+
ProxyConfig_2 as ProxyConfig,
|
|
9621
9629
|
ProxySystemInfo,
|
|
9622
9630
|
ChannelAction_2 as ChannelAction,
|
|
9623
9631
|
ChannelMiddleware_2 as ChannelMiddleware,
|
|
9624
9632
|
ErrorMiddleware_2 as ErrorMiddleware,
|
|
9625
|
-
ApplicationState,
|
|
9626
|
-
InstalledApps,
|
|
9633
|
+
ApplicationState_2 as ApplicationState,
|
|
9634
|
+
InstalledApps_2 as InstalledApps,
|
|
9627
9635
|
InstallationInfo,
|
|
9628
|
-
GetLogRequestType,
|
|
9629
|
-
LogInfo,
|
|
9636
|
+
GetLogRequestType_2 as GetLogRequestType,
|
|
9637
|
+
LogInfo_2 as LogInfo,
|
|
9630
9638
|
SendApplicationLogResponse,
|
|
9631
|
-
LogLevel,
|
|
9639
|
+
LogLevel_2 as LogLevel,
|
|
9632
9640
|
PermissionState_2 as PermissionState,
|
|
9633
|
-
RegistryInfo,
|
|
9641
|
+
RegistryInfo_2 as RegistryInfo,
|
|
9634
9642
|
ApplicationType,
|
|
9635
9643
|
WindowInfo,
|
|
9636
|
-
ApplicationWindowInfo,
|
|
9644
|
+
ApplicationWindowInfo_2 as ApplicationWindowInfo,
|
|
9637
9645
|
WindowDetail,
|
|
9638
9646
|
LayoutPresetType,
|
|
9639
9647
|
LayoutIdentity,
|
|
@@ -11542,10 +11550,12 @@ declare type PresetLayoutOptions_2 = {
|
|
|
11542
11550
|
presetType: LayoutPresetType;
|
|
11543
11551
|
};
|
|
11544
11552
|
|
|
11553
|
+
declare type PrinterInfo = OpenFin.PrinterInfo;
|
|
11554
|
+
|
|
11545
11555
|
/**
|
|
11546
11556
|
* @interface
|
|
11547
11557
|
*/
|
|
11548
|
-
declare type
|
|
11558
|
+
declare type PrinterInfo_2 = {
|
|
11549
11559
|
/**
|
|
11550
11560
|
* Printer Name
|
|
11551
11561
|
*/
|
|
@@ -11807,100 +11817,20 @@ declare type PropagatedWindowEvent<TargetTopic extends string> = PropagatedEvent
|
|
|
11807
11817
|
declare type PropagatedWindowEventType = PropagatedEvent_3<string>['type'];
|
|
11808
11818
|
|
|
11809
11819
|
declare interface ProtocolMap extends ProtocolMapBase {
|
|
11810
|
-
'is-application-running': ApplicationIdentityCall<{}, boolean>;
|
|
11811
|
-
'destroy-application': ApplicationIdentityCall<{
|
|
11812
|
-
force: boolean;
|
|
11813
|
-
}, void>;
|
|
11814
|
-
'close-application': ApplicationIdentityCall<{
|
|
11815
|
-
force: boolean;
|
|
11816
|
-
}, void>;
|
|
11817
|
-
'application-close': ApplicationIdentityCall<{}, void>;
|
|
11818
|
-
'get-child-windows': ApplicationIdentityCall<{}, Array<unknown>>;
|
|
11819
|
-
'get-application-manifest': {
|
|
11820
|
-
request: {
|
|
11821
|
-
manifestUrl?: string;
|
|
11822
|
-
uuid?: string;
|
|
11823
|
-
};
|
|
11824
|
-
response: OpenFin.Manifest;
|
|
11825
|
-
};
|
|
11826
|
-
'get-parent-application': ApplicationIdentityCall<{}, string>;
|
|
11827
|
-
'get-shortcuts': ApplicationIdentityCall<{}, OpenFin.ShortCutConfig>;
|
|
11828
|
-
'application-get-views': ApplicationIdentityCall<{}, OpenFin.Identity[]>;
|
|
11829
|
-
'get-application-zoom-level': ApplicationIdentityCall<{}, number>;
|
|
11830
|
-
'application-get-window': ApplicationIdentityCall<{}, void>;
|
|
11831
|
-
'register-user': ApplicationIdentityCall<{
|
|
11832
|
-
userName: string;
|
|
11833
|
-
appName: string;
|
|
11834
|
-
}, void>;
|
|
11835
|
-
'remove-tray-icon': ApplicationIdentityCall<{}, void>;
|
|
11836
|
-
'restart-application': ApplicationIdentityCall<{}, void>;
|
|
11837
|
-
'application-run': ApplicationIdentityCall<{}, void>;
|
|
11838
|
-
'run-application': ApplicationIdentityCall<{
|
|
11839
|
-
manifestUrl?: string | undefined;
|
|
11840
|
-
opts?: OpenFin.RvmLaunchOptions;
|
|
11841
|
-
}, void>;
|
|
11842
|
-
'relaunch-on-close': ApplicationIdentityCall<{}, void>;
|
|
11843
|
-
'send-application-log': ApplicationIdentityCall<{}, OpenFin.SendApplicationLogResponse>;
|
|
11844
|
-
'set-jump-list': ApplicationIdentityCall<{
|
|
11845
|
-
config: OpenFin.JumpListCategory[] | null;
|
|
11846
|
-
}, void>;
|
|
11847
|
-
'set-tray-icon': ApplicationIdentityCall<{
|
|
11848
|
-
enabledIcon: string;
|
|
11849
|
-
}, void>;
|
|
11850
|
-
'set-shortcuts': ApplicationIdentityCall<{
|
|
11851
|
-
data: OpenFin.ShortCutConfig;
|
|
11852
|
-
}, void>;
|
|
11853
|
-
'set-shortcut-query-args': ApplicationIdentityCall<{
|
|
11854
|
-
data: string;
|
|
11855
|
-
}, void>;
|
|
11856
|
-
'set-application-zoom-level': ApplicationIdentityCall<{
|
|
11857
|
-
level: number;
|
|
11858
|
-
}, void>;
|
|
11859
|
-
'set-app-log-username': ApplicationIdentityCall<{
|
|
11860
|
-
data: string;
|
|
11861
|
-
}, void>;
|
|
11862
|
-
'get-tray-icon-info': ApplicationIdentityCall<{}, OpenFin.TrayInfo>;
|
|
11863
|
-
'has-tray-icon': ApplicationIdentityCall<{}, boolean>;
|
|
11864
|
-
'terminate-application': ApplicationIdentityCall<{}, void>;
|
|
11865
|
-
'wait-for-hung-application': ApplicationIdentityCall<{}, void>;
|
|
11866
|
-
'get-info': ApplicationIdentityCall<{}, OpenFin.ApplicationInfo>;
|
|
11867
|
-
'application-get-process-info': ApplicationIdentityCall<{}, OpenFin.AppProcessInfo>;
|
|
11868
|
-
'set-file-download-location': {
|
|
11869
|
-
request: OpenFin.Identity & {
|
|
11870
|
-
downloadLocation: string;
|
|
11871
|
-
};
|
|
11872
|
-
response: void;
|
|
11873
|
-
};
|
|
11874
|
-
'get-file-download-location': ApplicationIdentityCall<{}, string>;
|
|
11875
|
-
'show-tray-icon-popup-menu': {
|
|
11876
|
-
request: OpenFin.Identity & {
|
|
11877
|
-
options: OpenFin.ShowTrayIconPopupMenuOptions;
|
|
11878
|
-
};
|
|
11879
|
-
response: OpenFin.MenuResult;
|
|
11880
|
-
};
|
|
11881
|
-
'close-tray-icon-popup-menu': IdentityCall<{}, void>;
|
|
11882
|
-
'wrap-application': VoidCall;
|
|
11883
|
-
'wrap-application-sync': VoidCall;
|
|
11884
|
-
'create-application': ApiCall<OpenFin.ApplicationCreationOptions, void>;
|
|
11885
|
-
'application-create': VoidCall;
|
|
11886
|
-
'start-application': VoidCall;
|
|
11887
|
-
'run-applications': ApiCall<{
|
|
11888
|
-
applications: Array<OpenFin.ManifestInfo>;
|
|
11889
|
-
opts?: OpenFin.RvmLaunchOptions;
|
|
11890
|
-
}, void>;
|
|
11891
|
-
'get-current-application': VoidCall;
|
|
11892
|
-
'get-current-application-sync': VoidCall;
|
|
11893
|
-
'application-start-from-manifest': VoidCall;
|
|
11894
|
-
'application-create-from-manifest': VoidCall;
|
|
11895
11820
|
'request-external-authorization': {
|
|
11896
11821
|
request: any;
|
|
11897
11822
|
response: void;
|
|
11898
11823
|
specialResponse: AuthorizationPayload;
|
|
11899
11824
|
};
|
|
11900
|
-
'
|
|
11901
|
-
request:
|
|
11825
|
+
'application-get-views': {
|
|
11826
|
+
request: OpenFin.ApplicationIdentity;
|
|
11827
|
+
response: OpenFin.Identity[];
|
|
11828
|
+
};
|
|
11829
|
+
'set-jump-list': {
|
|
11830
|
+
request: {
|
|
11831
|
+
config: OpenFin.JumpListCategory[] | null;
|
|
11832
|
+
} & OpenFin.ApplicationIdentity;
|
|
11902
11833
|
response: void;
|
|
11903
|
-
specialResponse: Payload;
|
|
11904
11834
|
};
|
|
11905
11835
|
'clipboard-read-formats': {
|
|
11906
11836
|
request: {
|
|
@@ -11912,24 +11842,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11912
11842
|
request: OpenFin.ReadImageClipboardRequest;
|
|
11913
11843
|
response: string;
|
|
11914
11844
|
};
|
|
11915
|
-
'clipboard-read-text': {
|
|
11916
|
-
request: {
|
|
11917
|
-
type?: OpenFin.ClipboardSelectionType;
|
|
11918
|
-
};
|
|
11919
|
-
response: string;
|
|
11920
|
-
};
|
|
11921
|
-
'clipboard-read-html': {
|
|
11922
|
-
request: {
|
|
11923
|
-
type?: OpenFin.ClipboardSelectionType;
|
|
11924
|
-
};
|
|
11925
|
-
response: string;
|
|
11926
|
-
};
|
|
11927
|
-
'clipboard-read-rtf': {
|
|
11928
|
-
request: {
|
|
11929
|
-
type?: OpenFin.ClipboardSelectionType;
|
|
11930
|
-
};
|
|
11931
|
-
response: string;
|
|
11932
|
-
};
|
|
11933
11845
|
'clipboard-write-image': {
|
|
11934
11846
|
request: OpenFin.WriteImageClipboardRequest;
|
|
11935
11847
|
response: void;
|
|
@@ -11938,18 +11850,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11938
11850
|
request: OpenFin.WriteAnyRequestType;
|
|
11939
11851
|
response: void;
|
|
11940
11852
|
};
|
|
11941
|
-
'clipboard-write-text': {
|
|
11942
|
-
request: OpenFin.WriteClipboardRequest;
|
|
11943
|
-
response: void;
|
|
11944
|
-
};
|
|
11945
|
-
'clipboard-write-html': {
|
|
11946
|
-
request: OpenFin.WriteClipboardRequest;
|
|
11947
|
-
response: void;
|
|
11948
|
-
};
|
|
11949
|
-
'clipboard-write-rtf': {
|
|
11950
|
-
request: OpenFin.WriteClipboardRequest;
|
|
11951
|
-
response: void;
|
|
11952
|
-
};
|
|
11953
11853
|
'get-view-window': IdentityCall<{}, OpenFin.Identity>;
|
|
11954
11854
|
'create-view': IdentityCall<OpenFin.ViewCreationOptions & {
|
|
11955
11855
|
uuid: string;
|
|
@@ -11975,85 +11875,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
11975
11875
|
options: OpenFin.UpdatableViewOptions;
|
|
11976
11876
|
}>;
|
|
11977
11877
|
'trigger-before-unload': IdentityCall<{}, boolean>;
|
|
11978
|
-
'view-wrap-sync': VoidCall;
|
|
11979
|
-
'view-wrap': VoidCall;
|
|
11980
|
-
'view-get-current': VoidCall;
|
|
11981
|
-
'view-get-current-sync': VoidCall;
|
|
11982
|
-
'animate-window': IdentityCall<{
|
|
11983
|
-
transitions: OpenFin.Transition;
|
|
11984
|
-
options: OpenFin.TransitionOptions;
|
|
11985
|
-
}>;
|
|
11986
|
-
'get-all-frames': IdentityCall<{}, OpenFin.FrameInfo[]>;
|
|
11987
|
-
'get-window-bounds': IdentityCall<{}, OpenFin.WindowBounds>;
|
|
11988
|
-
'center-window': IdentityCall;
|
|
11989
|
-
'blur-window': IdentityCall;
|
|
11990
|
-
'bring-window-to-front': IdentityCall;
|
|
11991
|
-
'hide-window': IdentityCall;
|
|
11992
|
-
'close-window': IdentityCall<{
|
|
11993
|
-
force: boolean;
|
|
11994
|
-
}>;
|
|
11995
|
-
'focused-webview-changed': IdentityCall;
|
|
11996
|
-
'get-window-native-id': IdentityCall<{}, string>;
|
|
11997
11878
|
'window-get-views': IdentityCall<{}, OpenFin.Identity[]>;
|
|
11998
|
-
'
|
|
11999
|
-
'enable-window-frame': IdentityCall;
|
|
12000
|
-
'flash-window': IdentityCall;
|
|
12001
|
-
'stop-flash-window': IdentityCall;
|
|
12002
|
-
'get-window-info': IdentityCall<{}, OpenFin.WindowInfo>;
|
|
12003
|
-
'get-window-options': IdentityCall<{}, OpenFin.WindowOptions>;
|
|
12004
|
-
'get-window-snapshot': IdentityCall<{
|
|
12005
|
-
area?: OpenFin.Rectangle;
|
|
12006
|
-
}, string>;
|
|
12007
|
-
'get-window-state': IdentityCall<{}, 'minimized' | 'maximized' | 'normal'>;
|
|
12008
|
-
'is-window-showing': IdentityCall<{}, boolean>;
|
|
12009
|
-
'maximize-window': IdentityCall;
|
|
12010
|
-
'minimize-window': IdentityCall;
|
|
12011
|
-
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12012
|
-
deltaLeft: number;
|
|
12013
|
-
deltaTop: number;
|
|
12014
|
-
}>>;
|
|
12015
|
-
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12016
|
-
left: number;
|
|
12017
|
-
top: number;
|
|
12018
|
-
}>>;
|
|
12019
|
-
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12020
|
-
deltaWidth: number;
|
|
12021
|
-
deltaHeight: number;
|
|
12022
|
-
anchor: OpenFin.AnchorType;
|
|
12023
|
-
}>>;
|
|
12024
|
-
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12025
|
-
width: number;
|
|
12026
|
-
height: number;
|
|
12027
|
-
anchor: OpenFin.AnchorType;
|
|
12028
|
-
}>>;
|
|
12029
|
-
'restore-window': IdentityCall;
|
|
12030
|
-
'set-foreground-window': IdentityCall;
|
|
12031
|
-
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12032
|
-
'show-window': IdentityCall<{
|
|
12033
|
-
force: boolean;
|
|
12034
|
-
}>;
|
|
12035
|
-
'show-at-window': IdentityCall<{
|
|
12036
|
-
left: number;
|
|
12037
|
-
top: number;
|
|
12038
|
-
force: boolean;
|
|
12039
|
-
}>;
|
|
12040
|
-
'update-window-options': IdentityCall<{
|
|
12041
|
-
options: OpenFin.UpdatableWindowOptions;
|
|
12042
|
-
}>;
|
|
12043
|
-
'window-authenticate': IdentityCall<{
|
|
12044
|
-
userName: string;
|
|
12045
|
-
password: string;
|
|
12046
|
-
}>;
|
|
12047
|
-
'show-popup-menu': {
|
|
11879
|
+
'print': {
|
|
12048
11880
|
request: OpenFin.Identity & {
|
|
12049
|
-
options: OpenFin.
|
|
11881
|
+
options: OpenFin.PrintOptions;
|
|
12050
11882
|
};
|
|
12051
|
-
response:
|
|
11883
|
+
response: void;
|
|
12052
11884
|
};
|
|
12053
|
-
'close-popup-menu': IdentityCall;
|
|
12054
|
-
'dispatch-popup-result': IdentityCall<{
|
|
12055
|
-
data: any;
|
|
12056
|
-
}>;
|
|
12057
11885
|
'print-screenshot': {
|
|
12058
11886
|
request: OpenFin.Identity;
|
|
12059
11887
|
response: void;
|
|
@@ -12064,229 +11892,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12064
11892
|
};
|
|
12065
11893
|
response: void;
|
|
12066
11894
|
};
|
|
12067
|
-
'window-wrap': VoidCall;
|
|
12068
|
-
'window-wrap-sync': VoidCall;
|
|
12069
|
-
'create-window': VoidCall;
|
|
12070
|
-
'get-current-window': VoidCall;
|
|
12071
|
-
'get-current-window-sync': VoidCall;
|
|
12072
|
-
'get-external-application-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.ExternalApplicationInfo>;
|
|
12073
|
-
'external-application-wrap': VoidCall;
|
|
12074
|
-
'external-application-wrap-sync': VoidCall;
|
|
12075
|
-
'get-frame-info': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12076
|
-
'get-parent-window': ApiCall<OpenFin.Identity, OpenFin.FrameInfo>;
|
|
12077
|
-
'frame-wrap': VoidCall;
|
|
12078
|
-
'frame-wrap-sync': VoidCall;
|
|
12079
|
-
'frame-get-current': VoidCall;
|
|
12080
|
-
'frame-get-current-sync': VoidCall;
|
|
12081
|
-
'global-hotkey-register': {
|
|
12082
|
-
request: {
|
|
12083
|
-
hotkey: string;
|
|
12084
|
-
};
|
|
12085
|
-
response: void;
|
|
12086
|
-
};
|
|
12087
|
-
'global-hotkey-unregister': {
|
|
12088
|
-
request: {
|
|
12089
|
-
hotkey: string;
|
|
12090
|
-
};
|
|
12091
|
-
response: void;
|
|
12092
|
-
};
|
|
12093
|
-
'global-hotkey-unregister-all': {
|
|
12094
|
-
request: {};
|
|
12095
|
-
response: void;
|
|
12096
|
-
};
|
|
12097
|
-
'global-hotkey-is-registered': {
|
|
12098
|
-
request: {
|
|
12099
|
-
hotkey: string;
|
|
12100
|
-
};
|
|
12101
|
-
response: boolean;
|
|
12102
|
-
};
|
|
12103
|
-
'publish-message': {
|
|
12104
|
-
request: {
|
|
12105
|
-
topic: string;
|
|
12106
|
-
message: any;
|
|
12107
|
-
sourceWindowName: string;
|
|
12108
|
-
};
|
|
12109
|
-
response: void;
|
|
12110
|
-
};
|
|
12111
|
-
'send-message': {
|
|
12112
|
-
request: {
|
|
12113
|
-
destinationUuid: string;
|
|
12114
|
-
destinationWindowName: string | undefined;
|
|
12115
|
-
topic: string;
|
|
12116
|
-
message: any;
|
|
12117
|
-
sourceWindowName: string;
|
|
12118
|
-
};
|
|
12119
|
-
response: void;
|
|
12120
|
-
};
|
|
12121
|
-
'subscribe': {
|
|
12122
|
-
request: {
|
|
12123
|
-
sourceUuid: string;
|
|
12124
|
-
sourceWindowName: string;
|
|
12125
|
-
topic: string;
|
|
12126
|
-
destinationWindowName: string;
|
|
12127
|
-
messageKey?: any;
|
|
12128
|
-
};
|
|
12129
|
-
response: void;
|
|
12130
|
-
};
|
|
12131
|
-
'unsubscribe': {
|
|
12132
|
-
request: {
|
|
12133
|
-
sourceUuid: string;
|
|
12134
|
-
sourceWindowName: string;
|
|
12135
|
-
topic: string;
|
|
12136
|
-
destinationWindowName: string;
|
|
12137
|
-
};
|
|
12138
|
-
response: void;
|
|
12139
|
-
};
|
|
12140
|
-
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
12141
|
-
'connect-to-channel': {
|
|
12142
|
-
request: any;
|
|
12143
|
-
response: OpenFin.RoutingInfo;
|
|
12144
|
-
};
|
|
12145
|
-
'create-channel': ApiCall<{
|
|
12146
|
-
channelName: string;
|
|
12147
|
-
}, OpenFin.ProviderIdentity>;
|
|
12148
|
-
'destroy-channel': ApiCall<{
|
|
12149
|
-
channelName: string;
|
|
12150
|
-
}, void>;
|
|
12151
|
-
'disconnect-from-channel': {
|
|
12152
|
-
request: {
|
|
12153
|
-
channelName: string;
|
|
12154
|
-
uuid: string;
|
|
12155
|
-
name: string;
|
|
12156
|
-
endpointId: string;
|
|
12157
|
-
};
|
|
12158
|
-
response: void;
|
|
12159
|
-
};
|
|
12160
|
-
'send-channel-message': {
|
|
12161
|
-
request: any;
|
|
12162
|
-
response: any;
|
|
12163
|
-
};
|
|
12164
|
-
'get-version': GetterCall<string>;
|
|
12165
|
-
'clear-cache': ApiCall<OpenFin.ClearCacheOption, void>;
|
|
12166
|
-
'delete-cache-request': VoidCall;
|
|
12167
|
-
'exit-desktop': VoidCall;
|
|
12168
|
-
'fetch-manifest': ApiCall<{
|
|
12169
|
-
manifestUrl: string;
|
|
12170
|
-
}, any>;
|
|
12171
|
-
'flush-cookie-store': VoidCall;
|
|
12172
|
-
'get-all-windows': GetterCall<OpenFin.ApplicationWindowInfo[]>;
|
|
12173
|
-
'get-all-applications': GetterCall<OpenFin.ApplicationState[]>;
|
|
12174
|
-
'get-command-line-arguments': GetterCall<string>;
|
|
12175
|
-
'get-crash-reporter-state': GetterCall<OpenFin.CrashReporterState>;
|
|
12176
|
-
'start-crash-reporter': {
|
|
12177
|
-
request: OpenFin.CrashReporterOptions | {
|
|
12178
|
-
diagnosticMode: boolean;
|
|
12179
|
-
};
|
|
12180
|
-
response: OpenFin.CrashReporterState;
|
|
12181
|
-
};
|
|
12182
|
-
'get-unique-user-id': GetterCall<string>;
|
|
12183
|
-
'get-entity-info': {
|
|
12184
|
-
request: {
|
|
12185
|
-
uuid: string;
|
|
12186
|
-
name: string;
|
|
12187
|
-
};
|
|
12188
|
-
response: OpenFin.EntityInfo;
|
|
12189
|
-
};
|
|
12190
|
-
'get-environment-variable': {
|
|
12191
|
-
request: {
|
|
12192
|
-
environmentVariables: string;
|
|
12193
|
-
};
|
|
12194
|
-
response: string;
|
|
12195
|
-
};
|
|
12196
|
-
'get-focused-window': GetterCall<OpenFin.Identity | null>;
|
|
12197
|
-
'is-app-certified': {
|
|
12198
|
-
request: {
|
|
12199
|
-
manifestUrl: string;
|
|
12200
|
-
};
|
|
12201
|
-
response: {
|
|
12202
|
-
action: string;
|
|
12203
|
-
certifiedInfo: OpenFin.CertifiedAppInfo;
|
|
12204
|
-
};
|
|
12205
|
-
};
|
|
12206
|
-
'get-installed-runtimes': GetterCall<{
|
|
12207
|
-
action: string;
|
|
12208
|
-
runtimes: string[];
|
|
12209
|
-
}>;
|
|
12210
|
-
'get-installed-apps': GetterCall<OpenFin.InstalledApps>;
|
|
12211
|
-
'view-log': ApiCall<OpenFin.GetLogRequestType, string>;
|
|
12212
|
-
'get-machine-id': GetterCall<string>;
|
|
12213
|
-
'get-min-log-level': GetterCall<OpenFin.LogLevel>;
|
|
12214
|
-
'list-logs': GetterCall<OpenFin.LogInfo[]>;
|
|
12215
|
-
'get-monitor-info': GetterCall<OpenFin.MonitorInfo>;
|
|
12216
|
-
'get-mouse-position': GetterCall<OpenFin.PointTopLeft>;
|
|
12217
|
-
'process-snapshot': GetterCall<Array<any>>;
|
|
12218
|
-
'get-all-process-info': ApiCall<OpenFin.ApplicationIdentity, OpenFin.SystemProcessInfo>;
|
|
12219
|
-
'get-proxy-settings': GetterCall<OpenFin.ProxyInfo>;
|
|
12220
|
-
'get-runtime-info': GetterCall<OpenFin.RuntimeInfo>;
|
|
12221
|
-
'get-rvm-info': GetterCall<OpenFin.RVMInfo>;
|
|
12222
|
-
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12223
|
-
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12224
|
-
'launch-external-process': ApiCall<OpenFin.ExternalProcessRequestType, OpenFin.Identity>;
|
|
12225
|
-
'monitor-external-process': ApiCall<OpenFin.ExternalProcessInfo, OpenFin.Identity>;
|
|
12226
|
-
'write-to-log': ApiCall<{
|
|
12227
|
-
level: string;
|
|
12228
|
-
message: string;
|
|
12229
|
-
}, void>;
|
|
12230
|
-
'open-url-with-browser': ApiCall<{
|
|
12231
|
-
url: string;
|
|
12232
|
-
}, void>;
|
|
12233
|
-
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12234
|
-
'unregister-custom-protocol': ApiCall<{
|
|
12235
|
-
protocolName: string;
|
|
12236
|
-
}, void>;
|
|
12237
|
-
'get-custom-protocol-state': ApiCall<{
|
|
12238
|
-
protocolName: string;
|
|
12239
|
-
}, OpenFin.CustomProtocolState>;
|
|
12240
|
-
'release-external-process': ApiCall<{
|
|
12241
|
-
uuid: string;
|
|
12242
|
-
}, void>;
|
|
12243
|
-
'show-developer-tools': ApiCall<OpenFin.Identity, void>;
|
|
12244
|
-
'terminate-external-process': ApiCall<OpenFin.TerminateExternalRequestType, void>;
|
|
12245
|
-
'update-proxy': ApiCall<OpenFin.ProxyConfig, void>;
|
|
12246
|
-
'download-asset': {
|
|
12247
|
-
request: OpenFin.AppAssetInfo & {
|
|
12248
|
-
downloadId: string;
|
|
12249
|
-
};
|
|
12250
|
-
response: void;
|
|
12251
|
-
};
|
|
12252
|
-
'download-runtime': {
|
|
12253
|
-
request: OpenFin.RuntimeDownloadOptions & {
|
|
12254
|
-
downloadId: string;
|
|
12255
|
-
};
|
|
12256
|
-
response: void;
|
|
12257
|
-
};
|
|
12258
|
-
'download-preload-scripts': ApiCall<{
|
|
12259
|
-
scripts: Array<OpenFin.DownloadPreloadOption>;
|
|
12260
|
-
}, Array<OpenFin.DownloadPreloadInfo>>;
|
|
12261
|
-
'get-all-external-applications': ApiCall<void, Array<OpenFin.Identity>>;
|
|
12262
|
-
'get-app-asset-info': ApiCall<OpenFin.AppAssetRequest, OpenFin.AppAssetInfo>;
|
|
12263
|
-
'get-cookies': {
|
|
12264
|
-
request: OpenFin.CookieOption & {
|
|
12265
|
-
url: string;
|
|
12266
|
-
};
|
|
12267
|
-
response: Array<OpenFin.CookieInfo>;
|
|
12268
|
-
};
|
|
12269
|
-
'set-min-log-level': ApiCall<{
|
|
12270
|
-
level: OpenFin.LogLevel;
|
|
12271
|
-
}, void>;
|
|
12272
|
-
'resolve-uuid': ApiCall<{
|
|
12273
|
-
entityKey: string;
|
|
12274
|
-
}, OpenFin.ApplicationType>;
|
|
12275
|
-
'read-registry-value': ApiCall<{
|
|
12276
|
-
rootKey: string;
|
|
12277
|
-
subkey: string;
|
|
12278
|
-
value: string;
|
|
12279
|
-
}, OpenFin.RegistryInfo>;
|
|
12280
|
-
'register-external-connection': ApiCall<{
|
|
12281
|
-
uuid: string;
|
|
12282
|
-
}, OpenFin.ExternalConnection>;
|
|
12283
|
-
'get-service-configuration': ApiCall<{
|
|
12284
|
-
name: string;
|
|
12285
|
-
}, OpenFin.ServiceConfiguration>;
|
|
12286
|
-
'get-system-app-configuration': ApiCall<{
|
|
12287
|
-
name: string;
|
|
12288
|
-
}, any>;
|
|
12289
|
-
'run-rvm-health-check': ApiCall<void, string[]>;
|
|
12290
11895
|
'launch-manifest': {
|
|
12291
11896
|
request: {
|
|
12292
11897
|
manifestUrl: string;
|
|
@@ -12298,12 +11903,17 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12298
11903
|
manifest: OpenFin.Manifest;
|
|
12299
11904
|
};
|
|
12300
11905
|
};
|
|
12301
|
-
'
|
|
11906
|
+
'get-system-app-configuration': {
|
|
12302
11907
|
request: {
|
|
12303
|
-
|
|
12304
|
-
identity: OpenFin.Identity;
|
|
11908
|
+
name: string;
|
|
12305
11909
|
};
|
|
12306
|
-
response:
|
|
11910
|
+
response: any;
|
|
11911
|
+
};
|
|
11912
|
+
'show-popup-menu': {
|
|
11913
|
+
request: OpenFin.Identity & {
|
|
11914
|
+
options: OpenFin.ShowPopupMenuOptions;
|
|
11915
|
+
};
|
|
11916
|
+
response: OpenFin.MenuResult;
|
|
12307
11917
|
};
|
|
12308
11918
|
'enable-native-window-integration-provider': {
|
|
12309
11919
|
request: {
|
|
@@ -12311,34 +11921,24 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12311
11921
|
};
|
|
12312
11922
|
response: OpenFin.NativeWindowIntegrationProviderAuthorization;
|
|
12313
11923
|
};
|
|
12314
|
-
'register-usage': ApiCall<OpenFin.RegisterUsageData, void>;
|
|
12315
|
-
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12316
|
-
'system-update-process-logging-options': ApiCall<{
|
|
12317
|
-
options: OpenFin.ProcessLoggingOptions;
|
|
12318
|
-
}, void>;
|
|
12319
|
-
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12320
|
-
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12321
|
-
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12322
|
-
}, void>;
|
|
12323
|
-
'system-register-shutdown-handler': VoidCall;
|
|
12324
11924
|
'get-permissions': GetterCall<any>;
|
|
11925
|
+
'get-all-channels': GetterCall<OpenFin.ProviderIdentity[]>;
|
|
11926
|
+
'set-file-download-location': {
|
|
11927
|
+
request: OpenFin.Identity & {
|
|
11928
|
+
downloadLocation: string;
|
|
11929
|
+
};
|
|
11930
|
+
response: void;
|
|
11931
|
+
};
|
|
11932
|
+
'get-file-download-location': {
|
|
11933
|
+
request: OpenFin.ApplicationIdentity;
|
|
11934
|
+
response: string;
|
|
11935
|
+
};
|
|
11936
|
+
'close-popup-menu': IdentityCall;
|
|
12325
11937
|
'fdc3-add-context-listener': VoidCall;
|
|
12326
|
-
'fdc3-add-intent-listener': VoidCall;
|
|
12327
|
-
'fdc3-raise-intent': VoidCall;
|
|
12328
|
-
'fdc3-find-intent': VoidCall;
|
|
12329
|
-
'fdc3-find-intents-by-context': VoidCall;
|
|
12330
|
-
'fdc3-raise-intent-for-context': VoidCall;
|
|
12331
|
-
'fdc3-get-info': VoidCall;
|
|
12332
|
-
'fdc3-find-instances': VoidCall;
|
|
12333
|
-
'fdc3-get-app-metadata': VoidCall;
|
|
12334
11938
|
'fdc3-broadcast': VoidCall;
|
|
12335
|
-
'fdc3-open': VoidCall;
|
|
12336
|
-
'fdc3-get-or-create-channel': VoidCall;
|
|
12337
11939
|
'fdc3-get-system-channels': VoidCall;
|
|
12338
11940
|
'fdc3-join-channel': VoidCall;
|
|
12339
|
-
'fdc3-get-current-channel': VoidCall;
|
|
12340
11941
|
'fdc3-leave-current-channel': VoidCall;
|
|
12341
|
-
'interop-init': VoidCall;
|
|
12342
11942
|
'interop-connect-sync': VoidCall;
|
|
12343
11943
|
'interop-client-set-context': VoidCall;
|
|
12344
11944
|
'interop-client-add-context-handler': VoidCall;
|
|
@@ -12347,13 +11947,6 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12347
11947
|
'interop-client-remove-from-context-group': VoidCall;
|
|
12348
11948
|
'interop-client-get-all-clients-in-context-group': VoidCall;
|
|
12349
11949
|
'interop-client-get-info-for-context-group': VoidCall;
|
|
12350
|
-
'interop-client-fire-intent': VoidCall;
|
|
12351
|
-
'interop-client-register-intent-handler': VoidCall;
|
|
12352
|
-
'interop-client-get-current-context': VoidCall;
|
|
12353
|
-
'interop-client-get-info-for-intent': VoidCall;
|
|
12354
|
-
'interop-client-get-info-for-intents-by-context': VoidCall;
|
|
12355
|
-
'interop-client-fire-intent-for-context': VoidCall;
|
|
12356
|
-
'interop-client-add-ondisconnection-listener': VoidCall;
|
|
12357
11950
|
'interop-broker-add-client-to-context-group': VoidCall;
|
|
12358
11951
|
'interop-broker-get-all-clients-in-context-group': VoidCall;
|
|
12359
11952
|
'interop-broker-get-context-groups': VoidCall;
|
|
@@ -12365,100 +11958,13 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12365
11958
|
'interop-broker-remove-from-context-group': VoidCall;
|
|
12366
11959
|
'interop-broker-set-context': VoidCall;
|
|
12367
11960
|
'interop-broker-set-context-for-group': VoidCall;
|
|
12368
|
-
'
|
|
12369
|
-
|
|
12370
|
-
|
|
12371
|
-
|
|
12372
|
-
|
|
12373
|
-
|
|
12374
|
-
|
|
12375
|
-
'platform-get-current': VoidCall;
|
|
12376
|
-
'platform-get-current-sync': VoidCall;
|
|
12377
|
-
'platform-start': VoidCall;
|
|
12378
|
-
'platform-start-from-manifest': VoidCall;
|
|
12379
|
-
'platform-get-client': ApplicationIdentityCall<{}, void>;
|
|
12380
|
-
'platform-create-view': ApplicationIdentityCall<{}, void>;
|
|
12381
|
-
'platform-create-window': ApplicationIdentityCall<{}, void>;
|
|
12382
|
-
'platform-quit': ApplicationIdentityCall<{}, void>;
|
|
12383
|
-
'platform-close-view': ApplicationIdentityCall<{}, void>;
|
|
12384
|
-
'platform-reparent-view': ApplicationIdentityCall<{}, void>;
|
|
12385
|
-
'platform-get-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12386
|
-
'platform-apply-snapshot': ApplicationIdentityCall<{}, void>;
|
|
12387
|
-
'platform-launch-content-manifest': ApplicationIdentityCall<{}, void>;
|
|
12388
|
-
'platform-set-window-context': ApplicationIdentityCall<{}, void>;
|
|
12389
|
-
'platform-get-window-context': ApplicationIdentityCall<{}, void>;
|
|
12390
|
-
'platform-close-window': ApplicationIdentityCall<{}, void>;
|
|
12391
|
-
'layout-wrap': VoidCall;
|
|
12392
|
-
'layout-wrap-sync': VoidCall;
|
|
12393
|
-
'layout-get-current': VoidCall;
|
|
12394
|
-
'layout-get-current-sync': VoidCall;
|
|
12395
|
-
'layout-init': VoidCall;
|
|
12396
|
-
'layout-get-config': VoidCall;
|
|
12397
|
-
'layout-get-views': VoidCall;
|
|
12398
|
-
'layout-replace': VoidCall;
|
|
12399
|
-
'layout-get-root-item': VoidCall;
|
|
12400
|
-
'layout-replace-view': VoidCall;
|
|
12401
|
-
'layout-apply-preset': VoidCall;
|
|
12402
|
-
'layout-controller-get-root': VoidCall;
|
|
12403
|
-
'layout-controller-get-stack-by-view': VoidCall;
|
|
12404
|
-
'layout-controller-get-stack-views': VoidCall;
|
|
12405
|
-
'layout-controller-get-content': VoidCall;
|
|
12406
|
-
'layout-controller-get-parent': VoidCall;
|
|
12407
|
-
'layout-controller-is-root': VoidCall;
|
|
12408
|
-
'layout-controller-exists': VoidCall;
|
|
12409
|
-
'layout-controller-add-view-to-stack': VoidCall;
|
|
12410
|
-
'layout-controller-remove-view-from-stack': VoidCall;
|
|
12411
|
-
'layout-controller-create-adjacent-stack': VoidCall;
|
|
12412
|
-
'layout-controller-get-adjacent-stacks': VoidCall;
|
|
12413
|
-
'layout-controller-set-stack-active-view': VoidCall;
|
|
12414
|
-
'snapshot-source-init': VoidCall;
|
|
12415
|
-
'snapshot-source-wrap-sync': VoidCall;
|
|
12416
|
-
'snapshot-source-wrap': VoidCall;
|
|
12417
|
-
'snapshot-source-ready': VoidCall;
|
|
12418
|
-
'snapshot-source-get-snapshot': VoidCall;
|
|
12419
|
-
'snapshot-source-apply-snapshot': VoidCall;
|
|
12420
|
-
'capture-page': IdentityCall<{
|
|
12421
|
-
options?: OpenFin.CapturePageOptions;
|
|
12422
|
-
}, string>;
|
|
12423
|
-
'execute-javascript-in-window': IdentityCall<{
|
|
12424
|
-
code: string;
|
|
12425
|
-
}, unknown>;
|
|
12426
|
-
'get-zoom-level': IdentityCall<{}, number>;
|
|
12427
|
-
'set-zoom-level': IdentityCall<{
|
|
12428
|
-
level: number;
|
|
12429
|
-
}, void>;
|
|
12430
|
-
'navigate-window': IdentityCall<{
|
|
12431
|
-
url: string;
|
|
12432
|
-
}, void>;
|
|
12433
|
-
'navigate-window-back': IdentityCall<{}, void>;
|
|
12434
|
-
'navigate-window-forward': IdentityCall<{}, void>;
|
|
12435
|
-
'stop-window-navigation': IdentityCall<{}, void>;
|
|
12436
|
-
'reload-window': IdentityCall<{
|
|
12437
|
-
ignoreCache: boolean;
|
|
12438
|
-
}, void>;
|
|
12439
|
-
'print': IdentityCall<{
|
|
12440
|
-
options: OpenFin.PrintOptions;
|
|
12441
|
-
}, void>;
|
|
12442
|
-
'find-in-page': IdentityCall<{
|
|
12443
|
-
searchTerm: string;
|
|
12444
|
-
options?: OpenFin.FindInPageOptions;
|
|
12445
|
-
}, void>;
|
|
12446
|
-
'stop-find-in-page': IdentityCall<{
|
|
12447
|
-
action: 'clearSelection' | 'keepSelection' | 'activateSelection';
|
|
12448
|
-
}, void>;
|
|
12449
|
-
'get-printers': IdentityCall<{}, OpenFin.PrinterInfo>;
|
|
12450
|
-
'focus-window': IdentityCall<{
|
|
12451
|
-
emitSynthFocused: boolean;
|
|
12452
|
-
}, void>;
|
|
12453
|
-
'get-process-info': IdentityCall<{}, OpenFin.EntityProcessDetails>;
|
|
12454
|
-
'get-shared-workers': IdentityCall<{}, OpenFin.SharedWorkerInfo[]>;
|
|
12455
|
-
'inspect-shared-worker': IdentityCall<{}, void>;
|
|
12456
|
-
'inspect-shared-worker-by-id': IdentityCall<{
|
|
12457
|
-
workerId: string;
|
|
12458
|
-
}, void>;
|
|
12459
|
-
'inspect-service-worker': IdentityCall<{}, void>;
|
|
12460
|
-
'view-show-popup-window': IdentityCall<{}, void>;
|
|
12461
|
-
'window-show-popup-window': IdentityCall<{}, void>;
|
|
11961
|
+
'query-permission-for-current-context': {
|
|
11962
|
+
request: {
|
|
11963
|
+
apiName: string;
|
|
11964
|
+
identity: OpenFin.Identity;
|
|
11965
|
+
};
|
|
11966
|
+
response: OpenFin.QueryPermissionResult;
|
|
11967
|
+
};
|
|
12462
11968
|
'try-create-popup-window': {
|
|
12463
11969
|
request: OpenFin.Identity & {
|
|
12464
11970
|
options: OpenFin.PopupOptions;
|
|
@@ -12474,6 +11980,9 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12474
11980
|
};
|
|
12475
11981
|
response: OpenFin.PopupResult;
|
|
12476
11982
|
};
|
|
11983
|
+
'dispatch-popup-result': IdentityCall<{
|
|
11984
|
+
data: any;
|
|
11985
|
+
}>;
|
|
12477
11986
|
'render-overlay': {
|
|
12478
11987
|
request: {
|
|
12479
11988
|
bounds: OpenFin.Bounds;
|
|
@@ -12493,6 +12002,40 @@ declare interface ProtocolMap extends ProtocolMapBase {
|
|
|
12493
12002
|
};
|
|
12494
12003
|
response: void;
|
|
12495
12004
|
};
|
|
12005
|
+
'get-host-specs': GetterCall<OpenFin.HostSpecs>;
|
|
12006
|
+
'get-os-info': GetterCall<OpenFin.OSInfo>;
|
|
12007
|
+
'system-get-printers': GetterCall<OpenFin.PrinterInfo[]>;
|
|
12008
|
+
'system-register-shutdown-handler': VoidCall;
|
|
12009
|
+
'get-domain-settings': ApiCall<OpenFin.ApplicationIdentity, OpenFin.DefaultDomainSettings>;
|
|
12010
|
+
'set-domain-settings': ApiCall<OpenFin.ApplicationIdentity & {
|
|
12011
|
+
domainSettings: OpenFin.DefaultDomainSettings;
|
|
12012
|
+
}, void>;
|
|
12013
|
+
'move-window-by': IdentityCall<WithPositioningOptions<{
|
|
12014
|
+
deltaLeft: number;
|
|
12015
|
+
deltaTop: number;
|
|
12016
|
+
}>>;
|
|
12017
|
+
'move-window': IdentityCall<WithPositioningOptions<{
|
|
12018
|
+
left: number;
|
|
12019
|
+
top: number;
|
|
12020
|
+
}>>;
|
|
12021
|
+
'resize-window-by': IdentityCall<WithPositioningOptions<{
|
|
12022
|
+
deltaWidth: number;
|
|
12023
|
+
deltaHeight: number;
|
|
12024
|
+
anchor: OpenFin.AnchorType;
|
|
12025
|
+
}>>;
|
|
12026
|
+
'resize-window': IdentityCall<WithPositioningOptions<{
|
|
12027
|
+
width: number;
|
|
12028
|
+
height: number;
|
|
12029
|
+
anchor: OpenFin.AnchorType;
|
|
12030
|
+
}>>;
|
|
12031
|
+
'set-window-bounds': IdentityCall<WithPositioningOptions<Partial<OpenFin.Bounds>>>;
|
|
12032
|
+
'register-custom-protocol': ApiCall<OpenFin.CustomProtocolOptions, void>;
|
|
12033
|
+
'unregister-custom-protocol': ApiCall<{
|
|
12034
|
+
protocolName: string;
|
|
12035
|
+
}, void>;
|
|
12036
|
+
'get-custom-protocol-state': ApiCall<{
|
|
12037
|
+
protocolName: string;
|
|
12038
|
+
}, OpenFin.CustomProtocolState>;
|
|
12496
12039
|
}
|
|
12497
12040
|
|
|
12498
12041
|
declare interface ProtocolMapBase {
|
|
@@ -12522,7 +12065,7 @@ declare type ProviderIdentity_3 = OpenFin.ProviderIdentity;
|
|
|
12522
12065
|
* Identity of a channel provider.
|
|
12523
12066
|
* @interface
|
|
12524
12067
|
*/
|
|
12525
|
-
declare type ProviderIdentity_4 =
|
|
12068
|
+
declare type ProviderIdentity_4 = Identity_5 & {
|
|
12526
12069
|
/**
|
|
12527
12070
|
* Identifier of the channel.
|
|
12528
12071
|
*/
|
|
@@ -12533,10 +12076,12 @@ declare type ProviderIdentity_4 = Identity_4 & {
|
|
|
12533
12076
|
channelName: string;
|
|
12534
12077
|
};
|
|
12535
12078
|
|
|
12079
|
+
declare type ProxyConfig = OpenFin.ProxyConfig;
|
|
12080
|
+
|
|
12536
12081
|
/**
|
|
12537
12082
|
* @interface
|
|
12538
12083
|
*/
|
|
12539
|
-
declare type
|
|
12084
|
+
declare type ProxyConfig_2 = {
|
|
12540
12085
|
/**
|
|
12541
12086
|
* The configured proxy address.
|
|
12542
12087
|
*/
|
|
@@ -12548,11 +12093,13 @@ declare type ProxyConfig = {
|
|
|
12548
12093
|
type: string;
|
|
12549
12094
|
};
|
|
12550
12095
|
|
|
12096
|
+
declare type ProxyInfo = OpenFin.ProxyInfo;
|
|
12097
|
+
|
|
12551
12098
|
/**
|
|
12552
12099
|
* @interface
|
|
12553
12100
|
*/
|
|
12554
|
-
declare type
|
|
12555
|
-
config:
|
|
12101
|
+
declare type ProxyInfo_2 = {
|
|
12102
|
+
config: ProxyConfig_2;
|
|
12556
12103
|
system: ProxySystemInfo;
|
|
12557
12104
|
};
|
|
12558
12105
|
|
|
@@ -12658,10 +12205,12 @@ declare type RegisterUsageData = {
|
|
|
12658
12205
|
type: string;
|
|
12659
12206
|
};
|
|
12660
12207
|
|
|
12208
|
+
declare type RegistryInfo = OpenFin.RegistryInfo;
|
|
12209
|
+
|
|
12661
12210
|
/**
|
|
12662
12211
|
* @interface
|
|
12663
12212
|
*/
|
|
12664
|
-
declare type
|
|
12213
|
+
declare type RegistryInfo_2 = {
|
|
12665
12214
|
data: any;
|
|
12666
12215
|
rootKey: string;
|
|
12667
12216
|
subkey: string;
|
|
@@ -12719,14 +12268,14 @@ declare type ReplaceLayoutPayload = {
|
|
|
12719
12268
|
/**
|
|
12720
12269
|
* Identity of the window whose layout will be replaced.
|
|
12721
12270
|
*/
|
|
12722
|
-
target:
|
|
12271
|
+
target: Identity_5 | LayoutIdentity;
|
|
12723
12272
|
};
|
|
12724
12273
|
|
|
12725
12274
|
/**
|
|
12726
12275
|
* @interface
|
|
12727
12276
|
*/
|
|
12728
12277
|
declare type ReplaceViewOptions = {
|
|
12729
|
-
viewToReplace:
|
|
12278
|
+
viewToReplace: Identity_5;
|
|
12730
12279
|
newView: ViewState;
|
|
12731
12280
|
};
|
|
12732
12281
|
|
|
@@ -12735,7 +12284,7 @@ declare type ReplaceViewOptions = {
|
|
|
12735
12284
|
*/
|
|
12736
12285
|
declare type ReplaceViewPayload = {
|
|
12737
12286
|
opts: {
|
|
12738
|
-
viewToReplace:
|
|
12287
|
+
viewToReplace: Identity_5;
|
|
12739
12288
|
newView: Partial<ViewOptions>;
|
|
12740
12289
|
};
|
|
12741
12290
|
target: LayoutIdentity;
|
|
@@ -13101,7 +12650,7 @@ declare type SetWindowContextPayload = {
|
|
|
13101
12650
|
/**
|
|
13102
12651
|
* Identity of the entity targeted by the call to {@link Platform#setWindowContext Platform.setWindowContext}.
|
|
13103
12652
|
*/
|
|
13104
|
-
target:
|
|
12653
|
+
target: Identity_5;
|
|
13105
12654
|
};
|
|
13106
12655
|
|
|
13107
12656
|
/**
|
|
@@ -13545,7 +13094,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13545
13094
|
* fin.System.getAllWindows().then(wins => console.log(wins)).catch(err => console.log(err));
|
|
13546
13095
|
* ```
|
|
13547
13096
|
*/
|
|
13548
|
-
getAllWindows(): Promise<Array<
|
|
13097
|
+
getAllWindows(): Promise<Array<ApplicationWindowInfo>>;
|
|
13549
13098
|
/**
|
|
13550
13099
|
* Retrieves an array of data for all applications.
|
|
13551
13100
|
*
|
|
@@ -13554,7 +13103,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13554
13103
|
* fin.System.getAllApplications().then(apps => console.log(apps)).catch(err => console.log(err));
|
|
13555
13104
|
* ```
|
|
13556
13105
|
*/
|
|
13557
|
-
getAllApplications(): Promise<Array<
|
|
13106
|
+
getAllApplications(): Promise<Array<ApplicationState>>;
|
|
13558
13107
|
/**
|
|
13559
13108
|
* Retrieves the command line argument string that started OpenFin Runtime.
|
|
13560
13109
|
*
|
|
@@ -13629,7 +13178,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13629
13178
|
* }
|
|
13630
13179
|
* ```
|
|
13631
13180
|
*/
|
|
13632
|
-
getEntityInfo(uuid: string, name: string): Promise<
|
|
13181
|
+
getEntityInfo(uuid: string, name: string): Promise<EntityInfo>;
|
|
13633
13182
|
/**
|
|
13634
13183
|
* Gets the value of a given environment variable on the computer on which the runtime is installed
|
|
13635
13184
|
*
|
|
@@ -13671,7 +13220,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13671
13220
|
* ```
|
|
13672
13221
|
*/
|
|
13673
13222
|
getInstalledRuntimes(): Promise<string[]>;
|
|
13674
|
-
getInstalledApps(): Promise<
|
|
13223
|
+
getInstalledApps(): Promise<InstalledApps>;
|
|
13675
13224
|
/**
|
|
13676
13225
|
* Retrieves the contents of the log with the specified filename.
|
|
13677
13226
|
* @param options A object that id defined by the GetLogRequestType interface
|
|
@@ -13686,7 +13235,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13686
13235
|
* getLog().then(log => console.log(log)).catch(err => console.log(err));
|
|
13687
13236
|
* ```
|
|
13688
13237
|
*/
|
|
13689
|
-
getLog(options:
|
|
13238
|
+
getLog(options: GetLogRequestType): Promise<string>;
|
|
13690
13239
|
/**
|
|
13691
13240
|
* Returns a unique identifier (UUID) provided by the machine.
|
|
13692
13241
|
*
|
|
@@ -13704,7 +13253,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13704
13253
|
* fin.System.getMinLogLevel().then(level => console.log(level)).catch(err => console.log(err));
|
|
13705
13254
|
* ```
|
|
13706
13255
|
*/
|
|
13707
|
-
getMinLogLevel(): Promise<
|
|
13256
|
+
getMinLogLevel(): Promise<LogLevel>;
|
|
13708
13257
|
/**
|
|
13709
13258
|
* Retrieves an array containing information for each log file.
|
|
13710
13259
|
*
|
|
@@ -13713,7 +13262,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13713
13262
|
* fin.System.getLogList().then(logList => console.log(logList)).catch(err => console.log(err));
|
|
13714
13263
|
* ```
|
|
13715
13264
|
*/
|
|
13716
|
-
getLogList(): Promise<Array<
|
|
13265
|
+
getLogList(): Promise<Array<LogInfo>>;
|
|
13717
13266
|
/**
|
|
13718
13267
|
* Retrieves an object that contains data about the monitor setup of the
|
|
13719
13268
|
* computer that the runtime is running on.
|
|
@@ -13784,7 +13333,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
13784
13333
|
* }
|
|
13785
13334
|
* ```
|
|
13786
13335
|
*/
|
|
13787
|
-
getProxySettings(): Promise<
|
|
13336
|
+
getProxySettings(): Promise<ProxyInfo>;
|
|
13788
13337
|
/**
|
|
13789
13338
|
* Returns information about the running Runtime in an object.
|
|
13790
13339
|
*
|
|
@@ -14151,7 +13700,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14151
13700
|
* }
|
|
14152
13701
|
* ```
|
|
14153
13702
|
*/
|
|
14154
|
-
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<
|
|
13703
|
+
launchExternalProcess(options: OpenFin.ExternalProcessRequestType): Promise<Identity_2>;
|
|
14155
13704
|
/**
|
|
14156
13705
|
* Monitors a running process. A pid for the process must be included in options.
|
|
14157
13706
|
* <br> A uuid may be optionally provided. If not provided, OpenFin will create a uuid for the new process.
|
|
@@ -14168,7 +13717,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14168
13717
|
* }).then(processIdentity => console.log(processIdentity)).catch(err => console.log(err));
|
|
14169
13718
|
* ```
|
|
14170
13719
|
*/
|
|
14171
|
-
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<
|
|
13720
|
+
monitorExternalProcess(options: OpenFin.ExternalProcessInfo): Promise<Identity_2>;
|
|
14172
13721
|
/**
|
|
14173
13722
|
* Writes the passed message into both the log file and the console.
|
|
14174
13723
|
* @param level The log level for the entry. Can be either "info", "warning" or "error"
|
|
@@ -14302,7 +13851,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14302
13851
|
*
|
|
14303
13852
|
* @tutorial System.showDeveloperTools
|
|
14304
13853
|
*/
|
|
14305
|
-
showDeveloperTools(identity:
|
|
13854
|
+
showDeveloperTools(identity: Identity_2): Promise<void>;
|
|
14306
13855
|
/**
|
|
14307
13856
|
* Attempt to close an external process. The process will be terminated if it
|
|
14308
13857
|
* has not closed after the elapsed timeout in milliseconds.
|
|
@@ -14336,7 +13885,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14336
13885
|
* .catch(err => console.error(err));
|
|
14337
13886
|
* ```
|
|
14338
13887
|
*/
|
|
14339
|
-
updateProxySettings(options:
|
|
13888
|
+
updateProxySettings(options: ProxyConfig): Promise<void>;
|
|
14340
13889
|
/**
|
|
14341
13890
|
* Downloads the given application asset.
|
|
14342
13891
|
*
|
|
@@ -14428,7 +13977,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14428
13977
|
* .catch(err => console.log(err));
|
|
14429
13978
|
* ```
|
|
14430
13979
|
*/
|
|
14431
|
-
getAllExternalApplications(): Promise<Array<
|
|
13980
|
+
getAllExternalApplications(): Promise<Array<Identity_2>>;
|
|
14432
13981
|
/**
|
|
14433
13982
|
* Retrieves app asset information.
|
|
14434
13983
|
* @param options
|
|
@@ -14457,7 +14006,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14457
14006
|
* fin.System.setMinLogLevel("verbose").then(() => console.log("log level is set to verbose")).catch(err => console.log(err));
|
|
14458
14007
|
* ```
|
|
14459
14008
|
*/
|
|
14460
|
-
setMinLogLevel(level:
|
|
14009
|
+
setMinLogLevel(level: LogLevel): Promise<void>;
|
|
14461
14010
|
/**
|
|
14462
14011
|
* Retrieves the UUID of the computer on which the runtime is installed
|
|
14463
14012
|
* @param uuid The uuid of the running application
|
|
@@ -14467,7 +14016,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14467
14016
|
* fin.System.resolveUuid('OpenfinPOC').then(entity => console.log(entity)).catch(err => console.log(err));
|
|
14468
14017
|
* ```
|
|
14469
14018
|
*/
|
|
14470
|
-
resolveUuid(uuid: string): Promise<
|
|
14019
|
+
resolveUuid(uuid: string): Promise<Entity>;
|
|
14471
14020
|
/**
|
|
14472
14021
|
* Retrieves an array of data for all external applications
|
|
14473
14022
|
* @param requestingIdentity This object is described in the Identity typedef
|
|
@@ -14475,7 +14024,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14475
14024
|
*
|
|
14476
14025
|
* @ignore
|
|
14477
14026
|
*/
|
|
14478
|
-
executeOnRemote(requestingIdentity:
|
|
14027
|
+
executeOnRemote(requestingIdentity: Identity_2, data: any): Promise<any>;
|
|
14479
14028
|
/**
|
|
14480
14029
|
* Reads the specifed value from the registry.
|
|
14481
14030
|
* @remarks This method is restricted by default and must be enabled via
|
|
@@ -14568,7 +14117,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14568
14117
|
* }
|
|
14569
14118
|
* ```
|
|
14570
14119
|
*/
|
|
14571
|
-
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<
|
|
14120
|
+
readRegistryValue(rootKey: string, subkey: string, value: string): Promise<RegistryInfo>;
|
|
14572
14121
|
/**
|
|
14573
14122
|
* This function call will register a unique id and produce a token.
|
|
14574
14123
|
* The token can be used to broker an external connection.
|
|
@@ -14783,7 +14332,7 @@ declare class System extends EmitterBase<OpenFin.SystemEvent> {
|
|
|
14783
14332
|
* });
|
|
14784
14333
|
* ```
|
|
14785
14334
|
*/
|
|
14786
|
-
getPrinters(): Promise<
|
|
14335
|
+
getPrinters(): Promise<PrinterInfo[]>;
|
|
14787
14336
|
/**
|
|
14788
14337
|
* Updates Process Logging values: periodic interval and outlier detection entries and interval.
|
|
14789
14338
|
* @param options Process Logging updatable options.
|
|
@@ -15402,11 +14951,14 @@ declare type UrlChangedEvent = BaseUrlEvent & ({
|
|
|
15402
14951
|
declare type UserAppConfigArgs = Record<string, string | string[]>;
|
|
15403
14952
|
|
|
15404
14953
|
/**
|
|
15405
|
-
*
|
|
15406
|
-
*
|
|
14954
|
+
* A general user bounds change event without event type.
|
|
15407
14955
|
* @interface
|
|
15408
14956
|
*/
|
|
15409
|
-
declare type UserBoundsChangeEvent =
|
|
14957
|
+
declare type UserBoundsChangeEvent = BaseEvent_5 & {
|
|
14958
|
+
height: number;
|
|
14959
|
+
left: number;
|
|
14960
|
+
top: number;
|
|
14961
|
+
width: number;
|
|
15410
14962
|
windowState: 'minimized' | 'normal' | 'maximized';
|
|
15411
14963
|
};
|
|
15412
14964
|
|
|
@@ -16015,7 +15567,7 @@ declare type ViewContentCreationRule = BaseContentCreationRule & {
|
|
|
16015
15567
|
declare type ViewCreationOptions = Partial<ViewOptions> & {
|
|
16016
15568
|
name: string;
|
|
16017
15569
|
url: string;
|
|
16018
|
-
target:
|
|
15570
|
+
target: Identity_5;
|
|
16019
15571
|
};
|
|
16020
15572
|
|
|
16021
15573
|
declare type ViewCreationOrReference = OpenFin.Identity | OpenFin.PlatformViewCreationOptions;
|
|
@@ -16201,15 +15753,15 @@ declare interface ViewsPreventingUnloadPayload {
|
|
|
16201
15753
|
/**
|
|
16202
15754
|
* Identity of the Window.
|
|
16203
15755
|
*/
|
|
16204
|
-
windowId:
|
|
15756
|
+
windowId: Identity_5;
|
|
16205
15757
|
/**
|
|
16206
15758
|
* Identities of the Views that are preventing an unload
|
|
16207
15759
|
*/
|
|
16208
|
-
viewsPreventingUnload:
|
|
15760
|
+
viewsPreventingUnload: Identity_5[];
|
|
16209
15761
|
/**
|
|
16210
15762
|
* Identities of the Views that are not preventing an unload
|
|
16211
15763
|
*/
|
|
16212
|
-
viewsNotPreventingUnload:
|
|
15764
|
+
viewsNotPreventingUnload: Identity_5[];
|
|
16213
15765
|
/**
|
|
16214
15766
|
* Source of the close action.
|
|
16215
15767
|
*/
|
|
@@ -16234,11 +15786,11 @@ declare interface ViewStatuses {
|
|
|
16234
15786
|
/**
|
|
16235
15787
|
* Identities of the Views that are preventing an unload.
|
|
16236
15788
|
*/
|
|
16237
|
-
viewsPreventingUnload:
|
|
15789
|
+
viewsPreventingUnload: Identity_5[];
|
|
16238
15790
|
/**
|
|
16239
15791
|
* Identities of the Views that are not preventing an unload.
|
|
16240
15792
|
*/
|
|
16241
|
-
viewsNotPreventingUnload:
|
|
15793
|
+
viewsNotPreventingUnload: Identity_5[];
|
|
16242
15794
|
}
|
|
16243
15795
|
|
|
16244
15796
|
/**
|
|
@@ -16743,7 +16295,7 @@ declare class WebContents<T extends BaseEvent> extends EmitterBase<T> {
|
|
|
16743
16295
|
* We do not expose an explicit superclass for this functionality, but it does have its own
|
|
16744
16296
|
* {@link OpenFin.WebContentsEvents event namespace}.
|
|
16745
16297
|
*/
|
|
16746
|
-
stopFindInPage(action:
|
|
16298
|
+
stopFindInPage(action: string): Promise<void>;
|
|
16747
16299
|
/**
|
|
16748
16300
|
* Returns an array with all system printers
|
|
16749
16301
|
* @deprecated use System.getPrinters instead
|
|
@@ -17336,7 +16888,11 @@ declare type WillMoveEvent = WillMoveOrResizeEvent & {
|
|
|
17336
16888
|
* A general will-move or will-resize event without event type.
|
|
17337
16889
|
* @interface
|
|
17338
16890
|
*/
|
|
17339
|
-
declare type WillMoveOrResizeEvent =
|
|
16891
|
+
declare type WillMoveOrResizeEvent = BaseEvent_5 & {
|
|
16892
|
+
height: number;
|
|
16893
|
+
left: number;
|
|
16894
|
+
top: number;
|
|
16895
|
+
width: number;
|
|
17340
16896
|
monitorScaleFactor: number;
|
|
17341
16897
|
};
|
|
17342
16898
|
|
|
@@ -18528,21 +18084,16 @@ declare namespace WindowEvents {
|
|
|
18528
18084
|
PreloadScriptInfoRunning,
|
|
18529
18085
|
PreloadScriptInfo,
|
|
18530
18086
|
PreloadScriptsStateChangeEvent,
|
|
18531
|
-
|
|
18087
|
+
UserBoundsChangeEvent,
|
|
18532
18088
|
BoundsChangeEvent,
|
|
18533
18089
|
WillMoveOrResizeEvent,
|
|
18534
|
-
BoundsDidChangeEvent,
|
|
18535
|
-
BoundsChangedEvent,
|
|
18536
|
-
BoundsChangingEvent,
|
|
18537
|
-
DisabledMovementBoundsChangedEvent,
|
|
18538
|
-
DisabledMovementBoundsChangingEvent,
|
|
18539
|
-
UserBoundsChangeEvent,
|
|
18540
|
-
BeginUserBoundsChangingEvent,
|
|
18541
|
-
EndUserBoundsChangingEvent,
|
|
18542
18090
|
PerformanceReportEvent,
|
|
18543
18091
|
InputEvent_2 as InputEvent,
|
|
18544
18092
|
LayoutInitializedEvent,
|
|
18545
18093
|
LayoutReadyEvent,
|
|
18094
|
+
BeginUserBoundsChangingEvent,
|
|
18095
|
+
BoundsChangedEvent,
|
|
18096
|
+
BoundsChangingEvent,
|
|
18546
18097
|
CloseRequestedEvent,
|
|
18547
18098
|
WindowCloseRequestedEvent,
|
|
18548
18099
|
ContextChangedEvent,
|
|
@@ -18550,7 +18101,10 @@ declare namespace WindowEvents {
|
|
|
18550
18101
|
WindowClosedEvent,
|
|
18551
18102
|
ClosingEvent,
|
|
18552
18103
|
WindowClosingEvent,
|
|
18104
|
+
DisabledMovementBoundsChangedEvent,
|
|
18105
|
+
DisabledMovementBoundsChangingEvent,
|
|
18553
18106
|
EmbeddedEvent,
|
|
18107
|
+
EndUserBoundsChangingEvent,
|
|
18554
18108
|
HotkeyEvent_2 as HotkeyEvent,
|
|
18555
18109
|
WindowHotkeyEvent,
|
|
18556
18110
|
InitializedEvent_2 as InitializedEvent,
|