@indiciaosint/sdk 0.0.1 → 1.0.1
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 +5 -9
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/jsr.json +1 -1
- package/package.json +14 -7
- package/src/lib/config.ts +2 -2
- package/.devcontainer/README.md +0 -30
- package/docs/sdks/indicia/README.md +0 -3053
- package/examples/README.md +0 -31
- package/examples/node_modules/@esbuild/darwin-arm64/README.md +0 -3
- package/examples/node_modules/@types/node/LICENSE +0 -21
- package/examples/node_modules/@types/node/README.md +0 -15
- 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 -2712
- 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 -1031
- package/examples/node_modules/@types/node/os.d.ts +0 -506
- 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 -1961
- 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 -1698
- 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 -1259
- 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 -55
- package/examples/node_modules/@types/node/worker_threads.d.ts +0 -715
- package/examples/node_modules/@types/node/zlib.d.ts +0 -598
- package/examples/node_modules/dotenv/LICENSE +0 -23
- package/examples/node_modules/dotenv/README.md +0 -645
- 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/esbuild/LICENSE.md +0 -21
- package/examples/node_modules/esbuild/README.md +0 -3
- package/examples/node_modules/esbuild/install.js +0 -300
- package/examples/node_modules/esbuild/lib/main.d.ts +0 -716
- package/examples/node_modules/esbuild/lib/main.js +0 -2532
- package/examples/node_modules/fsevents/LICENSE +0 -22
- package/examples/node_modules/fsevents/README.md +0 -89
- package/examples/node_modules/fsevents/fsevents.d.ts +0 -46
- package/examples/node_modules/fsevents/fsevents.js +0 -83
- package/examples/node_modules/tsx/LICENSE +0 -21
- package/examples/node_modules/tsx/README.md +0 -32
- 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-D_mPDF5S.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 -1
- package/examples/node_modules/tsx/dist/get-pipe-path-_tAJyU_v.mjs +0 -1
- package/examples/node_modules/tsx/dist/index-XurvG3JN.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-B9BBLzwu.mjs +0 -1
- package/examples/node_modules/tsx/dist/package-Bj47PlGH.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-BnTWPeIB.mjs +0 -10
- package/examples/node_modules/tsx/dist/register-CqMfTiWi.mjs +0 -2
- package/examples/node_modules/tsx/dist/repl.mjs +0 -3
- package/examples/node_modules/tsx/dist/require-DzmC1hVr.mjs +0 -1
- package/examples/node_modules/tsx/dist/suppress-warnings.mjs +0 -1
- package/examples/node_modules/tsx/dist/temporary-directory-BDDVQOvU.mjs +0 -1
- package/examples/node_modules/tsx/dist/types-Cxp8y2TL.d.ts +0 -5
- package/examples/node_modules/undici-types/LICENSE +0 -21
- package/examples/node_modules/undici-types/README.md +0 -6
- 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/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
package/README.md
CHANGED
|
@@ -40,39 +40,35 @@ Indicia API: Development documentation
|
|
|
40
40
|
<!-- Start SDK Installation [installation] -->
|
|
41
41
|
## SDK Installation
|
|
42
42
|
|
|
43
|
-
> [!TIP]
|
|
44
|
-
> To finish publishing your SDK to npm and others you must [run your first generation action](https://www.speakeasy.com/docs/github-setup#step-by-step-guide).
|
|
45
|
-
|
|
46
|
-
|
|
47
43
|
The SDK can be installed with either [npm](https://www.npmjs.com/), [pnpm](https://pnpm.io/), [bun](https://bun.sh/) or [yarn](https://classic.yarnpkg.com/en/) package managers.
|
|
48
44
|
|
|
49
45
|
### NPM
|
|
50
46
|
|
|
51
47
|
```bash
|
|
52
|
-
npm add
|
|
48
|
+
npm add @indiciaosint/sdk
|
|
53
49
|
```
|
|
54
50
|
|
|
55
51
|
### PNPM
|
|
56
52
|
|
|
57
53
|
```bash
|
|
58
|
-
pnpm add
|
|
54
|
+
pnpm add @indiciaosint/sdk
|
|
59
55
|
```
|
|
60
56
|
|
|
61
57
|
### Bun
|
|
62
58
|
|
|
63
59
|
```bash
|
|
64
|
-
bun add
|
|
60
|
+
bun add @indiciaosint/sdk
|
|
65
61
|
```
|
|
66
62
|
|
|
67
63
|
### Yarn
|
|
68
64
|
|
|
69
65
|
```bash
|
|
70
|
-
yarn add
|
|
66
|
+
yarn add @indiciaosint/sdk
|
|
71
67
|
```
|
|
72
68
|
|
|
73
69
|
> [!NOTE]
|
|
74
70
|
> This package is published as an ES Module (ESM) only. For applications using
|
|
75
|
-
> CommonJS, use `await import()` to import and use this package.
|
|
71
|
+
> CommonJS, use `await import("@indiciaosint/sdk")` to import and use this package.
|
|
76
72
|
<!-- End SDK Installation [installation] -->
|
|
77
73
|
|
|
78
74
|
<!-- Start Requirements [requirements] -->
|
package/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.0.0";
|
|
34
|
-
readonly sdkVersion: "
|
|
34
|
+
readonly sdkVersion: "1.0.1";
|
|
35
35
|
readonly genVersion: "2.911.0";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 1.0.1 2.911.0 1.0.0 @indiciaosint/sdk";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/esm/lib/config.js
CHANGED
|
@@ -24,8 +24,8 @@ export function serverURLFromOptions(options) {
|
|
|
24
24
|
export const SDK_METADATA = {
|
|
25
25
|
language: "typescript",
|
|
26
26
|
openapiDocVersion: "1.0.0",
|
|
27
|
-
sdkVersion: "
|
|
27
|
+
sdkVersion: "1.0.1",
|
|
28
28
|
genVersion: "2.911.0",
|
|
29
|
-
userAgent: "speakeasy-sdk/typescript
|
|
29
|
+
userAgent: "speakeasy-sdk/typescript 1.0.1 2.911.0 1.0.0 @indiciaosint/sdk",
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=config.js.map
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@indiciaosint/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"author": "Indicia <support@indicia.app> (https://indicia.app)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./esm/index.js",
|
|
@@ -43,7 +43,18 @@
|
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"sideEffects": false,
|
|
46
|
-
"
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "https://github.com/indiciateam/sdk-js.git"
|
|
49
|
+
},
|
|
50
|
+
"scripts": {
|
|
51
|
+
"lint": "oxlint --max-warnings=0 --deny-warnings src/**/*.ts src/**/*.tsx",
|
|
52
|
+
"build": "tsgo",
|
|
53
|
+
"prepublishOnly": "npm run build"
|
|
54
|
+
},
|
|
55
|
+
"peerDependencies": {
|
|
56
|
+
|
|
57
|
+
},
|
|
47
58
|
"devDependencies": {
|
|
48
59
|
"@typescript/native-preview": "7.0.0-dev.20260302.1",
|
|
49
60
|
"oxlint": "^1.60.0",
|
|
@@ -51,9 +62,5 @@
|
|
|
51
62
|
},
|
|
52
63
|
"dependencies": {
|
|
53
64
|
"zod": "^3.25.65 || ^4.0.0"
|
|
54
|
-
},
|
|
55
|
-
"scripts": {
|
|
56
|
-
"lint": "oxlint --max-warnings=0 --deny-warnings src/**/*.ts src/**/*.tsx",
|
|
57
|
-
"build": "tsgo"
|
|
58
65
|
}
|
|
59
|
-
}
|
|
66
|
+
}
|
package/src/lib/config.ts
CHANGED
|
@@ -58,7 +58,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
58
58
|
export const SDK_METADATA = {
|
|
59
59
|
language: "typescript",
|
|
60
60
|
openapiDocVersion: "1.0.0",
|
|
61
|
-
sdkVersion: "
|
|
61
|
+
sdkVersion: "1.0.1",
|
|
62
62
|
genVersion: "2.911.0",
|
|
63
|
-
userAgent: "speakeasy-sdk/typescript
|
|
63
|
+
userAgent: "speakeasy-sdk/typescript 1.0.1 2.911.0 1.0.0 @indiciaosint/sdk",
|
|
64
64
|
} as const;
|
package/.devcontainer/README.md
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
> **Remember to shutdown a GitHub Codespace when it is not in use!**
|
|
3
|
-
|
|
4
|
-
# Dev Containers Quick Start
|
|
5
|
-
|
|
6
|
-
The default location for usage snippets is the `samples` directory.
|
|
7
|
-
|
|
8
|
-
## Running a Usage Sample
|
|
9
|
-
|
|
10
|
-
A sample usage example has been provided in a `root.ts` file. As you work with the SDK, it's expected that you will modify these samples to fit your needs. To execute this particular snippet, use the command below.
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
ts-node root.ts
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Generating Additional Usage Samples
|
|
17
|
-
|
|
18
|
-
The speakeasy CLI allows you to generate more usage snippets. Here's how:
|
|
19
|
-
|
|
20
|
-
- To generate a sample for a specific operation by providing an operation ID, use:
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
speakeasy generate usage -s .speakeasy/out.openapi.yaml -l typescript -i {INPUT_OPERATION_ID} -o ./samples
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
- To generate samples for an entire namespace (like a tag or group name), use:
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
speakeasy generate usage -s .speakeasy/out.openapi.yaml -l typescript -n {INPUT_TAG_NAME} -o ./samples
|
|
30
|
-
```
|