@airtop/sdk 0.1.32 → 0.1.33
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/api/resources/profiles/client/Client.js +2 -2
- package/api/resources/requests/client/Client.js +2 -2
- package/api/resources/sessions/client/Client.js +12 -12
- package/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- package/api/resources/sessions/types/index.d.ts +1 -1
- package/api/resources/sessions/types/index.js +1 -1
- package/api/resources/windows/client/Client.js +30 -30
- package/api/types/SessionConfigV1.d.ts +2 -0
- package/dist/api/resources/profiles/client/Client.js +2 -2
- package/dist/api/resources/requests/client/Client.js +2 -2
- package/dist/api/resources/sessions/client/Client.js +12 -12
- package/dist/api/resources/sessions/types/SessionsEventsResponse.d.ts +4 -4
- package/dist/api/resources/sessions/types/index.d.ts +1 -1
- package/dist/api/resources/sessions/types/index.js +1 -1
- package/dist/api/resources/windows/client/Client.js +30 -30
- package/dist/api/types/SessionConfigV1.d.ts +2 -0
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/dist/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- package/dist/serialization/resources/sessions/types/index.d.ts +1 -1
- package/dist/serialization/resources/sessions/types/index.js +1 -1
- package/dist/serialization/types/SessionConfigV1.d.ts +1 -0
- package/dist/serialization/types/SessionConfigV1.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/sessions/types/SessionsEventsResponse.d.ts +5 -5
- package/serialization/resources/sessions/types/SessionsEventsResponse.js +2 -2
- package/serialization/resources/sessions/types/index.d.ts +1 -1
- package/serialization/resources/sessions/types/index.js +1 -1
- package/serialization/types/SessionConfigV1.d.ts +1 -0
- package/serialization/types/SessionConfigV1.js +1 -0
@@ -84,8 +84,8 @@ class Profiles {
|
|
84
84
|
Authorization: yield this._getAuthorizationHeader(),
|
85
85
|
"X-Fern-Language": "JavaScript",
|
86
86
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
87
|
-
"X-Fern-SDK-Version": "0.1.
|
88
|
-
"User-Agent": "@airtop/sdk/0.1.
|
87
|
+
"X-Fern-SDK-Version": "0.1.33",
|
88
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
91
91
|
},
|
@@ -65,8 +65,8 @@ class Requests {
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
66
66
|
"X-Fern-Language": "JavaScript",
|
67
67
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
68
|
-
"X-Fern-SDK-Version": "0.1.
|
69
|
-
"User-Agent": "@airtop/sdk/0.1.
|
68
|
+
"X-Fern-SDK-Version": "0.1.33",
|
69
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
72
72
|
},
|
@@ -94,8 +94,8 @@ class Sessions {
|
|
94
94
|
Authorization: yield this._getAuthorizationHeader(),
|
95
95
|
"X-Fern-Language": "JavaScript",
|
96
96
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
97
|
-
"X-Fern-SDK-Version": "0.1.
|
98
|
-
"User-Agent": "@airtop/sdk/0.1.
|
97
|
+
"X-Fern-SDK-Version": "0.1.33",
|
98
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
99
99
|
"X-Fern-Runtime": core.RUNTIME.type,
|
100
100
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
101
101
|
},
|
@@ -180,8 +180,8 @@ class Sessions {
|
|
180
180
|
Authorization: yield this._getAuthorizationHeader(),
|
181
181
|
"X-Fern-Language": "JavaScript",
|
182
182
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
183
|
-
"X-Fern-SDK-Version": "0.1.
|
184
|
-
"User-Agent": "@airtop/sdk/0.1.
|
183
|
+
"X-Fern-SDK-Version": "0.1.33",
|
184
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
185
185
|
"X-Fern-Runtime": core.RUNTIME.type,
|
186
186
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
187
187
|
},
|
@@ -245,8 +245,8 @@ class Sessions {
|
|
245
245
|
Authorization: yield this._getAuthorizationHeader(),
|
246
246
|
"X-Fern-Language": "JavaScript",
|
247
247
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
248
|
-
"X-Fern-SDK-Version": "0.1.
|
249
|
-
"User-Agent": "@airtop/sdk/0.1.
|
248
|
+
"X-Fern-SDK-Version": "0.1.33",
|
249
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
250
250
|
"X-Fern-Runtime": core.RUNTIME.type,
|
251
251
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
252
252
|
},
|
@@ -332,8 +332,8 @@ class Sessions {
|
|
332
332
|
Authorization: yield this._getAuthorizationHeader(),
|
333
333
|
"X-Fern-Language": "JavaScript",
|
334
334
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
335
|
-
"X-Fern-SDK-Version": "0.1.
|
336
|
-
"User-Agent": "@airtop/sdk/0.1.
|
335
|
+
"X-Fern-SDK-Version": "0.1.33",
|
336
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
337
337
|
"X-Fern-Runtime": core.RUNTIME.type,
|
338
338
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
339
339
|
},
|
@@ -388,8 +388,8 @@ class Sessions {
|
|
388
388
|
Authorization: yield this._getAuthorizationHeader(),
|
389
389
|
"X-Fern-Language": "JavaScript",
|
390
390
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
391
|
-
"X-Fern-SDK-Version": "0.1.
|
392
|
-
"User-Agent": "@airtop/sdk/0.1.
|
391
|
+
"X-Fern-SDK-Version": "0.1.33",
|
392
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
393
393
|
"X-Fern-Runtime": core.RUNTIME.type,
|
394
394
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
395
395
|
},
|
@@ -486,8 +486,8 @@ class Sessions {
|
|
486
486
|
Authorization: yield this._getAuthorizationHeader(),
|
487
487
|
"X-Fern-Language": "JavaScript",
|
488
488
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
489
|
-
"X-Fern-SDK-Version": "0.1.
|
490
|
-
"User-Agent": "@airtop/sdk/0.1.
|
489
|
+
"X-Fern-SDK-Version": "0.1.33",
|
490
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
491
491
|
"X-Fern-Runtime": core.RUNTIME.type,
|
492
492
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
493
493
|
},
|
@@ -5,11 +5,8 @@ import * as Airtop from "../../../index";
|
|
5
5
|
/**
|
6
6
|
* Each oneOf object in the array represents one possible Server Sent Events (SSE) message, serialized as UTF-8 text according to the SSE specification.
|
7
7
|
*/
|
8
|
-
export declare type SessionsEventsResponse = Airtop.SessionsEventsResponse.
|
8
|
+
export declare type SessionsEventsResponse = Airtop.SessionsEventsResponse.Status | Airtop.SessionsEventsResponse.Error_ | Airtop.SessionsEventsResponse.WindowEvent | Airtop.SessionsEventsResponse.SessionEvent;
|
9
9
|
export declare namespace SessionsEventsResponse {
|
10
|
-
interface SessionEvent extends Airtop.SessionsEventsResponseSessionEvent {
|
11
|
-
event: "sessionEvent";
|
12
|
-
}
|
13
10
|
interface Status extends Airtop.SessionsEventsResponseStatus {
|
14
11
|
event: "status";
|
15
12
|
}
|
@@ -19,4 +16,7 @@ export declare namespace SessionsEventsResponse {
|
|
19
16
|
interface WindowEvent extends Airtop.SessionsEventsResponseWindowEvent {
|
20
17
|
event: "windowEvent";
|
21
18
|
}
|
19
|
+
interface SessionEvent extends Airtop.SessionsEventsResponseSessionEvent {
|
20
|
+
event: "sessionEvent";
|
21
|
+
}
|
22
22
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
-
export * from "./SessionsEventsResponseSessionEvent";
|
3
2
|
export * from "./SessionsEventsResponseStatus";
|
4
3
|
export * from "./SessionsEventsResponseError";
|
5
4
|
export * from "./SessionsEventsResponseWindowEvent";
|
5
|
+
export * from "./SessionsEventsResponseSessionEvent";
|
6
6
|
export * from "./SessionsEventsResponse";
|
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./SessionsListRequestStatus"), exports);
|
18
|
-
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
19
18
|
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
20
19
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
21
20
|
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
21
|
+
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
22
22
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
@@ -68,8 +68,8 @@ class Windows {
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
69
69
|
"X-Fern-Language": "JavaScript",
|
70
70
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
71
|
-
"X-Fern-SDK-Version": "0.1.
|
72
|
-
"User-Agent": "@airtop/sdk/0.1.
|
71
|
+
"X-Fern-SDK-Version": "0.1.33",
|
72
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
75
75
|
},
|
@@ -144,8 +144,8 @@ class Windows {
|
|
144
144
|
Authorization: yield this._getAuthorizationHeader(),
|
145
145
|
"X-Fern-Language": "JavaScript",
|
146
146
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
147
|
-
"X-Fern-SDK-Version": "0.1.
|
148
|
-
"User-Agent": "@airtop/sdk/0.1.
|
147
|
+
"X-Fern-SDK-Version": "0.1.33",
|
148
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
149
149
|
"X-Fern-Runtime": core.RUNTIME.type,
|
150
150
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
151
151
|
},
|
@@ -209,8 +209,8 @@ class Windows {
|
|
209
209
|
Authorization: yield this._getAuthorizationHeader(),
|
210
210
|
"X-Fern-Language": "JavaScript",
|
211
211
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
212
|
-
"X-Fern-SDK-Version": "0.1.
|
213
|
-
"User-Agent": "@airtop/sdk/0.1.
|
212
|
+
"X-Fern-SDK-Version": "0.1.33",
|
213
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
214
214
|
"X-Fern-Runtime": core.RUNTIME.type,
|
215
215
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
216
216
|
},
|
@@ -271,8 +271,8 @@ class Windows {
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
272
272
|
"X-Fern-Language": "JavaScript",
|
273
273
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
274
|
-
"X-Fern-SDK-Version": "0.1.
|
275
|
-
"User-Agent": "@airtop/sdk/0.1.
|
274
|
+
"X-Fern-SDK-Version": "0.1.33",
|
275
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
276
276
|
"X-Fern-Runtime": core.RUNTIME.type,
|
277
277
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
278
278
|
},
|
@@ -335,8 +335,8 @@ class Windows {
|
|
335
335
|
Authorization: yield this._getAuthorizationHeader(),
|
336
336
|
"X-Fern-Language": "JavaScript",
|
337
337
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
338
|
-
"X-Fern-SDK-Version": "0.1.
|
339
|
-
"User-Agent": "@airtop/sdk/0.1.
|
338
|
+
"X-Fern-SDK-Version": "0.1.33",
|
339
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
340
340
|
"X-Fern-Runtime": core.RUNTIME.type,
|
341
341
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
342
342
|
},
|
@@ -400,8 +400,8 @@ class Windows {
|
|
400
400
|
Authorization: yield this._getAuthorizationHeader(),
|
401
401
|
"X-Fern-Language": "JavaScript",
|
402
402
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
403
|
-
"X-Fern-SDK-Version": "0.1.
|
404
|
-
"User-Agent": "@airtop/sdk/0.1.
|
403
|
+
"X-Fern-SDK-Version": "0.1.33",
|
404
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
405
405
|
"X-Fern-Runtime": core.RUNTIME.type,
|
406
406
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
407
407
|
},
|
@@ -463,8 +463,8 @@ class Windows {
|
|
463
463
|
Authorization: yield this._getAuthorizationHeader(),
|
464
464
|
"X-Fern-Language": "JavaScript",
|
465
465
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
466
|
-
"X-Fern-SDK-Version": "0.1.
|
467
|
-
"User-Agent": "@airtop/sdk/0.1.
|
466
|
+
"X-Fern-SDK-Version": "0.1.33",
|
467
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
468
468
|
"X-Fern-Runtime": core.RUNTIME.type,
|
469
469
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
470
470
|
},
|
@@ -530,8 +530,8 @@ class Windows {
|
|
530
530
|
Authorization: yield this._getAuthorizationHeader(),
|
531
531
|
"X-Fern-Language": "JavaScript",
|
532
532
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
533
|
-
"X-Fern-SDK-Version": "0.1.
|
534
|
-
"User-Agent": "@airtop/sdk/0.1.
|
533
|
+
"X-Fern-SDK-Version": "0.1.33",
|
534
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
535
535
|
"X-Fern-Runtime": core.RUNTIME.type,
|
536
536
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
537
537
|
},
|
@@ -597,8 +597,8 @@ class Windows {
|
|
597
597
|
Authorization: yield this._getAuthorizationHeader(),
|
598
598
|
"X-Fern-Language": "JavaScript",
|
599
599
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
600
|
-
"X-Fern-SDK-Version": "0.1.
|
601
|
-
"User-Agent": "@airtop/sdk/0.1.
|
600
|
+
"X-Fern-SDK-Version": "0.1.33",
|
601
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
602
602
|
"X-Fern-Runtime": core.RUNTIME.type,
|
603
603
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
604
604
|
},
|
@@ -664,8 +664,8 @@ class Windows {
|
|
664
664
|
Authorization: yield this._getAuthorizationHeader(),
|
665
665
|
"X-Fern-Language": "JavaScript",
|
666
666
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
667
|
-
"X-Fern-SDK-Version": "0.1.
|
668
|
-
"User-Agent": "@airtop/sdk/0.1.
|
667
|
+
"X-Fern-SDK-Version": "0.1.33",
|
668
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
669
669
|
"X-Fern-Runtime": core.RUNTIME.type,
|
670
670
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
671
671
|
},
|
@@ -729,8 +729,8 @@ class Windows {
|
|
729
729
|
Authorization: yield this._getAuthorizationHeader(),
|
730
730
|
"X-Fern-Language": "JavaScript",
|
731
731
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
732
|
-
"X-Fern-SDK-Version": "0.1.
|
733
|
-
"User-Agent": "@airtop/sdk/0.1.
|
732
|
+
"X-Fern-SDK-Version": "0.1.33",
|
733
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
734
734
|
"X-Fern-Runtime": core.RUNTIME.type,
|
735
735
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
736
736
|
},
|
@@ -792,8 +792,8 @@ class Windows {
|
|
792
792
|
Authorization: yield this._getAuthorizationHeader(),
|
793
793
|
"X-Fern-Language": "JavaScript",
|
794
794
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
795
|
-
"X-Fern-SDK-Version": "0.1.
|
796
|
-
"User-Agent": "@airtop/sdk/0.1.
|
795
|
+
"X-Fern-SDK-Version": "0.1.33",
|
796
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
797
797
|
"X-Fern-Runtime": core.RUNTIME.type,
|
798
798
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
799
799
|
},
|
@@ -857,8 +857,8 @@ class Windows {
|
|
857
857
|
Authorization: yield this._getAuthorizationHeader(),
|
858
858
|
"X-Fern-Language": "JavaScript",
|
859
859
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
860
|
-
"X-Fern-SDK-Version": "0.1.
|
861
|
-
"User-Agent": "@airtop/sdk/0.1.
|
860
|
+
"X-Fern-SDK-Version": "0.1.33",
|
861
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
862
862
|
"X-Fern-Runtime": core.RUNTIME.type,
|
863
863
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
864
864
|
},
|
@@ -920,8 +920,8 @@ class Windows {
|
|
920
920
|
Authorization: yield this._getAuthorizationHeader(),
|
921
921
|
"X-Fern-Language": "JavaScript",
|
922
922
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
923
|
-
"X-Fern-SDK-Version": "0.1.
|
924
|
-
"User-Agent": "@airtop/sdk/0.1.
|
923
|
+
"X-Fern-SDK-Version": "0.1.33",
|
924
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
925
925
|
"X-Fern-Runtime": core.RUNTIME.type,
|
926
926
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
927
927
|
},
|
@@ -987,8 +987,8 @@ class Windows {
|
|
987
987
|
Authorization: yield this._getAuthorizationHeader(),
|
988
988
|
"X-Fern-Language": "JavaScript",
|
989
989
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
990
|
-
"X-Fern-SDK-Version": "0.1.
|
991
|
-
"User-Agent": "@airtop/sdk/0.1.
|
990
|
+
"X-Fern-SDK-Version": "0.1.33",
|
991
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
992
992
|
"X-Fern-Runtime": core.RUNTIME.type,
|
993
993
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
994
994
|
},
|
@@ -5,6 +5,8 @@ import * as Airtop from "../index";
|
|
5
5
|
export interface SessionConfigV1 {
|
6
6
|
/** Deprecated: Use profileName instead. */
|
7
7
|
baseProfileId?: string;
|
8
|
+
/** Google Web Store extension IDs to be loaded into the session. */
|
9
|
+
extensionIds?: string[];
|
8
10
|
/** Deprecated: use Save Profile On Termination API instead. */
|
9
11
|
persistProfile?: boolean;
|
10
12
|
/** Name of a profile to load into the session. */
|
@@ -84,8 +84,8 @@ class Profiles {
|
|
84
84
|
Authorization: yield this._getAuthorizationHeader(),
|
85
85
|
"X-Fern-Language": "JavaScript",
|
86
86
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
87
|
-
"X-Fern-SDK-Version": "0.1.
|
88
|
-
"User-Agent": "@airtop/sdk/0.1.
|
87
|
+
"X-Fern-SDK-Version": "0.1.33",
|
88
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
89
89
|
"X-Fern-Runtime": core.RUNTIME.type,
|
90
90
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
91
91
|
},
|
@@ -65,8 +65,8 @@ class Requests {
|
|
65
65
|
Authorization: yield this._getAuthorizationHeader(),
|
66
66
|
"X-Fern-Language": "JavaScript",
|
67
67
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
68
|
-
"X-Fern-SDK-Version": "0.1.
|
69
|
-
"User-Agent": "@airtop/sdk/0.1.
|
68
|
+
"X-Fern-SDK-Version": "0.1.33",
|
69
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
70
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
71
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
72
72
|
},
|
@@ -94,8 +94,8 @@ class Sessions {
|
|
94
94
|
Authorization: yield this._getAuthorizationHeader(),
|
95
95
|
"X-Fern-Language": "JavaScript",
|
96
96
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
97
|
-
"X-Fern-SDK-Version": "0.1.
|
98
|
-
"User-Agent": "@airtop/sdk/0.1.
|
97
|
+
"X-Fern-SDK-Version": "0.1.33",
|
98
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
99
99
|
"X-Fern-Runtime": core.RUNTIME.type,
|
100
100
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
101
101
|
},
|
@@ -180,8 +180,8 @@ class Sessions {
|
|
180
180
|
Authorization: yield this._getAuthorizationHeader(),
|
181
181
|
"X-Fern-Language": "JavaScript",
|
182
182
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
183
|
-
"X-Fern-SDK-Version": "0.1.
|
184
|
-
"User-Agent": "@airtop/sdk/0.1.
|
183
|
+
"X-Fern-SDK-Version": "0.1.33",
|
184
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
185
185
|
"X-Fern-Runtime": core.RUNTIME.type,
|
186
186
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
187
187
|
},
|
@@ -245,8 +245,8 @@ class Sessions {
|
|
245
245
|
Authorization: yield this._getAuthorizationHeader(),
|
246
246
|
"X-Fern-Language": "JavaScript",
|
247
247
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
248
|
-
"X-Fern-SDK-Version": "0.1.
|
249
|
-
"User-Agent": "@airtop/sdk/0.1.
|
248
|
+
"X-Fern-SDK-Version": "0.1.33",
|
249
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
250
250
|
"X-Fern-Runtime": core.RUNTIME.type,
|
251
251
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
252
252
|
},
|
@@ -332,8 +332,8 @@ class Sessions {
|
|
332
332
|
Authorization: yield this._getAuthorizationHeader(),
|
333
333
|
"X-Fern-Language": "JavaScript",
|
334
334
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
335
|
-
"X-Fern-SDK-Version": "0.1.
|
336
|
-
"User-Agent": "@airtop/sdk/0.1.
|
335
|
+
"X-Fern-SDK-Version": "0.1.33",
|
336
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
337
337
|
"X-Fern-Runtime": core.RUNTIME.type,
|
338
338
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
339
339
|
},
|
@@ -388,8 +388,8 @@ class Sessions {
|
|
388
388
|
Authorization: yield this._getAuthorizationHeader(),
|
389
389
|
"X-Fern-Language": "JavaScript",
|
390
390
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
391
|
-
"X-Fern-SDK-Version": "0.1.
|
392
|
-
"User-Agent": "@airtop/sdk/0.1.
|
391
|
+
"X-Fern-SDK-Version": "0.1.33",
|
392
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
393
393
|
"X-Fern-Runtime": core.RUNTIME.type,
|
394
394
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
395
395
|
},
|
@@ -486,8 +486,8 @@ class Sessions {
|
|
486
486
|
Authorization: yield this._getAuthorizationHeader(),
|
487
487
|
"X-Fern-Language": "JavaScript",
|
488
488
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
489
|
-
"X-Fern-SDK-Version": "0.1.
|
490
|
-
"User-Agent": "@airtop/sdk/0.1.
|
489
|
+
"X-Fern-SDK-Version": "0.1.33",
|
490
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
491
491
|
"X-Fern-Runtime": core.RUNTIME.type,
|
492
492
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
493
493
|
},
|
@@ -5,11 +5,8 @@ import * as Airtop from "../../../index";
|
|
5
5
|
/**
|
6
6
|
* Each oneOf object in the array represents one possible Server Sent Events (SSE) message, serialized as UTF-8 text according to the SSE specification.
|
7
7
|
*/
|
8
|
-
export declare type SessionsEventsResponse = Airtop.SessionsEventsResponse.
|
8
|
+
export declare type SessionsEventsResponse = Airtop.SessionsEventsResponse.Status | Airtop.SessionsEventsResponse.Error_ | Airtop.SessionsEventsResponse.WindowEvent | Airtop.SessionsEventsResponse.SessionEvent;
|
9
9
|
export declare namespace SessionsEventsResponse {
|
10
|
-
interface SessionEvent extends Airtop.SessionsEventsResponseSessionEvent {
|
11
|
-
event: "sessionEvent";
|
12
|
-
}
|
13
10
|
interface Status extends Airtop.SessionsEventsResponseStatus {
|
14
11
|
event: "status";
|
15
12
|
}
|
@@ -19,4 +16,7 @@ export declare namespace SessionsEventsResponse {
|
|
19
16
|
interface WindowEvent extends Airtop.SessionsEventsResponseWindowEvent {
|
20
17
|
event: "windowEvent";
|
21
18
|
}
|
19
|
+
interface SessionEvent extends Airtop.SessionsEventsResponseSessionEvent {
|
20
|
+
event: "sessionEvent";
|
21
|
+
}
|
22
22
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
-
export * from "./SessionsEventsResponseSessionEvent";
|
3
2
|
export * from "./SessionsEventsResponseStatus";
|
4
3
|
export * from "./SessionsEventsResponseError";
|
5
4
|
export * from "./SessionsEventsResponseWindowEvent";
|
5
|
+
export * from "./SessionsEventsResponseSessionEvent";
|
6
6
|
export * from "./SessionsEventsResponse";
|
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./SessionsListRequestStatus"), exports);
|
18
|
-
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
19
18
|
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
20
19
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
21
20
|
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
21
|
+
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
22
22
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
@@ -68,8 +68,8 @@ class Windows {
|
|
68
68
|
Authorization: yield this._getAuthorizationHeader(),
|
69
69
|
"X-Fern-Language": "JavaScript",
|
70
70
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
71
|
-
"X-Fern-SDK-Version": "0.1.
|
72
|
-
"User-Agent": "@airtop/sdk/0.1.
|
71
|
+
"X-Fern-SDK-Version": "0.1.33",
|
72
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
73
73
|
"X-Fern-Runtime": core.RUNTIME.type,
|
74
74
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
75
75
|
},
|
@@ -144,8 +144,8 @@ class Windows {
|
|
144
144
|
Authorization: yield this._getAuthorizationHeader(),
|
145
145
|
"X-Fern-Language": "JavaScript",
|
146
146
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
147
|
-
"X-Fern-SDK-Version": "0.1.
|
148
|
-
"User-Agent": "@airtop/sdk/0.1.
|
147
|
+
"X-Fern-SDK-Version": "0.1.33",
|
148
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
149
149
|
"X-Fern-Runtime": core.RUNTIME.type,
|
150
150
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
151
151
|
},
|
@@ -209,8 +209,8 @@ class Windows {
|
|
209
209
|
Authorization: yield this._getAuthorizationHeader(),
|
210
210
|
"X-Fern-Language": "JavaScript",
|
211
211
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
212
|
-
"X-Fern-SDK-Version": "0.1.
|
213
|
-
"User-Agent": "@airtop/sdk/0.1.
|
212
|
+
"X-Fern-SDK-Version": "0.1.33",
|
213
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
214
214
|
"X-Fern-Runtime": core.RUNTIME.type,
|
215
215
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
216
216
|
},
|
@@ -271,8 +271,8 @@ class Windows {
|
|
271
271
|
Authorization: yield this._getAuthorizationHeader(),
|
272
272
|
"X-Fern-Language": "JavaScript",
|
273
273
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
274
|
-
"X-Fern-SDK-Version": "0.1.
|
275
|
-
"User-Agent": "@airtop/sdk/0.1.
|
274
|
+
"X-Fern-SDK-Version": "0.1.33",
|
275
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
276
276
|
"X-Fern-Runtime": core.RUNTIME.type,
|
277
277
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
278
278
|
},
|
@@ -335,8 +335,8 @@ class Windows {
|
|
335
335
|
Authorization: yield this._getAuthorizationHeader(),
|
336
336
|
"X-Fern-Language": "JavaScript",
|
337
337
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
338
|
-
"X-Fern-SDK-Version": "0.1.
|
339
|
-
"User-Agent": "@airtop/sdk/0.1.
|
338
|
+
"X-Fern-SDK-Version": "0.1.33",
|
339
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
340
340
|
"X-Fern-Runtime": core.RUNTIME.type,
|
341
341
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
342
342
|
},
|
@@ -400,8 +400,8 @@ class Windows {
|
|
400
400
|
Authorization: yield this._getAuthorizationHeader(),
|
401
401
|
"X-Fern-Language": "JavaScript",
|
402
402
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
403
|
-
"X-Fern-SDK-Version": "0.1.
|
404
|
-
"User-Agent": "@airtop/sdk/0.1.
|
403
|
+
"X-Fern-SDK-Version": "0.1.33",
|
404
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
405
405
|
"X-Fern-Runtime": core.RUNTIME.type,
|
406
406
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
407
407
|
},
|
@@ -463,8 +463,8 @@ class Windows {
|
|
463
463
|
Authorization: yield this._getAuthorizationHeader(),
|
464
464
|
"X-Fern-Language": "JavaScript",
|
465
465
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
466
|
-
"X-Fern-SDK-Version": "0.1.
|
467
|
-
"User-Agent": "@airtop/sdk/0.1.
|
466
|
+
"X-Fern-SDK-Version": "0.1.33",
|
467
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
468
468
|
"X-Fern-Runtime": core.RUNTIME.type,
|
469
469
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
470
470
|
},
|
@@ -530,8 +530,8 @@ class Windows {
|
|
530
530
|
Authorization: yield this._getAuthorizationHeader(),
|
531
531
|
"X-Fern-Language": "JavaScript",
|
532
532
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
533
|
-
"X-Fern-SDK-Version": "0.1.
|
534
|
-
"User-Agent": "@airtop/sdk/0.1.
|
533
|
+
"X-Fern-SDK-Version": "0.1.33",
|
534
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
535
535
|
"X-Fern-Runtime": core.RUNTIME.type,
|
536
536
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
537
537
|
},
|
@@ -597,8 +597,8 @@ class Windows {
|
|
597
597
|
Authorization: yield this._getAuthorizationHeader(),
|
598
598
|
"X-Fern-Language": "JavaScript",
|
599
599
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
600
|
-
"X-Fern-SDK-Version": "0.1.
|
601
|
-
"User-Agent": "@airtop/sdk/0.1.
|
600
|
+
"X-Fern-SDK-Version": "0.1.33",
|
601
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
602
602
|
"X-Fern-Runtime": core.RUNTIME.type,
|
603
603
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
604
604
|
},
|
@@ -664,8 +664,8 @@ class Windows {
|
|
664
664
|
Authorization: yield this._getAuthorizationHeader(),
|
665
665
|
"X-Fern-Language": "JavaScript",
|
666
666
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
667
|
-
"X-Fern-SDK-Version": "0.1.
|
668
|
-
"User-Agent": "@airtop/sdk/0.1.
|
667
|
+
"X-Fern-SDK-Version": "0.1.33",
|
668
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
669
669
|
"X-Fern-Runtime": core.RUNTIME.type,
|
670
670
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
671
671
|
},
|
@@ -729,8 +729,8 @@ class Windows {
|
|
729
729
|
Authorization: yield this._getAuthorizationHeader(),
|
730
730
|
"X-Fern-Language": "JavaScript",
|
731
731
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
732
|
-
"X-Fern-SDK-Version": "0.1.
|
733
|
-
"User-Agent": "@airtop/sdk/0.1.
|
732
|
+
"X-Fern-SDK-Version": "0.1.33",
|
733
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
734
734
|
"X-Fern-Runtime": core.RUNTIME.type,
|
735
735
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
736
736
|
},
|
@@ -792,8 +792,8 @@ class Windows {
|
|
792
792
|
Authorization: yield this._getAuthorizationHeader(),
|
793
793
|
"X-Fern-Language": "JavaScript",
|
794
794
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
795
|
-
"X-Fern-SDK-Version": "0.1.
|
796
|
-
"User-Agent": "@airtop/sdk/0.1.
|
795
|
+
"X-Fern-SDK-Version": "0.1.33",
|
796
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
797
797
|
"X-Fern-Runtime": core.RUNTIME.type,
|
798
798
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
799
799
|
},
|
@@ -857,8 +857,8 @@ class Windows {
|
|
857
857
|
Authorization: yield this._getAuthorizationHeader(),
|
858
858
|
"X-Fern-Language": "JavaScript",
|
859
859
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
860
|
-
"X-Fern-SDK-Version": "0.1.
|
861
|
-
"User-Agent": "@airtop/sdk/0.1.
|
860
|
+
"X-Fern-SDK-Version": "0.1.33",
|
861
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
862
862
|
"X-Fern-Runtime": core.RUNTIME.type,
|
863
863
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
864
864
|
},
|
@@ -920,8 +920,8 @@ class Windows {
|
|
920
920
|
Authorization: yield this._getAuthorizationHeader(),
|
921
921
|
"X-Fern-Language": "JavaScript",
|
922
922
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
923
|
-
"X-Fern-SDK-Version": "0.1.
|
924
|
-
"User-Agent": "@airtop/sdk/0.1.
|
923
|
+
"X-Fern-SDK-Version": "0.1.33",
|
924
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
925
925
|
"X-Fern-Runtime": core.RUNTIME.type,
|
926
926
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
927
927
|
},
|
@@ -987,8 +987,8 @@ class Windows {
|
|
987
987
|
Authorization: yield this._getAuthorizationHeader(),
|
988
988
|
"X-Fern-Language": "JavaScript",
|
989
989
|
"X-Fern-SDK-Name": "@airtop/sdk",
|
990
|
-
"X-Fern-SDK-Version": "0.1.
|
991
|
-
"User-Agent": "@airtop/sdk/0.1.
|
990
|
+
"X-Fern-SDK-Version": "0.1.33",
|
991
|
+
"User-Agent": "@airtop/sdk/0.1.33",
|
992
992
|
"X-Fern-Runtime": core.RUNTIME.type,
|
993
993
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
994
994
|
},
|
@@ -5,6 +5,8 @@ import * as Airtop from "../index";
|
|
5
5
|
export interface SessionConfigV1 {
|
6
6
|
/** Deprecated: Use profileName instead. */
|
7
7
|
baseProfileId?: string;
|
8
|
+
/** Google Web Store extension IDs to be loaded into the session. */
|
9
|
+
extensionIds?: string[];
|
8
10
|
/** Deprecated: use Save Profile On Termination API instead. */
|
9
11
|
persistProfile?: boolean;
|
10
12
|
/** Name of a profile to load into the session. */
|
@@ -4,16 +4,13 @@
|
|
4
4
|
import * as serializers from "../../../index";
|
5
5
|
import * as Airtop from "../../../../api/index";
|
6
6
|
import * as core from "../../../../core";
|
7
|
-
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
8
7
|
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
9
8
|
import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
|
10
9
|
import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
|
10
|
+
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
11
11
|
export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
|
12
12
|
export declare namespace SessionsEventsResponse {
|
13
|
-
type Raw = SessionsEventsResponse.
|
14
|
-
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
15
|
-
event: "sessionEvent";
|
16
|
-
}
|
13
|
+
type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent;
|
17
14
|
interface Status extends SessionsEventsResponseStatus.Raw {
|
18
15
|
event: "status";
|
19
16
|
}
|
@@ -23,4 +20,7 @@ export declare namespace SessionsEventsResponse {
|
|
23
20
|
interface WindowEvent extends SessionsEventsResponseWindowEvent.Raw {
|
24
21
|
event: "windowEvent";
|
25
22
|
}
|
23
|
+
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
24
|
+
event: "sessionEvent";
|
25
|
+
}
|
26
26
|
}
|
@@ -28,16 +28,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.SessionsEventsResponse = void 0;
|
30
30
|
const core = __importStar(require("../../../../core"));
|
31
|
-
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
32
31
|
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
33
32
|
const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
|
34
33
|
const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
|
34
|
+
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
35
35
|
exports.SessionsEventsResponse = core.serialization
|
36
36
|
.union("event", {
|
37
|
-
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
38
37
|
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
39
38
|
error: SessionsEventsResponseError_1.SessionsEventsResponseError,
|
40
39
|
windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
|
40
|
+
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
41
41
|
})
|
42
42
|
.transform({
|
43
43
|
transform: (value) => value,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
-
export * from "./SessionsEventsResponseSessionEvent";
|
3
2
|
export * from "./SessionsEventsResponseStatus";
|
4
3
|
export * from "./SessionsEventsResponseError";
|
5
4
|
export * from "./SessionsEventsResponseWindowEvent";
|
5
|
+
export * from "./SessionsEventsResponseSessionEvent";
|
6
6
|
export * from "./SessionsEventsResponse";
|
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./SessionsListRequestStatus"), exports);
|
18
|
-
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
19
18
|
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
20
19
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
21
20
|
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
21
|
+
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
22
22
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
@@ -9,6 +9,7 @@ export declare const SessionConfigV1: core.serialization.ObjectSchema<serializer
|
|
9
9
|
export declare namespace SessionConfigV1 {
|
10
10
|
interface Raw {
|
11
11
|
baseProfileId?: string | null;
|
12
|
+
extensionIds?: string[] | null;
|
12
13
|
persistProfile?: boolean | null;
|
13
14
|
profileName?: string | null;
|
14
15
|
proxy?: SessionConfigV1Proxy.Raw | null;
|
@@ -31,6 +31,7 @@ const core = __importStar(require("../../core"));
|
|
31
31
|
const SessionConfigV1Proxy_1 = require("./SessionConfigV1Proxy");
|
32
32
|
exports.SessionConfigV1 = core.serialization.object({
|
33
33
|
baseProfileId: core.serialization.string().optional(),
|
34
|
+
extensionIds: core.serialization.list(core.serialization.string()).optional(),
|
34
35
|
persistProfile: core.serialization.boolean().optional(),
|
35
36
|
profileName: core.serialization.string().optional(),
|
36
37
|
proxy: SessionConfigV1Proxy_1.SessionConfigV1Proxy.optional(),
|
package/package.json
CHANGED
@@ -4,16 +4,13 @@
|
|
4
4
|
import * as serializers from "../../../index";
|
5
5
|
import * as Airtop from "../../../../api/index";
|
6
6
|
import * as core from "../../../../core";
|
7
|
-
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
8
7
|
import { SessionsEventsResponseStatus } from "./SessionsEventsResponseStatus";
|
9
8
|
import { SessionsEventsResponseError } from "./SessionsEventsResponseError";
|
10
9
|
import { SessionsEventsResponseWindowEvent } from "./SessionsEventsResponseWindowEvent";
|
10
|
+
import { SessionsEventsResponseSessionEvent } from "./SessionsEventsResponseSessionEvent";
|
11
11
|
export declare const SessionsEventsResponse: core.serialization.Schema<serializers.SessionsEventsResponse.Raw, Airtop.SessionsEventsResponse>;
|
12
12
|
export declare namespace SessionsEventsResponse {
|
13
|
-
type Raw = SessionsEventsResponse.
|
14
|
-
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
15
|
-
event: "sessionEvent";
|
16
|
-
}
|
13
|
+
type Raw = SessionsEventsResponse.Status | SessionsEventsResponse.Error | SessionsEventsResponse.WindowEvent | SessionsEventsResponse.SessionEvent;
|
17
14
|
interface Status extends SessionsEventsResponseStatus.Raw {
|
18
15
|
event: "status";
|
19
16
|
}
|
@@ -23,4 +20,7 @@ export declare namespace SessionsEventsResponse {
|
|
23
20
|
interface WindowEvent extends SessionsEventsResponseWindowEvent.Raw {
|
24
21
|
event: "windowEvent";
|
25
22
|
}
|
23
|
+
interface SessionEvent extends SessionsEventsResponseSessionEvent.Raw {
|
24
|
+
event: "sessionEvent";
|
25
|
+
}
|
26
26
|
}
|
@@ -28,16 +28,16 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.SessionsEventsResponse = void 0;
|
30
30
|
const core = __importStar(require("../../../../core"));
|
31
|
-
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
32
31
|
const SessionsEventsResponseStatus_1 = require("./SessionsEventsResponseStatus");
|
33
32
|
const SessionsEventsResponseError_1 = require("./SessionsEventsResponseError");
|
34
33
|
const SessionsEventsResponseWindowEvent_1 = require("./SessionsEventsResponseWindowEvent");
|
34
|
+
const SessionsEventsResponseSessionEvent_1 = require("./SessionsEventsResponseSessionEvent");
|
35
35
|
exports.SessionsEventsResponse = core.serialization
|
36
36
|
.union("event", {
|
37
|
-
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
38
37
|
status: SessionsEventsResponseStatus_1.SessionsEventsResponseStatus,
|
39
38
|
error: SessionsEventsResponseError_1.SessionsEventsResponseError,
|
40
39
|
windowEvent: SessionsEventsResponseWindowEvent_1.SessionsEventsResponseWindowEvent,
|
40
|
+
sessionEvent: SessionsEventsResponseSessionEvent_1.SessionsEventsResponseSessionEvent,
|
41
41
|
})
|
42
42
|
.transform({
|
43
43
|
transform: (value) => value,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from "./SessionsListRequestStatus";
|
2
|
-
export * from "./SessionsEventsResponseSessionEvent";
|
3
2
|
export * from "./SessionsEventsResponseStatus";
|
4
3
|
export * from "./SessionsEventsResponseError";
|
5
4
|
export * from "./SessionsEventsResponseWindowEvent";
|
5
|
+
export * from "./SessionsEventsResponseSessionEvent";
|
6
6
|
export * from "./SessionsEventsResponse";
|
@@ -15,8 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./SessionsListRequestStatus"), exports);
|
18
|
-
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
19
18
|
__exportStar(require("./SessionsEventsResponseStatus"), exports);
|
20
19
|
__exportStar(require("./SessionsEventsResponseError"), exports);
|
21
20
|
__exportStar(require("./SessionsEventsResponseWindowEvent"), exports);
|
21
|
+
__exportStar(require("./SessionsEventsResponseSessionEvent"), exports);
|
22
22
|
__exportStar(require("./SessionsEventsResponse"), exports);
|
@@ -9,6 +9,7 @@ export declare const SessionConfigV1: core.serialization.ObjectSchema<serializer
|
|
9
9
|
export declare namespace SessionConfigV1 {
|
10
10
|
interface Raw {
|
11
11
|
baseProfileId?: string | null;
|
12
|
+
extensionIds?: string[] | null;
|
12
13
|
persistProfile?: boolean | null;
|
13
14
|
profileName?: string | null;
|
14
15
|
proxy?: SessionConfigV1Proxy.Raw | null;
|
@@ -31,6 +31,7 @@ const core = __importStar(require("../../core"));
|
|
31
31
|
const SessionConfigV1Proxy_1 = require("./SessionConfigV1Proxy");
|
32
32
|
exports.SessionConfigV1 = core.serialization.object({
|
33
33
|
baseProfileId: core.serialization.string().optional(),
|
34
|
+
extensionIds: core.serialization.list(core.serialization.string()).optional(),
|
34
35
|
persistProfile: core.serialization.boolean().optional(),
|
35
36
|
profileName: core.serialization.string().optional(),
|
36
37
|
proxy: SessionConfigV1Proxy_1.SessionConfigV1Proxy.optional(),
|