@oursprivacy/platform-sdk 1.19.0 → 1.21.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 +31 -0
- package/README.md +8 -12
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts +21 -6
- package/client.d.mts.map +1 -1
- package/client.d.ts +21 -6
- package/client.d.ts.map +1 -1
- package/client.js +17 -2
- package/client.js.map +1 -1
- package/client.mjs +17 -2
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.mjs.map +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts.map +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/allowed-events.d.mts.map +1 -1
- package/resources/allowed-events.d.ts.map +1 -1
- package/resources/allowed-events.mjs.map +1 -1
- package/resources/consent-settings.d.mts.map +1 -1
- package/resources/consent-settings.d.ts.map +1 -1
- package/resources/consent-settings.mjs.map +1 -1
- package/resources/default-mappings.d.mts +140 -0
- package/resources/default-mappings.d.mts.map +1 -0
- package/resources/default-mappings.d.ts +140 -0
- package/resources/default-mappings.d.ts.map +1 -0
- package/resources/default-mappings.js +38 -0
- package/resources/default-mappings.js.map +1 -0
- package/resources/default-mappings.mjs +34 -0
- package/resources/default-mappings.mjs.map +1 -0
- package/resources/destination-types.d.mts +21 -13
- package/resources/destination-types.d.mts.map +1 -1
- package/resources/destination-types.d.ts +21 -13
- package/resources/destination-types.d.ts.map +1 -1
- package/resources/destination-types.js.map +1 -1
- package/resources/destination-types.mjs.map +1 -1
- package/resources/destinations.d.mts +61 -98
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +61 -98
- package/resources/destinations.d.ts.map +1 -1
- package/resources/destinations.js +11 -13
- package/resources/destinations.js.map +1 -1
- package/resources/destinations.mjs +11 -13
- package/resources/destinations.mjs.map +1 -1
- package/resources/experiment-settings.d.mts.map +1 -1
- package/resources/experiment-settings.d.ts.map +1 -1
- package/resources/experiment-settings.mjs.map +1 -1
- package/resources/experiment-variants.d.mts.map +1 -1
- package/resources/experiment-variants.d.ts.map +1 -1
- package/resources/experiment-variants.mjs.map +1 -1
- package/resources/experiments.d.mts.map +1 -1
- package/resources/experiments.d.ts.map +1 -1
- package/resources/experiments.mjs.map +1 -1
- package/resources/global-dispatch-centers.d.mts.map +1 -1
- package/resources/global-dispatch-centers.d.ts.map +1 -1
- package/resources/global-dispatch-centers.mjs.map +1 -1
- package/resources/heatmap-pages.d.mts.map +1 -1
- package/resources/heatmap-pages.d.ts.map +1 -1
- package/resources/heatmap-pages.mjs.map +1 -1
- package/resources/index.d.mts +7 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +11 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +5 -0
- package/resources/index.mjs.map +1 -1
- package/resources/locations.d.mts +270 -0
- package/resources/locations.d.mts.map +1 -0
- package/resources/locations.d.ts +270 -0
- package/resources/locations.d.ts.map +1 -0
- package/resources/locations.js +48 -0
- package/resources/locations.js.map +1 -0
- package/resources/locations.mjs +44 -0
- package/resources/locations.mjs.map +1 -0
- package/resources/mapping-templates.d.mts +101 -0
- package/resources/mapping-templates.d.mts.map +1 -0
- package/resources/mapping-templates.d.ts +101 -0
- package/resources/mapping-templates.d.ts.map +1 -0
- package/resources/mapping-templates.js +22 -0
- package/resources/mapping-templates.js.map +1 -0
- package/resources/mapping-templates.mjs +18 -0
- package/resources/mapping-templates.mjs.map +1 -0
- package/resources/mappings.d.mts +186 -6
- package/resources/mappings.d.mts.map +1 -1
- package/resources/mappings.d.ts +186 -6
- package/resources/mappings.d.ts.map +1 -1
- package/resources/mappings.js +26 -3
- package/resources/mappings.js.map +1 -1
- package/resources/mappings.mjs +26 -3
- package/resources/mappings.mjs.map +1 -1
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/replay-settings.mjs.map +1 -1
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts.map +1 -1
- package/resources/sources.mjs.map +1 -1
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts.map +1 -1
- package/resources/versions.mjs.map +1 -1
- package/resources/web-scanner-rules.d.mts +195 -0
- package/resources/web-scanner-rules.d.mts.map +1 -0
- package/resources/web-scanner-rules.d.ts +195 -0
- package/resources/web-scanner-rules.d.ts.map +1 -0
- package/resources/web-scanner-rules.js +48 -0
- package/resources/web-scanner-rules.js.map +1 -0
- package/resources/web-scanner-rules.mjs +44 -0
- package/resources/web-scanner-rules.mjs.map +1 -0
- package/resources/web-scanners.d.mts +199 -0
- package/resources/web-scanners.d.mts.map +1 -0
- package/resources/web-scanners.d.ts +199 -0
- package/resources/web-scanners.d.ts.map +1 -0
- package/resources/web-scanners.js +67 -0
- package/resources/web-scanners.js.map +1 -0
- package/resources/web-scanners.mjs +63 -0
- package/resources/web-scanners.mjs.map +1 -0
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/client.ts +116 -5
- package/src/resources/default-mappings.ts +332 -0
- package/src/resources/destination-types.ts +117 -202
- package/src/resources/destinations.ts +227 -212
- package/src/resources/index.ts +48 -0
- package/src/resources/locations.ts +463 -0
- package/src/resources/mapping-templates.ts +203 -0
- package/src/resources/mappings.ts +320 -5
- package/src/resources/web-scanner-rules.ts +304 -0
- package/src/resources/web-scanners.ts +333 -0
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -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.
|
|
1
|
+
export const VERSION = '1.21.0'; // x-release-please-version
|
package/uploads.d.mts
CHANGED
package/uploads.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|
package/uploads.d.ts
CHANGED
package/uploads.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,kCAA+B"}
|
package/uploads.mjs
CHANGED
package/uploads.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.21.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.21.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.21.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|