@airtop/sdk 0.1.0 → 0.1.2
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/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/profiles/client/Client.js +4 -4
- package/api/resources/sessions/client/Client.js +10 -10
- package/api/resources/windows/client/Client.d.ts +30 -0
- package/api/resources/windows/client/Client.js +191 -9
- package/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +16 -0
- package/api/resources/windows/client/requests/CreateWindowInputV1Body.js +5 -0
- package/api/resources/windows/client/requests/PromptContentRequest.d.ts +3 -0
- package/api/resources/windows/client/requests/SummarizeContentRequest.d.ts +3 -0
- package/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +16 -0
- package/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +5 -0
- package/api/resources/windows/client/requests/index.d.ts +2 -0
- package/api/resources/windows/index.d.ts +1 -0
- package/api/resources/windows/index.js +1 -0
- package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +11 -0
- package/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +10 -0
- package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +11 -0
- package/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +10 -0
- package/api/resources/windows/types/index.d.ts +2 -0
- package/api/resources/windows/types/index.js +18 -0
- package/api/types/EmptyResponse.d.ts +10 -0
- package/api/types/EmptyResponse.js +5 -0
- package/api/types/EmptyResponseJson.d.ts +7 -0
- package/api/types/EmptyResponseJson.js +5 -0
- package/api/types/EnvelopeStatusDefaultMeta.d.ts +8 -0
- package/api/types/EnvelopeStatusDefaultMeta.js +5 -0
- package/api/types/EnvelopeStatusDefaultMetaStatus.d.ts +9 -0
- package/api/types/EnvelopeStatusDefaultMetaStatus.js +11 -0
- package/api/types/PromptContentConfig.d.ts +8 -0
- package/api/types/PromptContentConfig.js +5 -0
- package/api/types/PromptContentExperimentalConfig.d.ts +7 -0
- package/api/types/PromptContentExperimentalConfig.js +5 -0
- package/api/types/SummaryConfig.d.ts +7 -0
- package/api/types/SummaryConfig.js +5 -0
- package/api/types/SummaryExperimentalConfig.d.ts +7 -0
- package/api/types/SummaryExperimentalConfig.js +5 -0
- package/api/types/WindowId.d.ts +9 -0
- package/api/types/WindowId.js +5 -0
- package/api/types/WindowIdResponse.d.ts +10 -0
- package/api/types/WindowIdResponse.js +5 -0
- package/api/types/index.d.ts +10 -0
- package/api/types/index.js +10 -0
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/profiles/client/Client.js +4 -4
- package/dist/api/resources/sessions/client/Client.js +10 -10
- package/dist/api/resources/windows/client/Client.d.ts +30 -0
- package/dist/api/resources/windows/client/Client.js +191 -9
- package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +16 -0
- package/dist/api/resources/windows/client/requests/CreateWindowInputV1Body.js +5 -0
- package/dist/api/resources/windows/client/requests/PromptContentRequest.d.ts +3 -0
- package/dist/api/resources/windows/client/requests/SummarizeContentRequest.d.ts +3 -0
- package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +16 -0
- package/dist/api/resources/windows/client/requests/WindowLoadUrlV1Body.js +5 -0
- package/dist/api/resources/windows/client/requests/index.d.ts +2 -0
- package/dist/api/resources/windows/index.d.ts +1 -0
- package/dist/api/resources/windows/index.js +1 -0
- package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +11 -0
- package/dist/api/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +10 -0
- package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +11 -0
- package/dist/api/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +10 -0
- package/dist/api/resources/windows/types/index.d.ts +2 -0
- package/dist/api/resources/windows/types/index.js +18 -0
- package/dist/api/types/EmptyResponse.d.ts +10 -0
- package/dist/api/types/EmptyResponse.js +5 -0
- package/dist/api/types/EmptyResponseJson.d.ts +7 -0
- package/dist/api/types/EmptyResponseJson.js +5 -0
- package/dist/api/types/EnvelopeStatusDefaultMeta.d.ts +8 -0
- package/dist/api/types/EnvelopeStatusDefaultMeta.js +5 -0
- package/dist/api/types/EnvelopeStatusDefaultMetaStatus.d.ts +9 -0
- package/dist/api/types/EnvelopeStatusDefaultMetaStatus.js +11 -0
- package/dist/api/types/PromptContentConfig.d.ts +8 -0
- package/dist/api/types/PromptContentConfig.js +5 -0
- package/dist/api/types/PromptContentExperimentalConfig.d.ts +7 -0
- package/dist/api/types/PromptContentExperimentalConfig.js +5 -0
- package/dist/api/types/SummaryConfig.d.ts +7 -0
- package/dist/api/types/SummaryConfig.js +5 -0
- package/dist/api/types/SummaryExperimentalConfig.d.ts +7 -0
- package/dist/api/types/SummaryExperimentalConfig.js +5 -0
- package/dist/api/types/WindowId.d.ts +9 -0
- package/dist/api/types/WindowId.js +5 -0
- package/dist/api/types/WindowIdResponse.d.ts +10 -0
- package/dist/api/types/WindowIdResponse.js +5 -0
- package/dist/api/types/index.d.ts +10 -0
- package/dist/api/types/index.js +10 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +15 -0
- package/dist/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +36 -0
- package/dist/serialization/resources/windows/client/requests/PromptContentRequest.d.ts +2 -0
- package/dist/serialization/resources/windows/client/requests/PromptContentRequest.js +2 -0
- package/dist/serialization/resources/windows/client/requests/SummarizeContentRequest.d.ts +2 -0
- package/dist/serialization/resources/windows/client/requests/SummarizeContentRequest.js +2 -0
- package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +14 -0
- package/dist/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +35 -0
- package/dist/serialization/resources/windows/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/windows/client/requests/index.js +5 -1
- package/dist/serialization/resources/windows/index.d.ts +1 -0
- package/dist/serialization/resources/windows/index.js +1 -0
- package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +10 -0
- package/dist/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +31 -0
- package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +10 -0
- package/dist/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +31 -0
- package/dist/serialization/resources/windows/types/index.d.ts +2 -0
- package/dist/serialization/resources/windows/types/index.js +18 -0
- package/dist/serialization/types/EmptyResponse.d.ts +18 -0
- package/dist/serialization/types/EmptyResponse.js +39 -0
- package/dist/serialization/types/EmptyResponseJson.d.ts +12 -0
- package/dist/serialization/types/EmptyResponseJson.js +33 -0
- package/dist/serialization/types/EnvelopeStatusDefaultMeta.d.ts +14 -0
- package/dist/serialization/types/EnvelopeStatusDefaultMeta.js +35 -0
- package/dist/serialization/types/EnvelopeStatusDefaultMetaStatus.d.ts +10 -0
- package/dist/serialization/types/EnvelopeStatusDefaultMetaStatus.js +31 -0
- package/dist/serialization/types/PromptContentConfig.d.ts +13 -0
- package/dist/serialization/types/PromptContentConfig.js +34 -0
- package/dist/serialization/types/PromptContentExperimentalConfig.d.ts +12 -0
- package/dist/serialization/types/PromptContentExperimentalConfig.js +33 -0
- package/dist/serialization/types/SummaryConfig.d.ts +13 -0
- package/dist/serialization/types/SummaryConfig.js +34 -0
- package/dist/serialization/types/SummaryExperimentalConfig.d.ts +12 -0
- package/dist/serialization/types/SummaryExperimentalConfig.js +33 -0
- package/dist/serialization/types/WindowId.d.ts +13 -0
- package/dist/serialization/types/WindowId.js +34 -0
- package/dist/serialization/types/WindowIdResponse.d.ts +18 -0
- package/dist/serialization/types/WindowIdResponse.js +39 -0
- package/dist/serialization/types/index.d.ts +10 -0
- package/dist/serialization/types/index.js +10 -0
- package/dist/wrapper/AirtopWindows.d.ts +3 -0
- package/dist/wrapper/AirtopWindows.js +15 -0
- package/package.json +1 -1
- package/reference.md +178 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.d.ts +15 -0
- package/serialization/resources/windows/client/requests/CreateWindowInputV1Body.js +36 -0
- package/serialization/resources/windows/client/requests/PromptContentRequest.d.ts +2 -0
- package/serialization/resources/windows/client/requests/PromptContentRequest.js +2 -0
- package/serialization/resources/windows/client/requests/SummarizeContentRequest.d.ts +2 -0
- package/serialization/resources/windows/client/requests/SummarizeContentRequest.js +2 -0
- package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.d.ts +14 -0
- package/serialization/resources/windows/client/requests/WindowLoadUrlV1Body.js +35 -0
- package/serialization/resources/windows/client/requests/index.d.ts +2 -0
- package/serialization/resources/windows/client/requests/index.js +5 -1
- package/serialization/resources/windows/index.d.ts +1 -0
- package/serialization/resources/windows/index.js +1 -0
- package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.d.ts +10 -0
- package/serialization/resources/windows/types/CreateWindowInputV1BodyWaitUntil.js +31 -0
- package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.d.ts +10 -0
- package/serialization/resources/windows/types/WindowLoadUrlV1BodyWaitUntil.js +31 -0
- package/serialization/resources/windows/types/index.d.ts +2 -0
- package/serialization/resources/windows/types/index.js +18 -0
- package/serialization/types/EmptyResponse.d.ts +18 -0
- package/serialization/types/EmptyResponse.js +39 -0
- package/serialization/types/EmptyResponseJson.d.ts +12 -0
- package/serialization/types/EmptyResponseJson.js +33 -0
- package/serialization/types/EnvelopeStatusDefaultMeta.d.ts +14 -0
- package/serialization/types/EnvelopeStatusDefaultMeta.js +35 -0
- package/serialization/types/EnvelopeStatusDefaultMetaStatus.d.ts +10 -0
- package/serialization/types/EnvelopeStatusDefaultMetaStatus.js +31 -0
- package/serialization/types/PromptContentConfig.d.ts +13 -0
- package/serialization/types/PromptContentConfig.js +34 -0
- package/serialization/types/PromptContentExperimentalConfig.d.ts +12 -0
- package/serialization/types/PromptContentExperimentalConfig.js +33 -0
- package/serialization/types/SummaryConfig.d.ts +13 -0
- package/serialization/types/SummaryConfig.js +34 -0
- package/serialization/types/SummaryExperimentalConfig.d.ts +12 -0
- package/serialization/types/SummaryExperimentalConfig.js +33 -0
- package/serialization/types/WindowId.d.ts +13 -0
- package/serialization/types/WindowId.js +34 -0
- package/serialization/types/WindowIdResponse.d.ts +18 -0
- package/serialization/types/WindowIdResponse.js +39 -0
- package/serialization/types/index.d.ts +10 -0
- package/serialization/types/index.js +10 -0
- package/wrapper/AirtopWindows.d.ts +3 -0
- package/wrapper/AirtopWindows.js +15 -0
|
@@ -44,6 +44,21 @@ class AirtopWindows {
|
|
|
44
44
|
this.apiKeySupplier = apiKeySupplier;
|
|
45
45
|
this._windows = airtopClient.windows;
|
|
46
46
|
}
|
|
47
|
+
create(sessionId, request, requestOptions) {
|
|
48
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
+
return this._windows.create(sessionId, request, requestOptions);
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
loadUrl(sessionId, windowId, request, requestOptions) {
|
|
53
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
54
|
+
return this._windows.loadUrl(sessionId, windowId, request, requestOptions);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
close(sessionId, windowId, requestOptions) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
return this._windows.close(sessionId, windowId, requestOptions);
|
|
60
|
+
});
|
|
61
|
+
}
|
|
47
62
|
getWindowInfo(sessionId, windowId, request, requestOptions) {
|
|
48
63
|
return __awaiter(this, void 0, void 0, function* () {
|
|
49
64
|
return this._windows.getWindowInfo(sessionId, windowId, request, requestOptions);
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -435,6 +435,62 @@ await client.sessions.events("string");
|
|
|
435
435
|
|
|
436
436
|
## Windows
|
|
437
437
|
|
|
438
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">create</a>(sessionId, { ...params }) -> Airtop.WindowIdResponse</code></summary>
|
|
439
|
+
<dl>
|
|
440
|
+
<dd>
|
|
441
|
+
|
|
442
|
+
#### 🔌 Usage
|
|
443
|
+
|
|
444
|
+
<dl>
|
|
445
|
+
<dd>
|
|
446
|
+
|
|
447
|
+
<dl>
|
|
448
|
+
<dd>
|
|
449
|
+
|
|
450
|
+
```typescript
|
|
451
|
+
await client.windows.create("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b");
|
|
452
|
+
```
|
|
453
|
+
|
|
454
|
+
</dd>
|
|
455
|
+
</dl>
|
|
456
|
+
</dd>
|
|
457
|
+
</dl>
|
|
458
|
+
|
|
459
|
+
#### ⚙️ Parameters
|
|
460
|
+
|
|
461
|
+
<dl>
|
|
462
|
+
<dd>
|
|
463
|
+
|
|
464
|
+
<dl>
|
|
465
|
+
<dd>
|
|
466
|
+
|
|
467
|
+
**sessionId:** `string` — ID of the session that owns the window.
|
|
468
|
+
|
|
469
|
+
</dd>
|
|
470
|
+
</dl>
|
|
471
|
+
|
|
472
|
+
<dl>
|
|
473
|
+
<dd>
|
|
474
|
+
|
|
475
|
+
**request:** `Airtop.CreateWindowInputV1Body`
|
|
476
|
+
|
|
477
|
+
</dd>
|
|
478
|
+
</dl>
|
|
479
|
+
|
|
480
|
+
<dl>
|
|
481
|
+
<dd>
|
|
482
|
+
|
|
483
|
+
**requestOptions:** `Windows.RequestOptions`
|
|
484
|
+
|
|
485
|
+
</dd>
|
|
486
|
+
</dl>
|
|
487
|
+
</dd>
|
|
488
|
+
</dl>
|
|
489
|
+
|
|
490
|
+
</dd>
|
|
491
|
+
</dl>
|
|
492
|
+
</details>
|
|
493
|
+
|
|
438
494
|
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">getWindowInfo</a>(sessionId, windowId, { ...params }) -> Airtop.WindowResponse</code></summary>
|
|
439
495
|
<dl>
|
|
440
496
|
<dd>
|
|
@@ -501,6 +557,128 @@ await client.windows.getWindowInfo("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334
|
|
|
501
557
|
</dl>
|
|
502
558
|
</details>
|
|
503
559
|
|
|
560
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">loadUrl</a>(sessionId, windowId, { ...params }) -> Airtop.EmptyResponse</code></summary>
|
|
561
|
+
<dl>
|
|
562
|
+
<dd>
|
|
563
|
+
|
|
564
|
+
#### 🔌 Usage
|
|
565
|
+
|
|
566
|
+
<dl>
|
|
567
|
+
<dd>
|
|
568
|
+
|
|
569
|
+
<dl>
|
|
570
|
+
<dd>
|
|
571
|
+
|
|
572
|
+
```typescript
|
|
573
|
+
await client.windows.loadUrl("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430", {
|
|
574
|
+
url: "https://www.airtop.ai",
|
|
575
|
+
});
|
|
576
|
+
```
|
|
577
|
+
|
|
578
|
+
</dd>
|
|
579
|
+
</dl>
|
|
580
|
+
</dd>
|
|
581
|
+
</dl>
|
|
582
|
+
|
|
583
|
+
#### ⚙️ Parameters
|
|
584
|
+
|
|
585
|
+
<dl>
|
|
586
|
+
<dd>
|
|
587
|
+
|
|
588
|
+
<dl>
|
|
589
|
+
<dd>
|
|
590
|
+
|
|
591
|
+
**sessionId:** `string` — ID of the session that owns the window.
|
|
592
|
+
|
|
593
|
+
</dd>
|
|
594
|
+
</dl>
|
|
595
|
+
|
|
596
|
+
<dl>
|
|
597
|
+
<dd>
|
|
598
|
+
|
|
599
|
+
**windowId:** `string` — Airtop window ID of the browser window.
|
|
600
|
+
|
|
601
|
+
</dd>
|
|
602
|
+
</dl>
|
|
603
|
+
|
|
604
|
+
<dl>
|
|
605
|
+
<dd>
|
|
606
|
+
|
|
607
|
+
**request:** `Airtop.WindowLoadUrlV1Body`
|
|
608
|
+
|
|
609
|
+
</dd>
|
|
610
|
+
</dl>
|
|
611
|
+
|
|
612
|
+
<dl>
|
|
613
|
+
<dd>
|
|
614
|
+
|
|
615
|
+
**requestOptions:** `Windows.RequestOptions`
|
|
616
|
+
|
|
617
|
+
</dd>
|
|
618
|
+
</dl>
|
|
619
|
+
</dd>
|
|
620
|
+
</dl>
|
|
621
|
+
|
|
622
|
+
</dd>
|
|
623
|
+
</dl>
|
|
624
|
+
</details>
|
|
625
|
+
|
|
626
|
+
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">close</a>(sessionId, windowId) -> Airtop.WindowIdResponse</code></summary>
|
|
627
|
+
<dl>
|
|
628
|
+
<dd>
|
|
629
|
+
|
|
630
|
+
#### 🔌 Usage
|
|
631
|
+
|
|
632
|
+
<dl>
|
|
633
|
+
<dd>
|
|
634
|
+
|
|
635
|
+
<dl>
|
|
636
|
+
<dd>
|
|
637
|
+
|
|
638
|
+
```typescript
|
|
639
|
+
await client.windows.close("6aac6f73-bd89-4a76-ab32-5a6c422e8b0b", "7334da2a-91b0-42c5-6156-76a5eba87430");
|
|
640
|
+
```
|
|
641
|
+
|
|
642
|
+
</dd>
|
|
643
|
+
</dl>
|
|
644
|
+
</dd>
|
|
645
|
+
</dl>
|
|
646
|
+
|
|
647
|
+
#### ⚙️ Parameters
|
|
648
|
+
|
|
649
|
+
<dl>
|
|
650
|
+
<dd>
|
|
651
|
+
|
|
652
|
+
<dl>
|
|
653
|
+
<dd>
|
|
654
|
+
|
|
655
|
+
**sessionId:** `string` — ID of the session that owns the window.
|
|
656
|
+
|
|
657
|
+
</dd>
|
|
658
|
+
</dl>
|
|
659
|
+
|
|
660
|
+
<dl>
|
|
661
|
+
<dd>
|
|
662
|
+
|
|
663
|
+
**windowId:** `string` — Airtop window ID of the browser window.
|
|
664
|
+
|
|
665
|
+
</dd>
|
|
666
|
+
</dl>
|
|
667
|
+
|
|
668
|
+
<dl>
|
|
669
|
+
<dd>
|
|
670
|
+
|
|
671
|
+
**requestOptions:** `Windows.RequestOptions`
|
|
672
|
+
|
|
673
|
+
</dd>
|
|
674
|
+
</dl>
|
|
675
|
+
</dd>
|
|
676
|
+
</dl>
|
|
677
|
+
|
|
678
|
+
</dd>
|
|
679
|
+
</dl>
|
|
680
|
+
</details>
|
|
681
|
+
|
|
504
682
|
<details><summary><code>client.windows.<a href="/src/api/resources/windows/client/Client.ts">promptContent</a>(sessionId, windowId, { ...params }) -> Airtop.AiPromptResponse</code></summary>
|
|
505
683
|
<dl>
|
|
506
684
|
<dd>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * as sessions from "./sessions";
|
|
2
2
|
export * from "./sessions/types";
|
|
3
|
-
export * from "./sessions/client/requests";
|
|
4
3
|
export * as windows from "./windows";
|
|
4
|
+
export * from "./windows/types";
|
|
5
|
+
export * from "./sessions/client/requests";
|
|
5
6
|
export * from "./windows/client/requests";
|
|
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.windows = exports.sessions = void 0;
|
|
30
30
|
exports.sessions = __importStar(require("./sessions"));
|
|
31
31
|
__exportStar(require("./sessions/types"), exports);
|
|
32
|
-
__exportStar(require("./sessions/client/requests"), exports);
|
|
33
32
|
exports.windows = __importStar(require("./windows"));
|
|
33
|
+
__exportStar(require("./windows/types"), exports);
|
|
34
|
+
__exportStar(require("./sessions/client/requests"), exports);
|
|
34
35
|
__exportStar(require("./windows/client/requests"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Airtop from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
import { CreateWindowInputV1BodyWaitUntil } from "../../types/CreateWindowInputV1BodyWaitUntil";
|
|
8
|
+
export declare const CreateWindowInputV1Body: core.serialization.Schema<serializers.CreateWindowInputV1Body.Raw, Airtop.CreateWindowInputV1Body>;
|
|
9
|
+
export declare namespace CreateWindowInputV1Body {
|
|
10
|
+
interface Raw {
|
|
11
|
+
screenResolution?: string | null;
|
|
12
|
+
url?: string | null;
|
|
13
|
+
waitUntil?: CreateWindowInputV1BodyWaitUntil.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateWindowInputV1Body = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
const CreateWindowInputV1BodyWaitUntil_1 = require("../../types/CreateWindowInputV1BodyWaitUntil");
|
|
32
|
+
exports.CreateWindowInputV1Body = core.serialization.object({
|
|
33
|
+
screenResolution: core.serialization.string().optional(),
|
|
34
|
+
url: core.serialization.string().optional(),
|
|
35
|
+
waitUntil: CreateWindowInputV1BodyWaitUntil_1.CreateWindowInputV1BodyWaitUntil.optional(),
|
|
36
|
+
});
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../../../index";
|
|
5
5
|
import * as Airtop from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
|
+
import { PromptContentConfig } from "../../../../types/PromptContentConfig";
|
|
7
8
|
export declare const PromptContentRequest: core.serialization.Schema<serializers.PromptContentRequest.Raw, Airtop.PromptContentRequest>;
|
|
8
9
|
export declare namespace PromptContentRequest {
|
|
9
10
|
interface Raw {
|
|
10
11
|
clientRequestId?: string | null;
|
|
12
|
+
configuration?: PromptContentConfig.Raw | null;
|
|
11
13
|
costThresholdCredits?: number | null;
|
|
12
14
|
followPaginationLinks?: boolean | null;
|
|
13
15
|
prompt: string;
|
|
@@ -28,8 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PromptContentRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
const PromptContentConfig_1 = require("../../../../types/PromptContentConfig");
|
|
31
32
|
exports.PromptContentRequest = core.serialization.object({
|
|
32
33
|
clientRequestId: core.serialization.string().optional(),
|
|
34
|
+
configuration: PromptContentConfig_1.PromptContentConfig.optional(),
|
|
33
35
|
costThresholdCredits: core.serialization.number().optional(),
|
|
34
36
|
followPaginationLinks: core.serialization.boolean().optional(),
|
|
35
37
|
prompt: core.serialization.string(),
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../../../../index";
|
|
5
5
|
import * as Airtop from "../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
|
+
import { SummaryConfig } from "../../../../types/SummaryConfig";
|
|
7
8
|
export declare const SummarizeContentRequest: core.serialization.Schema<serializers.SummarizeContentRequest.Raw, Airtop.SummarizeContentRequest>;
|
|
8
9
|
export declare namespace SummarizeContentRequest {
|
|
9
10
|
interface Raw {
|
|
10
11
|
clientRequestId?: string | null;
|
|
12
|
+
configuration?: SummaryConfig.Raw | null;
|
|
11
13
|
costThresholdCredits?: number | null;
|
|
12
14
|
prompt?: string | null;
|
|
13
15
|
timeThresholdSeconds?: number | null;
|
|
@@ -28,8 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.SummarizeContentRequest = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
const SummaryConfig_1 = require("../../../../types/SummaryConfig");
|
|
31
32
|
exports.SummarizeContentRequest = core.serialization.object({
|
|
32
33
|
clientRequestId: core.serialization.string().optional(),
|
|
34
|
+
configuration: SummaryConfig_1.SummaryConfig.optional(),
|
|
33
35
|
costThresholdCredits: core.serialization.number().optional(),
|
|
34
36
|
prompt: core.serialization.string().optional(),
|
|
35
37
|
timeThresholdSeconds: core.serialization.number().optional(),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Airtop from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
import { WindowLoadUrlV1BodyWaitUntil } from "../../types/WindowLoadUrlV1BodyWaitUntil";
|
|
8
|
+
export declare const WindowLoadUrlV1Body: core.serialization.Schema<serializers.WindowLoadUrlV1Body.Raw, Airtop.WindowLoadUrlV1Body>;
|
|
9
|
+
export declare namespace WindowLoadUrlV1Body {
|
|
10
|
+
interface Raw {
|
|
11
|
+
url: string;
|
|
12
|
+
waitUntil?: WindowLoadUrlV1BodyWaitUntil.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.WindowLoadUrlV1Body = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../core"));
|
|
31
|
+
const WindowLoadUrlV1BodyWaitUntil_1 = require("../../types/WindowLoadUrlV1BodyWaitUntil");
|
|
32
|
+
exports.WindowLoadUrlV1Body = core.serialization.object({
|
|
33
|
+
url: core.serialization.string(),
|
|
34
|
+
waitUntil: WindowLoadUrlV1BodyWaitUntil_1.WindowLoadUrlV1BodyWaitUntil.optional(),
|
|
35
|
+
});
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { CreateWindowInputV1Body } from "./CreateWindowInputV1Body";
|
|
2
|
+
export { WindowLoadUrlV1Body } from "./WindowLoadUrlV1Body";
|
|
1
3
|
export { PromptContentRequest } from "./PromptContentRequest";
|
|
2
4
|
export { ScrapeContentRequest } from "./ScrapeContentRequest";
|
|
3
5
|
export { SummarizeContentRequest } from "./SummarizeContentRequest";
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SummarizeContentRequest = exports.ScrapeContentRequest = exports.PromptContentRequest = void 0;
|
|
3
|
+
exports.SummarizeContentRequest = exports.ScrapeContentRequest = exports.PromptContentRequest = exports.WindowLoadUrlV1Body = exports.CreateWindowInputV1Body = void 0;
|
|
4
|
+
var CreateWindowInputV1Body_1 = require("./CreateWindowInputV1Body");
|
|
5
|
+
Object.defineProperty(exports, "CreateWindowInputV1Body", { enumerable: true, get: function () { return CreateWindowInputV1Body_1.CreateWindowInputV1Body; } });
|
|
6
|
+
var WindowLoadUrlV1Body_1 = require("./WindowLoadUrlV1Body");
|
|
7
|
+
Object.defineProperty(exports, "WindowLoadUrlV1Body", { enumerable: true, get: function () { return WindowLoadUrlV1Body_1.WindowLoadUrlV1Body; } });
|
|
4
8
|
var PromptContentRequest_1 = require("./PromptContentRequest");
|
|
5
9
|
Object.defineProperty(exports, "PromptContentRequest", { enumerable: true, get: function () { return PromptContentRequest_1.PromptContentRequest; } });
|
|
6
10
|
var ScrapeContentRequest_1 = require("./ScrapeContentRequest");
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Airtop from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const CreateWindowInputV1BodyWaitUntil: core.serialization.Schema<serializers.CreateWindowInputV1BodyWaitUntil.Raw, Airtop.CreateWindowInputV1BodyWaitUntil>;
|
|
8
|
+
export declare namespace CreateWindowInputV1BodyWaitUntil {
|
|
9
|
+
type Raw = "load" | "domContentLoaded";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.CreateWindowInputV1BodyWaitUntil = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.CreateWindowInputV1BodyWaitUntil = core.serialization.enum_(["load", "domContentLoaded"]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Airtop from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const WindowLoadUrlV1BodyWaitUntil: core.serialization.Schema<serializers.WindowLoadUrlV1BodyWaitUntil.Raw, Airtop.WindowLoadUrlV1BodyWaitUntil>;
|
|
8
|
+
export declare namespace WindowLoadUrlV1BodyWaitUntil {
|
|
9
|
+
type Raw = "load" | "domContentLoaded";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.WindowLoadUrlV1BodyWaitUntil = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.WindowLoadUrlV1BodyWaitUntil = core.serialization.enum_(["load", "domContentLoaded"]);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./CreateWindowInputV1BodyWaitUntil"), exports);
|
|
18
|
+
__exportStar(require("./WindowLoadUrlV1BodyWaitUntil"), exports);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Airtop from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { EmptyResponseJson } from "./EmptyResponseJson";
|
|
8
|
+
import { Issue } from "./Issue";
|
|
9
|
+
import { EnvelopeStatusDefaultMeta } from "./EnvelopeStatusDefaultMeta";
|
|
10
|
+
export declare const EmptyResponse: core.serialization.ObjectSchema<serializers.EmptyResponse.Raw, Airtop.EmptyResponse>;
|
|
11
|
+
export declare namespace EmptyResponse {
|
|
12
|
+
interface Raw {
|
|
13
|
+
data: EmptyResponseJson.Raw;
|
|
14
|
+
errors?: Issue.Raw[] | null;
|
|
15
|
+
meta: EnvelopeStatusDefaultMeta.Raw;
|
|
16
|
+
warnings?: Issue.Raw[] | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.EmptyResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const EmptyResponseJson_1 = require("./EmptyResponseJson");
|
|
32
|
+
const Issue_1 = require("./Issue");
|
|
33
|
+
const EnvelopeStatusDefaultMeta_1 = require("./EnvelopeStatusDefaultMeta");
|
|
34
|
+
exports.EmptyResponse = core.serialization.object({
|
|
35
|
+
data: EmptyResponseJson_1.EmptyResponseJson,
|
|
36
|
+
errors: core.serialization.list(Issue_1.Issue).optional(),
|
|
37
|
+
meta: EnvelopeStatusDefaultMeta_1.EnvelopeStatusDefaultMeta,
|
|
38
|
+
warnings: core.serialization.list(Issue_1.Issue).optional(),
|
|
39
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Airtop from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const EmptyResponseJson: core.serialization.ObjectSchema<serializers.EmptyResponseJson.Raw, Airtop.EmptyResponseJson>;
|
|
8
|
+
export declare namespace EmptyResponseJson {
|
|
9
|
+
interface Raw {
|
|
10
|
+
success: boolean;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.EmptyResponseJson = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.EmptyResponseJson = core.serialization.object({
|
|
32
|
+
success: core.serialization.boolean(),
|
|
33
|
+
});
|