@oursprivacy/platform-sdk 1.11.0 → 1.12.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 +8 -0
- package/package.json +1 -1
- package/resources/replay-settings.d.mts +106 -7
- package/resources/replay-settings.d.mts.map +1 -1
- package/resources/replay-settings.d.ts +106 -7
- package/resources/replay-settings.d.ts.map +1 -1
- package/resources/replay-settings.js +14 -5
- package/resources/replay-settings.js.map +1 -1
- package/resources/replay-settings.mjs +14 -5
- package/resources/replay-settings.mjs.map +1 -1
- package/src/resources/replay-settings.ts +106 -7
- 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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.12.0 (2026-05-01)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.11.0...v1.12.0](https://github.com/with-ours/platform-sdk-nodejs/compare/v1.11.0...v1.12.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([3a1478e](https://github.com/with-ours/platform-sdk-nodejs/commit/3a1478eebf7ae6c50c3219656a7eab7989b3fa12))
|
|
10
|
+
|
|
3
11
|
## 1.11.0 (2026-05-01)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.10.0...v1.11.0](https://github.com/with-ours/platform-sdk-nodejs/compare/v1.10.0...v1.11.0)
|
package/package.json
CHANGED
|
@@ -3,23 +3,32 @@ import { APIPromise } from "../core/api-promise.mjs";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
4
4
|
export declare class ReplaySettings extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* Create
|
|
6
|
+
* Create the replay configuration for this account. Each account is limited to one
|
|
7
|
+
* replay configuration — calls made when one already exists return HTTP 409 with
|
|
8
|
+
* the reason in the response `error` field. Requires scope: replaySettings:create
|
|
7
9
|
*/
|
|
8
10
|
create(body: ReplaySettingCreateParams, options?: RequestOptions): APIPromise<ReplaySettingCreateResponse>;
|
|
9
11
|
/**
|
|
10
|
-
*
|
|
12
|
+
* Fetch a single replay configuration by ID, including its whitelisted domains and
|
|
13
|
+
* custom domain. Requires scope: replaySettings:find
|
|
11
14
|
*/
|
|
12
15
|
retrieve(id: string, options?: RequestOptions): APIPromise<ReplaySettingRetrieveResponse | null>;
|
|
13
16
|
/**
|
|
14
|
-
* Update
|
|
17
|
+
* Update one or more fields on an existing replay configuration. Only the fields
|
|
18
|
+
* you send are changed; omitted fields keep their current value. Note that
|
|
19
|
+
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
20
|
+
* Requires scope: replaySettings:update
|
|
15
21
|
*/
|
|
16
22
|
update(id: string, body: ReplaySettingUpdateParams, options?: RequestOptions): APIPromise<ReplaySettingUpdateResponse>;
|
|
17
23
|
/**
|
|
18
|
-
* List
|
|
24
|
+
* List the replay configurations on this account. Replay settings control which
|
|
25
|
+
* domains may capture session replays and where the capture script is hosted.
|
|
26
|
+
* Requires scope: replaySettings:list
|
|
19
27
|
*/
|
|
20
28
|
list(options?: RequestOptions): APIPromise<ReplaySettingListResponse>;
|
|
21
29
|
/**
|
|
22
|
-
* Delete
|
|
30
|
+
* Delete the replay configuration. Capture stops immediately for all whitelisted
|
|
31
|
+
* domains. Requires scope: replaySettings:delete
|
|
23
32
|
*/
|
|
24
33
|
delete(id: string, options?: RequestOptions): APIPromise<ReplaySettingDeleteResponse>;
|
|
25
34
|
}
|
|
@@ -29,12 +38,39 @@ export interface ReplaySettingCreateResponse {
|
|
|
29
38
|
replaySettings?: unknown | null;
|
|
30
39
|
}
|
|
31
40
|
export interface ReplaySettingRetrieveResponse {
|
|
41
|
+
/**
|
|
42
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
43
|
+
*/
|
|
32
44
|
id: string;
|
|
45
|
+
/**
|
|
46
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
47
|
+
*/
|
|
33
48
|
createdAt: string;
|
|
49
|
+
/**
|
|
50
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
51
|
+
* be empty.
|
|
52
|
+
*/
|
|
34
53
|
name: string;
|
|
54
|
+
/**
|
|
55
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
56
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
57
|
+
* without losing the configuration.
|
|
58
|
+
*/
|
|
35
59
|
status: 'Disabled' | 'Enabled';
|
|
60
|
+
/**
|
|
61
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
62
|
+
* to use the default Ours Privacy domain.
|
|
63
|
+
*/
|
|
36
64
|
customDomain?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
67
|
+
*/
|
|
37
68
|
updatedAt?: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
71
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
72
|
+
* not merged.
|
|
73
|
+
*/
|
|
38
74
|
whitelistDomains?: Array<string> | null;
|
|
39
75
|
}
|
|
40
76
|
export interface ReplaySettingUpdateResponse {
|
|
@@ -47,12 +83,39 @@ export interface ReplaySettingListResponse {
|
|
|
47
83
|
}
|
|
48
84
|
export declare namespace ReplaySettingListResponse {
|
|
49
85
|
interface Entity {
|
|
86
|
+
/**
|
|
87
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
88
|
+
*/
|
|
50
89
|
id: string;
|
|
90
|
+
/**
|
|
91
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
92
|
+
*/
|
|
51
93
|
createdAt: string;
|
|
94
|
+
/**
|
|
95
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
96
|
+
* be empty.
|
|
97
|
+
*/
|
|
52
98
|
name: string;
|
|
99
|
+
/**
|
|
100
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
101
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
102
|
+
* without losing the configuration.
|
|
103
|
+
*/
|
|
53
104
|
status: 'Disabled' | 'Enabled';
|
|
105
|
+
/**
|
|
106
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
107
|
+
* to use the default Ours Privacy domain.
|
|
108
|
+
*/
|
|
54
109
|
customDomain?: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
112
|
+
*/
|
|
55
113
|
updatedAt?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
116
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
117
|
+
* not merged.
|
|
118
|
+
*/
|
|
56
119
|
whitelistDomains?: Array<string> | null;
|
|
57
120
|
}
|
|
58
121
|
}
|
|
@@ -62,15 +125,51 @@ export interface ReplaySettingDeleteResponse {
|
|
|
62
125
|
replaySettings?: unknown | null;
|
|
63
126
|
}
|
|
64
127
|
export interface ReplaySettingCreateParams {
|
|
128
|
+
/**
|
|
129
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
130
|
+
* to use the default Ours Privacy domain.
|
|
131
|
+
*/
|
|
65
132
|
customDomain?: string | null;
|
|
133
|
+
/**
|
|
134
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
135
|
+
* be empty.
|
|
136
|
+
*/
|
|
66
137
|
name?: string | null;
|
|
67
|
-
|
|
138
|
+
/**
|
|
139
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
140
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
141
|
+
* without losing the configuration.
|
|
142
|
+
*/
|
|
143
|
+
status?: 'Disabled' | 'Enabled' | null;
|
|
144
|
+
/**
|
|
145
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
146
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
147
|
+
* not merged.
|
|
148
|
+
*/
|
|
68
149
|
whitelistDomains?: Array<string> | null;
|
|
69
150
|
}
|
|
70
151
|
export interface ReplaySettingUpdateParams {
|
|
152
|
+
/**
|
|
153
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
154
|
+
* to use the default Ours Privacy domain.
|
|
155
|
+
*/
|
|
71
156
|
customDomain?: string | null;
|
|
157
|
+
/**
|
|
158
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
159
|
+
* be empty.
|
|
160
|
+
*/
|
|
72
161
|
name?: string | null;
|
|
73
|
-
|
|
162
|
+
/**
|
|
163
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
164
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
165
|
+
* without losing the configuration.
|
|
166
|
+
*/
|
|
167
|
+
status?: 'Disabled' | 'Enabled' | null;
|
|
168
|
+
/**
|
|
169
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
170
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
171
|
+
* not merged.
|
|
172
|
+
*/
|
|
74
173
|
whitelistDomains?: Array<string> | null;
|
|
75
174
|
}
|
|
76
175
|
export declare namespace ReplaySettings {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-settings.d.mts","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,cAAe,SAAQ,WAAW;IAC7C
|
|
1
|
+
{"version":3,"file":"replay-settings.d.mts","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,c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AC;IAE7B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;;;OAIG;IACH,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,IAAI,CAAC;IAEvC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;CACzC;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -3,23 +3,32 @@ import { APIPromise } from "../core/api-promise.js";
|
|
|
3
3
|
import { RequestOptions } from "../internal/request-options.js";
|
|
4
4
|
export declare class ReplaySettings extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* Create
|
|
6
|
+
* Create the replay configuration for this account. Each account is limited to one
|
|
7
|
+
* replay configuration — calls made when one already exists return HTTP 409 with
|
|
8
|
+
* the reason in the response `error` field. Requires scope: replaySettings:create
|
|
7
9
|
*/
|
|
8
10
|
create(body: ReplaySettingCreateParams, options?: RequestOptions): APIPromise<ReplaySettingCreateResponse>;
|
|
9
11
|
/**
|
|
10
|
-
*
|
|
12
|
+
* Fetch a single replay configuration by ID, including its whitelisted domains and
|
|
13
|
+
* custom domain. Requires scope: replaySettings:find
|
|
11
14
|
*/
|
|
12
15
|
retrieve(id: string, options?: RequestOptions): APIPromise<ReplaySettingRetrieveResponse | null>;
|
|
13
16
|
/**
|
|
14
|
-
* Update
|
|
17
|
+
* Update one or more fields on an existing replay configuration. Only the fields
|
|
18
|
+
* you send are changed; omitted fields keep their current value. Note that
|
|
19
|
+
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
20
|
+
* Requires scope: replaySettings:update
|
|
15
21
|
*/
|
|
16
22
|
update(id: string, body: ReplaySettingUpdateParams, options?: RequestOptions): APIPromise<ReplaySettingUpdateResponse>;
|
|
17
23
|
/**
|
|
18
|
-
* List
|
|
24
|
+
* List the replay configurations on this account. Replay settings control which
|
|
25
|
+
* domains may capture session replays and where the capture script is hosted.
|
|
26
|
+
* Requires scope: replaySettings:list
|
|
19
27
|
*/
|
|
20
28
|
list(options?: RequestOptions): APIPromise<ReplaySettingListResponse>;
|
|
21
29
|
/**
|
|
22
|
-
* Delete
|
|
30
|
+
* Delete the replay configuration. Capture stops immediately for all whitelisted
|
|
31
|
+
* domains. Requires scope: replaySettings:delete
|
|
23
32
|
*/
|
|
24
33
|
delete(id: string, options?: RequestOptions): APIPromise<ReplaySettingDeleteResponse>;
|
|
25
34
|
}
|
|
@@ -29,12 +38,39 @@ export interface ReplaySettingCreateResponse {
|
|
|
29
38
|
replaySettings?: unknown | null;
|
|
30
39
|
}
|
|
31
40
|
export interface ReplaySettingRetrieveResponse {
|
|
41
|
+
/**
|
|
42
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
43
|
+
*/
|
|
32
44
|
id: string;
|
|
45
|
+
/**
|
|
46
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
47
|
+
*/
|
|
33
48
|
createdAt: string;
|
|
49
|
+
/**
|
|
50
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
51
|
+
* be empty.
|
|
52
|
+
*/
|
|
34
53
|
name: string;
|
|
54
|
+
/**
|
|
55
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
56
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
57
|
+
* without losing the configuration.
|
|
58
|
+
*/
|
|
35
59
|
status: 'Disabled' | 'Enabled';
|
|
60
|
+
/**
|
|
61
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
62
|
+
* to use the default Ours Privacy domain.
|
|
63
|
+
*/
|
|
36
64
|
customDomain?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
67
|
+
*/
|
|
37
68
|
updatedAt?: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
71
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
72
|
+
* not merged.
|
|
73
|
+
*/
|
|
38
74
|
whitelistDomains?: Array<string> | null;
|
|
39
75
|
}
|
|
40
76
|
export interface ReplaySettingUpdateResponse {
|
|
@@ -47,12 +83,39 @@ export interface ReplaySettingListResponse {
|
|
|
47
83
|
}
|
|
48
84
|
export declare namespace ReplaySettingListResponse {
|
|
49
85
|
interface Entity {
|
|
86
|
+
/**
|
|
87
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
88
|
+
*/
|
|
50
89
|
id: string;
|
|
90
|
+
/**
|
|
91
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
92
|
+
*/
|
|
51
93
|
createdAt: string;
|
|
94
|
+
/**
|
|
95
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
96
|
+
* be empty.
|
|
97
|
+
*/
|
|
52
98
|
name: string;
|
|
99
|
+
/**
|
|
100
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
101
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
102
|
+
* without losing the configuration.
|
|
103
|
+
*/
|
|
53
104
|
status: 'Disabled' | 'Enabled';
|
|
105
|
+
/**
|
|
106
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
107
|
+
* to use the default Ours Privacy domain.
|
|
108
|
+
*/
|
|
54
109
|
customDomain?: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
112
|
+
*/
|
|
55
113
|
updatedAt?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
116
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
117
|
+
* not merged.
|
|
118
|
+
*/
|
|
56
119
|
whitelistDomains?: Array<string> | null;
|
|
57
120
|
}
|
|
58
121
|
}
|
|
@@ -62,15 +125,51 @@ export interface ReplaySettingDeleteResponse {
|
|
|
62
125
|
replaySettings?: unknown | null;
|
|
63
126
|
}
|
|
64
127
|
export interface ReplaySettingCreateParams {
|
|
128
|
+
/**
|
|
129
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
130
|
+
* to use the default Ours Privacy domain.
|
|
131
|
+
*/
|
|
65
132
|
customDomain?: string | null;
|
|
133
|
+
/**
|
|
134
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
135
|
+
* be empty.
|
|
136
|
+
*/
|
|
66
137
|
name?: string | null;
|
|
67
|
-
|
|
138
|
+
/**
|
|
139
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
140
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
141
|
+
* without losing the configuration.
|
|
142
|
+
*/
|
|
143
|
+
status?: 'Disabled' | 'Enabled' | null;
|
|
144
|
+
/**
|
|
145
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
146
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
147
|
+
* not merged.
|
|
148
|
+
*/
|
|
68
149
|
whitelistDomains?: Array<string> | null;
|
|
69
150
|
}
|
|
70
151
|
export interface ReplaySettingUpdateParams {
|
|
152
|
+
/**
|
|
153
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
154
|
+
* to use the default Ours Privacy domain.
|
|
155
|
+
*/
|
|
71
156
|
customDomain?: string | null;
|
|
157
|
+
/**
|
|
158
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
159
|
+
* be empty.
|
|
160
|
+
*/
|
|
72
161
|
name?: string | null;
|
|
73
|
-
|
|
162
|
+
/**
|
|
163
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
164
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
165
|
+
* without losing the configuration.
|
|
166
|
+
*/
|
|
167
|
+
status?: 'Disabled' | 'Enabled' | null;
|
|
168
|
+
/**
|
|
169
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
170
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
171
|
+
* not merged.
|
|
172
|
+
*/
|
|
74
173
|
whitelistDomains?: Array<string> | null;
|
|
75
174
|
}
|
|
76
175
|
export declare namespace ReplaySettings {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-settings.d.ts","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,cAAe,SAAQ,WAAW;IAC7C
|
|
1
|
+
{"version":3,"file":"replay-settings.d.ts","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,yBAAyB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,2BAA2B,CAAC;IAI1G;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,GAAG,IAAI,CAAC;IAIhG;;;;;OAKG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,yBAAyB,EAC/B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;IAI1C;;;;OAIG;IACH,IAAI,CAAC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K,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -6,31 +6,40 @@ const resource_1 = require("../core/resource.js");
|
|
|
6
6
|
const path_1 = require("../internal/utils/path.js");
|
|
7
7
|
class ReplaySettings extends resource_1.APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Create
|
|
9
|
+
* Create the replay configuration for this account. Each account is limited to one
|
|
10
|
+
* replay configuration — calls made when one already exists return HTTP 409 with
|
|
11
|
+
* the reason in the response `error` field. Requires scope: replaySettings:create
|
|
10
12
|
*/
|
|
11
13
|
create(body, options) {
|
|
12
14
|
return this._client.post('/rest/v1/replay-settings', { body, ...options });
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
|
-
*
|
|
17
|
+
* Fetch a single replay configuration by ID, including its whitelisted domains and
|
|
18
|
+
* custom domain. Requires scope: replaySettings:find
|
|
16
19
|
*/
|
|
17
20
|
retrieve(id, options) {
|
|
18
21
|
return this._client.get((0, path_1.path) `/rest/v1/replay-settings/${id}`, options);
|
|
19
22
|
}
|
|
20
23
|
/**
|
|
21
|
-
* Update
|
|
24
|
+
* Update one or more fields on an existing replay configuration. Only the fields
|
|
25
|
+
* you send are changed; omitted fields keep their current value. Note that
|
|
26
|
+
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
27
|
+
* Requires scope: replaySettings:update
|
|
22
28
|
*/
|
|
23
29
|
update(id, body, options) {
|
|
24
30
|
return this._client.patch((0, path_1.path) `/rest/v1/replay-settings/${id}`, { body, ...options });
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
|
-
* List
|
|
33
|
+
* List the replay configurations on this account. Replay settings control which
|
|
34
|
+
* domains may capture session replays and where the capture script is hosted.
|
|
35
|
+
* Requires scope: replaySettings:list
|
|
28
36
|
*/
|
|
29
37
|
list(options) {
|
|
30
38
|
return this._client.get('/rest/v1/replay-settings', options);
|
|
31
39
|
}
|
|
32
40
|
/**
|
|
33
|
-
* Delete
|
|
41
|
+
* Delete the replay configuration. Capture stops immediately for all whitelisted
|
|
42
|
+
* domains. Requires scope: replaySettings:delete
|
|
34
43
|
*/
|
|
35
44
|
delete(id, options) {
|
|
36
45
|
return this._client.delete((0, path_1.path) `/rest/v1/replay-settings/${id}`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-settings.js","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,cAAe,SAAQ,sBAAW;IAC7C
|
|
1
|
+
{"version":3,"file":"replay-settings.js","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,cAAe,SAAQ,sBAAW;IAC7C;;;;OAIG;IACH,MAAM,CAAC,IAA+B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;OAKG;IACH,MAAM,CACJ,EAAU,EACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF;AAhDD,wCAgDC"}
|
|
@@ -3,31 +3,40 @@ import { APIResource } from "../core/resource.mjs";
|
|
|
3
3
|
import { path } from "../internal/utils/path.mjs";
|
|
4
4
|
export class ReplaySettings extends APIResource {
|
|
5
5
|
/**
|
|
6
|
-
* Create
|
|
6
|
+
* Create the replay configuration for this account. Each account is limited to one
|
|
7
|
+
* replay configuration — calls made when one already exists return HTTP 409 with
|
|
8
|
+
* the reason in the response `error` field. Requires scope: replaySettings:create
|
|
7
9
|
*/
|
|
8
10
|
create(body, options) {
|
|
9
11
|
return this._client.post('/rest/v1/replay-settings', { body, ...options });
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
12
|
-
*
|
|
14
|
+
* Fetch a single replay configuration by ID, including its whitelisted domains and
|
|
15
|
+
* custom domain. Requires scope: replaySettings:find
|
|
13
16
|
*/
|
|
14
17
|
retrieve(id, options) {
|
|
15
18
|
return this._client.get(path `/rest/v1/replay-settings/${id}`, options);
|
|
16
19
|
}
|
|
17
20
|
/**
|
|
18
|
-
* Update
|
|
21
|
+
* Update one or more fields on an existing replay configuration. Only the fields
|
|
22
|
+
* you send are changed; omitted fields keep their current value. Note that
|
|
23
|
+
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
24
|
+
* Requires scope: replaySettings:update
|
|
19
25
|
*/
|
|
20
26
|
update(id, body, options) {
|
|
21
27
|
return this._client.patch(path `/rest/v1/replay-settings/${id}`, { body, ...options });
|
|
22
28
|
}
|
|
23
29
|
/**
|
|
24
|
-
* List
|
|
30
|
+
* List the replay configurations on this account. Replay settings control which
|
|
31
|
+
* domains may capture session replays and where the capture script is hosted.
|
|
32
|
+
* Requires scope: replaySettings:list
|
|
25
33
|
*/
|
|
26
34
|
list(options) {
|
|
27
35
|
return this._client.get('/rest/v1/replay-settings', options);
|
|
28
36
|
}
|
|
29
37
|
/**
|
|
30
|
-
* Delete
|
|
38
|
+
* Delete the replay configuration. Capture stops immediately for all whitelisted
|
|
39
|
+
* domains. Requires scope: replaySettings:delete
|
|
31
40
|
*/
|
|
32
41
|
delete(id, options) {
|
|
33
42
|
return this._client.delete(path `/rest/v1/replay-settings/${id}`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay-settings.mjs","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C
|
|
1
|
+
{"version":3,"file":"replay-settings.mjs","sourceRoot":"","sources":["../src/resources/replay-settings.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,cAAe,SAAQ,WAAW;IAC7C;;;;OAIG;IACH,MAAM,CAAC,IAA+B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0BAA0B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED;;;OAGG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAED;;;;;OAKG;IACH,MAAM,CACJ,EAAU,EACV,IAA+B,EAC/B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,4BAA4B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;CACF"}
|
|
@@ -7,21 +7,27 @@ import { path } from '../internal/utils/path';
|
|
|
7
7
|
|
|
8
8
|
export class ReplaySettings extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* Create
|
|
10
|
+
* Create the replay configuration for this account. Each account is limited to one
|
|
11
|
+
* replay configuration — calls made when one already exists return HTTP 409 with
|
|
12
|
+
* the reason in the response `error` field. Requires scope: replaySettings:create
|
|
11
13
|
*/
|
|
12
14
|
create(body: ReplaySettingCreateParams, options?: RequestOptions): APIPromise<ReplaySettingCreateResponse> {
|
|
13
15
|
return this._client.post('/rest/v1/replay-settings', { body, ...options });
|
|
14
16
|
}
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
|
-
*
|
|
19
|
+
* Fetch a single replay configuration by ID, including its whitelisted domains and
|
|
20
|
+
* custom domain. Requires scope: replaySettings:find
|
|
18
21
|
*/
|
|
19
22
|
retrieve(id: string, options?: RequestOptions): APIPromise<ReplaySettingRetrieveResponse | null> {
|
|
20
23
|
return this._client.get(path`/rest/v1/replay-settings/${id}`, options);
|
|
21
24
|
}
|
|
22
25
|
|
|
23
26
|
/**
|
|
24
|
-
* Update
|
|
27
|
+
* Update one or more fields on an existing replay configuration. Only the fields
|
|
28
|
+
* you send are changed; omitted fields keep their current value. Note that
|
|
29
|
+
* `whitelistDomains` is replaced wholesale (not merged with the existing list).
|
|
30
|
+
* Requires scope: replaySettings:update
|
|
25
31
|
*/
|
|
26
32
|
update(
|
|
27
33
|
id: string,
|
|
@@ -32,14 +38,17 @@ export class ReplaySettings extends APIResource {
|
|
|
32
38
|
}
|
|
33
39
|
|
|
34
40
|
/**
|
|
35
|
-
* List
|
|
41
|
+
* List the replay configurations on this account. Replay settings control which
|
|
42
|
+
* domains may capture session replays and where the capture script is hosted.
|
|
43
|
+
* Requires scope: replaySettings:list
|
|
36
44
|
*/
|
|
37
45
|
list(options?: RequestOptions): APIPromise<ReplaySettingListResponse> {
|
|
38
46
|
return this._client.get('/rest/v1/replay-settings', options);
|
|
39
47
|
}
|
|
40
48
|
|
|
41
49
|
/**
|
|
42
|
-
* Delete
|
|
50
|
+
* Delete the replay configuration. Capture stops immediately for all whitelisted
|
|
51
|
+
* domains. Requires scope: replaySettings:delete
|
|
43
52
|
*/
|
|
44
53
|
delete(id: string, options?: RequestOptions): APIPromise<ReplaySettingDeleteResponse> {
|
|
45
54
|
return this._client.delete(path`/rest/v1/replay-settings/${id}`, options);
|
|
@@ -55,18 +64,45 @@ export interface ReplaySettingCreateResponse {
|
|
|
55
64
|
}
|
|
56
65
|
|
|
57
66
|
export interface ReplaySettingRetrieveResponse {
|
|
67
|
+
/**
|
|
68
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
69
|
+
*/
|
|
58
70
|
id: string;
|
|
59
71
|
|
|
72
|
+
/**
|
|
73
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
74
|
+
*/
|
|
60
75
|
createdAt: string;
|
|
61
76
|
|
|
77
|
+
/**
|
|
78
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
79
|
+
* be empty.
|
|
80
|
+
*/
|
|
62
81
|
name: string;
|
|
63
82
|
|
|
83
|
+
/**
|
|
84
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
85
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
86
|
+
* without losing the configuration.
|
|
87
|
+
*/
|
|
64
88
|
status: 'Disabled' | 'Enabled';
|
|
65
89
|
|
|
90
|
+
/**
|
|
91
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
92
|
+
* to use the default Ours Privacy domain.
|
|
93
|
+
*/
|
|
66
94
|
customDomain?: string | null;
|
|
67
95
|
|
|
96
|
+
/**
|
|
97
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
98
|
+
*/
|
|
68
99
|
updatedAt?: string | null;
|
|
69
100
|
|
|
101
|
+
/**
|
|
102
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
103
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
104
|
+
* not merged.
|
|
105
|
+
*/
|
|
70
106
|
whitelistDomains?: Array<string> | null;
|
|
71
107
|
}
|
|
72
108
|
|
|
@@ -84,18 +120,45 @@ export interface ReplaySettingListResponse {
|
|
|
84
120
|
|
|
85
121
|
export namespace ReplaySettingListResponse {
|
|
86
122
|
export interface Entity {
|
|
123
|
+
/**
|
|
124
|
+
* Stable identifier (UUID) for this replay configuration.
|
|
125
|
+
*/
|
|
87
126
|
id: string;
|
|
88
127
|
|
|
128
|
+
/**
|
|
129
|
+
* ISO-8601 timestamp when this configuration was created.
|
|
130
|
+
*/
|
|
89
131
|
createdAt: string;
|
|
90
132
|
|
|
133
|
+
/**
|
|
134
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
135
|
+
* be empty.
|
|
136
|
+
*/
|
|
91
137
|
name: string;
|
|
92
138
|
|
|
139
|
+
/**
|
|
140
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
141
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
142
|
+
* without losing the configuration.
|
|
143
|
+
*/
|
|
93
144
|
status: 'Disabled' | 'Enabled';
|
|
94
145
|
|
|
146
|
+
/**
|
|
147
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
148
|
+
* to use the default Ours Privacy domain.
|
|
149
|
+
*/
|
|
95
150
|
customDomain?: string | null;
|
|
96
151
|
|
|
152
|
+
/**
|
|
153
|
+
* ISO-8601 timestamp of the most recent update, or null if never updated.
|
|
154
|
+
*/
|
|
97
155
|
updatedAt?: string | null;
|
|
98
156
|
|
|
157
|
+
/**
|
|
158
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
159
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
160
|
+
* not merged.
|
|
161
|
+
*/
|
|
99
162
|
whitelistDomains?: Array<string> | null;
|
|
100
163
|
}
|
|
101
164
|
}
|
|
@@ -109,22 +172,58 @@ export interface ReplaySettingDeleteResponse {
|
|
|
109
172
|
}
|
|
110
173
|
|
|
111
174
|
export interface ReplaySettingCreateParams {
|
|
175
|
+
/**
|
|
176
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
177
|
+
* to use the default Ours Privacy domain.
|
|
178
|
+
*/
|
|
112
179
|
customDomain?: string | null;
|
|
113
180
|
|
|
181
|
+
/**
|
|
182
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
183
|
+
* be empty.
|
|
184
|
+
*/
|
|
114
185
|
name?: string | null;
|
|
115
186
|
|
|
116
|
-
|
|
187
|
+
/**
|
|
188
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
189
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
190
|
+
* without losing the configuration.
|
|
191
|
+
*/
|
|
192
|
+
status?: 'Disabled' | 'Enabled' | null;
|
|
117
193
|
|
|
194
|
+
/**
|
|
195
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
196
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
197
|
+
* not merged.
|
|
198
|
+
*/
|
|
118
199
|
whitelistDomains?: Array<string> | null;
|
|
119
200
|
}
|
|
120
201
|
|
|
121
202
|
export interface ReplaySettingUpdateParams {
|
|
203
|
+
/**
|
|
204
|
+
* Optional custom domain (CNAME) for hosting the replay capture script. Leave null
|
|
205
|
+
* to use the default Ours Privacy domain.
|
|
206
|
+
*/
|
|
122
207
|
customDomain?: string | null;
|
|
123
208
|
|
|
209
|
+
/**
|
|
210
|
+
* Human-readable label for this replay configuration. Shown in the dashboard. May
|
|
211
|
+
* be empty.
|
|
212
|
+
*/
|
|
124
213
|
name?: string | null;
|
|
125
214
|
|
|
126
|
-
|
|
215
|
+
/**
|
|
216
|
+
* Whether session replay capture is currently active. Set to "Enabled" to start
|
|
217
|
+
* capturing replays from whitelisted domains, or "Disabled" to pause capture
|
|
218
|
+
* without losing the configuration.
|
|
219
|
+
*/
|
|
220
|
+
status?: 'Disabled' | 'Enabled' | null;
|
|
127
221
|
|
|
222
|
+
/**
|
|
223
|
+
* Hostnames where session replay capture is permitted. Replays initiated from any
|
|
224
|
+
* host not in this list are dropped. PATCH replaces the list — partial updates are
|
|
225
|
+
* not merged.
|
|
226
|
+
*/
|
|
128
227
|
whitelistDomains?: Array<string> | null;
|
|
129
228
|
}
|
|
130
229
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.12.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.12.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.12.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.12.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|