@oursprivacy/platform-sdk 1.18.0 → 1.20.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.
Files changed (71) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +8 -12
  3. package/client.d.mts +14 -2
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +14 -2
  6. package/client.d.ts.map +1 -1
  7. package/client.js +12 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +12 -0
  10. package/client.mjs.map +1 -1
  11. package/package.json +1 -1
  12. package/resources/destination-types.d.mts +146 -0
  13. package/resources/destination-types.d.mts.map +1 -0
  14. package/resources/destination-types.d.ts +146 -0
  15. package/resources/destination-types.d.ts.map +1 -0
  16. package/resources/destination-types.js +28 -0
  17. package/resources/destination-types.js.map +1 -0
  18. package/resources/destination-types.mjs +24 -0
  19. package/resources/destination-types.mjs.map +1 -0
  20. package/resources/destinations.d.mts +67 -52
  21. package/resources/destinations.d.mts.map +1 -1
  22. package/resources/destinations.d.ts +67 -52
  23. package/resources/destinations.d.ts.map +1 -1
  24. package/resources/destinations.js +9 -3
  25. package/resources/destinations.js.map +1 -1
  26. package/resources/destinations.mjs +9 -3
  27. package/resources/destinations.mjs.map +1 -1
  28. package/resources/index.d.mts +5 -1
  29. package/resources/index.d.mts.map +1 -1
  30. package/resources/index.d.ts +5 -1
  31. package/resources/index.d.ts.map +1 -1
  32. package/resources/index.js +9 -1
  33. package/resources/index.js.map +1 -1
  34. package/resources/index.mjs +4 -0
  35. package/resources/index.mjs.map +1 -1
  36. package/resources/locations.d.mts +270 -0
  37. package/resources/locations.d.mts.map +1 -0
  38. package/resources/locations.d.ts +270 -0
  39. package/resources/locations.d.ts.map +1 -0
  40. package/resources/locations.js +48 -0
  41. package/resources/locations.js.map +1 -0
  42. package/resources/locations.mjs +44 -0
  43. package/resources/locations.mjs.map +1 -0
  44. package/resources/web-scanner-rules.d.mts +195 -0
  45. package/resources/web-scanner-rules.d.mts.map +1 -0
  46. package/resources/web-scanner-rules.d.ts +195 -0
  47. package/resources/web-scanner-rules.d.ts.map +1 -0
  48. package/resources/web-scanner-rules.js +48 -0
  49. package/resources/web-scanner-rules.js.map +1 -0
  50. package/resources/web-scanner-rules.mjs +44 -0
  51. package/resources/web-scanner-rules.mjs.map +1 -0
  52. package/resources/web-scanners.d.mts +199 -0
  53. package/resources/web-scanners.d.mts.map +1 -0
  54. package/resources/web-scanners.d.ts +199 -0
  55. package/resources/web-scanners.d.ts.map +1 -0
  56. package/resources/web-scanners.js +67 -0
  57. package/resources/web-scanners.js.map +1 -0
  58. package/resources/web-scanners.mjs +63 -0
  59. package/resources/web-scanners.mjs.map +1 -0
  60. package/src/client.ts +90 -0
  61. package/src/resources/destination-types.ts +373 -0
  62. package/src/resources/destinations.ts +239 -161
  63. package/src/resources/index.ts +39 -0
  64. package/src/resources/locations.ts +463 -0
  65. package/src/resources/web-scanner-rules.ts +304 -0
  66. package/src/resources/web-scanners.ts +333 -0
  67. package/src/version.ts +1 -1
  68. package/version.d.mts +1 -1
  69. package/version.d.ts +1 -1
  70. package/version.js +1 -1
  71. package/version.mjs +1 -1
@@ -0,0 +1,304 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { APIPromise } from '../core/api-promise';
5
+ import { RequestOptions } from '../internal/request-options';
6
+ import { path } from '../internal/utils/path';
7
+
8
+ export class WebScannerRules extends APIResource {
9
+ /**
10
+ * List suppression rules for a single web scanner. Requires the `scannerId` query
11
+ * parameter — rules are always scoped to a parent scanner. Not paginated; the
12
+ * per-scanner rule count is bounded. Requires scope: webScanner:find
13
+ */
14
+ list(query: WebScannerRuleListParams, options?: RequestOptions): APIPromise<WebScannerRuleListResponse> {
15
+ return this._client.get('/rest/v1/web-scanner-rules', { query, ...options });
16
+ }
17
+
18
+ /**
19
+ * Create a suppression rule on a web scanner. Auth is enforced against the parent
20
+ * scanner via `webScanner:update`. At least one of `cookiePatterns`,
21
+ * `domainPatterns`, or `scriptPatterns` should be set for the rule to match
22
+ * anything; omitted pattern arrays default to `[]`. Requires scope:
23
+ * webScanner:update
24
+ */
25
+ create(
26
+ body: WebScannerRuleCreateParams,
27
+ options?: RequestOptions,
28
+ ): APIPromise<WebScannerRuleCreateResponse> {
29
+ return this._client.post('/rest/v1/web-scanner-rules', { body, ...options });
30
+ }
31
+
32
+ /**
33
+ * Find a single web scanner rule by ID. Requires scope: webScanner:find
34
+ */
35
+ retrieve(id: string, options?: RequestOptions): APIPromise<WebScannerRuleRetrieveResponse> {
36
+ return this._client.get(path`/rest/v1/web-scanner-rules/${id}`, options);
37
+ }
38
+
39
+ /**
40
+ * Partially update a suppression rule. Only the fields you send are changed.
41
+ * List-valued fields (`cookiePatterns`, `domainPatterns`, `scriptPatterns`) are
42
+ * replaced wholesale when sent. Requires scope: webScanner:update
43
+ */
44
+ update(
45
+ id: string,
46
+ body: WebScannerRuleUpdateParams,
47
+ options?: RequestOptions,
48
+ ): APIPromise<WebScannerRuleUpdateResponse> {
49
+ return this._client.patch(path`/rest/v1/web-scanner-rules/${id}`, { body, ...options });
50
+ }
51
+
52
+ /**
53
+ * Delete a web scanner rule. Requires scope: webScanner:update
54
+ */
55
+ delete(id: string, options?: RequestOptions): APIPromise<WebScannerRuleDeleteResponse> {
56
+ return this._client.delete(path`/rest/v1/web-scanner-rules/${id}`, options);
57
+ }
58
+ }
59
+
60
+ export interface WebScannerRuleListResponse {
61
+ entities: Array<WebScannerRuleListResponse.Entity>;
62
+ }
63
+
64
+ export namespace WebScannerRuleListResponse {
65
+ export interface Entity {
66
+ id: string;
67
+
68
+ accountId: string;
69
+
70
+ cookiePatterns: Array<string>;
71
+
72
+ createdAt: string;
73
+
74
+ domainPatterns: Array<string>;
75
+
76
+ name: string;
77
+
78
+ priority: number;
79
+
80
+ scannerId: string;
81
+
82
+ scriptPatterns: Array<string>;
83
+
84
+ createdByUserId?: string | null;
85
+
86
+ notes?: string | null;
87
+
88
+ reason?: 'approved' | 'baa' | 'compliant' | 'firstParty' | 'ignore' | 'internal' | 'other' | null;
89
+
90
+ updatedAt?: string | null;
91
+
92
+ updatedByUserId?: string | null;
93
+ }
94
+ }
95
+
96
+ export interface WebScannerRuleCreateResponse {
97
+ id: string;
98
+
99
+ accountId: string;
100
+
101
+ cookiePatterns: Array<string>;
102
+
103
+ createdAt: string;
104
+
105
+ domainPatterns: Array<string>;
106
+
107
+ name: string;
108
+
109
+ priority: number;
110
+
111
+ scannerId: string;
112
+
113
+ scriptPatterns: Array<string>;
114
+
115
+ createdByUserId?: string | null;
116
+
117
+ notes?: string | null;
118
+
119
+ reason?: 'approved' | 'baa' | 'compliant' | 'firstParty' | 'ignore' | 'internal' | 'other' | null;
120
+
121
+ updatedAt?: string | null;
122
+
123
+ updatedByUserId?: string | null;
124
+ }
125
+
126
+ export interface WebScannerRuleRetrieveResponse {
127
+ id: string;
128
+
129
+ accountId: string;
130
+
131
+ cookiePatterns: Array<string>;
132
+
133
+ createdAt: string;
134
+
135
+ domainPatterns: Array<string>;
136
+
137
+ name: string;
138
+
139
+ priority: number;
140
+
141
+ scannerId: string;
142
+
143
+ scriptPatterns: Array<string>;
144
+
145
+ createdByUserId?: string | null;
146
+
147
+ notes?: string | null;
148
+
149
+ reason?: 'approved' | 'baa' | 'compliant' | 'firstParty' | 'ignore' | 'internal' | 'other' | null;
150
+
151
+ updatedAt?: string | null;
152
+
153
+ updatedByUserId?: string | null;
154
+ }
155
+
156
+ export interface WebScannerRuleUpdateResponse {
157
+ id: string;
158
+
159
+ accountId: string;
160
+
161
+ cookiePatterns: Array<string>;
162
+
163
+ createdAt: string;
164
+
165
+ domainPatterns: Array<string>;
166
+
167
+ name: string;
168
+
169
+ priority: number;
170
+
171
+ scannerId: string;
172
+
173
+ scriptPatterns: Array<string>;
174
+
175
+ createdByUserId?: string | null;
176
+
177
+ notes?: string | null;
178
+
179
+ reason?: 'approved' | 'baa' | 'compliant' | 'firstParty' | 'ignore' | 'internal' | 'other' | null;
180
+
181
+ updatedAt?: string | null;
182
+
183
+ updatedByUserId?: string | null;
184
+ }
185
+
186
+ export interface WebScannerRuleDeleteResponse {
187
+ /**
188
+ * The id of the suppression rule that was deleted.
189
+ */
190
+ id: string;
191
+
192
+ /**
193
+ * True when the underlying mutation succeeded.
194
+ */
195
+ deleted: boolean;
196
+ }
197
+
198
+ export interface WebScannerRuleListParams {
199
+ /**
200
+ * The web scanner whose suppression rules should be returned.
201
+ */
202
+ scannerId: string;
203
+ }
204
+
205
+ export interface WebScannerRuleCreateParams {
206
+ /**
207
+ * User-friendly name for the suppression rule.
208
+ */
209
+ name: string;
210
+
211
+ /**
212
+ * Rule priority (1–10,000). Lower numbers are evaluated first when multiple rules
213
+ * match.
214
+ */
215
+ priority: number;
216
+
217
+ /**
218
+ * The web scanner this rule belongs to.
219
+ */
220
+ scannerId: string;
221
+
222
+ /**
223
+ * Glob patterns matched against cookie names (e.g. `_ga*`). Max 100 entries. When
224
+ * sent on PATCH, replaces the existing list wholesale.
225
+ */
226
+ cookiePatterns?: Array<string>;
227
+
228
+ /**
229
+ * Glob patterns matched against cookie domain / script hostname (e.g.
230
+ * `*.google-analytics.com`). Max 100 entries. When sent on PATCH, replaces the
231
+ * existing list wholesale.
232
+ */
233
+ domainPatterns?: Array<string>;
234
+
235
+ /**
236
+ * Free-form notes about why this rule exists or what it covers. Trimmed
237
+ * server-side; empty strings become `null`.
238
+ */
239
+ notes?: string | null;
240
+
241
+ /**
242
+ * Why this rule was added. Surfaced in audit views. Send `null` to clear an
243
+ * existing reason on patch.
244
+ */
245
+ reason?: 'approved' | 'baa' | 'compliant' | 'firstParty' | 'ignore' | 'internal' | 'other' | null;
246
+
247
+ /**
248
+ * Glob patterns matched against full script URLs (e.g.
249
+ * `https://www.googletagmanager.com/gtm.js?id=*`). Max 100 entries. When sent on
250
+ * PATCH, replaces the existing list wholesale.
251
+ */
252
+ scriptPatterns?: Array<string>;
253
+ }
254
+
255
+ export interface WebScannerRuleUpdateParams {
256
+ /**
257
+ * Glob patterns matched against cookie names (e.g. `_ga*`). Max 100 entries. When
258
+ * sent on PATCH, replaces the existing list wholesale.
259
+ */
260
+ cookiePatterns?: Array<string>;
261
+
262
+ /**
263
+ * Glob patterns matched against cookie domain / script hostname (e.g.
264
+ * `*.google-analytics.com`). Max 100 entries. When sent on PATCH, replaces the
265
+ * existing list wholesale.
266
+ */
267
+ domainPatterns?: Array<string>;
268
+
269
+ name?: string;
270
+
271
+ /**
272
+ * Free-form notes about why this rule exists or what it covers. Trimmed
273
+ * server-side; empty strings become `null`.
274
+ */
275
+ notes?: string | null;
276
+
277
+ priority?: number;
278
+
279
+ /**
280
+ * Why this rule was added. Surfaced in audit views. Send `null` to clear an
281
+ * existing reason on patch.
282
+ */
283
+ reason?: 'approved' | 'baa' | 'compliant' | 'firstParty' | 'ignore' | 'internal' | 'other' | null;
284
+
285
+ /**
286
+ * Glob patterns matched against full script URLs (e.g.
287
+ * `https://www.googletagmanager.com/gtm.js?id=*`). Max 100 entries. When sent on
288
+ * PATCH, replaces the existing list wholesale.
289
+ */
290
+ scriptPatterns?: Array<string>;
291
+ }
292
+
293
+ export declare namespace WebScannerRules {
294
+ export {
295
+ type WebScannerRuleListResponse as WebScannerRuleListResponse,
296
+ type WebScannerRuleCreateResponse as WebScannerRuleCreateResponse,
297
+ type WebScannerRuleRetrieveResponse as WebScannerRuleRetrieveResponse,
298
+ type WebScannerRuleUpdateResponse as WebScannerRuleUpdateResponse,
299
+ type WebScannerRuleDeleteResponse as WebScannerRuleDeleteResponse,
300
+ type WebScannerRuleListParams as WebScannerRuleListParams,
301
+ type WebScannerRuleCreateParams as WebScannerRuleCreateParams,
302
+ type WebScannerRuleUpdateParams as WebScannerRuleUpdateParams,
303
+ };
304
+ }
@@ -0,0 +1,333 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../core/resource';
4
+ import { APIPromise } from '../core/api-promise';
5
+ import { RequestOptions } from '../internal/request-options';
6
+ import { path } from '../internal/utils/path';
7
+
8
+ export class WebScanners extends APIResource {
9
+ /**
10
+ * List every web scanner for this account. Not paginated — accounts have a small
11
+ * number of scanners in practice, so the response always fits in a single page.
12
+ * Requires scope: webScanner:list
13
+ */
14
+ list(options?: RequestOptions): APIPromise<WebScannerListResponse> {
15
+ return this._client.get('/rest/v1/web-scanners', options);
16
+ }
17
+
18
+ /**
19
+ * Create a new web scanner for a root domain. A first scan is enqueued
20
+ * automatically after creation on a best-effort basis. `rootDomain` is required;
21
+ * missing, empty, or malformed values are rejected as HTTP 400. Everything else
22
+ * falls back to defaults (`status: Enabled`, `urlLimit: 100`, no excluded
23
+ * patterns, no extra seed URLs). The returned entity is the created scanner row
24
+ * and may not yet reflect async scan-state changes. Requires scope:
25
+ * webScanner:create
26
+ */
27
+ create(body: WebScannerCreateParams, options?: RequestOptions): APIPromise<WebScannerCreateResponse> {
28
+ return this._client.post('/rest/v1/web-scanners', { body, ...options });
29
+ }
30
+
31
+ /**
32
+ * Find a single web scanner by ID. Requires scope: webScanner:find
33
+ */
34
+ retrieve(id: string, options?: RequestOptions): APIPromise<WebScannerRetrieveResponse> {
35
+ return this._client.get(path`/rest/v1/web-scanners/${id}`, options);
36
+ }
37
+
38
+ /**
39
+ * Partially update a web scanner. Only the fields you send are changed; omitted
40
+ * fields keep their current value. List-valued fields (`excludedPatterns`,
41
+ * `includedUrls`) are replaced wholesale when sent. If `rootDomain` is provided
42
+ * and malformed, the request is rejected as HTTP 400. Use
43
+ * `POST /rest/v1/web-scanners/{id}/trigger` to start a new scan after edits.
44
+ * Requires scope: webScanner:update
45
+ */
46
+ update(
47
+ id: string,
48
+ body: WebScannerUpdateParams,
49
+ options?: RequestOptions,
50
+ ): APIPromise<WebScannerUpdateResponse> {
51
+ return this._client.patch(path`/rest/v1/web-scanners/${id}`, { body, ...options });
52
+ }
53
+
54
+ /**
55
+ * Delete a web scanner. Associated suppression rules are deleted in the same
56
+ * operation. Requires scope: webScanner:delete
57
+ */
58
+ delete(id: string, options?: RequestOptions): APIPromise<WebScannerDeleteResponse> {
59
+ return this._client.delete(path`/rest/v1/web-scanners/${id}`, options);
60
+ }
61
+
62
+ /**
63
+ * Manually kick off a new scan for this web scanner. The request body is empty (or
64
+ * `{}`). A successful response means the enqueue request was accepted; because the
65
+ * scan starts asynchronously, the returned entity may still reflect pre-trigger
66
+ * values for fields like `scanStatus` and `lastScanStartedAt`. The trigger is
67
+ * rate-limited: a 409 is returned if another scan is already in flight, the
68
+ * per-account cooldown has not elapsed, or the trigger backend rejects the
69
+ * request; the reason is in the response `error` field. Requires scope:
70
+ * webScanner:trigger
71
+ */
72
+ trigger(id: string, options?: RequestOptions): APIPromise<WebScannerTriggerResponse> {
73
+ return this._client.post(path`/rest/v1/web-scanners/${id}/trigger`, options);
74
+ }
75
+ }
76
+
77
+ export interface WebScannerListResponse {
78
+ entities: Array<WebScannerListResponse.Entity>;
79
+ }
80
+
81
+ export namespace WebScannerListResponse {
82
+ export interface Entity {
83
+ id: string;
84
+
85
+ accountId: string;
86
+
87
+ rootDomain: string;
88
+
89
+ scanStatus: 'idle' | 'scanning';
90
+
91
+ status: 'Disabled' | 'Enabled';
92
+
93
+ createdAt?: string | null;
94
+
95
+ excludedPatterns?: Array<string> | null;
96
+
97
+ includedUrls?: Array<string> | null;
98
+
99
+ lastRunCookieCount?: number | null;
100
+
101
+ lastRunHighRiskRequestCount?: number | null;
102
+
103
+ lastRunRequestCount?: number | null;
104
+
105
+ lastRunSuccessUrlCount?: number | null;
106
+
107
+ lastScannedAt?: string | null;
108
+
109
+ lastScanStartedAt?: string | null;
110
+
111
+ name?: string | null;
112
+
113
+ updatedAt?: string | null;
114
+
115
+ urlLimit?: number | null;
116
+ }
117
+ }
118
+
119
+ export interface WebScannerCreateResponse {
120
+ id: string;
121
+
122
+ accountId: string;
123
+
124
+ rootDomain: string;
125
+
126
+ scanStatus: 'idle' | 'scanning';
127
+
128
+ status: 'Disabled' | 'Enabled';
129
+
130
+ createdAt?: string | null;
131
+
132
+ excludedPatterns?: Array<string> | null;
133
+
134
+ includedUrls?: Array<string> | null;
135
+
136
+ lastRunCookieCount?: number | null;
137
+
138
+ lastRunHighRiskRequestCount?: number | null;
139
+
140
+ lastRunRequestCount?: number | null;
141
+
142
+ lastRunSuccessUrlCount?: number | null;
143
+
144
+ lastScannedAt?: string | null;
145
+
146
+ lastScanStartedAt?: string | null;
147
+
148
+ name?: string | null;
149
+
150
+ updatedAt?: string | null;
151
+
152
+ urlLimit?: number | null;
153
+ }
154
+
155
+ export interface WebScannerRetrieveResponse {
156
+ id: string;
157
+
158
+ accountId: string;
159
+
160
+ rootDomain: string;
161
+
162
+ scanStatus: 'idle' | 'scanning';
163
+
164
+ status: 'Disabled' | 'Enabled';
165
+
166
+ createdAt?: string | null;
167
+
168
+ excludedPatterns?: Array<string> | null;
169
+
170
+ includedUrls?: Array<string> | null;
171
+
172
+ lastRunCookieCount?: number | null;
173
+
174
+ lastRunHighRiskRequestCount?: number | null;
175
+
176
+ lastRunRequestCount?: number | null;
177
+
178
+ lastRunSuccessUrlCount?: number | null;
179
+
180
+ lastScannedAt?: string | null;
181
+
182
+ lastScanStartedAt?: string | null;
183
+
184
+ name?: string | null;
185
+
186
+ updatedAt?: string | null;
187
+
188
+ urlLimit?: number | null;
189
+ }
190
+
191
+ export interface WebScannerUpdateResponse {
192
+ id: string;
193
+
194
+ accountId: string;
195
+
196
+ rootDomain: string;
197
+
198
+ scanStatus: 'idle' | 'scanning';
199
+
200
+ status: 'Disabled' | 'Enabled';
201
+
202
+ createdAt?: string | null;
203
+
204
+ excludedPatterns?: Array<string> | null;
205
+
206
+ includedUrls?: Array<string> | null;
207
+
208
+ lastRunCookieCount?: number | null;
209
+
210
+ lastRunHighRiskRequestCount?: number | null;
211
+
212
+ lastRunRequestCount?: number | null;
213
+
214
+ lastRunSuccessUrlCount?: number | null;
215
+
216
+ lastScannedAt?: string | null;
217
+
218
+ lastScanStartedAt?: string | null;
219
+
220
+ name?: string | null;
221
+
222
+ updatedAt?: string | null;
223
+
224
+ urlLimit?: number | null;
225
+ }
226
+
227
+ export interface WebScannerDeleteResponse {
228
+ /**
229
+ * The id of the web scanner that was deleted.
230
+ */
231
+ id: string;
232
+
233
+ /**
234
+ * True when the underlying mutation succeeded; the scanner and its rules are gone.
235
+ */
236
+ deleted: boolean;
237
+ }
238
+
239
+ export interface WebScannerTriggerResponse {
240
+ id: string;
241
+
242
+ accountId: string;
243
+
244
+ rootDomain: string;
245
+
246
+ scanStatus: 'idle' | 'scanning';
247
+
248
+ status: 'Disabled' | 'Enabled';
249
+
250
+ createdAt?: string | null;
251
+
252
+ excludedPatterns?: Array<string> | null;
253
+
254
+ includedUrls?: Array<string> | null;
255
+
256
+ lastRunCookieCount?: number | null;
257
+
258
+ lastRunHighRiskRequestCount?: number | null;
259
+
260
+ lastRunRequestCount?: number | null;
261
+
262
+ lastRunSuccessUrlCount?: number | null;
263
+
264
+ lastScannedAt?: string | null;
265
+
266
+ lastScanStartedAt?: string | null;
267
+
268
+ name?: string | null;
269
+
270
+ updatedAt?: string | null;
271
+
272
+ urlLimit?: number | null;
273
+ }
274
+
275
+ export interface WebScannerCreateParams {
276
+ /**
277
+ * Root domain to crawl (e.g. `example.com`). Required on create. Missing or empty
278
+ * values fail request validation as HTTP 400. Present-but-malformed values are
279
+ * rejected as HTTP 400 with the validation reason in `details`.
280
+ */
281
+ rootDomain: string;
282
+
283
+ /**
284
+ * URL glob patterns to skip during crawl. Max 100 entries.
285
+ */
286
+ excludedPatterns?: Array<string> | null;
287
+
288
+ /**
289
+ * Additional seed URLs to include as crawl entry points. Each must be an http(s)
290
+ * URL. Max 100 entries.
291
+ */
292
+ includedUrls?: Array<string> | null;
293
+
294
+ name?: string | null;
295
+
296
+ status?: 'Disabled' | 'Enabled';
297
+
298
+ /**
299
+ * Maximum URLs to crawl per scan (1–20,000). Defaults to 100 when omitted.
300
+ */
301
+ urlLimit?: number | null;
302
+ }
303
+
304
+ export interface WebScannerUpdateParams {
305
+ excludedPatterns?: Array<string> | null;
306
+
307
+ includedUrls?: Array<string> | null;
308
+
309
+ name?: string | null;
310
+
311
+ /**
312
+ * Replace the scanner root domain. When provided, malformed values are rejected as
313
+ * HTTP 400 with the validation reason in `details`.
314
+ */
315
+ rootDomain?: string | null;
316
+
317
+ status?: 'Disabled' | 'Enabled';
318
+
319
+ urlLimit?: number | null;
320
+ }
321
+
322
+ export declare namespace WebScanners {
323
+ export {
324
+ type WebScannerListResponse as WebScannerListResponse,
325
+ type WebScannerCreateResponse as WebScannerCreateResponse,
326
+ type WebScannerRetrieveResponse as WebScannerRetrieveResponse,
327
+ type WebScannerUpdateResponse as WebScannerUpdateResponse,
328
+ type WebScannerDeleteResponse as WebScannerDeleteResponse,
329
+ type WebScannerTriggerResponse as WebScannerTriggerResponse,
330
+ type WebScannerCreateParams as WebScannerCreateParams,
331
+ type WebScannerUpdateParams as WebScannerUpdateParams,
332
+ };
333
+ }
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.18.0'; // x-release-please-version
1
+ export const VERSION = '1.20.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.18.0";
1
+ export declare const VERSION = "1.20.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.18.0";
1
+ export declare const VERSION = "1.20.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.18.0'; // x-release-please-version
4
+ exports.VERSION = '1.20.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.18.0'; // x-release-please-version
1
+ export const VERSION = '1.20.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map