@interfere/attio 0.1.2 → 0.1.3

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 (242) hide show
  1. package/dist/commonjs/lib/config.d.ts +3 -3
  2. package/dist/commonjs/lib/config.js +3 -3
  3. package/dist/commonjs/lib/config.js.map +1 -1
  4. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts +4402 -0
  5. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts.map +1 -0
  6. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js +3773 -0
  7. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js.map +1 -0
  8. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts +538 -0
  9. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts.map +1 -0
  10. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js +499 -0
  11. package/dist/commonjs/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js.map +1 -0
  12. package/dist/commonjs/models/operations/index.d.ts +6 -2
  13. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  14. package/dist/commonjs/models/operations/index.js +6 -2
  15. package/dist/commonjs/models/operations/index.js.map +1 -1
  16. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts +3854 -0
  17. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts.map +1 -0
  18. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js +3221 -0
  19. package/dist/commonjs/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js.map +1 -0
  20. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts +3675 -0
  21. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts.map +1 -0
  22. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js +3065 -0
  23. package/dist/commonjs/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js.map +1 -0
  24. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.d.ts +539 -0
  25. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.d.ts.map +1 -0
  26. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.js +541 -0
  27. package/dist/commonjs/models/operations/patch-v2-tasks-task-id-response.js.map +1 -0
  28. package/dist/commonjs/models/operations/post-v2-tasks-data.d.ts +4072 -0
  29. package/dist/commonjs/models/operations/post-v2-tasks-data.d.ts.map +1 -0
  30. package/dist/commonjs/models/operations/post-v2-tasks-data.js +3464 -0
  31. package/dist/commonjs/models/operations/post-v2-tasks-data.js.map +1 -0
  32. package/dist/esm/lib/config.d.ts +3 -3
  33. package/dist/esm/lib/config.js +3 -3
  34. package/dist/esm/lib/config.js.map +1 -1
  35. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts +4402 -0
  36. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.d.ts.map +1 -0
  37. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js +3639 -0
  38. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.js.map +1 -0
  39. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts +538 -0
  40. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.d.ts.map +1 -0
  41. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js +445 -0
  42. package/dist/esm/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.js.map +1 -0
  43. package/dist/esm/models/operations/index.d.ts +6 -2
  44. package/dist/esm/models/operations/index.d.ts.map +1 -1
  45. package/dist/esm/models/operations/index.js +6 -2
  46. package/dist/esm/models/operations/index.js.map +1 -1
  47. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts +3854 -0
  48. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.d.ts.map +1 -0
  49. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js +3085 -0
  50. package/dist/esm/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.js.map +1 -0
  51. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts +3675 -0
  52. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.d.ts.map +1 -0
  53. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js +2932 -0
  54. package/dist/esm/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.js.map +1 -0
  55. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.d.ts +539 -0
  56. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.d.ts.map +1 -0
  57. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.js +487 -0
  58. package/dist/esm/models/operations/patch-v2-tasks-task-id-response.js.map +1 -0
  59. package/dist/esm/models/operations/post-v2-tasks-data.d.ts +4072 -0
  60. package/dist/esm/models/operations/post-v2-tasks-data.d.ts.map +1 -0
  61. package/dist/esm/models/operations/post-v2-tasks-data.js +3325 -0
  62. package/dist/esm/models/operations/post-v2-tasks-data.js.map +1 -0
  63. package/jsr.json +1 -1
  64. package/package.json +1 -1
  65. package/src/lib/config.ts +3 -3
  66. package/src/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-owner-actor-type.ts +8164 -0
  67. package/src/models/operations/get-v2-lists-list-entries-entry-id-attributes-attribute-values-response.ts +1446 -0
  68. package/src/models/operations/index.ts +6 -2
  69. package/src/models/operations/patch-v2-lists-list-entries-entry-id-entry-value-rating.ts +7440 -0
  70. package/src/models/operations/patch-v2-objects-object-records-record-id-bad-request-type.ts +6858 -0
  71. package/src/models/operations/patch-v2-tasks-task-id-response.ts +1046 -0
  72. package/src/models/operations/{get-v2-objects-object.ts → post-v2-tasks-data.ts} +2696 -10568
  73. package/.devcontainer/devcontainer.json +0 -45
  74. package/dist/commonjs/models/operations/get-v2-lists-list.d.ts +0 -8779
  75. package/dist/commonjs/models/operations/get-v2-lists-list.d.ts.map +0 -1
  76. package/dist/commonjs/models/operations/get-v2-lists-list.js +0 -7398
  77. package/dist/commonjs/models/operations/get-v2-lists-list.js.map +0 -1
  78. package/dist/commonjs/models/operations/get-v2-objects-object.d.ts +0 -8272
  79. package/dist/commonjs/models/operations/get-v2-objects-object.d.ts.map +0 -1
  80. package/dist/commonjs/models/operations/get-v2-objects-object.js +0 -6977
  81. package/dist/commonjs/models/operations/get-v2-objects-object.js.map +0 -1
  82. package/dist/esm/models/operations/get-v2-lists-list.d.ts +0 -8779
  83. package/dist/esm/models/operations/get-v2-lists-list.d.ts.map +0 -1
  84. package/dist/esm/models/operations/get-v2-lists-list.js +0 -7146
  85. package/dist/esm/models/operations/get-v2-lists-list.js.map +0 -1
  86. package/dist/esm/models/operations/get-v2-objects-object.d.ts +0 -8272
  87. package/dist/esm/models/operations/get-v2-objects-object.d.ts.map +0 -1
  88. package/dist/esm/models/operations/get-v2-objects-object.js +0 -6723
  89. package/dist/esm/models/operations/get-v2-objects-object.js.map +0 -1
  90. package/examples/node_modules/.package-lock.json +0 -174
  91. package/examples/node_modules/@esbuild/darwin-arm64/package.json +0 -20
  92. package/examples/node_modules/@types/node/assert/strict.d.ts +0 -8
  93. package/examples/node_modules/@types/node/assert.d.ts +0 -1062
  94. package/examples/node_modules/@types/node/async_hooks.d.ts +0 -605
  95. package/examples/node_modules/@types/node/buffer.buffer.d.ts +0 -471
  96. package/examples/node_modules/@types/node/buffer.d.ts +0 -1936
  97. package/examples/node_modules/@types/node/child_process.d.ts +0 -1475
  98. package/examples/node_modules/@types/node/cluster.d.ts +0 -577
  99. package/examples/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
  100. package/examples/node_modules/@types/node/compatibility/index.d.ts +0 -9
  101. package/examples/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
  102. package/examples/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
  103. package/examples/node_modules/@types/node/console.d.ts +0 -452
  104. package/examples/node_modules/@types/node/constants.d.ts +0 -21
  105. package/examples/node_modules/@types/node/crypto.d.ts +0 -4590
  106. package/examples/node_modules/@types/node/dgram.d.ts +0 -597
  107. package/examples/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
  108. package/examples/node_modules/@types/node/dns/promises.d.ts +0 -479
  109. package/examples/node_modules/@types/node/dns.d.ts +0 -871
  110. package/examples/node_modules/@types/node/domain.d.ts +0 -170
  111. package/examples/node_modules/@types/node/events.d.ts +0 -977
  112. package/examples/node_modules/@types/node/fs/promises.d.ts +0 -1270
  113. package/examples/node_modules/@types/node/fs.d.ts +0 -4375
  114. package/examples/node_modules/@types/node/globals.d.ts +0 -172
  115. package/examples/node_modules/@types/node/globals.typedarray.d.ts +0 -38
  116. package/examples/node_modules/@types/node/http.d.ts +0 -2049
  117. package/examples/node_modules/@types/node/http2.d.ts +0 -2631
  118. package/examples/node_modules/@types/node/https.d.ts +0 -578
  119. package/examples/node_modules/@types/node/index.d.ts +0 -93
  120. package/examples/node_modules/@types/node/inspector.generated.d.ts +0 -3966
  121. package/examples/node_modules/@types/node/module.d.ts +0 -539
  122. package/examples/node_modules/@types/node/net.d.ts +0 -1012
  123. package/examples/node_modules/@types/node/os.d.ts +0 -506
  124. package/examples/node_modules/@types/node/package.json +0 -140
  125. package/examples/node_modules/@types/node/path.d.ts +0 -200
  126. package/examples/node_modules/@types/node/perf_hooks.d.ts +0 -961
  127. package/examples/node_modules/@types/node/process.d.ts +0 -1966
  128. package/examples/node_modules/@types/node/punycode.d.ts +0 -117
  129. package/examples/node_modules/@types/node/querystring.d.ts +0 -152
  130. package/examples/node_modules/@types/node/readline/promises.d.ts +0 -162
  131. package/examples/node_modules/@types/node/readline.d.ts +0 -589
  132. package/examples/node_modules/@types/node/repl.d.ts +0 -430
  133. package/examples/node_modules/@types/node/sea.d.ts +0 -153
  134. package/examples/node_modules/@types/node/stream/consumers.d.ts +0 -38
  135. package/examples/node_modules/@types/node/stream/promises.d.ts +0 -90
  136. package/examples/node_modules/@types/node/stream/web.d.ts +0 -533
  137. package/examples/node_modules/@types/node/stream.d.ts +0 -1675
  138. package/examples/node_modules/@types/node/string_decoder.d.ts +0 -67
  139. package/examples/node_modules/@types/node/test.d.ts +0 -1787
  140. package/examples/node_modules/@types/node/timers/promises.d.ts +0 -108
  141. package/examples/node_modules/@types/node/timers.d.ts +0 -286
  142. package/examples/node_modules/@types/node/tls.d.ts +0 -1259
  143. package/examples/node_modules/@types/node/trace_events.d.ts +0 -197
  144. package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
  145. package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
  146. package/examples/node_modules/@types/node/ts5.6/index.d.ts +0 -93
  147. package/examples/node_modules/@types/node/tty.d.ts +0 -208
  148. package/examples/node_modules/@types/node/url.d.ts +0 -964
  149. package/examples/node_modules/@types/node/util.d.ts +0 -2331
  150. package/examples/node_modules/@types/node/v8.d.ts +0 -809
  151. package/examples/node_modules/@types/node/vm.d.ts +0 -1001
  152. package/examples/node_modules/@types/node/wasi.d.ts +0 -181
  153. package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
  154. package/examples/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
  155. package/examples/node_modules/@types/node/web-globals/events.d.ts +0 -97
  156. package/examples/node_modules/@types/node/web-globals/fetch.d.ts +0 -55
  157. package/examples/node_modules/@types/node/worker_threads.d.ts +0 -715
  158. package/examples/node_modules/@types/node/zlib.d.ts +0 -540
  159. package/examples/node_modules/dotenv/config.d.ts +0 -1
  160. package/examples/node_modules/dotenv/config.js +0 -9
  161. package/examples/node_modules/dotenv/lib/cli-options.js +0 -17
  162. package/examples/node_modules/dotenv/lib/env-options.js +0 -28
  163. package/examples/node_modules/dotenv/lib/main.d.ts +0 -162
  164. package/examples/node_modules/dotenv/lib/main.js +0 -386
  165. package/examples/node_modules/dotenv/package.json +0 -62
  166. package/examples/node_modules/esbuild/install.js +0 -289
  167. package/examples/node_modules/esbuild/lib/main.d.ts +0 -716
  168. package/examples/node_modules/esbuild/lib/main.js +0 -2242
  169. package/examples/node_modules/esbuild/package.json +0 -49
  170. package/examples/node_modules/fsevents/fsevents.d.ts +0 -46
  171. package/examples/node_modules/fsevents/fsevents.js +0 -83
  172. package/examples/node_modules/fsevents/package.json +0 -62
  173. package/examples/node_modules/get-tsconfig/dist/index.mjs +0 -7
  174. package/examples/node_modules/get-tsconfig/package.json +0 -46
  175. package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
  176. package/examples/node_modules/resolve-pkg-maps/package.json +0 -42
  177. package/examples/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
  178. package/examples/node_modules/tsx/dist/cjs/index.mjs +0 -1
  179. package/examples/node_modules/tsx/dist/cli.mjs +0 -55
  180. package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +0 -1
  181. package/examples/node_modules/tsx/dist/esm/api/index.mjs +0 -1
  182. package/examples/node_modules/tsx/dist/esm/index.mjs +0 -2
  183. package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +0 -1
  184. package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +0 -14
  185. package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +0 -1
  186. package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +0 -3
  187. package/examples/node_modules/tsx/dist/loader.mjs +0 -1
  188. package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +0 -1
  189. package/examples/node_modules/tsx/dist/package-CeBgXWuR.mjs +0 -1
  190. package/examples/node_modules/tsx/dist/patch-repl.mjs +0 -1
  191. package/examples/node_modules/tsx/dist/preflight.mjs +0 -1
  192. package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +0 -1
  193. package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +0 -4
  194. package/examples/node_modules/tsx/dist/repl.mjs +0 -3
  195. package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +0 -1
  196. package/examples/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
  197. package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +0 -1
  198. package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
  199. package/examples/node_modules/tsx/package.json +0 -68
  200. package/examples/node_modules/undici-types/agent.d.ts +0 -31
  201. package/examples/node_modules/undici-types/api.d.ts +0 -43
  202. package/examples/node_modules/undici-types/balanced-pool.d.ts +0 -29
  203. package/examples/node_modules/undici-types/cache.d.ts +0 -36
  204. package/examples/node_modules/undici-types/client.d.ts +0 -108
  205. package/examples/node_modules/undici-types/connector.d.ts +0 -34
  206. package/examples/node_modules/undici-types/content-type.d.ts +0 -21
  207. package/examples/node_modules/undici-types/cookies.d.ts +0 -28
  208. package/examples/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
  209. package/examples/node_modules/undici-types/dispatcher.d.ts +0 -256
  210. package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
  211. package/examples/node_modules/undici-types/errors.d.ts +0 -149
  212. package/examples/node_modules/undici-types/eventsource.d.ts +0 -61
  213. package/examples/node_modules/undici-types/fetch.d.ts +0 -209
  214. package/examples/node_modules/undici-types/file.d.ts +0 -39
  215. package/examples/node_modules/undici-types/filereader.d.ts +0 -54
  216. package/examples/node_modules/undici-types/formdata.d.ts +0 -108
  217. package/examples/node_modules/undici-types/global-dispatcher.d.ts +0 -9
  218. package/examples/node_modules/undici-types/global-origin.d.ts +0 -7
  219. package/examples/node_modules/undici-types/handlers.d.ts +0 -15
  220. package/examples/node_modules/undici-types/header.d.ts +0 -4
  221. package/examples/node_modules/undici-types/index.d.ts +0 -71
  222. package/examples/node_modules/undici-types/interceptors.d.ts +0 -17
  223. package/examples/node_modules/undici-types/mock-agent.d.ts +0 -50
  224. package/examples/node_modules/undici-types/mock-client.d.ts +0 -25
  225. package/examples/node_modules/undici-types/mock-errors.d.ts +0 -12
  226. package/examples/node_modules/undici-types/mock-interceptor.d.ts +0 -93
  227. package/examples/node_modules/undici-types/mock-pool.d.ts +0 -25
  228. package/examples/node_modules/undici-types/package.json +0 -55
  229. package/examples/node_modules/undici-types/patch.d.ts +0 -33
  230. package/examples/node_modules/undici-types/pool-stats.d.ts +0 -19
  231. package/examples/node_modules/undici-types/pool.d.ts +0 -39
  232. package/examples/node_modules/undici-types/proxy-agent.d.ts +0 -28
  233. package/examples/node_modules/undici-types/readable.d.ts +0 -65
  234. package/examples/node_modules/undici-types/retry-agent.d.ts +0 -8
  235. package/examples/node_modules/undici-types/retry-handler.d.ts +0 -116
  236. package/examples/node_modules/undici-types/util.d.ts +0 -18
  237. package/examples/node_modules/undici-types/webidl.d.ts +0 -228
  238. package/examples/node_modules/undici-types/websocket.d.ts +0 -150
  239. package/examples/package-lock.json +0 -611
  240. package/examples/package.json +0 -18
  241. package/src/models/operations/get-v2-lists-list.ts +0 -17016
  242. package/tsconfig.json +0 -40
@@ -1,540 +0,0 @@
1
- /**
2
- * The `node:zlib` module provides compression functionality implemented using
3
- * Gzip, Deflate/Inflate, and Brotli.
4
- *
5
- * To access it:
6
- *
7
- * ```js
8
- * import zlib from 'node:zlib';
9
- * ```
10
- *
11
- * Compression and decompression are built around the Node.js
12
- * [Streams API](https://nodejs.org/docs/latest-v20.x/api/stream.html).
13
- *
14
- * Compressing or decompressing a stream (such as a file) can be accomplished by
15
- * piping the source stream through a `zlib` `Transform` stream into a destination
16
- * stream:
17
- *
18
- * ```js
19
- * import { createGzip } from 'node:zlib';
20
- * import { pipeline } from 'node:stream';
21
- * import {
22
- * createReadStream,
23
- * createWriteStream,
24
- * } from 'node:fs';
25
- *
26
- * const gzip = createGzip();
27
- * const source = createReadStream('input.txt');
28
- * const destination = createWriteStream('input.txt.gz');
29
- *
30
- * pipeline(source, gzip, destination, (err) => {
31
- * if (err) {
32
- * console.error('An error occurred:', err);
33
- * process.exitCode = 1;
34
- * }
35
- * });
36
- *
37
- * // Or, Promisified
38
- *
39
- * import { promisify } from 'node:util';
40
- * const pipe = promisify(pipeline);
41
- *
42
- * async function do_gzip(input, output) {
43
- * const gzip = createGzip();
44
- * const source = createReadStream(input);
45
- * const destination = createWriteStream(output);
46
- * await pipe(source, gzip, destination);
47
- * }
48
- *
49
- * do_gzip('input.txt', 'input.txt.gz')
50
- * .catch((err) => {
51
- * console.error('An error occurred:', err);
52
- * process.exitCode = 1;
53
- * });
54
- * ```
55
- *
56
- * It is also possible to compress or decompress data in a single step:
57
- *
58
- * ```js
59
- * import { deflate, unzip } from 'node:zlib';
60
- *
61
- * const input = '.................................';
62
- * deflate(input, (err, buffer) => {
63
- * if (err) {
64
- * console.error('An error occurred:', err);
65
- * process.exitCode = 1;
66
- * }
67
- * console.log(buffer.toString('base64'));
68
- * });
69
- *
70
- * const buffer = Buffer.from('eJzT0yMAAGTvBe8=', 'base64');
71
- * unzip(buffer, (err, buffer) => {
72
- * if (err) {
73
- * console.error('An error occurred:', err);
74
- * process.exitCode = 1;
75
- * }
76
- * console.log(buffer.toString());
77
- * });
78
- *
79
- * // Or, Promisified
80
- *
81
- * import { promisify } from 'node:util';
82
- * const do_unzip = promisify(unzip);
83
- *
84
- * do_unzip(buffer)
85
- * .then((buf) => console.log(buf.toString()))
86
- * .catch((err) => {
87
- * console.error('An error occurred:', err);
88
- * process.exitCode = 1;
89
- * });
90
- * ```
91
- * @since v0.5.8
92
- * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/zlib.js)
93
- */
94
- declare module "zlib" {
95
- import { NonSharedBuffer } from "node:buffer";
96
- import * as stream from "node:stream";
97
- interface ZlibOptions {
98
- /**
99
- * @default constants.Z_NO_FLUSH
100
- */
101
- flush?: number | undefined;
102
- /**
103
- * @default constants.Z_FINISH
104
- */
105
- finishFlush?: number | undefined;
106
- /**
107
- * @default 16*1024
108
- */
109
- chunkSize?: number | undefined;
110
- windowBits?: number | undefined;
111
- level?: number | undefined; // compression only
112
- memLevel?: number | undefined; // compression only
113
- strategy?: number | undefined; // compression only
114
- dictionary?: NodeJS.ArrayBufferView | ArrayBuffer | undefined; // deflate/inflate only, empty dictionary by default
115
- /**
116
- * If `true`, returns an object with `buffer` and `engine`.
117
- */
118
- info?: boolean | undefined;
119
- /**
120
- * Limits output size when using convenience methods.
121
- * @default buffer.kMaxLength
122
- */
123
- maxOutputLength?: number | undefined;
124
- }
125
- interface BrotliOptions {
126
- /**
127
- * @default constants.BROTLI_OPERATION_PROCESS
128
- */
129
- flush?: number | undefined;
130
- /**
131
- * @default constants.BROTLI_OPERATION_FINISH
132
- */
133
- finishFlush?: number | undefined;
134
- /**
135
- * @default 16*1024
136
- */
137
- chunkSize?: number | undefined;
138
- params?:
139
- | {
140
- /**
141
- * Each key is a `constants.BROTLI_*` constant.
142
- */
143
- [key: number]: boolean | number;
144
- }
145
- | undefined;
146
- /**
147
- * Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v20.x/api/zlib.html#convenience-methods).
148
- * @default buffer.kMaxLength
149
- */
150
- maxOutputLength?: number | undefined;
151
- }
152
- interface Zlib {
153
- /** @deprecated Use bytesWritten instead. */
154
- readonly bytesRead: number;
155
- readonly bytesWritten: number;
156
- shell?: boolean | string | undefined;
157
- close(callback?: () => void): void;
158
- flush(kind?: number, callback?: () => void): void;
159
- flush(callback?: () => void): void;
160
- }
161
- interface ZlibParams {
162
- params(level: number, strategy: number, callback: () => void): void;
163
- }
164
- interface ZlibReset {
165
- reset(): void;
166
- }
167
- interface BrotliCompress extends stream.Transform, Zlib {}
168
- interface BrotliDecompress extends stream.Transform, Zlib {}
169
- interface Gzip extends stream.Transform, Zlib {}
170
- interface Gunzip extends stream.Transform, Zlib {}
171
- interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
172
- interface Inflate extends stream.Transform, Zlib, ZlibReset {}
173
- interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
174
- interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
175
- interface Unzip extends stream.Transform, Zlib {}
176
- /**
177
- * Computes a 32-bit [Cyclic Redundancy Check](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) checksum of `data`.
178
- * If `value` is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.
179
- * @param data When `data` is a string, it will be encoded as UTF-8 before being used for computation.
180
- * @param value An optional starting value. It must be a 32-bit unsigned integer. @default 0
181
- * @returns A 32-bit unsigned integer containing the checksum.
182
- * @since v20.15.0
183
- */
184
- function crc32(data: string | NodeJS.ArrayBufferView, value?: number): number;
185
- /**
186
- * Creates and returns a new `BrotliCompress` object.
187
- * @since v11.7.0, v10.16.0
188
- */
189
- function createBrotliCompress(options?: BrotliOptions): BrotliCompress;
190
- /**
191
- * Creates and returns a new `BrotliDecompress` object.
192
- * @since v11.7.0, v10.16.0
193
- */
194
- function createBrotliDecompress(options?: BrotliOptions): BrotliDecompress;
195
- /**
196
- * Creates and returns a new `Gzip` object.
197
- * See `example`.
198
- * @since v0.5.8
199
- */
200
- function createGzip(options?: ZlibOptions): Gzip;
201
- /**
202
- * Creates and returns a new `Gunzip` object.
203
- * @since v0.5.8
204
- */
205
- function createGunzip(options?: ZlibOptions): Gunzip;
206
- /**
207
- * Creates and returns a new `Deflate` object.
208
- * @since v0.5.8
209
- */
210
- function createDeflate(options?: ZlibOptions): Deflate;
211
- /**
212
- * Creates and returns a new `Inflate` object.
213
- * @since v0.5.8
214
- */
215
- function createInflate(options?: ZlibOptions): Inflate;
216
- /**
217
- * Creates and returns a new `DeflateRaw` object.
218
- *
219
- * An upgrade of zlib from 1.2.8 to 1.2.11 changed behavior when `windowBits` is set to 8 for raw deflate streams. zlib would automatically set `windowBits` to 9 if was initially set to 8. Newer
220
- * versions of zlib will throw an exception,
221
- * so Node.js restored the original behavior of upgrading a value of 8 to 9,
222
- * since passing `windowBits = 9` to zlib actually results in a compressed stream
223
- * that effectively uses an 8-bit window only.
224
- * @since v0.5.8
225
- */
226
- function createDeflateRaw(options?: ZlibOptions): DeflateRaw;
227
- /**
228
- * Creates and returns a new `InflateRaw` object.
229
- * @since v0.5.8
230
- */
231
- function createInflateRaw(options?: ZlibOptions): InflateRaw;
232
- /**
233
- * Creates and returns a new `Unzip` object.
234
- * @since v0.5.8
235
- */
236
- function createUnzip(options?: ZlibOptions): Unzip;
237
- type InputType = string | ArrayBuffer | NodeJS.ArrayBufferView;
238
- type CompressCallback = (error: Error | null, result: NonSharedBuffer) => void;
239
- /**
240
- * @since v11.7.0, v10.16.0
241
- */
242
- function brotliCompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
243
- function brotliCompress(buf: InputType, callback: CompressCallback): void;
244
- namespace brotliCompress {
245
- function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<NonSharedBuffer>;
246
- }
247
- /**
248
- * Compress a chunk of data with `BrotliCompress`.
249
- * @since v11.7.0, v10.16.0
250
- */
251
- function brotliCompressSync(buf: InputType, options?: BrotliOptions): NonSharedBuffer;
252
- /**
253
- * @since v11.7.0, v10.16.0
254
- */
255
- function brotliDecompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
256
- function brotliDecompress(buf: InputType, callback: CompressCallback): void;
257
- namespace brotliDecompress {
258
- function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<NonSharedBuffer>;
259
- }
260
- /**
261
- * Decompress a chunk of data with `BrotliDecompress`.
262
- * @since v11.7.0, v10.16.0
263
- */
264
- function brotliDecompressSync(buf: InputType, options?: BrotliOptions): NonSharedBuffer;
265
- /**
266
- * @since v0.6.0
267
- */
268
- function deflate(buf: InputType, callback: CompressCallback): void;
269
- function deflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
270
- namespace deflate {
271
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
272
- }
273
- /**
274
- * Compress a chunk of data with `Deflate`.
275
- * @since v0.11.12
276
- */
277
- function deflateSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
278
- /**
279
- * @since v0.6.0
280
- */
281
- function deflateRaw(buf: InputType, callback: CompressCallback): void;
282
- function deflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
283
- namespace deflateRaw {
284
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
285
- }
286
- /**
287
- * Compress a chunk of data with `DeflateRaw`.
288
- * @since v0.11.12
289
- */
290
- function deflateRawSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
291
- /**
292
- * @since v0.6.0
293
- */
294
- function gzip(buf: InputType, callback: CompressCallback): void;
295
- function gzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
296
- namespace gzip {
297
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
298
- }
299
- /**
300
- * Compress a chunk of data with `Gzip`.
301
- * @since v0.11.12
302
- */
303
- function gzipSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
304
- /**
305
- * @since v0.6.0
306
- */
307
- function gunzip(buf: InputType, callback: CompressCallback): void;
308
- function gunzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
309
- namespace gunzip {
310
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
311
- }
312
- /**
313
- * Decompress a chunk of data with `Gunzip`.
314
- * @since v0.11.12
315
- */
316
- function gunzipSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
317
- /**
318
- * @since v0.6.0
319
- */
320
- function inflate(buf: InputType, callback: CompressCallback): void;
321
- function inflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
322
- namespace inflate {
323
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
324
- }
325
- /**
326
- * Decompress a chunk of data with `Inflate`.
327
- * @since v0.11.12
328
- */
329
- function inflateSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
330
- /**
331
- * @since v0.6.0
332
- */
333
- function inflateRaw(buf: InputType, callback: CompressCallback): void;
334
- function inflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
335
- namespace inflateRaw {
336
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
337
- }
338
- /**
339
- * Decompress a chunk of data with `InflateRaw`.
340
- * @since v0.11.12
341
- */
342
- function inflateRawSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
343
- /**
344
- * @since v0.6.0
345
- */
346
- function unzip(buf: InputType, callback: CompressCallback): void;
347
- function unzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
348
- namespace unzip {
349
- function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
350
- }
351
- /**
352
- * Decompress a chunk of data with `Unzip`.
353
- * @since v0.11.12
354
- */
355
- function unzipSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
356
- namespace constants {
357
- const BROTLI_DECODE: number;
358
- const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: number;
359
- const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: number;
360
- const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: number;
361
- const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: number;
362
- const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: number;
363
- const BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: number;
364
- const BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: number;
365
- const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: number;
366
- const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: number;
367
- const BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: number;
368
- const BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: number;
369
- const BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: number;
370
- const BROTLI_DECODER_ERROR_FORMAT_DISTANCE: number;
371
- const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: number;
372
- const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: number;
373
- const BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: number;
374
- const BROTLI_DECODER_ERROR_FORMAT_PADDING_1: number;
375
- const BROTLI_DECODER_ERROR_FORMAT_PADDING_2: number;
376
- const BROTLI_DECODER_ERROR_FORMAT_RESERVED: number;
377
- const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: number;
378
- const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: number;
379
- const BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: number;
380
- const BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: number;
381
- const BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: number;
382
- const BROTLI_DECODER_ERROR_UNREACHABLE: number;
383
- const BROTLI_DECODER_NEEDS_MORE_INPUT: number;
384
- const BROTLI_DECODER_NEEDS_MORE_OUTPUT: number;
385
- const BROTLI_DECODER_NO_ERROR: number;
386
- const BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: number;
387
- const BROTLI_DECODER_PARAM_LARGE_WINDOW: number;
388
- const BROTLI_DECODER_RESULT_ERROR: number;
389
- const BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: number;
390
- const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: number;
391
- const BROTLI_DECODER_RESULT_SUCCESS: number;
392
- const BROTLI_DECODER_SUCCESS: number;
393
- const BROTLI_DEFAULT_MODE: number;
394
- const BROTLI_DEFAULT_QUALITY: number;
395
- const BROTLI_DEFAULT_WINDOW: number;
396
- const BROTLI_ENCODE: number;
397
- const BROTLI_LARGE_MAX_WINDOW_BITS: number;
398
- const BROTLI_MAX_INPUT_BLOCK_BITS: number;
399
- const BROTLI_MAX_QUALITY: number;
400
- const BROTLI_MAX_WINDOW_BITS: number;
401
- const BROTLI_MIN_INPUT_BLOCK_BITS: number;
402
- const BROTLI_MIN_QUALITY: number;
403
- const BROTLI_MIN_WINDOW_BITS: number;
404
- const BROTLI_MODE_FONT: number;
405
- const BROTLI_MODE_GENERIC: number;
406
- const BROTLI_MODE_TEXT: number;
407
- const BROTLI_OPERATION_EMIT_METADATA: number;
408
- const BROTLI_OPERATION_FINISH: number;
409
- const BROTLI_OPERATION_FLUSH: number;
410
- const BROTLI_OPERATION_PROCESS: number;
411
- const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: number;
412
- const BROTLI_PARAM_LARGE_WINDOW: number;
413
- const BROTLI_PARAM_LGBLOCK: number;
414
- const BROTLI_PARAM_LGWIN: number;
415
- const BROTLI_PARAM_MODE: number;
416
- const BROTLI_PARAM_NDIRECT: number;
417
- const BROTLI_PARAM_NPOSTFIX: number;
418
- const BROTLI_PARAM_QUALITY: number;
419
- const BROTLI_PARAM_SIZE_HINT: number;
420
- const DEFLATE: number;
421
- const DEFLATERAW: number;
422
- const GUNZIP: number;
423
- const GZIP: number;
424
- const INFLATE: number;
425
- const INFLATERAW: number;
426
- const UNZIP: number;
427
- // Allowed flush values.
428
- const Z_NO_FLUSH: number;
429
- const Z_PARTIAL_FLUSH: number;
430
- const Z_SYNC_FLUSH: number;
431
- const Z_FULL_FLUSH: number;
432
- const Z_FINISH: number;
433
- const Z_BLOCK: number;
434
- const Z_TREES: number;
435
- // Return codes for the compression/decompression functions.
436
- // Negative values are errors, positive values are used for special but normal events.
437
- const Z_OK: number;
438
- const Z_STREAM_END: number;
439
- const Z_NEED_DICT: number;
440
- const Z_ERRNO: number;
441
- const Z_STREAM_ERROR: number;
442
- const Z_DATA_ERROR: number;
443
- const Z_MEM_ERROR: number;
444
- const Z_BUF_ERROR: number;
445
- const Z_VERSION_ERROR: number;
446
- // Compression levels.
447
- const Z_NO_COMPRESSION: number;
448
- const Z_BEST_SPEED: number;
449
- const Z_BEST_COMPRESSION: number;
450
- const Z_DEFAULT_COMPRESSION: number;
451
- // Compression strategy.
452
- const Z_FILTERED: number;
453
- const Z_HUFFMAN_ONLY: number;
454
- const Z_RLE: number;
455
- const Z_FIXED: number;
456
- const Z_DEFAULT_STRATEGY: number;
457
- const Z_DEFAULT_WINDOWBITS: number;
458
-
459
- const Z_MIN_WINDOWBITS: number;
460
- const Z_MAX_WINDOWBITS: number;
461
- const Z_MIN_CHUNK: number;
462
- const Z_MAX_CHUNK: number;
463
- const Z_DEFAULT_CHUNK: number;
464
- const Z_MIN_MEMLEVEL: number;
465
- const Z_MAX_MEMLEVEL: number;
466
- const Z_DEFAULT_MEMLEVEL: number;
467
- const Z_MIN_LEVEL: number;
468
- const Z_MAX_LEVEL: number;
469
- const Z_DEFAULT_LEVEL: number;
470
- const ZLIB_VERNUM: number;
471
- }
472
- // Allowed flush values.
473
- /** @deprecated Use `constants.Z_NO_FLUSH` */
474
- const Z_NO_FLUSH: number;
475
- /** @deprecated Use `constants.Z_PARTIAL_FLUSH` */
476
- const Z_PARTIAL_FLUSH: number;
477
- /** @deprecated Use `constants.Z_SYNC_FLUSH` */
478
- const Z_SYNC_FLUSH: number;
479
- /** @deprecated Use `constants.Z_FULL_FLUSH` */
480
- const Z_FULL_FLUSH: number;
481
- /** @deprecated Use `constants.Z_FINISH` */
482
- const Z_FINISH: number;
483
- /** @deprecated Use `constants.Z_BLOCK` */
484
- const Z_BLOCK: number;
485
- /** @deprecated Use `constants.Z_TREES` */
486
- const Z_TREES: number;
487
- // Return codes for the compression/decompression functions.
488
- // Negative values are errors, positive values are used for special but normal events.
489
- /** @deprecated Use `constants.Z_OK` */
490
- const Z_OK: number;
491
- /** @deprecated Use `constants.Z_STREAM_END` */
492
- const Z_STREAM_END: number;
493
- /** @deprecated Use `constants.Z_NEED_DICT` */
494
- const Z_NEED_DICT: number;
495
- /** @deprecated Use `constants.Z_ERRNO` */
496
- const Z_ERRNO: number;
497
- /** @deprecated Use `constants.Z_STREAM_ERROR` */
498
- const Z_STREAM_ERROR: number;
499
- /** @deprecated Use `constants.Z_DATA_ERROR` */
500
- const Z_DATA_ERROR: number;
501
- /** @deprecated Use `constants.Z_MEM_ERROR` */
502
- const Z_MEM_ERROR: number;
503
- /** @deprecated Use `constants.Z_BUF_ERROR` */
504
- const Z_BUF_ERROR: number;
505
- /** @deprecated Use `constants.Z_VERSION_ERROR` */
506
- const Z_VERSION_ERROR: number;
507
- // Compression levels.
508
- /** @deprecated Use `constants.Z_NO_COMPRESSION` */
509
- const Z_NO_COMPRESSION: number;
510
- /** @deprecated Use `constants.Z_BEST_SPEED` */
511
- const Z_BEST_SPEED: number;
512
- /** @deprecated Use `constants.Z_BEST_COMPRESSION` */
513
- const Z_BEST_COMPRESSION: number;
514
- /** @deprecated Use `constants.Z_DEFAULT_COMPRESSION` */
515
- const Z_DEFAULT_COMPRESSION: number;
516
- // Compression strategy.
517
- /** @deprecated Use `constants.Z_FILTERED` */
518
- const Z_FILTERED: number;
519
- /** @deprecated Use `constants.Z_HUFFMAN_ONLY` */
520
- const Z_HUFFMAN_ONLY: number;
521
- /** @deprecated Use `constants.Z_RLE` */
522
- const Z_RLE: number;
523
- /** @deprecated Use `constants.Z_FIXED` */
524
- const Z_FIXED: number;
525
- /** @deprecated Use `constants.Z_DEFAULT_STRATEGY` */
526
- const Z_DEFAULT_STRATEGY: number;
527
- /** @deprecated */
528
- const Z_BINARY: number;
529
- /** @deprecated */
530
- const Z_TEXT: number;
531
- /** @deprecated */
532
- const Z_ASCII: number;
533
- /** @deprecated */
534
- const Z_UNKNOWN: number;
535
- /** @deprecated */
536
- const Z_DEFLATED: number;
537
- }
538
- declare module "node:zlib" {
539
- export * from "zlib";
540
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1,9 +0,0 @@
1
- (function () {
2
- require('./lib/main').config(
3
- Object.assign(
4
- {},
5
- require('./lib/env-options'),
6
- require('./lib/cli-options')(process.argv)
7
- )
8
- )
9
- })()
@@ -1,17 +0,0 @@
1
- const re = /^dotenv_config_(encoding|path|quiet|debug|override|DOTENV_KEY)=(.+)$/
2
-
3
- module.exports = function optionMatcher (args) {
4
- const options = args.reduce(function (acc, cur) {
5
- const matches = cur.match(re)
6
- if (matches) {
7
- acc[matches[1]] = matches[2]
8
- }
9
- return acc
10
- }, {})
11
-
12
- if (!('quiet' in options)) {
13
- options.quiet = 'true'
14
- }
15
-
16
- return options
17
- }
@@ -1,28 +0,0 @@
1
- // ../config.js accepts options via environment variables
2
- const options = {}
3
-
4
- if (process.env.DOTENV_CONFIG_ENCODING != null) {
5
- options.encoding = process.env.DOTENV_CONFIG_ENCODING
6
- }
7
-
8
- if (process.env.DOTENV_CONFIG_PATH != null) {
9
- options.path = process.env.DOTENV_CONFIG_PATH
10
- }
11
-
12
- if (process.env.DOTENV_CONFIG_QUIET != null) {
13
- options.quiet = process.env.DOTENV_CONFIG_QUIET
14
- }
15
-
16
- if (process.env.DOTENV_CONFIG_DEBUG != null) {
17
- options.debug = process.env.DOTENV_CONFIG_DEBUG
18
- }
19
-
20
- if (process.env.DOTENV_CONFIG_OVERRIDE != null) {
21
- options.override = process.env.DOTENV_CONFIG_OVERRIDE
22
- }
23
-
24
- if (process.env.DOTENV_CONFIG_DOTENV_KEY != null) {
25
- options.DOTENV_KEY = process.env.DOTENV_CONFIG_DOTENV_KEY
26
- }
27
-
28
- module.exports = options