@oursprivacy/platform-sdk 1.61.0 → 1.63.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 (74) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +5 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +5 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/attribution-reports.d.mts +1400 -0
  12. package/resources/attribution-reports.d.mts.map +1 -0
  13. package/resources/attribution-reports.d.ts +1400 -0
  14. package/resources/attribution-reports.d.ts.map +1 -0
  15. package/resources/attribution-reports.js +116 -0
  16. package/resources/attribution-reports.js.map +1 -0
  17. package/resources/attribution-reports.mjs +112 -0
  18. package/resources/attribution-reports.mjs.map +1 -0
  19. package/resources/dashboards.d.mts +8 -0
  20. package/resources/dashboards.d.mts.map +1 -1
  21. package/resources/dashboards.d.ts +8 -0
  22. package/resources/dashboards.d.ts.map +1 -1
  23. package/resources/experiment-variants.d.mts +84 -93
  24. package/resources/experiment-variants.d.mts.map +1 -1
  25. package/resources/experiment-variants.d.ts +84 -93
  26. package/resources/experiment-variants.d.ts.map +1 -1
  27. package/resources/experiment-variants.js +3 -1
  28. package/resources/experiment-variants.js.map +1 -1
  29. package/resources/experiment-variants.mjs +3 -1
  30. package/resources/experiment-variants.mjs.map +1 -1
  31. package/resources/experiments.d.mts +50 -65
  32. package/resources/experiments.d.mts.map +1 -1
  33. package/resources/experiments.d.ts +50 -65
  34. package/resources/experiments.d.ts.map +1 -1
  35. package/resources/index.d.mts +2 -1
  36. package/resources/index.d.mts.map +1 -1
  37. package/resources/index.d.ts +2 -1
  38. package/resources/index.d.ts.map +1 -1
  39. package/resources/index.js +3 -1
  40. package/resources/index.js.map +1 -1
  41. package/resources/index.mjs +1 -0
  42. package/resources/index.mjs.map +1 -1
  43. package/resources/insights.d.mts +24 -0
  44. package/resources/insights.d.mts.map +1 -1
  45. package/resources/insights.d.ts +24 -0
  46. package/resources/insights.d.ts.map +1 -1
  47. package/resources/videos.d.mts +17 -5
  48. package/resources/videos.d.mts.map +1 -1
  49. package/resources/videos.d.ts +17 -5
  50. package/resources/videos.d.ts.map +1 -1
  51. package/resources/videos.js +2 -2
  52. package/resources/videos.mjs +2 -2
  53. package/resources/web-scanners.d.mts +100 -38
  54. package/resources/web-scanners.d.mts.map +1 -1
  55. package/resources/web-scanners.d.ts +100 -38
  56. package/resources/web-scanners.d.ts.map +1 -1
  57. package/resources/web-scanners.js +43 -24
  58. package/resources/web-scanners.js.map +1 -1
  59. package/resources/web-scanners.mjs +43 -24
  60. package/resources/web-scanners.mjs.map +1 -1
  61. package/src/client.ts +49 -0
  62. package/src/resources/attribution-reports.ts +2294 -0
  63. package/src/resources/dashboards.ts +8 -0
  64. package/src/resources/experiment-variants.ts +84 -93
  65. package/src/resources/experiments.ts +50 -65
  66. package/src/resources/index.ts +23 -0
  67. package/src/resources/insights.ts +24 -0
  68. package/src/resources/videos.ts +243 -5
  69. package/src/resources/web-scanners.ts +117 -37
  70. package/src/version.ts +1 -1
  71. package/version.d.mts +1 -1
  72. package/version.d.ts +1 -1
  73. package/version.js +1 -1
  74. package/version.mjs +1 -1
package/src/client.ts CHANGED
@@ -48,6 +48,27 @@ import {
48
48
  AttributionUtmComparisonParams,
49
49
  AttributionUtmComparisonResponse,
50
50
  } from './resources/attribution';
51
+ import {
52
+ AttributionReportCreateParams,
53
+ AttributionReportCreateResponse,
54
+ AttributionReportDeleteParams,
55
+ AttributionReportDeleteResponse,
56
+ AttributionReportDuplicateParams,
57
+ AttributionReportDuplicateResponse,
58
+ AttributionReportInsightsParams,
59
+ AttributionReportInsightsResponse,
60
+ AttributionReportListParams,
61
+ AttributionReportListResponse,
62
+ AttributionReportListResponsesCursor,
63
+ AttributionReportPreviewParams,
64
+ AttributionReportPreviewResponse,
65
+ AttributionReportRetrieveResponse,
66
+ AttributionReportUpdateParams,
67
+ AttributionReportUpdateResponse,
68
+ AttributionReportVisitorsParams,
69
+ AttributionReportVisitorsResponse,
70
+ AttributionReports,
71
+ } from './resources/attribution-reports';
51
72
  import {
52
73
  AudienceConversionReportCreateParams,
53
74
  AudienceConversionReportCreateResponse,
@@ -579,6 +600,8 @@ import {
579
600
  WebScannerResolveCoverageGapParams,
580
601
  WebScannerResolveCoverageGapResponse,
581
602
  WebScannerRetrieveResponse,
603
+ WebScannerRunsParams,
604
+ WebScannerRunsResponse,
582
605
  WebScannerSummaryParams,
583
606
  WebScannerSummaryResponse,
584
607
  WebScannerTargetedScanParams,
@@ -1383,6 +1406,7 @@ export class OursPrivacyPlatform {
1383
1406
  analytics: API.Analytics = new API.Analytics(this);
1384
1407
  dashboards: API.Dashboards = new API.Dashboards(this);
1385
1408
  reportBranding: API.ReportBranding = new API.ReportBranding(this);
1409
+ attributionReports: API.AttributionReports = new API.AttributionReports(this);
1386
1410
  insights: API.Insights = new API.Insights(this);
1387
1411
  journeyFlows: API.JourneyFlows = new API.JourneyFlows(this);
1388
1412
  testEvents: API.TestEvents = new API.TestEvents(this);
@@ -1427,6 +1451,7 @@ OursPrivacyPlatform.CustomDomains = CustomDomains;
1427
1451
  OursPrivacyPlatform.Analytics = Analytics;
1428
1452
  OursPrivacyPlatform.Dashboards = Dashboards;
1429
1453
  OursPrivacyPlatform.ReportBranding = ReportBranding;
1454
+ OursPrivacyPlatform.AttributionReports = AttributionReports;
1430
1455
  OursPrivacyPlatform.Insights = Insights;
1431
1456
  OursPrivacyPlatform.JourneyFlows = JourneyFlows;
1432
1457
  OursPrivacyPlatform.TestEvents = TestEvents;
@@ -1919,6 +1944,7 @@ export declare namespace OursPrivacyPlatform {
1919
1944
  type WebScannerTargetedScanResponse as WebScannerTargetedScanResponse,
1920
1945
  type WebScannerVerificationRunResponse as WebScannerVerificationRunResponse,
1921
1946
  type WebScannerVerificationRunsResponse as WebScannerVerificationRunsResponse,
1947
+ type WebScannerRunsResponse as WebScannerRunsResponse,
1922
1948
  type WebScannerFindingsResponse as WebScannerFindingsResponse,
1923
1949
  type WebScannerCookiesResponse as WebScannerCookiesResponse,
1924
1950
  type WebScannerSummaryResponse as WebScannerSummaryResponse,
@@ -1930,6 +1956,7 @@ export declare namespace OursPrivacyPlatform {
1930
1956
  type WebScannerTargetedScanParams as WebScannerTargetedScanParams,
1931
1957
  type WebScannerVerificationRunParams as WebScannerVerificationRunParams,
1932
1958
  type WebScannerVerificationRunsParams as WebScannerVerificationRunsParams,
1959
+ type WebScannerRunsParams as WebScannerRunsParams,
1933
1960
  type WebScannerFindingsParams as WebScannerFindingsParams,
1934
1961
  type WebScannerCookiesParams as WebScannerCookiesParams,
1935
1962
  type WebScannerSummaryParams as WebScannerSummaryParams,
@@ -2001,6 +2028,28 @@ export declare namespace OursPrivacyPlatform {
2001
2028
  type ReportBrandingReplaceParams as ReportBrandingReplaceParams,
2002
2029
  };
2003
2030
 
2031
+ export {
2032
+ AttributionReports as AttributionReports,
2033
+ type AttributionReportListResponse as AttributionReportListResponse,
2034
+ type AttributionReportCreateResponse as AttributionReportCreateResponse,
2035
+ type AttributionReportRetrieveResponse as AttributionReportRetrieveResponse,
2036
+ type AttributionReportUpdateResponse as AttributionReportUpdateResponse,
2037
+ type AttributionReportDeleteResponse as AttributionReportDeleteResponse,
2038
+ type AttributionReportDuplicateResponse as AttributionReportDuplicateResponse,
2039
+ type AttributionReportPreviewResponse as AttributionReportPreviewResponse,
2040
+ type AttributionReportVisitorsResponse as AttributionReportVisitorsResponse,
2041
+ type AttributionReportInsightsResponse as AttributionReportInsightsResponse,
2042
+ type AttributionReportListResponsesCursor as AttributionReportListResponsesCursor,
2043
+ type AttributionReportListParams as AttributionReportListParams,
2044
+ type AttributionReportCreateParams as AttributionReportCreateParams,
2045
+ type AttributionReportUpdateParams as AttributionReportUpdateParams,
2046
+ type AttributionReportDeleteParams as AttributionReportDeleteParams,
2047
+ type AttributionReportDuplicateParams as AttributionReportDuplicateParams,
2048
+ type AttributionReportPreviewParams as AttributionReportPreviewParams,
2049
+ type AttributionReportVisitorsParams as AttributionReportVisitorsParams,
2050
+ type AttributionReportInsightsParams as AttributionReportInsightsParams,
2051
+ };
2052
+
2004
2053
  export {
2005
2054
  Insights as Insights,
2006
2055
  type InsightListResponse as InsightListResponse,