@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.
- package/CHANGELOG.md +21 -0
- package/README.md +8 -12
- package/client.d.mts +14 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +14 -2
- package/client.d.ts.map +1 -1
- package/client.js +12 -0
- package/client.js.map +1 -1
- package/client.mjs +12 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/destination-types.d.mts +146 -0
- package/resources/destination-types.d.mts.map +1 -0
- package/resources/destination-types.d.ts +146 -0
- package/resources/destination-types.d.ts.map +1 -0
- package/resources/destination-types.js +28 -0
- package/resources/destination-types.js.map +1 -0
- package/resources/destination-types.mjs +24 -0
- package/resources/destination-types.mjs.map +1 -0
- package/resources/destinations.d.mts +67 -52
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +67 -52
- package/resources/destinations.d.ts.map +1 -1
- package/resources/destinations.js +9 -3
- package/resources/destinations.js.map +1 -1
- package/resources/destinations.mjs +9 -3
- package/resources/destinations.mjs.map +1 -1
- package/resources/index.d.mts +5 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +5 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +9 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +4 -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/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/src/client.ts +90 -0
- package/src/resources/destination-types.ts +373 -0
- package/src/resources/destinations.ts +239 -161
- package/src/resources/index.ts +39 -0
- package/src/resources/locations.ts +463 -0
- package/src/resources/web-scanner-rules.ts +304 -0
- package/src/resources/web-scanners.ts +333 -0
- package/src/version.ts +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,199 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
export declare class WebScanners extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List every web scanner for this account. Not paginated — accounts have a small
|
|
7
|
+
* number of scanners in practice, so the response always fits in a single page.
|
|
8
|
+
* Requires scope: webScanner:list
|
|
9
|
+
*/
|
|
10
|
+
list(options?: RequestOptions): APIPromise<WebScannerListResponse>;
|
|
11
|
+
/**
|
|
12
|
+
* Create a new web scanner for a root domain. A first scan is enqueued
|
|
13
|
+
* automatically after creation on a best-effort basis. `rootDomain` is required;
|
|
14
|
+
* missing, empty, or malformed values are rejected as HTTP 400. Everything else
|
|
15
|
+
* falls back to defaults (`status: Enabled`, `urlLimit: 100`, no excluded
|
|
16
|
+
* patterns, no extra seed URLs). The returned entity is the created scanner row
|
|
17
|
+
* and may not yet reflect async scan-state changes. Requires scope:
|
|
18
|
+
* webScanner:create
|
|
19
|
+
*/
|
|
20
|
+
create(body: WebScannerCreateParams, options?: RequestOptions): APIPromise<WebScannerCreateResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Find a single web scanner by ID. Requires scope: webScanner:find
|
|
23
|
+
*/
|
|
24
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<WebScannerRetrieveResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Partially update a web scanner. Only the fields you send are changed; omitted
|
|
27
|
+
* fields keep their current value. List-valued fields (`excludedPatterns`,
|
|
28
|
+
* `includedUrls`) are replaced wholesale when sent. If `rootDomain` is provided
|
|
29
|
+
* and malformed, the request is rejected as HTTP 400. Use
|
|
30
|
+
* `POST /rest/v1/web-scanners/{id}/trigger` to start a new scan after edits.
|
|
31
|
+
* Requires scope: webScanner:update
|
|
32
|
+
*/
|
|
33
|
+
update(id: string, body: WebScannerUpdateParams, options?: RequestOptions): APIPromise<WebScannerUpdateResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Delete a web scanner. Associated suppression rules are deleted in the same
|
|
36
|
+
* operation. Requires scope: webScanner:delete
|
|
37
|
+
*/
|
|
38
|
+
delete(id: string, options?: RequestOptions): APIPromise<WebScannerDeleteResponse>;
|
|
39
|
+
/**
|
|
40
|
+
* Manually kick off a new scan for this web scanner. The request body is empty (or
|
|
41
|
+
* `{}`). A successful response means the enqueue request was accepted; because the
|
|
42
|
+
* scan starts asynchronously, the returned entity may still reflect pre-trigger
|
|
43
|
+
* values for fields like `scanStatus` and `lastScanStartedAt`. The trigger is
|
|
44
|
+
* rate-limited: a 409 is returned if another scan is already in flight, the
|
|
45
|
+
* per-account cooldown has not elapsed, or the trigger backend rejects the
|
|
46
|
+
* request; the reason is in the response `error` field. Requires scope:
|
|
47
|
+
* webScanner:trigger
|
|
48
|
+
*/
|
|
49
|
+
trigger(id: string, options?: RequestOptions): APIPromise<WebScannerTriggerResponse>;
|
|
50
|
+
}
|
|
51
|
+
export interface WebScannerListResponse {
|
|
52
|
+
entities: Array<WebScannerListResponse.Entity>;
|
|
53
|
+
}
|
|
54
|
+
export declare namespace WebScannerListResponse {
|
|
55
|
+
interface Entity {
|
|
56
|
+
id: string;
|
|
57
|
+
accountId: string;
|
|
58
|
+
rootDomain: string;
|
|
59
|
+
scanStatus: 'idle' | 'scanning';
|
|
60
|
+
status: 'Disabled' | 'Enabled';
|
|
61
|
+
createdAt?: string | null;
|
|
62
|
+
excludedPatterns?: Array<string> | null;
|
|
63
|
+
includedUrls?: Array<string> | null;
|
|
64
|
+
lastRunCookieCount?: number | null;
|
|
65
|
+
lastRunHighRiskRequestCount?: number | null;
|
|
66
|
+
lastRunRequestCount?: number | null;
|
|
67
|
+
lastRunSuccessUrlCount?: number | null;
|
|
68
|
+
lastScannedAt?: string | null;
|
|
69
|
+
lastScanStartedAt?: string | null;
|
|
70
|
+
name?: string | null;
|
|
71
|
+
updatedAt?: string | null;
|
|
72
|
+
urlLimit?: number | null;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
export interface WebScannerCreateResponse {
|
|
76
|
+
id: string;
|
|
77
|
+
accountId: string;
|
|
78
|
+
rootDomain: string;
|
|
79
|
+
scanStatus: 'idle' | 'scanning';
|
|
80
|
+
status: 'Disabled' | 'Enabled';
|
|
81
|
+
createdAt?: string | null;
|
|
82
|
+
excludedPatterns?: Array<string> | null;
|
|
83
|
+
includedUrls?: Array<string> | null;
|
|
84
|
+
lastRunCookieCount?: number | null;
|
|
85
|
+
lastRunHighRiskRequestCount?: number | null;
|
|
86
|
+
lastRunRequestCount?: number | null;
|
|
87
|
+
lastRunSuccessUrlCount?: number | null;
|
|
88
|
+
lastScannedAt?: string | null;
|
|
89
|
+
lastScanStartedAt?: string | null;
|
|
90
|
+
name?: string | null;
|
|
91
|
+
updatedAt?: string | null;
|
|
92
|
+
urlLimit?: number | null;
|
|
93
|
+
}
|
|
94
|
+
export interface WebScannerRetrieveResponse {
|
|
95
|
+
id: string;
|
|
96
|
+
accountId: string;
|
|
97
|
+
rootDomain: string;
|
|
98
|
+
scanStatus: 'idle' | 'scanning';
|
|
99
|
+
status: 'Disabled' | 'Enabled';
|
|
100
|
+
createdAt?: string | null;
|
|
101
|
+
excludedPatterns?: Array<string> | null;
|
|
102
|
+
includedUrls?: Array<string> | null;
|
|
103
|
+
lastRunCookieCount?: number | null;
|
|
104
|
+
lastRunHighRiskRequestCount?: number | null;
|
|
105
|
+
lastRunRequestCount?: number | null;
|
|
106
|
+
lastRunSuccessUrlCount?: number | null;
|
|
107
|
+
lastScannedAt?: string | null;
|
|
108
|
+
lastScanStartedAt?: string | null;
|
|
109
|
+
name?: string | null;
|
|
110
|
+
updatedAt?: string | null;
|
|
111
|
+
urlLimit?: number | null;
|
|
112
|
+
}
|
|
113
|
+
export interface WebScannerUpdateResponse {
|
|
114
|
+
id: string;
|
|
115
|
+
accountId: string;
|
|
116
|
+
rootDomain: string;
|
|
117
|
+
scanStatus: 'idle' | 'scanning';
|
|
118
|
+
status: 'Disabled' | 'Enabled';
|
|
119
|
+
createdAt?: string | null;
|
|
120
|
+
excludedPatterns?: Array<string> | null;
|
|
121
|
+
includedUrls?: Array<string> | null;
|
|
122
|
+
lastRunCookieCount?: number | null;
|
|
123
|
+
lastRunHighRiskRequestCount?: number | null;
|
|
124
|
+
lastRunRequestCount?: number | null;
|
|
125
|
+
lastRunSuccessUrlCount?: number | null;
|
|
126
|
+
lastScannedAt?: string | null;
|
|
127
|
+
lastScanStartedAt?: string | null;
|
|
128
|
+
name?: string | null;
|
|
129
|
+
updatedAt?: string | null;
|
|
130
|
+
urlLimit?: number | null;
|
|
131
|
+
}
|
|
132
|
+
export interface WebScannerDeleteResponse {
|
|
133
|
+
/**
|
|
134
|
+
* The id of the web scanner that was deleted.
|
|
135
|
+
*/
|
|
136
|
+
id: string;
|
|
137
|
+
/**
|
|
138
|
+
* True when the underlying mutation succeeded; the scanner and its rules are gone.
|
|
139
|
+
*/
|
|
140
|
+
deleted: boolean;
|
|
141
|
+
}
|
|
142
|
+
export interface WebScannerTriggerResponse {
|
|
143
|
+
id: string;
|
|
144
|
+
accountId: string;
|
|
145
|
+
rootDomain: string;
|
|
146
|
+
scanStatus: 'idle' | 'scanning';
|
|
147
|
+
status: 'Disabled' | 'Enabled';
|
|
148
|
+
createdAt?: string | null;
|
|
149
|
+
excludedPatterns?: Array<string> | null;
|
|
150
|
+
includedUrls?: Array<string> | null;
|
|
151
|
+
lastRunCookieCount?: number | null;
|
|
152
|
+
lastRunHighRiskRequestCount?: number | null;
|
|
153
|
+
lastRunRequestCount?: number | null;
|
|
154
|
+
lastRunSuccessUrlCount?: number | null;
|
|
155
|
+
lastScannedAt?: string | null;
|
|
156
|
+
lastScanStartedAt?: string | null;
|
|
157
|
+
name?: string | null;
|
|
158
|
+
updatedAt?: string | null;
|
|
159
|
+
urlLimit?: number | null;
|
|
160
|
+
}
|
|
161
|
+
export interface WebScannerCreateParams {
|
|
162
|
+
/**
|
|
163
|
+
* Root domain to crawl (e.g. `example.com`). Required on create. Missing or empty
|
|
164
|
+
* values fail request validation as HTTP 400. Present-but-malformed values are
|
|
165
|
+
* rejected as HTTP 400 with the validation reason in `details`.
|
|
166
|
+
*/
|
|
167
|
+
rootDomain: string;
|
|
168
|
+
/**
|
|
169
|
+
* URL glob patterns to skip during crawl. Max 100 entries.
|
|
170
|
+
*/
|
|
171
|
+
excludedPatterns?: Array<string> | null;
|
|
172
|
+
/**
|
|
173
|
+
* Additional seed URLs to include as crawl entry points. Each must be an http(s)
|
|
174
|
+
* URL. Max 100 entries.
|
|
175
|
+
*/
|
|
176
|
+
includedUrls?: Array<string> | null;
|
|
177
|
+
name?: string | null;
|
|
178
|
+
status?: 'Disabled' | 'Enabled';
|
|
179
|
+
/**
|
|
180
|
+
* Maximum URLs to crawl per scan (1–20,000). Defaults to 100 when omitted.
|
|
181
|
+
*/
|
|
182
|
+
urlLimit?: number | null;
|
|
183
|
+
}
|
|
184
|
+
export interface WebScannerUpdateParams {
|
|
185
|
+
excludedPatterns?: Array<string> | null;
|
|
186
|
+
includedUrls?: Array<string> | null;
|
|
187
|
+
name?: string | null;
|
|
188
|
+
/**
|
|
189
|
+
* Replace the scanner root domain. When provided, malformed values are rejected as
|
|
190
|
+
* HTTP 400 with the validation reason in `details`.
|
|
191
|
+
*/
|
|
192
|
+
rootDomain?: string | null;
|
|
193
|
+
status?: 'Disabled' | 'Enabled';
|
|
194
|
+
urlLimit?: number | null;
|
|
195
|
+
}
|
|
196
|
+
export declare namespace WebScanners {
|
|
197
|
+
export { type WebScannerListResponse as WebScannerListResponse, type WebScannerCreateResponse as WebScannerCreateResponse, type WebScannerRetrieveResponse as WebScannerRetrieveResponse, type WebScannerUpdateResponse as WebScannerUpdateResponse, type WebScannerDeleteResponse as WebScannerDeleteResponse, type WebScannerTriggerResponse as WebScannerTriggerResponse, type WebScannerCreateParams as WebScannerCreateParams, type WebScannerUpdateParams as WebScannerUpdateParams, };
|
|
198
|
+
}
|
|
199
|
+
//# sourceMappingURL=web-scanners.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-scanners.d.ts","sourceRoot":"","sources":["../src/resources/web-scanners.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlE;;;;;;;;OAQG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;IAIpG;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAItF;;;;;;;OAOG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,sBAAsB,EAC5B,OAAO,CAAC,EAAE,cA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H,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEpC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAEhC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,sBAAsB;IACrC,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAExC,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAEpC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE3B,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAEhC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.WebScanners = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const path_1 = require("../internal/utils/path.js");
|
|
7
|
+
class WebScanners extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* List every web scanner for this account. Not paginated — accounts have a small
|
|
10
|
+
* number of scanners in practice, so the response always fits in a single page.
|
|
11
|
+
* Requires scope: webScanner:list
|
|
12
|
+
*/
|
|
13
|
+
list(options) {
|
|
14
|
+
return this._client.get('/rest/v1/web-scanners', options);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Create a new web scanner for a root domain. A first scan is enqueued
|
|
18
|
+
* automatically after creation on a best-effort basis. `rootDomain` is required;
|
|
19
|
+
* missing, empty, or malformed values are rejected as HTTP 400. Everything else
|
|
20
|
+
* falls back to defaults (`status: Enabled`, `urlLimit: 100`, no excluded
|
|
21
|
+
* patterns, no extra seed URLs). The returned entity is the created scanner row
|
|
22
|
+
* and may not yet reflect async scan-state changes. Requires scope:
|
|
23
|
+
* webScanner:create
|
|
24
|
+
*/
|
|
25
|
+
create(body, options) {
|
|
26
|
+
return this._client.post('/rest/v1/web-scanners', { body, ...options });
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Find a single web scanner by ID. Requires scope: webScanner:find
|
|
30
|
+
*/
|
|
31
|
+
retrieve(id, options) {
|
|
32
|
+
return this._client.get((0, path_1.path) `/rest/v1/web-scanners/${id}`, options);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Partially update a web scanner. Only the fields you send are changed; omitted
|
|
36
|
+
* fields keep their current value. List-valued fields (`excludedPatterns`,
|
|
37
|
+
* `includedUrls`) are replaced wholesale when sent. If `rootDomain` is provided
|
|
38
|
+
* and malformed, the request is rejected as HTTP 400. Use
|
|
39
|
+
* `POST /rest/v1/web-scanners/{id}/trigger` to start a new scan after edits.
|
|
40
|
+
* Requires scope: webScanner:update
|
|
41
|
+
*/
|
|
42
|
+
update(id, body, options) {
|
|
43
|
+
return this._client.patch((0, path_1.path) `/rest/v1/web-scanners/${id}`, { body, ...options });
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Delete a web scanner. Associated suppression rules are deleted in the same
|
|
47
|
+
* operation. Requires scope: webScanner:delete
|
|
48
|
+
*/
|
|
49
|
+
delete(id, options) {
|
|
50
|
+
return this._client.delete((0, path_1.path) `/rest/v1/web-scanners/${id}`, options);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Manually kick off a new scan for this web scanner. The request body is empty (or
|
|
54
|
+
* `{}`). A successful response means the enqueue request was accepted; because the
|
|
55
|
+
* scan starts asynchronously, the returned entity may still reflect pre-trigger
|
|
56
|
+
* values for fields like `scanStatus` and `lastScanStartedAt`. The trigger is
|
|
57
|
+
* rate-limited: a 409 is returned if another scan is already in flight, the
|
|
58
|
+
* per-account cooldown has not elapsed, or the trigger backend rejects the
|
|
59
|
+
* request; the reason is in the response `error` field. Requires scope:
|
|
60
|
+
* webScanner:trigger
|
|
61
|
+
*/
|
|
62
|
+
trigger(id, options) {
|
|
63
|
+
return this._client.post((0, path_1.path) `/rest/v1/web-scanners/${id}/trigger`, options);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.WebScanners = WebScanners;
|
|
67
|
+
//# sourceMappingURL=web-scanners.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-scanners.js","sourceRoot":"","sources":["../src/resources/web-scanners.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,EAAU,EACV,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,yBAAyB,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF;AAnED,kCAmEC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { path } from "../internal/utils/path.mjs";
|
|
4
|
+
export class WebScanners extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List every web scanner for this account. Not paginated — accounts have a small
|
|
7
|
+
* number of scanners in practice, so the response always fits in a single page.
|
|
8
|
+
* Requires scope: webScanner:list
|
|
9
|
+
*/
|
|
10
|
+
list(options) {
|
|
11
|
+
return this._client.get('/rest/v1/web-scanners', options);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Create a new web scanner for a root domain. A first scan is enqueued
|
|
15
|
+
* automatically after creation on a best-effort basis. `rootDomain` is required;
|
|
16
|
+
* missing, empty, or malformed values are rejected as HTTP 400. Everything else
|
|
17
|
+
* falls back to defaults (`status: Enabled`, `urlLimit: 100`, no excluded
|
|
18
|
+
* patterns, no extra seed URLs). The returned entity is the created scanner row
|
|
19
|
+
* and may not yet reflect async scan-state changes. Requires scope:
|
|
20
|
+
* webScanner:create
|
|
21
|
+
*/
|
|
22
|
+
create(body, options) {
|
|
23
|
+
return this._client.post('/rest/v1/web-scanners', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Find a single web scanner by ID. Requires scope: webScanner:find
|
|
27
|
+
*/
|
|
28
|
+
retrieve(id, options) {
|
|
29
|
+
return this._client.get(path `/rest/v1/web-scanners/${id}`, options);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Partially update a web scanner. Only the fields you send are changed; omitted
|
|
33
|
+
* fields keep their current value. List-valued fields (`excludedPatterns`,
|
|
34
|
+
* `includedUrls`) are replaced wholesale when sent. If `rootDomain` is provided
|
|
35
|
+
* and malformed, the request is rejected as HTTP 400. Use
|
|
36
|
+
* `POST /rest/v1/web-scanners/{id}/trigger` to start a new scan after edits.
|
|
37
|
+
* Requires scope: webScanner:update
|
|
38
|
+
*/
|
|
39
|
+
update(id, body, options) {
|
|
40
|
+
return this._client.patch(path `/rest/v1/web-scanners/${id}`, { body, ...options });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Delete a web scanner. Associated suppression rules are deleted in the same
|
|
44
|
+
* operation. Requires scope: webScanner:delete
|
|
45
|
+
*/
|
|
46
|
+
delete(id, options) {
|
|
47
|
+
return this._client.delete(path `/rest/v1/web-scanners/${id}`, options);
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Manually kick off a new scan for this web scanner. The request body is empty (or
|
|
51
|
+
* `{}`). A successful response means the enqueue request was accepted; because the
|
|
52
|
+
* scan starts asynchronously, the returned entity may still reflect pre-trigger
|
|
53
|
+
* values for fields like `scanStatus` and `lastScanStartedAt`. The trigger is
|
|
54
|
+
* rate-limited: a 409 is returned if another scan is already in flight, the
|
|
55
|
+
* per-account cooldown has not elapsed, or the trigger backend rejects the
|
|
56
|
+
* request; the reason is in the response `error` field. Requires scope:
|
|
57
|
+
* webScanner:trigger
|
|
58
|
+
*/
|
|
59
|
+
trigger(id, options) {
|
|
60
|
+
return this._client.post(path `/rest/v1/web-scanners/${id}/trigger`, options);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=web-scanners.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web-scanners.mjs","sourceRoot":"","sources":["../src/resources/web-scanners.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CACJ,EAAU,EACV,IAA4B,EAC5B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrF,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,yBAAyB,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF"}
|
package/src/client.ts
CHANGED
|
@@ -38,11 +38,18 @@ import {
|
|
|
38
38
|
ConsentSettingUpdateResponse,
|
|
39
39
|
ConsentSettings,
|
|
40
40
|
} from './resources/consent-settings';
|
|
41
|
+
import {
|
|
42
|
+
DestinationTypeListResponse,
|
|
43
|
+
DestinationTypeRetrieveResponse,
|
|
44
|
+
DestinationTypes,
|
|
45
|
+
} from './resources/destination-types';
|
|
41
46
|
import {
|
|
42
47
|
DestinationCreateParams,
|
|
43
48
|
DestinationCreateResponse,
|
|
44
49
|
DestinationDeleteResponse,
|
|
50
|
+
DestinationListParams,
|
|
45
51
|
DestinationListResponse,
|
|
52
|
+
DestinationListResponsesCursor,
|
|
46
53
|
DestinationRetrieveResponse,
|
|
47
54
|
DestinationUpdateParams,
|
|
48
55
|
DestinationUpdateResponse,
|
|
@@ -116,6 +123,16 @@ import {
|
|
|
116
123
|
HeatmapPageSummaryResponse,
|
|
117
124
|
HeatmapPages,
|
|
118
125
|
} from './resources/heatmap-pages';
|
|
126
|
+
import {
|
|
127
|
+
LocationCreateParams,
|
|
128
|
+
LocationCreateResponse,
|
|
129
|
+
LocationEmbedCodeParams,
|
|
130
|
+
LocationEmbedCodeResponse,
|
|
131
|
+
LocationListResponse,
|
|
132
|
+
LocationUpdateParams,
|
|
133
|
+
LocationUpdateResponse,
|
|
134
|
+
Locations,
|
|
135
|
+
} from './resources/locations';
|
|
119
136
|
import {
|
|
120
137
|
MappingCreateParams,
|
|
121
138
|
MappingCreateResponse,
|
|
@@ -166,6 +183,28 @@ import {
|
|
|
166
183
|
VersionUpdateResponse,
|
|
167
184
|
Versions,
|
|
168
185
|
} from './resources/versions';
|
|
186
|
+
import {
|
|
187
|
+
WebScannerRuleCreateParams,
|
|
188
|
+
WebScannerRuleCreateResponse,
|
|
189
|
+
WebScannerRuleDeleteResponse,
|
|
190
|
+
WebScannerRuleListParams,
|
|
191
|
+
WebScannerRuleListResponse,
|
|
192
|
+
WebScannerRuleRetrieveResponse,
|
|
193
|
+
WebScannerRuleUpdateParams,
|
|
194
|
+
WebScannerRuleUpdateResponse,
|
|
195
|
+
WebScannerRules,
|
|
196
|
+
} from './resources/web-scanner-rules';
|
|
197
|
+
import {
|
|
198
|
+
WebScannerCreateParams,
|
|
199
|
+
WebScannerCreateResponse,
|
|
200
|
+
WebScannerDeleteResponse,
|
|
201
|
+
WebScannerListResponse,
|
|
202
|
+
WebScannerRetrieveResponse,
|
|
203
|
+
WebScannerTriggerResponse,
|
|
204
|
+
WebScannerUpdateParams,
|
|
205
|
+
WebScannerUpdateResponse,
|
|
206
|
+
WebScanners,
|
|
207
|
+
} from './resources/web-scanners';
|
|
169
208
|
import { type Fetch } from './internal/builtin-types';
|
|
170
209
|
import { HeadersLike, NullableHeaders, buildHeaders } from './internal/headers';
|
|
171
210
|
import { FinalRequestOptions, RequestOptions } from './internal/request-options';
|
|
@@ -904,30 +943,38 @@ export class OursPrivacyPlatform {
|
|
|
904
943
|
|
|
905
944
|
allowedEvents: API.AllowedEvents = new API.AllowedEvents(this);
|
|
906
945
|
consentSettings: API.ConsentSettings = new API.ConsentSettings(this);
|
|
946
|
+
destinationTypes: API.DestinationTypes = new API.DestinationTypes(this);
|
|
907
947
|
destinations: API.Destinations = new API.Destinations(this);
|
|
908
948
|
experimentSettings: API.ExperimentSettings = new API.ExperimentSettings(this);
|
|
909
949
|
experimentVariants: API.ExperimentVariants = new API.ExperimentVariants(this);
|
|
910
950
|
experiments: API.Experiments = new API.Experiments(this);
|
|
911
951
|
globalDispatchCenters: API.GlobalDispatchCenters = new API.GlobalDispatchCenters(this);
|
|
912
952
|
heatmapPages: API.HeatmapPages = new API.HeatmapPages(this);
|
|
953
|
+
locations: API.Locations = new API.Locations(this);
|
|
913
954
|
mappings: API.Mappings = new API.Mappings(this);
|
|
914
955
|
replaySettings: API.ReplaySettings = new API.ReplaySettings(this);
|
|
915
956
|
sources: API.Sources = new API.Sources(this);
|
|
916
957
|
versions: API.Versions = new API.Versions(this);
|
|
958
|
+
webScannerRules: API.WebScannerRules = new API.WebScannerRules(this);
|
|
959
|
+
webScanners: API.WebScanners = new API.WebScanners(this);
|
|
917
960
|
}
|
|
918
961
|
|
|
919
962
|
OursPrivacyPlatform.AllowedEvents = AllowedEvents;
|
|
920
963
|
OursPrivacyPlatform.ConsentSettings = ConsentSettings;
|
|
964
|
+
OursPrivacyPlatform.DestinationTypes = DestinationTypes;
|
|
921
965
|
OursPrivacyPlatform.Destinations = Destinations;
|
|
922
966
|
OursPrivacyPlatform.ExperimentSettings = ExperimentSettings;
|
|
923
967
|
OursPrivacyPlatform.ExperimentVariants = ExperimentVariants;
|
|
924
968
|
OursPrivacyPlatform.Experiments = Experiments;
|
|
925
969
|
OursPrivacyPlatform.GlobalDispatchCenters = GlobalDispatchCenters;
|
|
926
970
|
OursPrivacyPlatform.HeatmapPages = HeatmapPages;
|
|
971
|
+
OursPrivacyPlatform.Locations = Locations;
|
|
927
972
|
OursPrivacyPlatform.Mappings = Mappings;
|
|
928
973
|
OursPrivacyPlatform.ReplaySettings = ReplaySettings;
|
|
929
974
|
OursPrivacyPlatform.Sources = Sources;
|
|
930
975
|
OursPrivacyPlatform.Versions = Versions;
|
|
976
|
+
OursPrivacyPlatform.WebScannerRules = WebScannerRules;
|
|
977
|
+
OursPrivacyPlatform.WebScanners = WebScanners;
|
|
931
978
|
|
|
932
979
|
export declare namespace OursPrivacyPlatform {
|
|
933
980
|
export type RequestOptions = Opts.RequestOptions;
|
|
@@ -956,6 +1003,12 @@ export declare namespace OursPrivacyPlatform {
|
|
|
956
1003
|
type ConsentSettingUpdateParams as ConsentSettingUpdateParams,
|
|
957
1004
|
};
|
|
958
1005
|
|
|
1006
|
+
export {
|
|
1007
|
+
DestinationTypes as DestinationTypes,
|
|
1008
|
+
type DestinationTypeListResponse as DestinationTypeListResponse,
|
|
1009
|
+
type DestinationTypeRetrieveResponse as DestinationTypeRetrieveResponse,
|
|
1010
|
+
};
|
|
1011
|
+
|
|
959
1012
|
export {
|
|
960
1013
|
Destinations as Destinations,
|
|
961
1014
|
type DestinationListResponse as DestinationListResponse,
|
|
@@ -963,6 +1016,8 @@ export declare namespace OursPrivacyPlatform {
|
|
|
963
1016
|
type DestinationRetrieveResponse as DestinationRetrieveResponse,
|
|
964
1017
|
type DestinationUpdateResponse as DestinationUpdateResponse,
|
|
965
1018
|
type DestinationDeleteResponse as DestinationDeleteResponse,
|
|
1019
|
+
type DestinationListResponsesCursor as DestinationListResponsesCursor,
|
|
1020
|
+
type DestinationListParams as DestinationListParams,
|
|
966
1021
|
type DestinationCreateParams as DestinationCreateParams,
|
|
967
1022
|
type DestinationUpdateParams as DestinationUpdateParams,
|
|
968
1023
|
};
|
|
@@ -1040,6 +1095,17 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1040
1095
|
type HeatmapPageSummaryParams as HeatmapPageSummaryParams,
|
|
1041
1096
|
};
|
|
1042
1097
|
|
|
1098
|
+
export {
|
|
1099
|
+
Locations as Locations,
|
|
1100
|
+
type LocationListResponse as LocationListResponse,
|
|
1101
|
+
type LocationCreateResponse as LocationCreateResponse,
|
|
1102
|
+
type LocationUpdateResponse as LocationUpdateResponse,
|
|
1103
|
+
type LocationEmbedCodeResponse as LocationEmbedCodeResponse,
|
|
1104
|
+
type LocationCreateParams as LocationCreateParams,
|
|
1105
|
+
type LocationUpdateParams as LocationUpdateParams,
|
|
1106
|
+
type LocationEmbedCodeParams as LocationEmbedCodeParams,
|
|
1107
|
+
};
|
|
1108
|
+
|
|
1043
1109
|
export {
|
|
1044
1110
|
Mappings as Mappings,
|
|
1045
1111
|
type MappingListResponse as MappingListResponse,
|
|
@@ -1093,4 +1159,28 @@ export declare namespace OursPrivacyPlatform {
|
|
|
1093
1159
|
type VersionUpdateParams as VersionUpdateParams,
|
|
1094
1160
|
type VersionDiffParams as VersionDiffParams,
|
|
1095
1161
|
};
|
|
1162
|
+
|
|
1163
|
+
export {
|
|
1164
|
+
WebScannerRules as WebScannerRules,
|
|
1165
|
+
type WebScannerRuleListResponse as WebScannerRuleListResponse,
|
|
1166
|
+
type WebScannerRuleCreateResponse as WebScannerRuleCreateResponse,
|
|
1167
|
+
type WebScannerRuleRetrieveResponse as WebScannerRuleRetrieveResponse,
|
|
1168
|
+
type WebScannerRuleUpdateResponse as WebScannerRuleUpdateResponse,
|
|
1169
|
+
type WebScannerRuleDeleteResponse as WebScannerRuleDeleteResponse,
|
|
1170
|
+
type WebScannerRuleListParams as WebScannerRuleListParams,
|
|
1171
|
+
type WebScannerRuleCreateParams as WebScannerRuleCreateParams,
|
|
1172
|
+
type WebScannerRuleUpdateParams as WebScannerRuleUpdateParams,
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
export {
|
|
1176
|
+
WebScanners as WebScanners,
|
|
1177
|
+
type WebScannerListResponse as WebScannerListResponse,
|
|
1178
|
+
type WebScannerCreateResponse as WebScannerCreateResponse,
|
|
1179
|
+
type WebScannerRetrieveResponse as WebScannerRetrieveResponse,
|
|
1180
|
+
type WebScannerUpdateResponse as WebScannerUpdateResponse,
|
|
1181
|
+
type WebScannerDeleteResponse as WebScannerDeleteResponse,
|
|
1182
|
+
type WebScannerTriggerResponse as WebScannerTriggerResponse,
|
|
1183
|
+
type WebScannerCreateParams as WebScannerCreateParams,
|
|
1184
|
+
type WebScannerUpdateParams as WebScannerUpdateParams,
|
|
1185
|
+
};
|
|
1096
1186
|
}
|