@codeqr/ts 0.9.0 → 0.24.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 (243) hide show
  1. package/CHANGELOG.md +509 -0
  2. package/LICENSE +1 -1
  3. package/README.md +12 -1
  4. package/api-promise.d.mts +1 -0
  5. package/api-promise.d.mts.map +1 -1
  6. package/api-promise.d.ts +1 -0
  7. package/api-promise.d.ts.map +1 -1
  8. package/api-promise.mjs +1 -0
  9. package/api-promise.mjs.map +1 -1
  10. package/client.d.mts +8 -7
  11. package/client.d.mts.map +1 -1
  12. package/client.d.ts +8 -7
  13. package/client.d.ts.map +1 -1
  14. package/client.js +43 -10
  15. package/client.js.map +1 -1
  16. package/client.mjs +43 -10
  17. package/client.mjs.map +1 -1
  18. package/core/api-promise.d.mts.map +1 -1
  19. package/core/api-promise.d.ts.map +1 -1
  20. package/core/api-promise.mjs.map +1 -1
  21. package/core/error.mjs.map +1 -1
  22. package/core/resource.d.mts.map +1 -1
  23. package/core/resource.d.ts.map +1 -1
  24. package/core/uploads.d.mts.map +1 -1
  25. package/core/uploads.d.ts.map +1 -1
  26. package/core/uploads.mjs.map +1 -1
  27. package/error.d.mts +1 -0
  28. package/error.d.mts.map +1 -1
  29. package/error.d.ts +1 -0
  30. package/error.d.ts.map +1 -1
  31. package/error.mjs +1 -0
  32. package/error.mjs.map +1 -1
  33. package/index.d.mts.map +1 -1
  34. package/index.d.ts.map +1 -1
  35. package/index.mjs.map +1 -1
  36. package/internal/detect-platform.mjs.map +1 -1
  37. package/internal/headers.mjs.map +1 -1
  38. package/internal/parse.d.mts.map +1 -1
  39. package/internal/parse.d.ts.map +1 -1
  40. package/internal/parse.js +5 -0
  41. package/internal/parse.js.map +1 -1
  42. package/internal/parse.mjs +5 -0
  43. package/internal/parse.mjs.map +1 -1
  44. package/internal/qs/formats.d.mts.map +1 -1
  45. package/internal/qs/formats.d.ts.map +1 -1
  46. package/internal/qs/index.d.mts +2 -2
  47. package/internal/qs/index.d.mts.map +1 -1
  48. package/internal/qs/index.d.ts +2 -2
  49. package/internal/qs/index.d.ts.map +1 -1
  50. package/internal/qs/index.mjs.map +1 -1
  51. package/internal/qs/stringify.d.mts.map +1 -1
  52. package/internal/qs/stringify.d.ts.map +1 -1
  53. package/internal/qs/stringify.mjs.map +1 -1
  54. package/internal/qs/utils.d.mts.map +1 -1
  55. package/internal/qs/utils.d.ts.map +1 -1
  56. package/internal/qs/utils.mjs.map +1 -1
  57. package/internal/request-options.d.mts.map +1 -1
  58. package/internal/request-options.d.ts.map +1 -1
  59. package/internal/shims.d.mts +6 -0
  60. package/internal/shims.d.mts.map +1 -1
  61. package/internal/shims.d.ts +6 -0
  62. package/internal/shims.d.ts.map +1 -1
  63. package/internal/to-file.d.mts.map +1 -1
  64. package/internal/to-file.d.ts.map +1 -1
  65. package/internal/to-file.mjs.map +1 -1
  66. package/internal/types.d.mts +10 -10
  67. package/internal/types.d.mts.map +1 -1
  68. package/internal/types.d.ts +10 -10
  69. package/internal/types.d.ts.map +1 -1
  70. package/internal/uploads.d.mts.map +1 -1
  71. package/internal/uploads.d.ts.map +1 -1
  72. package/internal/uploads.mjs.map +1 -1
  73. package/internal/utils/base64.mjs.map +1 -1
  74. package/internal/utils/env.js +2 -2
  75. package/internal/utils/env.js.map +1 -1
  76. package/internal/utils/env.mjs +2 -2
  77. package/internal/utils/env.mjs.map +1 -1
  78. package/internal/utils/log.d.mts.map +1 -1
  79. package/internal/utils/log.d.ts.map +1 -1
  80. package/internal/utils/log.js +2 -0
  81. package/internal/utils/log.js.map +1 -1
  82. package/internal/utils/log.mjs +2 -0
  83. package/internal/utils/log.mjs.map +1 -1
  84. package/internal/utils/path.mjs.map +1 -1
  85. package/internal/utils/query.d.mts +2 -0
  86. package/internal/utils/query.d.mts.map +1 -0
  87. package/internal/utils/query.d.ts +2 -0
  88. package/internal/utils/query.d.ts.map +1 -0
  89. package/internal/utils/query.js +10 -0
  90. package/internal/utils/query.js.map +1 -0
  91. package/internal/utils/query.mjs +6 -0
  92. package/internal/utils/query.mjs.map +1 -0
  93. package/internal/utils/values.mjs.map +1 -1
  94. package/internal/utils.d.mts +1 -0
  95. package/internal/utils.d.mts.map +1 -1
  96. package/internal/utils.d.ts +1 -0
  97. package/internal/utils.d.ts.map +1 -1
  98. package/internal/utils.js +1 -0
  99. package/internal/utils.js.map +1 -1
  100. package/internal/utils.mjs +1 -0
  101. package/internal/utils.mjs.map +1 -1
  102. package/package.json +12 -1
  103. package/resource.d.mts +1 -0
  104. package/resource.d.mts.map +1 -1
  105. package/resource.d.ts +1 -0
  106. package/resource.d.ts.map +1 -1
  107. package/resource.mjs +1 -0
  108. package/resource.mjs.map +1 -1
  109. package/resources/analytics.d.mts +23 -3
  110. package/resources/analytics.d.mts.map +1 -1
  111. package/resources/analytics.d.ts +23 -3
  112. package/resources/analytics.d.ts.map +1 -1
  113. package/resources/analytics.mjs.map +1 -1
  114. package/resources/domains.d.mts +27 -27
  115. package/resources/domains.d.mts.map +1 -1
  116. package/resources/domains.d.ts +27 -27
  117. package/resources/domains.d.ts.map +1 -1
  118. package/resources/domains.js +8 -8
  119. package/resources/domains.js.map +1 -1
  120. package/resources/domains.mjs +8 -8
  121. package/resources/domains.mjs.map +1 -1
  122. package/resources/events.d.mts +53 -137
  123. package/resources/events.d.mts.map +1 -1
  124. package/resources/events.d.ts +53 -137
  125. package/resources/events.d.ts.map +1 -1
  126. package/resources/events.mjs.map +1 -1
  127. package/resources/index.d.mts +4 -4
  128. package/resources/index.d.mts.map +1 -1
  129. package/resources/index.d.ts +4 -4
  130. package/resources/index.d.ts.map +1 -1
  131. package/resources/index.js.map +1 -1
  132. package/resources/index.mjs.map +1 -1
  133. package/resources/links/bulk.d.mts +16 -26
  134. package/resources/links/bulk.d.mts.map +1 -1
  135. package/resources/links/bulk.d.ts +16 -26
  136. package/resources/links/bulk.d.ts.map +1 -1
  137. package/resources/links/bulk.js +0 -14
  138. package/resources/links/bulk.js.map +1 -1
  139. package/resources/links/bulk.mjs +0 -14
  140. package/resources/links/bulk.mjs.map +1 -1
  141. package/resources/links/index.d.mts +2 -2
  142. package/resources/links/index.d.mts.map +1 -1
  143. package/resources/links/index.d.ts +2 -2
  144. package/resources/links/index.d.ts.map +1 -1
  145. package/resources/links/index.js.map +1 -1
  146. package/resources/links/index.mjs +1 -1
  147. package/resources/links/index.mjs.map +1 -1
  148. package/resources/links/links.d.mts +232 -988
  149. package/resources/links/links.d.mts.map +1 -1
  150. package/resources/links/links.d.ts +232 -988
  151. package/resources/links/links.d.ts.map +1 -1
  152. package/resources/links/links.js +16 -42
  153. package/resources/links/links.js.map +1 -1
  154. package/resources/links/links.mjs +16 -42
  155. package/resources/links/links.mjs.map +1 -1
  156. package/resources/links.d.mts.map +1 -1
  157. package/resources/links.d.ts.map +1 -1
  158. package/resources/links.mjs.map +1 -1
  159. package/resources/projects.d.mts +0 -4
  160. package/resources/projects.d.mts.map +1 -1
  161. package/resources/projects.d.ts +0 -4
  162. package/resources/projects.d.ts.map +1 -1
  163. package/resources/projects.js +0 -7
  164. package/resources/projects.js.map +1 -1
  165. package/resources/projects.mjs +0 -7
  166. package/resources/projects.mjs.map +1 -1
  167. package/resources/qrcodes/bulk.d.mts +111 -38
  168. package/resources/qrcodes/bulk.d.mts.map +1 -1
  169. package/resources/qrcodes/bulk.d.ts +111 -38
  170. package/resources/qrcodes/bulk.d.ts.map +1 -1
  171. package/resources/qrcodes/bulk.js +0 -14
  172. package/resources/qrcodes/bulk.js.map +1 -1
  173. package/resources/qrcodes/bulk.mjs +0 -14
  174. package/resources/qrcodes/bulk.mjs.map +1 -1
  175. package/resources/qrcodes/index.d.mts +2 -2
  176. package/resources/qrcodes/index.d.mts.map +1 -1
  177. package/resources/qrcodes/index.d.ts +2 -2
  178. package/resources/qrcodes/index.d.ts.map +1 -1
  179. package/resources/qrcodes/index.js.map +1 -1
  180. package/resources/qrcodes/index.mjs +1 -1
  181. package/resources/qrcodes/index.mjs.map +1 -1
  182. package/resources/qrcodes/qrcodes.d.mts +442 -855
  183. package/resources/qrcodes/qrcodes.d.mts.map +1 -1
  184. package/resources/qrcodes/qrcodes.d.ts +442 -855
  185. package/resources/qrcodes/qrcodes.d.ts.map +1 -1
  186. package/resources/qrcodes/qrcodes.js +12 -42
  187. package/resources/qrcodes/qrcodes.js.map +1 -1
  188. package/resources/qrcodes/qrcodes.mjs +12 -42
  189. package/resources/qrcodes/qrcodes.mjs.map +1 -1
  190. package/resources/qrcodes.d.mts.map +1 -1
  191. package/resources/qrcodes.d.ts.map +1 -1
  192. package/resources/qrcodes.mjs.map +1 -1
  193. package/resources/tags.d.mts +19 -15
  194. package/resources/tags.d.mts.map +1 -1
  195. package/resources/tags.d.ts +19 -15
  196. package/resources/tags.d.ts.map +1 -1
  197. package/resources/tags.js +7 -7
  198. package/resources/tags.js.map +1 -1
  199. package/resources/tags.mjs +7 -7
  200. package/resources/tags.mjs.map +1 -1
  201. package/resources/track.d.mts +10 -9
  202. package/resources/track.d.mts.map +1 -1
  203. package/resources/track.d.ts +10 -9
  204. package/resources/track.d.ts.map +1 -1
  205. package/resources/track.mjs.map +1 -1
  206. package/resources.d.mts.map +1 -1
  207. package/resources.d.ts.map +1 -1
  208. package/resources.mjs.map +1 -1
  209. package/src/client.ts +53 -29
  210. package/src/internal/parse.ts +6 -0
  211. package/src/internal/types.ts +6 -8
  212. package/src/internal/utils/env.ts +2 -2
  213. package/src/internal/utils/log.ts +2 -0
  214. package/src/internal/utils/query.ts +7 -0
  215. package/src/internal/utils.ts +1 -0
  216. package/src/resources/analytics.ts +33 -3
  217. package/src/resources/domains.ts +38 -38
  218. package/src/resources/events.ts +90 -143
  219. package/src/resources/index.ts +4 -10
  220. package/src/resources/links/bulk.ts +30 -37
  221. package/src/resources/links/index.ts +2 -11
  222. package/src/resources/links/links.ts +227 -1538
  223. package/src/resources/projects.ts +0 -8
  224. package/src/resources/qrcodes/bulk.ts +151 -50
  225. package/src/resources/qrcodes/index.ts +2 -11
  226. package/src/resources/qrcodes/qrcodes.ts +405 -1083
  227. package/src/resources/tags.ts +23 -18
  228. package/src/resources/track.ts +10 -9
  229. package/src/version.ts +1 -1
  230. package/uploads.d.mts +1 -0
  231. package/uploads.d.mts.map +1 -1
  232. package/uploads.d.ts +1 -0
  233. package/uploads.d.ts.map +1 -1
  234. package/uploads.mjs +1 -0
  235. package/uploads.mjs.map +1 -1
  236. package/version.d.mts +1 -1
  237. package/version.d.mts.map +1 -1
  238. package/version.d.ts +1 -1
  239. package/version.d.ts.map +1 -1
  240. package/version.js +1 -1
  241. package/version.js.map +1 -1
  242. package/version.mjs +1 -1
  243. package/version.mjs.map +1 -1
@@ -3,16 +3,8 @@
3
3
  import { APIResource } from '../core/resource';
4
4
  import { APIPromise } from '../core/api-promise';
5
5
  import { RequestOptions } from '../internal/request-options';
6
- import { path } from '../internal/utils/path';
7
6
 
8
7
  export class Projects extends APIResource {
9
- /**
10
- * Retrieve a project for the authenticated user.
11
- */
12
- retrieve(projectSlug: string, options?: RequestOptions): APIPromise<Project> {
13
- return this._client.get(path`/projects/${projectSlug}`, options);
14
- }
15
-
16
8
  /**
17
9
  * Retrieve a list of projects for the authenticated user.
18
10
  */
@@ -21,21 +21,6 @@ export class Bulk extends APIResource {
21
21
  const { body } = params ?? {};
22
22
  return this._client.post('/qrcodes/bulk', { body: body, ...options });
23
23
  }
24
-
25
- /**
26
- * Bulk delete up to 100 QR Codes for the authenticated workspace.
27
- *
28
- * @example
29
- * ```ts
30
- * const bulk = await client.qrcodes.bulk.delete({
31
- * qrcodeIds: ['clux0rgak00011...', 'clux0rgak00022...'],
32
- * });
33
- * ```
34
- */
35
- delete(params: BulkDeleteParams, options?: RequestOptions): APIPromise<BulkDeleteResponse> {
36
- const { qrcodeIds } = params;
37
- return this._client.delete('/qrcodes/bulk', { query: { qrcodeIds }, ...options });
38
- }
39
24
  }
40
25
 
41
26
  export type BulkCreateResponse = Array<QrcodesAPI.QrCode | BulkCreateResponse.QrCodeErrorSchema>;
@@ -56,7 +41,8 @@ export namespace BulkCreateResponse {
56
41
  | 'invite_pending'
57
42
  | 'exceeded_limit'
58
43
  | 'conflict'
59
- | 'unprocessable_entity';
44
+ | 'unprocessable_entity'
45
+ | 'service_unavailable';
60
46
 
61
47
  /**
62
48
  * The error message.
@@ -70,28 +56,29 @@ export namespace BulkCreateResponse {
70
56
  }
71
57
  }
72
58
 
73
- export interface BulkDeleteResponse {
74
- /**
75
- * The number of QR Codes deleted.
76
- */
77
- deletedCount: number;
78
- }
79
-
80
59
  export interface BulkCreateParams {
81
60
  body?: Array<BulkCreateParams.Body>;
82
61
  }
83
62
 
84
63
  export namespace BulkCreateParams {
85
64
  export interface Body {
86
- /**
87
- * The unique ID of the folder assigned to the QR code.
88
- */
89
- folderId: string | null;
90
-
91
65
  /**
92
66
  * The type of content of the QR code.
93
67
  */
94
- type: 'url' | 'text' | 'email' | 'wifi' | 'phone' | 'vcard' | 'crypto' | 'sms' | 'facetime' | 'latlog';
68
+ type:
69
+ | 'url'
70
+ | 'text'
71
+ | 'email'
72
+ | 'wifi'
73
+ | 'phone'
74
+ | 'vcard'
75
+ | 'crypto'
76
+ | 'sms'
77
+ | 'facetime'
78
+ | 'geo'
79
+ | 'latlog'
80
+ | 'pix'
81
+ | 'whatsapp';
95
82
 
96
83
  /**
97
84
  * The destination URL for Android for the QR code for device targeting Android.
@@ -104,7 +91,8 @@ export namespace BulkCreateParams {
104
91
  archived?: boolean;
105
92
 
106
93
  /**
107
- * The background color of the QR code.
94
+ * The background color of the QR code (hex or CSS keyword). Invalid values are
95
+ * coerced to default.
108
96
  */
109
97
  bgColor?: string;
110
98
 
@@ -175,7 +163,8 @@ export namespace BulkCreateParams {
175
163
  facetime?: { [key: string]: string } | null;
176
164
 
177
165
  /**
178
- * The foreground color of the QR code.
166
+ * The foreground color of the QR code (hex or CSS keyword). Invalid values are
167
+ * coerced to default.
179
168
  */
180
169
  fgColor?: string;
181
170
 
@@ -190,20 +179,46 @@ export namespace BulkCreateParams {
190
179
  flexible?: boolean;
191
180
 
192
181
  /**
193
- * The type of frame of the QR code.
182
+ * The unique ID of the folder assigned to the QR code. Omit or set to null for no
183
+ * folder.
184
+ */
185
+ folderId?: string | null;
186
+
187
+ /**
188
+ * The type of frame of the QR code (e.g. none, frame-1, frame-2, frame-3, frame-5,
189
+ * frame-6). frame-5/6 are top-bar variants. Unknown ids fall back to no frame at
190
+ * render.
194
191
  */
195
192
  frame?: string;
196
193
 
197
194
  /**
198
- * The color of the frame of the QR code.
195
+ * The color of the frame (hex or CSS keyword). Invalid values are coerced to
196
+ * default.
199
197
  */
200
198
  frameColor?: string;
201
199
 
202
200
  /**
203
- * The text of the frame of the QR code.
201
+ * Label text rendered inside the frame (e.g. "SCAN ME", a product SKU). Maximum
202
+ * 200 characters. Word-wraps to multiple lines at larger sizes; the frame bar
203
+ * grows vertically to fit.
204
204
  */
205
205
  frameText?: string;
206
206
 
207
+ /**
208
+ * Color of the frame label text (hex `#RRGGBB`, `#RGB`, `#RRGGBBAA`, or a CSS
209
+ * keyword from the allowlist). When omitted, a contrasting color is derived
210
+ * automatically from `frameColor`.
211
+ */
212
+ frameTextColor?: string | null;
213
+
214
+ /**
215
+ * Typographic styles applied to the frame label text. Every key is enum-gated —
216
+ * unknown keys or out-of-enum values are rejected to prevent SVG attribute
217
+ * injection. All fields are optional; omitted keys fall back to the default
218
+ * (normal weight, normal style, sans family, medium size).
219
+ */
220
+ frameTextStyles?: Body.FrameTextStyles | null;
221
+
207
222
  /**
208
223
  * Geographic segmentation information for the QR code in the JSON format
209
224
  * `{[COUNTRY]: https://example.com }`.
@@ -211,7 +226,8 @@ export namespace BulkCreateParams {
211
226
  geo?: Body.Geo | null;
212
227
 
213
228
  /**
214
- * The height of the QR code.
229
+ * Logo height in pixels. When omitted, a proportional size is used based on the QR
230
+ * code size (about 10–20% depending on size).
215
231
  */
216
232
  height?: number;
217
233
 
@@ -277,6 +293,12 @@ export namespace BulkCreateParams {
277
293
  */
278
294
  phone?: string | null;
279
295
 
296
+ /**
297
+ * The prefix for the randomly generated key. If provided, the key will be prefixed
298
+ * with this value.
299
+ */
300
+ prefix?: string;
301
+
280
302
  /**
281
303
  * If the QR code has pre-redirection.
282
304
  */
@@ -297,6 +319,11 @@ export namespace BulkCreateParams {
297
319
  */
298
320
  rewrite?: boolean;
299
321
 
322
+ /**
323
+ * Smart rules for conditional destination routing by request attribute.
324
+ */
325
+ rules?: Array<Body.Rule> | null;
326
+
300
327
  /**
301
328
  * The shape of the design around the QR code (none, square, circle).
302
329
  */
@@ -343,6 +370,13 @@ export namespace BulkCreateParams {
343
370
  */
344
371
  tagNames?: string | Array<string>;
345
372
 
373
+ /**
374
+ * ID of a QR code (in the same project) marked as a template. Its customization
375
+ * fields (colors, logo, pattern, shape, frame) will be applied to the new QR code
376
+ * unless explicitly overridden.
377
+ */
378
+ templateId?: string | null;
379
+
346
380
  /**
347
381
  * The text of the QR code.
348
382
  */
@@ -364,6 +398,18 @@ export namespace BulkCreateParams {
364
398
  */
365
399
  url?: string | null;
366
400
 
401
+ /**
402
+ * Whether this QR code should be used as a reusable template.
403
+ */
404
+ useAsTemplate?: boolean;
405
+
406
+ /**
407
+ * For dynamic QR codes with phone, email, or sms types: if true (default), shows
408
+ * an action page with buttons. If false, redirects directly to tel:/mailto:/sms:
409
+ * URI.
410
+ */
411
+ useDisplayPage?: boolean;
412
+
367
413
  /**
368
414
  * The vCard information of the QR code.
369
415
  */
@@ -376,7 +422,14 @@ export namespace BulkCreateParams {
376
422
  webhookIds?: Array<string> | null;
377
423
 
378
424
  /**
379
- * The width of the QR code.
425
+ * The WhatsApp click-to-chat info: E.164 number (digits only) and optional
426
+ * prefilled message.
427
+ */
428
+ whatsapp?: Body.Whatsapp | null;
429
+
430
+ /**
431
+ * Logo width in pixels. When omitted, a proportional size is used based on the QR
432
+ * code size (about 10–20% depending on size).
380
433
  */
381
434
  width?: number;
382
435
 
@@ -387,6 +440,40 @@ export namespace BulkCreateParams {
387
440
  }
388
441
 
389
442
  export namespace Body {
443
+ /**
444
+ * Typographic styles applied to the frame label text. Every key is enum-gated —
445
+ * unknown keys or out-of-enum values are rejected to prevent SVG attribute
446
+ * injection. All fields are optional; omitted keys fall back to the default
447
+ * (normal weight, normal style, sans family, medium size).
448
+ */
449
+ export interface FrameTextStyles {
450
+ /**
451
+ * Font family used for the frame label text. `sans` = Arial / Helvetica (default).
452
+ * `sans-condensed` = Arial Narrow. `serif` = Georgia / Times New Roman.
453
+ * `serif-elegant` = Palatino Linotype / Book Antiqua. `mono` = Courier New. Values
454
+ * resolve to safe system font stacks on the rendered SVG.
455
+ */
456
+ family?: 'sans' | 'sans-condensed' | 'serif' | 'serif-elegant' | 'mono';
457
+
458
+ /**
459
+ * Font size preset for the frame label. `s` = 60 viewBox units, `m` = 89.1
460
+ * (default), `l` = 120, `xl` = 150. Larger sizes grow the frame bar vertically to
461
+ * fit. Extremely long text auto-shrinks to keep within 4 lines (floor 48).
462
+ */
463
+ size?: 's' | 'm' | 'l' | 'xl';
464
+
465
+ /**
466
+ * Font style of the frame label text. `italic` applies `font-style="italic"`.
467
+ */
468
+ style?: 'normal' | 'italic';
469
+
470
+ /**
471
+ * Font weight of the frame label text. `bold` renders at SVG `font-weight="700"`,
472
+ * `normal` at `400`.
473
+ */
474
+ weight?: 'normal' | 'bold';
475
+ }
476
+
390
477
  /**
391
478
  * Geographic segmentation information for the QR code in the JSON format
392
479
  * `{[COUNTRY]: https://example.com }`.
@@ -892,22 +979,36 @@ export namespace BulkCreateParams {
892
979
 
893
980
  ZW?: string;
894
981
  }
895
- }
896
- }
897
982
 
898
- export interface BulkDeleteParams {
899
- /**
900
- * Comma-separated list of QR Code IDs to delete. Maximum of 100 IDs. Non-existing
901
- * IDs will be ignored.
902
- */
903
- qrcodeIds: Array<string>;
983
+ export interface Rule {
984
+ attribute:
985
+ | 'device'
986
+ | 'country'
987
+ | 'utm_source'
988
+ | 'utm_medium'
989
+ | 'utm_campaign'
990
+ | 'referrer'
991
+ | 'language';
992
+
993
+ operator: 'equals' | 'not_equals';
994
+
995
+ url: string;
996
+
997
+ value: string;
998
+ }
999
+
1000
+ /**
1001
+ * The WhatsApp click-to-chat info: E.164 number (digits only) and optional
1002
+ * prefilled message.
1003
+ */
1004
+ export interface Whatsapp {
1005
+ number: string;
1006
+
1007
+ message?: string;
1008
+ }
1009
+ }
904
1010
  }
905
1011
 
906
1012
  export declare namespace Bulk {
907
- export {
908
- type BulkCreateResponse as BulkCreateResponse,
909
- type BulkDeleteResponse as BulkDeleteResponse,
910
- type BulkCreateParams as BulkCreateParams,
911
- type BulkDeleteParams as BulkDeleteParams,
912
- };
1013
+ export { type BulkCreateResponse as BulkCreateResponse, type BulkCreateParams as BulkCreateParams };
913
1014
  }
@@ -1,22 +1,13 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export {
4
- Bulk,
5
- type BulkCreateResponse,
6
- type BulkDeleteResponse,
7
- type BulkCreateParams,
8
- type BulkDeleteParams,
9
- } from './bulk';
3
+ export { Bulk, type BulkCreateResponse, type BulkCreateParams } from './bulk';
10
4
  export {
11
5
  Qrcodes,
12
6
  type QrCode,
13
7
  type QrcodeListResponse,
14
8
  type QrcodeDeleteResponse,
15
- type QrcodeCountResponse,
16
9
  type QrcodeCreateParams,
10
+ type QrcodeListParams,
17
11
  type QrcodeRetrieveParams,
18
12
  type QrcodeUpdateParams,
19
- type QrcodeListParams,
20
- type QrcodeCountParams,
21
- type QrcodeUpsertParams,
22
13
  } from './qrcodes';