cloudflare 3.0.0-beta.12 → 3.0.0-beta.14
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/index.d.mts +3 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js.map +1 -1
- package/index.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/access-rules.d.ts +2 -2
- package/resources/firewall/access-rules.js +2 -2
- package/resources/firewall/access-rules.mjs +2 -2
- 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/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.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 +36 -29
- package/resources/queues/consumers.d.ts.map +1 -1
- package/resources/queues/consumers.js +8 -8
- package/resources/queues/consumers.js.map +1 -1
- package/resources/queues/consumers.mjs +8 -8
- package/resources/queues/consumers.mjs.map +1 -1
- package/resources/queues/index.d.ts +3 -2
- package/resources/queues/index.d.ts.map +1 -1
- package/resources/queues/index.js +3 -1
- package/resources/queues/index.js.map +1 -1
- package/resources/queues/index.mjs +1 -0
- package/resources/queues/index.mjs.map +1 -1
- package/resources/queues/messages.d.ts +137 -0
- package/resources/queues/messages.d.ts.map +1 -0
- package/resources/queues/messages.js +31 -0
- package/resources/queues/messages.js.map +1 -0
- package/resources/queues/messages.mjs +27 -0
- package/resources/queues/messages.mjs.map +1 -0
- package/resources/queues/queues.d.ts +54 -8
- package/resources/queues/queues.d.ts.map +1 -1
- package/resources/queues/queues.js +11 -11
- package/resources/queues/queues.js.map +1 -1
- package/resources/queues/queues.mjs +11 -11
- package/resources/queues/queues.mjs.map +1 -1
- package/resources/registrar/domains.d.ts +6 -6
- package/resources/registrar/domains.d.ts.map +1 -1
- package/resources/rulesets/rules.d.ts +1 -1
- package/resources/rulesets/rules.js +1 -1
- package/resources/rulesets/rules.mjs +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/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/index.ts +3 -0
- package/src/resources/d1/database.ts +2 -2
- package/src/resources/dns/records.ts +4 -4
- package/src/resources/firewall/access-rules.ts +2 -2
- 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/index.ts +3 -0
- 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 +50 -44
- package/src/resources/queues/index.ts +15 -3
- package/src/resources/queues/messages.ts +210 -0
- package/src/resources/queues/queues.ts +89 -20
- package/src/resources/registrar/domains.ts +6 -6
- package/src/resources/rulesets/rules.ts +1 -1
- 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/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
package/src/index.ts
CHANGED
|
@@ -636,8 +636,11 @@ export namespace Cloudflare {
|
|
|
636
636
|
export import WorkersQueue = API.WorkersQueue;
|
|
637
637
|
export import WorkersQueueCreated = API.WorkersQueueCreated;
|
|
638
638
|
export import WorkersQueueUpdated = API.WorkersQueueUpdated;
|
|
639
|
+
export import QueueCreateResponse = API.QueueCreateResponse;
|
|
640
|
+
export import QueueUpdateResponse = API.QueueUpdateResponse;
|
|
639
641
|
export import QueueListResponse = API.QueueListResponse;
|
|
640
642
|
export import QueueDeleteResponse = API.QueueDeleteResponse;
|
|
643
|
+
export import QueueGetResponse = API.QueueGetResponse;
|
|
641
644
|
export import QueueCreateParams = API.QueueCreateParams;
|
|
642
645
|
export import QueueUpdateParams = API.QueueUpdateParams;
|
|
643
646
|
export import QueueListParams = API.QueueListParams;
|
|
@@ -89,7 +89,7 @@ export interface D1CreateDatabase {
|
|
|
89
89
|
/**
|
|
90
90
|
* Specifies the timestamp the resource was created as an ISO8601 string.
|
|
91
91
|
*/
|
|
92
|
-
created_at?:
|
|
92
|
+
created_at?: string;
|
|
93
93
|
|
|
94
94
|
name?: string;
|
|
95
95
|
|
|
@@ -102,7 +102,7 @@ export interface D1DatabaseDetails {
|
|
|
102
102
|
/**
|
|
103
103
|
* Specifies the timestamp the resource was created as an ISO8601 string.
|
|
104
104
|
*/
|
|
105
|
-
created_at?:
|
|
105
|
+
created_at?: string;
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* The D1 database's size, in bytes.
|
|
@@ -1504,7 +1504,7 @@ export namespace DNSRecord {
|
|
|
1504
1504
|
/**
|
|
1505
1505
|
* A valid name server host name.
|
|
1506
1506
|
*/
|
|
1507
|
-
content:
|
|
1507
|
+
content: string;
|
|
1508
1508
|
|
|
1509
1509
|
/**
|
|
1510
1510
|
* DNS record name (or @ for the zone apex) in Punycode.
|
|
@@ -3310,7 +3310,7 @@ export namespace RecordCreateParams {
|
|
|
3310
3310
|
/**
|
|
3311
3311
|
* Body param: A valid name server host name.
|
|
3312
3312
|
*/
|
|
3313
|
-
content:
|
|
3313
|
+
content: string;
|
|
3314
3314
|
|
|
3315
3315
|
/**
|
|
3316
3316
|
* Body param: DNS record name (or @ for the zone apex) in Punycode.
|
|
@@ -4579,7 +4579,7 @@ export namespace RecordUpdateParams {
|
|
|
4579
4579
|
/**
|
|
4580
4580
|
* Body param: A valid name server host name.
|
|
4581
4581
|
*/
|
|
4582
|
-
content:
|
|
4582
|
+
content: string;
|
|
4583
4583
|
|
|
4584
4584
|
/**
|
|
4585
4585
|
* Body param: DNS record name (or @ for the zone apex) in Punycode.
|
|
@@ -6025,7 +6025,7 @@ export namespace RecordEditParams {
|
|
|
6025
6025
|
/**
|
|
6026
6026
|
* Body param: A valid name server host name.
|
|
6027
6027
|
*/
|
|
6028
|
-
content:
|
|
6028
|
+
content: string;
|
|
6029
6029
|
|
|
6030
6030
|
/**
|
|
6031
6031
|
* Body param: DNS record name (or @ for the zone apex) in Punycode.
|
|
@@ -123,9 +123,9 @@ export class AccessRules extends APIResource {
|
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
* Updates an IP Access rule defined
|
|
126
|
+
* Updates an IP Access rule defined.
|
|
127
127
|
*
|
|
128
|
-
* Note: This operation will affect all zones in the account.
|
|
128
|
+
* Note: This operation will affect all zones in the account or zone.
|
|
129
129
|
*/
|
|
130
130
|
edit(
|
|
131
131
|
identifier: unknown,
|
|
@@ -182,16 +182,16 @@ export namespace LegacyJhsOverride {
|
|
|
182
182
|
*/
|
|
183
183
|
block?: 'challenge' | 'block' | 'simulate' | 'disable' | 'default';
|
|
184
184
|
|
|
185
|
-
challenge?:
|
|
185
|
+
challenge?: string;
|
|
186
186
|
|
|
187
|
-
default?:
|
|
187
|
+
default?: string;
|
|
188
188
|
|
|
189
189
|
/**
|
|
190
190
|
* The WAF rule action to apply.
|
|
191
191
|
*/
|
|
192
192
|
disable?: 'challenge' | 'block' | 'simulate' | 'disable' | 'default';
|
|
193
193
|
|
|
194
|
-
simulate?:
|
|
194
|
+
simulate?: string;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
|
|
@@ -96,14 +96,14 @@ export interface TLSCertificatesAndHostnamesSettingObjectDelete {
|
|
|
96
96
|
*/
|
|
97
97
|
hostname?: string;
|
|
98
98
|
|
|
99
|
-
status?:
|
|
99
|
+
status?: string;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* This is the time the tls setting was updated.
|
|
103
103
|
*/
|
|
104
104
|
updated_at?: string;
|
|
105
105
|
|
|
106
|
-
value?:
|
|
106
|
+
value?: string;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
export type TLSGetResponse = Array<TLSGetResponse.TLSGetResponseItem>;
|
|
@@ -9,7 +9,7 @@ export class Keys extends APIResource {
|
|
|
9
9
|
* Create a new signing key with specified name. Returns all keys available.
|
|
10
10
|
*/
|
|
11
11
|
update(
|
|
12
|
-
signingKeyName:
|
|
12
|
+
signingKeyName: string,
|
|
13
13
|
params: KeyUpdateParams,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
15
|
): Core.APIPromise<ImagesImageKeys> {
|
|
@@ -39,7 +39,7 @@ export class Keys extends APIResource {
|
|
|
39
39
|
* key is removed, a new default signing key will be generated.
|
|
40
40
|
*/
|
|
41
41
|
delete(
|
|
42
|
-
signingKeyName:
|
|
42
|
+
signingKeyName: string,
|
|
43
43
|
params: KeyDeleteParams,
|
|
44
44
|
options?: Core.RequestOptions,
|
|
45
45
|
): Core.APIPromise<ImagesImageKeys> {
|
|
@@ -34,7 +34,7 @@ export class Variants extends APIResource {
|
|
|
34
34
|
* Deleting a variant purges the cache for all images associated with the variant.
|
|
35
35
|
*/
|
|
36
36
|
delete(
|
|
37
|
-
variantId:
|
|
37
|
+
variantId: string,
|
|
38
38
|
params: VariantDeleteParams,
|
|
39
39
|
options?: Core.RequestOptions,
|
|
40
40
|
): Core.APIPromise<VariantDeleteResponse> {
|
|
@@ -51,7 +51,7 @@ export class Variants extends APIResource {
|
|
|
51
51
|
* Updating a variant purges the cache for all images associated with the variant.
|
|
52
52
|
*/
|
|
53
53
|
edit(
|
|
54
|
-
variantId:
|
|
54
|
+
variantId: string,
|
|
55
55
|
params: VariantEditParams,
|
|
56
56
|
options?: Core.RequestOptions,
|
|
57
57
|
): Core.APIPromise<ImageVariant> {
|
|
@@ -68,7 +68,7 @@ export class Variants extends APIResource {
|
|
|
68
68
|
* Fetch details for a single variant.
|
|
69
69
|
*/
|
|
70
70
|
get(
|
|
71
|
-
variantId:
|
|
71
|
+
variantId: string,
|
|
72
72
|
params: VariantGetParams,
|
|
73
73
|
options?: Core.RequestOptions,
|
|
74
74
|
): Core.APIPromise<ImageVariant> {
|
|
@@ -88,7 +88,7 @@ export interface ImageVariant {
|
|
|
88
88
|
|
|
89
89
|
export namespace ImageVariant {
|
|
90
90
|
export interface Variant {
|
|
91
|
-
id:
|
|
91
|
+
id: string;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
94
|
* Allows you to define image resizing sizes for different use cases.
|
|
@@ -142,7 +142,7 @@ export namespace ImageVariants {
|
|
|
142
142
|
|
|
143
143
|
export namespace Variants {
|
|
144
144
|
export interface Hero {
|
|
145
|
-
id:
|
|
145
|
+
id: string;
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* Allows you to define image resizing sizes for different use cases.
|
|
@@ -197,7 +197,7 @@ export interface VariantCreateParams {
|
|
|
197
197
|
/**
|
|
198
198
|
* Body param:
|
|
199
199
|
*/
|
|
200
|
-
id:
|
|
200
|
+
id: string;
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
203
|
* Body param: Allows you to define image resizing sizes for different use cases.
|
package/src/resources/index.ts
CHANGED
|
@@ -364,8 +364,11 @@ export {
|
|
|
364
364
|
WorkersQueue,
|
|
365
365
|
WorkersQueueCreated,
|
|
366
366
|
WorkersQueueUpdated,
|
|
367
|
+
QueueCreateResponse,
|
|
368
|
+
QueueUpdateResponse,
|
|
367
369
|
QueueListResponse,
|
|
368
370
|
QueueDeleteResponse,
|
|
371
|
+
QueueGetResponse,
|
|
369
372
|
QueueCreateParams,
|
|
370
373
|
QueueUpdateParams,
|
|
371
374
|
QueueListParams,
|
|
@@ -30,7 +30,7 @@ export interface IntelDomainHistory {
|
|
|
30
30
|
|
|
31
31
|
export namespace IntelDomainHistory {
|
|
32
32
|
export interface Categorization {
|
|
33
|
-
categories?: unknown
|
|
33
|
+
categories?: Array<unknown>;
|
|
34
34
|
|
|
35
35
|
end?: string;
|
|
36
36
|
|
|
@@ -49,7 +49,7 @@ export interface DomainHistoryGetParams {
|
|
|
49
49
|
/**
|
|
50
50
|
* Query param:
|
|
51
51
|
*/
|
|
52
|
-
domain?:
|
|
52
|
+
domain?: string;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
export namespace DomainHistory {
|
|
@@ -36,7 +36,7 @@ export namespace BulkGetResponse {
|
|
|
36
36
|
/**
|
|
37
37
|
* Current content categories.
|
|
38
38
|
*/
|
|
39
|
-
content_categories?: unknown
|
|
39
|
+
content_categories?: Array<unknown>;
|
|
40
40
|
|
|
41
41
|
domain?: string;
|
|
42
42
|
|
|
@@ -62,7 +62,7 @@ export namespace BulkGetResponse {
|
|
|
62
62
|
*/
|
|
63
63
|
risk_score?: number;
|
|
64
64
|
|
|
65
|
-
risk_types?: unknown
|
|
65
|
+
risk_types?: Array<unknown>;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export namespace BulkGetResponseItem {
|
|
@@ -35,7 +35,7 @@ export interface IntelDomain {
|
|
|
35
35
|
/**
|
|
36
36
|
* Current content categories.
|
|
37
37
|
*/
|
|
38
|
-
content_categories?: unknown
|
|
38
|
+
content_categories?: Array<unknown>;
|
|
39
39
|
|
|
40
40
|
domain?: string;
|
|
41
41
|
|
|
@@ -67,7 +67,7 @@ export interface IntelDomain {
|
|
|
67
67
|
*/
|
|
68
68
|
risk_score?: number;
|
|
69
69
|
|
|
70
|
-
risk_types?: unknown
|
|
70
|
+
risk_types?: Array<unknown>;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export namespace IntelDomain {
|
|
@@ -27,7 +27,7 @@ export interface IntelSchemasIP {
|
|
|
27
27
|
|
|
28
28
|
ip?: string | string;
|
|
29
29
|
|
|
30
|
-
risk_types?: unknown
|
|
30
|
+
risk_types?: Array<unknown>;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export namespace IntelSchemasIP {
|
|
@@ -36,7 +36,7 @@ export namespace IntelSchemasIP {
|
|
|
36
36
|
* to.
|
|
37
37
|
*/
|
|
38
38
|
export interface BelongsToRef {
|
|
39
|
-
id?:
|
|
39
|
+
id?: string;
|
|
40
40
|
|
|
41
41
|
country?: string;
|
|
42
42
|
|
|
@@ -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
|
}
|