@leaflow/sdk 0.7.0 → 0.8.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.
@@ -22,6 +22,8 @@ export type SubmitIdentityVerificationResult = operations["submit-identity-verif
22
22
  export type SubmitIdentityVerificationBody = NonNullable<operations["submit-identity-verification"]["requestBody"]>["content"]["application/json"];
23
23
  /** `GET /account/v1/me/invitations` 成功时的响应体。 */
24
24
  export type ListMyInvitationsResult = operations["list-my-invitations"]["responses"][200]["content"]["application/json"];
25
+ /** `GET /account/v1/me/invitations` 的查询参数。 */
26
+ export type ListMyInvitationsQuery = operations["list-my-invitations"]["parameters"]["query"];
25
27
  /** `POST /account/v1/me/invitations/accept` 成功时的响应体。 */
26
28
  export type AcceptInvitationByTokenResult = operations["accept-invitation-by-token"]["responses"][200]["content"]["application/json"];
27
29
  /** `POST /account/v1/me/invitations/accept` 的请求体。 */
@@ -30,6 +32,8 @@ export type AcceptInvitationByTokenBody = NonNullable<operations["accept-invitat
30
32
  export type AcceptInvitationResult = operations["accept-invitation"]["responses"][200]["content"]["application/json"];
31
33
  /** `GET /account/v1/projects` 成功时的响应体。 */
32
34
  export type ListProjectsResult = operations["list-projects"]["responses"][200]["content"]["application/json"];
35
+ /** `GET /account/v1/projects` 的查询参数。 */
36
+ export type ListProjectsQuery = operations["list-projects"]["parameters"]["query"];
33
37
  /** `POST /account/v1/projects` 成功时的响应体。 */
34
38
  export type CreateProjectResult = operations["create-project"]["responses"][201]["content"]["application/json"];
35
39
  /** `POST /account/v1/projects` 的请求体。 */
@@ -4,10 +4,14 @@ import type { operations } from "./schema.js";
4
4
  export type UploadAttachmentResult = operations["upload-attachment"]["responses"][201]["content"]["application/json"];
5
5
  /** `GET /api/v1/bindings` 成功时的响应体。 */
6
6
  export type ListBindingsResult = operations["list-bindings"]["responses"][200]["content"]["application/json"];
7
+ /** `GET /api/v1/bindings` 的查询参数。 */
8
+ export type ListBindingsQuery = operations["list-bindings"]["parameters"]["query"];
7
9
  /** `GET /api/v1/bindings/{binding}` 成功时的响应体。 */
8
10
  export type GetBindingResult = operations["get-binding"]["responses"][200]["content"]["application/json"];
9
11
  /** `GET /api/v1/channels` 成功时的响应体。 */
10
12
  export type ListChannelsResult = operations["list-channels"]["responses"][200]["content"]["application/json"];
13
+ /** `GET /api/v1/channels` 的查询参数。 */
14
+ export type ListChannelsQuery = operations["list-channels"]["parameters"]["query"];
11
15
  /** `POST /api/v1/channels` 成功时的响应体。 */
12
16
  export type CreateChannelResult = operations["create-channel"]["responses"][201]["content"]["application/json"];
13
17
  /** `POST /api/v1/channels` 的请求体。 */
@@ -22,12 +26,16 @@ export type UpdateChannelBody = NonNullable<operations["update-channel"]["reques
22
26
  export type CreateBindingCodeResult = operations["create-binding-code"]["responses"][201]["content"]["application/json"];
23
27
  /** `GET /api/v1/channels/{channel}/rejections` 成功时的响应体。 */
24
28
  export type ListChannelRejectionsResult = operations["list-channel-rejections"]["responses"][200]["content"]["application/json"];
29
+ /** `GET /api/v1/channels/{channel}/rejections` 的查询参数。 */
30
+ export type ListChannelRejectionsQuery = operations["list-channel-rejections"]["parameters"]["query"];
25
31
  /** `POST /api/v1/channels/{channel}/secret` 成功时的响应体。 */
26
32
  export type RotateChannelSecretResult = operations["rotate-channel-secret"]["responses"][200]["content"]["application/json"];
27
33
  /** `POST /api/v1/channels/{channel}/secret` 的请求体。 */
28
34
  export type RotateChannelSecretBody = NonNullable<operations["rotate-channel-secret"]["requestBody"]>["content"]["application/json"];
29
35
  /** `GET /api/v1/channels/{channel}/sender-check` 成功时的响应体。 */
30
36
  export type CheckSenderResult = operations["check-sender"]["responses"][200]["content"]["application/json"];
37
+ /** `GET /api/v1/channels/{channel}/sender-check` 的查询参数。 */
38
+ export type CheckSenderQuery = operations["check-sender"]["parameters"]["query"];
31
39
  /** `POST /api/v1/channels/{channel}/weixin-logins` 成功时的响应体。 */
32
40
  export type BeginWeixinLoginResult = operations["begin-weixin-login"]["responses"][201]["content"]["application/json"];
33
41
  /** `GET /api/v1/platforms` 成功时的响应体。 */
@@ -42,6 +50,8 @@ export type SubmitWeixinVerifyCodeBody = NonNullable<operations["submit-weixin-v
42
50
  export type ListModelsResult = operations["list-models"]["responses"][200]["content"]["application/json"];
43
51
  /** `GET /api/v1/threads` 成功时的响应体。 */
44
52
  export type ListThreadsResult = operations["list-threads"]["responses"][200]["content"]["application/json"];
53
+ /** `GET /api/v1/threads` 的查询参数。 */
54
+ export type ListThreadsQuery = operations["list-threads"]["parameters"]["query"];
45
55
  /** `POST /api/v1/threads` 成功时的响应体。 */
46
56
  export type CreateThreadResult = operations["create-thread"]["responses"][201]["content"]["application/json"];
47
57
  /** `POST /api/v1/threads` 的请求体。 */
@@ -56,6 +66,8 @@ export type UpdateThreadBody = NonNullable<operations["update-thread"]["requestB
56
66
  export type DecideApprovalBody = NonNullable<operations["decide-approval"]["requestBody"]>["content"]["application/json"];
57
67
  /** `GET /api/v1/threads/{thread}/earlier` 成功时的响应体。 */
58
68
  export type ListEarlierItemsResult = operations["list-earlier-items"]["responses"][200]["content"]["application/json"];
69
+ /** `GET /api/v1/threads/{thread}/earlier` 的查询参数。 */
70
+ export type ListEarlierItemsQuery = operations["list-earlier-items"]["parameters"]["query"];
59
71
  /** `POST /api/v1/threads/{thread}/messages` 成功时的响应体。 */
60
72
  export type SendMessageResult = operations["send-message"]["responses"][202]["content"]["application/json"];
61
73
  /** `POST /api/v1/threads/{thread}/messages` 的请求体。 */
@@ -2,6 +2,8 @@ export type { paths, components, operations, webhooks } from "./schema.js";
2
2
  import type { operations } from "./schema.js";
3
3
  /** `GET /api/v1/keys` 成功时的响应体。 */
4
4
  export type ListApiKeysResult = operations["list-api-keys"]["responses"][200]["content"]["application/json"];
5
+ /** `GET /api/v1/keys` 的查询参数。 */
6
+ export type ListApiKeysQuery = operations["list-api-keys"]["parameters"]["query"];
5
7
  /** `POST /api/v1/keys` 成功时的响应体。 */
6
8
  export type CreateApiKeyResult = operations["create-api-key"]["responses"][201]["content"]["application/json"];
7
9
  /** `POST /api/v1/keys` 的请求体。 */
@@ -24,13 +26,23 @@ export type ListModelsResult = operations["list-models"]["responses"][200]["cont
24
26
  export type GetModelResult = operations["get-model"]["responses"][200]["content"]["application/json"];
25
27
  /** `GET /api/v1/requests` 成功时的响应体。 */
26
28
  export type ListRequestsResult = operations["list-requests"]["responses"][200]["content"]["application/json"];
29
+ /** `GET /api/v1/requests` 的查询参数。 */
30
+ export type ListRequestsQuery = operations["list-requests"]["parameters"]["query"];
27
31
  /** `GET /api/v1/requests/{requestId}` 成功时的响应体。 */
28
32
  export type GetRequestResult = operations["get-request"]["responses"][200]["content"]["application/json"];
29
33
  /** `GET /api/v1/usage/by-api-key` 成功时的响应体。 */
30
34
  export type ListUsageByApiKeyResult = operations["list-usage-by-api-key"]["responses"][200]["content"]["application/json"];
35
+ /** `GET /api/v1/usage/by-api-key` 的查询参数。 */
36
+ export type ListUsageByApiKeyQuery = operations["list-usage-by-api-key"]["parameters"]["query"];
31
37
  /** `GET /api/v1/usage/by-model` 成功时的响应体。 */
32
38
  export type ListUsageByModelResult = operations["list-usage-by-model"]["responses"][200]["content"]["application/json"];
39
+ /** `GET /api/v1/usage/by-model` 的查询参数。 */
40
+ export type ListUsageByModelQuery = operations["list-usage-by-model"]["parameters"]["query"];
33
41
  /** `GET /api/v1/usage/summary` 成功时的响应体。 */
34
42
  export type GetUsageSummaryResult = operations["get-usage-summary"]["responses"][200]["content"]["application/json"];
43
+ /** `GET /api/v1/usage/summary` 的查询参数。 */
44
+ export type GetUsageSummaryQuery = operations["get-usage-summary"]["parameters"]["query"];
35
45
  /** `GET /api/v1/usage/timeline` 成功时的响应体。 */
36
46
  export type GetUsageTimelineResult = operations["get-usage-timeline"]["responses"][200]["content"]["application/json"];
47
+ /** `GET /api/v1/usage/timeline` 的查询参数。 */
48
+ export type GetUsageTimelineQuery = operations["get-usage-timeline"]["parameters"]["query"];
@@ -2,6 +2,8 @@ export type { paths, components, operations, webhooks } from "./schema.js";
2
2
  import type { operations } from "./schema.js";
3
3
  /** `GET /api/v1/backups` 成功时的响应体。 */
4
4
  export type ListBackupsResult = operations["list-backups"]["responses"][200]["content"]["application/json"];
5
+ /** `GET /api/v1/backups` 的查询参数。 */
6
+ export type ListBackupsQuery = operations["list-backups"]["parameters"]["query"];
5
7
  /** `POST /api/v1/backups` 成功时的响应体。 */
6
8
  export type CreateBackupResult = operations["create-backup"]["responses"][201]["content"]["application/json"];
7
9
  /** `POST /api/v1/backups` 的请求体。 */
@@ -18,16 +20,24 @@ export type RestoreBackupResult = operations["restore-backup"]["responses"][201]
18
20
  export type RestoreBackupBody = NonNullable<operations["restore-backup"]["requestBody"]>["content"]["application/json"];
19
21
  /** `GET /api/v1/disk-types` 成功时的响应体。 */
20
22
  export type ListDiskTypesResult = operations["list-disk-types"]["responses"][200]["content"]["application/json"];
23
+ /** `GET /api/v1/disk-types` 的查询参数。 */
24
+ export type ListDiskTypesQuery = operations["list-disk-types"]["parameters"]["query"];
21
25
  /** `GET /api/v1/images` 成功时的响应体。 */
22
26
  export type ListImagesResult = operations["list-images"]["responses"][200]["content"]["application/json"];
27
+ /** `GET /api/v1/images` 的查询参数。 */
28
+ export type ListImagesQuery = operations["list-images"]["parameters"]["query"];
23
29
  /** `GET /api/v1/instance-types` 成功时的响应体。 */
24
30
  export type ListInstanceTypesResult = operations["list-instance-types"]["responses"][200]["content"]["application/json"];
31
+ /** `GET /api/v1/instance-types` 的查询参数。 */
32
+ export type ListInstanceTypesQuery = operations["list-instance-types"]["parameters"]["query"];
25
33
  /** `GET /api/v1/regions` 成功时的响应体。 */
26
34
  export type ListRegionsResult = operations["list-regions"]["responses"][200]["content"]["application/json"];
27
35
  /** `GET /api/v1/regions/{regionCode}/availability-zones` 成功时的响应体。 */
28
36
  export type ListAvailabilityZonesResult = operations["list-availability-zones"]["responses"][200]["content"]["application/json"];
29
37
  /** `GET /api/v1/disks` 成功时的响应体。 */
30
38
  export type ListDisksResult = operations["list-disks"]["responses"][200]["content"]["application/json"];
39
+ /** `GET /api/v1/disks` 的查询参数。 */
40
+ export type ListDisksQuery = operations["list-disks"]["parameters"]["query"];
31
41
  /** `POST /api/v1/disks` 成功时的响应体。 */
32
42
  export type CreateDiskResult = operations["create-disk"]["responses"][201]["content"]["application/json"];
33
43
  /** `POST /api/v1/disks` 的请求体。 */
@@ -84,6 +94,8 @@ export type ActOnInstanceBody = NonNullable<operations["act-on-instance"]["reque
84
94
  export type OpenInstanceConsoleResult = operations["open-instance-console"]["responses"][200]["content"]["application/json"];
85
95
  /** `GET /api/v1/instances/{instanceId}/console-output` 成功时的响应体。 */
86
96
  export type GetInstanceConsoleOutputResult = operations["get-instance-console-output"]["responses"][200]["content"]["application/json"];
97
+ /** `GET /api/v1/instances/{instanceId}/console-output` 的查询参数。 */
98
+ export type GetInstanceConsoleOutputQuery = operations["get-instance-console-output"]["parameters"]["query"];
87
99
  /** `POST /api/v1/instances/{instanceId}/password` 成功时的响应体。 */
88
100
  export type ResetInstancePasswordResult = operations["reset-instance-password"]["responses"][200]["content"]["application/json"];
89
101
  /** `POST /api/v1/instances/{instanceId}/password` 的请求体。 */
@@ -124,6 +136,8 @@ export type AttachPortBody = NonNullable<operations["attach-port"]["requestBody"
124
136
  export type DetachPortResult = operations["detach-port"]["responses"][200]["content"]["application/json"];
125
137
  /** `GET /api/v1/operation-logs` 成功时的响应体。 */
126
138
  export type ListOperationLogsResult = operations["list-operation-logs"]["responses"][200]["content"]["application/json"];
139
+ /** `GET /api/v1/operation-logs` 的查询参数。 */
140
+ export type ListOperationLogsQuery = operations["list-operation-logs"]["parameters"]["query"];
127
141
  /** `GET /api/v1/ports` 成功时的响应体。 */
128
142
  export type ListPortsResult = operations["list-ports"]["responses"][200]["content"]["application/json"];
129
143
  /** `POST /api/v1/ports` 成功时的响应体。 */
@@ -132,6 +146,8 @@ export type CreatePortResult = operations["create-port"]["responses"][201]["cont
132
146
  export type CreatePortBody = NonNullable<operations["create-port"]["requestBody"]>["content"]["application/json"];
133
147
  /** `GET /api/v1/private-images` 成功时的响应体。 */
134
148
  export type ListPrivateImagesResult = operations["list-private-images"]["responses"][200]["content"]["application/json"];
149
+ /** `GET /api/v1/private-images` 的查询参数。 */
150
+ export type ListPrivateImagesQuery = operations["list-private-images"]["parameters"]["query"];
135
151
  /** `POST /api/v1/private-images` 成功时的响应体。 */
136
152
  export type CreatePrivateImageResult = operations["create-private-image"]["responses"][201]["content"]["application/json"];
137
153
  /** `POST /api/v1/private-images` 的请求体。 */
@@ -144,6 +160,8 @@ export type RenamePrivateImageResult = operations["rename-private-image"]["respo
144
160
  export type RenamePrivateImageBody = NonNullable<operations["rename-private-image"]["requestBody"]>["content"]["application/json"];
145
161
  /** `GET /api/v1/private-networks` 成功时的响应体。 */
146
162
  export type ListPrivateNetworksResult = operations["list-private-networks"]["responses"][200]["content"]["application/json"];
163
+ /** `GET /api/v1/private-networks` 的查询参数。 */
164
+ export type ListPrivateNetworksQuery = operations["list-private-networks"]["parameters"]["query"];
147
165
  /** `POST /api/v1/private-networks` 成功时的响应体。 */
148
166
  export type CreatePrivateNetworkResult = operations["create-private-network"]["responses"][201]["content"]["application/json"];
149
167
  /** `POST /api/v1/private-networks` 的请求体。 */
@@ -172,8 +190,12 @@ export type CreateSubnetResult = operations["create-subnet"]["responses"][201]["
172
190
  export type CreateSubnetBody = NonNullable<operations["create-subnet"]["requestBody"]>["content"]["application/json"];
173
191
  /** `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr` 成功时的响应体。 */
174
192
  export type SuggestSubnetCidrResult = operations["suggest-subnet-cidr"]["responses"][200]["content"]["application/json"];
193
+ /** `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr` 的查询参数。 */
194
+ export type SuggestSubnetCidrQuery = operations["suggest-subnet-cidr"]["parameters"]["query"];
175
195
  /** `GET /api/v1/security-groups` 成功时的响应体。 */
176
196
  export type ListSecurityGroupsResult = operations["list-security-groups"]["responses"][200]["content"]["application/json"];
197
+ /** `GET /api/v1/security-groups` 的查询参数。 */
198
+ export type ListSecurityGroupsQuery = operations["list-security-groups"]["parameters"]["query"];
177
199
  /** `POST /api/v1/security-groups` 成功时的响应体。 */
178
200
  export type CreateSecurityGroupResult = operations["create-security-group"]["responses"][201]["content"]["application/json"];
179
201
  /** `POST /api/v1/security-groups` 的请求体。 */
@@ -188,6 +210,8 @@ export type CreateSecurityGroupRuleResult = operations["create-security-group-ru
188
210
  export type CreateSecurityGroupRuleBody = NonNullable<operations["create-security-group-rule"]["requestBody"]>["content"]["application/json"];
189
211
  /** `GET /api/v1/snapshots` 成功时的响应体。 */
190
212
  export type ListSnapshotsResult = operations["list-snapshots"]["responses"][200]["content"]["application/json"];
213
+ /** `GET /api/v1/snapshots` 的查询参数。 */
214
+ export type ListSnapshotsQuery = operations["list-snapshots"]["parameters"]["query"];
191
215
  /** `POST /api/v1/snapshots` 成功时的响应体。 */
192
216
  export type CreateSnapshotResult = operations["create-snapshot"]["responses"][201]["content"]["application/json"];
193
217
  /** `POST /api/v1/snapshots` 的请求体。 */
@@ -14,12 +14,16 @@ export type UpdateProjectBody = NonNullable<operations["update-project"]["reques
14
14
  export type GetProjectMembershipResult = operations["get-project-membership"]["responses"][200]["content"]["application/json"];
15
15
  /** `GET /api/v1/invitations` 成功时的响应体。 */
16
16
  export type ListProjectInvitationsResult = operations["list-project-invitations"]["responses"][200]["content"]["application/json"];
17
+ /** `GET /api/v1/invitations` 的查询参数。 */
18
+ export type ListProjectInvitationsQuery = operations["list-project-invitations"]["parameters"]["query"];
17
19
  /** `POST /api/v1/invitations` 成功时的响应体。 */
18
20
  export type IssueInvitationResult = operations["issue-invitation"]["responses"][201]["content"]["application/json"];
19
21
  /** `POST /api/v1/invitations` 的请求体。 */
20
22
  export type IssueInvitationBody = NonNullable<operations["issue-invitation"]["requestBody"]>["content"]["application/json"];
21
23
  /** `GET /api/v1/members` 成功时的响应体。 */
22
24
  export type ListMembersResult = operations["list-members"]["responses"][200]["content"]["application/json"];
25
+ /** `GET /api/v1/members` 的查询参数。 */
26
+ export type ListMembersQuery = operations["list-members"]["parameters"]["query"];
23
27
  /** `PUT /api/v1/members/{userId}/roles` 成功时的响应体。 */
24
28
  export type SetMemberRolesResult = operations["set-member-roles"]["responses"][200]["content"]["application/json"];
25
29
  /** `PUT /api/v1/members/{userId}/roles` 的请求体。 */
@@ -42,6 +46,8 @@ export type UpdateRoleResult = operations["update-role"]["responses"][200]["cont
42
46
  export type UpdateRoleBody = NonNullable<operations["update-role"]["requestBody"]>["content"]["application/json"];
43
47
  /** `GET /api/v1/ssh-keys` 成功时的响应体。 */
44
48
  export type ListSshKeysResult = operations["list-ssh-keys"]["responses"][200]["content"]["application/json"];
49
+ /** `GET /api/v1/ssh-keys` 的查询参数。 */
50
+ export type ListSshKeysQuery = operations["list-ssh-keys"]["parameters"]["query"];
45
51
  /** `POST /api/v1/ssh-keys` 成功时的响应体。 */
46
52
  export type CreateSshKeyResult = operations["create-ssh-key"]["responses"][201]["content"]["application/json"];
47
53
  /** `POST /api/v1/ssh-keys` 的请求体。 */
@@ -2,6 +2,8 @@ export type { paths, components, operations, webhooks } from "./schema.js";
2
2
  import type { operations } from "./schema.js";
3
3
  /** `GET /api/v1/incidents` 成功时的响应体。 */
4
4
  export type ListIncidentsResult = operations["list-incidents"]["responses"][200]["content"]["application/json"];
5
+ /** `GET /api/v1/incidents` 的查询参数。 */
6
+ export type ListIncidentsQuery = operations["list-incidents"]["parameters"]["query"];
5
7
  /** `GET /api/v1/incidents/{incidentId}` 成功时的响应体。 */
6
8
  export type GetIncidentResult = operations["get-incident"]["responses"][200]["content"]["application/json"];
7
9
  /** `POST /api/v1/incidents/{incidentId}/acknowledge` 成功时的响应体。 */
@@ -28,6 +30,8 @@ export type SetIncidentFollowingBody = NonNullable<operations["set-incident-foll
28
30
  export type ReopenIncidentResult = operations["reopen-incident"]["responses"][200]["content"]["application/json"];
29
31
  /** `GET /api/v1/incidents/{incidentId}/timeline` 成功时的响应体。 */
30
32
  export type ListIncidentTimelineResult = operations["list-incident-timeline"]["responses"][200]["content"]["application/json"];
33
+ /** `GET /api/v1/incidents/{incidentId}/timeline` 的查询参数。 */
34
+ export type ListIncidentTimelineQuery = operations["list-incident-timeline"]["parameters"]["query"];
31
35
  /** `GET /api/v1/maintenance-windows` 成功时的响应体。 */
32
36
  export type ListMaintenanceWindowsResult = operations["list-maintenance-windows"]["responses"][200]["content"]["application/json"];
33
37
  /** `GET /api/v1/maintenance-windows/{windowId}` 成功时的响应体。 */
@@ -40,16 +44,24 @@ export type PutMaintenanceWindowBody = NonNullable<operations["put-maintenance-w
40
44
  export type GetProjectOverviewResult = operations["get-project-overview"]["responses"][200]["content"]["application/json"];
41
45
  /** `GET /api/v1/servers/{serverId}/items` 成功时的响应体。 */
42
46
  export type ListServerItemsResult = operations["list-server-items"]["responses"][200]["content"]["application/json"];
47
+ /** `GET /api/v1/servers/{serverId}/items` 的查询参数。 */
48
+ export type ListServerItemsQuery = operations["list-server-items"]["parameters"]["query"];
43
49
  /** `GET /api/v1/servers/{serverId}/metrics` 成功时的响应体。 */
44
50
  export type GetServerMetricResult = operations["get-server-metric"]["responses"][200]["content"]["application/json"];
51
+ /** `GET /api/v1/servers/{serverId}/metrics` 的查询参数。 */
52
+ export type GetServerMetricQuery = operations["get-server-metric"]["parameters"]["query"];
45
53
  /** `GET /api/v1/servers/{serverId}/resources` 成功时的响应体。 */
46
54
  export type GetServerResourcesResult = operations["get-server-resources"]["responses"][200]["content"]["application/json"];
47
55
  /** `GET /api/v1/servers/{serverId}/snapshot` 成功时的响应体。 */
48
56
  export type GetServerSnapshotResult = operations["get-server-snapshot"]["responses"][200]["content"]["application/json"];
49
57
  /** `GET /api/v1/top-items` 成功时的响应体。 */
50
58
  export type ListProjectTopItemsResult = operations["list-project-top-items"]["responses"][200]["content"]["application/json"];
59
+ /** `GET /api/v1/top-items` 的查询参数。 */
60
+ export type ListProjectTopItemsQuery = operations["list-project-top-items"]["parameters"]["query"];
51
61
  /** `GET /api/v1/servers` 成功时的响应体。 */
52
62
  export type ListServersResult = operations["list-servers"]["responses"][200]["content"]["application/json"];
63
+ /** `GET /api/v1/servers` 的查询参数。 */
64
+ export type ListServersQuery = operations["list-servers"]["parameters"]["query"];
53
65
  /** `GET /api/v1/servers/{serverId}` 成功时的响应体。 */
54
66
  export type GetServerResult = operations["get-server"]["responses"][200]["content"]["application/json"];
55
67
  /** `PATCH /api/v1/servers/{serverId}` 成功时的响应体。 */
@@ -70,8 +82,12 @@ export type PutWebCheckResult = operations["put-web-check"]["responses"][200]["c
70
82
  export type PutWebCheckBody = NonNullable<operations["put-web-check"]["requestBody"]>["content"]["application/json"];
71
83
  /** `GET /api/v1/web-checks` 成功时的响应体。 */
72
84
  export type ListWebChecksResult = operations["list-web-checks"]["responses"][200]["content"]["application/json"];
85
+ /** `GET /api/v1/web-checks` 的查询参数。 */
86
+ export type ListWebChecksQuery = operations["list-web-checks"]["parameters"]["query"];
73
87
  /** `GET /api/v1/sli-report` 成功时的响应体。 */
74
88
  export type GetSliReportResult = operations["get-sli-report"]["responses"][200]["content"]["application/json"];
89
+ /** `GET /api/v1/sli-report` 的查询参数。 */
90
+ export type GetSliReportQuery = operations["get-sli-report"]["parameters"]["query"];
75
91
  /** `GET /api/v1/slo` 成功时的响应体。 */
76
92
  export type GetSloResult = operations["get-slo"]["responses"][200]["content"]["application/json"];
77
93
  /** `PUT /api/v1/slo` 成功时的响应体。 */
@@ -2,6 +2,8 @@ export type { paths, components, operations, webhooks } from "./schema.js";
2
2
  import type { operations } from "./schema.js";
3
3
  /** `GET /api/v1/operation-logs` 成功时的响应体。 */
4
4
  export type ListTunnelOperationLogsResult = operations["list-tunnel-operation-logs"]["responses"][200]["content"]["application/json"];
5
+ /** `GET /api/v1/operation-logs` 的查询参数。 */
6
+ export type ListTunnelOperationLogsQuery = operations["list-tunnel-operation-logs"]["parameters"]["query"];
5
7
  /** `GET /api/v1/plans` 成功时的响应体。 */
6
8
  export type ListTunnelPlansResult = operations["list-tunnel-plans"]["responses"][200]["content"]["application/json"];
7
9
  /** `DELETE /api/v1/tunnel` 成功时的响应体。 */
@@ -32,3 +34,5 @@ export type RotateTunnelSubscriptionResult = operations["rotate-tunnel-subscript
32
34
  export type GetTunnelUsageResult = operations["get-tunnel-usage"]["responses"][200]["content"]["application/json"];
33
35
  /** `GET /api/v1/tunnel/usage/series` 成功时的响应体。 */
34
36
  export type ListTunnelUsageSeriesResult = operations["list-tunnel-usage-series"]["responses"][200]["content"]["application/json"];
37
+ /** `GET /api/v1/tunnel/usage/series` 的查询参数。 */
38
+ export type ListTunnelUsageSeriesQuery = operations["list-tunnel-usage-series"]["parameters"]["query"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {