@oursprivacy/platform-sdk 1.5.2 → 1.7.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 (42) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/package.json +1 -1
  3. package/resources/allowed-events.d.mts +1 -1
  4. package/resources/allowed-events.d.mts.map +1 -1
  5. package/resources/allowed-events.d.ts +1 -1
  6. package/resources/allowed-events.d.ts.map +1 -1
  7. package/resources/consent-settings.d.mts +19 -244
  8. package/resources/consent-settings.d.mts.map +1 -1
  9. package/resources/consent-settings.d.ts +19 -244
  10. package/resources/consent-settings.d.ts.map +1 -1
  11. package/resources/destinations.d.mts +7 -9
  12. package/resources/destinations.d.mts.map +1 -1
  13. package/resources/destinations.d.ts +7 -9
  14. package/resources/destinations.d.ts.map +1 -1
  15. package/resources/global-dispatch-centers.d.mts +3 -163
  16. package/resources/global-dispatch-centers.d.mts.map +1 -1
  17. package/resources/global-dispatch-centers.d.ts +3 -163
  18. package/resources/global-dispatch-centers.d.ts.map +1 -1
  19. package/resources/replay-settings.d.mts +9 -42
  20. package/resources/replay-settings.d.mts.map +1 -1
  21. package/resources/replay-settings.d.ts +9 -42
  22. package/resources/replay-settings.d.ts.map +1 -1
  23. package/resources/sources.d.mts +4 -11
  24. package/resources/sources.d.mts.map +1 -1
  25. package/resources/sources.d.ts +4 -11
  26. package/resources/sources.d.ts.map +1 -1
  27. package/resources/versions.d.mts +11 -11
  28. package/resources/versions.d.mts.map +1 -1
  29. package/resources/versions.d.ts +11 -11
  30. package/resources/versions.d.ts.map +1 -1
  31. package/src/resources/allowed-events.ts +1 -1
  32. package/src/resources/consent-settings.ts +19 -433
  33. package/src/resources/destinations.ts +7 -2
  34. package/src/resources/global-dispatch-centers.ts +3 -640
  35. package/src/resources/replay-settings.ts +9 -61
  36. package/src/resources/sources.ts +4 -14
  37. package/src/resources/versions.ts +11 -11
  38. package/src/version.ts +1 -1
  39. package/version.d.mts +1 -1
  40. package/version.d.ts +1 -1
  41. package/version.js +1 -1
  42. package/version.mjs +1 -1
@@ -16,7 +16,7 @@ export class ReplaySettings extends APIResource {
16
16
  /**
17
17
  * Find a single replay setting by ID. Requires scope: replaySettings:find
18
18
  */
19
- retrieve(id: string, options?: RequestOptions): APIPromise<ReplaySettingRetrieveResponse | null> {
19
+ retrieve(id: string, options?: RequestOptions): APIPromise<unknown> {
20
20
  return this._client.get(path`/rest/v1/replay-settings/${id}`, options);
21
21
  }
22
22
 
@@ -51,55 +51,17 @@ export interface ReplaySettingCreateResponse {
51
51
 
52
52
  cause?: string | null;
53
53
 
54
- replaySettings?: ReplaySettingCreateResponse.ReplaySettings | null;
54
+ replaySettings?: unknown | null;
55
55
  }
56
56
 
57
- export namespace ReplaySettingCreateResponse {
58
- export interface ReplaySettings {
59
- id: string;
60
-
61
- createdAt: string;
62
-
63
- name: string;
64
-
65
- status: 'Disabled' | 'Enabled';
66
-
67
- updatedAt?: string | null;
68
- }
69
- }
70
-
71
- export interface ReplaySettingRetrieveResponse {
72
- id: string;
73
-
74
- createdAt: string;
75
-
76
- name: string;
77
-
78
- status: 'Disabled' | 'Enabled';
79
-
80
- updatedAt?: string | null;
81
- }
57
+ export type ReplaySettingRetrieveResponse = unknown;
82
58
 
83
59
  export interface ReplaySettingUpdateResponse {
84
60
  isSuccess: boolean;
85
61
 
86
62
  cause?: string | null;
87
63
 
88
- replaySettings?: ReplaySettingUpdateResponse.ReplaySettings | null;
89
- }
90
-
91
- export namespace ReplaySettingUpdateResponse {
92
- export interface ReplaySettings {
93
- id: string;
94
-
95
- createdAt: string;
96
-
97
- name: string;
98
-
99
- status: 'Disabled' | 'Enabled';
100
-
101
- updatedAt?: string | null;
102
- }
64
+ replaySettings?: unknown | null;
103
65
  }
104
66
 
105
67
  export interface ReplaySettingListResponse {
@@ -125,21 +87,7 @@ export interface ReplaySettingDeleteResponse {
125
87
 
126
88
  cause?: string | null;
127
89
 
128
- replaySettings?: ReplaySettingDeleteResponse.ReplaySettings | null;
129
- }
130
-
131
- export namespace ReplaySettingDeleteResponse {
132
- export interface ReplaySettings {
133
- id: string;
134
-
135
- createdAt: string;
136
-
137
- name: string;
138
-
139
- status: 'Disabled' | 'Enabled';
140
-
141
- updatedAt?: string | null;
142
- }
90
+ replaySettings?: unknown | null;
143
91
  }
144
92
 
145
93
  export interface ReplaySettingCreateParams {
@@ -147,9 +95,9 @@ export interface ReplaySettingCreateParams {
147
95
 
148
96
  name?: string | null;
149
97
 
150
- status?: 'Disabled' | 'Enabled' | null;
98
+ status?: string | null;
151
99
 
152
- whitelistDomains?: Array<string> | null;
100
+ whitelistDomains?: Array<unknown> | null;
153
101
  }
154
102
 
155
103
  export interface ReplaySettingUpdateParams {
@@ -157,9 +105,9 @@ export interface ReplaySettingUpdateParams {
157
105
 
158
106
  name?: string | null;
159
107
 
160
- status?: 'Disabled' | 'Enabled' | null;
108
+ status?: string | null;
161
109
 
162
- whitelistDomains?: Array<string> | null;
110
+ whitelistDomains?: Array<unknown> | null;
163
111
  }
164
112
 
165
113
  export declare namespace ReplaySettings {
@@ -262,7 +262,7 @@ export interface SourceCreateParams {
262
262
  export interface SourceUpdateParams {
263
263
  status: 'Disabled' | 'Enabled';
264
264
 
265
- botControlMode?: 'Allow' | 'Block' | 'Threshold' | null;
265
+ botControlMode?: string | null;
266
266
 
267
267
  botScoreThreshold?: number | null;
268
268
 
@@ -270,7 +270,7 @@ export interface SourceUpdateParams {
270
270
 
271
271
  name?: string | null;
272
272
 
273
- probabilisticIdentity?: SourceUpdateParams.ProbabilisticIdentity | null;
273
+ probabilisticIdentity?: unknown | null;
274
274
 
275
275
  projectAPIKey?: string | null;
276
276
 
@@ -278,19 +278,9 @@ export interface SourceUpdateParams {
278
278
 
279
279
  selectedAccountId?: string | null;
280
280
 
281
- whitelistDomains?: Array<string> | null;
281
+ whitelistDomains?: Array<unknown> | null;
282
282
 
283
- whitelistIps?: Array<string> | null;
284
- }
285
-
286
- export namespace SourceUpdateParams {
287
- export interface ProbabilisticIdentity {
288
- enabled: boolean;
289
-
290
- matchWindowMinutes?: number | null;
291
-
292
- maxMatchesPerIp?: number | null;
293
- }
283
+ whitelistIps?: Array<unknown> | null;
294
284
  }
295
285
 
296
286
  export declare namespace Sources {
@@ -92,27 +92,27 @@ export namespace VersionListResponse {
92
92
  }
93
93
 
94
94
  export interface VersionCreateParams {
95
- includeAllowedEvents?: Array<string> | null;
95
+ includeAllowedEvents?: Array<unknown> | null;
96
96
 
97
- includeConsentSettings?: Array<string> | null;
97
+ includeConsentSettings?: Array<unknown> | null;
98
98
 
99
- includeDestinations?: Array<string> | null;
99
+ includeDestinations?: Array<unknown> | null;
100
100
 
101
- includeExternalAllowedEventData?: Array<string> | null;
101
+ includeExternalAllowedEventData?: Array<unknown> | null;
102
102
 
103
- includeGlobalDispatchCenters?: Array<string> | null;
103
+ includeGlobalDispatchCenters?: Array<unknown> | null;
104
104
 
105
- includeMappings?: Array<string> | null;
105
+ includeMappings?: Array<unknown> | null;
106
106
 
107
- includeReplaySettings?: Array<string> | null;
107
+ includeReplaySettings?: Array<unknown> | null;
108
108
 
109
- includeSources?: Array<string> | null;
109
+ includeSources?: Array<unknown> | null;
110
110
 
111
- includeTagManagerTags?: Array<string> | null;
111
+ includeTagManagerTags?: Array<unknown> | null;
112
112
 
113
- includeTagManagerTriggers?: Array<string> | null;
113
+ includeTagManagerTriggers?: Array<unknown> | null;
114
114
 
115
- includeTagManagerVariables?: Array<string> | null;
115
+ includeTagManagerVariables?: Array<unknown> | null;
116
116
 
117
117
  name?: string | null;
118
118
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.5.2'; // x-release-please-version
1
+ export const VERSION = '1.7.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.5.2";
1
+ export declare const VERSION = "1.7.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.5.2";
1
+ export declare const VERSION = "1.7.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.5.2'; // x-release-please-version
4
+ exports.VERSION = '1.7.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.5.2'; // x-release-please-version
1
+ export const VERSION = '1.7.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map