cloudflare 3.0.0-beta.3 → 3.0.0-beta.6
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/CHANGELOG.md +189 -0
- package/package.json +1 -1
- package/resources/dns/records.d.ts +18 -6
- package/resources/dns/records.d.ts.map +1 -1
- package/resources/dns/records.js.map +1 -1
- package/resources/dns/records.mjs.map +1 -1
- package/resources/r2/sippy.d.ts +1 -1
- package/resources/r2/sippy.d.ts.map +1 -1
- package/resources/radar/bgp/routes.d.ts +7 -2
- package/resources/radar/bgp/routes.d.ts.map +1 -1
- package/resources/radar/bgp/routes.js.map +1 -1
- package/resources/radar/bgp/routes.mjs.map +1 -1
- package/resources/spectrum/apps.d.ts +12 -12
- package/resources/spectrum/apps.d.ts.map +1 -1
- package/resources/spectrum/apps.js.map +1 -1
- package/resources/spectrum/apps.mjs.map +1 -1
- package/resources/url-scanner/url-scanner.d.ts +4 -0
- package/resources/url-scanner/url-scanner.d.ts.map +1 -1
- package/resources/url-scanner/url-scanner.js.map +1 -1
- package/resources/url-scanner/url-scanner.mjs.map +1 -1
- package/resources/workers/ai.d.ts +114 -2
- package/resources/workers/ai.d.ts.map +1 -1
- package/resources/workers/ai.js.map +1 -1
- package/resources/workers/ai.mjs.map +1 -1
- package/resources/zero-trust/access/applications/applications.d.ts +2 -2
- package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
- package/src/resources/dns/records.ts +81 -6
- package/src/resources/r2/sippy.ts +1 -1
- package/src/resources/radar/bgp/routes.ts +8 -2
- package/src/resources/spectrum/apps.ts +12 -20
- package/src/resources/url-scanner/url-scanner.ts +5 -0
- package/src/resources/workers/ai.ts +195 -2
- package/src/resources/zero-trust/access/applications/applications.ts +2 -2
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -14434,7 +14434,27 @@ export interface RecordCreateParams {
|
|
|
14434
14434
|
/**
|
|
14435
14435
|
* Body param: Record type.
|
|
14436
14436
|
*/
|
|
14437
|
-
type:
|
|
14437
|
+
type:
|
|
14438
|
+
| 'URI'
|
|
14439
|
+
| 'TXT'
|
|
14440
|
+
| 'TLSA'
|
|
14441
|
+
| 'SVCB'
|
|
14442
|
+
| 'SSHFP'
|
|
14443
|
+
| 'SRV'
|
|
14444
|
+
| 'SMIMEA'
|
|
14445
|
+
| 'PTR'
|
|
14446
|
+
| 'NS'
|
|
14447
|
+
| 'NAPTR'
|
|
14448
|
+
| 'MX'
|
|
14449
|
+
| 'LOC'
|
|
14450
|
+
| 'HTTPS'
|
|
14451
|
+
| 'DS'
|
|
14452
|
+
| 'DNSKEY'
|
|
14453
|
+
| 'CNAME'
|
|
14454
|
+
| 'CERT'
|
|
14455
|
+
| 'CAA'
|
|
14456
|
+
| 'AAAA'
|
|
14457
|
+
| 'A';
|
|
14438
14458
|
|
|
14439
14459
|
/**
|
|
14440
14460
|
* Body param: Comments or notes about the DNS record. This field has no effect on
|
|
@@ -14442,6 +14462,11 @@ export interface RecordCreateParams {
|
|
|
14442
14462
|
*/
|
|
14443
14463
|
comment?: string;
|
|
14444
14464
|
|
|
14465
|
+
/**
|
|
14466
|
+
* Body param: Formatted URI content. See 'data' to set URI properties.
|
|
14467
|
+
*/
|
|
14468
|
+
content?: unknown;
|
|
14469
|
+
|
|
14445
14470
|
/**
|
|
14446
14471
|
* Body param:
|
|
14447
14472
|
*/
|
|
@@ -14518,7 +14543,7 @@ export namespace RecordCreateParams {
|
|
|
14518
14543
|
/**
|
|
14519
14544
|
* Flags.
|
|
14520
14545
|
*/
|
|
14521
|
-
flags?:
|
|
14546
|
+
flags?: unknown;
|
|
14522
14547
|
|
|
14523
14548
|
/**
|
|
14524
14549
|
* Key Tag.
|
|
@@ -14710,7 +14735,27 @@ export interface RecordUpdateParams {
|
|
|
14710
14735
|
/**
|
|
14711
14736
|
* Body param: Record type.
|
|
14712
14737
|
*/
|
|
14713
|
-
type:
|
|
14738
|
+
type:
|
|
14739
|
+
| 'URI'
|
|
14740
|
+
| 'TXT'
|
|
14741
|
+
| 'TLSA'
|
|
14742
|
+
| 'SVCB'
|
|
14743
|
+
| 'SSHFP'
|
|
14744
|
+
| 'SRV'
|
|
14745
|
+
| 'SMIMEA'
|
|
14746
|
+
| 'PTR'
|
|
14747
|
+
| 'NS'
|
|
14748
|
+
| 'NAPTR'
|
|
14749
|
+
| 'MX'
|
|
14750
|
+
| 'LOC'
|
|
14751
|
+
| 'HTTPS'
|
|
14752
|
+
| 'DS'
|
|
14753
|
+
| 'DNSKEY'
|
|
14754
|
+
| 'CNAME'
|
|
14755
|
+
| 'CERT'
|
|
14756
|
+
| 'CAA'
|
|
14757
|
+
| 'AAAA'
|
|
14758
|
+
| 'A';
|
|
14714
14759
|
|
|
14715
14760
|
/**
|
|
14716
14761
|
* Body param: Comments or notes about the DNS record. This field has no effect on
|
|
@@ -14718,6 +14763,11 @@ export interface RecordUpdateParams {
|
|
|
14718
14763
|
*/
|
|
14719
14764
|
comment?: string;
|
|
14720
14765
|
|
|
14766
|
+
/**
|
|
14767
|
+
* Body param: Formatted URI content. See 'data' to set URI properties.
|
|
14768
|
+
*/
|
|
14769
|
+
content?: unknown;
|
|
14770
|
+
|
|
14721
14771
|
/**
|
|
14722
14772
|
* Body param:
|
|
14723
14773
|
*/
|
|
@@ -14794,7 +14844,7 @@ export namespace RecordUpdateParams {
|
|
|
14794
14844
|
/**
|
|
14795
14845
|
* Flags.
|
|
14796
14846
|
*/
|
|
14797
|
-
flags?:
|
|
14847
|
+
flags?: unknown;
|
|
14798
14848
|
|
|
14799
14849
|
/**
|
|
14800
14850
|
* Key Tag.
|
|
@@ -15163,7 +15213,27 @@ export interface RecordEditParams {
|
|
|
15163
15213
|
/**
|
|
15164
15214
|
* Body param: Record type.
|
|
15165
15215
|
*/
|
|
15166
|
-
type:
|
|
15216
|
+
type:
|
|
15217
|
+
| 'URI'
|
|
15218
|
+
| 'TXT'
|
|
15219
|
+
| 'TLSA'
|
|
15220
|
+
| 'SVCB'
|
|
15221
|
+
| 'SSHFP'
|
|
15222
|
+
| 'SRV'
|
|
15223
|
+
| 'SMIMEA'
|
|
15224
|
+
| 'PTR'
|
|
15225
|
+
| 'NS'
|
|
15226
|
+
| 'NAPTR'
|
|
15227
|
+
| 'MX'
|
|
15228
|
+
| 'LOC'
|
|
15229
|
+
| 'HTTPS'
|
|
15230
|
+
| 'DS'
|
|
15231
|
+
| 'DNSKEY'
|
|
15232
|
+
| 'CNAME'
|
|
15233
|
+
| 'CERT'
|
|
15234
|
+
| 'CAA'
|
|
15235
|
+
| 'AAAA'
|
|
15236
|
+
| 'A';
|
|
15167
15237
|
|
|
15168
15238
|
/**
|
|
15169
15239
|
* Body param: Comments or notes about the DNS record. This field has no effect on
|
|
@@ -15171,6 +15241,11 @@ export interface RecordEditParams {
|
|
|
15171
15241
|
*/
|
|
15172
15242
|
comment?: string;
|
|
15173
15243
|
|
|
15244
|
+
/**
|
|
15245
|
+
* Body param: Formatted URI content. See 'data' to set URI properties.
|
|
15246
|
+
*/
|
|
15247
|
+
content?: unknown;
|
|
15248
|
+
|
|
15174
15249
|
/**
|
|
15175
15250
|
* Body param:
|
|
15176
15251
|
*/
|
|
@@ -15247,7 +15322,7 @@ export namespace RecordEditParams {
|
|
|
15247
15322
|
/**
|
|
15248
15323
|
* Flags.
|
|
15249
15324
|
*/
|
|
15250
|
-
flags?:
|
|
15325
|
+
flags?: unknown;
|
|
15251
15326
|
|
|
15252
15327
|
/**
|
|
15253
15328
|
* Key Tag.
|
|
@@ -26,7 +26,7 @@ export class Routes extends APIResource {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* Lookup prefix-to-
|
|
29
|
+
* Lookup prefix-to-ASN mapping on global routing tables.
|
|
30
30
|
*/
|
|
31
31
|
pfx2as(query?: RoutePfx2asParams, options?: Core.RequestOptions): Core.APIPromise<RoutePfx2asResponse>;
|
|
32
32
|
pfx2as(options?: Core.RequestOptions): Core.APIPromise<RoutePfx2asResponse>;
|
|
@@ -267,13 +267,19 @@ export interface RoutePfx2asParams {
|
|
|
267
267
|
*/
|
|
268
268
|
format?: 'JSON' | 'CSV';
|
|
269
269
|
|
|
270
|
+
/**
|
|
271
|
+
* Return only results with the longest prefix match for the given prefix. For
|
|
272
|
+
* example, specify a /32 prefix to lookup the origin ASN for an IPv4 address.
|
|
273
|
+
*/
|
|
274
|
+
longestPrefixMatch?: boolean;
|
|
275
|
+
|
|
270
276
|
/**
|
|
271
277
|
* Lookup prefixes originated by the given ASN
|
|
272
278
|
*/
|
|
273
279
|
origin?: number;
|
|
274
280
|
|
|
275
281
|
/**
|
|
276
|
-
* Lookup
|
|
282
|
+
* Lookup origin ASNs of the given prefix
|
|
277
283
|
*/
|
|
278
284
|
prefix?: string;
|
|
279
285
|
|
|
@@ -120,9 +120,7 @@ export interface AppCreateResponse {
|
|
|
120
120
|
/**
|
|
121
121
|
* The anycast edge IP configuration for the hostname of this application.
|
|
122
122
|
*/
|
|
123
|
-
edge_ips?:
|
|
124
|
-
| AppCreateResponse.SpectrumEdgeIPEyeballIPsVariable
|
|
125
|
-
| AppCreateResponse.SpectrumEdgeIPCustomerOwnedIPsVariable;
|
|
123
|
+
edge_ips?: AppCreateResponse.EyeballIPs | AppCreateResponse.CustomerOwnedIPs;
|
|
126
124
|
|
|
127
125
|
/**
|
|
128
126
|
* Enables IP Access Rules for this application. Notes: Only available for TCP
|
|
@@ -194,7 +192,7 @@ export namespace AppCreateResponse {
|
|
|
194
192
|
type?: 'CNAME' | 'ADDRESS';
|
|
195
193
|
}
|
|
196
194
|
|
|
197
|
-
export interface
|
|
195
|
+
export interface EyeballIPs {
|
|
198
196
|
/**
|
|
199
197
|
* The IP versions supported for inbound connections on Spectrum anycast IPs.
|
|
200
198
|
*/
|
|
@@ -208,7 +206,7 @@ export namespace AppCreateResponse {
|
|
|
208
206
|
type?: 'dynamic';
|
|
209
207
|
}
|
|
210
208
|
|
|
211
|
-
export interface
|
|
209
|
+
export interface CustomerOwnedIPs {
|
|
212
210
|
/**
|
|
213
211
|
* The array of customer owned IPs we broadcast via anycast for this hostname and
|
|
214
212
|
* application.
|
|
@@ -270,9 +268,7 @@ export interface AppUpdateResponse {
|
|
|
270
268
|
/**
|
|
271
269
|
* The anycast edge IP configuration for the hostname of this application.
|
|
272
270
|
*/
|
|
273
|
-
edge_ips?:
|
|
274
|
-
| AppUpdateResponse.SpectrumEdgeIPEyeballIPsVariable
|
|
275
|
-
| AppUpdateResponse.SpectrumEdgeIPCustomerOwnedIPsVariable;
|
|
271
|
+
edge_ips?: AppUpdateResponse.EyeballIPs | AppUpdateResponse.CustomerOwnedIPs;
|
|
276
272
|
|
|
277
273
|
/**
|
|
278
274
|
* Enables IP Access Rules for this application. Notes: Only available for TCP
|
|
@@ -344,7 +340,7 @@ export namespace AppUpdateResponse {
|
|
|
344
340
|
type?: 'CNAME' | 'ADDRESS';
|
|
345
341
|
}
|
|
346
342
|
|
|
347
|
-
export interface
|
|
343
|
+
export interface EyeballIPs {
|
|
348
344
|
/**
|
|
349
345
|
* The IP versions supported for inbound connections on Spectrum anycast IPs.
|
|
350
346
|
*/
|
|
@@ -358,7 +354,7 @@ export namespace AppUpdateResponse {
|
|
|
358
354
|
type?: 'dynamic';
|
|
359
355
|
}
|
|
360
356
|
|
|
361
|
-
export interface
|
|
357
|
+
export interface CustomerOwnedIPs {
|
|
362
358
|
/**
|
|
363
359
|
* The array of customer owned IPs we broadcast via anycast for this hostname and
|
|
364
360
|
* application.
|
|
@@ -441,9 +437,7 @@ export interface AppCreateParams {
|
|
|
441
437
|
/**
|
|
442
438
|
* The anycast edge IP configuration for the hostname of this application.
|
|
443
439
|
*/
|
|
444
|
-
edge_ips?:
|
|
445
|
-
| AppCreateParams.SpectrumEdgeIPEyeballIPsVariable
|
|
446
|
-
| AppCreateParams.SpectrumEdgeIPCustomerOwnedIPsVariable;
|
|
440
|
+
edge_ips?: AppCreateParams.EyeballIPs | AppCreateParams.CustomerOwnedIPs;
|
|
447
441
|
|
|
448
442
|
/**
|
|
449
443
|
* Enables IP Access Rules for this application. Notes: Only available for TCP
|
|
@@ -511,7 +505,7 @@ export namespace AppCreateParams {
|
|
|
511
505
|
type?: '' | 'A' | 'AAAA' | 'SRV';
|
|
512
506
|
}
|
|
513
507
|
|
|
514
|
-
export interface
|
|
508
|
+
export interface EyeballIPs {
|
|
515
509
|
/**
|
|
516
510
|
* The IP versions supported for inbound connections on Spectrum anycast IPs.
|
|
517
511
|
*/
|
|
@@ -525,7 +519,7 @@ export namespace AppCreateParams {
|
|
|
525
519
|
type?: 'dynamic';
|
|
526
520
|
}
|
|
527
521
|
|
|
528
|
-
export interface
|
|
522
|
+
export interface CustomerOwnedIPs {
|
|
529
523
|
/**
|
|
530
524
|
* The array of customer owned IPs we broadcast via anycast for this hostname and
|
|
531
525
|
* application.
|
|
@@ -576,9 +570,7 @@ export interface AppUpdateParams {
|
|
|
576
570
|
/**
|
|
577
571
|
* The anycast edge IP configuration for the hostname of this application.
|
|
578
572
|
*/
|
|
579
|
-
edge_ips?:
|
|
580
|
-
| AppUpdateParams.SpectrumEdgeIPEyeballIPsVariable
|
|
581
|
-
| AppUpdateParams.SpectrumEdgeIPCustomerOwnedIPsVariable;
|
|
573
|
+
edge_ips?: AppUpdateParams.EyeballIPs | AppUpdateParams.CustomerOwnedIPs;
|
|
582
574
|
|
|
583
575
|
/**
|
|
584
576
|
* Enables IP Access Rules for this application. Notes: Only available for TCP
|
|
@@ -646,7 +638,7 @@ export namespace AppUpdateParams {
|
|
|
646
638
|
type?: '' | 'A' | 'AAAA' | 'SRV';
|
|
647
639
|
}
|
|
648
640
|
|
|
649
|
-
export interface
|
|
641
|
+
export interface EyeballIPs {
|
|
650
642
|
/**
|
|
651
643
|
* The IP versions supported for inbound connections on Spectrum anycast IPs.
|
|
652
644
|
*/
|
|
@@ -660,7 +652,7 @@ export namespace AppUpdateParams {
|
|
|
660
652
|
type?: 'dynamic';
|
|
661
653
|
}
|
|
662
654
|
|
|
663
|
-
export interface
|
|
655
|
+
export interface CustomerOwnedIPs {
|
|
664
656
|
/**
|
|
665
657
|
* The array of customer owned IPs we broadcast via anycast for this hostname and
|
|
666
658
|
* application.
|
|
@@ -99,6 +99,11 @@ export interface URLScannerScanParams {
|
|
|
99
99
|
*/
|
|
100
100
|
date_start?: string;
|
|
101
101
|
|
|
102
|
+
/**
|
|
103
|
+
* Filter scans by hash of any html/js/css request made by the webpage.
|
|
104
|
+
*/
|
|
105
|
+
hash?: string;
|
|
106
|
+
|
|
102
107
|
/**
|
|
103
108
|
* Filter scans by hostname of _any_ request made by the webpage.
|
|
104
109
|
*/
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
import * as Core from "../../core";
|
|
4
4
|
import { APIResource } from "../../resource";
|
|
5
5
|
import * as AIAPI from "./ai";
|
|
6
|
+
import { type Uploadable } from "../../core";
|
|
6
7
|
|
|
7
8
|
export class AI extends APIResource {
|
|
8
9
|
/**
|
|
@@ -27,7 +28,93 @@ export class AI extends APIResource {
|
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
|
|
30
|
-
export type AIRunResponse =
|
|
31
|
+
export type AIRunResponse =
|
|
32
|
+
| Array<AIRunResponse.TextClassification>
|
|
33
|
+
| Uploadable
|
|
34
|
+
| Array<number>
|
|
35
|
+
| AIRunResponse.TextEmbeddings
|
|
36
|
+
| AIRunResponse.SpeechRecognition
|
|
37
|
+
| Array<AIRunResponse.ImageClassification>
|
|
38
|
+
| Array<AIRunResponse.ObjectDetection>
|
|
39
|
+
| AIRunResponse.Response
|
|
40
|
+
| Uploadable
|
|
41
|
+
| AIRunResponse.Translation
|
|
42
|
+
| AIRunResponse.Summarization
|
|
43
|
+
| AIRunResponse.ImageToText;
|
|
44
|
+
|
|
45
|
+
export namespace AIRunResponse {
|
|
46
|
+
export interface TextClassification {
|
|
47
|
+
label?: string;
|
|
48
|
+
|
|
49
|
+
score?: number;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export interface TextEmbeddings {
|
|
53
|
+
data?: Array<Array<number>>;
|
|
54
|
+
|
|
55
|
+
shape?: Array<number>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface SpeechRecognition {
|
|
59
|
+
text: string;
|
|
60
|
+
|
|
61
|
+
word_count?: number;
|
|
62
|
+
|
|
63
|
+
words?: Array<SpeechRecognition.Word>;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export namespace SpeechRecognition {
|
|
67
|
+
export interface Word {
|
|
68
|
+
end?: number;
|
|
69
|
+
|
|
70
|
+
start?: number;
|
|
71
|
+
|
|
72
|
+
word?: string;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface ImageClassification {
|
|
77
|
+
label?: string;
|
|
78
|
+
|
|
79
|
+
score?: number;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export interface ObjectDetection {
|
|
83
|
+
box?: ObjectDetection.Box;
|
|
84
|
+
|
|
85
|
+
label?: string;
|
|
86
|
+
|
|
87
|
+
score?: number;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export namespace ObjectDetection {
|
|
91
|
+
export interface Box {
|
|
92
|
+
xmax?: number;
|
|
93
|
+
|
|
94
|
+
xmin?: number;
|
|
95
|
+
|
|
96
|
+
ymax?: number;
|
|
97
|
+
|
|
98
|
+
ymin?: number;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface Response {
|
|
103
|
+
response?: string;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface Translation {
|
|
107
|
+
translated_text?: string;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export interface Summarization {
|
|
111
|
+
summary?: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface ImageToText {
|
|
115
|
+
description?: string;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
31
118
|
|
|
32
119
|
export interface AIRunParams {
|
|
33
120
|
/**
|
|
@@ -38,7 +125,113 @@ export interface AIRunParams {
|
|
|
38
125
|
/**
|
|
39
126
|
* Body param:
|
|
40
127
|
*/
|
|
41
|
-
body:
|
|
128
|
+
body:
|
|
129
|
+
| AIRunParams.TextClassification
|
|
130
|
+
| AIRunParams.TextToImage
|
|
131
|
+
| AIRunParams.SentenceSimilarity
|
|
132
|
+
| AIRunParams.TextEmbeddings
|
|
133
|
+
| Uploadable
|
|
134
|
+
| AIRunParams.Audio
|
|
135
|
+
| Uploadable
|
|
136
|
+
| AIRunParams.ImageClassification
|
|
137
|
+
| Uploadable
|
|
138
|
+
| AIRunParams.ObjectDetection
|
|
139
|
+
| AIRunParams.UnionMember10
|
|
140
|
+
| AIRunParams.UnionMember11
|
|
141
|
+
| AIRunParams.Translation
|
|
142
|
+
| AIRunParams.Summarization
|
|
143
|
+
| Uploadable
|
|
144
|
+
| AIRunParams.UnionMember15;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export namespace AIRunParams {
|
|
148
|
+
export interface TextClassification {
|
|
149
|
+
text: string;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface TextToImage {
|
|
153
|
+
prompt: string;
|
|
154
|
+
|
|
155
|
+
guidance?: number;
|
|
156
|
+
|
|
157
|
+
image?: Array<number>;
|
|
158
|
+
|
|
159
|
+
mask?: Array<number>;
|
|
160
|
+
|
|
161
|
+
num_steps?: number;
|
|
162
|
+
|
|
163
|
+
strength?: number;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export interface SentenceSimilarity {
|
|
167
|
+
sentences: Array<string>;
|
|
168
|
+
|
|
169
|
+
source: string;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export interface TextEmbeddings {
|
|
173
|
+
text: string | Array<string>;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface Audio {
|
|
177
|
+
audio?: Array<number>;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export interface ImageClassification {
|
|
181
|
+
image?: Array<number>;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface ObjectDetection {
|
|
185
|
+
image?: Array<number>;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export interface UnionMember10 {
|
|
189
|
+
prompt: string;
|
|
190
|
+
|
|
191
|
+
max_tokens?: number;
|
|
192
|
+
|
|
193
|
+
raw?: boolean;
|
|
194
|
+
|
|
195
|
+
stream?: boolean;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export interface UnionMember11 {
|
|
199
|
+
messages: Array<UnionMember11.Message>;
|
|
200
|
+
|
|
201
|
+
max_tokens?: number;
|
|
202
|
+
|
|
203
|
+
stream?: boolean;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export namespace UnionMember11 {
|
|
207
|
+
export interface Message {
|
|
208
|
+
content: string;
|
|
209
|
+
|
|
210
|
+
role: string;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export interface Translation {
|
|
215
|
+
target_lang: string;
|
|
216
|
+
|
|
217
|
+
text: string;
|
|
218
|
+
|
|
219
|
+
source_lang?: string;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export interface Summarization {
|
|
223
|
+
input_text: string;
|
|
224
|
+
|
|
225
|
+
max_length?: number;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export interface UnionMember15 {
|
|
229
|
+
image?: Array<number>;
|
|
230
|
+
|
|
231
|
+
max_tokens?: number;
|
|
232
|
+
|
|
233
|
+
prompt?: string;
|
|
234
|
+
}
|
|
42
235
|
}
|
|
43
236
|
|
|
44
237
|
export namespace AI {
|
|
@@ -1371,7 +1371,7 @@ export interface ApplicationCreateParams {
|
|
|
1371
1371
|
/**
|
|
1372
1372
|
* Body param: The application type.
|
|
1373
1373
|
*/
|
|
1374
|
-
type?:
|
|
1374
|
+
type?: 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso';
|
|
1375
1375
|
}
|
|
1376
1376
|
|
|
1377
1377
|
export namespace ApplicationCreateParams {
|
|
@@ -1696,7 +1696,7 @@ export interface ApplicationUpdateParams {
|
|
|
1696
1696
|
/**
|
|
1697
1697
|
* Body param: The application type.
|
|
1698
1698
|
*/
|
|
1699
|
-
type?:
|
|
1699
|
+
type?: 'self_hosted' | 'saas' | 'ssh' | 'vnc' | 'app_launcher' | 'warp' | 'biso' | 'bookmark' | 'dash_sso';
|
|
1700
1700
|
}
|
|
1701
1701
|
|
|
1702
1702
|
export namespace ApplicationUpdateParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '3.0.0-beta.
|
|
1
|
+
export const VERSION = '3.0.0-beta.6'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "3.0.0-beta.
|
|
1
|
+
export declare const VERSION = "3.0.0-beta.6";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '3.0.0-beta.
|
|
4
|
+
exports.VERSION = '3.0.0-beta.6'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '3.0.0-beta.
|
|
1
|
+
export const VERSION = '3.0.0-beta.6'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|