cloudflare 3.0.0-beta.12 → 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 +8 -0
- 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/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/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/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
|
@@ -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 {
|
|
@@ -22,7 +22,7 @@ export class TSIGs extends APIResource {
|
|
|
22
22
|
* Modify TSIG.
|
|
23
23
|
*/
|
|
24
24
|
update(
|
|
25
|
-
tsigId:
|
|
25
|
+
tsigId: string,
|
|
26
26
|
params: TSIGUpdateParams,
|
|
27
27
|
options?: Core.RequestOptions,
|
|
28
28
|
): Core.APIPromise<SecondaryDNSTSIG> {
|
|
@@ -51,7 +51,7 @@ export class TSIGs extends APIResource {
|
|
|
51
51
|
* Delete TSIG.
|
|
52
52
|
*/
|
|
53
53
|
delete(
|
|
54
|
-
tsigId:
|
|
54
|
+
tsigId: string,
|
|
55
55
|
params: TSIGDeleteParams,
|
|
56
56
|
options?: Core.RequestOptions,
|
|
57
57
|
): Core.APIPromise<TSIGDeleteResponse> {
|
|
@@ -68,7 +68,7 @@ export class TSIGs extends APIResource {
|
|
|
68
68
|
* Get TSIG.
|
|
69
69
|
*/
|
|
70
70
|
get(
|
|
71
|
-
tsigId:
|
|
71
|
+
tsigId: string,
|
|
72
72
|
params: TSIGGetParams,
|
|
73
73
|
options?: Core.RequestOptions,
|
|
74
74
|
): Core.APIPromise<SecondaryDNSTSIG> {
|
|
@@ -82,7 +82,7 @@ export class TSIGs extends APIResource {
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
export interface SecondaryDNSTSIG {
|
|
85
|
-
id:
|
|
85
|
+
id: string;
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
88
|
* TSIG algorithm.
|
|
@@ -103,14 +103,14 @@ export interface SecondaryDNSTSIG {
|
|
|
103
103
|
export type TSIGListResponse = Array<SecondaryDNSTSIG>;
|
|
104
104
|
|
|
105
105
|
export interface TSIGDeleteResponse {
|
|
106
|
-
id?:
|
|
106
|
+
id?: string;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
export interface TSIGCreateParams {
|
|
110
110
|
/**
|
|
111
111
|
* Path param:
|
|
112
112
|
*/
|
|
113
|
-
account_id:
|
|
113
|
+
account_id: string;
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* Body param: TSIG algorithm.
|
|
@@ -132,7 +132,7 @@ export interface TSIGUpdateParams {
|
|
|
132
132
|
/**
|
|
133
133
|
* Path param:
|
|
134
134
|
*/
|
|
135
|
-
account_id:
|
|
135
|
+
account_id: string;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* Body param: TSIG algorithm.
|
|
@@ -151,15 +151,15 @@ export interface TSIGUpdateParams {
|
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
export interface TSIGListParams {
|
|
154
|
-
account_id:
|
|
154
|
+
account_id: string;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
export interface TSIGDeleteParams {
|
|
158
|
-
account_id:
|
|
158
|
+
account_id: string;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
export interface TSIGGetParams {
|
|
162
|
-
account_id:
|
|
162
|
+
account_id: string;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
export namespace TSIGs {
|
|
@@ -10,13 +10,16 @@ export class Embed extends APIResource {
|
|
|
10
10
|
* Cloudflare. On success, returns an HTML fragment for use on web pages to display
|
|
11
11
|
* a video. On failure, returns a JSON response body.
|
|
12
12
|
*/
|
|
13
|
-
get(identifier: string, params: EmbedGetParams, options?: Core.RequestOptions): Core.APIPromise<
|
|
13
|
+
get(identifier: string, params: EmbedGetParams, options?: Core.RequestOptions): Core.APIPromise<string> {
|
|
14
14
|
const { account_id } = params;
|
|
15
|
-
return this._client.get(`/accounts/${account_id}/stream/${identifier}/embed`,
|
|
15
|
+
return this._client.get(`/accounts/${account_id}/stream/${identifier}/embed`, {
|
|
16
|
+
...options,
|
|
17
|
+
headers: { Accept: 'application/json', ...options?.headers },
|
|
18
|
+
});
|
|
16
19
|
}
|
|
17
20
|
}
|
|
18
21
|
|
|
19
|
-
export type EmbedGetResponse =
|
|
22
|
+
export type EmbedGetResponse = string;
|
|
20
23
|
|
|
21
24
|
export interface EmbedGetParams {
|
|
22
25
|
/**
|
|
@@ -181,7 +181,7 @@ export namespace SubscriptionListResponse {
|
|
|
181
181
|
/**
|
|
182
182
|
* The ID of the rate plan.
|
|
183
183
|
*/
|
|
184
|
-
id?:
|
|
184
|
+
id?: string;
|
|
185
185
|
|
|
186
186
|
/**
|
|
187
187
|
* The currency applied to the rate plan subscription.
|
|
@@ -304,7 +304,7 @@ export namespace SubscriptionCreateParams {
|
|
|
304
304
|
/**
|
|
305
305
|
* The ID of the rate plan.
|
|
306
306
|
*/
|
|
307
|
-
id?:
|
|
307
|
+
id?: string;
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
310
|
* The currency applied to the rate plan subscription.
|
|
@@ -407,7 +407,7 @@ export namespace SubscriptionUpdateParams {
|
|
|
407
407
|
/**
|
|
408
408
|
* The ID of the rate plan.
|
|
409
409
|
*/
|
|
410
|
-
id?:
|
|
410
|
+
id?: string;
|
|
411
411
|
|
|
412
412
|
/**
|
|
413
413
|
* The currency applied to the rate plan subscription.
|
|
@@ -8,7 +8,7 @@ export class Preview extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Get the result of a previous preview operation using the provided preview_id.
|
|
10
10
|
*/
|
|
11
|
-
get(previewId:
|
|
11
|
+
get(previewId: string, options?: Core.RequestOptions): Core.APIPromise<LoadBalancingPreviewResult> {
|
|
12
12
|
return (
|
|
13
13
|
this._client.get(`/user/load_balancers/preview/${previewId}`, options) as Core.APIPromise<{
|
|
14
14
|
result: LoadBalancingPreviewResult;
|
|
@@ -149,7 +149,7 @@ export namespace BillSubsAPISubscription {
|
|
|
149
149
|
/**
|
|
150
150
|
* The ID of the rate plan.
|
|
151
151
|
*/
|
|
152
|
-
id?:
|
|
152
|
+
id?: string;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* The currency applied to the rate plan subscription.
|
|
@@ -307,7 +307,7 @@ export namespace SubscriptionGetResponse {
|
|
|
307
307
|
/**
|
|
308
308
|
* The ID of the rate plan.
|
|
309
309
|
*/
|
|
310
|
-
id?:
|
|
310
|
+
id?: string;
|
|
311
311
|
|
|
312
312
|
/**
|
|
313
313
|
* The currency applied to the rate plan subscription.
|
|
@@ -421,7 +421,7 @@ export namespace SubscriptionUpdateParams {
|
|
|
421
421
|
/**
|
|
422
422
|
* The ID of the rate plan.
|
|
423
423
|
*/
|
|
424
|
-
id?:
|
|
424
|
+
id?: string;
|
|
425
425
|
|
|
426
426
|
/**
|
|
427
427
|
* The currency applied to the rate plan subscription.
|
|
@@ -524,7 +524,7 @@ export namespace SubscriptionEditParams {
|
|
|
524
524
|
/**
|
|
525
525
|
* The ID of the rate plan.
|
|
526
526
|
*/
|
|
527
|
-
id?:
|
|
527
|
+
id?: string;
|
|
528
528
|
|
|
529
529
|
/**
|
|
530
530
|
* The currency applied to the rate plan subscription.
|
|
@@ -175,7 +175,7 @@ export interface VectorizeCreateIndex {
|
|
|
175
175
|
/**
|
|
176
176
|
* Specifies the timestamp the resource was created as an ISO8601 string.
|
|
177
177
|
*/
|
|
178
|
-
created_on?:
|
|
178
|
+
created_on?: string;
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
181
|
* Specifies the description of the index.
|
|
@@ -185,7 +185,7 @@ export interface VectorizeCreateIndex {
|
|
|
185
185
|
/**
|
|
186
186
|
* Specifies the timestamp the resource was modified as an ISO8601 string.
|
|
187
187
|
*/
|
|
188
|
-
modified_on?:
|
|
188
|
+
modified_on?: string;
|
|
189
189
|
|
|
190
190
|
name?: string;
|
|
191
191
|
}
|
|
@@ -11,8 +11,8 @@ export class Details extends APIResource {
|
|
|
11
11
|
*/
|
|
12
12
|
get(
|
|
13
13
|
zoneIdentifier: string,
|
|
14
|
-
waitingRoomId:
|
|
15
|
-
eventId:
|
|
14
|
+
waitingRoomId: string,
|
|
15
|
+
eventId: string,
|
|
16
16
|
options?: Core.RequestOptions,
|
|
17
17
|
): Core.APIPromise<WaitingroomEventDetailsResult> {
|
|
18
18
|
return (
|
|
@@ -25,7 +25,7 @@ export class Details extends APIResource {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export interface WaitingroomEventDetailsResult {
|
|
28
|
-
id?:
|
|
28
|
+
id?: string;
|
|
29
29
|
|
|
30
30
|
created_on?: string;
|
|
31
31
|
|
|
@@ -18,7 +18,7 @@ export class Events extends APIResource {
|
|
|
18
18
|
*/
|
|
19
19
|
create(
|
|
20
20
|
zoneIdentifier: string,
|
|
21
|
-
waitingRoomId:
|
|
21
|
+
waitingRoomId: string,
|
|
22
22
|
body: EventCreateParams,
|
|
23
23
|
options?: Core.RequestOptions,
|
|
24
24
|
): Core.APIPromise<WaitingroomEventResult> {
|
|
@@ -35,8 +35,8 @@ export class Events extends APIResource {
|
|
|
35
35
|
*/
|
|
36
36
|
update(
|
|
37
37
|
zoneIdentifier: string,
|
|
38
|
-
waitingRoomId:
|
|
39
|
-
eventId:
|
|
38
|
+
waitingRoomId: string,
|
|
39
|
+
eventId: string,
|
|
40
40
|
body: EventUpdateParams,
|
|
41
41
|
options?: Core.RequestOptions,
|
|
42
42
|
): Core.APIPromise<WaitingroomEventResult> {
|
|
@@ -53,7 +53,7 @@ export class Events extends APIResource {
|
|
|
53
53
|
*/
|
|
54
54
|
list(
|
|
55
55
|
zoneIdentifier: string,
|
|
56
|
-
waitingRoomId:
|
|
56
|
+
waitingRoomId: string,
|
|
57
57
|
options?: Core.RequestOptions,
|
|
58
58
|
): Core.APIPromise<EventListResponse | null> {
|
|
59
59
|
return (
|
|
@@ -69,8 +69,8 @@ export class Events extends APIResource {
|
|
|
69
69
|
*/
|
|
70
70
|
delete(
|
|
71
71
|
zoneIdentifier: string,
|
|
72
|
-
waitingRoomId:
|
|
73
|
-
eventId:
|
|
72
|
+
waitingRoomId: string,
|
|
73
|
+
eventId: string,
|
|
74
74
|
options?: Core.RequestOptions,
|
|
75
75
|
): Core.APIPromise<EventDeleteResponse> {
|
|
76
76
|
return (
|
|
@@ -86,8 +86,8 @@ export class Events extends APIResource {
|
|
|
86
86
|
*/
|
|
87
87
|
edit(
|
|
88
88
|
zoneIdentifier: string,
|
|
89
|
-
waitingRoomId:
|
|
90
|
-
eventId:
|
|
89
|
+
waitingRoomId: string,
|
|
90
|
+
eventId: string,
|
|
91
91
|
body: EventEditParams,
|
|
92
92
|
options?: Core.RequestOptions,
|
|
93
93
|
): Core.APIPromise<WaitingroomEventResult> {
|
|
@@ -104,8 +104,8 @@ export class Events extends APIResource {
|
|
|
104
104
|
*/
|
|
105
105
|
get(
|
|
106
106
|
zoneIdentifier: string,
|
|
107
|
-
waitingRoomId:
|
|
108
|
-
eventId:
|
|
107
|
+
waitingRoomId: string,
|
|
108
|
+
eventId: string,
|
|
109
109
|
options?: Core.RequestOptions,
|
|
110
110
|
): Core.APIPromise<WaitingroomEventResult> {
|
|
111
111
|
return (
|
|
@@ -118,7 +118,7 @@ export class Events extends APIResource {
|
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
export interface WaitingroomEventResult {
|
|
121
|
-
id?:
|
|
121
|
+
id?: string;
|
|
122
122
|
|
|
123
123
|
created_on?: string;
|
|
124
124
|
|
|
@@ -212,7 +212,7 @@ export interface WaitingroomEventResult {
|
|
|
212
212
|
export type EventListResponse = Array<WaitingroomEventResult>;
|
|
213
213
|
|
|
214
214
|
export interface EventDeleteResponse {
|
|
215
|
-
id?:
|
|
215
|
+
id?: string;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
export interface EventCreateParams {
|
|
@@ -11,7 +11,7 @@ export class Rules extends APIResource {
|
|
|
11
11
|
*/
|
|
12
12
|
create(
|
|
13
13
|
zoneIdentifier: string,
|
|
14
|
-
waitingRoomId:
|
|
14
|
+
waitingRoomId: string,
|
|
15
15
|
body: RuleCreateParams,
|
|
16
16
|
options?: Core.RequestOptions,
|
|
17
17
|
): Core.APIPromise<RuleCreateResponse | null> {
|
|
@@ -29,7 +29,7 @@ export class Rules extends APIResource {
|
|
|
29
29
|
*/
|
|
30
30
|
update(
|
|
31
31
|
zoneIdentifier: string,
|
|
32
|
-
waitingRoomId:
|
|
32
|
+
waitingRoomId: string,
|
|
33
33
|
body: RuleUpdateParams,
|
|
34
34
|
options?: Core.RequestOptions,
|
|
35
35
|
): Core.APIPromise<RuleUpdateResponse | null> {
|
|
@@ -46,7 +46,7 @@ export class Rules extends APIResource {
|
|
|
46
46
|
*/
|
|
47
47
|
list(
|
|
48
48
|
zoneIdentifier: string,
|
|
49
|
-
waitingRoomId:
|
|
49
|
+
waitingRoomId: string,
|
|
50
50
|
options?: Core.RequestOptions,
|
|
51
51
|
): Core.APIPromise<RuleListResponse | null> {
|
|
52
52
|
return (
|
|
@@ -62,7 +62,7 @@ export class Rules extends APIResource {
|
|
|
62
62
|
*/
|
|
63
63
|
delete(
|
|
64
64
|
zoneIdentifier: string,
|
|
65
|
-
waitingRoomId:
|
|
65
|
+
waitingRoomId: string,
|
|
66
66
|
ruleId: string,
|
|
67
67
|
options?: Core.RequestOptions,
|
|
68
68
|
): Core.APIPromise<RuleDeleteResponse | null> {
|
|
@@ -79,7 +79,7 @@ export class Rules extends APIResource {
|
|
|
79
79
|
*/
|
|
80
80
|
edit(
|
|
81
81
|
zoneIdentifier: string,
|
|
82
|
-
waitingRoomId:
|
|
82
|
+
waitingRoomId: string,
|
|
83
83
|
ruleId: string,
|
|
84
84
|
body: RuleEditParams,
|
|
85
85
|
options?: Core.RequestOptions,
|
|
@@ -36,7 +36,7 @@ export class WaitingRooms extends APIResource {
|
|
|
36
36
|
*/
|
|
37
37
|
update(
|
|
38
38
|
zoneIdentifier: string,
|
|
39
|
-
waitingRoomId:
|
|
39
|
+
waitingRoomId: string,
|
|
40
40
|
body: WaitingRoomUpdateParams,
|
|
41
41
|
options?: Core.RequestOptions,
|
|
42
42
|
): Core.APIPromise<WaitingroomWaitingroom> {
|
|
@@ -67,7 +67,7 @@ export class WaitingRooms extends APIResource {
|
|
|
67
67
|
*/
|
|
68
68
|
delete(
|
|
69
69
|
zoneIdentifier: string,
|
|
70
|
-
waitingRoomId:
|
|
70
|
+
waitingRoomId: string,
|
|
71
71
|
options?: Core.RequestOptions,
|
|
72
72
|
): Core.APIPromise<WaitingRoomDeleteResponse> {
|
|
73
73
|
return (
|
|
@@ -83,7 +83,7 @@ export class WaitingRooms extends APIResource {
|
|
|
83
83
|
*/
|
|
84
84
|
edit(
|
|
85
85
|
zoneIdentifier: string,
|
|
86
|
-
waitingRoomId:
|
|
86
|
+
waitingRoomId: string,
|
|
87
87
|
body: WaitingRoomEditParams,
|
|
88
88
|
options?: Core.RequestOptions,
|
|
89
89
|
): Core.APIPromise<WaitingroomWaitingroom> {
|
|
@@ -100,7 +100,7 @@ export class WaitingRooms extends APIResource {
|
|
|
100
100
|
*/
|
|
101
101
|
get(
|
|
102
102
|
zoneIdentifier: string,
|
|
103
|
-
waitingRoomId:
|
|
103
|
+
waitingRoomId: string,
|
|
104
104
|
options?: Core.RequestOptions,
|
|
105
105
|
): Core.APIPromise<WaitingroomWaitingroom> {
|
|
106
106
|
return (
|
|
@@ -113,7 +113,7 @@ export class WaitingRooms extends APIResource {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
export interface WaitingroomWaitingroom {
|
|
116
|
-
id?:
|
|
116
|
+
id?: string;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* Only available for the Waiting Room Advanced subscription. Additional hostname
|
|
@@ -501,7 +501,7 @@ export namespace WaitingroomWaitingroom {
|
|
|
501
501
|
export type WaitingRoomListResponse = Array<WaitingroomWaitingroom>;
|
|
502
502
|
|
|
503
503
|
export interface WaitingRoomDeleteResponse {
|
|
504
|
-
id?:
|
|
504
|
+
id?: string;
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
export interface WaitingRoomCreateParams {
|
|
@@ -32,11 +32,7 @@ export class Domains extends APIResource {
|
|
|
32
32
|
/**
|
|
33
33
|
* Detaches a Worker from a zone and hostname.
|
|
34
34
|
*/
|
|
35
|
-
delete(
|
|
36
|
-
domainId: unknown,
|
|
37
|
-
params: DomainDeleteParams,
|
|
38
|
-
options?: Core.RequestOptions,
|
|
39
|
-
): Core.APIPromise<void> {
|
|
35
|
+
delete(domainId: string, params: DomainDeleteParams, options?: Core.RequestOptions): Core.APIPromise<void> {
|
|
40
36
|
const { account_id } = params;
|
|
41
37
|
return this._client.delete(`/accounts/${account_id}/workers/domains/${domainId}`, {
|
|
42
38
|
...options,
|
|
@@ -48,7 +44,7 @@ export class Domains extends APIResource {
|
|
|
48
44
|
* Gets a Worker domain.
|
|
49
45
|
*/
|
|
50
46
|
get(
|
|
51
|
-
domainId:
|
|
47
|
+
domainId: string,
|
|
52
48
|
params: DomainGetParams,
|
|
53
49
|
options?: Core.RequestOptions,
|
|
54
50
|
): Core.APIPromise<WorkersDomain> {
|
|
@@ -65,7 +61,7 @@ export interface WorkersDomain {
|
|
|
65
61
|
/**
|
|
66
62
|
* Identifer of the Worker Domain.
|
|
67
63
|
*/
|
|
68
|
-
id?:
|
|
64
|
+
id?: string;
|
|
69
65
|
|
|
70
66
|
/**
|
|
71
67
|
* Worker environment associated with the zone and hostname.
|
|
@@ -85,7 +81,7 @@ export interface WorkersDomain {
|
|
|
85
81
|
/**
|
|
86
82
|
* Identifier of the zone.
|
|
87
83
|
*/
|
|
88
|
-
zone_id?:
|
|
84
|
+
zone_id?: string;
|
|
89
85
|
|
|
90
86
|
/**
|
|
91
87
|
* Name of the zone.
|
|
@@ -99,7 +95,7 @@ export interface DomainUpdateParams {
|
|
|
99
95
|
/**
|
|
100
96
|
* Path param:
|
|
101
97
|
*/
|
|
102
|
-
account_id:
|
|
98
|
+
account_id: string;
|
|
103
99
|
|
|
104
100
|
/**
|
|
105
101
|
* Body param: Worker environment associated with the zone and hostname.
|
|
@@ -119,14 +115,14 @@ export interface DomainUpdateParams {
|
|
|
119
115
|
/**
|
|
120
116
|
* Body param: Identifier of the zone.
|
|
121
117
|
*/
|
|
122
|
-
zone_id:
|
|
118
|
+
zone_id: string;
|
|
123
119
|
}
|
|
124
120
|
|
|
125
121
|
export interface DomainListParams {
|
|
126
122
|
/**
|
|
127
123
|
* Path param:
|
|
128
124
|
*/
|
|
129
|
-
account_id:
|
|
125
|
+
account_id: string;
|
|
130
126
|
|
|
131
127
|
/**
|
|
132
128
|
* Query param: Worker environment associated with the zone and hostname.
|
|
@@ -146,7 +142,7 @@ export interface DomainListParams {
|
|
|
146
142
|
/**
|
|
147
143
|
* Query param: Identifier of the zone.
|
|
148
144
|
*/
|
|
149
|
-
zone_id?:
|
|
145
|
+
zone_id?: string;
|
|
150
146
|
|
|
151
147
|
/**
|
|
152
148
|
* Query param: Name of the zone.
|
|
@@ -155,11 +151,11 @@ export interface DomainListParams {
|
|
|
155
151
|
}
|
|
156
152
|
|
|
157
153
|
export interface DomainDeleteParams {
|
|
158
|
-
account_id:
|
|
154
|
+
account_id: string;
|
|
159
155
|
}
|
|
160
156
|
|
|
161
157
|
export interface DomainGetParams {
|
|
162
|
-
account_id:
|
|
158
|
+
account_id: string;
|
|
163
159
|
}
|
|
164
160
|
|
|
165
161
|
export namespace Domains {
|
|
@@ -1199,7 +1199,7 @@ export namespace AccessApps {
|
|
|
1199
1199
|
/**
|
|
1200
1200
|
* The URL or domain of the bookmark.
|
|
1201
1201
|
*/
|
|
1202
|
-
domain?:
|
|
1202
|
+
domain?: string;
|
|
1203
1203
|
|
|
1204
1204
|
/**
|
|
1205
1205
|
* The image URL for the logo shown in the App Launcher dashboard.
|
|
@@ -2161,7 +2161,7 @@ export namespace ApplicationCreateParams {
|
|
|
2161
2161
|
/**
|
|
2162
2162
|
* Body param: The URL or domain of the bookmark.
|
|
2163
2163
|
*/
|
|
2164
|
-
domain?:
|
|
2164
|
+
domain?: string;
|
|
2165
2165
|
|
|
2166
2166
|
/**
|
|
2167
2167
|
* Body param: The image URL for the logo shown in the App Launcher dashboard.
|
|
@@ -3110,7 +3110,7 @@ export namespace ApplicationUpdateParams {
|
|
|
3110
3110
|
/**
|
|
3111
3111
|
* Body param: The URL or domain of the bookmark.
|
|
3112
3112
|
*/
|
|
3113
|
-
domain?:
|
|
3113
|
+
domain?: string;
|
|
3114
3114
|
|
|
3115
3115
|
/**
|
|
3116
3116
|
* Body param: The image URL for the logo shown in the App Launcher dashboard.
|
|
@@ -8,7 +8,7 @@ export class Bookmarks extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Create a new Bookmark application.
|
|
10
10
|
*/
|
|
11
|
-
create(identifier:
|
|
11
|
+
create(identifier: string, uuid: string, options?: Core.RequestOptions): Core.APIPromise<AccessBookmarks> {
|
|
12
12
|
return (
|
|
13
13
|
this._client.post(`/accounts/${identifier}/access/bookmarks/${uuid}`, options) as Core.APIPromise<{
|
|
14
14
|
result: AccessBookmarks;
|
|
@@ -19,7 +19,7 @@ export class Bookmarks extends APIResource {
|
|
|
19
19
|
/**
|
|
20
20
|
* Updates a configured Bookmark application.
|
|
21
21
|
*/
|
|
22
|
-
update(identifier:
|
|
22
|
+
update(identifier: string, uuid: string, options?: Core.RequestOptions): Core.APIPromise<AccessBookmarks> {
|
|
23
23
|
return (
|
|
24
24
|
this._client.put(`/accounts/${identifier}/access/bookmarks/${uuid}`, options) as Core.APIPromise<{
|
|
25
25
|
result: AccessBookmarks;
|
|
@@ -30,7 +30,7 @@ export class Bookmarks extends APIResource {
|
|
|
30
30
|
/**
|
|
31
31
|
* Lists Bookmark applications.
|
|
32
32
|
*/
|
|
33
|
-
list(identifier:
|
|
33
|
+
list(identifier: string, options?: Core.RequestOptions): Core.APIPromise<BookmarkListResponse | null> {
|
|
34
34
|
return (
|
|
35
35
|
this._client.get(`/accounts/${identifier}/access/bookmarks`, options) as Core.APIPromise<{
|
|
36
36
|
result: BookmarkListResponse | null;
|
|
@@ -42,7 +42,7 @@ export class Bookmarks extends APIResource {
|
|
|
42
42
|
* Deletes a Bookmark application.
|
|
43
43
|
*/
|
|
44
44
|
delete(
|
|
45
|
-
identifier:
|
|
45
|
+
identifier: string,
|
|
46
46
|
uuid: string,
|
|
47
47
|
options?: Core.RequestOptions,
|
|
48
48
|
): Core.APIPromise<BookmarkDeleteResponse> {
|
|
@@ -56,7 +56,7 @@ export class Bookmarks extends APIResource {
|
|
|
56
56
|
/**
|
|
57
57
|
* Fetches a single Bookmark application.
|
|
58
58
|
*/
|
|
59
|
-
get(identifier:
|
|
59
|
+
get(identifier: string, uuid: string, options?: Core.RequestOptions): Core.APIPromise<AccessBookmarks> {
|
|
60
60
|
return (
|
|
61
61
|
this._client.get(`/accounts/${identifier}/access/bookmarks/${uuid}`, options) as Core.APIPromise<{
|
|
62
62
|
result: AccessBookmarks;
|