@oursprivacy/platform-sdk 1.9.0 → 1.11.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 (64) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/allowed-events.d.mts +1 -1
  10. package/resources/allowed-events.d.mts.map +1 -1
  11. package/resources/allowed-events.d.ts +1 -1
  12. package/resources/allowed-events.d.ts.map +1 -1
  13. package/resources/consent-settings.d.mts +126 -12
  14. package/resources/consent-settings.d.mts.map +1 -1
  15. package/resources/consent-settings.d.ts +126 -12
  16. package/resources/consent-settings.d.ts.map +1 -1
  17. package/resources/destinations.d.mts +8 -8
  18. package/resources/destinations.d.mts.map +1 -1
  19. package/resources/destinations.d.ts +8 -8
  20. package/resources/destinations.d.ts.map +1 -1
  21. package/resources/global-dispatch-centers.d.mts +221 -7
  22. package/resources/global-dispatch-centers.d.mts.map +1 -1
  23. package/resources/global-dispatch-centers.d.ts +221 -7
  24. package/resources/global-dispatch-centers.d.ts.map +1 -1
  25. package/resources/global-dispatch-centers.js +2 -2
  26. package/resources/global-dispatch-centers.js.map +1 -1
  27. package/resources/global-dispatch-centers.mjs +2 -2
  28. package/resources/global-dispatch-centers.mjs.map +1 -1
  29. package/resources/index.d.mts +1 -1
  30. package/resources/index.d.mts.map +1 -1
  31. package/resources/index.d.ts +1 -1
  32. package/resources/index.d.ts.map +1 -1
  33. package/resources/index.js.map +1 -1
  34. package/resources/index.mjs.map +1 -1
  35. package/resources/replay-settings.d.mts +13 -5
  36. package/resources/replay-settings.d.mts.map +1 -1
  37. package/resources/replay-settings.d.ts +13 -5
  38. package/resources/replay-settings.d.ts.map +1 -1
  39. package/resources/sources.d.mts +6 -6
  40. package/resources/sources.d.mts.map +1 -1
  41. package/resources/sources.d.ts +6 -6
  42. package/resources/sources.d.ts.map +1 -1
  43. package/resources/versions.d.mts +11 -11
  44. package/resources/versions.d.mts.map +1 -1
  45. package/resources/versions.d.ts +11 -11
  46. package/resources/versions.d.ts.map +1 -1
  47. package/src/client.ts +2 -0
  48. package/src/resources/allowed-events.ts +1 -1
  49. package/src/resources/consent-settings.ts +196 -12
  50. package/src/resources/destinations.ts +8 -3
  51. package/src/resources/global-dispatch-centers.ts +251 -7
  52. package/src/resources/index.ts +1 -0
  53. package/src/resources/replay-settings.ts +19 -5
  54. package/src/resources/sources.ts +6 -6
  55. package/src/resources/versions.ts +11 -11
  56. package/src/version.ts +1 -1
  57. package/version.d.mts +1 -1
  58. package/version.d.mts.map +1 -1
  59. package/version.d.ts +1 -1
  60. package/version.d.ts.map +1 -1
  61. package/version.js +1 -1
  62. package/version.js.map +1 -1
  63. package/version.mjs +1 -1
  64. package/version.mjs.map +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<unknown> {
19
+ retrieve(id: string, options?: RequestOptions): APIPromise<ReplaySettingRetrieveResponse | null> {
20
20
  return this._client.get(path`/rest/v1/replay-settings/${id}`, options);
21
21
  }
22
22
 
@@ -54,7 +54,21 @@ export interface ReplaySettingCreateResponse {
54
54
  replaySettings?: unknown | null;
55
55
  }
56
56
 
57
- export type ReplaySettingRetrieveResponse = unknown;
57
+ export interface ReplaySettingRetrieveResponse {
58
+ id: string;
59
+
60
+ createdAt: string;
61
+
62
+ name: string;
63
+
64
+ status: 'Disabled' | 'Enabled';
65
+
66
+ customDomain?: string | null;
67
+
68
+ updatedAt?: string | null;
69
+
70
+ whitelistDomains?: Array<string> | null;
71
+ }
58
72
 
59
73
  export interface ReplaySettingUpdateResponse {
60
74
  isSuccess: boolean;
@@ -82,7 +96,7 @@ export namespace ReplaySettingListResponse {
82
96
 
83
97
  updatedAt?: string | null;
84
98
 
85
- whitelistDomains?: Array<unknown> | null;
99
+ whitelistDomains?: Array<string> | null;
86
100
  }
87
101
  }
88
102
 
@@ -101,7 +115,7 @@ export interface ReplaySettingCreateParams {
101
115
 
102
116
  status?: string | null;
103
117
 
104
- whitelistDomains?: Array<unknown> | null;
118
+ whitelistDomains?: Array<string> | null;
105
119
  }
106
120
 
107
121
  export interface ReplaySettingUpdateParams {
@@ -111,7 +125,7 @@ export interface ReplaySettingUpdateParams {
111
125
 
112
126
  status?: string | null;
113
127
 
114
- whitelistDomains?: Array<unknown> | null;
128
+ whitelistDomains?: Array<string> | null;
115
129
  }
116
130
 
117
131
  export declare namespace ReplaySettings {
@@ -141,9 +141,9 @@ export interface SourceRetrieveResponse {
141
141
 
142
142
  selectedAccountId?: string | null;
143
143
 
144
- whitelistDomains?: Array<unknown> | null;
144
+ whitelistDomains?: Array<string> | null;
145
145
 
146
- whitelistIps?: Array<unknown> | null;
146
+ whitelistIps?: Array<string> | null;
147
147
  }
148
148
 
149
149
  export interface SourceUpdateResponse {
@@ -250,9 +250,9 @@ export namespace SourceListResponse {
250
250
 
251
251
  selectedAccountId?: string | null;
252
252
 
253
- whitelistDomains?: Array<unknown> | null;
253
+ whitelistDomains?: Array<string> | null;
254
254
 
255
- whitelistIps?: Array<unknown> | null;
255
+ whitelistIps?: Array<string> | null;
256
256
  }
257
257
  }
258
258
 
@@ -314,9 +314,9 @@ export interface SourceUpdateParams {
314
314
 
315
315
  selectedAccountId?: string | null;
316
316
 
317
- whitelistDomains?: Array<unknown> | null;
317
+ whitelistDomains?: Array<string> | null;
318
318
 
319
- whitelistIps?: Array<unknown> | null;
319
+ whitelistIps?: Array<string> | null;
320
320
  }
321
321
 
322
322
  export declare namespace Sources {
@@ -92,27 +92,27 @@ export namespace VersionListResponse {
92
92
  }
93
93
 
94
94
  export interface VersionCreateParams {
95
- includeAllowedEvents?: Array<unknown> | null;
95
+ includeAllowedEvents?: Array<string> | null;
96
96
 
97
- includeConsentSettings?: Array<unknown> | null;
97
+ includeConsentSettings?: Array<string> | null;
98
98
 
99
- includeDestinations?: Array<unknown> | null;
99
+ includeDestinations?: Array<string> | null;
100
100
 
101
- includeExternalAllowedEventData?: Array<unknown> | null;
101
+ includeExternalAllowedEventData?: Array<string> | null;
102
102
 
103
- includeGlobalDispatchCenters?: Array<unknown> | null;
103
+ includeGlobalDispatchCenters?: Array<string> | null;
104
104
 
105
- includeMappings?: Array<unknown> | null;
105
+ includeMappings?: Array<string> | null;
106
106
 
107
- includeReplaySettings?: Array<unknown> | null;
107
+ includeReplaySettings?: Array<string> | null;
108
108
 
109
- includeSources?: Array<unknown> | null;
109
+ includeSources?: Array<string> | null;
110
110
 
111
- includeTagManagerTags?: Array<unknown> | null;
111
+ includeTagManagerTags?: Array<string> | null;
112
112
 
113
- includeTagManagerTriggers?: Array<unknown> | null;
113
+ includeTagManagerTriggers?: Array<string> | null;
114
114
 
115
- includeTagManagerVariables?: Array<unknown> | null;
115
+ includeTagManagerVariables?: Array<string> | null;
116
116
 
117
117
  name?: string | null;
118
118
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.9.0'; // x-release-please-version
1
+ export const VERSION = '1.11.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.9.0";
1
+ export declare const VERSION = "1.11.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.mts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.9.0";
1
+ export declare const VERSION = "1.11.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,WAAW,CAAC"}
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.9.0'; // x-release-please-version
4
+ exports.VERSION = '1.11.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.9.0'; // x-release-please-version
1
+ export const VERSION = '1.11.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
package/version.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
1
+ {"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,2BAA2B"}