@leaflow/sdk 0.75.0 → 0.77.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.
- package/dist/billing/v1/index.d.ts +6 -6
- package/dist/billing/v1/schema.d.ts +61 -91
- package/dist/compute/v1/schema.d.ts +31 -23
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -3
- package/package.json +1 -13
- package/dist/fabric/v1/client.d.ts +0 -4
- package/dist/fabric/v1/client.js +0 -7
- package/dist/fabric/v1/index.d.ts +0 -115
- package/dist/fabric/v1/index.js +0 -5
- package/dist/fabric/v1/schema.d.ts +0 -2311
- package/dist/fabric/v1/schema.js +0 -5
- package/dist/fleet/v1/client.d.ts +0 -4
- package/dist/fleet/v1/client.js +0 -7
- package/dist/fleet/v1/index.d.ts +0 -15
- package/dist/fleet/v1/index.js +0 -5
- package/dist/fleet/v1/schema.d.ts +0 -291
- package/dist/fleet/v1/schema.js +0 -5
- package/dist/storage/v1/client.d.ts +0 -4
- package/dist/storage/v1/client.js +0 -7
- package/dist/storage/v1/index.d.ts +0 -35
- package/dist/storage/v1/index.js +0 -5
- package/dist/storage/v1/schema.d.ts +0 -751
- package/dist/storage/v1/schema.js +0 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leaflow/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.77.0",
|
|
4
4
|
"description": "Leaflow 平台 API 的 TypeScript SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -39,14 +39,6 @@
|
|
|
39
39
|
"types": "./dist/dns/v1/index.d.ts",
|
|
40
40
|
"default": "./dist/dns/v1/index.js"
|
|
41
41
|
},
|
|
42
|
-
"./fabric/v1": {
|
|
43
|
-
"types": "./dist/fabric/v1/index.d.ts",
|
|
44
|
-
"default": "./dist/fabric/v1/index.js"
|
|
45
|
-
},
|
|
46
|
-
"./fleet/v1": {
|
|
47
|
-
"types": "./dist/fleet/v1/index.d.ts",
|
|
48
|
-
"default": "./dist/fleet/v1/index.js"
|
|
49
|
-
},
|
|
50
42
|
"./iam/v1": {
|
|
51
43
|
"types": "./dist/iam/v1/index.d.ts",
|
|
52
44
|
"default": "./dist/iam/v1/index.js"
|
|
@@ -59,10 +51,6 @@
|
|
|
59
51
|
"types": "./dist/notification/v1/index.d.ts",
|
|
60
52
|
"default": "./dist/notification/v1/index.js"
|
|
61
53
|
},
|
|
62
|
-
"./storage/v1": {
|
|
63
|
-
"types": "./dist/storage/v1/index.d.ts",
|
|
64
|
-
"default": "./dist/storage/v1/index.js"
|
|
65
|
-
},
|
|
66
54
|
"./support/v1": {
|
|
67
55
|
"types": "./dist/support/v1/index.d.ts",
|
|
68
56
|
"default": "./dist/support/v1/index.js"
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type ClientOptions } from "openapi-fetch";
|
|
2
|
-
import type { paths } from "./schema.js";
|
|
3
|
-
/** A client for the fabric service. Pass baseUrl to override the address. */
|
|
4
|
-
export declare function client(options?: ClientOptions): import("openapi-fetch").Client<paths, `${string}/${string}`>;
|
package/dist/fabric/v1/client.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// Code generated from the contract's servers[0]. DO NOT EDIT.
|
|
2
|
-
import createClient, {} from "openapi-fetch";
|
|
3
|
-
const defaultBaseUrl = "https://fabric.leaflow.cloud";
|
|
4
|
-
/** A client for the fabric service. Pass baseUrl to override the address. */
|
|
5
|
-
export function client(options = {}) {
|
|
6
|
-
return createClient({ baseUrl: defaultBaseUrl, ...options });
|
|
7
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
|
-
export { client } from "./client.js";
|
|
3
|
-
import type { operations } from "./schema.js";
|
|
4
|
-
/** The success response body of `GET /api/v1/floating-ips`. */
|
|
5
|
-
export type ListFloatingIpsResult = operations["list-floating-ips"]["responses"][200]["content"]["application/json"];
|
|
6
|
-
/** The query parameters of `GET /api/v1/floating-ips`. */
|
|
7
|
-
export type ListFloatingIpsQuery = operations["list-floating-ips"]["parameters"]["query"];
|
|
8
|
-
/** The success response body of `POST /api/v1/floating-ips`. */
|
|
9
|
-
export type AllocateFloatingIpResult = operations["allocate-floating-ip"]["responses"][202]["content"]["application/json"];
|
|
10
|
-
/** The request body of `POST /api/v1/floating-ips`. */
|
|
11
|
-
export type AllocateFloatingIpBody = NonNullable<operations["allocate-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
12
|
-
/** The success response body of `GET /api/v1/floating-ips/{floatingIpId}`. */
|
|
13
|
-
export type GetFloatingIpResult = operations["get-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
14
|
-
/** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
|
|
15
|
-
export type SetFloatingIpBandwidthResult = operations["set-floating-ip-bandwidth"]["responses"][202]["content"]["application/json"];
|
|
16
|
-
/** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
|
|
17
|
-
export type SetFloatingIpBandwidthBody = NonNullable<operations["set-floating-ip-bandwidth"]["requestBody"]>["content"]["application/json"];
|
|
18
|
-
/** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
19
|
-
export type BindFloatingIpResult = operations["bind-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
20
|
-
/** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
21
|
-
export type BindFloatingIpBody = NonNullable<operations["bind-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
22
|
-
/** The success response body of `DELETE /api/v1/floating-ips/{floatingIpId}/binding`. */
|
|
23
|
-
export type UnbindFloatingIpResult = operations["unbind-floating-ip"]["responses"][200]["content"]["application/json"];
|
|
24
|
-
/** The success response body of `GET /api/v1/operation-logs`. */
|
|
25
|
-
export type ListOperationLogsResult = operations["list-operation-logs"]["responses"][200]["content"]["application/json"];
|
|
26
|
-
/** The query parameters of `GET /api/v1/operation-logs`. */
|
|
27
|
-
export type ListOperationLogsQuery = operations["list-operation-logs"]["parameters"]["query"];
|
|
28
|
-
/** The success response body of `GET /api/v1/ports`. */
|
|
29
|
-
export type ListPortsResult = operations["list-ports"]["responses"][200]["content"]["application/json"];
|
|
30
|
-
/** The query parameters of `GET /api/v1/ports`. */
|
|
31
|
-
export type ListPortsQuery = operations["list-ports"]["parameters"]["query"];
|
|
32
|
-
/** The success response body of `POST /api/v1/ports`. */
|
|
33
|
-
export type CreatePortResult = operations["create-port"]["responses"][201]["content"]["application/json"];
|
|
34
|
-
/** The request body of `POST /api/v1/ports`. */
|
|
35
|
-
export type CreatePortBody = NonNullable<operations["create-port"]["requestBody"]>["content"]["application/json"];
|
|
36
|
-
/** The success response body of `GET /api/v1/ports/{portId}`. */
|
|
37
|
-
export type GetPortResult = operations["get-port"]["responses"][200]["content"]["application/json"];
|
|
38
|
-
/** The success response body of `GET /api/v1/private-networks`. */
|
|
39
|
-
export type ListPrivateNetworksResult = operations["list-private-networks"]["responses"][200]["content"]["application/json"];
|
|
40
|
-
/** The query parameters of `GET /api/v1/private-networks`. */
|
|
41
|
-
export type ListPrivateNetworksQuery = operations["list-private-networks"]["parameters"]["query"];
|
|
42
|
-
/** The success response body of `POST /api/v1/private-networks`. */
|
|
43
|
-
export type CreatePrivateNetworkResult = operations["create-private-network"]["responses"][201]["content"]["application/json"];
|
|
44
|
-
/** The request body of `POST /api/v1/private-networks`. */
|
|
45
|
-
export type CreatePrivateNetworkBody = NonNullable<operations["create-private-network"]["requestBody"]>["content"]["application/json"];
|
|
46
|
-
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}`. */
|
|
47
|
-
export type GetPrivateNetworkResult = operations["get-private-network"]["responses"][200]["content"]["application/json"];
|
|
48
|
-
/** The success response body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
|
|
49
|
-
export type RenamePrivateNetworkResult = operations["rename-private-network"]["responses"][200]["content"]["application/json"];
|
|
50
|
-
/** The request body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
|
|
51
|
-
export type RenamePrivateNetworkBody = NonNullable<operations["rename-private-network"]["requestBody"]>["content"]["application/json"];
|
|
52
|
-
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
53
|
-
export type GetPrivateNetworkIpv6Result = operations["get-private-network-ipv6"]["responses"][200]["content"]["application/json"];
|
|
54
|
-
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/ipv6`. */
|
|
55
|
-
export type EnablePrivateNetworkIpv6Result = operations["enable-private-network-ipv6"]["responses"][200]["content"]["application/json"];
|
|
56
|
-
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
57
|
-
export type ListRoutesResult = operations["list-routes"]["responses"][200]["content"]["application/json"];
|
|
58
|
-
/** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
59
|
-
export type ListRoutesQuery = operations["list-routes"]["parameters"]["query"];
|
|
60
|
-
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
61
|
-
export type CreateRouteResult = operations["create-route"]["responses"][201]["content"]["application/json"];
|
|
62
|
-
/** The request body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
|
|
63
|
-
export type CreateRouteBody = NonNullable<operations["create-route"]["requestBody"]>["content"]["application/json"];
|
|
64
|
-
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
65
|
-
export type ListSubnetsResult = operations["list-subnets"]["responses"][200]["content"]["application/json"];
|
|
66
|
-
/** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
67
|
-
export type ListSubnetsQuery = operations["list-subnets"]["parameters"]["query"];
|
|
68
|
-
/** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
69
|
-
export type CreateSubnetResult = operations["create-subnet"]["responses"][201]["content"]["application/json"];
|
|
70
|
-
/** The request body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
|
|
71
|
-
export type CreateSubnetBody = NonNullable<operations["create-subnet"]["requestBody"]>["content"]["application/json"];
|
|
72
|
-
/** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
|
|
73
|
-
export type SuggestSubnetCidrResult = operations["suggest-subnet-cidr"]["responses"][200]["content"]["application/json"];
|
|
74
|
-
/** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
|
|
75
|
-
export type SuggestSubnetCidrQuery = operations["suggest-subnet-cidr"]["parameters"]["query"];
|
|
76
|
-
/** The success response body of `GET /api/v1/security-groups`. */
|
|
77
|
-
export type ListSecurityGroupsResult = operations["list-security-groups"]["responses"][200]["content"]["application/json"];
|
|
78
|
-
/** The query parameters of `GET /api/v1/security-groups`. */
|
|
79
|
-
export type ListSecurityGroupsQuery = operations["list-security-groups"]["parameters"]["query"];
|
|
80
|
-
/** The success response body of `POST /api/v1/security-groups`. */
|
|
81
|
-
export type CreateSecurityGroupResult = operations["create-security-group"]["responses"][201]["content"]["application/json"];
|
|
82
|
-
/** The request body of `POST /api/v1/security-groups`. */
|
|
83
|
-
export type CreateSecurityGroupBody = NonNullable<operations["create-security-group"]["requestBody"]>["content"]["application/json"];
|
|
84
|
-
/** The success response body of `GET /api/v1/security-groups/{securityGroupId}`. */
|
|
85
|
-
export type GetSecurityGroupResult = operations["get-security-group"]["responses"][200]["content"]["application/json"];
|
|
86
|
-
/** The success response body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
|
|
87
|
-
export type RenameSecurityGroupResult = operations["rename-security-group"]["responses"][200]["content"]["application/json"];
|
|
88
|
-
/** The request body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
|
|
89
|
-
export type RenameSecurityGroupBody = NonNullable<operations["rename-security-group"]["requestBody"]>["content"]["application/json"];
|
|
90
|
-
/** The success response body of `GET /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
91
|
-
export type ListSecurityGroupRulesResult = operations["list-security-group-rules"]["responses"][200]["content"]["application/json"];
|
|
92
|
-
/** The query parameters of `GET /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
93
|
-
export type ListSecurityGroupRulesQuery = operations["list-security-group-rules"]["parameters"]["query"];
|
|
94
|
-
/** The success response body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
95
|
-
export type CreateSecurityGroupRuleResult = operations["create-security-group-rule"]["responses"][201]["content"]["application/json"];
|
|
96
|
-
/** The request body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
|
|
97
|
-
export type CreateSecurityGroupRuleBody = NonNullable<operations["create-security-group-rule"]["requestBody"]>["content"]["application/json"];
|
|
98
|
-
/** The success response body of `GET /api/v1/resource-usages`. */
|
|
99
|
-
export type ListResourceUsagesResult = operations["list-resource-usages"]["responses"][200]["content"]["application/json"];
|
|
100
|
-
/** The query parameters of `GET /api/v1/resource-usages`. */
|
|
101
|
-
export type ListResourceUsagesQuery = operations["list-resource-usages"]["parameters"]["query"];
|
|
102
|
-
/** The success response body of `GET /api/v1/resource-usages/{usageId}`. */
|
|
103
|
-
export type GetResourceUsageResult = operations["get-resource-usage"]["responses"][200]["content"]["application/json"];
|
|
104
|
-
/** The success response body of `GET /api/v1/resources/{resourceType}/{resourceId}/reclamation`. */
|
|
105
|
-
export type GetResourceReclamationResult = operations["get-resource-reclamation"]["responses"][200]["content"]["application/json"];
|
|
106
|
-
/** The success response body of `PUT /api/v1/resources/{resourceType}/{resourceId}/idle-policy`. */
|
|
107
|
-
export type SetResourceIdlePolicyResult = operations["set-resource-idle-policy"]["responses"][200]["content"]["application/json"];
|
|
108
|
-
/** The request body of `PUT /api/v1/resources/{resourceType}/{resourceId}/idle-policy`. */
|
|
109
|
-
export type SetResourceIdlePolicyBody = NonNullable<operations["set-resource-idle-policy"]["requestBody"]>["content"]["application/json"];
|
|
110
|
-
/** The success response body of `GET /api/v1/ports/{resourceId}/attachments`. */
|
|
111
|
-
export type ListPortAttachmentsResult = operations["list-port-attachments"]["responses"][200]["content"]["application/json"];
|
|
112
|
-
/** The query parameters of `GET /api/v1/ports/{resourceId}/attachments`. */
|
|
113
|
-
export type ListPortAttachmentsQuery = operations["list-port-attachments"]["parameters"]["query"];
|
|
114
|
-
/** The success response body of `GET /api/v1/attachments/{attachmentId}`. */
|
|
115
|
-
export type GetAttachmentResult = operations["get-attachment"]["responses"][200]["content"]["application/json"];
|
package/dist/fabric/v1/index.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
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";
|