@oursprivacy/platform-sdk 1.68.0 → 1.70.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 (114) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +7 -4
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +7 -4
  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/analytics.d.mts +10 -0
  12. package/resources/analytics.d.mts.map +1 -1
  13. package/resources/analytics.d.ts +10 -0
  14. package/resources/analytics.d.ts.map +1 -1
  15. package/resources/dashboards.d.mts +646 -4
  16. package/resources/dashboards.d.mts.map +1 -1
  17. package/resources/dashboards.d.ts +646 -4
  18. package/resources/dashboards.d.ts.map +1 -1
  19. package/resources/destinations.d.mts +7 -7
  20. package/resources/destinations.d.mts.map +1 -1
  21. package/resources/destinations.d.ts +7 -7
  22. package/resources/destinations.d.ts.map +1 -1
  23. package/resources/funnels.d.mts +253 -7
  24. package/resources/funnels.d.mts.map +1 -1
  25. package/resources/funnels.d.ts +253 -7
  26. package/resources/funnels.d.ts.map +1 -1
  27. package/resources/funnels.js +10 -7
  28. package/resources/funnels.js.map +1 -1
  29. package/resources/funnels.mjs +10 -7
  30. package/resources/funnels.mjs.map +1 -1
  31. package/resources/index.d.mts +3 -2
  32. package/resources/index.d.mts.map +1 -1
  33. package/resources/index.d.ts +3 -2
  34. package/resources/index.d.ts.map +1 -1
  35. package/resources/index.js +3 -1
  36. package/resources/index.js.map +1 -1
  37. package/resources/index.mjs +1 -0
  38. package/resources/index.mjs.map +1 -1
  39. package/resources/insights.d.mts +73 -12
  40. package/resources/insights.d.mts.map +1 -1
  41. package/resources/insights.d.ts +73 -12
  42. package/resources/insights.d.ts.map +1 -1
  43. package/resources/insights.js +9 -7
  44. package/resources/insights.js.map +1 -1
  45. package/resources/insights.mjs +9 -7
  46. package/resources/insights.mjs.map +1 -1
  47. package/resources/journey-flows.d.mts +242 -18
  48. package/resources/journey-flows.d.mts.map +1 -1
  49. package/resources/journey-flows.d.ts +242 -18
  50. package/resources/journey-flows.d.ts.map +1 -1
  51. package/resources/journey-flows.js +18 -12
  52. package/resources/journey-flows.js.map +1 -1
  53. package/resources/journey-flows.mjs +18 -12
  54. package/resources/journey-flows.mjs.map +1 -1
  55. package/resources/locations.d.mts +653 -13
  56. package/resources/locations.d.mts.map +1 -1
  57. package/resources/locations.d.ts +653 -13
  58. package/resources/locations.d.ts.map +1 -1
  59. package/resources/locations.js +10 -3
  60. package/resources/locations.js.map +1 -1
  61. package/resources/locations.mjs +10 -3
  62. package/resources/locations.mjs.map +1 -1
  63. package/resources/query-dispatches.d.mts +241 -0
  64. package/resources/query-dispatches.d.mts.map +1 -0
  65. package/resources/query-dispatches.d.ts +241 -0
  66. package/resources/query-dispatches.d.ts.map +1 -0
  67. package/resources/query-dispatches.js +56 -0
  68. package/resources/query-dispatches.js.map +1 -0
  69. package/resources/query-dispatches.mjs +52 -0
  70. package/resources/query-dispatches.mjs.map +1 -0
  71. package/resources/query-events.d.mts +10 -0
  72. package/resources/query-events.d.mts.map +1 -1
  73. package/resources/query-events.d.ts +10 -0
  74. package/resources/query-events.d.ts.map +1 -1
  75. package/resources/report-branding.d.mts +112 -28
  76. package/resources/report-branding.d.mts.map +1 -1
  77. package/resources/report-branding.d.ts +112 -28
  78. package/resources/report-branding.d.ts.map +1 -1
  79. package/resources/report-branding.js +29 -15
  80. package/resources/report-branding.js.map +1 -1
  81. package/resources/report-branding.mjs +29 -15
  82. package/resources/report-branding.mjs.map +1 -1
  83. package/resources/sources.d.mts +6 -6
  84. package/resources/sources.d.mts.map +1 -1
  85. package/resources/sources.d.ts +6 -6
  86. package/resources/sources.d.ts.map +1 -1
  87. package/resources/test-events.d.mts +28 -0
  88. package/resources/test-events.d.mts.map +1 -1
  89. package/resources/test-events.d.ts +28 -0
  90. package/resources/test-events.d.ts.map +1 -1
  91. package/resources/web-analytics.d.mts +24 -0
  92. package/resources/web-analytics.d.mts.map +1 -1
  93. package/resources/web-analytics.d.ts +24 -0
  94. package/resources/web-analytics.d.ts.map +1 -1
  95. package/src/client.ts +29 -0
  96. package/src/resources/analytics.ts +12 -0
  97. package/src/resources/dashboards.ts +876 -8
  98. package/src/resources/destinations.ts +23 -2
  99. package/src/resources/funnels.ts +332 -7
  100. package/src/resources/index.ts +13 -0
  101. package/src/resources/insights.ts +107 -12
  102. package/src/resources/journey-flows.ts +300 -22
  103. package/src/resources/locations.ts +690 -12
  104. package/src/resources/query-dispatches.ts +323 -0
  105. package/src/resources/query-events.ts +12 -0
  106. package/src/resources/report-branding.ts +132 -27
  107. package/src/resources/sources.ts +12 -0
  108. package/src/resources/test-events.ts +33 -0
  109. package/src/resources/web-analytics.ts +40 -0
  110. package/src/version.ts +1 -1
  111. package/version.d.mts +1 -1
  112. package/version.d.ts +1 -1
  113. package/version.js +1 -1
  114. package/version.mjs +1 -1
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.QueryDispatches = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ class QueryDispatches extends resource_1.APIResource {
7
+ /**
8
+ * Return the Query Dispatches query version, date-range limits, and breakdown
9
+ * limits. Requires the API-key scope `report:view-dispatch`. Requires API-key
10
+ * scope or current OAuth user permission: report:view-dispatch
11
+ */
12
+ capabilities(options) {
13
+ return this._client.get('/rest/v1/query-dispatches/capabilities', options);
14
+ }
15
+ /**
16
+ * Count dispatches to destinations, grouped by up to two of destination,
17
+ * destination type, status, reason, event name, source, or identifier, optionally
18
+ * per hour or day. Use it for dispatch health over a window (filter
19
+ * `destinationIds`, group by `STATUS` and `REASON`), dispatches per event and day
20
+ * (filter `eventNames`, `timeGrain: DAY`), or identifier coverage per destination.
21
+ * To diagnose delivery problems, group by `STATUS` and `REASON` rather than
22
+ * filtering to `FAILED`, since `NOT_SENT` also covers destination settings to fix.
23
+ * JSON-encode `input` and `breakdown` in the query string. Returns counts only,
24
+ * never dispatch payloads or visitor identifiers. A destination or source ID this
25
+ * account does not own returns 404. Requires the API-key scope
26
+ * `report:view-dispatch`. Requires API-key scope or current OAuth user permission:
27
+ * report:view-dispatch
28
+ */
29
+ breakdown(query, options) {
30
+ return this._client.get('/rest/v1/query-dispatches/breakdown', { query, ...options });
31
+ }
32
+ /**
33
+ * List the values seen for one dispatch dimension in a date range, with dispatch
34
+ * counts, such as the failure reasons or event names to filter a breakdown by.
35
+ * Counts include test events; set `includeTestEvents` on the breakdown to match
36
+ * them. JSON-encode `input` in the query string. A destination ID this account
37
+ * does not own returns 404. Requires the API-key scope `report:view-dispatch`.
38
+ * Requires API-key scope or current OAuth user permission: report:view-dispatch
39
+ */
40
+ facetValues(query, options) {
41
+ return this._client.get('/rest/v1/query-dispatches/facet-values', { query, ...options });
42
+ }
43
+ /**
44
+ * Suggest the payload field paths and value types sent to destinations, from a
45
+ * sample of recent dispatches, to check which mapped fields a destination
46
+ * receives. Returns paths and types only, never values. JSON-encode the optional
47
+ * `input` in the query string. A destination ID this account does not own
48
+ * returns 404. Requires the API-key scope `report:view-dispatch`. Requires API-key
49
+ * scope or current OAuth user permission: report:view-dispatch
50
+ */
51
+ propertySuggestions(query = {}, options) {
52
+ return this._client.get('/rest/v1/query-dispatches/property-suggestions', { query, ...options });
53
+ }
54
+ }
55
+ exports.QueryDispatches = QueryDispatches;
56
+ //# sourceMappingURL=query-dispatches.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-dispatches.js","sourceRoot":"","sources":["../src/resources/query-dispatches.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;;OAIG;IACH,YAAY,CAAC,OAAwB;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,SAAS,CACP,KAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qCAAqC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;OAOG;IACH,WAAW,CACT,KAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;OAOG;IACH,mBAAmB,CACjB,QAAmE,EAAE,EACrE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gDAAgD,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF;AA5DD,0CA4DC"}
@@ -0,0 +1,52 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ export class QueryDispatches extends APIResource {
4
+ /**
5
+ * Return the Query Dispatches query version, date-range limits, and breakdown
6
+ * limits. Requires the API-key scope `report:view-dispatch`. Requires API-key
7
+ * scope or current OAuth user permission: report:view-dispatch
8
+ */
9
+ capabilities(options) {
10
+ return this._client.get('/rest/v1/query-dispatches/capabilities', options);
11
+ }
12
+ /**
13
+ * Count dispatches to destinations, grouped by up to two of destination,
14
+ * destination type, status, reason, event name, source, or identifier, optionally
15
+ * per hour or day. Use it for dispatch health over a window (filter
16
+ * `destinationIds`, group by `STATUS` and `REASON`), dispatches per event and day
17
+ * (filter `eventNames`, `timeGrain: DAY`), or identifier coverage per destination.
18
+ * To diagnose delivery problems, group by `STATUS` and `REASON` rather than
19
+ * filtering to `FAILED`, since `NOT_SENT` also covers destination settings to fix.
20
+ * JSON-encode `input` and `breakdown` in the query string. Returns counts only,
21
+ * never dispatch payloads or visitor identifiers. A destination or source ID this
22
+ * account does not own returns 404. Requires the API-key scope
23
+ * `report:view-dispatch`. Requires API-key scope or current OAuth user permission:
24
+ * report:view-dispatch
25
+ */
26
+ breakdown(query, options) {
27
+ return this._client.get('/rest/v1/query-dispatches/breakdown', { query, ...options });
28
+ }
29
+ /**
30
+ * List the values seen for one dispatch dimension in a date range, with dispatch
31
+ * counts, such as the failure reasons or event names to filter a breakdown by.
32
+ * Counts include test events; set `includeTestEvents` on the breakdown to match
33
+ * them. JSON-encode `input` in the query string. A destination ID this account
34
+ * does not own returns 404. Requires the API-key scope `report:view-dispatch`.
35
+ * Requires API-key scope or current OAuth user permission: report:view-dispatch
36
+ */
37
+ facetValues(query, options) {
38
+ return this._client.get('/rest/v1/query-dispatches/facet-values', { query, ...options });
39
+ }
40
+ /**
41
+ * Suggest the payload field paths and value types sent to destinations, from a
42
+ * sample of recent dispatches, to check which mapped fields a destination
43
+ * receives. Returns paths and types only, never values. JSON-encode the optional
44
+ * `input` in the query string. A destination ID this account does not own
45
+ * returns 404. Requires the API-key scope `report:view-dispatch`. Requires API-key
46
+ * scope or current OAuth user permission: report:view-dispatch
47
+ */
48
+ propertySuggestions(query = {}, options) {
49
+ return this._client.get('/rest/v1/query-dispatches/property-suggestions', { query, ...options });
50
+ }
51
+ }
52
+ //# sourceMappingURL=query-dispatches.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-dispatches.mjs","sourceRoot":"","sources":["../src/resources/query-dispatches.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAI/C,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;;OAIG;IACH,YAAY,CAAC,OAAwB;QACnC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,SAAS,CACP,KAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qCAAqC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxF,CAAC;IAED;;;;;;;OAOG;IACH,WAAW,CACT,KAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;OAOG;IACH,mBAAmB,CACjB,QAAmE,EAAE,EACrE,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,gDAAgD,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF"}
@@ -142,6 +142,11 @@ export declare namespace QueryEventCatalogResponse {
142
142
  * Whether the field belongs to the event or to its session.
143
143
  */
144
144
  scope: string;
145
+ /**
146
+ * False when the field identifies a person, so reports can filter on it but not
147
+ * break down by it.
148
+ */
149
+ supportsBreakdown: boolean;
145
150
  /**
146
151
  * Value type the filter compares against.
147
152
  */
@@ -184,6 +189,11 @@ export declare namespace QueryEventPropertySuggestionsResponse {
184
189
  * Property bag the path belongs to.
185
190
  */
186
191
  property: 'event.properties' | 'event.visitor_properties';
192
+ /**
193
+ * False when the path identifies a person, so reports can filter on it but not
194
+ * break down by it.
195
+ */
196
+ supportsBreakdown: boolean;
187
197
  /**
188
198
  * Value type observed at this path.
189
199
  */
@@ -1 +1 @@
1
- {"version":3,"file":"query-events.d.mts","sourceRoot":"","sources":["../src/resources/query-events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,WAAY,SAAQ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AM,CAAC;IAEhB,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,mCAAmC;IAClD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,EAAE,KAAK,GAAG,MAAM,CAAC;IAEvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qCAAqC,IAAI,qCAAqC,EACnF,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -142,6 +142,11 @@ export declare namespace QueryEventCatalogResponse {
142
142
  * Whether the field belongs to the event or to its session.
143
143
  */
144
144
  scope: string;
145
+ /**
146
+ * False when the field identifies a person, so reports can filter on it but not
147
+ * break down by it.
148
+ */
149
+ supportsBreakdown: boolean;
145
150
  /**
146
151
  * Value type the filter compares against.
147
152
  */
@@ -184,6 +189,11 @@ export declare namespace QueryEventPropertySuggestionsResponse {
184
189
  * Property bag the path belongs to.
185
190
  */
186
191
  property: 'event.properties' | 'event.visitor_properties';
192
+ /**
193
+ * False when the path identifies a person, so reports can filter on it but not
194
+ * break down by it.
195
+ */
196
+ supportsBreakdown: boolean;
187
197
  /**
188
198
  * Value type observed at this path.
189
199
  */
@@ -1 +1 @@
1
- {"version":3,"file":"query-events.d.ts","sourceRoot":"","sources":["../src/resources/query-events.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;OAMG;IACH,IAAI,CAAC,KAAK,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAI/F;;;OAGG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,8BAA8B,CAAC;IAIlF;;;OAGG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAIxE;;;;OAIG;IACH,mBAAmB,CACjB,KAAK,GAAE,mCAAmC,GAAG,IAAI,GAAG,SAAc,EAClE,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qCAAqC,CAAC;IAIpD;;;OAGG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;IAI9E;;;;OAIG;IACH,UAAU,CACR,KAAK,EAAE,0BAA0B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,4BAA4B,GAAG,IAAI,CAAC;IAIlD;;;;OAIG;IACH,MAAM,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,wBAAwB,CAAC;C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,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mCAAmC,IAAI,mCAAmC,EAC/E,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -3,41 +3,60 @@ import { APIPromise } from "../core/api-promise.mjs";
3
3
  import { RequestOptions } from "../internal/request-options.mjs";
4
4
  export declare class ReportBranding extends APIResource {
5
5
  /**
6
- * Get the organization logo shown on Dashboards and Dashboard PDFs. Returns {
7
- * logo: null } when no logo is set. Pass includeDataUrl=false to omit the image
8
- * data and read only its format, dimensions, size, and update time. Requires
9
- * Analytics Suite access. Requires API-key scope or current OAuth user permission:
10
- * web-analytics:view
6
+ * Get the organization report branding: the logo shown on Dashboards,
7
+ * presentations, and PDF reports, and the brand color printed on PDF reports.
8
+ * Returns logo null when no logo is set and brandColor null when PDFs use the
9
+ * default navy. Pass includeDataUrl=false to omit the image data and read only its
10
+ * format, dimensions, size, and update time. Change the color with PATCH
11
+ * /rest/v1/report-branding/colors. Requires API-key scope or current OAuth user
12
+ * permission: web-analytics:view or organization:manage-report-branding
11
13
  */
12
14
  retrieve(query?: ReportBrandingRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ReportBrandingRetrieveResponse>;
13
15
  /**
14
- * Replace the organization logo used on Dashboards and Dashboard PDFs. Send
15
- * contentType and base64 data for a PNG, JPEG, or WebP image of at most 524288
16
- * bytes and 4096 pixels in each dimension. The bytes must match contentType; SVG
17
- * is not accepted, so rasterize vector logos first. Requires Analytics Suite
18
- * access and organization:manage-report-branding. Requires API-key scope or
19
- * current OAuth user permission: organization:manage-report-branding
16
+ * Replace the organization logo used on Dashboards, presentations, and PDF
17
+ * reports. Send contentType and base64 data for a PNG, JPEG, or WebP image of at
18
+ * most 524288 bytes and 4096 pixels in each dimension. The bytes must match
19
+ * contentType; SVG is not accepted, so rasterize vector logos first. The brand
20
+ * color is unchanged. Requires API-key scope or current OAuth user permission:
21
+ * organization:manage-report-branding
20
22
  */
21
23
  replace(body: ReportBrandingReplaceParams, options?: RequestOptions): APIPromise<ReportBrandingReplaceResponse>;
22
24
  /**
23
- * Remove the organization logo from Dashboards and Dashboard PDFs. Succeeds when
24
- * no logo is set. Requires Analytics Suite access and
25
- * organization:manage-report-branding. Requires API-key scope or current OAuth
26
- * user permission: organization:manage-report-branding
25
+ * Remove the organization logo from Dashboards, presentations, and PDF reports.
26
+ * Succeeds when no logo is set. The brand color is kept; clear it with PATCH
27
+ * /rest/v1/report-branding/colors and brandColor null. Requires API-key scope or
28
+ * current OAuth user permission: organization:manage-report-branding
27
29
  */
28
30
  delete(options?: RequestOptions): APIPromise<ReportBrandingDeleteResponse>;
31
+ /**
32
+ * Set the brand color printed on PDF reports for the header rule, table headers,
33
+ * summary band, and (when dark enough for text) headings. Send brandColor as
34
+ * #RRGGBB in either case (it is stored and returned lowercase), or null to return
35
+ * to the Ours Privacy default navy; the logo is unchanged. New PDFs use the color
36
+ * right away. Read it back with GET /rest/v1/report-branding/logo. Requires
37
+ * API-key scope or current OAuth user permission:
38
+ * organization:manage-report-branding
39
+ */
40
+ update(body: ReportBrandingUpdateParams, options?: RequestOptions): APIPromise<ReportBrandingUpdateResponse>;
29
41
  }
30
42
  export interface ReportBrandingRetrieveResponse {
31
43
  /**
32
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
33
- * set.
44
+ * Brand color as lowercase #rrggbb, printed on PDF reports for the header rule,
45
+ * table headers, summary band, and (when dark enough for text) headings, or null
46
+ * when PDFs use the Ours Privacy default navy. Independent of the logo: removing
47
+ * the logo keeps it.
48
+ */
49
+ brandColor: string | null;
50
+ /**
51
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
52
+ * when none is set.
34
53
  */
35
54
  logo: ReportBrandingRetrieveResponse.Logo | null;
36
55
  }
37
56
  export declare namespace ReportBrandingRetrieveResponse {
38
57
  /**
39
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
40
- * set.
58
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
59
+ * when none is set.
41
60
  */
42
61
  interface Logo {
43
62
  /**
@@ -64,15 +83,22 @@ export declare namespace ReportBrandingRetrieveResponse {
64
83
  }
65
84
  export interface ReportBrandingReplaceResponse {
66
85
  /**
67
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
68
- * set.
86
+ * Brand color as lowercase #rrggbb, printed on PDF reports for the header rule,
87
+ * table headers, summary band, and (when dark enough for text) headings, or null
88
+ * when PDFs use the Ours Privacy default navy. Independent of the logo: removing
89
+ * the logo keeps it.
90
+ */
91
+ brandColor: string | null;
92
+ /**
93
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
94
+ * when none is set.
69
95
  */
70
96
  logo: ReportBrandingReplaceResponse.Logo | null;
71
97
  }
72
98
  export declare namespace ReportBrandingReplaceResponse {
73
99
  /**
74
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
75
- * set.
100
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
101
+ * when none is set.
76
102
  */
77
103
  interface Logo {
78
104
  /**
@@ -99,15 +125,64 @@ export declare namespace ReportBrandingReplaceResponse {
99
125
  }
100
126
  export interface ReportBrandingDeleteResponse {
101
127
  /**
102
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
103
- * set.
128
+ * Brand color as lowercase #rrggbb, printed on PDF reports for the header rule,
129
+ * table headers, summary band, and (when dark enough for text) headings, or null
130
+ * when PDFs use the Ours Privacy default navy. Independent of the logo: removing
131
+ * the logo keeps it.
132
+ */
133
+ brandColor: string | null;
134
+ /**
135
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
136
+ * when none is set.
104
137
  */
105
138
  logo: ReportBrandingDeleteResponse.Logo | null;
106
139
  }
107
140
  export declare namespace ReportBrandingDeleteResponse {
108
141
  /**
109
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
110
- * set.
142
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
143
+ * when none is set.
144
+ */
145
+ interface Logo {
146
+ /**
147
+ * Decoded image size in bytes.
148
+ */
149
+ byteSize: number;
150
+ contentType: 'image/png' | 'image/jpeg' | 'image/webp';
151
+ /**
152
+ * Image height in pixels.
153
+ */
154
+ height: number;
155
+ updatedAt: string;
156
+ updatedByUserId: string;
157
+ /**
158
+ * Image width in pixels.
159
+ */
160
+ width: number;
161
+ /**
162
+ * data: URL containing the base64 image. Returned by GET unless includeDataUrl is
163
+ * false; omitted from write responses.
164
+ */
165
+ dataUrl?: string;
166
+ }
167
+ }
168
+ export interface ReportBrandingUpdateResponse {
169
+ /**
170
+ * Brand color as lowercase #rrggbb, printed on PDF reports for the header rule,
171
+ * table headers, summary band, and (when dark enough for text) headings, or null
172
+ * when PDFs use the Ours Privacy default navy. Independent of the logo: removing
173
+ * the logo keeps it.
174
+ */
175
+ brandColor: string | null;
176
+ /**
177
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
178
+ * when none is set.
179
+ */
180
+ logo: ReportBrandingUpdateResponse.Logo | null;
181
+ }
182
+ export declare namespace ReportBrandingUpdateResponse {
183
+ /**
184
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
185
+ * when none is set.
111
186
  */
112
187
  interface Logo {
113
188
  /**
@@ -151,7 +226,16 @@ export interface ReportBrandingReplaceParams {
151
226
  */
152
227
  data: string;
153
228
  }
229
+ export interface ReportBrandingUpdateParams {
230
+ /**
231
+ * Brand color as #RRGGBB in either case; it is stored and returned lowercase.
232
+ * Needs at least 3:1 contrast against white so it stays readable on the page;
233
+ * lighter colors are rejected. Send null to return to the Ours Privacy default
234
+ * navy; omit it to leave the color unchanged.
235
+ */
236
+ brandColor?: string | null;
237
+ }
154
238
  export declare namespace ReportBranding {
155
- export { type ReportBrandingRetrieveResponse as ReportBrandingRetrieveResponse, type ReportBrandingReplaceResponse as ReportBrandingReplaceResponse, type ReportBrandingDeleteResponse as ReportBrandingDeleteResponse, type ReportBrandingRetrieveParams as ReportBrandingRetrieveParams, type ReportBrandingReplaceParams as ReportBrandingReplaceParams, };
239
+ export { type ReportBrandingRetrieveResponse as ReportBrandingRetrieveResponse, type ReportBrandingReplaceResponse as ReportBrandingReplaceResponse, type ReportBrandingDeleteResponse as ReportBrandingDeleteResponse, type ReportBrandingUpdateResponse as ReportBrandingUpdateResponse, type ReportBrandingRetrieveParams as ReportBrandingRetrieveParams, type ReportBrandingReplaceParams as ReportBrandingReplaceParams, type ReportBrandingUpdateParams as ReportBrandingUpdateParams, };
156
240
  }
157
241
  //# sourceMappingURL=report-branding.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"report-branding.d.mts","sourceRoot":"","sources":["../src/resources/report-branding.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;;;;OAMG;IACH,QAAQ,CACN,KAAK,GAAE,4BAA4B,GAAG,IAAI,GAAG,SAAc,EAC3D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,8BAA8B,CAAC;IAI7C;;;;;;;OAOG;IACH,OAAO,CACL,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,6BAA6B,CAAC;IAI5C;;;;;OAKG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;CAG3E;AAED,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,IAAI,EAAE,8BAA8B,CAAC,IAAI,GAAG,IAAI,CAAC;CAClD;AAED,yBAAiB,8BAA8B,CAAC;IAC9C;;;OAGG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB,WA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,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -3,41 +3,60 @@ import { APIPromise } from "../core/api-promise.js";
3
3
  import { RequestOptions } from "../internal/request-options.js";
4
4
  export declare class ReportBranding extends APIResource {
5
5
  /**
6
- * Get the organization logo shown on Dashboards and Dashboard PDFs. Returns {
7
- * logo: null } when no logo is set. Pass includeDataUrl=false to omit the image
8
- * data and read only its format, dimensions, size, and update time. Requires
9
- * Analytics Suite access. Requires API-key scope or current OAuth user permission:
10
- * web-analytics:view
6
+ * Get the organization report branding: the logo shown on Dashboards,
7
+ * presentations, and PDF reports, and the brand color printed on PDF reports.
8
+ * Returns logo null when no logo is set and brandColor null when PDFs use the
9
+ * default navy. Pass includeDataUrl=false to omit the image data and read only its
10
+ * format, dimensions, size, and update time. Change the color with PATCH
11
+ * /rest/v1/report-branding/colors. Requires API-key scope or current OAuth user
12
+ * permission: web-analytics:view or organization:manage-report-branding
11
13
  */
12
14
  retrieve(query?: ReportBrandingRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ReportBrandingRetrieveResponse>;
13
15
  /**
14
- * Replace the organization logo used on Dashboards and Dashboard PDFs. Send
15
- * contentType and base64 data for a PNG, JPEG, or WebP image of at most 524288
16
- * bytes and 4096 pixels in each dimension. The bytes must match contentType; SVG
17
- * is not accepted, so rasterize vector logos first. Requires Analytics Suite
18
- * access and organization:manage-report-branding. Requires API-key scope or
19
- * current OAuth user permission: organization:manage-report-branding
16
+ * Replace the organization logo used on Dashboards, presentations, and PDF
17
+ * reports. Send contentType and base64 data for a PNG, JPEG, or WebP image of at
18
+ * most 524288 bytes and 4096 pixels in each dimension. The bytes must match
19
+ * contentType; SVG is not accepted, so rasterize vector logos first. The brand
20
+ * color is unchanged. Requires API-key scope or current OAuth user permission:
21
+ * organization:manage-report-branding
20
22
  */
21
23
  replace(body: ReportBrandingReplaceParams, options?: RequestOptions): APIPromise<ReportBrandingReplaceResponse>;
22
24
  /**
23
- * Remove the organization logo from Dashboards and Dashboard PDFs. Succeeds when
24
- * no logo is set. Requires Analytics Suite access and
25
- * organization:manage-report-branding. Requires API-key scope or current OAuth
26
- * user permission: organization:manage-report-branding
25
+ * Remove the organization logo from Dashboards, presentations, and PDF reports.
26
+ * Succeeds when no logo is set. The brand color is kept; clear it with PATCH
27
+ * /rest/v1/report-branding/colors and brandColor null. Requires API-key scope or
28
+ * current OAuth user permission: organization:manage-report-branding
27
29
  */
28
30
  delete(options?: RequestOptions): APIPromise<ReportBrandingDeleteResponse>;
31
+ /**
32
+ * Set the brand color printed on PDF reports for the header rule, table headers,
33
+ * summary band, and (when dark enough for text) headings. Send brandColor as
34
+ * #RRGGBB in either case (it is stored and returned lowercase), or null to return
35
+ * to the Ours Privacy default navy; the logo is unchanged. New PDFs use the color
36
+ * right away. Read it back with GET /rest/v1/report-branding/logo. Requires
37
+ * API-key scope or current OAuth user permission:
38
+ * organization:manage-report-branding
39
+ */
40
+ update(body: ReportBrandingUpdateParams, options?: RequestOptions): APIPromise<ReportBrandingUpdateResponse>;
29
41
  }
30
42
  export interface ReportBrandingRetrieveResponse {
31
43
  /**
32
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
33
- * set.
44
+ * Brand color as lowercase #rrggbb, printed on PDF reports for the header rule,
45
+ * table headers, summary band, and (when dark enough for text) headings, or null
46
+ * when PDFs use the Ours Privacy default navy. Independent of the logo: removing
47
+ * the logo keeps it.
48
+ */
49
+ brandColor: string | null;
50
+ /**
51
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
52
+ * when none is set.
34
53
  */
35
54
  logo: ReportBrandingRetrieveResponse.Logo | null;
36
55
  }
37
56
  export declare namespace ReportBrandingRetrieveResponse {
38
57
  /**
39
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
40
- * set.
58
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
59
+ * when none is set.
41
60
  */
42
61
  interface Logo {
43
62
  /**
@@ -64,15 +83,22 @@ export declare namespace ReportBrandingRetrieveResponse {
64
83
  }
65
84
  export interface ReportBrandingReplaceResponse {
66
85
  /**
67
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
68
- * set.
86
+ * Brand color as lowercase #rrggbb, printed on PDF reports for the header rule,
87
+ * table headers, summary band, and (when dark enough for text) headings, or null
88
+ * when PDFs use the Ours Privacy default navy. Independent of the logo: removing
89
+ * the logo keeps it.
90
+ */
91
+ brandColor: string | null;
92
+ /**
93
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
94
+ * when none is set.
69
95
  */
70
96
  logo: ReportBrandingReplaceResponse.Logo | null;
71
97
  }
72
98
  export declare namespace ReportBrandingReplaceResponse {
73
99
  /**
74
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
75
- * set.
100
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
101
+ * when none is set.
76
102
  */
77
103
  interface Logo {
78
104
  /**
@@ -99,15 +125,64 @@ export declare namespace ReportBrandingReplaceResponse {
99
125
  }
100
126
  export interface ReportBrandingDeleteResponse {
101
127
  /**
102
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
103
- * set.
128
+ * Brand color as lowercase #rrggbb, printed on PDF reports for the header rule,
129
+ * table headers, summary band, and (when dark enough for text) headings, or null
130
+ * when PDFs use the Ours Privacy default navy. Independent of the logo: removing
131
+ * the logo keeps it.
132
+ */
133
+ brandColor: string | null;
134
+ /**
135
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
136
+ * when none is set.
104
137
  */
105
138
  logo: ReportBrandingDeleteResponse.Logo | null;
106
139
  }
107
140
  export declare namespace ReportBrandingDeleteResponse {
108
141
  /**
109
- * Organization logo shown on Dashboards and Dashboard PDFs, or null when none is
110
- * set.
142
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
143
+ * when none is set.
144
+ */
145
+ interface Logo {
146
+ /**
147
+ * Decoded image size in bytes.
148
+ */
149
+ byteSize: number;
150
+ contentType: 'image/png' | 'image/jpeg' | 'image/webp';
151
+ /**
152
+ * Image height in pixels.
153
+ */
154
+ height: number;
155
+ updatedAt: string;
156
+ updatedByUserId: string;
157
+ /**
158
+ * Image width in pixels.
159
+ */
160
+ width: number;
161
+ /**
162
+ * data: URL containing the base64 image. Returned by GET unless includeDataUrl is
163
+ * false; omitted from write responses.
164
+ */
165
+ dataUrl?: string;
166
+ }
167
+ }
168
+ export interface ReportBrandingUpdateResponse {
169
+ /**
170
+ * Brand color as lowercase #rrggbb, printed on PDF reports for the header rule,
171
+ * table headers, summary band, and (when dark enough for text) headings, or null
172
+ * when PDFs use the Ours Privacy default navy. Independent of the logo: removing
173
+ * the logo keeps it.
174
+ */
175
+ brandColor: string | null;
176
+ /**
177
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
178
+ * when none is set.
179
+ */
180
+ logo: ReportBrandingUpdateResponse.Logo | null;
181
+ }
182
+ export declare namespace ReportBrandingUpdateResponse {
183
+ /**
184
+ * Organization logo shown on Dashboards, presentations, and PDF reports, or null
185
+ * when none is set.
111
186
  */
112
187
  interface Logo {
113
188
  /**
@@ -151,7 +226,16 @@ export interface ReportBrandingReplaceParams {
151
226
  */
152
227
  data: string;
153
228
  }
229
+ export interface ReportBrandingUpdateParams {
230
+ /**
231
+ * Brand color as #RRGGBB in either case; it is stored and returned lowercase.
232
+ * Needs at least 3:1 contrast against white so it stays readable on the page;
233
+ * lighter colors are rejected. Send null to return to the Ours Privacy default
234
+ * navy; omit it to leave the color unchanged.
235
+ */
236
+ brandColor?: string | null;
237
+ }
154
238
  export declare namespace ReportBranding {
155
- export { type ReportBrandingRetrieveResponse as ReportBrandingRetrieveResponse, type ReportBrandingReplaceResponse as ReportBrandingReplaceResponse, type ReportBrandingDeleteResponse as ReportBrandingDeleteResponse, type ReportBrandingRetrieveParams as ReportBrandingRetrieveParams, type ReportBrandingReplaceParams as ReportBrandingReplaceParams, };
239
+ export { type ReportBrandingRetrieveResponse as ReportBrandingRetrieveResponse, type ReportBrandingReplaceResponse as ReportBrandingReplaceResponse, type ReportBrandingDeleteResponse as ReportBrandingDeleteResponse, type ReportBrandingUpdateResponse as ReportBrandingUpdateResponse, type ReportBrandingRetrieveParams as ReportBrandingRetrieveParams, type ReportBrandingReplaceParams as ReportBrandingReplaceParams, type ReportBrandingUpdateParams as ReportBrandingUpdateParams, };
156
240
  }
157
241
  //# sourceMappingURL=report-branding.d.ts.map