cloudflare 3.0.0-beta.2 → 3.0.0-beta.5
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 +190 -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/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/access.d.ts +1 -1
- package/resources/zero-trust/access/access.d.ts.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/resources/zero-trust/access/certificates/certificates.d.ts +2 -2
- package/resources/zero-trust/access/certificates/certificates.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/index.d.ts +1 -1
- package/resources/zero-trust/access/certificates/index.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/settings.d.ts +6 -6
- package/resources/zero-trust/access/certificates/settings.d.ts.map +1 -1
- package/resources/zero-trust/access/certificates/settings.js +2 -2
- package/resources/zero-trust/access/certificates/settings.js.map +1 -1
- package/resources/zero-trust/access/certificates/settings.mjs +2 -2
- package/resources/zero-trust/access/certificates/settings.mjs.map +1 -1
- package/resources/zero-trust/access/index.d.ts +1 -1
- package/resources/zero-trust/access/index.d.ts.map +1 -1
- package/resources/zero-trust/access/index.js.map +1 -1
- package/resources/zero-trust/access/index.mjs.map +1 -1
- package/resources/zero-trust/access/keys.d.ts +3 -3
- package/resources/zero-trust/access/keys.d.ts.map +1 -1
- package/resources/zero-trust/access/keys.js +1 -1
- package/resources/zero-trust/access/keys.js.map +1 -1
- package/resources/zero-trust/access/keys.mjs +1 -1
- package/resources/zero-trust/access/keys.mjs.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/url-scanner/url-scanner.ts +5 -0
- package/src/resources/workers/ai.ts +195 -2
- package/src/resources/zero-trust/access/access.ts +1 -1
- package/src/resources/zero-trust/access/applications/applications.ts +2 -2
- package/src/resources/zero-trust/access/certificates/certificates.ts +2 -2
- package/src/resources/zero-trust/access/certificates/index.ts +2 -2
- package/src/resources/zero-trust/access/certificates/settings.ts +11 -14
- package/src/resources/zero-trust/access/index.ts +1 -1
- package/src/resources/zero-trust/access/keys.ts +4 -4
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -28,9 +28,9 @@ export class Settings extends APIResource {
|
|
|
28
28
|
...options,
|
|
29
29
|
})._thenUnwrap((obj) => obj.result);
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
get(params = {}, options) {
|
|
32
32
|
if (isRequestOptions(params)) {
|
|
33
|
-
return this.
|
|
33
|
+
return this.get({}, params);
|
|
34
34
|
}
|
|
35
35
|
const { account_id, zone_id } = params;
|
|
36
36
|
if (!account_id && !zone_id) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.mjs","sourceRoot":"","sources":["../../../../src/resources/zero-trust/access/certificates/settings.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,gBAAgB,EAAE,MAAM,iBAAiB;OAC3C,EAAE,eAAe,EAAE,MAAM,kBAAkB;AAGlD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CACJ,MAA2B,EAC3B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAChD,IAAI,CAAC,UAAU,IAAI,CAAC,OAAO,EAAE;YAC3B,MAAM,IAAI,eAAe,CAAC,gDAAgD,CAAC,CAAC;SAC7E;QACD,IAAI,UAAU,IAAI,OAAO,EAAE;YACzB,MAAM,IAAI,eAAe,CAAC,iDAAiD,CAAC,CAAC;SAC9E;QACD,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,GACtC,UAAU,CAAC,CAAC;YACV;gBACE,aAAa,EAAE,UAAU;gBACzB,eAAe,EAAE,UAAU;aAC5B;YACH,CAAC,CAAC;gBACE,aAAa,EAAE,OAAO;gBACtB,eAAe,EAAE,OAAO;aACzB,CAAC;QACN,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,aAAa,IAAI,eAAe,+BAA+B,EAAE;YACpF,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;
|
|
1
|
+
{"version":3,"file":"settings.mjs","sourceRoot":"","sources":["../../../../src/resources/zero-trust/access/certificates/settings.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,qBAAqB;OAC1C,EAAE,gBAAgB,EAAE,MAAM,iBAAiB;OAC3C,EAAE,eAAe,EAAE,MAAM,kBAAkB;AAGlD,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CACJ,MAA2B,EAC3B,OAA6B;QAE7B,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAChD,IAAI,CAAC,UAAU,IAAI,CAAC,OAAO,EAAE;YAC3B,MAAM,IAAI,eAAe,CAAC,gDAAgD,CAAC,CAAC;SAC7E;QACD,IAAI,UAAU,IAAI,OAAO,EAAE;YACzB,MAAM,IAAI,eAAe,CAAC,iDAAiD,CAAC,CAAC;SAC9E;QACD,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,GACtC,UAAU,CAAC,CAAC;YACV;gBACE,aAAa,EAAE,UAAU;gBACzB,eAAe,EAAE,UAAU;aAC5B;YACH,CAAC,CAAC;gBACE,aAAa,EAAE,OAAO;gBACtB,eAAe,EAAE,OAAO;aACzB,CAAC;QACN,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,aAAa,IAAI,eAAe,+BAA+B,EAAE;YACpF,IAAI;YACJ,GAAG,OAAO;SACX,CACF,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAOD,GAAG,CACD,SAAiD,EAAE,EACnD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,MAAM,CAAC,EAAE;YAC5B,OAAO,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;SAC7B;QACD,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,MAAM,CAAC;QACvC,IAAI,CAAC,UAAU,IAAI,CAAC,OAAO,EAAE;YAC3B,MAAM,IAAI,eAAe,CAAC,gDAAgD,CAAC,CAAC;SAC7E;QACD,IAAI,UAAU,IAAI,OAAO,EAAE;YACzB,MAAM,IAAI,eAAe,CAAC,iDAAiD,CAAC,CAAC;SAC9E;QACD,MAAM,EAAE,aAAa,EAAE,eAAe,EAAE,GACtC,UAAU,CAAC,CAAC;YACV;gBACE,aAAa,EAAE,UAAU;gBACzB,eAAe,EAAE,UAAU;aAC5B;YACH,CAAC,CAAC;gBACE,aAAa,EAAE,OAAO;gBACtB,eAAe,EAAE,OAAO;aACzB,CAAC;QACN,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CACd,IAAI,aAAa,IAAI,eAAe,+BAA+B,EACnE,OAAO,CAEV,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AAyDD,WAAiB,QAAQ;AAMzB,CAAC,EANgB,QAAQ,KAAR,QAAQ,QAMxB"}
|
|
@@ -7,6 +7,6 @@ export { AccessGroups, GroupListResponse, GroupDeleteResponse, GroupCreateParams
|
|
|
7
7
|
export { AccessServiceTokens, ServiceTokenCreateResponse, ServiceTokenListResponse, ServiceTokenRotateResponse, ServiceTokenCreateParams, ServiceTokenUpdateParams, ServiceTokenListParams, ServiceTokenDeleteParams, ServiceTokens, } from "./service-tokens.js";
|
|
8
8
|
export { AccessTag, TagListResponse, TagDeleteResponse, TagCreateParams, TagUpdateParams, Tags, } from "./tags.js";
|
|
9
9
|
export { AccessUsers, UserListResponse, Users } from "./users/index.js";
|
|
10
|
-
export { KeyUpdateResponse,
|
|
10
|
+
export { KeyUpdateResponse, KeyGetResponse, KeyRotateResponse, KeyUpdateParams, Keys } from "./keys.js";
|
|
11
11
|
export { Logs } from "./logs/index.js";
|
|
12
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EACL,UAAU,EACV,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,EAC/B,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,6BAA6B,EAC7B,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACvG,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gBAAgB,EAChB,2BAA2B,EAC3B,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,EACtB,WAAW,GACZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,MAAM,GACP,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,aAAa,GACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,IAAI,GACL,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EACL,UAAU,EACV,uBAAuB,EACvB,yBAAyB,EACzB,+BAA+B,EAC/B,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,6BAA6B,EAC7B,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACvG,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,yBAAyB,EACzB,uBAAuB,EACvB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,oBAAoB,EACpB,YAAY,GACb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gBAAgB,EAChB,2BAA2B,EAC3B,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,EACtB,WAAW,GACZ,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,iBAAiB,EACjB,cAAc,EACd,MAAM,GACP,MAAM,UAAU,CAAC;AAClB,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,wBAAwB,EACxB,0BAA0B,EAC1B,wBAAwB,EACxB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,aAAa,GACd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,SAAS,EACT,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,IAAI,GACL,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACrE,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,iBAAiB,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AACrG,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/index.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAErD,sCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,iDAY8B;AAD5B,qGAAA,YAAY,OAAA;AAEd,4CAAuG;AAA/B,sGAAA,SAAS,OAAA;AACjF,iDAU8B;AAD5B,qGAAA,YAAY,OAAA;AAEd,kDAQwB;AADtB,2GAAA,WAAW,OAAA;AAEb,sCAUkB;AADhB,gGAAA,MAAM,OAAA;AAER,sDAU0B;AADxB,+GAAA,aAAa,OAAA;AAEf,kCAOgB;AADd,4FAAA,IAAI,OAAA;AAEN,0CAAqE;AAA7B,8FAAA,KAAK,OAAA;AAC7C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/index.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAErD,sCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,iDAY8B;AAD5B,qGAAA,YAAY,OAAA;AAEd,4CAAuG;AAA/B,sGAAA,SAAS,OAAA;AACjF,iDAU8B;AAD5B,qGAAA,YAAY,OAAA;AAEd,kDAQwB;AADtB,2GAAA,WAAW,OAAA;AAEb,sCAUkB;AADhB,gGAAA,MAAM,OAAA;AAER,sDAU0B;AADxB,+GAAA,aAAa,OAAA;AAEf,kCAOgB;AADd,4FAAA,IAAI,OAAA;AAEN,0CAAqE;AAA7B,8FAAA,KAAK,OAAA;AAC7C,kCAAqG;AAArB,4FAAA,IAAI,OAAA;AACpF,yCAAoC;AAA3B,6FAAA,IAAI,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAE9C,EAAE,MAAM,EAAE;OACV,EAWL,YAAY,GACb;OACM,EAAiE,SAAS,EAAE;OAC5E,EASL,YAAY,GACb;OACM,EAOL,WAAW,GACZ;OACM,EASL,MAAM,GACP;OACM,EASL,aAAa,GACd;OACM,EAML,IAAI,GACL;OACM,EAAiC,KAAK,EAAE;OACxC,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAE9C,EAAE,MAAM,EAAE;OACV,EAWL,YAAY,GACb;OACM,EAAiE,SAAS,EAAE;OAC5E,EASL,YAAY,GACb;OACM,EAOL,WAAW,GACZ;OACM,EASL,MAAM,GACP;OACM,EASL,aAAa,GACd;OACM,EAML,IAAI,GACL;OACM,EAAiC,KAAK,EAAE;OACxC,EAAyE,IAAI,EAAE;OAC/E,EAAE,IAAI,EAAE"}
|
|
@@ -9,14 +9,14 @@ export declare class Keys extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* Gets the Access key rotation settings for an account.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
get(identifier: string, options?: Core.RequestOptions): Core.APIPromise<KeyGetResponse>;
|
|
13
13
|
/**
|
|
14
14
|
* Perfoms a key rotation for an account.
|
|
15
15
|
*/
|
|
16
16
|
rotate(identifier: string, options?: Core.RequestOptions): Core.APIPromise<KeyRotateResponse>;
|
|
17
17
|
}
|
|
18
18
|
export type KeyUpdateResponse = unknown | string;
|
|
19
|
-
export type
|
|
19
|
+
export type KeyGetResponse = unknown | string;
|
|
20
20
|
export type KeyRotateResponse = unknown | string;
|
|
21
21
|
export interface KeyUpdateParams {
|
|
22
22
|
/**
|
|
@@ -26,7 +26,7 @@ export interface KeyUpdateParams {
|
|
|
26
26
|
}
|
|
27
27
|
export declare namespace Keys {
|
|
28
28
|
export import KeyUpdateResponse = KeysAPI.KeyUpdateResponse;
|
|
29
|
-
export import
|
|
29
|
+
export import KeyGetResponse = KeysAPI.KeyGetResponse;
|
|
30
30
|
export import KeyRotateResponse = KeysAPI.KeyRotateResponse;
|
|
31
31
|
export import KeyUpdateParams = KeysAPI.KeyUpdateParams;
|
|
32
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/keys.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,6CAA6C,CAAC;AAEvE,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAQrC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/keys.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,6CAA6C,CAAC;AAEvE,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,MAAM,CACJ,UAAU,EAAE,MAAM,EAClB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;IAQrC;;OAEG;IACH,GAAG,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,cAAc,CAAC;IAQvF;;OAEG;IACH,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC;CAO9F;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEjD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,CAAC;AAE9C,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,MAAM,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,0BAA0B,EAAE,MAAM,CAAC;CACpC;AAED,yBAAiB,IAAI,CAAC;IACpB,MAAM,QAAQ,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAC5D,MAAM,QAAQ,cAAc,GAAG,OAAO,CAAC,cAAc,CAAC;IACtD,MAAM,QAAQ,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAC5D,MAAM,QAAQ,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;CACzD"}
|
|
@@ -13,7 +13,7 @@ class Keys extends resource_1.APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* Gets the Access key rotation settings for an account.
|
|
15
15
|
*/
|
|
16
|
-
|
|
16
|
+
get(identifier, options) {
|
|
17
17
|
return this._client.get(`/accounts/${identifier}/access/keys`, options)._thenUnwrap((obj) => obj.result);
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/keys.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,kDAAkD;AAGlD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,IAAqB,EACrB,OAA6B;QAE7B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAG7E,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/keys.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,kDAAkD;AAGlD,MAAa,IAAK,SAAQ,sBAAW;IACnC;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,IAAqB,EACrB,OAA6B;QAE7B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAG7E,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,UAAkB,EAAE,OAA6B;QACnD,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,cAAc,EAAE,OAAO,CAGhE,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,UAAkB,EAAE,OAA6B;QACtD,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,qBAAqB,EAAE,OAAO,CAGxE,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AArCD,oBAqCC;AAeD,WAAiB,IAAI;AAKrB,CAAC,EALgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAKpB"}
|
|
@@ -10,7 +10,7 @@ export class Keys extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Gets the Access key rotation settings for an account.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
get(identifier, options) {
|
|
14
14
|
return this._client.get(`/accounts/${identifier}/access/keys`, options)._thenUnwrap((obj) => obj.result);
|
|
15
15
|
}
|
|
16
16
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.mjs","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/keys.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAGjD,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,IAAqB,EACrB,OAA6B;QAE7B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAG7E,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"keys.mjs","sourceRoot":"","sources":["../../../src/resources/zero-trust/access/keys.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,qBAAqB;AAGjD,MAAM,OAAO,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,MAAM,CACJ,UAAkB,EAClB,IAAqB,EACrB,OAA6B;QAE7B,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAG7E,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,GAAG,CAAC,UAAkB,EAAE,OAA6B;QACnD,OACE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,UAAU,cAAc,EAAE,OAAO,CAGhE,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,UAAkB,EAAE,OAA6B;QACtD,OACE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,UAAU,qBAAqB,EAAE,OAAO,CAGxE,CAAC,WAAW,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACrC,CAAC;CACF;AAeD,WAAiB,IAAI;AAKrB,CAAC,EALgB,IAAI,KAAJ,IAAI,QAKpB"}
|
|
@@ -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
|
|
|
@@ -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.Image
|
|
137
|
+
| Uploadable
|
|
138
|
+
| AIRunParams.Image
|
|
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 Image {
|
|
181
|
+
image?: Array<number>;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface Image {
|
|
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 {
|
|
@@ -70,7 +70,7 @@ export namespace Access {
|
|
|
70
70
|
export import BookmarkDeleteResponse = BookmarksAPI.BookmarkDeleteResponse;
|
|
71
71
|
export import Keys = KeysAPI.Keys;
|
|
72
72
|
export import KeyUpdateResponse = KeysAPI.KeyUpdateResponse;
|
|
73
|
-
export import
|
|
73
|
+
export import KeyGetResponse = KeysAPI.KeyGetResponse;
|
|
74
74
|
export import KeyRotateResponse = KeysAPI.KeyRotateResponse;
|
|
75
75
|
export import KeyUpdateParams = KeysAPI.KeyUpdateParams;
|
|
76
76
|
export import Logs = LogsAPI.Logs;
|
|
@@ -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 {
|
|
@@ -338,7 +338,7 @@ export namespace Certificates {
|
|
|
338
338
|
export import Settings = SettingsAPI.Settings;
|
|
339
339
|
export import AccessSettings = SettingsAPI.AccessSettings;
|
|
340
340
|
export import SettingUpdateResponse = SettingsAPI.SettingUpdateResponse;
|
|
341
|
-
export import
|
|
341
|
+
export import SettingGetResponse = SettingsAPI.SettingGetResponse;
|
|
342
342
|
export import SettingUpdateParams = SettingsAPI.SettingUpdateParams;
|
|
343
|
-
export import
|
|
343
|
+
export import SettingGetParams = SettingsAPI.SettingGetParams;
|
|
344
344
|
}
|
|
@@ -42,17 +42,14 @@ export class Settings extends APIResource {
|
|
|
42
42
|
/**
|
|
43
43
|
* List all mTLS hostname settings for this account or zone.
|
|
44
44
|
*/
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
get(params?: SettingGetParams, options?: Core.RequestOptions): Core.APIPromise<SettingGetResponse | null>;
|
|
46
|
+
get(options?: Core.RequestOptions): Core.APIPromise<SettingGetResponse | null>;
|
|
47
|
+
get(
|
|
48
|
+
params: SettingGetParams | Core.RequestOptions = {},
|
|
47
49
|
options?: Core.RequestOptions,
|
|
48
|
-
): Core.APIPromise<
|
|
49
|
-
list(options?: Core.RequestOptions): Core.APIPromise<SettingListResponse | null>;
|
|
50
|
-
list(
|
|
51
|
-
params: SettingListParams | Core.RequestOptions = {},
|
|
52
|
-
options?: Core.RequestOptions,
|
|
53
|
-
): Core.APIPromise<SettingListResponse | null> {
|
|
50
|
+
): Core.APIPromise<SettingGetResponse | null> {
|
|
54
51
|
if (isRequestOptions(params)) {
|
|
55
|
-
return this.
|
|
52
|
+
return this.get({}, params);
|
|
56
53
|
}
|
|
57
54
|
const { account_id, zone_id } = params;
|
|
58
55
|
if (!account_id && !zone_id) {
|
|
@@ -75,7 +72,7 @@ export class Settings extends APIResource {
|
|
|
75
72
|
this._client.get(
|
|
76
73
|
`/${accountOrZone}/${accountOrZoneId}/access/certificates/settings`,
|
|
77
74
|
options,
|
|
78
|
-
) as Core.APIPromise<{ result:
|
|
75
|
+
) as Core.APIPromise<{ result: SettingGetResponse | null }>
|
|
79
76
|
)._thenUnwrap((obj) => obj.result);
|
|
80
77
|
}
|
|
81
78
|
}
|
|
@@ -102,7 +99,7 @@ export interface AccessSettings {
|
|
|
102
99
|
|
|
103
100
|
export type SettingUpdateResponse = Array<AccessSettings>;
|
|
104
101
|
|
|
105
|
-
export type
|
|
102
|
+
export type SettingGetResponse = Array<AccessSettings>;
|
|
106
103
|
|
|
107
104
|
export interface SettingUpdateParams {
|
|
108
105
|
/**
|
|
@@ -123,7 +120,7 @@ export interface SettingUpdateParams {
|
|
|
123
120
|
zone_id?: string;
|
|
124
121
|
}
|
|
125
122
|
|
|
126
|
-
export interface
|
|
123
|
+
export interface SettingGetParams {
|
|
127
124
|
/**
|
|
128
125
|
* The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
|
|
129
126
|
*/
|
|
@@ -138,7 +135,7 @@ export interface SettingListParams {
|
|
|
138
135
|
export namespace Settings {
|
|
139
136
|
export import AccessSettings = SettingsAPI.AccessSettings;
|
|
140
137
|
export import SettingUpdateResponse = SettingsAPI.SettingUpdateResponse;
|
|
141
|
-
export import
|
|
138
|
+
export import SettingGetResponse = SettingsAPI.SettingGetResponse;
|
|
142
139
|
export import SettingUpdateParams = SettingsAPI.SettingUpdateParams;
|
|
143
|
-
export import
|
|
140
|
+
export import SettingGetParams = SettingsAPI.SettingGetParams;
|
|
144
141
|
}
|
|
@@ -66,5 +66,5 @@ export {
|
|
|
66
66
|
Tags,
|
|
67
67
|
} from './tags';
|
|
68
68
|
export { AccessUsers, UserListResponse, Users } from './users/index';
|
|
69
|
-
export { KeyUpdateResponse,
|
|
69
|
+
export { KeyUpdateResponse, KeyGetResponse, KeyRotateResponse, KeyUpdateParams, Keys } from './keys';
|
|
70
70
|
export { Logs } from './logs/index';
|