@leaflow/sdk 0.0.0-dev.210.g700abef → 0.0.0-dev.214.g13f9d6c

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.
@@ -0,0 +1,3 @@
1
+ export * as account from "./account/v1/index.js";
2
+ export * as catalog from "./catalog/v1/index.js";
3
+ export * as project from "./project/v1/index.js";
@@ -0,0 +1,6 @@
1
+ // Code generated by scripts/generate.mjs. DO NOT EDIT.
2
+ //
3
+ // billing is split by function; each subpackage is its own contract and namespace.
4
+ export * as account from "./account/v1/index.js";
5
+ export * as catalog from "./catalog/v1/index.js";
6
+ export * as project from "./project/v1/index.js";
@@ -0,0 +1,4 @@
1
+ import { type ClientOptions } from "openapi-fetch";
2
+ import type { paths } from "./schema.js";
3
+ /** A client for the billing project service. Pass baseUrl to override the address. */
4
+ export declare function client(options?: ClientOptions): import("openapi-fetch").Client<paths, `${string}/${string}`>;
@@ -0,0 +1,7 @@
1
+ // Code generated from the contract's servers[0]. DO NOT EDIT.
2
+ import createClient, {} from "openapi-fetch";
3
+ const defaultBaseUrl = "https://billing.leaflow.cloud";
4
+ /** A client for the billing project service. Pass baseUrl to override the address. */
5
+ export function client(options = {}) {
6
+ return createClient({ baseUrl: defaultBaseUrl, ...options });
7
+ }
@@ -0,0 +1,5 @@
1
+ // Code generated by scripts/generate.mjs. DO NOT EDIT.
2
+ //
3
+ // The aliases replace the operations[...] subscript chain with a name. The raw paths /
4
+ // components / operations are exported as well: paths is what createClient<paths>() takes.
5
+ export { client } from "./client.js";
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  export * as account from "./account/v1/index.js";
2
2
  export * as assistant from "./assistant/v1/index.js";
3
- export * as billing from "./billing/v1/index.js";
4
- export * as billingaccount from "./billingaccount/v1/index.js";
3
+ export * as billing from "./billing/index.js";
5
4
  export * as canopy from "./canopy/v1/index.js";
6
5
  export * as compute from "./compute/v1/index.js";
7
6
  export * as dns from "./dns/v1/index.js";
package/dist/index.js CHANGED
@@ -9,8 +9,7 @@
9
9
  // `export type * as`; sideEffects: false keeps unused services out of a bundle.
10
10
  export * as account from "./account/v1/index.js";
11
11
  export * as assistant from "./assistant/v1/index.js";
12
- export * as billing from "./billing/v1/index.js";
13
- export * as billingaccount from "./billingaccount/v1/index.js";
12
+ export * as billing from "./billing/index.js";
14
13
  export * as canopy from "./canopy/v1/index.js";
15
14
  export * as compute from "./compute/v1/index.js";
16
15
  export * as dns from "./dns/v1/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.210.g700abef",
3
+ "version": "0.0.0-dev.214.g13f9d6c",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,13 +23,17 @@
23
23
  "types": "./dist/assistant/v1/index.d.ts",
24
24
  "default": "./dist/assistant/v1/index.js"
25
25
  },
26
- "./billing/v1": {
27
- "types": "./dist/billing/v1/index.d.ts",
28
- "default": "./dist/billing/v1/index.js"
26
+ "./billing/account/v1": {
27
+ "types": "./dist/billing/account/v1/index.d.ts",
28
+ "default": "./dist/billing/account/v1/index.js"
29
29
  },
30
- "./billingaccount/v1": {
31
- "types": "./dist/billingaccount/v1/index.d.ts",
32
- "default": "./dist/billingaccount/v1/index.js"
30
+ "./billing/catalog/v1": {
31
+ "types": "./dist/billing/catalog/v1/index.d.ts",
32
+ "default": "./dist/billing/catalog/v1/index.js"
33
+ },
34
+ "./billing/project/v1": {
35
+ "types": "./dist/billing/project/v1/index.d.ts",
36
+ "default": "./dist/billing/project/v1/index.js"
33
37
  },
34
38
  "./canopy/v1": {
35
39
  "types": "./dist/canopy/v1/index.d.ts",
File without changes
File without changes
File without changes
File without changes