@oursprivacy/platform-sdk 1.46.0 → 1.48.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 (160) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/client.d.mts +20 -11
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +20 -11
  5. package/client.d.ts.map +1 -1
  6. package/client.js +11 -2
  7. package/client.js.map +1 -1
  8. package/client.mjs +11 -2
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/attribution.d.mts +9 -1
  12. package/resources/attribution.d.mts.map +1 -1
  13. package/resources/attribution.d.ts +9 -1
  14. package/resources/attribution.d.ts.map +1 -1
  15. package/resources/consent-settings.d.mts +48 -0
  16. package/resources/consent-settings.d.mts.map +1 -1
  17. package/resources/consent-settings.d.ts +48 -0
  18. package/resources/consent-settings.d.ts.map +1 -1
  19. package/resources/conversion-journey-summaries.d.mts +38 -0
  20. package/resources/conversion-journey-summaries.d.mts.map +1 -1
  21. package/resources/conversion-journey-summaries.d.ts +38 -0
  22. package/resources/conversion-journey-summaries.d.ts.map +1 -1
  23. package/resources/conversion-journey-summaries.js +38 -0
  24. package/resources/conversion-journey-summaries.js.map +1 -1
  25. package/resources/conversion-journey-summaries.mjs +38 -0
  26. package/resources/conversion-journey-summaries.mjs.map +1 -1
  27. package/resources/data-governance.d.mts +5 -5
  28. package/resources/data-governance.d.mts.map +1 -1
  29. package/resources/data-governance.d.ts +5 -5
  30. package/resources/data-governance.d.ts.map +1 -1
  31. package/resources/destinations.d.mts +7 -27
  32. package/resources/destinations.d.mts.map +1 -1
  33. package/resources/destinations.d.ts +7 -27
  34. package/resources/destinations.d.ts.map +1 -1
  35. package/resources/experiment-variants.d.mts +4 -2
  36. package/resources/experiment-variants.d.mts.map +1 -1
  37. package/resources/experiment-variants.d.ts +4 -2
  38. package/resources/experiment-variants.d.ts.map +1 -1
  39. package/resources/experiments.d.mts +677 -102
  40. package/resources/experiments.d.mts.map +1 -1
  41. package/resources/experiments.d.ts +677 -102
  42. package/resources/experiments.d.ts.map +1 -1
  43. package/resources/experiments.js +32 -2
  44. package/resources/experiments.js.map +1 -1
  45. package/resources/experiments.mjs +32 -2
  46. package/resources/experiments.mjs.map +1 -1
  47. package/resources/funnels.d.mts +172 -22
  48. package/resources/funnels.d.mts.map +1 -1
  49. package/resources/funnels.d.ts +172 -22
  50. package/resources/funnels.d.ts.map +1 -1
  51. package/resources/funnels.js +10 -2
  52. package/resources/funnels.js.map +1 -1
  53. package/resources/funnels.mjs +10 -2
  54. package/resources/funnels.mjs.map +1 -1
  55. package/resources/heatmap-pages.d.mts +42 -14
  56. package/resources/heatmap-pages.d.mts.map +1 -1
  57. package/resources/heatmap-pages.d.ts +42 -14
  58. package/resources/heatmap-pages.d.ts.map +1 -1
  59. package/resources/heatmap-pages.js +11 -7
  60. package/resources/heatmap-pages.js.map +1 -1
  61. package/resources/heatmap-pages.mjs +11 -7
  62. package/resources/heatmap-pages.mjs.map +1 -1
  63. package/resources/index.d.mts +8 -5
  64. package/resources/index.d.mts.map +1 -1
  65. package/resources/index.d.ts +8 -5
  66. package/resources/index.d.ts.map +1 -1
  67. package/resources/index.js +7 -1
  68. package/resources/index.js.map +1 -1
  69. package/resources/index.mjs +3 -0
  70. package/resources/index.mjs.map +1 -1
  71. package/resources/mappings.d.mts +2 -2
  72. package/resources/mappings.d.mts.map +1 -1
  73. package/resources/mappings.d.ts +2 -2
  74. package/resources/mappings.d.ts.map +1 -1
  75. package/resources/session-replays.d.mts +91 -0
  76. package/resources/session-replays.d.mts.map +1 -0
  77. package/resources/session-replays.d.ts +91 -0
  78. package/resources/session-replays.d.ts.map +1 -0
  79. package/resources/session-replays.js +24 -0
  80. package/resources/session-replays.js.map +1 -0
  81. package/resources/session-replays.mjs +20 -0
  82. package/resources/session-replays.mjs.map +1 -0
  83. package/resources/short-links.d.mts +138 -37
  84. package/resources/short-links.d.mts.map +1 -1
  85. package/resources/short-links.d.ts +138 -37
  86. package/resources/short-links.d.ts.map +1 -1
  87. package/resources/short-links.js +27 -12
  88. package/resources/short-links.js.map +1 -1
  89. package/resources/short-links.mjs +27 -12
  90. package/resources/short-links.mjs.map +1 -1
  91. package/resources/sources.d.mts +10 -6
  92. package/resources/sources.d.mts.map +1 -1
  93. package/resources/sources.d.ts +10 -6
  94. package/resources/sources.d.ts.map +1 -1
  95. package/resources/tag-manager-tags.d.mts +2 -2
  96. package/resources/tag-manager-tags.d.ts +2 -2
  97. package/resources/tag-manager-tags.js +2 -2
  98. package/resources/tag-manager-tags.mjs +2 -2
  99. package/resources/tag-manager-triggers.d.mts +18 -1
  100. package/resources/tag-manager-triggers.d.mts.map +1 -1
  101. package/resources/tag-manager-triggers.d.ts +18 -1
  102. package/resources/tag-manager-triggers.d.ts.map +1 -1
  103. package/resources/translation-widgets.d.mts +355 -0
  104. package/resources/translation-widgets.d.mts.map +1 -0
  105. package/resources/translation-widgets.d.ts +355 -0
  106. package/resources/translation-widgets.d.ts.map +1 -0
  107. package/resources/translation-widgets.js +72 -0
  108. package/resources/translation-widgets.js.map +1 -0
  109. package/resources/translation-widgets.mjs +68 -0
  110. package/resources/translation-widgets.mjs.map +1 -0
  111. package/resources/video-channels.d.mts +17 -17
  112. package/resources/video-channels.d.mts.map +1 -1
  113. package/resources/video-channels.d.ts +17 -17
  114. package/resources/video-channels.d.ts.map +1 -1
  115. package/resources/video-channels.js +17 -16
  116. package/resources/video-channels.js.map +1 -1
  117. package/resources/video-channels.mjs +17 -16
  118. package/resources/video-channels.mjs.map +1 -1
  119. package/resources/web-analytics.d.mts +345 -0
  120. package/resources/web-analytics.d.mts.map +1 -0
  121. package/resources/web-analytics.d.ts +345 -0
  122. package/resources/web-analytics.d.ts.map +1 -0
  123. package/resources/web-analytics.js +61 -0
  124. package/resources/web-analytics.js.map +1 -0
  125. package/resources/web-analytics.mjs +57 -0
  126. package/resources/web-analytics.mjs.map +1 -0
  127. package/resources/web-scanners.d.mts +314 -14
  128. package/resources/web-scanners.d.mts.map +1 -1
  129. package/resources/web-scanners.d.ts +314 -14
  130. package/resources/web-scanners.d.ts.map +1 -1
  131. package/resources/web-scanners.js +139 -13
  132. package/resources/web-scanners.js.map +1 -1
  133. package/resources/web-scanners.mjs +139 -13
  134. package/resources/web-scanners.mjs.map +1 -1
  135. package/src/client.ts +124 -19
  136. package/src/resources/attribution.ts +11 -1
  137. package/src/resources/consent-settings.ts +56 -0
  138. package/src/resources/conversion-journey-summaries.ts +38 -0
  139. package/src/resources/data-governance.ts +5 -5
  140. package/src/resources/destinations.ts +18 -115
  141. package/src/resources/experiment-variants.ts +4 -2
  142. package/src/resources/experiments.ts +812 -101
  143. package/src/resources/funnels.ts +276 -21
  144. package/src/resources/heatmap-pages.ts +49 -14
  145. package/src/resources/index.ts +51 -3
  146. package/src/resources/mappings.ts +2 -2
  147. package/src/resources/session-replays.ts +138 -0
  148. package/src/resources/short-links.ts +164 -36
  149. package/src/resources/sources.ts +11 -0
  150. package/src/resources/tag-manager-tags.ts +2 -2
  151. package/src/resources/tag-manager-triggers.ts +18 -1
  152. package/src/resources/translation-widgets.ts +528 -0
  153. package/src/resources/video-channels.ts +19 -18
  154. package/src/resources/web-analytics.ts +494 -0
  155. package/src/resources/web-scanners.ts +443 -13
  156. package/src/version.ts +1 -1
  157. package/version.d.mts +1 -1
  158. package/version.d.ts +1 -1
  159. package/version.js +1 -1
  160. package/version.mjs +1 -1
@@ -0,0 +1,355 @@
1
+ import { APIResource } from "../core/resource.mjs";
2
+ import { APIPromise } from "../core/api-promise.mjs";
3
+ import { RequestOptions } from "../internal/request-options.mjs";
4
+ export declare class TranslationWidgets extends APIResource {
5
+ /**
6
+ * List every translation widget configured on the account, including the domains
7
+ * it runs on, its appearance settings, and the languages it offers. Not paginated
8
+ * — widgets are capped by the account's translation widget limit. Requires scope:
9
+ * translationWidget:list
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const translationWidgets =
14
+ * await client.translationWidgets.list();
15
+ * ```
16
+ */
17
+ list(options?: RequestOptions): APIPromise<TranslationWidgetListResponse>;
18
+ /**
19
+ * Create a translation widget. Every field is optional — anything omitted comes
20
+ * back as `null` and the widget falls back to its built-in appearance, and
21
+ * omitting `enabledLanguages` offers every supported language. Returns the full
22
+ * widget, including its id, so it can be installed without a follow-up request.
23
+ * Requires scope: translationWidget:create
24
+ *
25
+ * @example
26
+ * ```ts
27
+ * const translationWidget =
28
+ * await client.translationWidgets.create();
29
+ * ```
30
+ */
31
+ create(body: TranslationWidgetCreateParams, options?: RequestOptions): APIPromise<TranslationWidgetCreateResponse>;
32
+ /**
33
+ * Fetch one translation widget by its id. Returns 404 when it does not exist.
34
+ * Requires scope: translationWidget:find
35
+ *
36
+ * @example
37
+ * ```ts
38
+ * const translationWidget =
39
+ * await client.translationWidgets.retrieve(
40
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
41
+ * );
42
+ * ```
43
+ */
44
+ retrieve(id: string, options?: RequestOptions): APIPromise<TranslationWidgetRetrieveResponse>;
45
+ /**
46
+ * Return usage totals and language, host, and page breakdowns for one translation
47
+ * widget over the requested date range. Requires scope:
48
+ * report:translation-analytics
49
+ *
50
+ * @example
51
+ * ```ts
52
+ * const response = await client.translationWidgets.analytics(
53
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
54
+ * { from: '2019-12-27', to: '2019-12-27' },
55
+ * );
56
+ * ```
57
+ */
58
+ analytics(id: string, query: TranslationWidgetAnalyticsParams, options?: RequestOptions): APIPromise<TranslationWidgetAnalyticsResponse>;
59
+ }
60
+ export interface TranslationWidgetListResponse {
61
+ /**
62
+ * Every translation widget on the account. Not paginated — widgets are capped by
63
+ * the account's translation widget limit, so the full set always fits in one
64
+ * response.
65
+ */
66
+ entities: Array<TranslationWidgetListResponse.Entity>;
67
+ }
68
+ export declare namespace TranslationWidgetListResponse {
69
+ interface Entity {
70
+ /**
71
+ * Unique identifier for the translation widget.
72
+ */
73
+ id: string;
74
+ /**
75
+ * ISO-8601 timestamp when the widget was created.
76
+ */
77
+ createdAt: string;
78
+ /**
79
+ * Accent colour for the widget button and modal, as a hex value — `#RGB`,
80
+ * `#RRGGBB`, or `#RRGGBBAA`.
81
+ */
82
+ brandColor?: string | null;
83
+ /**
84
+ * Custom domain used to serve the widget script (e.g. `translate.example.com`).
85
+ * Leave null to use the default Ours Privacy domain. Send the bare host — no
86
+ * scheme, port, or path.
87
+ */
88
+ customDomain?: string | null;
89
+ /**
90
+ * Languages offered in the widget, as ISO codes such as `en`, `es`, `fr`, `zh-TW`.
91
+ * Omit or send an empty array to offer every supported language. An unrecognised
92
+ * code is rejected with 400 rather than silently ignored.
93
+ */
94
+ enabledLanguages?: Array<string> | null;
95
+ /**
96
+ * Layout of the language-selection modal: `standard` list, `grid` of languages, or
97
+ * a `dropdown`.
98
+ */
99
+ modalVariant?: 'standard' | 'grid' | 'dropdown' | null;
100
+ /**
101
+ * Terms the widget keeps in their original form in every language — brand names,
102
+ * product names, and the like. Up to 500 terms of 200 characters each; duplicates
103
+ * and purely numeric terms are dropped.
104
+ */
105
+ noTranslateTerms?: Array<string> | null;
106
+ /**
107
+ * Corner of the viewport the widget button is anchored to.
108
+ */
109
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | null;
110
+ /**
111
+ * Colour scheme the widget renders in.
112
+ */
113
+ theme?: 'light' | 'dark' | null;
114
+ /**
115
+ * ISO-8601 timestamp of the most recent change. Matches `createdAt` on a widget
116
+ * that has never been edited.
117
+ */
118
+ updatedAt?: string | null;
119
+ /**
120
+ * Domains where this widget is allowed to run. The widget refuses to load anywhere
121
+ * else, so a missing host means the widget never appears. Send bare hosts — no
122
+ * scheme, port, or path.
123
+ */
124
+ whitelistedDomains?: Array<string> | null;
125
+ /**
126
+ * Visual style of the widget button: `compact` for an icon-sized button,
127
+ * `extended` for a labelled button, `minimal` for the least intrusive treatment.
128
+ */
129
+ widgetVariant?: 'compact' | 'extended' | 'minimal' | null;
130
+ }
131
+ }
132
+ export interface TranslationWidgetCreateResponse {
133
+ /**
134
+ * Unique identifier for the translation widget.
135
+ */
136
+ id: string;
137
+ /**
138
+ * ISO-8601 timestamp when the widget was created.
139
+ */
140
+ createdAt: string;
141
+ /**
142
+ * Accent colour for the widget button and modal, as a hex value — `#RGB`,
143
+ * `#RRGGBB`, or `#RRGGBBAA`.
144
+ */
145
+ brandColor?: string | null;
146
+ /**
147
+ * Custom domain used to serve the widget script (e.g. `translate.example.com`).
148
+ * Leave null to use the default Ours Privacy domain. Send the bare host — no
149
+ * scheme, port, or path.
150
+ */
151
+ customDomain?: string | null;
152
+ /**
153
+ * Languages offered in the widget, as ISO codes such as `en`, `es`, `fr`, `zh-TW`.
154
+ * Omit or send an empty array to offer every supported language. An unrecognised
155
+ * code is rejected with 400 rather than silently ignored.
156
+ */
157
+ enabledLanguages?: Array<string> | null;
158
+ /**
159
+ * Layout of the language-selection modal: `standard` list, `grid` of languages, or
160
+ * a `dropdown`.
161
+ */
162
+ modalVariant?: 'standard' | 'grid' | 'dropdown' | null;
163
+ /**
164
+ * Terms the widget keeps in their original form in every language — brand names,
165
+ * product names, and the like. Up to 500 terms of 200 characters each; duplicates
166
+ * and purely numeric terms are dropped.
167
+ */
168
+ noTranslateTerms?: Array<string> | null;
169
+ /**
170
+ * Corner of the viewport the widget button is anchored to.
171
+ */
172
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | null;
173
+ /**
174
+ * Colour scheme the widget renders in.
175
+ */
176
+ theme?: 'light' | 'dark' | null;
177
+ /**
178
+ * ISO-8601 timestamp of the most recent change. Matches `createdAt` on a widget
179
+ * that has never been edited.
180
+ */
181
+ updatedAt?: string | null;
182
+ /**
183
+ * Domains where this widget is allowed to run. The widget refuses to load anywhere
184
+ * else, so a missing host means the widget never appears. Send bare hosts — no
185
+ * scheme, port, or path.
186
+ */
187
+ whitelistedDomains?: Array<string> | null;
188
+ /**
189
+ * Visual style of the widget button: `compact` for an icon-sized button,
190
+ * `extended` for a labelled button, `minimal` for the least intrusive treatment.
191
+ */
192
+ widgetVariant?: 'compact' | 'extended' | 'minimal' | null;
193
+ }
194
+ export interface TranslationWidgetRetrieveResponse {
195
+ /**
196
+ * Unique identifier for the translation widget.
197
+ */
198
+ id: string;
199
+ /**
200
+ * ISO-8601 timestamp when the widget was created.
201
+ */
202
+ createdAt: string;
203
+ /**
204
+ * Accent colour for the widget button and modal, as a hex value — `#RGB`,
205
+ * `#RRGGBB`, or `#RRGGBBAA`.
206
+ */
207
+ brandColor?: string | null;
208
+ /**
209
+ * Custom domain used to serve the widget script (e.g. `translate.example.com`).
210
+ * Leave null to use the default Ours Privacy domain. Send the bare host — no
211
+ * scheme, port, or path.
212
+ */
213
+ customDomain?: string | null;
214
+ /**
215
+ * Languages offered in the widget, as ISO codes such as `en`, `es`, `fr`, `zh-TW`.
216
+ * Omit or send an empty array to offer every supported language. An unrecognised
217
+ * code is rejected with 400 rather than silently ignored.
218
+ */
219
+ enabledLanguages?: Array<string> | null;
220
+ /**
221
+ * Layout of the language-selection modal: `standard` list, `grid` of languages, or
222
+ * a `dropdown`.
223
+ */
224
+ modalVariant?: 'standard' | 'grid' | 'dropdown' | null;
225
+ /**
226
+ * Terms the widget keeps in their original form in every language — brand names,
227
+ * product names, and the like. Up to 500 terms of 200 characters each; duplicates
228
+ * and purely numeric terms are dropped.
229
+ */
230
+ noTranslateTerms?: Array<string> | null;
231
+ /**
232
+ * Corner of the viewport the widget button is anchored to.
233
+ */
234
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left' | null;
235
+ /**
236
+ * Colour scheme the widget renders in.
237
+ */
238
+ theme?: 'light' | 'dark' | null;
239
+ /**
240
+ * ISO-8601 timestamp of the most recent change. Matches `createdAt` on a widget
241
+ * that has never been edited.
242
+ */
243
+ updatedAt?: string | null;
244
+ /**
245
+ * Domains where this widget is allowed to run. The widget refuses to load anywhere
246
+ * else, so a missing host means the widget never appears. Send bare hosts — no
247
+ * scheme, port, or path.
248
+ */
249
+ whitelistedDomains?: Array<string> | null;
250
+ /**
251
+ * Visual style of the widget button: `compact` for an icon-sized button,
252
+ * `extended` for a labelled button, `minimal` for the least intrusive treatment.
253
+ */
254
+ widgetVariant?: 'compact' | 'extended' | 'minimal' | null;
255
+ }
256
+ export interface TranslationWidgetAnalyticsResponse {
257
+ byHost: Array<TranslationWidgetAnalyticsResponse.ByHost>;
258
+ byLanguage: Array<TranslationWidgetAnalyticsResponse.ByLanguage>;
259
+ languagesUsed: number;
260
+ topPages: Array<TranslationWidgetAnalyticsResponse.TopPage>;
261
+ totalTranslations: number;
262
+ uniqueUsers: number;
263
+ }
264
+ export declare namespace TranslationWidgetAnalyticsResponse {
265
+ interface ByHost {
266
+ host: string;
267
+ translations: number;
268
+ uniqueUsers: number;
269
+ }
270
+ interface ByLanguage {
271
+ languageCode: string;
272
+ translations: number;
273
+ uniqueUsers: number;
274
+ }
275
+ interface TopPage {
276
+ byLanguage: Array<TopPage.ByLanguage>;
277
+ translations: number;
278
+ uniqueUsers: number;
279
+ url: string;
280
+ }
281
+ namespace TopPage {
282
+ interface ByLanguage {
283
+ languageCode: string;
284
+ translations: number;
285
+ uniqueUsers: number;
286
+ }
287
+ }
288
+ }
289
+ export interface TranslationWidgetCreateParams {
290
+ /**
291
+ * Accent colour for the widget button and modal, as a hex value — `#RGB`,
292
+ * `#RRGGBB`, or `#RRGGBBAA`.
293
+ */
294
+ brandColor?: string | null;
295
+ /**
296
+ * Custom domain used to serve the widget script (e.g. `translate.example.com`).
297
+ * Leave null to use the default Ours Privacy domain. Send the bare host — no
298
+ * scheme, port, or path.
299
+ */
300
+ customDomain?: string | null;
301
+ /**
302
+ * Languages offered in the widget, as ISO codes such as `en`, `es`, `fr`, `zh-TW`.
303
+ * Omit or send an empty array to offer every supported language. An unrecognised
304
+ * code is rejected with 400 rather than silently ignored.
305
+ */
306
+ enabledLanguages?: Array<'af' | 'sq' | 'am' | 'ar' | 'hy' | 'az' | 'bn' | 'bs' | 'bg' | 'ca' | 'zh' | 'zh-TW' | 'hr' | 'cs' | 'da' | 'fa-AF' | 'nl' | 'en' | 'et' | 'fa' | 'tl' | 'fi' | 'fr' | 'fr-CA' | 'ka' | 'de' | 'el' | 'gu' | 'ht' | 'ha' | 'he' | 'hi' | 'hu' | 'is' | 'id' | 'ga' | 'it' | 'ja' | 'kn' | 'kk' | 'ko' | 'lv' | 'lt' | 'mk' | 'ms' | 'ml' | 'mt' | 'mr' | 'mn' | 'no' | 'ps' | 'pl' | 'pt' | 'pt-PT' | 'pa' | 'ro' | 'ru' | 'sr' | 'si' | 'sk' | 'sl' | 'so' | 'es' | 'es-MX' | 'sw' | 'sv' | 'ta' | 'te' | 'th' | 'tr' | 'uk' | 'ur' | 'uz' | 'vi' | 'cy'> | null;
307
+ /**
308
+ * Layout of the language-selection modal: `standard` list, `grid` of languages, or
309
+ * a `dropdown`.
310
+ */
311
+ modalVariant?: 'standard' | 'grid' | 'dropdown';
312
+ /**
313
+ * Terms the widget keeps in their original form in every language — brand names,
314
+ * product names, and the like. Up to 500 terms of 200 characters each; duplicates
315
+ * and purely numeric terms are dropped.
316
+ */
317
+ noTranslateTerms?: Array<string> | null;
318
+ /**
319
+ * Corner of the viewport the widget button is anchored to.
320
+ */
321
+ position?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
322
+ /**
323
+ * Colour scheme the widget renders in.
324
+ */
325
+ theme?: 'light' | 'dark';
326
+ /**
327
+ * Domains where this widget is allowed to run. The widget refuses to load anywhere
328
+ * else, so a missing host means the widget never appears. Send bare hosts — no
329
+ * scheme, port, or path.
330
+ */
331
+ whitelistedDomains?: Array<string> | null;
332
+ /**
333
+ * Visual style of the widget button: `compact` for an icon-sized button,
334
+ * `extended` for a labelled button, `minimal` for the least intrusive treatment.
335
+ */
336
+ widgetVariant?: 'compact' | 'extended' | 'minimal';
337
+ }
338
+ export interface TranslationWidgetAnalyticsParams {
339
+ /**
340
+ * Inclusive lower bound of the analytics window as `YYYY-MM-DD`.
341
+ */
342
+ from: string;
343
+ /**
344
+ * Inclusive upper bound of the analytics window as `YYYY-MM-DD`.
345
+ */
346
+ to: string;
347
+ /**
348
+ * Maximum rows to return for each breakdown. Defaults to 50.
349
+ */
350
+ limit?: number;
351
+ }
352
+ export declare namespace TranslationWidgets {
353
+ export { type TranslationWidgetListResponse as TranslationWidgetListResponse, type TranslationWidgetCreateResponse as TranslationWidgetCreateResponse, type TranslationWidgetRetrieveResponse as TranslationWidgetRetrieveResponse, type TranslationWidgetAnalyticsResponse as TranslationWidgetAnalyticsResponse, type TranslationWidgetCreateParams as TranslationWidgetCreateParams, type TranslationWidgetAnalyticsParams as TranslationWidgetAnalyticsParams, };
354
+ }
355
+ //# sourceMappingURL=translation-widgets.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-widgets.d.mts","sourceRoot":"","sources":["../src/resources/translation-widgets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,6BAA6B,CAAC;IAIzE;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,iCAAiC,CAAC;IAI7F;;;;;;;;;;;;OAYG;IACH,SAAS,CACP,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,gCAAgC,EACvC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kCAAkC,CAAC;CAGlD;AAED,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