@quiverai/sdk 0.1.3 → 0.1.4
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.
- package/README.md +8 -11
- package/_speakeasy/.github/action-inputs-config.json +53 -0
- package/_speakeasy/.github/action-security-config.json +88 -0
- package/dist/commonjs/funcs/modelsListModels.js +1 -1
- package/dist/commonjs/funcs/modelsRetrieveModel.js +1 -1
- package/dist/commonjs/funcs/svgCheckVectorizability.js +1 -1
- package/dist/commonjs/funcs/svgCreateSVGAnimation.js +1 -1
- package/dist/commonjs/funcs/svgCreateSVGCollection.js +1 -1
- package/dist/commonjs/funcs/svgCreateSVGEdit.js +1 -1
- package/dist/commonjs/funcs/svgCreateSVGGeneration.js +1 -1
- package/dist/commonjs/funcs/svgCreateSVGVectorization.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/esm/funcs/modelsListModels.js +1 -1
- package/dist/esm/funcs/modelsRetrieveModel.js +1 -1
- package/dist/esm/funcs/svgCheckVectorizability.js +1 -1
- package/dist/esm/funcs/svgCreateSVGAnimation.js +1 -1
- package/dist/esm/funcs/svgCreateSVGCollection.js +1 -1
- package/dist/esm/funcs/svgCreateSVGEdit.js +1 -1
- package/dist/esm/funcs/svgCreateSVGGeneration.js +1 -1
- package/dist/esm/funcs/svgCreateSVGVectorization.js +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/examples/package-lock.json +611 -0
- package/jsr.json +1 -1
- package/package.json +5 -1
- package/src/funcs/modelsListModels.ts +1 -1
- package/src/funcs/modelsRetrieveModel.ts +1 -1
- package/src/funcs/svgCheckVectorizability.ts +1 -1
- package/src/funcs/svgCreateSVGAnimation.ts +1 -1
- package/src/funcs/svgCreateSVGCollection.ts +1 -1
- package/src/funcs/svgCreateSVGEdit.ts +1 -1
- package/src/funcs/svgCreateSVGGeneration.ts +1 -1
- package/src/funcs/svgCreateSVGVectorization.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/.speakeasy/temp/reformatted4022478357.json +0 -3500
- package/.speakeasy/temp/registry_9588e5.json +0 -1
- package/examples/node_modules/.package-lock.json +0 -161
- package/examples/node_modules/@esbuild/darwin-arm64/package.json +0 -20
- package/examples/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/examples/node_modules/@types/node/assert.d.ts +0 -1062
- package/examples/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/examples/node_modules/@types/node/buffer.buffer.d.ts +0 -471
- package/examples/node_modules/@types/node/buffer.d.ts +0 -1936
- package/examples/node_modules/@types/node/child_process.d.ts +0 -1475
- package/examples/node_modules/@types/node/cluster.d.ts +0 -577
- package/examples/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/examples/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/examples/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/examples/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/examples/node_modules/@types/node/console.d.ts +0 -452
- package/examples/node_modules/@types/node/constants.d.ts +0 -21
- package/examples/node_modules/@types/node/crypto.d.ts +0 -4590
- package/examples/node_modules/@types/node/dgram.d.ts +0 -597
- package/examples/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/examples/node_modules/@types/node/dns/promises.d.ts +0 -479
- package/examples/node_modules/@types/node/dns.d.ts +0 -871
- package/examples/node_modules/@types/node/domain.d.ts +0 -170
- package/examples/node_modules/@types/node/events.d.ts +0 -977
- package/examples/node_modules/@types/node/fs/promises.d.ts +0 -1270
- package/examples/node_modules/@types/node/fs.d.ts +0 -4375
- package/examples/node_modules/@types/node/globals.d.ts +0 -172
- package/examples/node_modules/@types/node/globals.typedarray.d.ts +0 -38
- package/examples/node_modules/@types/node/http.d.ts +0 -2049
- package/examples/node_modules/@types/node/http2.d.ts +0 -2631
- package/examples/node_modules/@types/node/https.d.ts +0 -578
- package/examples/node_modules/@types/node/index.d.ts +0 -93
- package/examples/node_modules/@types/node/inspector.generated.d.ts +0 -3966
- package/examples/node_modules/@types/node/module.d.ts +0 -539
- package/examples/node_modules/@types/node/net.d.ts +0 -1012
- package/examples/node_modules/@types/node/os.d.ts +0 -506
- package/examples/node_modules/@types/node/package.json +0 -140
- package/examples/node_modules/@types/node/path.d.ts +0 -200
- package/examples/node_modules/@types/node/perf_hooks.d.ts +0 -961
- package/examples/node_modules/@types/node/process.d.ts +0 -1957
- package/examples/node_modules/@types/node/punycode.d.ts +0 -117
- package/examples/node_modules/@types/node/querystring.d.ts +0 -152
- package/examples/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/examples/node_modules/@types/node/readline.d.ts +0 -589
- package/examples/node_modules/@types/node/repl.d.ts +0 -430
- package/examples/node_modules/@types/node/sea.d.ts +0 -153
- package/examples/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/examples/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/examples/node_modules/@types/node/stream/web.d.ts +0 -533
- package/examples/node_modules/@types/node/stream.d.ts +0 -1675
- package/examples/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/examples/node_modules/@types/node/test.d.ts +0 -1787
- package/examples/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/examples/node_modules/@types/node/timers.d.ts +0 -286
- package/examples/node_modules/@types/node/tls.d.ts +0 -1255
- package/examples/node_modules/@types/node/trace_events.d.ts +0 -197
- package/examples/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
- package/examples/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
- package/examples/node_modules/@types/node/ts5.6/index.d.ts +0 -93
- package/examples/node_modules/@types/node/tty.d.ts +0 -208
- package/examples/node_modules/@types/node/url.d.ts +0 -964
- package/examples/node_modules/@types/node/util.d.ts +0 -2331
- package/examples/node_modules/@types/node/v8.d.ts +0 -809
- package/examples/node_modules/@types/node/vm.d.ts +0 -1001
- package/examples/node_modules/@types/node/wasi.d.ts +0 -181
- package/examples/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
- package/examples/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/examples/node_modules/@types/node/web-globals/events.d.ts +0 -97
- package/examples/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
- package/examples/node_modules/@types/node/worker_threads.d.ts +0 -715
- package/examples/node_modules/@types/node/zlib.d.ts +0 -540
- package/examples/node_modules/dotenv/config.d.ts +0 -1
- package/examples/node_modules/dotenv/config.js +0 -9
- package/examples/node_modules/dotenv/lib/cli-options.js +0 -17
- package/examples/node_modules/dotenv/lib/env-options.js +0 -28
- package/examples/node_modules/dotenv/lib/main.d.ts +0 -162
- package/examples/node_modules/dotenv/lib/main.js +0 -386
- package/examples/node_modules/dotenv/package.json +0 -62
- package/examples/node_modules/esbuild/install.js +0 -289
- package/examples/node_modules/esbuild/lib/main.d.ts +0 -716
- package/examples/node_modules/esbuild/lib/main.js +0 -2242
- package/examples/node_modules/esbuild/package.json +0 -49
- package/examples/node_modules/get-tsconfig/dist/index.mjs +0 -7
- package/examples/node_modules/get-tsconfig/package.json +0 -46
- package/examples/node_modules/resolve-pkg-maps/dist/index.mjs +0 -1
- package/examples/node_modules/resolve-pkg-maps/package.json +0 -42
- package/examples/node_modules/tsx/dist/cjs/api/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/cjs/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/cli.mjs +0 -55
- package/examples/node_modules/tsx/dist/client-BQVF1NaW.mjs +0 -1
- package/examples/node_modules/tsx/dist/esm/api/index.mjs +0 -1
- package/examples/node_modules/tsx/dist/esm/index.mjs +0 -2
- package/examples/node_modules/tsx/dist/get-pipe-path-BHW2eJdv.mjs +0 -1
- package/examples/node_modules/tsx/dist/index-7AaEi15b.mjs +0 -14
- package/examples/node_modules/tsx/dist/index-gbaejti9.mjs +0 -1
- package/examples/node_modules/tsx/dist/lexer-DQCqS3nf.mjs +0 -3
- package/examples/node_modules/tsx/dist/loader.mjs +0 -1
- package/examples/node_modules/tsx/dist/node-features-_8ZFwP_x.mjs +0 -1
- package/examples/node_modules/tsx/dist/package-CeBgXWuR.mjs +0 -1
- package/examples/node_modules/tsx/dist/patch-repl.mjs +0 -1
- package/examples/node_modules/tsx/dist/preflight.mjs +0 -1
- package/examples/node_modules/tsx/dist/register-B7jrtLTO.mjs +0 -1
- package/examples/node_modules/tsx/dist/register-CFH5oNdT.mjs +0 -4
- package/examples/node_modules/tsx/dist/repl.mjs +0 -3
- package/examples/node_modules/tsx/dist/require-DQxpCAr4.mjs +0 -1
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
- package/examples/node_modules/tsx/dist/temporary-directory-CwHp0_NW.mjs +0 -1
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
- package/examples/node_modules/tsx/package.json +0 -68
- package/examples/node_modules/undici-types/agent.d.ts +0 -31
- package/examples/node_modules/undici-types/api.d.ts +0 -43
- package/examples/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/examples/node_modules/undici-types/cache.d.ts +0 -36
- package/examples/node_modules/undici-types/client.d.ts +0 -108
- package/examples/node_modules/undici-types/connector.d.ts +0 -34
- package/examples/node_modules/undici-types/content-type.d.ts +0 -21
- package/examples/node_modules/undici-types/cookies.d.ts +0 -28
- package/examples/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/examples/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/examples/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/examples/node_modules/undici-types/errors.d.ts +0 -149
- package/examples/node_modules/undici-types/eventsource.d.ts +0 -61
- package/examples/node_modules/undici-types/fetch.d.ts +0 -209
- package/examples/node_modules/undici-types/file.d.ts +0 -39
- package/examples/node_modules/undici-types/filereader.d.ts +0 -54
- package/examples/node_modules/undici-types/formdata.d.ts +0 -108
- package/examples/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/examples/node_modules/undici-types/global-origin.d.ts +0 -7
- package/examples/node_modules/undici-types/handlers.d.ts +0 -15
- package/examples/node_modules/undici-types/header.d.ts +0 -4
- package/examples/node_modules/undici-types/index.d.ts +0 -71
- package/examples/node_modules/undici-types/interceptors.d.ts +0 -17
- package/examples/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/examples/node_modules/undici-types/mock-client.d.ts +0 -25
- package/examples/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/examples/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/examples/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/examples/node_modules/undici-types/package.json +0 -55
- package/examples/node_modules/undici-types/patch.d.ts +0 -33
- package/examples/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/examples/node_modules/undici-types/pool.d.ts +0 -39
- package/examples/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/examples/node_modules/undici-types/readable.d.ts +0 -65
- package/examples/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/examples/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/examples/node_modules/undici-types/util.d.ts +0 -18
- package/examples/node_modules/undici-types/webidl.d.ts +0 -228
- package/examples/node_modules/undici-types/websocket.d.ts +0 -150
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The `node:string_decoder` module provides an API for decoding `Buffer` objects
|
|
3
|
-
* into strings in a manner that preserves encoded multi-byte UTF-8 and UTF-16
|
|
4
|
-
* characters. It can be accessed using:
|
|
5
|
-
*
|
|
6
|
-
* ```js
|
|
7
|
-
* import { StringDecoder } from 'node:string_decoder';
|
|
8
|
-
* ```
|
|
9
|
-
*
|
|
10
|
-
* The following example shows the basic use of the `StringDecoder` class.
|
|
11
|
-
*
|
|
12
|
-
* ```js
|
|
13
|
-
* import { StringDecoder } from 'node:string_decoder';
|
|
14
|
-
* const decoder = new StringDecoder('utf8');
|
|
15
|
-
*
|
|
16
|
-
* const cent = Buffer.from([0xC2, 0xA2]);
|
|
17
|
-
* console.log(decoder.write(cent)); // Prints: ¢
|
|
18
|
-
*
|
|
19
|
-
* const euro = Buffer.from([0xE2, 0x82, 0xAC]);
|
|
20
|
-
* console.log(decoder.write(euro)); // Prints: €
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* When a `Buffer` instance is written to the `StringDecoder` instance, an
|
|
24
|
-
* internal buffer is used to ensure that the decoded string does not contain
|
|
25
|
-
* any incomplete multibyte characters. These are held in the buffer until the
|
|
26
|
-
* next call to `stringDecoder.write()` or until `stringDecoder.end()` is called.
|
|
27
|
-
*
|
|
28
|
-
* In the following example, the three UTF-8 encoded bytes of the European Euro
|
|
29
|
-
* symbol (`€`) are written over three separate operations:
|
|
30
|
-
*
|
|
31
|
-
* ```js
|
|
32
|
-
* import { StringDecoder } from 'node:string_decoder';
|
|
33
|
-
* const decoder = new StringDecoder('utf8');
|
|
34
|
-
*
|
|
35
|
-
* decoder.write(Buffer.from([0xE2]));
|
|
36
|
-
* decoder.write(Buffer.from([0x82]));
|
|
37
|
-
* console.log(decoder.end(Buffer.from([0xAC]))); // Prints: €
|
|
38
|
-
* ```
|
|
39
|
-
* @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/string_decoder.js)
|
|
40
|
-
*/
|
|
41
|
-
declare module "string_decoder" {
|
|
42
|
-
class StringDecoder {
|
|
43
|
-
constructor(encoding?: BufferEncoding);
|
|
44
|
-
/**
|
|
45
|
-
* Returns a decoded string, ensuring that any incomplete multibyte characters at
|
|
46
|
-
* the end of the `Buffer`, or `TypedArray`, or `DataView` are omitted from the
|
|
47
|
-
* returned string and stored in an internal buffer for the next call to `stringDecoder.write()` or `stringDecoder.end()`.
|
|
48
|
-
* @since v0.1.99
|
|
49
|
-
* @param buffer The bytes to decode.
|
|
50
|
-
*/
|
|
51
|
-
write(buffer: string | NodeJS.ArrayBufferView): string;
|
|
52
|
-
/**
|
|
53
|
-
* Returns any remaining input stored in the internal buffer as a string. Bytes
|
|
54
|
-
* representing incomplete UTF-8 and UTF-16 characters will be replaced with
|
|
55
|
-
* substitution characters appropriate for the character encoding.
|
|
56
|
-
*
|
|
57
|
-
* If the `buffer` argument is provided, one final call to `stringDecoder.write()` is performed before returning the remaining input.
|
|
58
|
-
* After `end()` is called, the `stringDecoder` object can be reused for new input.
|
|
59
|
-
* @since v0.9.3
|
|
60
|
-
* @param buffer The bytes to decode.
|
|
61
|
-
*/
|
|
62
|
-
end(buffer?: string | NodeJS.ArrayBufferView): string;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
declare module "node:string_decoder" {
|
|
66
|
-
export * from "string_decoder";
|
|
67
|
-
}
|