cloudflare 6.0.0 → 6.1.0
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 +19 -0
- package/package.json +1 -1
- package/resources/aisearch/instances/instances.d.ts +42 -0
- package/resources/aisearch/instances/instances.d.ts.map +1 -1
- package/resources/aisearch/instances/instances.js.map +1 -1
- package/resources/aisearch/instances/instances.mjs.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.d.ts +42 -0
- package/resources/aisearch/namespaces/instances/instances.d.ts.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.js.map +1 -1
- package/resources/aisearch/namespaces/instances/instances.mjs.map +1 -1
- package/resources/billing/usage.d.ts +3 -1
- package/resources/billing/usage.d.ts.map +1 -1
- package/resources/email-security/submissions.d.ts +6 -0
- package/resources/email-security/submissions.d.ts.map +1 -1
- package/resources/email-security/submissions.js.map +1 -1
- package/resources/email-security/submissions.mjs.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts +91 -1
- package/resources/intel/indicator-feeds/indicator-feeds.d.ts.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.js.map +1 -1
- package/resources/intel/indicator-feeds/indicator-feeds.mjs.map +1 -1
- package/resources/radar/dns/dns.d.ts +3 -3
- package/resources/radar/dns/dns.d.ts.map +1 -1
- package/resources/radar/dns/dns.js.map +1 -1
- package/resources/radar/dns/dns.mjs.map +1 -1
- package/resources/security-center/insights/audit-logs.d.ts +192 -0
- package/resources/security-center/insights/audit-logs.d.ts.map +1 -0
- package/resources/security-center/insights/audit-logs.js +64 -0
- package/resources/security-center/insights/audit-logs.js.map +1 -0
- package/resources/security-center/insights/audit-logs.mjs +58 -0
- package/resources/security-center/insights/audit-logs.mjs.map +1 -0
- package/resources/security-center/insights/class.d.ts +8 -0
- package/resources/security-center/insights/class.d.ts.map +1 -1
- package/resources/security-center/insights/class.js.map +1 -1
- package/resources/security-center/insights/class.mjs.map +1 -1
- package/resources/security-center/insights/classification.d.ts +77 -0
- package/resources/security-center/insights/classification.d.ts.map +1 -0
- package/resources/security-center/insights/classification.js +43 -0
- package/resources/security-center/insights/classification.js.map +1 -0
- package/resources/security-center/insights/classification.mjs +39 -0
- package/resources/security-center/insights/classification.mjs.map +1 -0
- package/resources/security-center/insights/context.d.ts +31 -0
- package/resources/security-center/insights/context.d.ts.map +1 -0
- package/resources/security-center/insights/context.js +26 -0
- package/resources/security-center/insights/context.js.map +1 -0
- package/resources/security-center/insights/context.mjs +22 -0
- package/resources/security-center/insights/context.mjs.map +1 -0
- package/resources/security-center/insights/index.d.ts +3 -0
- package/resources/security-center/insights/index.d.ts.map +1 -1
- package/resources/security-center/insights/index.js +9 -1
- package/resources/security-center/insights/index.js.map +1 -1
- package/resources/security-center/insights/index.mjs +3 -0
- package/resources/security-center/insights/index.mjs.map +1 -1
- package/resources/security-center/insights/insights.d.ts +30 -0
- package/resources/security-center/insights/insights.d.ts.map +1 -1
- package/resources/security-center/insights/insights.js +22 -0
- package/resources/security-center/insights/insights.js.map +1 -1
- package/resources/security-center/insights/insights.mjs +22 -0
- package/resources/security-center/insights/insights.mjs.map +1 -1
- package/resources/security-center/insights/severity.d.ts +8 -0
- package/resources/security-center/insights/severity.d.ts.map +1 -1
- package/resources/security-center/insights/severity.js.map +1 -1
- package/resources/security-center/insights/severity.mjs.map +1 -1
- package/resources/security-center/insights/type.d.ts +7 -0
- package/resources/security-center/insights/type.d.ts.map +1 -1
- package/resources/security-center/insights/type.js.map +1 -1
- package/resources/security-center/insights/type.mjs.map +1 -1
- package/resources/zero-trust/access/logs/access-requests.d.ts +19 -8
- package/resources/zero-trust/access/logs/access-requests.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/scim/updates.d.ts +20 -8
- package/resources/zero-trust/access/logs/scim/updates.d.ts.map +1 -1
- package/resources/zero-trust/access/logs/scim/updates.js.map +1 -1
- package/resources/zero-trust/access/logs/scim/updates.mjs.map +1 -1
- package/resources/zero-trust/devices/deployment-groups.d.ts +203 -0
- package/resources/zero-trust/devices/deployment-groups.d.ts.map +1 -0
- package/resources/zero-trust/devices/deployment-groups.js +111 -0
- package/resources/zero-trust/devices/deployment-groups.js.map +1 -0
- package/resources/zero-trust/devices/deployment-groups.mjs +106 -0
- package/resources/zero-trust/devices/deployment-groups.mjs.map +1 -0
- package/resources/zero-trust/devices/devices.d.ts +4 -0
- package/resources/zero-trust/devices/devices.d.ts.map +1 -1
- package/resources/zero-trust/devices/devices.js +5 -0
- package/resources/zero-trust/devices/devices.js.map +1 -1
- package/resources/zero-trust/devices/devices.mjs +5 -0
- package/resources/zero-trust/devices/devices.mjs.map +1 -1
- package/resources/zero-trust/devices/index.d.ts +1 -0
- package/resources/zero-trust/devices/index.d.ts.map +1 -1
- package/resources/zero-trust/devices/index.js +4 -1
- package/resources/zero-trust/devices/index.js.map +1 -1
- package/resources/zero-trust/devices/index.mjs +1 -0
- package/resources/zero-trust/devices/index.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/scim/groups.d.ts +10 -4
- package/resources/zero-trust/identity-providers/scim/groups.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers/scim/groups.js.map +1 -1
- package/resources/zero-trust/identity-providers/scim/groups.mjs.map +1 -1
- package/resources/zero-trust/identity-providers/scim/users.d.ts +10 -4
- package/resources/zero-trust/identity-providers/scim/users.d.ts.map +1 -1
- package/resources/zero-trust/identity-providers/scim/users.js.map +1 -1
- package/resources/zero-trust/identity-providers/scim/users.mjs.map +1 -1
- package/resources/zones/settings.d.ts +52 -2
- package/resources/zones/settings.d.ts.map +1 -1
- package/resources/zones/zones.d.ts +6 -0
- package/resources/zones/zones.d.ts.map +1 -1
- package/resources/zones/zones.js.map +1 -1
- package/resources/zones/zones.mjs.map +1 -1
- package/src/resources/aisearch/instances/instances.ts +49 -0
- package/src/resources/aisearch/namespaces/instances/instances.ts +49 -0
- package/src/resources/billing/usage.ts +3 -1
- package/src/resources/email-security/submissions.ts +7 -0
- package/src/resources/intel/indicator-feeds/indicator-feeds.ts +107 -1
- package/src/resources/radar/dns/dns.ts +7 -4
- package/src/resources/security-center/api.md +32 -0
- package/src/resources/security-center/insights/audit-logs.ts +313 -0
- package/src/resources/security-center/insights/class.ts +8 -0
- package/src/resources/security-center/insights/classification.ts +127 -0
- package/src/resources/security-center/insights/context.ts +46 -0
- package/src/resources/security-center/insights/index.ts +15 -0
- package/src/resources/security-center/insights/insights.ts +62 -0
- package/src/resources/security-center/insights/severity.ts +8 -0
- package/src/resources/security-center/insights/type.ts +7 -0
- package/src/resources/zero-trust/access/logs/access-requests.ts +19 -8
- package/src/resources/zero-trust/access/logs/scim/updates.ts +20 -8
- package/src/resources/zero-trust/api.md +15 -0
- package/src/resources/zero-trust/devices/deployment-groups.ts +302 -0
- package/src/resources/zero-trust/devices/devices.ts +29 -0
- package/src/resources/zero-trust/devices/index.ts +11 -0
- package/src/resources/zero-trust/identity-providers/scim/groups.ts +10 -4
- package/src/resources/zero-trust/identity-providers/scim/users.ts +10 -4
- package/src/resources/zones/settings.ts +60 -0
- package/src/resources/zones/zones.ts +7 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../resource';
|
|
4
|
+
import * as Core from '../../../core';
|
|
5
|
+
import { V4PagePaginationArray, type V4PagePaginationArrayParams } from '../../../pagination';
|
|
6
|
+
|
|
7
|
+
export class DeploymentGroups extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new deployment group. Policy IDs must be unique across all deployment
|
|
10
|
+
* groups. This endpoint is in Beta.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const deploymentGroup =
|
|
15
|
+
* await client.zeroTrust.devices.deploymentGroups.create({
|
|
16
|
+
* account_id: 'account_id',
|
|
17
|
+
* name: 'Engineering Ring 0',
|
|
18
|
+
* version_config: [
|
|
19
|
+
* {
|
|
20
|
+
* target_environment: 'windows',
|
|
21
|
+
* version: '2026.5.234.0',
|
|
22
|
+
* },
|
|
23
|
+
* ],
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
create(
|
|
28
|
+
params: DeploymentGroupCreateParams,
|
|
29
|
+
options?: Core.RequestOptions,
|
|
30
|
+
): Core.APIPromise<DeploymentGroup> {
|
|
31
|
+
const { account_id, ...body } = params;
|
|
32
|
+
return (
|
|
33
|
+
this._client.post(`/accounts/${account_id}/devices/deployment-groups`, {
|
|
34
|
+
body,
|
|
35
|
+
...options,
|
|
36
|
+
}) as Core.APIPromise<{ result: DeploymentGroup }>
|
|
37
|
+
)._thenUnwrap((obj) => obj.result);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Lists all deployment groups for an account. Use deployment groups to assign
|
|
42
|
+
* target WARP client versions to specific devices. This endpoint is in Beta.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```ts
|
|
46
|
+
* // Automatically fetches more pages as needed.
|
|
47
|
+
* for await (const deploymentGroup of client.zeroTrust.devices.deploymentGroups.list(
|
|
48
|
+
* { account_id: 'account_id' },
|
|
49
|
+
* )) {
|
|
50
|
+
* // ...
|
|
51
|
+
* }
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
list(
|
|
55
|
+
params: DeploymentGroupListParams,
|
|
56
|
+
options?: Core.RequestOptions,
|
|
57
|
+
): Core.PagePromise<DeploymentGroupsV4PagePaginationArray, DeploymentGroup> {
|
|
58
|
+
const { account_id, ...query } = params;
|
|
59
|
+
return this._client.getAPIList(
|
|
60
|
+
`/accounts/${account_id}/devices/deployment-groups`,
|
|
61
|
+
DeploymentGroupsV4PagePaginationArray,
|
|
62
|
+
{ query, ...options },
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Deletes a deployment group. Associated policies no longer apply and devices stop
|
|
68
|
+
* receiving version targets. This endpoint is in Beta.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* ```ts
|
|
72
|
+
* const deploymentGroup =
|
|
73
|
+
* await client.zeroTrust.devices.deploymentGroups.delete(
|
|
74
|
+
* 'group_id',
|
|
75
|
+
* { account_id: 'account_id' },
|
|
76
|
+
* );
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
delete(
|
|
80
|
+
groupId: string,
|
|
81
|
+
params: DeploymentGroupDeleteParams,
|
|
82
|
+
options?: Core.RequestOptions,
|
|
83
|
+
): Core.APIPromise<DeploymentGroupDeleteResponse> {
|
|
84
|
+
const { account_id } = params;
|
|
85
|
+
return (
|
|
86
|
+
this._client.delete(
|
|
87
|
+
`/accounts/${account_id}/devices/deployment-groups/${groupId}`,
|
|
88
|
+
options,
|
|
89
|
+
) as Core.APIPromise<{ result: DeploymentGroupDeleteResponse }>
|
|
90
|
+
)._thenUnwrap((obj) => obj.result);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Updates a deployment group. Returns 409 if any newly added policy IDs already
|
|
95
|
+
* belong to another deployment group. This endpoint is in Beta.
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```ts
|
|
99
|
+
* const deploymentGroup =
|
|
100
|
+
* await client.zeroTrust.devices.deploymentGroups.edit(
|
|
101
|
+
* 'group_id',
|
|
102
|
+
* { account_id: 'account_id' },
|
|
103
|
+
* );
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
edit(
|
|
107
|
+
groupId: string,
|
|
108
|
+
params: DeploymentGroupEditParams,
|
|
109
|
+
options?: Core.RequestOptions,
|
|
110
|
+
): Core.APIPromise<DeploymentGroup> {
|
|
111
|
+
const { account_id, ...body } = params;
|
|
112
|
+
return (
|
|
113
|
+
this._client.patch(`/accounts/${account_id}/devices/deployment-groups/${groupId}`, {
|
|
114
|
+
body,
|
|
115
|
+
...options,
|
|
116
|
+
}) as Core.APIPromise<{ result: DeploymentGroup }>
|
|
117
|
+
)._thenUnwrap((obj) => obj.result);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Fetches a single deployment group by its ID. This endpoint is in Beta.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* ```ts
|
|
125
|
+
* const deploymentGroup =
|
|
126
|
+
* await client.zeroTrust.devices.deploymentGroups.get(
|
|
127
|
+
* 'group_id',
|
|
128
|
+
* { account_id: 'account_id' },
|
|
129
|
+
* );
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
|
+
get(
|
|
133
|
+
groupId: string,
|
|
134
|
+
params: DeploymentGroupGetParams,
|
|
135
|
+
options?: Core.RequestOptions,
|
|
136
|
+
): Core.APIPromise<DeploymentGroup> {
|
|
137
|
+
const { account_id } = params;
|
|
138
|
+
return (
|
|
139
|
+
this._client.get(
|
|
140
|
+
`/accounts/${account_id}/devices/deployment-groups/${groupId}`,
|
|
141
|
+
options,
|
|
142
|
+
) as Core.APIPromise<{ result: DeploymentGroup }>
|
|
143
|
+
)._thenUnwrap((obj) => obj.result);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export class DeploymentGroupsV4PagePaginationArray extends V4PagePaginationArray<DeploymentGroup> {}
|
|
148
|
+
|
|
149
|
+
export interface DeploymentGroup {
|
|
150
|
+
/**
|
|
151
|
+
* The ID of the deployment group.
|
|
152
|
+
*/
|
|
153
|
+
id: string;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* The RFC3339Nano timestamp when the deployment group was created.
|
|
157
|
+
*/
|
|
158
|
+
created_at: string;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* A user-friendly name for the deployment group.
|
|
162
|
+
*/
|
|
163
|
+
name: string;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* The RFC3339Nano timestamp when the deployment group was last updated.
|
|
167
|
+
*/
|
|
168
|
+
updated_at: string;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Contains version configurations for different target environments.
|
|
172
|
+
*/
|
|
173
|
+
version_config: Array<DeploymentGroup.VersionConfig>;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Contains a list of policy IDs assigned to this deployment group.
|
|
177
|
+
*/
|
|
178
|
+
policy_ids?: Array<string> | null;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export namespace DeploymentGroup {
|
|
182
|
+
export interface VersionConfig {
|
|
183
|
+
/**
|
|
184
|
+
* The target environment for the client version (e.g., windows, macos).
|
|
185
|
+
*/
|
|
186
|
+
target_environment: string | null;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* The specific client version to deploy.
|
|
190
|
+
*/
|
|
191
|
+
version: string;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export interface DeploymentGroupDeleteResponse {
|
|
196
|
+
/**
|
|
197
|
+
* The ID of a deleted deployment group.
|
|
198
|
+
*/
|
|
199
|
+
id?: string;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export interface DeploymentGroupCreateParams {
|
|
203
|
+
/**
|
|
204
|
+
* Path param
|
|
205
|
+
*/
|
|
206
|
+
account_id: string;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Body param: A user-friendly name for the deployment group.
|
|
210
|
+
*/
|
|
211
|
+
name: string;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Body param: Contains at least one version configuration.
|
|
215
|
+
*/
|
|
216
|
+
version_config: Array<DeploymentGroupCreateParams.VersionConfig>;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Body param: Contains an optional list of policy IDs assigned to a group.
|
|
220
|
+
*/
|
|
221
|
+
policy_ids?: Array<string>;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export namespace DeploymentGroupCreateParams {
|
|
225
|
+
export interface VersionConfig {
|
|
226
|
+
/**
|
|
227
|
+
* The target environment for the client version (e.g., windows, macos).
|
|
228
|
+
*/
|
|
229
|
+
target_environment: string | null;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* The specific client version to deploy.
|
|
233
|
+
*/
|
|
234
|
+
version: string;
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export interface DeploymentGroupListParams extends V4PagePaginationArrayParams {
|
|
239
|
+
/**
|
|
240
|
+
* Path param
|
|
241
|
+
*/
|
|
242
|
+
account_id: string;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export interface DeploymentGroupDeleteParams {
|
|
246
|
+
account_id: string;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export interface DeploymentGroupEditParams {
|
|
250
|
+
/**
|
|
251
|
+
* Path param
|
|
252
|
+
*/
|
|
253
|
+
account_id: string;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Body param: A user-friendly name for the deployment group.
|
|
257
|
+
*/
|
|
258
|
+
name?: string;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Body param: Replaces the entire list of policy IDs.
|
|
262
|
+
*/
|
|
263
|
+
policy_ids?: Array<string>;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Body param: Replaces the entire version_config array.
|
|
267
|
+
*/
|
|
268
|
+
version_config?: Array<DeploymentGroupEditParams.VersionConfig>;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export namespace DeploymentGroupEditParams {
|
|
272
|
+
export interface VersionConfig {
|
|
273
|
+
/**
|
|
274
|
+
* The target environment for the client version (e.g., windows, macos).
|
|
275
|
+
*/
|
|
276
|
+
target_environment: string | null;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* The specific client version to deploy.
|
|
280
|
+
*/
|
|
281
|
+
version: string;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface DeploymentGroupGetParams {
|
|
286
|
+
account_id: string;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
DeploymentGroups.DeploymentGroupsV4PagePaginationArray = DeploymentGroupsV4PagePaginationArray;
|
|
290
|
+
|
|
291
|
+
export declare namespace DeploymentGroups {
|
|
292
|
+
export {
|
|
293
|
+
type DeploymentGroup as DeploymentGroup,
|
|
294
|
+
type DeploymentGroupDeleteResponse as DeploymentGroupDeleteResponse,
|
|
295
|
+
DeploymentGroupsV4PagePaginationArray as DeploymentGroupsV4PagePaginationArray,
|
|
296
|
+
type DeploymentGroupCreateParams as DeploymentGroupCreateParams,
|
|
297
|
+
type DeploymentGroupListParams as DeploymentGroupListParams,
|
|
298
|
+
type DeploymentGroupDeleteParams as DeploymentGroupDeleteParams,
|
|
299
|
+
type DeploymentGroupEditParams as DeploymentGroupEditParams,
|
|
300
|
+
type DeploymentGroupGetParams as DeploymentGroupGetParams,
|
|
301
|
+
};
|
|
302
|
+
}
|
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../resource';
|
|
4
4
|
import * as Core from '../../../core';
|
|
5
|
+
import * as DeploymentGroupsAPI from './deployment-groups';
|
|
6
|
+
import {
|
|
7
|
+
DeploymentGroup,
|
|
8
|
+
DeploymentGroupCreateParams,
|
|
9
|
+
DeploymentGroupDeleteParams,
|
|
10
|
+
DeploymentGroupDeleteResponse,
|
|
11
|
+
DeploymentGroupEditParams,
|
|
12
|
+
DeploymentGroupGetParams,
|
|
13
|
+
DeploymentGroupListParams,
|
|
14
|
+
DeploymentGroups,
|
|
15
|
+
DeploymentGroupsV4PagePaginationArray,
|
|
16
|
+
} from './deployment-groups';
|
|
5
17
|
import * as DevicesDevicesAPI from './devices_';
|
|
6
18
|
import {
|
|
7
19
|
DeviceDeleteParams,
|
|
@@ -142,6 +154,9 @@ export class Devices extends APIResource {
|
|
|
142
154
|
registrations: RegistrationsAPI.Registrations = new RegistrationsAPI.Registrations(this._client);
|
|
143
155
|
dexTests: DEXTestsAPI.DEXTests = new DEXTestsAPI.DEXTests(this._client);
|
|
144
156
|
ipProfiles: IPProfilesAPI.IPProfiles = new IPProfilesAPI.IPProfiles(this._client);
|
|
157
|
+
deploymentGroups: DeploymentGroupsAPI.DeploymentGroups = new DeploymentGroupsAPI.DeploymentGroups(
|
|
158
|
+
this._client,
|
|
159
|
+
);
|
|
145
160
|
networks: NetworksAPI.Networks = new NetworksAPI.Networks(this._client);
|
|
146
161
|
fleetStatus: FleetStatusAPI.FleetStatus = new FleetStatusAPI.FleetStatus(this._client);
|
|
147
162
|
policies: PoliciesAPI.Policies = new PoliciesAPI.Policies(this._client);
|
|
@@ -457,6 +472,8 @@ Devices.DEXTests = DEXTests;
|
|
|
457
472
|
Devices.DEXTestListResponsesV4PagePaginationArray = DEXTestListResponsesV4PagePaginationArray;
|
|
458
473
|
Devices.IPProfiles = IPProfiles;
|
|
459
474
|
Devices.IPProfilesSinglePage = IPProfilesSinglePage;
|
|
475
|
+
Devices.DeploymentGroups = DeploymentGroups;
|
|
476
|
+
Devices.DeploymentGroupsV4PagePaginationArray = DeploymentGroupsV4PagePaginationArray;
|
|
460
477
|
Devices.Networks = Networks;
|
|
461
478
|
Devices.DeviceNetworksSinglePage = DeviceNetworksSinglePage;
|
|
462
479
|
Devices.FleetStatus = FleetStatus;
|
|
@@ -536,6 +553,18 @@ export declare namespace Devices {
|
|
|
536
553
|
type IPProfileGetParams as IPProfileGetParams,
|
|
537
554
|
};
|
|
538
555
|
|
|
556
|
+
export {
|
|
557
|
+
DeploymentGroups as DeploymentGroups,
|
|
558
|
+
type DeploymentGroup as DeploymentGroup,
|
|
559
|
+
type DeploymentGroupDeleteResponse as DeploymentGroupDeleteResponse,
|
|
560
|
+
DeploymentGroupsV4PagePaginationArray as DeploymentGroupsV4PagePaginationArray,
|
|
561
|
+
type DeploymentGroupCreateParams as DeploymentGroupCreateParams,
|
|
562
|
+
type DeploymentGroupListParams as DeploymentGroupListParams,
|
|
563
|
+
type DeploymentGroupDeleteParams as DeploymentGroupDeleteParams,
|
|
564
|
+
type DeploymentGroupEditParams as DeploymentGroupEditParams,
|
|
565
|
+
type DeploymentGroupGetParams as DeploymentGroupGetParams,
|
|
566
|
+
};
|
|
567
|
+
|
|
539
568
|
export {
|
|
540
569
|
Networks as Networks,
|
|
541
570
|
type DeviceNetwork as DeviceNetwork,
|
|
@@ -16,6 +16,17 @@ export {
|
|
|
16
16
|
type DEXTestDeleteParams,
|
|
17
17
|
type DEXTestGetParams,
|
|
18
18
|
} from './dex-tests';
|
|
19
|
+
export {
|
|
20
|
+
DeploymentGroupsV4PagePaginationArray,
|
|
21
|
+
DeploymentGroups,
|
|
22
|
+
type DeploymentGroup,
|
|
23
|
+
type DeploymentGroupDeleteResponse,
|
|
24
|
+
type DeploymentGroupCreateParams,
|
|
25
|
+
type DeploymentGroupListParams,
|
|
26
|
+
type DeploymentGroupDeleteParams,
|
|
27
|
+
type DeploymentGroupEditParams,
|
|
28
|
+
type DeploymentGroupGetParams,
|
|
29
|
+
} from './deployment-groups';
|
|
19
30
|
export {
|
|
20
31
|
DeviceListResponsesCursorPagination,
|
|
21
32
|
type DeviceListResponse,
|
|
@@ -44,15 +44,21 @@ export interface GroupListParams extends V4PagePaginationArrayParams {
|
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Query param: The unique Cloudflare-generated Id of the SCIM Group resource; also
|
|
47
|
-
* known as the "Id".
|
|
47
|
+
* known as the "Id". Pass once for a single lookup (`?cf_resource_id=A`) or repeat
|
|
48
|
+
* the parameter (`?cf_resource_id=A&cf_resource_id=B`) to look up multiple groups
|
|
49
|
+
* in one request, up to 50 values. Mutually exclusive with `idp_resource_id`,
|
|
50
|
+
* `name`, `search_contains`, and `search_starts_with`.
|
|
48
51
|
*/
|
|
49
|
-
cf_resource_id?: string
|
|
52
|
+
cf_resource_id?: Array<string>;
|
|
50
53
|
|
|
51
54
|
/**
|
|
52
55
|
* Query param: The IdP-generated Id of the SCIM Group resource; also known as the
|
|
53
|
-
* "external Id".
|
|
56
|
+
* "external Id". Pass once for a single lookup (`?idp_resource_id=A`) or repeat
|
|
57
|
+
* the parameter (`?idp_resource_id=A&idp_resource_id=B`) to look up multiple
|
|
58
|
+
* groups in one request, up to 50 values. Mutually exclusive with
|
|
59
|
+
* `cf_resource_id`, `name`, `search_contains`, and `search_starts_with`.
|
|
54
60
|
*/
|
|
55
|
-
idp_resource_id?: string
|
|
61
|
+
idp_resource_id?: Array<string>;
|
|
56
62
|
|
|
57
63
|
/**
|
|
58
64
|
* Query param: The display name of the SCIM Group resource.
|
|
@@ -44,9 +44,12 @@ export interface UserListParams extends V4PagePaginationArrayParams {
|
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Query param: The unique Cloudflare-generated Id of the SCIM User resource; also
|
|
47
|
-
* known as the "Id".
|
|
47
|
+
* known as the "Id". Pass once for a single lookup (`?cf_resource_id=A`) or repeat
|
|
48
|
+
* the parameter (`?cf_resource_id=A&cf_resource_id=B`) to look up multiple users
|
|
49
|
+
* in one request, up to 50 values. Mutually exclusive with `idp_resource_id`,
|
|
50
|
+
* `username`, `email`, `name`, `search_contains`, and `search_starts_with`.
|
|
48
51
|
*/
|
|
49
|
-
cf_resource_id?: string
|
|
52
|
+
cf_resource_id?: Array<string>;
|
|
50
53
|
|
|
51
54
|
/**
|
|
52
55
|
* Query param: The email address of the SCIM User resource.
|
|
@@ -55,9 +58,12 @@ export interface UserListParams extends V4PagePaginationArrayParams {
|
|
|
55
58
|
|
|
56
59
|
/**
|
|
57
60
|
* Query param: The IdP-generated Id of the SCIM User resource; also known as the
|
|
58
|
-
* "external Id".
|
|
61
|
+
* "external Id". Pass once for a single lookup (`?idp_resource_id=A`) or repeat
|
|
62
|
+
* the parameter (`?idp_resource_id=A&idp_resource_id=B`) to look up multiple users
|
|
63
|
+
* in one request, up to 50 values. Mutually exclusive with `cf_resource_id`,
|
|
64
|
+
* `username`, `email`, `name`, `search_contains`, and `search_starts_with`.
|
|
59
65
|
*/
|
|
60
|
-
idp_resource_id?: string
|
|
66
|
+
idp_resource_id?: Array<string>;
|
|
61
67
|
|
|
62
68
|
/**
|
|
63
69
|
* Query param: The name of the SCIM User resource.
|
|
@@ -1596,6 +1596,7 @@ export type SettingEditResponse =
|
|
|
1596
1596
|
| SettingEditResponse.ZonesSchemasResponseBuffering
|
|
1597
1597
|
| SettingEditResponse.ZonesSchemasRocketLoader
|
|
1598
1598
|
| SettingEditResponse.ZonesSchemasAutomaticPlatformOptimization
|
|
1599
|
+
| SettingEditResponse.ZonesSearchForAgents
|
|
1599
1600
|
| SecurityHeaders
|
|
1600
1601
|
| SettingEditResponse.ZonesSchemasSecurityLevel
|
|
1601
1602
|
| ServerSideExcludes
|
|
@@ -2372,6 +2373,35 @@ export namespace SettingEditResponse {
|
|
|
2372
2373
|
modified_on?: string | null;
|
|
2373
2374
|
}
|
|
2374
2375
|
|
|
2376
|
+
/**
|
|
2377
|
+
* When enabled, Cloudflare provisions an AI Search instance for the zone and
|
|
2378
|
+
* exposes a /.well-known/ai-search endpoint that AI agents can query. Markdown
|
|
2379
|
+
* responses also receive an agent: YAML capability block advertising the search
|
|
2380
|
+
* endpoint.
|
|
2381
|
+
*/
|
|
2382
|
+
export interface ZonesSearchForAgents {
|
|
2383
|
+
/**
|
|
2384
|
+
* ID of the zone setting.
|
|
2385
|
+
*/
|
|
2386
|
+
id: 'search_for_agents';
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* Current value of the zone setting.
|
|
2390
|
+
*/
|
|
2391
|
+
value: 'off' | 'on';
|
|
2392
|
+
|
|
2393
|
+
/**
|
|
2394
|
+
* Whether or not this setting can be modified for this zone (based on your
|
|
2395
|
+
* Cloudflare plan level).
|
|
2396
|
+
*/
|
|
2397
|
+
editable?: true | false;
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* last time this setting was modified.
|
|
2401
|
+
*/
|
|
2402
|
+
modified_on?: string | null;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2375
2405
|
/**
|
|
2376
2406
|
* Choose the appropriate security profile for your website, which will
|
|
2377
2407
|
* automatically adjust each of the security settings. If you choose to customize
|
|
@@ -2697,6 +2727,7 @@ export type SettingGetResponse =
|
|
|
2697
2727
|
| SettingGetResponse.ZonesSchemasResponseBuffering
|
|
2698
2728
|
| SettingGetResponse.ZonesSchemasRocketLoader
|
|
2699
2729
|
| SettingGetResponse.ZonesSchemasAutomaticPlatformOptimization
|
|
2730
|
+
| SettingGetResponse.ZonesSearchForAgents
|
|
2700
2731
|
| SecurityHeaders
|
|
2701
2732
|
| SettingGetResponse.ZonesSchemasSecurityLevel
|
|
2702
2733
|
| ServerSideExcludes
|
|
@@ -3473,6 +3504,35 @@ export namespace SettingGetResponse {
|
|
|
3473
3504
|
modified_on?: string | null;
|
|
3474
3505
|
}
|
|
3475
3506
|
|
|
3507
|
+
/**
|
|
3508
|
+
* When enabled, Cloudflare provisions an AI Search instance for the zone and
|
|
3509
|
+
* exposes a /.well-known/ai-search endpoint that AI agents can query. Markdown
|
|
3510
|
+
* responses also receive an agent: YAML capability block advertising the search
|
|
3511
|
+
* endpoint.
|
|
3512
|
+
*/
|
|
3513
|
+
export interface ZonesSearchForAgents {
|
|
3514
|
+
/**
|
|
3515
|
+
* ID of the zone setting.
|
|
3516
|
+
*/
|
|
3517
|
+
id: 'search_for_agents';
|
|
3518
|
+
|
|
3519
|
+
/**
|
|
3520
|
+
* Current value of the zone setting.
|
|
3521
|
+
*/
|
|
3522
|
+
value: 'off' | 'on';
|
|
3523
|
+
|
|
3524
|
+
/**
|
|
3525
|
+
* Whether or not this setting can be modified for this zone (based on your
|
|
3526
|
+
* Cloudflare plan level).
|
|
3527
|
+
*/
|
|
3528
|
+
editable?: true | false;
|
|
3529
|
+
|
|
3530
|
+
/**
|
|
3531
|
+
* last time this setting was modified.
|
|
3532
|
+
*/
|
|
3533
|
+
modified_on?: string | null;
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3476
3536
|
/**
|
|
3477
3537
|
* Choose the appropriate security profile for your website, which will
|
|
3478
3538
|
* automatically adjust each of the security settings. If you choose to customize
|
|
@@ -608,6 +608,13 @@ export interface ZoneListParams extends V4PagePaginationArrayParams {
|
|
|
608
608
|
* Specify a zone status to filter by.
|
|
609
609
|
*/
|
|
610
610
|
status?: 'initializing' | 'pending' | 'active' | 'moved';
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* Zone types to filter by. Multiple types can be specified as a comma-separated
|
|
614
|
+
* list (e.g., ?type=full,partial,secondary). When this parameter is not provided,
|
|
615
|
+
* zones with type "internal" are excluded from the results.
|
|
616
|
+
*/
|
|
617
|
+
type?: Array<'full' | 'partial' | 'secondary' | 'internal'>;
|
|
611
618
|
}
|
|
612
619
|
|
|
613
620
|
export namespace ZoneListParams {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.1.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "6.
|
|
1
|
+
export declare const VERSION = "6.1.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '6.
|
|
1
|
+
export const VERSION = '6.1.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|