@leadping/sdk 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +5 -0
  2. package/README.md +43 -0
  3. package/package.json +50 -0
package/LICENSE ADDED
@@ -0,0 +1,5 @@
1
+ Copyright (c) 2026 Leadping.
2
+
3
+ All rights reserved.
4
+
5
+ This software and associated documentation files are proprietary and confidential. Unauthorized copying, modification, distribution, sublicensing, or use of this software, in whole or in part, is prohibited except under a written agreement with Leadping.
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # Leadping TypeScript SDK
2
+
3
+ Typed TypeScript client for the Leadping API, generated from `leadpingai/openapi` with Kiota.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install @leadping/sdk
9
+ ```
10
+
11
+ Use a Kiota request adapter, such as:
12
+
13
+ ```bash
14
+ npm install @microsoft/kiota-http-fetchlibrary
15
+ ```
16
+
17
+ For GitHub Packages:
18
+
19
+ ```bash
20
+ npm config set @leadpingai:registry https://npm.pkg.github.com
21
+ npm install @leadpingai/sdk
22
+ ```
23
+
24
+ ## Use
25
+
26
+ ```ts
27
+ import { createLeadpingOpenApiClient } from "@leadping/sdk";
28
+
29
+ const adapter = createLeadpingRequestAdapter();
30
+ adapter.baseUrl = "https://api.leadping.ai";
31
+
32
+ const client = createLeadpingOpenApiClient(adapter);
33
+ const me = await client.users.me.get();
34
+ ```
35
+
36
+ `createLeadpingRequestAdapter` should return a Kiota request adapter configured with your Leadping authentication.
37
+
38
+ ## Notes
39
+
40
+ - Generated code comes from `leadpingai/openapi`; update the OpenAPI spec instead of hand-editing generated files.
41
+ - Package name: `@leadping/sdk`
42
+ - GitHub Packages name: `@leadpingai/sdk`
43
+ - License: see `LICENSE`
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@leadping/sdk",
3
+ "version": "0.0.0",
4
+ "description": "Typed TypeScript client for the Leadping API, generated from the Leadping OpenAPI document with Microsoft Kiota.",
5
+ "type": "module",
6
+ "license": "UNLICENSED",
7
+ "author": "Leadping",
8
+ "homepage": "https://leadping.ai",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/leadpingai/leadping-typescript.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/leadpingai/leadping-typescript/issues"
15
+ },
16
+ "keywords": [
17
+ "leadping",
18
+ "sdk",
19
+ "api",
20
+ "openapi",
21
+ "kiota"
22
+ ],
23
+ "files": [
24
+ "dist",
25
+ "README.md",
26
+ "LICENSE"
27
+ ],
28
+ "exports": {
29
+ ".": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/index.js"
32
+ }
33
+ },
34
+ "types": "./dist/index.d.ts",
35
+ "scripts": {
36
+ "build": "tsc -p tsconfig.json",
37
+ "clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\""
38
+ },
39
+ "dependencies": {
40
+ "@microsoft/kiota-abstractions": "1.0.0-preview.102",
41
+ "@microsoft/kiota-serialization-form": "1.0.0-preview.102",
42
+ "@microsoft/kiota-serialization-json": "1.0.0-preview.102",
43
+ "@microsoft/kiota-serialization-multipart": "1.0.0-preview.102",
44
+ "@microsoft/kiota-serialization-text": "1.0.0-preview.102"
45
+ },
46
+ "devDependencies": {
47
+ "@types/node": "^22.0.0",
48
+ "typescript": "^5.5.0"
49
+ }
50
+ }