@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.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { RequestOptions } from "../internal/request-options.js";
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.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-widgets.d.ts","sourceRoot":"","sources":["../src/resources/translation-widgets.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;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,MAAM,W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;;OAIG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAExC;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,GAAG,aAAa,GAAG,WAAW,GAAG,UAAU,CAAC;IAErE;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEzB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;IAE1C;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;CACpD;AAED,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,kBAAkB,CAAC;IAC1C,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,gCAAgC,IAAI,gCAAgC,GAC1E,CAAC;CACH"}
@@ -0,0 +1,72 @@
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.TranslationWidgets = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const path_1 = require("../internal/utils/path.js");
7
+ class TranslationWidgets extends resource_1.APIResource {
8
+ /**
9
+ * List every translation widget configured on the account, including the domains
10
+ * it runs on, its appearance settings, and the languages it offers. Not paginated
11
+ * — widgets are capped by the account's translation widget limit. Requires scope:
12
+ * translationWidget:list
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const translationWidgets =
17
+ * await client.translationWidgets.list();
18
+ * ```
19
+ */
20
+ list(options) {
21
+ return this._client.get('/rest/v1/translation-widgets', options);
22
+ }
23
+ /**
24
+ * Create a translation widget. Every field is optional — anything omitted comes
25
+ * back as `null` and the widget falls back to its built-in appearance, and
26
+ * omitting `enabledLanguages` offers every supported language. Returns the full
27
+ * widget, including its id, so it can be installed without a follow-up request.
28
+ * Requires scope: translationWidget:create
29
+ *
30
+ * @example
31
+ * ```ts
32
+ * const translationWidget =
33
+ * await client.translationWidgets.create();
34
+ * ```
35
+ */
36
+ create(body, options) {
37
+ return this._client.post('/rest/v1/translation-widgets', { body, ...options });
38
+ }
39
+ /**
40
+ * Fetch one translation widget by its id. Returns 404 when it does not exist.
41
+ * Requires scope: translationWidget:find
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * const translationWidget =
46
+ * await client.translationWidgets.retrieve(
47
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
48
+ * );
49
+ * ```
50
+ */
51
+ retrieve(id, options) {
52
+ return this._client.get((0, path_1.path) `/rest/v1/translation-widgets/${id}`, options);
53
+ }
54
+ /**
55
+ * Return usage totals and language, host, and page breakdowns for one translation
56
+ * widget over the requested date range. Requires scope:
57
+ * report:translation-analytics
58
+ *
59
+ * @example
60
+ * ```ts
61
+ * const response = await client.translationWidgets.analytics(
62
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
63
+ * { from: '2019-12-27', to: '2019-12-27' },
64
+ * );
65
+ * ```
66
+ */
67
+ analytics(id, query, options) {
68
+ return this._client.get((0, path_1.path) `/rest/v1/translation-widgets/${id}/analytics`, { query, ...options });
69
+ }
70
+ }
71
+ exports.TranslationWidgets = TranslationWidgets;
72
+ //# sourceMappingURL=translation-widgets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-widgets.js","sourceRoot":"","sources":["../src/resources/translation-widgets.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gCAAgC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,SAAS,CACP,EAAU,EACV,KAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gCAAgC,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;CACF;AAzED,gDAyEC"}
@@ -0,0 +1,68 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { path } from "../internal/utils/path.mjs";
4
+ export 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) {
18
+ return this._client.get('/rest/v1/translation-widgets', options);
19
+ }
20
+ /**
21
+ * Create a translation widget. Every field is optional — anything omitted comes
22
+ * back as `null` and the widget falls back to its built-in appearance, and
23
+ * omitting `enabledLanguages` offers every supported language. Returns the full
24
+ * widget, including its id, so it can be installed without a follow-up request.
25
+ * Requires scope: translationWidget:create
26
+ *
27
+ * @example
28
+ * ```ts
29
+ * const translationWidget =
30
+ * await client.translationWidgets.create();
31
+ * ```
32
+ */
33
+ create(body, options) {
34
+ return this._client.post('/rest/v1/translation-widgets', { body, ...options });
35
+ }
36
+ /**
37
+ * Fetch one translation widget by its id. Returns 404 when it does not exist.
38
+ * Requires scope: translationWidget:find
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const translationWidget =
43
+ * await client.translationWidgets.retrieve(
44
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
45
+ * );
46
+ * ```
47
+ */
48
+ retrieve(id, options) {
49
+ return this._client.get(path `/rest/v1/translation-widgets/${id}`, options);
50
+ }
51
+ /**
52
+ * Return usage totals and language, host, and page breakdowns for one translation
53
+ * widget over the requested date range. Requires scope:
54
+ * report:translation-analytics
55
+ *
56
+ * @example
57
+ * ```ts
58
+ * const response = await client.translationWidgets.analytics(
59
+ * '182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e',
60
+ * { from: '2019-12-27', to: '2019-12-27' },
61
+ * );
62
+ * ```
63
+ */
64
+ analytics(id, query, options) {
65
+ return this._client.get(path `/rest/v1/translation-widgets/${id}/analytics`, { query, ...options });
66
+ }
67
+ }
68
+ //# sourceMappingURL=translation-widgets.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translation-widgets.mjs","sourceRoot":"","sources":["../src/resources/translation-widgets.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gCAAgC,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,SAAS,CACP,EAAU,EACV,KAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gCAAgC,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;CACF"}
@@ -6,14 +6,14 @@ export declare class VideoChannels extends APIResource {
6
6
  /**
7
7
  * List video channels for the account, sorted by name. Supports cursor pagination
8
8
  * via `limit` and `cursor`; the limit clamp is 1000 so a single request can return
9
- * the full set. Entries omit `resolvedValues` — fetch a channel by id for its video
10
- * count and embed output. Requires scope: videoChannel:list
9
+ * the full set. Entries omit `resolvedValues` — fetch a channel by id for its
10
+ * video count and embed output. Requires scope: videoChannel:list
11
11
  */
12
12
  list(query?: VideoChannelListParams | null | undefined, options?: RequestOptions): PagePromise<VideoChannelListResponsesCursor, VideoChannelListResponse>;
13
13
  /**
14
- * Create a video channel. Only `name` is accepted here; set branding and publish it
15
- * with PATCH, and add videos with `POST /rest/v1/video-channels/{id}/media`. New
16
- * channels start unpublished, so the page is not reachable until you send
14
+ * Create a video channel. Only `name` is accepted here; set branding and publish
15
+ * it with PATCH, and add videos with `POST /rest/v1/video-channels/{id}/media`.
16
+ * New channels start unpublished, so the page is not reachable until you send
17
17
  * `isPublished: true`. Requires scope: videoChannel:create
18
18
  */
19
19
  create(body: VideoChannelCreateParams, options?: RequestOptions): APIPromise<VideoChannelCreateResponse>;
@@ -52,18 +52,18 @@ export declare class VideoChannels extends APIResource {
52
52
  */
53
53
  assignMedia(id: string, body: VideoChannelAssignMediaParams, options?: RequestOptions): APIPromise<VideoChannelAssignMediaResponse>;
54
54
  /**
55
- * Remove one video from a channel, identified by the `mediaId` query parameter. The
56
- * video itself is not deleted and stays in any other channel it belongs to.
57
- * Idempotent — removing a video that is not in the channel succeeds and returns the
58
- * channel unchanged. Requires scope: videoChannel:update
55
+ * Remove one video from a channel, identified by the `mediaId` query parameter.
56
+ * The video itself is not deleted and stays in any other channel it belongs to.
57
+ * Idempotent — removing a video that is not in the channel succeeds and returns
58
+ * the channel unchanged. Requires scope: videoChannel:update
59
59
  */
60
- removeMedia(id: string, query: VideoChannelRemoveMediaParams, options?: RequestOptions): APIPromise<VideoChannelRemoveMediaResponse>;
60
+ removeMedia(id: string, params: VideoChannelRemoveMediaParams, options?: RequestOptions): APIPromise<VideoChannelRemoveMediaResponse>;
61
61
  /**
62
- * Set the display order of a channel’s videos. Send every video id currently in the
63
- * channel in the order you want them shown — index 0 appears first. A partial list,
64
- * or an id that is not in the channel, returns 400 so a caller working from a stale
65
- * view learns it is out of date instead of getting a partial write. Requires scope:
66
- * videoChannel:update
62
+ * Set the display order of a channel’s videos. Send every video id currently in
63
+ * the channel in the order you want them shown — index 0 appears first. A partial
64
+ * list, or an id that is not in the channel, returns 400 so a caller working from
65
+ * a stale view learns it is out of date instead of getting a partial write.
66
+ * Requires scope: videoChannel:update
67
67
  */
68
68
  reorder(id: string, body: VideoChannelReorderParams, options?: RequestOptions): APIPromise<VideoChannelReorderResponse>;
69
69
  }
@@ -213,8 +213,8 @@ export interface VideoChannelAssignMediaParams {
213
213
  */
214
214
  mediaId: string;
215
215
  /**
216
- * Zero-based slot in the channel order. Omit to append to the end; omitting it on a
217
- * video that is already in the channel keeps its current slot.
216
+ * Zero-based slot in the channel order. Omit to append to the end; omitting it on
217
+ * a video that is already in the channel keeps its current slot.
218
218
  */
219
219
  position?: number;
220
220
  }
@@ -1 +1 @@
1
- {"version":3,"file":"video-channels.d.mts","sourceRoot":"","sources":["../src/resources/video-channels.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE,+BAA2B;AAC5E,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,+BAA+B,EAAE,wBAAwB,CAAC;IAOzE;;;;;OAKG;IACH,MAAM,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIxG;;;OAGG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;IAIxF;;;;;;OAMG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,0BAA0B,CAAC;IAIzC;;;OAGG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,0BAA0B,CAAC;IAIpF;;;;;OAKG;IACH,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,yBAAyB,CAAC;IAIlF;;;;;;;OAOG;I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