@codeqr/ts 0.1.2

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 (480) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/LICENSE +201 -0
  3. package/README.md +359 -0
  4. package/api-promise.d.mts +2 -0
  5. package/api-promise.d.mts.map +1 -0
  6. package/api-promise.d.ts +2 -0
  7. package/api-promise.d.ts.map +1 -0
  8. package/api-promise.js +6 -0
  9. package/api-promise.js.map +1 -0
  10. package/api-promise.mjs +2 -0
  11. package/api-promise.mjs.map +1 -0
  12. package/client.d.mts +198 -0
  13. package/client.d.mts.map +1 -0
  14. package/client.d.ts +198 -0
  15. package/client.d.ts.map +1 -0
  16. package/client.js +469 -0
  17. package/client.js.map +1 -0
  18. package/client.mjs +465 -0
  19. package/client.mjs.map +1 -0
  20. package/core/api-promise.d.mts +46 -0
  21. package/core/api-promise.d.mts.map +1 -0
  22. package/core/api-promise.d.ts +46 -0
  23. package/core/api-promise.d.ts.map +1 -0
  24. package/core/api-promise.js +74 -0
  25. package/core/api-promise.js.map +1 -0
  26. package/core/api-promise.mjs +70 -0
  27. package/core/api-promise.mjs.map +1 -0
  28. package/core/error.d.mts +46 -0
  29. package/core/error.d.mts.map +1 -0
  30. package/core/error.d.ts +46 -0
  31. package/core/error.d.ts.map +1 -0
  32. package/core/error.js +113 -0
  33. package/core/error.js.map +1 -0
  34. package/core/error.mjs +97 -0
  35. package/core/error.mjs.map +1 -0
  36. package/core/resource.d.mts +6 -0
  37. package/core/resource.d.mts.map +1 -0
  38. package/core/resource.d.ts +6 -0
  39. package/core/resource.d.ts.map +1 -0
  40. package/core/resource.js +11 -0
  41. package/core/resource.js.map +1 -0
  42. package/core/resource.mjs +7 -0
  43. package/core/resource.mjs.map +1 -0
  44. package/core/uploads.d.mts +3 -0
  45. package/core/uploads.d.mts.map +1 -0
  46. package/core/uploads.d.ts +3 -0
  47. package/core/uploads.d.ts.map +1 -0
  48. package/core/uploads.js +6 -0
  49. package/core/uploads.js.map +1 -0
  50. package/core/uploads.mjs +2 -0
  51. package/core/uploads.mjs.map +1 -0
  52. package/error.d.mts +2 -0
  53. package/error.d.mts.map +1 -0
  54. package/error.d.ts +2 -0
  55. package/error.d.ts.map +1 -0
  56. package/error.js +6 -0
  57. package/error.js.map +1 -0
  58. package/error.mjs +2 -0
  59. package/error.mjs.map +1 -0
  60. package/index.d.mts +6 -0
  61. package/index.d.mts.map +1 -0
  62. package/index.d.ts +6 -0
  63. package/index.d.ts.map +1 -0
  64. package/index.js +30 -0
  65. package/index.js.map +1 -0
  66. package/index.mjs +7 -0
  67. package/index.mjs.map +1 -0
  68. package/internal/builtin-types.d.mts +73 -0
  69. package/internal/builtin-types.d.mts.map +1 -0
  70. package/internal/builtin-types.d.ts +73 -0
  71. package/internal/builtin-types.d.ts.map +1 -0
  72. package/internal/builtin-types.js +4 -0
  73. package/internal/builtin-types.js.map +1 -0
  74. package/internal/builtin-types.mjs +3 -0
  75. package/internal/builtin-types.mjs.map +1 -0
  76. package/internal/detect-platform.d.mts +15 -0
  77. package/internal/detect-platform.d.mts.map +1 -0
  78. package/internal/detect-platform.d.ts +15 -0
  79. package/internal/detect-platform.d.ts.map +1 -0
  80. package/internal/detect-platform.js +162 -0
  81. package/internal/detect-platform.js.map +1 -0
  82. package/internal/detect-platform.mjs +157 -0
  83. package/internal/detect-platform.mjs.map +1 -0
  84. package/internal/errors.d.mts +3 -0
  85. package/internal/errors.d.mts.map +1 -0
  86. package/internal/errors.d.ts +3 -0
  87. package/internal/errors.d.ts.map +1 -0
  88. package/internal/errors.js +41 -0
  89. package/internal/errors.js.map +1 -0
  90. package/internal/errors.mjs +36 -0
  91. package/internal/errors.mjs.map +1 -0
  92. package/internal/headers.d.mts +20 -0
  93. package/internal/headers.d.mts.map +1 -0
  94. package/internal/headers.d.ts +20 -0
  95. package/internal/headers.d.ts.map +1 -0
  96. package/internal/headers.js +79 -0
  97. package/internal/headers.js.map +1 -0
  98. package/internal/headers.mjs +74 -0
  99. package/internal/headers.mjs.map +1 -0
  100. package/internal/parse.d.mts +12 -0
  101. package/internal/parse.d.mts.map +1 -0
  102. package/internal/parse.d.ts +12 -0
  103. package/internal/parse.d.ts.map +1 -0
  104. package/internal/parse.js +35 -0
  105. package/internal/parse.js.map +1 -0
  106. package/internal/parse.mjs +32 -0
  107. package/internal/parse.mjs.map +1 -0
  108. package/internal/qs/formats.d.mts +7 -0
  109. package/internal/qs/formats.d.mts.map +1 -0
  110. package/internal/qs/formats.d.ts +7 -0
  111. package/internal/qs/formats.d.ts.map +1 -0
  112. package/internal/qs/formats.js +13 -0
  113. package/internal/qs/formats.js.map +1 -0
  114. package/internal/qs/formats.mjs +9 -0
  115. package/internal/qs/formats.mjs.map +1 -0
  116. package/internal/qs/index.d.mts +10 -0
  117. package/internal/qs/index.d.mts.map +1 -0
  118. package/internal/qs/index.d.ts +10 -0
  119. package/internal/qs/index.d.ts.map +1 -0
  120. package/internal/qs/index.js +14 -0
  121. package/internal/qs/index.js.map +1 -0
  122. package/internal/qs/index.mjs +10 -0
  123. package/internal/qs/index.mjs.map +1 -0
  124. package/internal/qs/stringify.d.mts +3 -0
  125. package/internal/qs/stringify.d.mts.map +1 -0
  126. package/internal/qs/stringify.d.ts +3 -0
  127. package/internal/qs/stringify.d.ts.map +1 -0
  128. package/internal/qs/stringify.js +277 -0
  129. package/internal/qs/stringify.js.map +1 -0
  130. package/internal/qs/stringify.mjs +274 -0
  131. package/internal/qs/stringify.mjs.map +1 -0
  132. package/internal/qs/types.d.mts +57 -0
  133. package/internal/qs/types.d.mts.map +1 -0
  134. package/internal/qs/types.d.ts +57 -0
  135. package/internal/qs/types.d.ts.map +1 -0
  136. package/internal/qs/types.js +3 -0
  137. package/internal/qs/types.js.map +1 -0
  138. package/internal/qs/types.mjs +2 -0
  139. package/internal/qs/types.mjs.map +1 -0
  140. package/internal/qs/utils.d.mts +15 -0
  141. package/internal/qs/utils.d.mts.map +1 -0
  142. package/internal/qs/utils.d.ts +15 -0
  143. package/internal/qs/utils.d.ts.map +1 -0
  144. package/internal/qs/utils.js +230 -0
  145. package/internal/qs/utils.js.map +1 -0
  146. package/internal/qs/utils.mjs +217 -0
  147. package/internal/qs/utils.mjs.map +1 -0
  148. package/internal/request-options.d.mts +75 -0
  149. package/internal/request-options.d.mts.map +1 -0
  150. package/internal/request-options.d.ts +75 -0
  151. package/internal/request-options.d.ts.map +1 -0
  152. package/internal/request-options.js +14 -0
  153. package/internal/request-options.js.map +1 -0
  154. package/internal/request-options.mjs +10 -0
  155. package/internal/request-options.mjs.map +1 -0
  156. package/internal/shim-types.d.mts +17 -0
  157. package/internal/shim-types.d.mts.map +1 -0
  158. package/internal/shim-types.d.ts +17 -0
  159. package/internal/shim-types.d.ts.map +1 -0
  160. package/internal/shim-types.js +4 -0
  161. package/internal/shim-types.js.map +1 -0
  162. package/internal/shim-types.mjs +3 -0
  163. package/internal/shim-types.mjs.map +1 -0
  164. package/internal/shims.d.mts +20 -0
  165. package/internal/shims.d.mts.map +1 -0
  166. package/internal/shims.d.ts +20 -0
  167. package/internal/shims.d.ts.map +1 -0
  168. package/internal/shims.js +92 -0
  169. package/internal/shims.js.map +1 -0
  170. package/internal/shims.mjs +85 -0
  171. package/internal/shims.mjs.map +1 -0
  172. package/internal/to-file.d.mts +45 -0
  173. package/internal/to-file.d.mts.map +1 -0
  174. package/internal/to-file.d.ts +45 -0
  175. package/internal/to-file.d.ts.map +1 -0
  176. package/internal/to-file.js +91 -0
  177. package/internal/to-file.js.map +1 -0
  178. package/internal/to-file.mjs +88 -0
  179. package/internal/to-file.mjs.map +1 -0
  180. package/internal/tslib.js +81 -0
  181. package/internal/tslib.mjs +17 -0
  182. package/internal/types.d.mts +69 -0
  183. package/internal/types.d.mts.map +1 -0
  184. package/internal/types.d.ts +69 -0
  185. package/internal/types.d.ts.map +1 -0
  186. package/internal/types.js +4 -0
  187. package/internal/types.js.map +1 -0
  188. package/internal/types.mjs +3 -0
  189. package/internal/types.mjs.map +1 -0
  190. package/internal/uploads.d.mts +42 -0
  191. package/internal/uploads.d.mts.map +1 -0
  192. package/internal/uploads.d.ts +42 -0
  193. package/internal/uploads.d.ts.map +1 -0
  194. package/internal/uploads.js +141 -0
  195. package/internal/uploads.js.map +1 -0
  196. package/internal/uploads.mjs +131 -0
  197. package/internal/uploads.mjs.map +1 -0
  198. package/internal/utils/base64.d.mts +3 -0
  199. package/internal/utils/base64.d.mts.map +1 -0
  200. package/internal/utils/base64.d.ts +3 -0
  201. package/internal/utils/base64.d.ts.map +1 -0
  202. package/internal/utils/base64.js +38 -0
  203. package/internal/utils/base64.js.map +1 -0
  204. package/internal/utils/base64.mjs +33 -0
  205. package/internal/utils/base64.mjs.map +1 -0
  206. package/internal/utils/bytes.d.mts +4 -0
  207. package/internal/utils/bytes.d.mts.map +1 -0
  208. package/internal/utils/bytes.d.ts +4 -0
  209. package/internal/utils/bytes.d.ts.map +1 -0
  210. package/internal/utils/bytes.js +31 -0
  211. package/internal/utils/bytes.js.map +1 -0
  212. package/internal/utils/bytes.mjs +26 -0
  213. package/internal/utils/bytes.mjs.map +1 -0
  214. package/internal/utils/env.d.mts +9 -0
  215. package/internal/utils/env.d.mts.map +1 -0
  216. package/internal/utils/env.d.ts +9 -0
  217. package/internal/utils/env.d.ts.map +1 -0
  218. package/internal/utils/env.js +22 -0
  219. package/internal/utils/env.js.map +1 -0
  220. package/internal/utils/env.mjs +18 -0
  221. package/internal/utils/env.mjs.map +1 -0
  222. package/internal/utils/log.d.mts +37 -0
  223. package/internal/utils/log.d.mts.map +1 -0
  224. package/internal/utils/log.d.ts +37 -0
  225. package/internal/utils/log.d.ts.map +1 -0
  226. package/internal/utils/log.js +85 -0
  227. package/internal/utils/log.js.map +1 -0
  228. package/internal/utils/log.mjs +79 -0
  229. package/internal/utils/log.mjs.map +1 -0
  230. package/internal/utils/path.d.mts +15 -0
  231. package/internal/utils/path.d.mts.map +1 -0
  232. package/internal/utils/path.d.ts +15 -0
  233. package/internal/utils/path.d.ts.map +1 -0
  234. package/internal/utils/path.js +79 -0
  235. package/internal/utils/path.js.map +1 -0
  236. package/internal/utils/path.mjs +74 -0
  237. package/internal/utils/path.mjs.map +1 -0
  238. package/internal/utils/sleep.d.mts +2 -0
  239. package/internal/utils/sleep.d.mts.map +1 -0
  240. package/internal/utils/sleep.d.ts +2 -0
  241. package/internal/utils/sleep.d.ts.map +1 -0
  242. package/internal/utils/sleep.js +7 -0
  243. package/internal/utils/sleep.js.map +1 -0
  244. package/internal/utils/sleep.mjs +3 -0
  245. package/internal/utils/sleep.mjs.map +1 -0
  246. package/internal/utils/uuid.d.mts +5 -0
  247. package/internal/utils/uuid.d.mts.map +1 -0
  248. package/internal/utils/uuid.d.ts +5 -0
  249. package/internal/utils/uuid.d.ts.map +1 -0
  250. package/internal/utils/uuid.js +19 -0
  251. package/internal/utils/uuid.js.map +1 -0
  252. package/internal/utils/uuid.mjs +15 -0
  253. package/internal/utils/uuid.mjs.map +1 -0
  254. package/internal/utils/values.d.mts +18 -0
  255. package/internal/utils/values.d.mts.map +1 -0
  256. package/internal/utils/values.d.ts +18 -0
  257. package/internal/utils/values.d.ts.map +1 -0
  258. package/internal/utils/values.js +112 -0
  259. package/internal/utils/values.js.map +1 -0
  260. package/internal/utils/values.mjs +94 -0
  261. package/internal/utils/values.mjs.map +1 -0
  262. package/internal/utils.d.mts +7 -0
  263. package/internal/utils.d.mts.map +1 -0
  264. package/internal/utils.d.ts +7 -0
  265. package/internal/utils.d.ts.map +1 -0
  266. package/internal/utils.js +11 -0
  267. package/internal/utils.js.map +1 -0
  268. package/internal/utils.mjs +8 -0
  269. package/internal/utils.mjs.map +1 -0
  270. package/package.json +138 -0
  271. package/resource.d.mts +2 -0
  272. package/resource.d.mts.map +1 -0
  273. package/resource.d.ts +2 -0
  274. package/resource.d.ts.map +1 -0
  275. package/resource.js +6 -0
  276. package/resource.js.map +1 -0
  277. package/resource.mjs +2 -0
  278. package/resource.mjs.map +1 -0
  279. package/resources/analytics.d.mts +459 -0
  280. package/resources/analytics.d.mts.map +1 -0
  281. package/resources/analytics.d.ts +459 -0
  282. package/resources/analytics.d.ts.map +1 -0
  283. package/resources/analytics.js +16 -0
  284. package/resources/analytics.js.map +1 -0
  285. package/resources/analytics.mjs +12 -0
  286. package/resources/analytics.mjs.map +1 -0
  287. package/resources/domains.d.mts +153 -0
  288. package/resources/domains.d.mts.map +1 -0
  289. package/resources/domains.d.ts +153 -0
  290. package/resources/domains.d.ts.map +1 -0
  291. package/resources/domains.js +57 -0
  292. package/resources/domains.js.map +1 -0
  293. package/resources/domains.mjs +53 -0
  294. package/resources/domains.mjs.map +1 -0
  295. package/resources/events.d.mts +781 -0
  296. package/resources/events.d.mts.map +1 -0
  297. package/resources/events.d.ts +781 -0
  298. package/resources/events.d.ts.map +1 -0
  299. package/resources/events.js +15 -0
  300. package/resources/events.js.map +1 -0
  301. package/resources/events.mjs +11 -0
  302. package/resources/events.mjs.map +1 -0
  303. package/resources/index.d.mts +9 -0
  304. package/resources/index.d.mts.map +1 -0
  305. package/resources/index.d.ts +9 -0
  306. package/resources/index.d.ts.map +1 -0
  307. package/resources/index.js +21 -0
  308. package/resources/index.js.map +1 -0
  309. package/resources/index.mjs +10 -0
  310. package/resources/index.mjs.map +1 -0
  311. package/resources/links/bulk.d.mts +465 -0
  312. package/resources/links/bulk.d.mts.map +1 -0
  313. package/resources/links/bulk.d.ts +465 -0
  314. package/resources/links/bulk.d.ts.map +1 -0
  315. package/resources/links/bulk.js +35 -0
  316. package/resources/links/bulk.js.map +1 -0
  317. package/resources/links/bulk.mjs +31 -0
  318. package/resources/links/bulk.mjs.map +1 -0
  319. package/resources/links/index.d.mts +3 -0
  320. package/resources/links/index.d.mts.map +1 -0
  321. package/resources/links/index.d.ts +3 -0
  322. package/resources/links/index.d.ts.map +1 -0
  323. package/resources/links/index.js +9 -0
  324. package/resources/links/index.js.map +1 -0
  325. package/resources/links/index.mjs +4 -0
  326. package/resources/links/index.mjs.map +1 -0
  327. package/resources/links/links.d.mts +2325 -0
  328. package/resources/links/links.d.mts.map +1 -0
  329. package/resources/links/links.d.ts +2325 -0
  330. package/resources/links/links.d.ts.map +1 -0
  331. package/resources/links/links.js +106 -0
  332. package/resources/links/links.js.map +1 -0
  333. package/resources/links/links.mjs +101 -0
  334. package/resources/links/links.mjs.map +1 -0
  335. package/resources/links.d.mts +2 -0
  336. package/resources/links.d.mts.map +1 -0
  337. package/resources/links.d.ts +2 -0
  338. package/resources/links.d.ts.map +1 -0
  339. package/resources/links.js +6 -0
  340. package/resources/links.js.map +1 -0
  341. package/resources/links.mjs +3 -0
  342. package/resources/links.mjs.map +1 -0
  343. package/resources/projects.d.mts +110 -0
  344. package/resources/projects.d.mts.map +1 -0
  345. package/resources/projects.d.ts +110 -0
  346. package/resources/projects.d.ts.map +1 -0
  347. package/resources/projects.js +22 -0
  348. package/resources/projects.js.map +1 -0
  349. package/resources/projects.mjs +18 -0
  350. package/resources/projects.mjs.map +1 -0
  351. package/resources/qrcodes/bulk.d.mts +579 -0
  352. package/resources/qrcodes/bulk.d.mts.map +1 -0
  353. package/resources/qrcodes/bulk.d.ts +579 -0
  354. package/resources/qrcodes/bulk.d.ts.map +1 -0
  355. package/resources/qrcodes/bulk.js +35 -0
  356. package/resources/qrcodes/bulk.js.map +1 -0
  357. package/resources/qrcodes/bulk.mjs +31 -0
  358. package/resources/qrcodes/bulk.mjs.map +1 -0
  359. package/resources/qrcodes/index.d.mts +3 -0
  360. package/resources/qrcodes/index.d.mts.map +1 -0
  361. package/resources/qrcodes/index.d.ts +3 -0
  362. package/resources/qrcodes/index.d.ts.map +1 -0
  363. package/resources/qrcodes/index.js +9 -0
  364. package/resources/qrcodes/index.js.map +1 -0
  365. package/resources/qrcodes/index.mjs +4 -0
  366. package/resources/qrcodes/index.mjs.map +1 -0
  367. package/resources/qrcodes/qrcodes.d.mts +2220 -0
  368. package/resources/qrcodes/qrcodes.d.mts.map +1 -0
  369. package/resources/qrcodes/qrcodes.d.ts +2220 -0
  370. package/resources/qrcodes/qrcodes.d.ts.map +1 -0
  371. package/resources/qrcodes/qrcodes.js +102 -0
  372. package/resources/qrcodes/qrcodes.js.map +1 -0
  373. package/resources/qrcodes/qrcodes.mjs +97 -0
  374. package/resources/qrcodes/qrcodes.mjs.map +1 -0
  375. package/resources/qrcodes.d.mts +2 -0
  376. package/resources/qrcodes.d.mts.map +1 -0
  377. package/resources/qrcodes.d.ts +2 -0
  378. package/resources/qrcodes.d.ts.map +1 -0
  379. package/resources/qrcodes.js +6 -0
  380. package/resources/qrcodes.js.map +1 -0
  381. package/resources/qrcodes.mjs +3 -0
  382. package/resources/qrcodes.mjs.map +1 -0
  383. package/resources/tags.d.mts +91 -0
  384. package/resources/tags.d.mts.map +1 -0
  385. package/resources/tags.d.ts +91 -0
  386. package/resources/tags.d.ts.map +1 -0
  387. package/resources/tags.js +35 -0
  388. package/resources/tags.js.map +1 -0
  389. package/resources/tags.mjs +31 -0
  390. package/resources/tags.mjs.map +1 -0
  391. package/resources/track.d.mts +128 -0
  392. package/resources/track.d.mts.map +1 -0
  393. package/resources/track.d.ts +128 -0
  394. package/resources/track.d.ts.map +1 -0
  395. package/resources/track.js +39 -0
  396. package/resources/track.js.map +1 -0
  397. package/resources/track.mjs +35 -0
  398. package/resources/track.mjs.map +1 -0
  399. package/resources.d.mts +2 -0
  400. package/resources.d.mts.map +1 -0
  401. package/resources.d.ts +2 -0
  402. package/resources.d.ts.map +1 -0
  403. package/resources.js +5 -0
  404. package/resources.js.map +1 -0
  405. package/resources.mjs +2 -0
  406. package/resources.mjs.map +1 -0
  407. package/src/api-promise.ts +2 -0
  408. package/src/client.ts +854 -0
  409. package/src/core/README.md +3 -0
  410. package/src/core/api-promise.ts +92 -0
  411. package/src/core/error.ts +130 -0
  412. package/src/core/resource.ts +11 -0
  413. package/src/core/uploads.ts +2 -0
  414. package/src/error.ts +2 -0
  415. package/src/index.ts +22 -0
  416. package/src/internal/README.md +3 -0
  417. package/src/internal/builtin-types.ts +93 -0
  418. package/src/internal/detect-platform.ts +196 -0
  419. package/src/internal/errors.ts +33 -0
  420. package/src/internal/headers.ts +97 -0
  421. package/src/internal/parse.ts +50 -0
  422. package/src/internal/qs/LICENSE.md +13 -0
  423. package/src/internal/qs/README.md +3 -0
  424. package/src/internal/qs/formats.ts +10 -0
  425. package/src/internal/qs/index.ts +13 -0
  426. package/src/internal/qs/stringify.ts +385 -0
  427. package/src/internal/qs/types.ts +71 -0
  428. package/src/internal/qs/utils.ts +265 -0
  429. package/src/internal/request-options.ts +91 -0
  430. package/src/internal/shim-types.ts +26 -0
  431. package/src/internal/shims.ts +107 -0
  432. package/src/internal/to-file.ts +154 -0
  433. package/src/internal/types.ts +95 -0
  434. package/src/internal/uploads.ts +187 -0
  435. package/src/internal/utils/base64.ts +40 -0
  436. package/src/internal/utils/bytes.ts +32 -0
  437. package/src/internal/utils/env.ts +18 -0
  438. package/src/internal/utils/log.ts +126 -0
  439. package/src/internal/utils/path.ts +88 -0
  440. package/src/internal/utils/sleep.ts +3 -0
  441. package/src/internal/utils/uuid.ts +17 -0
  442. package/src/internal/utils/values.ts +105 -0
  443. package/src/internal/utils.ts +8 -0
  444. package/src/lib/.keep +4 -0
  445. package/src/resource.ts +2 -0
  446. package/src/resources/analytics.ts +1617 -0
  447. package/src/resources/domains.ts +205 -0
  448. package/src/resources/events.ts +1026 -0
  449. package/src/resources/index.ts +62 -0
  450. package/src/resources/links/bulk.ts +782 -0
  451. package/src/resources/links/index.ts +22 -0
  452. package/src/resources/links/links.ts +3841 -0
  453. package/src/resources/links.ts +3 -0
  454. package/src/resources/projects.ts +150 -0
  455. package/src/resources/qrcodes/bulk.ts +908 -0
  456. package/src/resources/qrcodes/index.ts +22 -0
  457. package/src/resources/qrcodes/qrcodes.ts +3307 -0
  458. package/src/resources/qrcodes.ts +3 -0
  459. package/src/resources/tags.ts +128 -0
  460. package/src/resources/track.ts +163 -0
  461. package/src/resources.ts +1 -0
  462. package/src/tsconfig.json +11 -0
  463. package/src/uploads.ts +2 -0
  464. package/src/version.ts +1 -0
  465. package/uploads.d.mts +2 -0
  466. package/uploads.d.mts.map +1 -0
  467. package/uploads.d.ts +2 -0
  468. package/uploads.d.ts.map +1 -0
  469. package/uploads.js +6 -0
  470. package/uploads.js.map +1 -0
  471. package/uploads.mjs +2 -0
  472. package/uploads.mjs.map +1 -0
  473. package/version.d.mts +2 -0
  474. package/version.d.mts.map +1 -0
  475. package/version.d.ts +2 -0
  476. package/version.d.ts.map +1 -0
  477. package/version.js +5 -0
  478. package/version.js.map +1 -0
  479. package/version.mjs +2 -0
  480. package/version.mjs.map +1 -0
@@ -0,0 +1,3307 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as TagsAPI from '../tags';
5
+ import * as BulkAPI from './bulk';
6
+ import { Bulk, BulkCreateParams, BulkCreateResponse, BulkDeleteParams, BulkDeleteResponse } from './bulk';
7
+ import { APIPromise } from '../../core/api-promise';
8
+ import { RequestOptions } from '../../internal/request-options';
9
+ import { path } from '../../internal/utils/path';
10
+
11
+ export class Qrcodes extends APIResource {
12
+ bulk: BulkAPI.Bulk = new BulkAPI.Bulk(this._client);
13
+
14
+ /**
15
+ * Create a new QR Code for the authenticated workspace.
16
+ *
17
+ * @example
18
+ * ```ts
19
+ * const qrCode = await client.qrcodes.create({ type: 'url' });
20
+ * ```
21
+ */
22
+ create(body: QrcodeCreateParams, options?: RequestOptions): APIPromise<QrCode> {
23
+ return this._client.post('/qrcodes', { body, ...options });
24
+ }
25
+
26
+ /**
27
+ * Retrieve the info for a QR Code.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const qrCode = await client.qrcodes.retrieve({
32
+ * domain: 'x',
33
+ * key: 'x',
34
+ * projectSlug: 'x',
35
+ * });
36
+ * ```
37
+ */
38
+ retrieve(query: QrcodeRetrieveParams, options?: RequestOptions): APIPromise<QrCode> {
39
+ return this._client.get('/qrcodes/info', { query, ...options });
40
+ }
41
+
42
+ /**
43
+ * Update a QR Code for the authenticated workspace. If there's no change, returns
44
+ * it as it is.
45
+ *
46
+ * @example
47
+ * ```ts
48
+ * const qrCode = await client.qrcodes.update('qrcodeId');
49
+ * ```
50
+ */
51
+ update(
52
+ qrcodeID: string,
53
+ body: QrcodeUpdateParams | null | undefined = {},
54
+ options?: RequestOptions,
55
+ ): APIPromise<QrCode> {
56
+ return this._client.put(path`/qrcodes/${qrcodeID}`, { body, ...options });
57
+ }
58
+
59
+ /**
60
+ * Retrieve a paginated list of QR Codes for the authenticated workspace.
61
+ *
62
+ * @example
63
+ * ```ts
64
+ * const qrCodes = await client.qrcodes.list();
65
+ * ```
66
+ */
67
+ list(
68
+ query: QrcodeListParams | null | undefined = {},
69
+ options?: RequestOptions,
70
+ ): APIPromise<QrcodeListResponse> {
71
+ return this._client.get('/qrcodes', { query, ...options });
72
+ }
73
+
74
+ /**
75
+ * Delete a QR Code for the authenticated workspace.
76
+ *
77
+ * @example
78
+ * ```ts
79
+ * const qrcode = await client.qrcodes.delete('qrcodeId');
80
+ * ```
81
+ */
82
+ delete(qrcodeID: string, options?: RequestOptions): APIPromise<QrcodeDeleteResponse> {
83
+ return this._client.delete(path`/qrcodes/${qrcodeID}`, options);
84
+ }
85
+
86
+ /**
87
+ * Retrieve the number of QR Codes for the authenticated workspace.
88
+ *
89
+ * @example
90
+ * ```ts
91
+ * const response = await client.qrcodes.count();
92
+ * ```
93
+ */
94
+ count(
95
+ query: QrcodeCountParams | null | undefined = {},
96
+ options?: RequestOptions,
97
+ ): APIPromise<QrcodeCountResponse> {
98
+ return this._client.get('/qrcodes/count', { query, ...options });
99
+ }
100
+
101
+ /**
102
+ * Upsert a QR Code for the authenticated workspace by its URL. If a QR Code with
103
+ * the same URL already exists, return it (or update it if there are any changes).
104
+ * Otherwise, a new QR Code will be created.
105
+ *
106
+ * @example
107
+ * ```ts
108
+ * const qrCode = await client.qrcodes.upsert({ type: 'url' });
109
+ * ```
110
+ */
111
+ upsert(body: QrcodeUpsertParams, options?: RequestOptions): APIPromise<QrCode> {
112
+ return this._client.patch('/qrcodes/upsert', { body, ...options });
113
+ }
114
+ }
115
+
116
+ export interface QrCode {
117
+ /**
118
+ * The unique ID of the QR code.
119
+ */
120
+ id: string;
121
+
122
+ /**
123
+ * The destination URL for Android for the QR code for device targeting Android.
124
+ */
125
+ android: string | null;
126
+
127
+ /**
128
+ * If the QR code is archived.
129
+ */
130
+ archived: boolean;
131
+
132
+ /**
133
+ * The background color of the QR code.
134
+ */
135
+ bgColor: string;
136
+
137
+ /**
138
+ * The comments for the QR code.
139
+ */
140
+ comments: string | null;
141
+
142
+ /**
143
+ * The static content of the QR code.
144
+ */
145
+ contentStatic: string | null;
146
+
147
+ /**
148
+ * The date and time the QR code was created.
149
+ */
150
+ createdAt: string;
151
+
152
+ /**
153
+ * The cryptocurrency information of the QR code.
154
+ */
155
+ crypto: { [key: string]: string } | null;
156
+
157
+ /**
158
+ * The description of the QR code generated via `api.codeqr.io/metatags`. Will be
159
+ * used for custom link preview if `proxy` is true.
160
+ */
161
+ description: string | null;
162
+
163
+ /**
164
+ * If the QR code should be indexed.
165
+ */
166
+ doIndex: boolean;
167
+
168
+ /**
169
+ * The domain of the QR code. If not provided, the main domain of the project will
170
+ * be used (or `codeqr.link` if the project does not have domains).
171
+ */
172
+ domain: string;
173
+
174
+ /**
175
+ * The email information of the QR code.
176
+ */
177
+ email: { [key: string]: string } | null;
178
+
179
+ /**
180
+ * If the QR code should be excavated.
181
+ */
182
+ excavate: boolean;
183
+
184
+ /**
185
+ * The destination URL when the QR code expires.
186
+ */
187
+ expiredUrl: string | null;
188
+
189
+ /**
190
+ * The date and time the QR code will expire in ISO-8601 format. Must be in the
191
+ * future.
192
+ */
193
+ expiresAt: string | null;
194
+
195
+ /**
196
+ * The external ID associated with the QR code.
197
+ */
198
+ externalId: string | null;
199
+
200
+ /**
201
+ * The FaceTime information of the QR code.
202
+ */
203
+ facetime: { [key: string]: string } | null;
204
+
205
+ /**
206
+ * The foreground color of the QR code.
207
+ */
208
+ fgColor: string;
209
+
210
+ /**
211
+ * If the QR code is filled.
212
+ */
213
+ filled: boolean;
214
+
215
+ /**
216
+ * If the QR code is flexible.
217
+ */
218
+ flexible: boolean;
219
+
220
+ /**
221
+ * Geographic segmentation information for the QR code in the JSON format
222
+ * `{[COUNTRY]: https://example.com }`. Learn more: https://codeqr.link/geo
223
+ */
224
+ geo: { [key: string]: string } | null;
225
+
226
+ /**
227
+ * The height of the QR code.
228
+ */
229
+ height: number;
230
+
231
+ /**
232
+ * The image of the QR code generated via `api.codeqr.io/metatags`. Will be used
233
+ * for custom link preview if `proxy` is true.
234
+ */
235
+ image: string | null;
236
+
237
+ /**
238
+ * The destination URL for iOS for the QR code for device targeting iOS.
239
+ */
240
+ ios: string | null;
241
+
242
+ /**
243
+ * If the form is mandatory for the page.
244
+ */
245
+ isFormMandatory: boolean;
246
+
247
+ /**
248
+ * The slug of the QR code. If not provided, a random slug of 7 characters will be
249
+ * generated.
250
+ */
251
+ key: string;
252
+
253
+ /**
254
+ * The date and time the QR code was scanned last.
255
+ */
256
+ lastClicked: string | null;
257
+
258
+ /**
259
+ * The latitude and longitude information of the QR code.
260
+ */
261
+ latlog: { [key: string]: string } | null;
262
+
263
+ /**
264
+ * The number of leads generated by the QR code.
265
+ */
266
+ leads: number;
267
+
268
+ /**
269
+ * The level of error correction of the QR code.
270
+ */
271
+ level: string;
272
+
273
+ /**
274
+ * The logo of the QR code.
275
+ */
276
+ logo: string | null;
277
+
278
+ /**
279
+ * The notification token of the QR code.
280
+ */
281
+ notificationToken: string | null;
282
+
283
+ /**
284
+ * The password required to access the destination URL of the QR code.
285
+ */
286
+ password: string | null;
287
+
288
+ /**
289
+ * The phone number of the QR code.
290
+ */
291
+ phone: string | null;
292
+
293
+ /**
294
+ * If the QR code has pre-redirection.
295
+ */
296
+ preRedirection: boolean;
297
+
298
+ /**
299
+ * The ID of the project of the QR code.
300
+ */
301
+ projectId: string | null;
302
+
303
+ /**
304
+ * If the QR code uses the custom link preview feature.
305
+ */
306
+ proxy: boolean;
307
+
308
+ /**
309
+ * If the statistics of the QR code are publicly accessible.
310
+ */
311
+ publicStats: boolean;
312
+
313
+ /**
314
+ * If the QR code uses link cloaking.
315
+ */
316
+ rewrite: boolean;
317
+
318
+ /**
319
+ * The amount of the sale generated by the link.
320
+ */
321
+ saleAmount: number;
322
+
323
+ /**
324
+ * The number of sales generated by the QR code.
325
+ */
326
+ sales: number;
327
+
328
+ /**
329
+ * The number of scans of the QR code.
330
+ */
331
+ scans: number;
332
+
333
+ /**
334
+ * If the logo should be displayed in the QR code.
335
+ */
336
+ showLogo: boolean;
337
+
338
+ /**
339
+ * The size of the QR code.
340
+ */
341
+ size: number;
342
+
343
+ /**
344
+ * The SMS information of the QR code.
345
+ */
346
+ sms: { [key: string]: string } | null;
347
+
348
+ /**
349
+ * The source of the QR code.
350
+ */
351
+ src: string | null;
352
+
353
+ /**
354
+ * If the QR code is static.
355
+ */
356
+ static: boolean;
357
+
358
+ /**
359
+ * @deprecated [DEPRECATED (use `tags` instead)]: The unique ID of the tag assigned
360
+ * to the QR code.
361
+ */
362
+ tagId: string | null;
363
+
364
+ /**
365
+ * The tags assigned to the QR code.
366
+ */
367
+ tags: Array<TagsAPI.Tag> | null;
368
+
369
+ /**
370
+ * The text of the QR code.
371
+ */
372
+ text: string | null;
373
+
374
+ /**
375
+ * The title of the QR code generated via `api.codeqr.io/metatags`. Will be used
376
+ * for custom link preview if `proxy` is true.
377
+ */
378
+ title: string | null;
379
+
380
+ /**
381
+ * [BETA] If should track conversions for the QR code.
382
+ */
383
+ trackConversion: boolean;
384
+
385
+ /**
386
+ * The type of the QR code.
387
+ */
388
+ type:
389
+ | 'url'
390
+ | 'text'
391
+ | 'email'
392
+ | 'wifi'
393
+ | 'phone'
394
+ | 'vcard'
395
+ | 'crypto'
396
+ | 'sms'
397
+ | 'facetime'
398
+ | 'latlog'
399
+ | 'pix';
400
+
401
+ /**
402
+ * The date and time the QR code was updated last.
403
+ */
404
+ updatedAt: string;
405
+
406
+ /**
407
+ * The URL of the QR code.
408
+ */
409
+ url: string | null;
410
+
411
+ /**
412
+ * The ID of the user that created the QR code.
413
+ */
414
+ userId: string | null;
415
+
416
+ /**
417
+ * The campaign UTM of the QR code.
418
+ */
419
+ utm_campaign: string | null;
420
+
421
+ /**
422
+ * The content UTM of the QR code.
423
+ */
424
+ utm_content: string | null;
425
+
426
+ /**
427
+ * The medium UTM of the QR code.
428
+ */
429
+ utm_medium: string | null;
430
+
431
+ /**
432
+ * The source UTM of the QR code.
433
+ */
434
+ utm_source: string | null;
435
+
436
+ /**
437
+ * The term UTM of the QR code.
438
+ */
439
+ utm_term: string | null;
440
+
441
+ /**
442
+ * The vCard information of the QR code.
443
+ */
444
+ vcard: { [key: string]: string } | null;
445
+
446
+ /**
447
+ * The width of the QR code.
448
+ */
449
+ width: number;
450
+
451
+ /**
452
+ * The WiFi information of the QR code.
453
+ */
454
+ wifi: { [key: string]: string } | null;
455
+
456
+ /**
457
+ * The ID of the page to redirect to before the QR code destination.
458
+ */
459
+ pageId?: string | null;
460
+
461
+ /**
462
+ * The URL of the page to redirect to before the QR code destination.
463
+ */
464
+ pageUrl?: string | null;
465
+ }
466
+
467
+ export type QrcodeListResponse = Array<QrCode>;
468
+
469
+ export interface QrcodeDeleteResponse {
470
+ /**
471
+ * The ID of the QR Code.
472
+ */
473
+ id: string;
474
+ }
475
+
476
+ /**
477
+ * The number of QR Codes matching the query.
478
+ */
479
+ export type QrcodeCountResponse = number;
480
+
481
+ export interface QrcodeCreateParams {
482
+ /**
483
+ * The type of content of the QR code.
484
+ */
485
+ type: 'url' | 'text' | 'email' | 'wifi' | 'phone' | 'vcard' | 'crypto' | 'sms' | 'facetime' | 'latlog';
486
+
487
+ /**
488
+ * The destination URL for Android for the QR code for device targeting Android.
489
+ */
490
+ android?: string | null;
491
+
492
+ /**
493
+ * If the QR code is archived.
494
+ */
495
+ archived?: boolean;
496
+
497
+ /**
498
+ * The background color of the QR code.
499
+ */
500
+ bgColor?: string;
501
+
502
+ /**
503
+ * The comments for the QR code.
504
+ */
505
+ comments?: string | null;
506
+
507
+ /**
508
+ * The static content of the QR code.
509
+ */
510
+ contentStatic?: string | null;
511
+
512
+ /**
513
+ * The cryptocurrency information of the QR code.
514
+ */
515
+ crypto?: { [key: string]: string } | null;
516
+
517
+ /**
518
+ * The description of the QR code generated via `api.codeqr.io/metatags`. Will be
519
+ * used for custom link preview if `proxy` is true.
520
+ */
521
+ description?: string | null;
522
+
523
+ /**
524
+ * Allow search engines to index your QR code. The default is `false` if not
525
+ * provided. Learn more: https://codeqr.link/noindex
526
+ */
527
+ doIndex?: boolean;
528
+
529
+ /**
530
+ * The domain of the QR code. If not provided, the main domain of the project will
531
+ * be used (or `codeqr.link` if the project does not have domains).
532
+ */
533
+ domain?: string;
534
+
535
+ /**
536
+ * The email information of the QR code.
537
+ */
538
+ email?: { [key: string]: string } | null;
539
+
540
+ /**
541
+ * If the QR code should have excavated areas.
542
+ */
543
+ excavate?: boolean;
544
+
545
+ /**
546
+ * The URL to redirect when the QR code expires.
547
+ */
548
+ expiredUrl?: string | null;
549
+
550
+ /**
551
+ * The date and time the QR code will expire in ISO-8601 format. Must be in the
552
+ * future.
553
+ */
554
+ expiresAt?: string | null;
555
+
556
+ /**
557
+ * This is the ID of the QR code in your database. If defined, it can be used to
558
+ * identify the QR code in the future. It must be prefixed with `ext_` when passed
559
+ * as a query parameter.
560
+ */
561
+ externalId?: string | null;
562
+
563
+ /**
564
+ * The FaceTime information of the QR code.
565
+ */
566
+ facetime?: { [key: string]: string } | null;
567
+
568
+ /**
569
+ * The foreground color of the QR code.
570
+ */
571
+ fgColor?: string;
572
+
573
+ /**
574
+ * If the QR code is filled.
575
+ */
576
+ filled?: boolean;
577
+
578
+ /**
579
+ * If the QR code is flexible.
580
+ */
581
+ flexible?: boolean;
582
+
583
+ /**
584
+ * The type of frame of the QR code.
585
+ */
586
+ frame?: string;
587
+
588
+ /**
589
+ * The color of the frame of the QR code.
590
+ */
591
+ frameColor?: string;
592
+
593
+ /**
594
+ * The text of the frame of the QR code.
595
+ */
596
+ frameText?: string;
597
+
598
+ /**
599
+ * Geographic segmentation information for the QR code in the JSON format
600
+ * `{[COUNTRY]: https://example.com }`.
601
+ */
602
+ geo?: QrcodeCreateParams.Geo | null;
603
+
604
+ /**
605
+ * The height of the QR code.
606
+ */
607
+ height?: number;
608
+
609
+ /**
610
+ * The image of the QR code generated via `api.codeqr.io/metatags`. Will be used
611
+ * for custom link preview if `proxy` is true.
612
+ */
613
+ image?: string | null;
614
+
615
+ /**
616
+ * The destination URL for iOS for the QR code for device targeting iOS.
617
+ */
618
+ ios?: string | null;
619
+
620
+ /**
621
+ * If the form is mandatory for the page.
622
+ */
623
+ isFormMandatory?: boolean;
624
+
625
+ /**
626
+ * The slug of the QR code. If not provided, a random slug of 7 characters will be
627
+ * generated.
628
+ */
629
+ key?: string;
630
+
631
+ /**
632
+ * The latitude and longitude information of the QR code.
633
+ */
634
+ latlog?: { [key: string]: string } | null;
635
+
636
+ /**
637
+ * The level of error correction of the QR code.
638
+ */
639
+ level?: string;
640
+
641
+ /**
642
+ * The logo of the QR code.
643
+ */
644
+ logo?: string | null;
645
+
646
+ /**
647
+ * The ID of the page to redirect to before the QR code destination.
648
+ */
649
+ pageId?: string | null;
650
+
651
+ /**
652
+ * The URL of the page to redirect to before the QR code destination.
653
+ */
654
+ pageUrl?: string | null;
655
+
656
+ /**
657
+ * The password required to access the destination URL of the QR code.
658
+ */
659
+ password?: string | null;
660
+
661
+ /**
662
+ * The pattern of the modules of the QR code.
663
+ */
664
+ pattern?: string;
665
+
666
+ /**
667
+ * The phone number of the QR code.
668
+ */
669
+ phone?: string | null;
670
+
671
+ /**
672
+ * If the QR code has pre-redirection.
673
+ */
674
+ preRedirection?: boolean;
675
+
676
+ /**
677
+ * If the QR code uses the custom link preview feature.
678
+ */
679
+ proxy?: boolean;
680
+
681
+ /**
682
+ * If the statistics of the QR code are publicly accessible.
683
+ */
684
+ publicStats?: boolean;
685
+
686
+ /**
687
+ * If the QR code uses link cloaking.
688
+ */
689
+ rewrite?: boolean;
690
+
691
+ /**
692
+ * The shape of the design around the QR code (none, square, circle).
693
+ */
694
+ shape?: string;
695
+
696
+ /**
697
+ * If the logo should be displayed in the QR code.
698
+ */
699
+ showLogo?: boolean;
700
+
701
+ /**
702
+ * The size of the QR code.
703
+ */
704
+ size?: number;
705
+
706
+ /**
707
+ * The SMS information of the QR code.
708
+ */
709
+ sms?: { [key: string]: string } | null;
710
+
711
+ /**
712
+ * The image URL of the QR code.
713
+ */
714
+ src?: string | null;
715
+
716
+ /**
717
+ * If the QR code is static.
718
+ */
719
+ static?: boolean;
720
+
721
+ /**
722
+ * @deprecated The unique ID of the tag assigned to the QR code. This field is
723
+ * deprecated – use `tagIds` instead.
724
+ */
725
+ tagId?: string | null;
726
+
727
+ /**
728
+ * The unique IDs of the tags assigned to the QR code.
729
+ */
730
+ tagIds?: string | Array<string>;
731
+
732
+ /**
733
+ * The unique name of the tags assigned to the QR code (case insensitive).
734
+ */
735
+ tagNames?: string | Array<string>;
736
+
737
+ /**
738
+ * The text of the QR code.
739
+ */
740
+ text?: string | null;
741
+
742
+ /**
743
+ * The title of the QR code generated via `api.codeqr.io/metatags`. Will be used
744
+ * for custom link preview if `proxy` is true.
745
+ */
746
+ title?: string | null;
747
+
748
+ /**
749
+ * If should track conversions for the QR code.
750
+ */
751
+ trackConversion?: boolean;
752
+
753
+ /**
754
+ * The destination URL of the QR code.
755
+ */
756
+ url?: string | null;
757
+
758
+ /**
759
+ * The vCard information of the QR code.
760
+ */
761
+ vcard?: { [key: string]: string } | null;
762
+
763
+ /**
764
+ * An array of webhook IDs to trigger when the link is clicked. These webhooks will
765
+ * receive click event data.
766
+ */
767
+ webhookIds?: Array<string> | null;
768
+
769
+ /**
770
+ * The width of the QR code.
771
+ */
772
+ width?: number;
773
+
774
+ /**
775
+ * The WiFi information of the QR code.
776
+ */
777
+ wifi?: { [key: string]: string } | null;
778
+ }
779
+
780
+ export namespace QrcodeCreateParams {
781
+ /**
782
+ * Geographic segmentation information for the QR code in the JSON format
783
+ * `{[COUNTRY]: https://example.com }`.
784
+ */
785
+ export interface Geo {
786
+ AD?: string;
787
+
788
+ AE?: string;
789
+
790
+ AF?: string;
791
+
792
+ AG?: string;
793
+
794
+ AI?: string;
795
+
796
+ AL?: string;
797
+
798
+ AM?: string;
799
+
800
+ AO?: string;
801
+
802
+ AQ?: string;
803
+
804
+ AR?: string;
805
+
806
+ AS?: string;
807
+
808
+ AT?: string;
809
+
810
+ AU?: string;
811
+
812
+ AW?: string;
813
+
814
+ AX?: string;
815
+
816
+ AZ?: string;
817
+
818
+ BA?: string;
819
+
820
+ BB?: string;
821
+
822
+ BD?: string;
823
+
824
+ BE?: string;
825
+
826
+ BF?: string;
827
+
828
+ BG?: string;
829
+
830
+ BH?: string;
831
+
832
+ BI?: string;
833
+
834
+ BJ?: string;
835
+
836
+ BL?: string;
837
+
838
+ BM?: string;
839
+
840
+ BN?: string;
841
+
842
+ BO?: string;
843
+
844
+ BQ?: string;
845
+
846
+ BR?: string;
847
+
848
+ BS?: string;
849
+
850
+ BT?: string;
851
+
852
+ BV?: string;
853
+
854
+ BW?: string;
855
+
856
+ BY?: string;
857
+
858
+ BZ?: string;
859
+
860
+ CA?: string;
861
+
862
+ CC?: string;
863
+
864
+ CD?: string;
865
+
866
+ CF?: string;
867
+
868
+ CG?: string;
869
+
870
+ CH?: string;
871
+
872
+ CI?: string;
873
+
874
+ CK?: string;
875
+
876
+ CL?: string;
877
+
878
+ CM?: string;
879
+
880
+ CN?: string;
881
+
882
+ CO?: string;
883
+
884
+ CR?: string;
885
+
886
+ CU?: string;
887
+
888
+ CV?: string;
889
+
890
+ CW?: string;
891
+
892
+ CX?: string;
893
+
894
+ CY?: string;
895
+
896
+ CZ?: string;
897
+
898
+ DE?: string;
899
+
900
+ DJ?: string;
901
+
902
+ DK?: string;
903
+
904
+ DM?: string;
905
+
906
+ DO?: string;
907
+
908
+ DZ?: string;
909
+
910
+ EC?: string;
911
+
912
+ EE?: string;
913
+
914
+ EG?: string;
915
+
916
+ EH?: string;
917
+
918
+ ER?: string;
919
+
920
+ ES?: string;
921
+
922
+ ET?: string;
923
+
924
+ FI?: string;
925
+
926
+ FJ?: string;
927
+
928
+ FK?: string;
929
+
930
+ FM?: string;
931
+
932
+ FO?: string;
933
+
934
+ FR?: string;
935
+
936
+ GA?: string;
937
+
938
+ GB?: string;
939
+
940
+ GD?: string;
941
+
942
+ GE?: string;
943
+
944
+ GF?: string;
945
+
946
+ GG?: string;
947
+
948
+ GH?: string;
949
+
950
+ GI?: string;
951
+
952
+ GL?: string;
953
+
954
+ GM?: string;
955
+
956
+ GN?: string;
957
+
958
+ GP?: string;
959
+
960
+ GQ?: string;
961
+
962
+ GR?: string;
963
+
964
+ GS?: string;
965
+
966
+ GT?: string;
967
+
968
+ GU?: string;
969
+
970
+ GW?: string;
971
+
972
+ GY?: string;
973
+
974
+ HK?: string;
975
+
976
+ HM?: string;
977
+
978
+ HN?: string;
979
+
980
+ HR?: string;
981
+
982
+ HT?: string;
983
+
984
+ HU?: string;
985
+
986
+ ID?: string;
987
+
988
+ IE?: string;
989
+
990
+ IL?: string;
991
+
992
+ IM?: string;
993
+
994
+ IN?: string;
995
+
996
+ IO?: string;
997
+
998
+ IQ?: string;
999
+
1000
+ IR?: string;
1001
+
1002
+ IS?: string;
1003
+
1004
+ IT?: string;
1005
+
1006
+ JE?: string;
1007
+
1008
+ JM?: string;
1009
+
1010
+ JO?: string;
1011
+
1012
+ JP?: string;
1013
+
1014
+ KE?: string;
1015
+
1016
+ KG?: string;
1017
+
1018
+ KH?: string;
1019
+
1020
+ KI?: string;
1021
+
1022
+ KM?: string;
1023
+
1024
+ KN?: string;
1025
+
1026
+ KP?: string;
1027
+
1028
+ KR?: string;
1029
+
1030
+ KW?: string;
1031
+
1032
+ KY?: string;
1033
+
1034
+ KZ?: string;
1035
+
1036
+ LA?: string;
1037
+
1038
+ LB?: string;
1039
+
1040
+ LC?: string;
1041
+
1042
+ LI?: string;
1043
+
1044
+ LK?: string;
1045
+
1046
+ LR?: string;
1047
+
1048
+ LS?: string;
1049
+
1050
+ LT?: string;
1051
+
1052
+ LU?: string;
1053
+
1054
+ LV?: string;
1055
+
1056
+ LY?: string;
1057
+
1058
+ MA?: string;
1059
+
1060
+ MC?: string;
1061
+
1062
+ MD?: string;
1063
+
1064
+ ME?: string;
1065
+
1066
+ MF?: string;
1067
+
1068
+ MG?: string;
1069
+
1070
+ MH?: string;
1071
+
1072
+ MK?: string;
1073
+
1074
+ ML?: string;
1075
+
1076
+ MM?: string;
1077
+
1078
+ MN?: string;
1079
+
1080
+ MO?: string;
1081
+
1082
+ MP?: string;
1083
+
1084
+ MQ?: string;
1085
+
1086
+ MR?: string;
1087
+
1088
+ MS?: string;
1089
+
1090
+ MT?: string;
1091
+
1092
+ MU?: string;
1093
+
1094
+ MV?: string;
1095
+
1096
+ MW?: string;
1097
+
1098
+ MX?: string;
1099
+
1100
+ MY?: string;
1101
+
1102
+ MZ?: string;
1103
+
1104
+ NA?: string;
1105
+
1106
+ NC?: string;
1107
+
1108
+ NE?: string;
1109
+
1110
+ NF?: string;
1111
+
1112
+ NG?: string;
1113
+
1114
+ NI?: string;
1115
+
1116
+ NL?: string;
1117
+
1118
+ NO?: string;
1119
+
1120
+ NP?: string;
1121
+
1122
+ NR?: string;
1123
+
1124
+ NU?: string;
1125
+
1126
+ NZ?: string;
1127
+
1128
+ OM?: string;
1129
+
1130
+ PA?: string;
1131
+
1132
+ PE?: string;
1133
+
1134
+ PF?: string;
1135
+
1136
+ PG?: string;
1137
+
1138
+ PH?: string;
1139
+
1140
+ PK?: string;
1141
+
1142
+ PL?: string;
1143
+
1144
+ PM?: string;
1145
+
1146
+ PN?: string;
1147
+
1148
+ PR?: string;
1149
+
1150
+ PS?: string;
1151
+
1152
+ PT?: string;
1153
+
1154
+ PW?: string;
1155
+
1156
+ PY?: string;
1157
+
1158
+ QA?: string;
1159
+
1160
+ RE?: string;
1161
+
1162
+ RO?: string;
1163
+
1164
+ RS?: string;
1165
+
1166
+ RU?: string;
1167
+
1168
+ RW?: string;
1169
+
1170
+ SA?: string;
1171
+
1172
+ SB?: string;
1173
+
1174
+ SC?: string;
1175
+
1176
+ SD?: string;
1177
+
1178
+ SE?: string;
1179
+
1180
+ SG?: string;
1181
+
1182
+ SH?: string;
1183
+
1184
+ SI?: string;
1185
+
1186
+ SJ?: string;
1187
+
1188
+ SK?: string;
1189
+
1190
+ SL?: string;
1191
+
1192
+ SM?: string;
1193
+
1194
+ SN?: string;
1195
+
1196
+ SO?: string;
1197
+
1198
+ SR?: string;
1199
+
1200
+ SS?: string;
1201
+
1202
+ ST?: string;
1203
+
1204
+ SV?: string;
1205
+
1206
+ SX?: string;
1207
+
1208
+ SY?: string;
1209
+
1210
+ SZ?: string;
1211
+
1212
+ TC?: string;
1213
+
1214
+ TD?: string;
1215
+
1216
+ TF?: string;
1217
+
1218
+ TG?: string;
1219
+
1220
+ TH?: string;
1221
+
1222
+ TJ?: string;
1223
+
1224
+ TK?: string;
1225
+
1226
+ TL?: string;
1227
+
1228
+ TM?: string;
1229
+
1230
+ TN?: string;
1231
+
1232
+ TO?: string;
1233
+
1234
+ TR?: string;
1235
+
1236
+ TT?: string;
1237
+
1238
+ TV?: string;
1239
+
1240
+ TW?: string;
1241
+
1242
+ TZ?: string;
1243
+
1244
+ UA?: string;
1245
+
1246
+ UG?: string;
1247
+
1248
+ UM?: string;
1249
+
1250
+ US?: string;
1251
+
1252
+ UY?: string;
1253
+
1254
+ UZ?: string;
1255
+
1256
+ VA?: string;
1257
+
1258
+ VC?: string;
1259
+
1260
+ VE?: string;
1261
+
1262
+ VG?: string;
1263
+
1264
+ VI?: string;
1265
+
1266
+ VN?: string;
1267
+
1268
+ VU?: string;
1269
+
1270
+ WF?: string;
1271
+
1272
+ WS?: string;
1273
+
1274
+ XK?: string;
1275
+
1276
+ YE?: string;
1277
+
1278
+ YT?: string;
1279
+
1280
+ ZA?: string;
1281
+
1282
+ ZM?: string;
1283
+
1284
+ ZW?: string;
1285
+ }
1286
+ }
1287
+
1288
+ export interface QrcodeRetrieveParams {
1289
+ /**
1290
+ * The domain of the QR code to be retrieved. For example, for
1291
+ * `codeqr.link/github`, the domain is `codeqr.link`.
1292
+ */
1293
+ domain: string;
1294
+
1295
+ /**
1296
+ * The key of the QR code to be retrieved. For example, for `codeqr.link/github`,
1297
+ * the key is `github`.
1298
+ */
1299
+ key: string;
1300
+
1301
+ /**
1302
+ * The slug of the project to which the QR code belongs. For example, for
1303
+ * `app.codeqr.io/acme`, the projectSlug is `acme`.
1304
+ */
1305
+ projectSlug: string;
1306
+
1307
+ /**
1308
+ * This is the ID of the QR code in your database. It must be prefixed with `ext_`
1309
+ * when passed as a query parameter.
1310
+ */
1311
+ externalId?: string;
1312
+
1313
+ /**
1314
+ * The unique ID of the QR code.
1315
+ */
1316
+ qrCodeId?: string;
1317
+ }
1318
+
1319
+ export interface QrcodeUpdateParams {
1320
+ /**
1321
+ * The destination URL for Android for the QR code for device targeting Android.
1322
+ */
1323
+ android?: string | null;
1324
+
1325
+ /**
1326
+ * If the QR code is archived.
1327
+ */
1328
+ archived?: boolean;
1329
+
1330
+ /**
1331
+ * The background color of the QR code.
1332
+ */
1333
+ bgColor?: string;
1334
+
1335
+ /**
1336
+ * The comments for the QR code.
1337
+ */
1338
+ comments?: string | null;
1339
+
1340
+ /**
1341
+ * The static content of the QR code.
1342
+ */
1343
+ contentStatic?: string | null;
1344
+
1345
+ /**
1346
+ * The cryptocurrency information of the QR code.
1347
+ */
1348
+ crypto?: { [key: string]: string } | null;
1349
+
1350
+ /**
1351
+ * The description of the QR code generated via `api.codeqr.io/metatags`. Will be
1352
+ * used for custom link preview if `proxy` is true.
1353
+ */
1354
+ description?: string | null;
1355
+
1356
+ /**
1357
+ * Allow search engines to index your QR code. The default is `false` if not
1358
+ * provided. Learn more: https://codeqr.link/noindex
1359
+ */
1360
+ doIndex?: boolean;
1361
+
1362
+ /**
1363
+ * The domain of the QR code. If not provided, the main domain of the project will
1364
+ * be used (or `codeqr.link` if the project does not have domains).
1365
+ */
1366
+ domain?: string;
1367
+
1368
+ /**
1369
+ * The email information of the QR code.
1370
+ */
1371
+ email?: { [key: string]: string } | null;
1372
+
1373
+ /**
1374
+ * If the QR code should have excavated areas.
1375
+ */
1376
+ excavate?: boolean;
1377
+
1378
+ /**
1379
+ * The URL to redirect when the QR code expires.
1380
+ */
1381
+ expiredUrl?: string | null;
1382
+
1383
+ /**
1384
+ * The date and time the QR code will expire in ISO-8601 format. Must be in the
1385
+ * future.
1386
+ */
1387
+ expiresAt?: string | null;
1388
+
1389
+ /**
1390
+ * This is the ID of the QR code in your database. If defined, it can be used to
1391
+ * identify the QR code in the future. It must be prefixed with `ext_` when passed
1392
+ * as a query parameter.
1393
+ */
1394
+ externalId?: string | null;
1395
+
1396
+ /**
1397
+ * The FaceTime information of the QR code.
1398
+ */
1399
+ facetime?: { [key: string]: string } | null;
1400
+
1401
+ /**
1402
+ * The foreground color of the QR code.
1403
+ */
1404
+ fgColor?: string;
1405
+
1406
+ /**
1407
+ * If the QR code is filled.
1408
+ */
1409
+ filled?: boolean;
1410
+
1411
+ /**
1412
+ * If the QR code is flexible.
1413
+ */
1414
+ flexible?: boolean;
1415
+
1416
+ /**
1417
+ * The type of frame of the QR code.
1418
+ */
1419
+ frame?: string;
1420
+
1421
+ /**
1422
+ * The color of the frame of the QR code.
1423
+ */
1424
+ frameColor?: string;
1425
+
1426
+ /**
1427
+ * The text of the frame of the QR code.
1428
+ */
1429
+ frameText?: string;
1430
+
1431
+ /**
1432
+ * Geographic segmentation information for the QR code in the JSON format
1433
+ * `{[COUNTRY]: https://example.com }`.
1434
+ */
1435
+ geo?: QrcodeUpdateParams.Geo | null;
1436
+
1437
+ /**
1438
+ * The height of the QR code.
1439
+ */
1440
+ height?: number;
1441
+
1442
+ /**
1443
+ * The image of the QR code generated via `api.codeqr.io/metatags`. Will be used
1444
+ * for custom link preview if `proxy` is true.
1445
+ */
1446
+ image?: string | null;
1447
+
1448
+ /**
1449
+ * The destination URL for iOS for the QR code for device targeting iOS.
1450
+ */
1451
+ ios?: string | null;
1452
+
1453
+ /**
1454
+ * If the form is mandatory for the page.
1455
+ */
1456
+ isFormMandatory?: boolean;
1457
+
1458
+ /**
1459
+ * The slug of the QR code. If not provided, a random slug of 7 characters will be
1460
+ * generated.
1461
+ */
1462
+ key?: string;
1463
+
1464
+ /**
1465
+ * The latitude and longitude information of the QR code.
1466
+ */
1467
+ latlog?: { [key: string]: string } | null;
1468
+
1469
+ /**
1470
+ * The level of error correction of the QR code.
1471
+ */
1472
+ level?: string;
1473
+
1474
+ /**
1475
+ * The logo of the QR code.
1476
+ */
1477
+ logo?: string | null;
1478
+
1479
+ /**
1480
+ * The ID of the page to redirect to before the QR code destination.
1481
+ */
1482
+ pageId?: string | null;
1483
+
1484
+ /**
1485
+ * The URL of the page to redirect to before the QR code destination.
1486
+ */
1487
+ pageUrl?: string | null;
1488
+
1489
+ /**
1490
+ * The password required to access the destination URL of the QR code.
1491
+ */
1492
+ password?: string | null;
1493
+
1494
+ /**
1495
+ * The pattern of the modules of the QR code.
1496
+ */
1497
+ pattern?: string;
1498
+
1499
+ /**
1500
+ * The phone number of the QR code.
1501
+ */
1502
+ phone?: string | null;
1503
+
1504
+ /**
1505
+ * If the QR code has pre-redirection.
1506
+ */
1507
+ preRedirection?: boolean;
1508
+
1509
+ /**
1510
+ * If the QR code uses the custom link preview feature.
1511
+ */
1512
+ proxy?: boolean;
1513
+
1514
+ /**
1515
+ * If the statistics of the QR code are publicly accessible.
1516
+ */
1517
+ publicStats?: boolean;
1518
+
1519
+ /**
1520
+ * If the QR code uses link cloaking.
1521
+ */
1522
+ rewrite?: boolean;
1523
+
1524
+ /**
1525
+ * The shape of the design around the QR code (none, square, circle).
1526
+ */
1527
+ shape?: string;
1528
+
1529
+ /**
1530
+ * If the logo should be displayed in the QR code.
1531
+ */
1532
+ showLogo?: boolean;
1533
+
1534
+ /**
1535
+ * The size of the QR code.
1536
+ */
1537
+ size?: number;
1538
+
1539
+ /**
1540
+ * The SMS information of the QR code.
1541
+ */
1542
+ sms?: { [key: string]: string } | null;
1543
+
1544
+ /**
1545
+ * The image URL of the QR code.
1546
+ */
1547
+ src?: string | null;
1548
+
1549
+ /**
1550
+ * If the QR code is static.
1551
+ */
1552
+ static?: boolean;
1553
+
1554
+ /**
1555
+ * @deprecated The unique ID of the tag assigned to the QR code. This field is
1556
+ * deprecated – use `tagIds` instead.
1557
+ */
1558
+ tagId?: string | null;
1559
+
1560
+ /**
1561
+ * The unique IDs of the tags assigned to the QR code.
1562
+ */
1563
+ tagIds?: string | Array<string>;
1564
+
1565
+ /**
1566
+ * The unique name of the tags assigned to the QR code (case insensitive).
1567
+ */
1568
+ tagNames?: string | Array<string>;
1569
+
1570
+ /**
1571
+ * The text of the QR code.
1572
+ */
1573
+ text?: string | null;
1574
+
1575
+ /**
1576
+ * The title of the QR code generated via `api.codeqr.io/metatags`. Will be used
1577
+ * for custom link preview if `proxy` is true.
1578
+ */
1579
+ title?: string | null;
1580
+
1581
+ /**
1582
+ * If should track conversions for the QR code.
1583
+ */
1584
+ trackConversion?: boolean;
1585
+
1586
+ /**
1587
+ * The type of content of the QR code.
1588
+ */
1589
+ type?: 'url' | 'text' | 'email' | 'wifi' | 'phone' | 'vcard' | 'crypto' | 'sms' | 'facetime' | 'latlog';
1590
+
1591
+ /**
1592
+ * The destination URL of the QR code.
1593
+ */
1594
+ url?: string | null;
1595
+
1596
+ /**
1597
+ * The vCard information of the QR code.
1598
+ */
1599
+ vcard?: { [key: string]: string } | null;
1600
+
1601
+ /**
1602
+ * An array of webhook IDs to trigger when the link is clicked. These webhooks will
1603
+ * receive click event data.
1604
+ */
1605
+ webhookIds?: Array<string> | null;
1606
+
1607
+ /**
1608
+ * The width of the QR code.
1609
+ */
1610
+ width?: number;
1611
+
1612
+ /**
1613
+ * The WiFi information of the QR code.
1614
+ */
1615
+ wifi?: { [key: string]: string } | null;
1616
+ }
1617
+
1618
+ export namespace QrcodeUpdateParams {
1619
+ /**
1620
+ * Geographic segmentation information for the QR code in the JSON format
1621
+ * `{[COUNTRY]: https://example.com }`.
1622
+ */
1623
+ export interface Geo {
1624
+ AD?: string;
1625
+
1626
+ AE?: string;
1627
+
1628
+ AF?: string;
1629
+
1630
+ AG?: string;
1631
+
1632
+ AI?: string;
1633
+
1634
+ AL?: string;
1635
+
1636
+ AM?: string;
1637
+
1638
+ AO?: string;
1639
+
1640
+ AQ?: string;
1641
+
1642
+ AR?: string;
1643
+
1644
+ AS?: string;
1645
+
1646
+ AT?: string;
1647
+
1648
+ AU?: string;
1649
+
1650
+ AW?: string;
1651
+
1652
+ AX?: string;
1653
+
1654
+ AZ?: string;
1655
+
1656
+ BA?: string;
1657
+
1658
+ BB?: string;
1659
+
1660
+ BD?: string;
1661
+
1662
+ BE?: string;
1663
+
1664
+ BF?: string;
1665
+
1666
+ BG?: string;
1667
+
1668
+ BH?: string;
1669
+
1670
+ BI?: string;
1671
+
1672
+ BJ?: string;
1673
+
1674
+ BL?: string;
1675
+
1676
+ BM?: string;
1677
+
1678
+ BN?: string;
1679
+
1680
+ BO?: string;
1681
+
1682
+ BQ?: string;
1683
+
1684
+ BR?: string;
1685
+
1686
+ BS?: string;
1687
+
1688
+ BT?: string;
1689
+
1690
+ BV?: string;
1691
+
1692
+ BW?: string;
1693
+
1694
+ BY?: string;
1695
+
1696
+ BZ?: string;
1697
+
1698
+ CA?: string;
1699
+
1700
+ CC?: string;
1701
+
1702
+ CD?: string;
1703
+
1704
+ CF?: string;
1705
+
1706
+ CG?: string;
1707
+
1708
+ CH?: string;
1709
+
1710
+ CI?: string;
1711
+
1712
+ CK?: string;
1713
+
1714
+ CL?: string;
1715
+
1716
+ CM?: string;
1717
+
1718
+ CN?: string;
1719
+
1720
+ CO?: string;
1721
+
1722
+ CR?: string;
1723
+
1724
+ CU?: string;
1725
+
1726
+ CV?: string;
1727
+
1728
+ CW?: string;
1729
+
1730
+ CX?: string;
1731
+
1732
+ CY?: string;
1733
+
1734
+ CZ?: string;
1735
+
1736
+ DE?: string;
1737
+
1738
+ DJ?: string;
1739
+
1740
+ DK?: string;
1741
+
1742
+ DM?: string;
1743
+
1744
+ DO?: string;
1745
+
1746
+ DZ?: string;
1747
+
1748
+ EC?: string;
1749
+
1750
+ EE?: string;
1751
+
1752
+ EG?: string;
1753
+
1754
+ EH?: string;
1755
+
1756
+ ER?: string;
1757
+
1758
+ ES?: string;
1759
+
1760
+ ET?: string;
1761
+
1762
+ FI?: string;
1763
+
1764
+ FJ?: string;
1765
+
1766
+ FK?: string;
1767
+
1768
+ FM?: string;
1769
+
1770
+ FO?: string;
1771
+
1772
+ FR?: string;
1773
+
1774
+ GA?: string;
1775
+
1776
+ GB?: string;
1777
+
1778
+ GD?: string;
1779
+
1780
+ GE?: string;
1781
+
1782
+ GF?: string;
1783
+
1784
+ GG?: string;
1785
+
1786
+ GH?: string;
1787
+
1788
+ GI?: string;
1789
+
1790
+ GL?: string;
1791
+
1792
+ GM?: string;
1793
+
1794
+ GN?: string;
1795
+
1796
+ GP?: string;
1797
+
1798
+ GQ?: string;
1799
+
1800
+ GR?: string;
1801
+
1802
+ GS?: string;
1803
+
1804
+ GT?: string;
1805
+
1806
+ GU?: string;
1807
+
1808
+ GW?: string;
1809
+
1810
+ GY?: string;
1811
+
1812
+ HK?: string;
1813
+
1814
+ HM?: string;
1815
+
1816
+ HN?: string;
1817
+
1818
+ HR?: string;
1819
+
1820
+ HT?: string;
1821
+
1822
+ HU?: string;
1823
+
1824
+ ID?: string;
1825
+
1826
+ IE?: string;
1827
+
1828
+ IL?: string;
1829
+
1830
+ IM?: string;
1831
+
1832
+ IN?: string;
1833
+
1834
+ IO?: string;
1835
+
1836
+ IQ?: string;
1837
+
1838
+ IR?: string;
1839
+
1840
+ IS?: string;
1841
+
1842
+ IT?: string;
1843
+
1844
+ JE?: string;
1845
+
1846
+ JM?: string;
1847
+
1848
+ JO?: string;
1849
+
1850
+ JP?: string;
1851
+
1852
+ KE?: string;
1853
+
1854
+ KG?: string;
1855
+
1856
+ KH?: string;
1857
+
1858
+ KI?: string;
1859
+
1860
+ KM?: string;
1861
+
1862
+ KN?: string;
1863
+
1864
+ KP?: string;
1865
+
1866
+ KR?: string;
1867
+
1868
+ KW?: string;
1869
+
1870
+ KY?: string;
1871
+
1872
+ KZ?: string;
1873
+
1874
+ LA?: string;
1875
+
1876
+ LB?: string;
1877
+
1878
+ LC?: string;
1879
+
1880
+ LI?: string;
1881
+
1882
+ LK?: string;
1883
+
1884
+ LR?: string;
1885
+
1886
+ LS?: string;
1887
+
1888
+ LT?: string;
1889
+
1890
+ LU?: string;
1891
+
1892
+ LV?: string;
1893
+
1894
+ LY?: string;
1895
+
1896
+ MA?: string;
1897
+
1898
+ MC?: string;
1899
+
1900
+ MD?: string;
1901
+
1902
+ ME?: string;
1903
+
1904
+ MF?: string;
1905
+
1906
+ MG?: string;
1907
+
1908
+ MH?: string;
1909
+
1910
+ MK?: string;
1911
+
1912
+ ML?: string;
1913
+
1914
+ MM?: string;
1915
+
1916
+ MN?: string;
1917
+
1918
+ MO?: string;
1919
+
1920
+ MP?: string;
1921
+
1922
+ MQ?: string;
1923
+
1924
+ MR?: string;
1925
+
1926
+ MS?: string;
1927
+
1928
+ MT?: string;
1929
+
1930
+ MU?: string;
1931
+
1932
+ MV?: string;
1933
+
1934
+ MW?: string;
1935
+
1936
+ MX?: string;
1937
+
1938
+ MY?: string;
1939
+
1940
+ MZ?: string;
1941
+
1942
+ NA?: string;
1943
+
1944
+ NC?: string;
1945
+
1946
+ NE?: string;
1947
+
1948
+ NF?: string;
1949
+
1950
+ NG?: string;
1951
+
1952
+ NI?: string;
1953
+
1954
+ NL?: string;
1955
+
1956
+ NO?: string;
1957
+
1958
+ NP?: string;
1959
+
1960
+ NR?: string;
1961
+
1962
+ NU?: string;
1963
+
1964
+ NZ?: string;
1965
+
1966
+ OM?: string;
1967
+
1968
+ PA?: string;
1969
+
1970
+ PE?: string;
1971
+
1972
+ PF?: string;
1973
+
1974
+ PG?: string;
1975
+
1976
+ PH?: string;
1977
+
1978
+ PK?: string;
1979
+
1980
+ PL?: string;
1981
+
1982
+ PM?: string;
1983
+
1984
+ PN?: string;
1985
+
1986
+ PR?: string;
1987
+
1988
+ PS?: string;
1989
+
1990
+ PT?: string;
1991
+
1992
+ PW?: string;
1993
+
1994
+ PY?: string;
1995
+
1996
+ QA?: string;
1997
+
1998
+ RE?: string;
1999
+
2000
+ RO?: string;
2001
+
2002
+ RS?: string;
2003
+
2004
+ RU?: string;
2005
+
2006
+ RW?: string;
2007
+
2008
+ SA?: string;
2009
+
2010
+ SB?: string;
2011
+
2012
+ SC?: string;
2013
+
2014
+ SD?: string;
2015
+
2016
+ SE?: string;
2017
+
2018
+ SG?: string;
2019
+
2020
+ SH?: string;
2021
+
2022
+ SI?: string;
2023
+
2024
+ SJ?: string;
2025
+
2026
+ SK?: string;
2027
+
2028
+ SL?: string;
2029
+
2030
+ SM?: string;
2031
+
2032
+ SN?: string;
2033
+
2034
+ SO?: string;
2035
+
2036
+ SR?: string;
2037
+
2038
+ SS?: string;
2039
+
2040
+ ST?: string;
2041
+
2042
+ SV?: string;
2043
+
2044
+ SX?: string;
2045
+
2046
+ SY?: string;
2047
+
2048
+ SZ?: string;
2049
+
2050
+ TC?: string;
2051
+
2052
+ TD?: string;
2053
+
2054
+ TF?: string;
2055
+
2056
+ TG?: string;
2057
+
2058
+ TH?: string;
2059
+
2060
+ TJ?: string;
2061
+
2062
+ TK?: string;
2063
+
2064
+ TL?: string;
2065
+
2066
+ TM?: string;
2067
+
2068
+ TN?: string;
2069
+
2070
+ TO?: string;
2071
+
2072
+ TR?: string;
2073
+
2074
+ TT?: string;
2075
+
2076
+ TV?: string;
2077
+
2078
+ TW?: string;
2079
+
2080
+ TZ?: string;
2081
+
2082
+ UA?: string;
2083
+
2084
+ UG?: string;
2085
+
2086
+ UM?: string;
2087
+
2088
+ US?: string;
2089
+
2090
+ UY?: string;
2091
+
2092
+ UZ?: string;
2093
+
2094
+ VA?: string;
2095
+
2096
+ VC?: string;
2097
+
2098
+ VE?: string;
2099
+
2100
+ VG?: string;
2101
+
2102
+ VI?: string;
2103
+
2104
+ VN?: string;
2105
+
2106
+ VU?: string;
2107
+
2108
+ WF?: string;
2109
+
2110
+ WS?: string;
2111
+
2112
+ XK?: string;
2113
+
2114
+ YE?: string;
2115
+
2116
+ YT?: string;
2117
+
2118
+ ZA?: string;
2119
+
2120
+ ZM?: string;
2121
+
2122
+ ZW?: string;
2123
+ }
2124
+ }
2125
+
2126
+ export interface QrcodeListParams {
2127
+ /**
2128
+ * The comments to filter by.
2129
+ */
2130
+ comments?: string;
2131
+
2132
+ /**
2133
+ * Filter QR codes created after this date
2134
+ */
2135
+ createdAfter?: string;
2136
+
2137
+ /**
2138
+ * Filter QR codes created before this date
2139
+ */
2140
+ createdBefore?: string;
2141
+
2142
+ /**
2143
+ * The domain to filter the QR codes. For example, `ac.me`. If not provided, all QR
2144
+ * codes of the project will be returned.
2145
+ */
2146
+ domain?: string;
2147
+
2148
+ /**
2149
+ * Filter QR codes expiring after this date
2150
+ */
2151
+ expiresAfter?: string;
2152
+
2153
+ /**
2154
+ * The date and time the QR code will expire in ISO-8601 format. Must be in the
2155
+ * future.
2156
+ */
2157
+ expiresAt?: string | null;
2158
+
2159
+ /**
2160
+ * Filter QR codes expiring before this date
2161
+ */
2162
+ expiresBefore?: string;
2163
+
2164
+ /**
2165
+ * Filter by QR code format - static or dynamic
2166
+ */
2167
+ format?: 'static' | 'dynamic';
2168
+
2169
+ /**
2170
+ * Filter QR codes with/without comments
2171
+ */
2172
+ hasComments?: boolean;
2173
+
2174
+ /**
2175
+ * Filter QR codes with/without custom social media cards
2176
+ */
2177
+ hasCustomSocial?: boolean;
2178
+
2179
+ /**
2180
+ * Filter QR codes with/without device targeting
2181
+ */
2182
+ hasDevice?: boolean;
2183
+
2184
+ /**
2185
+ * Filter QR codes with/without expiration date
2186
+ */
2187
+ hasExpiration?: boolean;
2188
+
2189
+ /**
2190
+ * Filter QR codes with/without geo-targeting
2191
+ */
2192
+ hasGeo?: boolean;
2193
+
2194
+ /**
2195
+ * Filter QR codes with/without password protection
2196
+ */
2197
+ hasPassword?: boolean;
2198
+
2199
+ /**
2200
+ * Filter QR codes with/without tags
2201
+ */
2202
+ hasTags?: boolean;
2203
+
2204
+ /**
2205
+ * Filter QR codes with/without UTM parameters
2206
+ */
2207
+ hasUTM?: boolean;
2208
+
2209
+ /**
2210
+ * The page number for pagination.
2211
+ */
2212
+ page?: number;
2213
+
2214
+ /**
2215
+ * The number of items per page.
2216
+ */
2217
+ pageSize?: number;
2218
+
2219
+ /**
2220
+ * The password to filter by.
2221
+ */
2222
+ password?: string;
2223
+
2224
+ /**
2225
+ * The slug of the project to which the QR code belongs. For example, for
2226
+ * `app.codeqr.io/acme`, the projectSlug is `acme`.
2227
+ */
2228
+ projectSlug?: string;
2229
+
2230
+ /**
2231
+ * Maximum number of scans
2232
+ */
2233
+ scansMax?: number;
2234
+
2235
+ /**
2236
+ * Minimum number of scans
2237
+ */
2238
+ scansMin?: number;
2239
+
2240
+ /**
2241
+ * The search term to filter the QR codes. The search term will be matched against
2242
+ * the QR code slug and the destination URL.
2243
+ */
2244
+ search?: string;
2245
+
2246
+ /**
2247
+ * If should include archived QR codes in the response. The default is `false` if
2248
+ * not provided.
2249
+ */
2250
+ showArchived?: boolean;
2251
+
2252
+ /**
2253
+ * The field to order the QR codes. The default is `createdAt`, and the order of
2254
+ * sorting is always descending.
2255
+ */
2256
+ sort?: 'createdAt' | 'scans' | 'lastClicked';
2257
+
2258
+ /**
2259
+ * @deprecated [DEPRECATED (use tagIds instead)]: The unique ID of the tag assigned
2260
+ * to the QR code.
2261
+ */
2262
+ tagId?: string;
2263
+
2264
+ /**
2265
+ * The IDs of the tags to filter the QR codes.
2266
+ */
2267
+ tagIds?: string | Array<string>;
2268
+
2269
+ /**
2270
+ * The unique name of the tags assigned to the QR code (case insensitive).
2271
+ */
2272
+ tagNames?: string | Array<string>;
2273
+
2274
+ /**
2275
+ * If should include QR codes with conversion tracking enabled. The default is
2276
+ * `false` if not provided.
2277
+ */
2278
+ trackConversion?: boolean;
2279
+
2280
+ /**
2281
+ * Filter by QR code type
2282
+ */
2283
+ type?:
2284
+ | 'url'
2285
+ | 'text'
2286
+ | 'email'
2287
+ | 'wifi'
2288
+ | 'phone'
2289
+ | 'vcard'
2290
+ | 'crypto'
2291
+ | 'sms'
2292
+ | 'facetime'
2293
+ | 'latlog'
2294
+ | 'pix';
2295
+
2296
+ /**
2297
+ * The ID of the user to filter by.
2298
+ */
2299
+ userId?: string;
2300
+
2301
+ /**
2302
+ * If should include tags in the response. The default is `false` if not provided.
2303
+ */
2304
+ withTags?: boolean;
2305
+ }
2306
+
2307
+ export interface QrcodeCountParams {
2308
+ /**
2309
+ * The comments to filter by.
2310
+ */
2311
+ comments?: string;
2312
+
2313
+ /**
2314
+ * Filter QR codes created after this date
2315
+ */
2316
+ createdAfter?: string;
2317
+
2318
+ /**
2319
+ * Filter QR codes created before this date
2320
+ */
2321
+ createdBefore?: string;
2322
+
2323
+ /**
2324
+ * The domain to filter the QR codes. For example, `ac.me`. If not provided, all QR
2325
+ * codes of the project will be returned.
2326
+ */
2327
+ domain?: string;
2328
+
2329
+ /**
2330
+ * Filter QR codes expiring after this date
2331
+ */
2332
+ expiresAfter?: string;
2333
+
2334
+ /**
2335
+ * The date and time the QR code will expire in ISO-8601 format. Must be in the
2336
+ * future.
2337
+ */
2338
+ expiresAt?: string | null;
2339
+
2340
+ /**
2341
+ * Filter QR codes expiring before this date
2342
+ */
2343
+ expiresBefore?: string;
2344
+
2345
+ /**
2346
+ * Filter by QR code format - static or dynamic
2347
+ */
2348
+ format?: 'static' | 'dynamic';
2349
+
2350
+ /**
2351
+ * The field to group the QR codes.
2352
+ */
2353
+ groupBy?: 'domain' | 'tagId' | 'userId';
2354
+
2355
+ /**
2356
+ * Filter QR codes with/without comments
2357
+ */
2358
+ hasComments?: boolean;
2359
+
2360
+ /**
2361
+ * Filter QR codes with/without custom social media cards
2362
+ */
2363
+ hasCustomSocial?: boolean;
2364
+
2365
+ /**
2366
+ * Filter QR codes with/without device targeting
2367
+ */
2368
+ hasDevice?: boolean;
2369
+
2370
+ /**
2371
+ * Filter QR codes with/without expiration date
2372
+ */
2373
+ hasExpiration?: boolean;
2374
+
2375
+ /**
2376
+ * Filter QR codes with/without geo-targeting
2377
+ */
2378
+ hasGeo?: boolean;
2379
+
2380
+ /**
2381
+ * Filter QR codes with/without password protection
2382
+ */
2383
+ hasPassword?: boolean;
2384
+
2385
+ /**
2386
+ * Filter QR codes with/without tags
2387
+ */
2388
+ hasTags?: boolean;
2389
+
2390
+ /**
2391
+ * Filter QR codes with/without UTM parameters
2392
+ */
2393
+ hasUTM?: boolean;
2394
+
2395
+ /**
2396
+ * The password to filter by.
2397
+ */
2398
+ password?: string;
2399
+
2400
+ /**
2401
+ * The slug of the project to which the QR code belongs. For example, for
2402
+ * `app.codeqr.io/acme`, the projectSlug is `acme`.
2403
+ */
2404
+ projectSlug?: string;
2405
+
2406
+ /**
2407
+ * Maximum number of scans
2408
+ */
2409
+ scansMax?: number;
2410
+
2411
+ /**
2412
+ * Minimum number of scans
2413
+ */
2414
+ scansMin?: number;
2415
+
2416
+ /**
2417
+ * The search term to filter the QR codes. The search term will be matched against
2418
+ * the QR code slug and the destination URL.
2419
+ */
2420
+ search?: string;
2421
+
2422
+ /**
2423
+ * If should include archived QR codes in the response. The default is `false` if
2424
+ * not provided.
2425
+ */
2426
+ showArchived?: boolean;
2427
+
2428
+ /**
2429
+ * @deprecated [DEPRECATED (use tagIds instead)]: The unique ID of the tag assigned
2430
+ * to the QR code.
2431
+ */
2432
+ tagId?: string;
2433
+
2434
+ /**
2435
+ * The IDs of the tags to filter the QR codes.
2436
+ */
2437
+ tagIds?: string | Array<string>;
2438
+
2439
+ /**
2440
+ * The unique name of the tags assigned to the QR code (case insensitive).
2441
+ */
2442
+ tagNames?: string | Array<string>;
2443
+
2444
+ /**
2445
+ * If should include QR codes with conversion tracking enabled. The default is
2446
+ * `false` if not provided.
2447
+ */
2448
+ trackConversion?: boolean;
2449
+
2450
+ /**
2451
+ * Filter by QR code type
2452
+ */
2453
+ type?:
2454
+ | 'url'
2455
+ | 'text'
2456
+ | 'email'
2457
+ | 'wifi'
2458
+ | 'phone'
2459
+ | 'vcard'
2460
+ | 'crypto'
2461
+ | 'sms'
2462
+ | 'facetime'
2463
+ | 'latlog'
2464
+ | 'pix';
2465
+
2466
+ /**
2467
+ * The ID of the user to filter by.
2468
+ */
2469
+ userId?: string;
2470
+
2471
+ /**
2472
+ * If should include tags in the response. The default is `false` if not provided.
2473
+ */
2474
+ withTags?: boolean;
2475
+ }
2476
+
2477
+ export interface QrcodeUpsertParams {
2478
+ /**
2479
+ * The type of content of the QR code.
2480
+ */
2481
+ type: 'url' | 'text' | 'email' | 'wifi' | 'phone' | 'vcard' | 'crypto' | 'sms' | 'facetime' | 'latlog';
2482
+
2483
+ /**
2484
+ * The destination URL for Android for the QR code for device targeting Android.
2485
+ */
2486
+ android?: string | null;
2487
+
2488
+ /**
2489
+ * If the QR code is archived.
2490
+ */
2491
+ archived?: boolean;
2492
+
2493
+ /**
2494
+ * The background color of the QR code.
2495
+ */
2496
+ bgColor?: string;
2497
+
2498
+ /**
2499
+ * The comments for the QR code.
2500
+ */
2501
+ comments?: string | null;
2502
+
2503
+ /**
2504
+ * The static content of the QR code.
2505
+ */
2506
+ contentStatic?: string | null;
2507
+
2508
+ /**
2509
+ * The cryptocurrency information of the QR code.
2510
+ */
2511
+ crypto?: { [key: string]: string } | null;
2512
+
2513
+ /**
2514
+ * The description of the QR code generated via `api.codeqr.io/metatags`. Will be
2515
+ * used for custom link preview if `proxy` is true.
2516
+ */
2517
+ description?: string | null;
2518
+
2519
+ /**
2520
+ * Allow search engines to index your QR code. The default is `false` if not
2521
+ * provided. Learn more: https://codeqr.link/noindex
2522
+ */
2523
+ doIndex?: boolean;
2524
+
2525
+ /**
2526
+ * The domain of the QR code. If not provided, the main domain of the project will
2527
+ * be used (or `codeqr.link` if the project does not have domains).
2528
+ */
2529
+ domain?: string;
2530
+
2531
+ /**
2532
+ * The email information of the QR code.
2533
+ */
2534
+ email?: { [key: string]: string } | null;
2535
+
2536
+ /**
2537
+ * If the QR code should have excavated areas.
2538
+ */
2539
+ excavate?: boolean;
2540
+
2541
+ /**
2542
+ * The URL to redirect when the QR code expires.
2543
+ */
2544
+ expiredUrl?: string | null;
2545
+
2546
+ /**
2547
+ * The date and time the QR code will expire in ISO-8601 format. Must be in the
2548
+ * future.
2549
+ */
2550
+ expiresAt?: string | null;
2551
+
2552
+ /**
2553
+ * This is the ID of the QR code in your database. If defined, it can be used to
2554
+ * identify the QR code in the future. It must be prefixed with `ext_` when passed
2555
+ * as a query parameter.
2556
+ */
2557
+ externalId?: string | null;
2558
+
2559
+ /**
2560
+ * The FaceTime information of the QR code.
2561
+ */
2562
+ facetime?: { [key: string]: string } | null;
2563
+
2564
+ /**
2565
+ * The foreground color of the QR code.
2566
+ */
2567
+ fgColor?: string;
2568
+
2569
+ /**
2570
+ * If the QR code is filled.
2571
+ */
2572
+ filled?: boolean;
2573
+
2574
+ /**
2575
+ * If the QR code is flexible.
2576
+ */
2577
+ flexible?: boolean;
2578
+
2579
+ /**
2580
+ * The type of frame of the QR code.
2581
+ */
2582
+ frame?: string;
2583
+
2584
+ /**
2585
+ * The color of the frame of the QR code.
2586
+ */
2587
+ frameColor?: string;
2588
+
2589
+ /**
2590
+ * The text of the frame of the QR code.
2591
+ */
2592
+ frameText?: string;
2593
+
2594
+ /**
2595
+ * Geographic segmentation information for the QR code in the JSON format
2596
+ * `{[COUNTRY]: https://example.com }`.
2597
+ */
2598
+ geo?: QrcodeUpsertParams.Geo | null;
2599
+
2600
+ /**
2601
+ * The height of the QR code.
2602
+ */
2603
+ height?: number;
2604
+
2605
+ /**
2606
+ * The image of the QR code generated via `api.codeqr.io/metatags`. Will be used
2607
+ * for custom link preview if `proxy` is true.
2608
+ */
2609
+ image?: string | null;
2610
+
2611
+ /**
2612
+ * The destination URL for iOS for the QR code for device targeting iOS.
2613
+ */
2614
+ ios?: string | null;
2615
+
2616
+ /**
2617
+ * If the form is mandatory for the page.
2618
+ */
2619
+ isFormMandatory?: boolean;
2620
+
2621
+ /**
2622
+ * The slug of the QR code. If not provided, a random slug of 7 characters will be
2623
+ * generated.
2624
+ */
2625
+ key?: string;
2626
+
2627
+ /**
2628
+ * The latitude and longitude information of the QR code.
2629
+ */
2630
+ latlog?: { [key: string]: string } | null;
2631
+
2632
+ /**
2633
+ * The level of error correction of the QR code.
2634
+ */
2635
+ level?: string;
2636
+
2637
+ /**
2638
+ * The logo of the QR code.
2639
+ */
2640
+ logo?: string | null;
2641
+
2642
+ /**
2643
+ * The ID of the page to redirect to before the QR code destination.
2644
+ */
2645
+ pageId?: string | null;
2646
+
2647
+ /**
2648
+ * The URL of the page to redirect to before the QR code destination.
2649
+ */
2650
+ pageUrl?: string | null;
2651
+
2652
+ /**
2653
+ * The password required to access the destination URL of the QR code.
2654
+ */
2655
+ password?: string | null;
2656
+
2657
+ /**
2658
+ * The pattern of the modules of the QR code.
2659
+ */
2660
+ pattern?: string;
2661
+
2662
+ /**
2663
+ * The phone number of the QR code.
2664
+ */
2665
+ phone?: string | null;
2666
+
2667
+ /**
2668
+ * If the QR code has pre-redirection.
2669
+ */
2670
+ preRedirection?: boolean;
2671
+
2672
+ /**
2673
+ * If the QR code uses the custom link preview feature.
2674
+ */
2675
+ proxy?: boolean;
2676
+
2677
+ /**
2678
+ * If the statistics of the QR code are publicly accessible.
2679
+ */
2680
+ publicStats?: boolean;
2681
+
2682
+ /**
2683
+ * If the QR code uses link cloaking.
2684
+ */
2685
+ rewrite?: boolean;
2686
+
2687
+ /**
2688
+ * The shape of the design around the QR code (none, square, circle).
2689
+ */
2690
+ shape?: string;
2691
+
2692
+ /**
2693
+ * If the logo should be displayed in the QR code.
2694
+ */
2695
+ showLogo?: boolean;
2696
+
2697
+ /**
2698
+ * The size of the QR code.
2699
+ */
2700
+ size?: number;
2701
+
2702
+ /**
2703
+ * The SMS information of the QR code.
2704
+ */
2705
+ sms?: { [key: string]: string } | null;
2706
+
2707
+ /**
2708
+ * The image URL of the QR code.
2709
+ */
2710
+ src?: string | null;
2711
+
2712
+ /**
2713
+ * If the QR code is static.
2714
+ */
2715
+ static?: boolean;
2716
+
2717
+ /**
2718
+ * @deprecated The unique ID of the tag assigned to the QR code. This field is
2719
+ * deprecated – use `tagIds` instead.
2720
+ */
2721
+ tagId?: string | null;
2722
+
2723
+ /**
2724
+ * The unique IDs of the tags assigned to the QR code.
2725
+ */
2726
+ tagIds?: string | Array<string>;
2727
+
2728
+ /**
2729
+ * The unique name of the tags assigned to the QR code (case insensitive).
2730
+ */
2731
+ tagNames?: string | Array<string>;
2732
+
2733
+ /**
2734
+ * The text of the QR code.
2735
+ */
2736
+ text?: string | null;
2737
+
2738
+ /**
2739
+ * The title of the QR code generated via `api.codeqr.io/metatags`. Will be used
2740
+ * for custom link preview if `proxy` is true.
2741
+ */
2742
+ title?: string | null;
2743
+
2744
+ /**
2745
+ * If should track conversions for the QR code.
2746
+ */
2747
+ trackConversion?: boolean;
2748
+
2749
+ /**
2750
+ * The destination URL of the QR code.
2751
+ */
2752
+ url?: string | null;
2753
+
2754
+ /**
2755
+ * The vCard information of the QR code.
2756
+ */
2757
+ vcard?: { [key: string]: string } | null;
2758
+
2759
+ /**
2760
+ * An array of webhook IDs to trigger when the link is clicked. These webhooks will
2761
+ * receive click event data.
2762
+ */
2763
+ webhookIds?: Array<string> | null;
2764
+
2765
+ /**
2766
+ * The width of the QR code.
2767
+ */
2768
+ width?: number;
2769
+
2770
+ /**
2771
+ * The WiFi information of the QR code.
2772
+ */
2773
+ wifi?: { [key: string]: string } | null;
2774
+ }
2775
+
2776
+ export namespace QrcodeUpsertParams {
2777
+ /**
2778
+ * Geographic segmentation information for the QR code in the JSON format
2779
+ * `{[COUNTRY]: https://example.com }`.
2780
+ */
2781
+ export interface Geo {
2782
+ AD?: string;
2783
+
2784
+ AE?: string;
2785
+
2786
+ AF?: string;
2787
+
2788
+ AG?: string;
2789
+
2790
+ AI?: string;
2791
+
2792
+ AL?: string;
2793
+
2794
+ AM?: string;
2795
+
2796
+ AO?: string;
2797
+
2798
+ AQ?: string;
2799
+
2800
+ AR?: string;
2801
+
2802
+ AS?: string;
2803
+
2804
+ AT?: string;
2805
+
2806
+ AU?: string;
2807
+
2808
+ AW?: string;
2809
+
2810
+ AX?: string;
2811
+
2812
+ AZ?: string;
2813
+
2814
+ BA?: string;
2815
+
2816
+ BB?: string;
2817
+
2818
+ BD?: string;
2819
+
2820
+ BE?: string;
2821
+
2822
+ BF?: string;
2823
+
2824
+ BG?: string;
2825
+
2826
+ BH?: string;
2827
+
2828
+ BI?: string;
2829
+
2830
+ BJ?: string;
2831
+
2832
+ BL?: string;
2833
+
2834
+ BM?: string;
2835
+
2836
+ BN?: string;
2837
+
2838
+ BO?: string;
2839
+
2840
+ BQ?: string;
2841
+
2842
+ BR?: string;
2843
+
2844
+ BS?: string;
2845
+
2846
+ BT?: string;
2847
+
2848
+ BV?: string;
2849
+
2850
+ BW?: string;
2851
+
2852
+ BY?: string;
2853
+
2854
+ BZ?: string;
2855
+
2856
+ CA?: string;
2857
+
2858
+ CC?: string;
2859
+
2860
+ CD?: string;
2861
+
2862
+ CF?: string;
2863
+
2864
+ CG?: string;
2865
+
2866
+ CH?: string;
2867
+
2868
+ CI?: string;
2869
+
2870
+ CK?: string;
2871
+
2872
+ CL?: string;
2873
+
2874
+ CM?: string;
2875
+
2876
+ CN?: string;
2877
+
2878
+ CO?: string;
2879
+
2880
+ CR?: string;
2881
+
2882
+ CU?: string;
2883
+
2884
+ CV?: string;
2885
+
2886
+ CW?: string;
2887
+
2888
+ CX?: string;
2889
+
2890
+ CY?: string;
2891
+
2892
+ CZ?: string;
2893
+
2894
+ DE?: string;
2895
+
2896
+ DJ?: string;
2897
+
2898
+ DK?: string;
2899
+
2900
+ DM?: string;
2901
+
2902
+ DO?: string;
2903
+
2904
+ DZ?: string;
2905
+
2906
+ EC?: string;
2907
+
2908
+ EE?: string;
2909
+
2910
+ EG?: string;
2911
+
2912
+ EH?: string;
2913
+
2914
+ ER?: string;
2915
+
2916
+ ES?: string;
2917
+
2918
+ ET?: string;
2919
+
2920
+ FI?: string;
2921
+
2922
+ FJ?: string;
2923
+
2924
+ FK?: string;
2925
+
2926
+ FM?: string;
2927
+
2928
+ FO?: string;
2929
+
2930
+ FR?: string;
2931
+
2932
+ GA?: string;
2933
+
2934
+ GB?: string;
2935
+
2936
+ GD?: string;
2937
+
2938
+ GE?: string;
2939
+
2940
+ GF?: string;
2941
+
2942
+ GG?: string;
2943
+
2944
+ GH?: string;
2945
+
2946
+ GI?: string;
2947
+
2948
+ GL?: string;
2949
+
2950
+ GM?: string;
2951
+
2952
+ GN?: string;
2953
+
2954
+ GP?: string;
2955
+
2956
+ GQ?: string;
2957
+
2958
+ GR?: string;
2959
+
2960
+ GS?: string;
2961
+
2962
+ GT?: string;
2963
+
2964
+ GU?: string;
2965
+
2966
+ GW?: string;
2967
+
2968
+ GY?: string;
2969
+
2970
+ HK?: string;
2971
+
2972
+ HM?: string;
2973
+
2974
+ HN?: string;
2975
+
2976
+ HR?: string;
2977
+
2978
+ HT?: string;
2979
+
2980
+ HU?: string;
2981
+
2982
+ ID?: string;
2983
+
2984
+ IE?: string;
2985
+
2986
+ IL?: string;
2987
+
2988
+ IM?: string;
2989
+
2990
+ IN?: string;
2991
+
2992
+ IO?: string;
2993
+
2994
+ IQ?: string;
2995
+
2996
+ IR?: string;
2997
+
2998
+ IS?: string;
2999
+
3000
+ IT?: string;
3001
+
3002
+ JE?: string;
3003
+
3004
+ JM?: string;
3005
+
3006
+ JO?: string;
3007
+
3008
+ JP?: string;
3009
+
3010
+ KE?: string;
3011
+
3012
+ KG?: string;
3013
+
3014
+ KH?: string;
3015
+
3016
+ KI?: string;
3017
+
3018
+ KM?: string;
3019
+
3020
+ KN?: string;
3021
+
3022
+ KP?: string;
3023
+
3024
+ KR?: string;
3025
+
3026
+ KW?: string;
3027
+
3028
+ KY?: string;
3029
+
3030
+ KZ?: string;
3031
+
3032
+ LA?: string;
3033
+
3034
+ LB?: string;
3035
+
3036
+ LC?: string;
3037
+
3038
+ LI?: string;
3039
+
3040
+ LK?: string;
3041
+
3042
+ LR?: string;
3043
+
3044
+ LS?: string;
3045
+
3046
+ LT?: string;
3047
+
3048
+ LU?: string;
3049
+
3050
+ LV?: string;
3051
+
3052
+ LY?: string;
3053
+
3054
+ MA?: string;
3055
+
3056
+ MC?: string;
3057
+
3058
+ MD?: string;
3059
+
3060
+ ME?: string;
3061
+
3062
+ MF?: string;
3063
+
3064
+ MG?: string;
3065
+
3066
+ MH?: string;
3067
+
3068
+ MK?: string;
3069
+
3070
+ ML?: string;
3071
+
3072
+ MM?: string;
3073
+
3074
+ MN?: string;
3075
+
3076
+ MO?: string;
3077
+
3078
+ MP?: string;
3079
+
3080
+ MQ?: string;
3081
+
3082
+ MR?: string;
3083
+
3084
+ MS?: string;
3085
+
3086
+ MT?: string;
3087
+
3088
+ MU?: string;
3089
+
3090
+ MV?: string;
3091
+
3092
+ MW?: string;
3093
+
3094
+ MX?: string;
3095
+
3096
+ MY?: string;
3097
+
3098
+ MZ?: string;
3099
+
3100
+ NA?: string;
3101
+
3102
+ NC?: string;
3103
+
3104
+ NE?: string;
3105
+
3106
+ NF?: string;
3107
+
3108
+ NG?: string;
3109
+
3110
+ NI?: string;
3111
+
3112
+ NL?: string;
3113
+
3114
+ NO?: string;
3115
+
3116
+ NP?: string;
3117
+
3118
+ NR?: string;
3119
+
3120
+ NU?: string;
3121
+
3122
+ NZ?: string;
3123
+
3124
+ OM?: string;
3125
+
3126
+ PA?: string;
3127
+
3128
+ PE?: string;
3129
+
3130
+ PF?: string;
3131
+
3132
+ PG?: string;
3133
+
3134
+ PH?: string;
3135
+
3136
+ PK?: string;
3137
+
3138
+ PL?: string;
3139
+
3140
+ PM?: string;
3141
+
3142
+ PN?: string;
3143
+
3144
+ PR?: string;
3145
+
3146
+ PS?: string;
3147
+
3148
+ PT?: string;
3149
+
3150
+ PW?: string;
3151
+
3152
+ PY?: string;
3153
+
3154
+ QA?: string;
3155
+
3156
+ RE?: string;
3157
+
3158
+ RO?: string;
3159
+
3160
+ RS?: string;
3161
+
3162
+ RU?: string;
3163
+
3164
+ RW?: string;
3165
+
3166
+ SA?: string;
3167
+
3168
+ SB?: string;
3169
+
3170
+ SC?: string;
3171
+
3172
+ SD?: string;
3173
+
3174
+ SE?: string;
3175
+
3176
+ SG?: string;
3177
+
3178
+ SH?: string;
3179
+
3180
+ SI?: string;
3181
+
3182
+ SJ?: string;
3183
+
3184
+ SK?: string;
3185
+
3186
+ SL?: string;
3187
+
3188
+ SM?: string;
3189
+
3190
+ SN?: string;
3191
+
3192
+ SO?: string;
3193
+
3194
+ SR?: string;
3195
+
3196
+ SS?: string;
3197
+
3198
+ ST?: string;
3199
+
3200
+ SV?: string;
3201
+
3202
+ SX?: string;
3203
+
3204
+ SY?: string;
3205
+
3206
+ SZ?: string;
3207
+
3208
+ TC?: string;
3209
+
3210
+ TD?: string;
3211
+
3212
+ TF?: string;
3213
+
3214
+ TG?: string;
3215
+
3216
+ TH?: string;
3217
+
3218
+ TJ?: string;
3219
+
3220
+ TK?: string;
3221
+
3222
+ TL?: string;
3223
+
3224
+ TM?: string;
3225
+
3226
+ TN?: string;
3227
+
3228
+ TO?: string;
3229
+
3230
+ TR?: string;
3231
+
3232
+ TT?: string;
3233
+
3234
+ TV?: string;
3235
+
3236
+ TW?: string;
3237
+
3238
+ TZ?: string;
3239
+
3240
+ UA?: string;
3241
+
3242
+ UG?: string;
3243
+
3244
+ UM?: string;
3245
+
3246
+ US?: string;
3247
+
3248
+ UY?: string;
3249
+
3250
+ UZ?: string;
3251
+
3252
+ VA?: string;
3253
+
3254
+ VC?: string;
3255
+
3256
+ VE?: string;
3257
+
3258
+ VG?: string;
3259
+
3260
+ VI?: string;
3261
+
3262
+ VN?: string;
3263
+
3264
+ VU?: string;
3265
+
3266
+ WF?: string;
3267
+
3268
+ WS?: string;
3269
+
3270
+ XK?: string;
3271
+
3272
+ YE?: string;
3273
+
3274
+ YT?: string;
3275
+
3276
+ ZA?: string;
3277
+
3278
+ ZM?: string;
3279
+
3280
+ ZW?: string;
3281
+ }
3282
+ }
3283
+
3284
+ Qrcodes.Bulk = Bulk;
3285
+
3286
+ export declare namespace Qrcodes {
3287
+ export {
3288
+ type QrCode as QrCode,
3289
+ type QrcodeListResponse as QrcodeListResponse,
3290
+ type QrcodeDeleteResponse as QrcodeDeleteResponse,
3291
+ type QrcodeCountResponse as QrcodeCountResponse,
3292
+ type QrcodeCreateParams as QrcodeCreateParams,
3293
+ type QrcodeRetrieveParams as QrcodeRetrieveParams,
3294
+ type QrcodeUpdateParams as QrcodeUpdateParams,
3295
+ type QrcodeListParams as QrcodeListParams,
3296
+ type QrcodeCountParams as QrcodeCountParams,
3297
+ type QrcodeUpsertParams as QrcodeUpsertParams,
3298
+ };
3299
+
3300
+ export {
3301
+ Bulk as Bulk,
3302
+ type BulkCreateResponse as BulkCreateResponse,
3303
+ type BulkDeleteResponse as BulkDeleteResponse,
3304
+ type BulkCreateParams as BulkCreateParams,
3305
+ type BulkDeleteParams as BulkDeleteParams,
3306
+ };
3307
+ }