@oursprivacy/platform-sdk 1.64.0 → 1.66.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 +14 -0
- package/package.json +1 -1
- package/resources/allowed-events.d.mts +0 -36
- package/resources/allowed-events.d.mts.map +1 -1
- package/resources/allowed-events.d.ts +0 -36
- package/resources/allowed-events.d.ts.map +1 -1
- package/resources/consent-settings.d.mts +80 -80
- package/resources/consent-settings.d.ts +80 -80
- package/resources/destinations.d.mts +11 -10
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +11 -10
- package/resources/destinations.d.ts.map +1 -1
- package/resources/experiments.d.mts +3 -3
- package/resources/experiments.d.ts +3 -3
- package/resources/experiments.js +3 -3
- package/resources/experiments.mjs +3 -3
- package/resources/sources.d.mts +6 -46
- package/resources/sources.d.mts.map +1 -1
- package/resources/sources.d.ts +6 -46
- package/resources/sources.d.ts.map +1 -1
- package/resources/test-events.d.mts +4 -0
- package/resources/test-events.d.mts.map +1 -1
- package/resources/test-events.d.ts +4 -0
- package/resources/test-events.d.ts.map +1 -1
- package/src/resources/allowed-events.ts +0 -42
- package/src/resources/consent-settings.ts +80 -80
- package/src/resources/destinations.ts +18 -3
- package/src/resources/experiments.ts +3 -3
- package/src/resources/sources.ts +6 -48
- package/src/resources/test-events.ts +5 -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
|
@@ -102,6 +102,7 @@ export interface DestinationListResponse {
|
|
|
102
102
|
| 'AWSS3'
|
|
103
103
|
| 'AWSSNS'
|
|
104
104
|
| 'ActiveCampaignApi'
|
|
105
|
+
| 'AdRollCAPI'
|
|
105
106
|
| 'Admitad'
|
|
106
107
|
| 'AdobeAnalytics'
|
|
107
108
|
| 'Affiliatly'
|
|
@@ -191,6 +192,7 @@ export interface DestinationListResponse {
|
|
|
191
192
|
| 'VibeAudience'
|
|
192
193
|
| 'Woopra'
|
|
193
194
|
| 'XAds'
|
|
195
|
+
| 'XAdsV2'
|
|
194
196
|
| 'YelpCAPI'
|
|
195
197
|
| 'Zendesk'
|
|
196
198
|
| 'ZohoCRM'
|
|
@@ -227,6 +229,7 @@ export interface DestinationCreateResponse {
|
|
|
227
229
|
| 'AWSS3'
|
|
228
230
|
| 'AWSSNS'
|
|
229
231
|
| 'ActiveCampaignApi'
|
|
232
|
+
| 'AdRollCAPI'
|
|
230
233
|
| 'Admitad'
|
|
231
234
|
| 'AdobeAnalytics'
|
|
232
235
|
| 'Affiliatly'
|
|
@@ -316,6 +319,7 @@ export interface DestinationCreateResponse {
|
|
|
316
319
|
| 'VibeAudience'
|
|
317
320
|
| 'Woopra'
|
|
318
321
|
| 'XAds'
|
|
322
|
+
| 'XAdsV2'
|
|
319
323
|
| 'YelpCAPI'
|
|
320
324
|
| 'Zendesk'
|
|
321
325
|
| 'ZohoCRM'
|
|
@@ -352,6 +356,7 @@ export interface DestinationRetrieveResponse {
|
|
|
352
356
|
| 'AWSS3'
|
|
353
357
|
| 'AWSSNS'
|
|
354
358
|
| 'ActiveCampaignApi'
|
|
359
|
+
| 'AdRollCAPI'
|
|
355
360
|
| 'Admitad'
|
|
356
361
|
| 'AdobeAnalytics'
|
|
357
362
|
| 'Affiliatly'
|
|
@@ -441,6 +446,7 @@ export interface DestinationRetrieveResponse {
|
|
|
441
446
|
| 'VibeAudience'
|
|
442
447
|
| 'Woopra'
|
|
443
448
|
| 'XAds'
|
|
449
|
+
| 'XAdsV2'
|
|
444
450
|
| 'YelpCAPI'
|
|
445
451
|
| 'Zendesk'
|
|
446
452
|
| 'ZohoCRM'
|
|
@@ -477,6 +483,7 @@ export interface DestinationUpdateResponse {
|
|
|
477
483
|
| 'AWSS3'
|
|
478
484
|
| 'AWSSNS'
|
|
479
485
|
| 'ActiveCampaignApi'
|
|
486
|
+
| 'AdRollCAPI'
|
|
480
487
|
| 'Admitad'
|
|
481
488
|
| 'AdobeAnalytics'
|
|
482
489
|
| 'Affiliatly'
|
|
@@ -566,6 +573,7 @@ export interface DestinationUpdateResponse {
|
|
|
566
573
|
| 'VibeAudience'
|
|
567
574
|
| 'Woopra'
|
|
568
575
|
| 'XAds'
|
|
576
|
+
| 'XAdsV2'
|
|
569
577
|
| 'YelpCAPI'
|
|
570
578
|
| 'Zendesk'
|
|
571
579
|
| 'ZohoCRM'
|
|
@@ -636,6 +644,7 @@ export namespace DestinationTypesResponse {
|
|
|
636
644
|
| 'Hubspot'
|
|
637
645
|
| 'Klaviyo'
|
|
638
646
|
| 'XAds'
|
|
647
|
+
| 'XAdsV2'
|
|
639
648
|
| 'QuoraAds'
|
|
640
649
|
| 'SnapchatAdsCapi'
|
|
641
650
|
| 'Partnerize'
|
|
@@ -669,6 +678,7 @@ export namespace DestinationTypesResponse {
|
|
|
669
678
|
| 'UniversalAds'
|
|
670
679
|
| 'OpenAIAds'
|
|
671
680
|
| 'YelpCAPI'
|
|
681
|
+
| 'AdRollCAPI'
|
|
672
682
|
| 'MNTN'
|
|
673
683
|
| 'ZohoCRM'
|
|
674
684
|
| 'Rokt'
|
|
@@ -815,7 +825,8 @@ export interface DestinationHealthResponse {
|
|
|
815
825
|
windowStart: string;
|
|
816
826
|
|
|
817
827
|
/**
|
|
818
|
-
*
|
|
828
|
+
* ISO 8601 timestamp of the most recent successful dispatch to this destination
|
|
829
|
+
* within the health window. Null when none succeeded in the window.
|
|
819
830
|
*/
|
|
820
831
|
lastDispatchedAt?: string | null;
|
|
821
832
|
|
|
@@ -842,6 +853,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
842
853
|
| 'AWSS3'
|
|
843
854
|
| 'AWSSNS'
|
|
844
855
|
| 'ActiveCampaignApi'
|
|
856
|
+
| 'AdRollCAPI'
|
|
845
857
|
| 'Admitad'
|
|
846
858
|
| 'AdobeAnalytics'
|
|
847
859
|
| 'Affiliatly'
|
|
@@ -931,6 +943,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
931
943
|
| 'VibeAudience'
|
|
932
944
|
| 'Woopra'
|
|
933
945
|
| 'XAds'
|
|
946
|
+
| 'XAdsV2'
|
|
934
947
|
| 'YelpCAPI'
|
|
935
948
|
| 'Zendesk'
|
|
936
949
|
| 'ZohoCRM'
|
|
@@ -989,6 +1002,7 @@ export interface DestinationCreateParams {
|
|
|
989
1002
|
| 'Hubspot'
|
|
990
1003
|
| 'Klaviyo'
|
|
991
1004
|
| 'XAds'
|
|
1005
|
+
| 'XAdsV2'
|
|
992
1006
|
| 'QuoraAds'
|
|
993
1007
|
| 'SnapchatAdsCapi'
|
|
994
1008
|
| 'Partnerize'
|
|
@@ -1022,6 +1036,7 @@ export interface DestinationCreateParams {
|
|
|
1022
1036
|
| 'UniversalAds'
|
|
1023
1037
|
| 'OpenAIAds'
|
|
1024
1038
|
| 'YelpCAPI'
|
|
1039
|
+
| 'AdRollCAPI'
|
|
1025
1040
|
| 'MNTN'
|
|
1026
1041
|
| 'ZohoCRM'
|
|
1027
1042
|
| 'Rokt'
|
|
@@ -1053,8 +1068,8 @@ export interface DestinationCreateParams {
|
|
|
1053
1068
|
settings?: { [key: string]: string | null | number | boolean } | null;
|
|
1054
1069
|
|
|
1055
1070
|
/**
|
|
1056
|
-
* Initial status. Omit or send `null` for `
|
|
1057
|
-
*
|
|
1071
|
+
* Initial status. Omit or send `null` for `Disabled`; send `Enabled` to create
|
|
1072
|
+
* active.
|
|
1058
1073
|
*/
|
|
1059
1074
|
status?: 'Enabled' | 'Disabled' | null;
|
|
1060
1075
|
}
|
|
@@ -306,9 +306,9 @@ export class Experiments extends APIResource {
|
|
|
306
306
|
* inclusive) to set the window; both default to the full experiment runtime when
|
|
307
307
|
* omitted, so the no-arg call returns every day from start to today (or to
|
|
308
308
|
* `stoppedAt` for completed experiments). The response orders days oldest-first
|
|
309
|
-
* and omits days with
|
|
310
|
-
* measured traffic in the window. Requires API-key scope
|
|
311
|
-
* permission: experiment:find
|
|
309
|
+
* and omits days with neither impressions nor goal events, so an empty `days`
|
|
310
|
+
* array means there was no measured traffic in the window. Requires API-key scope
|
|
311
|
+
* or current OAuth user permission: experiment:find
|
|
312
312
|
*
|
|
313
313
|
* @example
|
|
314
314
|
* ```ts
|
package/src/resources/sources.ts
CHANGED
|
@@ -102,6 +102,7 @@ export interface SourceListResponse {
|
|
|
102
102
|
| 'CallTrackingMetrics'
|
|
103
103
|
| 'DotNetApi'
|
|
104
104
|
| 'FacebookLeadAds'
|
|
105
|
+
| 'FlutterApi'
|
|
105
106
|
| 'FormsortWebhooks'
|
|
106
107
|
| 'Formstack'
|
|
107
108
|
| 'GoLangApi'
|
|
@@ -138,18 +139,6 @@ export interface SourceListResponse {
|
|
|
138
139
|
*/
|
|
139
140
|
isPublished?: boolean | null;
|
|
140
141
|
|
|
141
|
-
/**
|
|
142
|
-
* ISO-8601 timestamp of the most recent event from this source successfully
|
|
143
|
-
* dispatched to a destination.
|
|
144
|
-
*/
|
|
145
|
-
lastDispatchedAt?: string | null;
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* ISO-8601 timestamp of the most recent inbound request received by this source.
|
|
149
|
-
* Useful for debugging "is my webhook even reaching us?"
|
|
150
|
-
*/
|
|
151
|
-
lastTriggeredAt?: string | null;
|
|
152
|
-
|
|
153
142
|
name?: string | null;
|
|
154
143
|
|
|
155
144
|
probabilisticIdentity?: SourceListResponse.ProbabilisticIdentity | null;
|
|
@@ -216,6 +205,7 @@ export interface SourceCreateResponse {
|
|
|
216
205
|
| 'CallTrackingMetrics'
|
|
217
206
|
| 'DotNetApi'
|
|
218
207
|
| 'FacebookLeadAds'
|
|
208
|
+
| 'FlutterApi'
|
|
219
209
|
| 'FormsortWebhooks'
|
|
220
210
|
| 'Formstack'
|
|
221
211
|
| 'GoLangApi'
|
|
@@ -252,18 +242,6 @@ export interface SourceCreateResponse {
|
|
|
252
242
|
*/
|
|
253
243
|
isPublished?: boolean | null;
|
|
254
244
|
|
|
255
|
-
/**
|
|
256
|
-
* ISO-8601 timestamp of the most recent event from this source successfully
|
|
257
|
-
* dispatched to a destination.
|
|
258
|
-
*/
|
|
259
|
-
lastDispatchedAt?: string | null;
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* ISO-8601 timestamp of the most recent inbound request received by this source.
|
|
263
|
-
* Useful for debugging "is my webhook even reaching us?"
|
|
264
|
-
*/
|
|
265
|
-
lastTriggeredAt?: string | null;
|
|
266
|
-
|
|
267
245
|
name?: string | null;
|
|
268
246
|
|
|
269
247
|
probabilisticIdentity?: SourceCreateResponse.ProbabilisticIdentity | null;
|
|
@@ -330,6 +308,7 @@ export interface SourceRetrieveResponse {
|
|
|
330
308
|
| 'CallTrackingMetrics'
|
|
331
309
|
| 'DotNetApi'
|
|
332
310
|
| 'FacebookLeadAds'
|
|
311
|
+
| 'FlutterApi'
|
|
333
312
|
| 'FormsortWebhooks'
|
|
334
313
|
| 'Formstack'
|
|
335
314
|
| 'GoLangApi'
|
|
@@ -366,18 +345,6 @@ export interface SourceRetrieveResponse {
|
|
|
366
345
|
*/
|
|
367
346
|
isPublished?: boolean | null;
|
|
368
347
|
|
|
369
|
-
/**
|
|
370
|
-
* ISO-8601 timestamp of the most recent event from this source successfully
|
|
371
|
-
* dispatched to a destination.
|
|
372
|
-
*/
|
|
373
|
-
lastDispatchedAt?: string | null;
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* ISO-8601 timestamp of the most recent inbound request received by this source.
|
|
377
|
-
* Useful for debugging "is my webhook even reaching us?"
|
|
378
|
-
*/
|
|
379
|
-
lastTriggeredAt?: string | null;
|
|
380
|
-
|
|
381
348
|
name?: string | null;
|
|
382
349
|
|
|
383
350
|
probabilisticIdentity?: SourceRetrieveResponse.ProbabilisticIdentity | null;
|
|
@@ -444,6 +411,7 @@ export interface SourceUpdateResponse {
|
|
|
444
411
|
| 'CallTrackingMetrics'
|
|
445
412
|
| 'DotNetApi'
|
|
446
413
|
| 'FacebookLeadAds'
|
|
414
|
+
| 'FlutterApi'
|
|
447
415
|
| 'FormsortWebhooks'
|
|
448
416
|
| 'Formstack'
|
|
449
417
|
| 'GoLangApi'
|
|
@@ -480,18 +448,6 @@ export interface SourceUpdateResponse {
|
|
|
480
448
|
*/
|
|
481
449
|
isPublished?: boolean | null;
|
|
482
450
|
|
|
483
|
-
/**
|
|
484
|
-
* ISO-8601 timestamp of the most recent event from this source successfully
|
|
485
|
-
* dispatched to a destination.
|
|
486
|
-
*/
|
|
487
|
-
lastDispatchedAt?: string | null;
|
|
488
|
-
|
|
489
|
-
/**
|
|
490
|
-
* ISO-8601 timestamp of the most recent inbound request received by this source.
|
|
491
|
-
* Useful for debugging "is my webhook even reaching us?"
|
|
492
|
-
*/
|
|
493
|
-
lastTriggeredAt?: string | null;
|
|
494
|
-
|
|
495
451
|
name?: string | null;
|
|
496
452
|
|
|
497
453
|
probabilisticIdentity?: SourceUpdateResponse.ProbabilisticIdentity | null;
|
|
@@ -636,6 +592,7 @@ export interface SourceListParams extends CursorParams {
|
|
|
636
592
|
| 'CallTrackingMetrics'
|
|
637
593
|
| 'DotNetApi'
|
|
638
594
|
| 'FacebookLeadAds'
|
|
595
|
+
| 'FlutterApi'
|
|
639
596
|
| 'FormsortWebhooks'
|
|
640
597
|
| 'Formstack'
|
|
641
598
|
| 'GoLangApi'
|
|
@@ -673,6 +630,7 @@ export interface SourceCreateParams {
|
|
|
673
630
|
| 'CallTrackingMetrics'
|
|
674
631
|
| 'DotNetApi'
|
|
675
632
|
| 'FacebookLeadAds'
|
|
633
|
+
| 'FlutterApi'
|
|
676
634
|
| 'FormsortWebhooks'
|
|
677
635
|
| 'Formstack'
|
|
678
636
|
| 'GoLangApi'
|
|
@@ -321,6 +321,11 @@ export namespace TestEventCreateParams {
|
|
|
321
321
|
*/
|
|
322
322
|
ad_id?: string | null;
|
|
323
323
|
|
|
324
|
+
/**
|
|
325
|
+
* The AdRoll Click ID (adct) from the landing URL. Ex: adct123
|
|
326
|
+
*/
|
|
327
|
+
adct?: string | null;
|
|
328
|
+
|
|
324
329
|
/**
|
|
325
330
|
* The Admitad (Mitgo) affiliate Click ID. Ex: admitad_uid_abc123
|
|
326
331
|
*/
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.66.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.66.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.66.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.66.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|