cloudflare 3.0.0-beta.11 → 3.0.0-beta.13
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 +17 -0
- package/core.d.ts.map +1 -1
- package/core.js +1 -1
- package/core.js.map +1 -1
- package/core.mjs +1 -1
- package/core.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/d1/database.d.ts +2 -2
- package/resources/d1/database.d.ts.map +1 -1
- package/resources/dns/records.d.ts +4 -4
- package/resources/dns/records.d.ts.map +1 -1
- package/resources/firewall/waf/overrides.d.ts +3 -3
- package/resources/firewall/waf/overrides.d.ts.map +1 -1
- package/resources/hostnames/settings/tls.d.ts +2 -2
- package/resources/hostnames/settings/tls.d.ts.map +1 -1
- package/resources/images/v1/keys.d.ts +2 -2
- package/resources/images/v1/keys.d.ts.map +1 -1
- package/resources/images/v1/keys.js.map +1 -1
- package/resources/images/v1/keys.mjs.map +1 -1
- package/resources/images/v1/variants.d.ts +6 -6
- package/resources/images/v1/variants.d.ts.map +1 -1
- package/resources/images/v1/variants.js.map +1 -1
- package/resources/images/v1/variants.mjs.map +1 -1
- package/resources/intel/domain-history.d.ts +2 -2
- package/resources/intel/domain-history.d.ts.map +1 -1
- package/resources/intel/domains/bulks.d.ts +2 -2
- package/resources/intel/domains/bulks.d.ts.map +1 -1
- package/resources/intel/domains/domains.d.ts +2 -2
- package/resources/intel/domains/domains.d.ts.map +1 -1
- package/resources/intel/ips.d.ts +2 -2
- package/resources/intel/ips.d.ts.map +1 -1
- package/resources/intel/miscategorizations.d.ts +4 -4
- package/resources/intel/miscategorizations.d.ts.map +1 -1
- package/resources/load-balancers/previews.d.ts +1 -1
- package/resources/load-balancers/previews.d.ts.map +1 -1
- package/resources/load-balancers/previews.js.map +1 -1
- package/resources/load-balancers/previews.mjs.map +1 -1
- package/resources/magic-network-monitoring/configs/configs.d.ts +5 -5
- package/resources/magic-network-monitoring/configs/configs.d.ts.map +1 -1
- package/resources/magic-network-monitoring/configs/full.d.ts +1 -1
- package/resources/magic-network-monitoring/configs/full.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/advertisements.d.ts +2 -2
- package/resources/magic-network-monitoring/rules/advertisements.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/advertisements.js.map +1 -1
- package/resources/magic-network-monitoring/rules/advertisements.mjs.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.d.ts +10 -10
- package/resources/magic-network-monitoring/rules/rules.d.ts.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.js.map +1 -1
- package/resources/magic-network-monitoring/rules/rules.mjs.map +1 -1
- package/resources/page-shield/connections.d.ts +10 -10
- package/resources/page-shield/connections.d.ts.map +1 -1
- package/resources/page-shield/scripts.d.ts +30 -30
- package/resources/page-shield/scripts.d.ts.map +1 -1
- package/resources/queues/consumers.d.ts +1 -1
- package/resources/queues/consumers.d.ts.map +1 -1
- package/resources/registrar/domains.d.ts +6 -6
- package/resources/registrar/domains.d.ts.map +1 -1
- package/resources/secondary-dns/acls.d.ts +10 -10
- package/resources/secondary-dns/acls.d.ts.map +1 -1
- package/resources/secondary-dns/acls.js.map +1 -1
- package/resources/secondary-dns/acls.mjs.map +1 -1
- package/resources/secondary-dns/force-axfr.d.ts +1 -1
- package/resources/secondary-dns/force-axfr.d.ts.map +1 -1
- package/resources/secondary-dns/incoming.d.ts +8 -8
- package/resources/secondary-dns/incoming.d.ts.map +1 -1
- package/resources/secondary-dns/outgoing/outgoing.d.ts +11 -11
- package/resources/secondary-dns/outgoing/outgoing.d.ts.map +1 -1
- package/resources/secondary-dns/outgoing/status.d.ts +1 -1
- package/resources/secondary-dns/outgoing/status.d.ts.map +1 -1
- package/resources/secondary-dns/peers.d.ts +10 -10
- package/resources/secondary-dns/peers.d.ts.map +1 -1
- package/resources/secondary-dns/peers.js.map +1 -1
- package/resources/secondary-dns/peers.mjs.map +1 -1
- package/resources/secondary-dns/tsigs.d.ts +10 -10
- package/resources/secondary-dns/tsigs.d.ts.map +1 -1
- package/resources/secondary-dns/tsigs.js.map +1 -1
- package/resources/secondary-dns/tsigs.mjs.map +1 -1
- package/resources/stream/embed.d.ts +2 -2
- package/resources/stream/embed.d.ts.map +1 -1
- package/resources/stream/embed.js +4 -1
- package/resources/stream/embed.js.map +1 -1
- package/resources/stream/embed.mjs +4 -1
- package/resources/stream/embed.mjs.map +1 -1
- package/resources/subscriptions.d.ts +3 -3
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/user/load-balancers/preview.d.ts +1 -1
- package/resources/user/load-balancers/preview.d.ts.map +1 -1
- package/resources/user/load-balancers/preview.js.map +1 -1
- package/resources/user/load-balancers/preview.mjs.map +1 -1
- package/resources/user/subscriptions.d.ts +4 -4
- package/resources/user/subscriptions.d.ts.map +1 -1
- package/resources/vectorize/indexes.d.ts +2 -2
- package/resources/vectorize/indexes.d.ts.map +1 -1
- package/resources/waiting-rooms/events/details.d.ts +2 -2
- package/resources/waiting-rooms/events/details.d.ts.map +1 -1
- package/resources/waiting-rooms/events/details.js.map +1 -1
- package/resources/waiting-rooms/events/details.mjs.map +1 -1
- package/resources/waiting-rooms/events/events.d.ts +8 -8
- package/resources/waiting-rooms/events/events.d.ts.map +1 -1
- package/resources/waiting-rooms/events/events.js.map +1 -1
- package/resources/waiting-rooms/events/events.mjs.map +1 -1
- package/resources/waiting-rooms/rules.d.ts +5 -5
- package/resources/waiting-rooms/rules.d.ts.map +1 -1
- package/resources/waiting-rooms/rules.js.map +1 -1
- package/resources/waiting-rooms/rules.mjs.map +1 -1
- package/resources/waiting-rooms/statuses.d.ts +1 -1
- package/resources/waiting-rooms/statuses.d.ts.map +1 -1
- package/resources/waiting-rooms/statuses.js.map +1 -1
- package/resources/waiting-rooms/statuses.mjs.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.d.ts +6 -6
- package/resources/waiting-rooms/waiting-rooms.d.ts.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.js.map +1 -1
- package/resources/waiting-rooms/waiting-rooms.mjs.map +1 -1
- package/resources/workers/account-settings.d.ts +1 -1
- package/resources/workers/account-settings.d.ts.map +1 -1
- package/resources/workers/ai.d.ts +1 -0
- 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/workers/domains.d.ts +10 -10
- package/resources/workers/domains.d.ts.map +1 -1
- package/resources/workers/domains.js.map +1 -1
- package/resources/workers/domains.mjs.map +1 -1
- package/resources/workers/scripts/schedules.d.ts +1 -1
- package/resources/workers/scripts/schedules.d.ts.map +1 -1
- package/resources/workers/scripts/usage-model.d.ts +1 -1
- package/resources/workers/scripts/usage-model.d.ts.map +1 -1
- package/resources/workers/subdomains.d.ts +1 -1
- package/resources/workers/subdomains.d.ts.map +1 -1
- package/resources/zero-trust/access/applications/applications.d.ts +3 -3
- package/resources/zero-trust/access/applications/applications.d.ts.map +1 -1
- package/resources/zero-trust/access/bookmarks.d.ts +5 -5
- package/resources/zero-trust/access/bookmarks.d.ts.map +1 -1
- package/resources/zero-trust/access/bookmarks.js.map +1 -1
- package/resources/zero-trust/access/bookmarks.mjs.map +1 -1
- package/resources/zero-trust/access/logs/access-requests.d.ts +1 -1
- package/resources/zero-trust/access/logs/access-requests.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices.d.ts +2 -2
- package/resources/zero-trust/devices/devices.d.ts.map +1 -1
- package/resources/zero-trust/devices/dex-tests.d.ts +5 -5
- package/resources/zero-trust/devices/dex-tests.d.ts.map +1 -1
- package/resources/zero-trust/devices/networks.d.ts +5 -5
- package/resources/zero-trust/devices/networks.d.ts.map +1 -1
- package/resources/zero-trust/devices/override-codes.d.ts +6 -6
- package/resources/zero-trust/devices/override-codes.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/default-policy.d.ts +1 -1
- package/resources/zero-trust/devices/policies/default-policy.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/excludes.d.ts +3 -3
- package/resources/zero-trust/devices/policies/excludes.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/fallback-domains.d.ts +3 -3
- package/resources/zero-trust/devices/policies/fallback-domains.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/includes.d.ts +3 -3
- package/resources/zero-trust/devices/policies/includes.d.ts.map +1 -1
- package/resources/zero-trust/devices/policies/policies.d.ts +5 -5
- package/resources/zero-trust/devices/policies/policies.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/integrations.d.ts +5 -5
- package/resources/zero-trust/devices/posture/integrations.d.ts.map +1 -1
- package/resources/zero-trust/devices/posture/posture.d.ts +5 -5
- package/resources/zero-trust/devices/posture/posture.d.ts.map +1 -1
- package/resources/zero-trust/devices/revoke.d.ts +1 -1
- package/resources/zero-trust/devices/revoke.d.ts.map +1 -1
- package/resources/zero-trust/devices/settings.d.ts +2 -2
- package/resources/zero-trust/devices/settings.d.ts.map +1 -1
- package/resources/zero-trust/devices/unrevoke.d.ts +1 -1
- package/resources/zero-trust/devices/unrevoke.d.ts.map +1 -1
- package/resources/zero-trust/gateway/audit-ssh-settings.d.ts +2 -2
- package/resources/zero-trust/gateway/audit-ssh-settings.d.ts.map +1 -1
- package/resources/zero-trust/gateway/configurations.d.ts +3 -3
- package/resources/zero-trust/gateway/configurations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/gateway.d.ts +2 -2
- package/resources/zero-trust/gateway/gateway.d.ts.map +1 -1
- package/resources/zero-trust/gateway/lists/items.d.ts +1 -1
- package/resources/zero-trust/gateway/lists/items.d.ts.map +1 -1
- package/resources/zero-trust/gateway/lists/lists.d.ts +6 -6
- package/resources/zero-trust/gateway/lists/lists.d.ts.map +1 -1
- package/resources/zero-trust/gateway/locations.d.ts +9 -9
- package/resources/zero-trust/gateway/locations.d.ts.map +1 -1
- package/resources/zero-trust/gateway/locations.js.map +1 -1
- package/resources/zero-trust/gateway/locations.mjs.map +1 -1
- package/resources/zero-trust/gateway/logging.d.ts +2 -2
- package/resources/zero-trust/gateway/logging.d.ts.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts +9 -9
- package/resources/zero-trust/gateway/proxy-endpoints.d.ts.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.js.map +1 -1
- package/resources/zero-trust/gateway/proxy-endpoints.mjs.map +1 -1
- package/resources/zero-trust/gateway/rules.d.ts +5 -5
- package/resources/zero-trust/gateway/rules.d.ts.map +1 -1
- package/resources/zones/subscriptions.d.ts +2 -2
- package/resources/zones/subscriptions.d.ts.map +1 -1
- package/src/core.ts +2 -1
- package/src/resources/d1/database.ts +2 -2
- package/src/resources/dns/records.ts +4 -4
- package/src/resources/firewall/waf/overrides.ts +3 -3
- package/src/resources/hostnames/settings/tls.ts +2 -2
- package/src/resources/images/v1/keys.ts +2 -2
- package/src/resources/images/v1/variants.ts +6 -6
- package/src/resources/intel/domain-history.ts +2 -2
- package/src/resources/intel/domains/bulks.ts +2 -2
- package/src/resources/intel/domains/domains.ts +2 -2
- package/src/resources/intel/ips.ts +2 -2
- package/src/resources/intel/miscategorizations.ts +4 -4
- package/src/resources/load-balancers/previews.ts +1 -1
- package/src/resources/magic-network-monitoring/configs/configs.ts +5 -5
- package/src/resources/magic-network-monitoring/configs/full.ts +1 -1
- package/src/resources/magic-network-monitoring/rules/advertisements.ts +2 -2
- package/src/resources/magic-network-monitoring/rules/rules.ts +10 -10
- package/src/resources/page-shield/connections.ts +10 -10
- package/src/resources/page-shield/scripts.ts +30 -30
- package/src/resources/queues/consumers.ts +1 -1
- package/src/resources/registrar/domains.ts +6 -6
- package/src/resources/secondary-dns/acls.ts +10 -10
- package/src/resources/secondary-dns/force-axfr.ts +1 -1
- package/src/resources/secondary-dns/incoming.ts +8 -8
- package/src/resources/secondary-dns/outgoing/outgoing.ts +11 -11
- package/src/resources/secondary-dns/outgoing/status.ts +1 -1
- package/src/resources/secondary-dns/peers.ts +10 -10
- package/src/resources/secondary-dns/tsigs.ts +10 -10
- package/src/resources/stream/embed.ts +6 -3
- package/src/resources/subscriptions.ts +3 -3
- package/src/resources/user/load-balancers/preview.ts +1 -1
- package/src/resources/user/subscriptions.ts +4 -4
- package/src/resources/vectorize/indexes.ts +2 -2
- package/src/resources/waiting-rooms/events/details.ts +3 -3
- package/src/resources/waiting-rooms/events/events.ts +12 -12
- package/src/resources/waiting-rooms/rules.ts +5 -5
- package/src/resources/waiting-rooms/statuses.ts +1 -1
- package/src/resources/waiting-rooms/waiting-rooms.ts +6 -6
- package/src/resources/workers/account-settings.ts +1 -1
- package/src/resources/workers/ai.ts +2 -0
- package/src/resources/workers/domains.ts +10 -14
- package/src/resources/workers/scripts/schedules.ts +1 -1
- package/src/resources/workers/scripts/usage-model.ts +1 -1
- package/src/resources/workers/subdomains.ts +1 -1
- package/src/resources/zero-trust/access/applications/applications.ts +3 -3
- package/src/resources/zero-trust/access/bookmarks.ts +5 -5
- package/src/resources/zero-trust/access/logs/access-requests.ts +1 -1
- package/src/resources/zero-trust/devices/devices.ts +2 -2
- package/src/resources/zero-trust/devices/dex-tests.ts +5 -5
- package/src/resources/zero-trust/devices/networks.ts +5 -5
- package/src/resources/zero-trust/devices/override-codes.ts +6 -6
- package/src/resources/zero-trust/devices/policies/default-policy.ts +1 -1
- package/src/resources/zero-trust/devices/policies/excludes.ts +3 -3
- package/src/resources/zero-trust/devices/policies/fallback-domains.ts +3 -3
- package/src/resources/zero-trust/devices/policies/includes.ts +3 -3
- package/src/resources/zero-trust/devices/policies/policies.ts +5 -5
- package/src/resources/zero-trust/devices/posture/integrations.ts +5 -5
- package/src/resources/zero-trust/devices/posture/posture.ts +5 -5
- package/src/resources/zero-trust/devices/revoke.ts +1 -1
- package/src/resources/zero-trust/devices/settings.ts +2 -2
- package/src/resources/zero-trust/devices/unrevoke.ts +1 -1
- package/src/resources/zero-trust/gateway/audit-ssh-settings.ts +2 -2
- package/src/resources/zero-trust/gateway/configurations.ts +3 -3
- package/src/resources/zero-trust/gateway/gateway.ts +2 -2
- package/src/resources/zero-trust/gateway/lists/items.ts +1 -1
- package/src/resources/zero-trust/gateway/lists/lists.ts +6 -6
- package/src/resources/zero-trust/gateway/locations.ts +9 -9
- package/src/resources/zero-trust/gateway/logging.ts +2 -2
- package/src/resources/zero-trust/gateway/proxy-endpoints.ts +9 -9
- package/src/resources/zero-trust/gateway/rules.ts +5 -5
- package/src/resources/zones/subscriptions.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
|
@@ -33,12 +33,12 @@ export interface MiscategorizationCreateParams {
|
|
|
33
33
|
/**
|
|
34
34
|
* Body param: Content category IDs to add.
|
|
35
35
|
*/
|
|
36
|
-
content_adds?:
|
|
36
|
+
content_adds?: Array<number>;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Body param: Content category IDs to remove.
|
|
40
40
|
*/
|
|
41
|
-
content_removes?:
|
|
41
|
+
content_removes?: Array<number>;
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
* Body param:
|
|
@@ -53,12 +53,12 @@ export interface MiscategorizationCreateParams {
|
|
|
53
53
|
/**
|
|
54
54
|
* Body param: Security category IDs to add.
|
|
55
55
|
*/
|
|
56
|
-
security_adds?:
|
|
56
|
+
security_adds?: Array<number>;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* Body param: Security category IDs to remove.
|
|
60
60
|
*/
|
|
61
|
-
security_removes?:
|
|
61
|
+
security_removes?: Array<number>;
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
64
|
* Body param: Provide only if indicator_type is `domain` or `url`. Example if
|
|
@@ -10,7 +10,7 @@ export class Previews extends APIResource {
|
|
|
10
10
|
* Get the result of a previous preview operation using the provided preview_id.
|
|
11
11
|
*/
|
|
12
12
|
get(
|
|
13
|
-
previewId:
|
|
13
|
+
previewId: string,
|
|
14
14
|
params: PreviewGetParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
16
|
): Core.APIPromise<PreviewAPI.LoadBalancingPreviewResult> {
|
|
@@ -95,23 +95,23 @@ export interface MagicVisibilityMNMConfig {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
export interface ConfigCreateParams {
|
|
98
|
-
account_id:
|
|
98
|
+
account_id: string;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
export interface ConfigUpdateParams {
|
|
102
|
-
account_id:
|
|
102
|
+
account_id: string;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
export interface ConfigDeleteParams {
|
|
106
|
-
account_id:
|
|
106
|
+
account_id: string;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
export interface ConfigEditParams {
|
|
110
|
-
account_id:
|
|
110
|
+
account_id: string;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
export interface ConfigGetParams {
|
|
114
|
-
account_id:
|
|
114
|
+
account_id: string;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
export namespace Configs {
|
|
@@ -9,7 +9,7 @@ export class Advertisements extends APIResource {
|
|
|
9
9
|
* Update advertisement for rule.
|
|
10
10
|
*/
|
|
11
11
|
edit(
|
|
12
|
-
ruleId:
|
|
12
|
+
ruleId: string,
|
|
13
13
|
params: AdvertisementEditParams,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
15
|
): Core.APIPromise<MagicVisibilityMNMRuleAdvertisable | null> {
|
|
@@ -33,7 +33,7 @@ export interface MagicVisibilityMNMRuleAdvertisable {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export interface AdvertisementEditParams {
|
|
36
|
-
account_id:
|
|
36
|
+
account_id: string;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export namespace Advertisements {
|
|
@@ -55,7 +55,7 @@ export class Rules extends APIResource {
|
|
|
55
55
|
* Delete a network monitoring rule for account.
|
|
56
56
|
*/
|
|
57
57
|
delete(
|
|
58
|
-
ruleId:
|
|
58
|
+
ruleId: string,
|
|
59
59
|
params: RuleDeleteParams,
|
|
60
60
|
options?: Core.RequestOptions,
|
|
61
61
|
): Core.APIPromise<MagicVisibilityMNMRule | null> {
|
|
@@ -71,7 +71,7 @@ export class Rules extends APIResource {
|
|
|
71
71
|
* Update a network monitoring rule for account.
|
|
72
72
|
*/
|
|
73
73
|
edit(
|
|
74
|
-
ruleId:
|
|
74
|
+
ruleId: string,
|
|
75
75
|
params: RuleEditParams,
|
|
76
76
|
options?: Core.RequestOptions,
|
|
77
77
|
): Core.APIPromise<MagicVisibilityMNMRule | null> {
|
|
@@ -87,7 +87,7 @@ export class Rules extends APIResource {
|
|
|
87
87
|
* List a single network monitoring rule for account.
|
|
88
88
|
*/
|
|
89
89
|
get(
|
|
90
|
-
ruleId:
|
|
90
|
+
ruleId: string,
|
|
91
91
|
params: RuleGetParams,
|
|
92
92
|
options?: Core.RequestOptions,
|
|
93
93
|
): Core.APIPromise<MagicVisibilityMNMRule | null> {
|
|
@@ -126,7 +126,7 @@ export interface MagicVisibilityMNMRule {
|
|
|
126
126
|
|
|
127
127
|
prefixes: Array<string>;
|
|
128
128
|
|
|
129
|
-
id?:
|
|
129
|
+
id?: string;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* The number of bits per second for the rule. When this value is exceeded for the
|
|
@@ -144,27 +144,27 @@ export interface MagicVisibilityMNMRule {
|
|
|
144
144
|
export type RuleListResponse = Array<MagicVisibilityMNMRule | null>;
|
|
145
145
|
|
|
146
146
|
export interface RuleCreateParams {
|
|
147
|
-
account_id:
|
|
147
|
+
account_id: string;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
export interface RuleUpdateParams {
|
|
151
|
-
account_id:
|
|
151
|
+
account_id: string;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
export interface RuleListParams {
|
|
155
|
-
account_id:
|
|
155
|
+
account_id: string;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
export interface RuleDeleteParams {
|
|
159
|
-
account_id:
|
|
159
|
+
account_id: string;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
export interface RuleEditParams {
|
|
163
|
-
account_id:
|
|
163
|
+
account_id: string;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
export interface RuleGetParams {
|
|
167
|
-
account_id:
|
|
167
|
+
account_id: string;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
export namespace Rules {
|
|
@@ -35,25 +35,25 @@ export class Connections extends APIResource {
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
export interface PageShieldConnection {
|
|
38
|
-
id?:
|
|
38
|
+
id?: string;
|
|
39
39
|
|
|
40
|
-
added_at?:
|
|
40
|
+
added_at?: string;
|
|
41
41
|
|
|
42
|
-
domain_reported_malicious?:
|
|
42
|
+
domain_reported_malicious?: boolean;
|
|
43
43
|
|
|
44
|
-
first_page_url?:
|
|
44
|
+
first_page_url?: string;
|
|
45
45
|
|
|
46
|
-
first_seen_at?:
|
|
46
|
+
first_seen_at?: string;
|
|
47
47
|
|
|
48
|
-
host?:
|
|
48
|
+
host?: string;
|
|
49
49
|
|
|
50
|
-
last_seen_at?:
|
|
50
|
+
last_seen_at?: string;
|
|
51
51
|
|
|
52
|
-
page_urls?:
|
|
52
|
+
page_urls?: Array<string>;
|
|
53
53
|
|
|
54
|
-
url?:
|
|
54
|
+
url?: string;
|
|
55
55
|
|
|
56
|
-
url_contains_cdn_cgi_path?:
|
|
56
|
+
url_contains_cdn_cgi_path?: boolean;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
export type ConnectionListResponse = Array<PageShieldConnection>;
|
|
@@ -31,69 +31,69 @@ export class Scripts extends APIResource {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export interface PageShieldScript {
|
|
34
|
-
id?:
|
|
34
|
+
id?: string;
|
|
35
35
|
|
|
36
|
-
added_at?:
|
|
36
|
+
added_at?: string;
|
|
37
37
|
|
|
38
|
-
dataflow_score?:
|
|
38
|
+
dataflow_score?: number;
|
|
39
39
|
|
|
40
|
-
domain_reported_malicious?:
|
|
40
|
+
domain_reported_malicious?: boolean;
|
|
41
41
|
|
|
42
|
-
fetched_at?:
|
|
42
|
+
fetched_at?: string;
|
|
43
43
|
|
|
44
|
-
first_page_url?:
|
|
44
|
+
first_page_url?: string;
|
|
45
45
|
|
|
46
|
-
first_seen_at?:
|
|
46
|
+
first_seen_at?: string;
|
|
47
47
|
|
|
48
|
-
hash?:
|
|
48
|
+
hash?: string;
|
|
49
49
|
|
|
50
|
-
host?:
|
|
50
|
+
host?: string;
|
|
51
51
|
|
|
52
|
-
js_integrity_score?:
|
|
52
|
+
js_integrity_score?: number;
|
|
53
53
|
|
|
54
|
-
last_seen_at?:
|
|
54
|
+
last_seen_at?: string;
|
|
55
55
|
|
|
56
|
-
obfuscation_score?:
|
|
56
|
+
obfuscation_score?: number;
|
|
57
57
|
|
|
58
|
-
page_urls?:
|
|
58
|
+
page_urls?: Array<string>;
|
|
59
59
|
|
|
60
|
-
url?:
|
|
60
|
+
url?: string;
|
|
61
61
|
|
|
62
|
-
url_contains_cdn_cgi_path?:
|
|
62
|
+
url_contains_cdn_cgi_path?: boolean;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
export type ScriptListResponse = Array<PageShieldScript>;
|
|
66
66
|
|
|
67
67
|
export interface ScriptGetResponse {
|
|
68
|
-
id?:
|
|
68
|
+
id?: string;
|
|
69
69
|
|
|
70
|
-
added_at?:
|
|
70
|
+
added_at?: string;
|
|
71
71
|
|
|
72
|
-
dataflow_score?:
|
|
72
|
+
dataflow_score?: number;
|
|
73
73
|
|
|
74
|
-
domain_reported_malicious?:
|
|
74
|
+
domain_reported_malicious?: boolean;
|
|
75
75
|
|
|
76
|
-
fetched_at?:
|
|
76
|
+
fetched_at?: string;
|
|
77
77
|
|
|
78
|
-
first_page_url?:
|
|
78
|
+
first_page_url?: string;
|
|
79
79
|
|
|
80
|
-
first_seen_at?:
|
|
80
|
+
first_seen_at?: string;
|
|
81
81
|
|
|
82
|
-
hash?:
|
|
82
|
+
hash?: string;
|
|
83
83
|
|
|
84
|
-
host?:
|
|
84
|
+
host?: string;
|
|
85
85
|
|
|
86
|
-
js_integrity_score?:
|
|
86
|
+
js_integrity_score?: number;
|
|
87
87
|
|
|
88
|
-
last_seen_at?:
|
|
88
|
+
last_seen_at?: string;
|
|
89
89
|
|
|
90
|
-
obfuscation_score?:
|
|
90
|
+
obfuscation_score?: number;
|
|
91
91
|
|
|
92
|
-
page_urls?:
|
|
92
|
+
page_urls?: Array<string>;
|
|
93
93
|
|
|
94
|
-
url?:
|
|
94
|
+
url?: string;
|
|
95
95
|
|
|
96
|
-
url_contains_cdn_cgi_path?:
|
|
96
|
+
url_contains_cdn_cgi_path?: boolean;
|
|
97
97
|
|
|
98
98
|
versions?: Array<ScriptGetResponse.Version> | null;
|
|
99
99
|
}
|
|
@@ -196,12 +196,12 @@ export namespace RegistrarAPIDomains {
|
|
|
196
196
|
/**
|
|
197
197
|
* Form of authorization has been accepted by the registrant.
|
|
198
198
|
*/
|
|
199
|
-
accept_foa?:
|
|
199
|
+
accept_foa?: string;
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* Shows transfer status with the registry.
|
|
203
203
|
*/
|
|
204
|
-
approve_transfer?:
|
|
204
|
+
approve_transfer?: string;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* Indicates if cancellation is still possible.
|
|
@@ -216,7 +216,7 @@ export namespace RegistrarAPIDomains {
|
|
|
216
216
|
/**
|
|
217
217
|
* Auth code has been entered and verified.
|
|
218
218
|
*/
|
|
219
|
-
enter_auth_code?:
|
|
219
|
+
enter_auth_code?: string;
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Domain is unlocked at the foreign registrar.
|
|
@@ -374,12 +374,12 @@ export namespace DomainListResponse {
|
|
|
374
374
|
/**
|
|
375
375
|
* Form of authorization has been accepted by the registrant.
|
|
376
376
|
*/
|
|
377
|
-
accept_foa?:
|
|
377
|
+
accept_foa?: string;
|
|
378
378
|
|
|
379
379
|
/**
|
|
380
380
|
* Shows transfer status with the registry.
|
|
381
381
|
*/
|
|
382
|
-
approve_transfer?:
|
|
382
|
+
approve_transfer?: string;
|
|
383
383
|
|
|
384
384
|
/**
|
|
385
385
|
* Indicates if cancellation is still possible.
|
|
@@ -394,7 +394,7 @@ export namespace DomainListResponse {
|
|
|
394
394
|
/**
|
|
395
395
|
* Auth code has been entered and verified.
|
|
396
396
|
*/
|
|
397
|
-
enter_auth_code?:
|
|
397
|
+
enter_auth_code?: string;
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
400
|
* Domain is unlocked at the foreign registrar.
|
|
@@ -22,7 +22,7 @@ export class ACLs extends APIResource {
|
|
|
22
22
|
* Modify ACL.
|
|
23
23
|
*/
|
|
24
24
|
update(
|
|
25
|
-
aclId:
|
|
25
|
+
aclId: string,
|
|
26
26
|
params: ACLUpdateParams,
|
|
27
27
|
options?: Core.RequestOptions,
|
|
28
28
|
): Core.APIPromise<SecondaryDNSACL> {
|
|
@@ -51,7 +51,7 @@ export class ACLs extends APIResource {
|
|
|
51
51
|
* Delete ACL.
|
|
52
52
|
*/
|
|
53
53
|
delete(
|
|
54
|
-
aclId:
|
|
54
|
+
aclId: string,
|
|
55
55
|
params: ACLDeleteParams,
|
|
56
56
|
options?: Core.RequestOptions,
|
|
57
57
|
): Core.APIPromise<ACLDeleteResponse> {
|
|
@@ -66,7 +66,7 @@ export class ACLs extends APIResource {
|
|
|
66
66
|
/**
|
|
67
67
|
* Get ACL.
|
|
68
68
|
*/
|
|
69
|
-
get(aclId:
|
|
69
|
+
get(aclId: string, params: ACLGetParams, options?: Core.RequestOptions): Core.APIPromise<SecondaryDNSACL> {
|
|
70
70
|
const { account_id } = params;
|
|
71
71
|
return (
|
|
72
72
|
this._client.get(`/accounts/${account_id}/secondary_dns/acls/${aclId}`, options) as Core.APIPromise<{
|
|
@@ -77,7 +77,7 @@ export class ACLs extends APIResource {
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
export interface SecondaryDNSACL {
|
|
80
|
-
id:
|
|
80
|
+
id: string;
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
83
|
* Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will
|
|
@@ -97,14 +97,14 @@ export interface SecondaryDNSACL {
|
|
|
97
97
|
export type ACLListResponse = Array<SecondaryDNSACL>;
|
|
98
98
|
|
|
99
99
|
export interface ACLDeleteResponse {
|
|
100
|
-
id?:
|
|
100
|
+
id?: string;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
export interface ACLCreateParams {
|
|
104
104
|
/**
|
|
105
105
|
* Path param:
|
|
106
106
|
*/
|
|
107
|
-
account_id:
|
|
107
|
+
account_id: string;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* Body param:
|
|
@@ -116,7 +116,7 @@ export interface ACLUpdateParams {
|
|
|
116
116
|
/**
|
|
117
117
|
* Path param:
|
|
118
118
|
*/
|
|
119
|
-
account_id:
|
|
119
|
+
account_id: string;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
122
|
* Body param: Allowed IPv4/IPv6 address range of primary or secondary nameservers.
|
|
@@ -134,15 +134,15 @@ export interface ACLUpdateParams {
|
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
export interface ACLListParams {
|
|
137
|
-
account_id:
|
|
137
|
+
account_id: string;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
export interface ACLDeleteParams {
|
|
141
|
-
account_id:
|
|
141
|
+
account_id: string;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
export interface ACLGetParams {
|
|
145
|
-
account_id:
|
|
145
|
+
account_id: string;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
export namespace ACLs {
|
|
@@ -64,7 +64,7 @@ export class Incoming extends APIResource {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
export interface IncomingCreateResponse {
|
|
67
|
-
id?:
|
|
67
|
+
id?: string;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not
|
|
@@ -104,7 +104,7 @@ export interface IncomingCreateResponse {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
export interface IncomingUpdateResponse {
|
|
107
|
-
id?:
|
|
107
|
+
id?: string;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
110
|
* How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not
|
|
@@ -144,11 +144,11 @@ export interface IncomingUpdateResponse {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
export interface IncomingDeleteResponse {
|
|
147
|
-
id?:
|
|
147
|
+
id?: string;
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
export interface IncomingGetResponse {
|
|
151
|
-
id?:
|
|
151
|
+
id?: string;
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* How often should a secondary zone auto refresh regardless of DNS NOTIFY. Not
|
|
@@ -191,7 +191,7 @@ export interface IncomingCreateParams {
|
|
|
191
191
|
/**
|
|
192
192
|
* Path param:
|
|
193
193
|
*/
|
|
194
|
-
zone_id:
|
|
194
|
+
zone_id: string;
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
197
|
* Body param: How often should a secondary zone auto refresh regardless of DNS
|
|
@@ -214,7 +214,7 @@ export interface IncomingUpdateParams {
|
|
|
214
214
|
/**
|
|
215
215
|
* Path param:
|
|
216
216
|
*/
|
|
217
|
-
zone_id:
|
|
217
|
+
zone_id: string;
|
|
218
218
|
|
|
219
219
|
/**
|
|
220
220
|
* Body param: How often should a secondary zone auto refresh regardless of DNS
|
|
@@ -234,11 +234,11 @@ export interface IncomingUpdateParams {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
export interface IncomingDeleteParams {
|
|
237
|
-
zone_id:
|
|
237
|
+
zone_id: string;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
export interface IncomingGetParams {
|
|
241
|
-
zone_id:
|
|
241
|
+
zone_id: string;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
export namespace Incoming {
|
|
@@ -129,7 +129,7 @@ export type SecondaryDNSEnableTransferResult = string;
|
|
|
129
129
|
export type SecondaryDNSSchemasForceResult = string;
|
|
130
130
|
|
|
131
131
|
export interface OutgoingCreateResponse {
|
|
132
|
-
id?:
|
|
132
|
+
id?: string;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* The time for a specific event.
|
|
@@ -163,7 +163,7 @@ export interface OutgoingCreateResponse {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
export interface OutgoingUpdateResponse {
|
|
166
|
-
id?:
|
|
166
|
+
id?: string;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
169
|
* The time for a specific event.
|
|
@@ -197,11 +197,11 @@ export interface OutgoingUpdateResponse {
|
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
export interface OutgoingDeleteResponse {
|
|
200
|
-
id?:
|
|
200
|
+
id?: string;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
export interface OutgoingGetResponse {
|
|
204
|
-
id?:
|
|
204
|
+
id?: string;
|
|
205
205
|
|
|
206
206
|
/**
|
|
207
207
|
* The time for a specific event.
|
|
@@ -238,7 +238,7 @@ export interface OutgoingCreateParams {
|
|
|
238
238
|
/**
|
|
239
239
|
* Path param:
|
|
240
240
|
*/
|
|
241
|
-
zone_id:
|
|
241
|
+
zone_id: string;
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
244
|
* Body param: Zone name.
|
|
@@ -255,7 +255,7 @@ export interface OutgoingUpdateParams {
|
|
|
255
255
|
/**
|
|
256
256
|
* Path param:
|
|
257
257
|
*/
|
|
258
|
-
zone_id:
|
|
258
|
+
zone_id: string;
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* Body param: Zone name.
|
|
@@ -269,23 +269,23 @@ export interface OutgoingUpdateParams {
|
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
export interface OutgoingDeleteParams {
|
|
272
|
-
zone_id:
|
|
272
|
+
zone_id: string;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
export interface OutgoingDisableParams {
|
|
276
|
-
zone_id:
|
|
276
|
+
zone_id: string;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
export interface OutgoingEnableParams {
|
|
280
|
-
zone_id:
|
|
280
|
+
zone_id: string;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
export interface OutgoingForceNotifyParams {
|
|
284
|
-
zone_id:
|
|
284
|
+
zone_id: string;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
export interface OutgoingGetParams {
|
|
288
|
-
zone_id:
|
|
288
|
+
zone_id: string;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
export namespace Outgoing {
|
|
@@ -22,7 +22,7 @@ export class Peers extends APIResource {
|
|
|
22
22
|
* Modify Peer.
|
|
23
23
|
*/
|
|
24
24
|
update(
|
|
25
|
-
peerId:
|
|
25
|
+
peerId: string,
|
|
26
26
|
params: PeerUpdateParams,
|
|
27
27
|
options?: Core.RequestOptions,
|
|
28
28
|
): Core.APIPromise<SecondaryDNSPeer> {
|
|
@@ -51,7 +51,7 @@ export class Peers extends APIResource {
|
|
|
51
51
|
* Delete Peer.
|
|
52
52
|
*/
|
|
53
53
|
delete(
|
|
54
|
-
peerId:
|
|
54
|
+
peerId: string,
|
|
55
55
|
params: PeerDeleteParams,
|
|
56
56
|
options?: Core.RequestOptions,
|
|
57
57
|
): Core.APIPromise<PeerDeleteResponse> {
|
|
@@ -68,7 +68,7 @@ export class Peers extends APIResource {
|
|
|
68
68
|
* Get Peer.
|
|
69
69
|
*/
|
|
70
70
|
get(
|
|
71
|
-
peerId:
|
|
71
|
+
peerId: string,
|
|
72
72
|
params: PeerGetParams,
|
|
73
73
|
options?: Core.RequestOptions,
|
|
74
74
|
): Core.APIPromise<SecondaryDNSPeer> {
|
|
@@ -82,7 +82,7 @@ export class Peers extends APIResource {
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export interface SecondaryDNSPeer {
|
|
85
|
-
id:
|
|
85
|
+
id: string;
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* The name of the peer.
|
|
@@ -119,14 +119,14 @@ export interface SecondaryDNSPeer {
|
|
|
119
119
|
export type PeerListResponse = Array<SecondaryDNSPeer>;
|
|
120
120
|
|
|
121
121
|
export interface PeerDeleteResponse {
|
|
122
|
-
id?:
|
|
122
|
+
id?: string;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
export interface PeerCreateParams {
|
|
126
126
|
/**
|
|
127
127
|
* Path param:
|
|
128
128
|
*/
|
|
129
|
-
account_id:
|
|
129
|
+
account_id: string;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
132
|
* Body param:
|
|
@@ -138,7 +138,7 @@ export interface PeerUpdateParams {
|
|
|
138
138
|
/**
|
|
139
139
|
* Path param:
|
|
140
140
|
*/
|
|
141
|
-
account_id:
|
|
141
|
+
account_id: string;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
144
|
* Body param: The name of the peer.
|
|
@@ -173,15 +173,15 @@ export interface PeerUpdateParams {
|
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
export interface PeerListParams {
|
|
176
|
-
account_id:
|
|
176
|
+
account_id: string;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
export interface PeerDeleteParams {
|
|
180
|
-
account_id:
|
|
180
|
+
account_id: string;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
export interface PeerGetParams {
|
|
184
|
-
account_id:
|
|
184
|
+
account_id: string;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
export namespace Peers {
|