@leaflow/sdk 0.54.4 → 0.56.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 (62) hide show
  1. package/dist/account/v1/client.d.ts +4 -0
  2. package/dist/account/v1/client.js +7 -0
  3. package/dist/account/v1/index.d.ts +28 -27
  4. package/dist/account/v1/index.js +4 -4
  5. package/dist/account/v1/schema.d.ts +123 -122
  6. package/dist/assistant/v1/client.d.ts +4 -0
  7. package/dist/assistant/v1/client.js +7 -0
  8. package/dist/assistant/v1/index.d.ts +54 -53
  9. package/dist/assistant/v1/index.js +4 -4
  10. package/dist/assistant/v1/schema.d.ts +4 -0
  11. package/dist/billing/v1/index.d.ts +99 -93
  12. package/dist/billing/v1/index.js +3 -3
  13. package/dist/billing/v1/schema.d.ts +174 -5
  14. package/dist/canopy/v1/client.d.ts +4 -0
  15. package/dist/canopy/v1/client.js +7 -0
  16. package/dist/canopy/v1/index.d.ts +24 -23
  17. package/dist/canopy/v1/index.js +4 -4
  18. package/dist/canopy/v1/schema.d.ts +113 -109
  19. package/dist/compute/v1/client.d.ts +4 -0
  20. package/dist/compute/v1/client.js +7 -0
  21. package/dist/compute/v1/index.d.ts +126 -123
  22. package/dist/compute/v1/index.js +4 -4
  23. package/dist/compute/v1/schema.d.ts +55 -0
  24. package/dist/dns/v1/client.d.ts +4 -0
  25. package/dist/dns/v1/client.js +7 -0
  26. package/dist/dns/v1/index.d.ts +24 -23
  27. package/dist/dns/v1/index.js +4 -4
  28. package/dist/dns/v1/schema.d.ts +4 -0
  29. package/dist/fleet/v1/client.d.ts +4 -0
  30. package/dist/fleet/v1/client.js +7 -0
  31. package/dist/fleet/v1/index.d.ts +7 -0
  32. package/dist/fleet/v1/index.js +5 -0
  33. package/dist/fleet/v1/schema.d.ts +156 -0
  34. package/dist/fleet/v1/schema.js +5 -0
  35. package/dist/iam/v1/client.d.ts +4 -0
  36. package/dist/iam/v1/client.js +7 -0
  37. package/dist/iam/v1/index.d.ts +44 -43
  38. package/dist/iam/v1/index.js +4 -4
  39. package/dist/iam/v1/schema.d.ts +119 -115
  40. package/dist/index.d.ts +12 -11
  41. package/dist/index.js +20 -5
  42. package/dist/monitoring/v1/client.d.ts +4 -0
  43. package/dist/monitoring/v1/client.js +7 -0
  44. package/dist/monitoring/v1/index.d.ts +90 -89
  45. package/dist/monitoring/v1/index.js +4 -4
  46. package/dist/monitoring/v1/schema.d.ts +4 -0
  47. package/dist/notification/v1/client.d.ts +4 -0
  48. package/dist/notification/v1/client.js +7 -0
  49. package/dist/notification/v1/index.d.ts +38 -37
  50. package/dist/notification/v1/index.js +4 -4
  51. package/dist/notification/v1/schema.d.ts +4 -0
  52. package/dist/support/v1/client.d.ts +4 -0
  53. package/dist/support/v1/client.js +7 -0
  54. package/dist/support/v1/index.d.ts +25 -24
  55. package/dist/support/v1/index.js +4 -4
  56. package/dist/support/v1/schema.d.ts +4 -0
  57. package/dist/tunnel/v1/client.d.ts +4 -0
  58. package/dist/tunnel/v1/client.js +7 -0
  59. package/dist/tunnel/v1/index.d.ts +8 -7
  60. package/dist/tunnel/v1/index.js +4 -4
  61. package/dist/tunnel/v1/schema.d.ts +39 -35
  62. package/package.json +6 -4
@@ -1,108 +1,109 @@
1
1
  export type { paths, components, operations, webhooks } from "./schema.js";
2
+ export { client } from "./client.js";
2
3
  import type { operations } from "./schema.js";
3
- /** `POST /api/v1/attachments` 成功时的响应体。 */
4
+ /** The success response body of `POST /api/v1/attachments`. */
4
5
  export type UploadAttachmentResult = operations["upload-attachment"]["responses"][201]["content"]["application/json"];
5
- /** `POST /api/v1/attachments` 的查询参数。 */
6
+ /** The query parameters of `POST /api/v1/attachments`. */
6
7
  export type UploadAttachmentQuery = operations["upload-attachment"]["parameters"]["query"];
7
- /** `GET /api/v1/bindings` 成功时的响应体。 */
8
+ /** The success response body of `GET /api/v1/bindings`. */
8
9
  export type ListBindingsResult = operations["list-bindings"]["responses"][200]["content"]["application/json"];
9
- /** `GET /api/v1/bindings` 的查询参数。 */
10
+ /** The query parameters of `GET /api/v1/bindings`. */
10
11
  export type ListBindingsQuery = operations["list-bindings"]["parameters"]["query"];
11
- /** `GET /api/v1/bindings/{binding}` 成功时的响应体。 */
12
+ /** The success response body of `GET /api/v1/bindings/{binding}`. */
12
13
  export type GetBindingResult = operations["get-binding"]["responses"][200]["content"]["application/json"];
13
- /** `GET /api/v1/channels` 成功时的响应体。 */
14
+ /** The success response body of `GET /api/v1/channels`. */
14
15
  export type ListChannelsResult = operations["list-channels"]["responses"][200]["content"]["application/json"];
15
- /** `GET /api/v1/channels` 的查询参数。 */
16
+ /** The query parameters of `GET /api/v1/channels`. */
16
17
  export type ListChannelsQuery = operations["list-channels"]["parameters"]["query"];
17
- /** `POST /api/v1/channels` 成功时的响应体。 */
18
+ /** The success response body of `POST /api/v1/channels`. */
18
19
  export type CreateChannelResult = operations["create-channel"]["responses"][201]["content"]["application/json"];
19
- /** `POST /api/v1/channels` 的请求体。 */
20
+ /** The request body of `POST /api/v1/channels`. */
20
21
  export type CreateChannelBody = NonNullable<operations["create-channel"]["requestBody"]>["content"]["application/json"];
21
- /** `GET /api/v1/channels/{channel}` 成功时的响应体。 */
22
+ /** The success response body of `GET /api/v1/channels/{channel}`. */
22
23
  export type GetChannelResult = operations["get-channel"]["responses"][200]["content"]["application/json"];
23
- /** `PATCH /api/v1/channels/{channel}` 成功时的响应体。 */
24
+ /** The success response body of `PATCH /api/v1/channels/{channel}`. */
24
25
  export type UpdateChannelResult = operations["update-channel"]["responses"][200]["content"]["application/json"];
25
- /** `PATCH /api/v1/channels/{channel}` 的请求体。 */
26
+ /** The request body of `PATCH /api/v1/channels/{channel}`. */
26
27
  export type UpdateChannelBody = NonNullable<operations["update-channel"]["requestBody"]>["content"]["application/json"];
27
- /** `POST /api/v1/channels/{channel}/binding-codes` 成功时的响应体。 */
28
+ /** The success response body of `POST /api/v1/channels/{channel}/binding-codes`. */
28
29
  export type CreateBindingCodeResult = operations["create-binding-code"]["responses"][201]["content"]["application/json"];
29
- /** `GET /api/v1/channels/{channel}/rejections` 成功时的响应体。 */
30
+ /** The success response body of `GET /api/v1/channels/{channel}/rejections`. */
30
31
  export type ListChannelRejectionsResult = operations["list-channel-rejections"]["responses"][200]["content"]["application/json"];
31
- /** `GET /api/v1/channels/{channel}/rejections` 的查询参数。 */
32
+ /** The query parameters of `GET /api/v1/channels/{channel}/rejections`. */
32
33
  export type ListChannelRejectionsQuery = operations["list-channel-rejections"]["parameters"]["query"];
33
- /** `POST /api/v1/channels/{channel}/secret` 成功时的响应体。 */
34
+ /** The success response body of `POST /api/v1/channels/{channel}/secret`. */
34
35
  export type RotateChannelSecretResult = operations["rotate-channel-secret"]["responses"][200]["content"]["application/json"];
35
- /** `POST /api/v1/channels/{channel}/secret` 的请求体。 */
36
+ /** The request body of `POST /api/v1/channels/{channel}/secret`. */
36
37
  export type RotateChannelSecretBody = NonNullable<operations["rotate-channel-secret"]["requestBody"]>["content"]["application/json"];
37
- /** `GET /api/v1/channels/{channel}/sender-check` 成功时的响应体。 */
38
+ /** The success response body of `GET /api/v1/channels/{channel}/sender-check`. */
38
39
  export type CheckSenderResult = operations["check-sender"]["responses"][200]["content"]["application/json"];
39
- /** `GET /api/v1/channels/{channel}/sender-check` 的查询参数。 */
40
+ /** The query parameters of `GET /api/v1/channels/{channel}/sender-check`. */
40
41
  export type CheckSenderQuery = operations["check-sender"]["parameters"]["query"];
41
- /** `POST /api/v1/channels/{channel}/weixin-logins` 成功时的响应体。 */
42
+ /** The success response body of `POST /api/v1/channels/{channel}/weixin-logins`. */
42
43
  export type BeginWeixinLoginResult = operations["begin-weixin-login"]["responses"][201]["content"]["application/json"];
43
- /** `GET /api/v1/platforms` 成功时的响应体。 */
44
+ /** The success response body of `GET /api/v1/platforms`. */
44
45
  export type ListPlatformsResult = operations["list-platforms"]["responses"][200]["content"]["application/json"];
45
- /** `GET /api/v1/weixin-logins/{login}` 成功时的响应体。 */
46
+ /** The success response body of `GET /api/v1/weixin-logins/{login}`. */
46
47
  export type GetWeixinLoginResult = operations["get-weixin-login"]["responses"][200]["content"]["application/json"];
47
- /** `POST /api/v1/weixin-logins/{login}/verify-code` 成功时的响应体。 */
48
+ /** The success response body of `POST /api/v1/weixin-logins/{login}/verify-code`. */
48
49
  export type SubmitWeixinVerifyCodeResult = operations["submit-weixin-verify-code"]["responses"][200]["content"]["application/json"];
49
- /** `POST /api/v1/weixin-logins/{login}/verify-code` 的请求体。 */
50
+ /** The request body of `POST /api/v1/weixin-logins/{login}/verify-code`. */
50
51
  export type SubmitWeixinVerifyCodeBody = NonNullable<operations["submit-weixin-verify-code"]["requestBody"]>["content"]["application/json"];
51
- /** `POST /api/v1/dynamic-calls/{call}/result` 的请求体。 */
52
+ /** The request body of `POST /api/v1/dynamic-calls/{call}/result`. */
52
53
  export type SubmitDynamicCallResultBody = NonNullable<operations["submit-dynamic-call-result"]["requestBody"]>["content"]["application/json"];
53
- /** `GET /api/v1/folders` 成功时的响应体。 */
54
+ /** The success response body of `GET /api/v1/folders`. */
54
55
  export type ListFoldersResult = operations["list-folders"]["responses"][200]["content"]["application/json"];
55
- /** `POST /api/v1/folders` 成功时的响应体。 */
56
+ /** The success response body of `POST /api/v1/folders`. */
56
57
  export type CreateFolderResult = operations["create-folder"]["responses"][201]["content"]["application/json"];
57
- /** `POST /api/v1/folders` 的请求体。 */
58
+ /** The request body of `POST /api/v1/folders`. */
58
59
  export type CreateFolderBody = NonNullable<operations["create-folder"]["requestBody"]>["content"]["application/json"];
59
- /** `GET /api/v1/folders/{folder}` 成功时的响应体。 */
60
+ /** The success response body of `GET /api/v1/folders/{folder}`. */
60
61
  export type GetFolderResult = operations["get-folder"]["responses"][200]["content"]["application/json"];
61
- /** `PATCH /api/v1/folders/{folder}` 成功时的响应体。 */
62
+ /** The success response body of `PATCH /api/v1/folders/{folder}`. */
62
63
  export type UpdateFolderResult = operations["update-folder"]["responses"][200]["content"]["application/json"];
63
- /** `PATCH /api/v1/folders/{folder}` 的请求体。 */
64
+ /** The request body of `PATCH /api/v1/folders/{folder}`. */
64
65
  export type UpdateFolderBody = NonNullable<operations["update-folder"]["requestBody"]>["content"]["application/json"];
65
- /** `GET /api/v1/memories` 成功时的响应体。 */
66
+ /** The success response body of `GET /api/v1/memories`. */
66
67
  export type ListMemoriesResult = operations["list-memories"]["responses"][200]["content"]["application/json"];
67
- /** `GET /api/v1/skills` 成功时的响应体。 */
68
+ /** The success response body of `GET /api/v1/skills`. */
68
69
  export type ListSkillsResult = operations["list-skills"]["responses"][200]["content"]["application/json"];
69
- /** `POST /api/v1/skills` 成功时的响应体。 */
70
+ /** The success response body of `POST /api/v1/skills`. */
70
71
  export type PutSkillResult = operations["put-skill"]["responses"][200]["content"]["application/json"];
71
- /** `POST /api/v1/skills` 的请求体。 */
72
+ /** The request body of `POST /api/v1/skills`. */
72
73
  export type PutSkillBody = NonNullable<operations["put-skill"]["requestBody"]>["content"]["application/json"];
73
- /** `GET /api/v1/skills/{skill}` 成功时的响应体。 */
74
+ /** The success response body of `GET /api/v1/skills/{skill}`. */
74
75
  export type GetSkillResult = operations["get-skill"]["responses"][200]["content"]["application/json"];
75
- /** `PATCH /api/v1/skills/{skill}` 成功时的响应体。 */
76
+ /** The success response body of `PATCH /api/v1/skills/{skill}`. */
76
77
  export type SetSkillEnabledResult = operations["set-skill-enabled"]["responses"][200]["content"]["application/json"];
77
- /** `PATCH /api/v1/skills/{skill}` 的请求体。 */
78
+ /** The request body of `PATCH /api/v1/skills/{skill}`. */
78
79
  export type SetSkillEnabledBody = NonNullable<operations["set-skill-enabled"]["requestBody"]>["content"]["application/json"];
79
- /** `GET /api/v1/threads` 成功时的响应体。 */
80
+ /** The success response body of `GET /api/v1/threads`. */
80
81
  export type ListThreadsResult = operations["list-threads"]["responses"][200]["content"]["application/json"];
81
- /** `GET /api/v1/threads` 的查询参数。 */
82
+ /** The query parameters of `GET /api/v1/threads`. */
82
83
  export type ListThreadsQuery = operations["list-threads"]["parameters"]["query"];
83
- /** `POST /api/v1/threads` 成功时的响应体。 */
84
+ /** The success response body of `POST /api/v1/threads`. */
84
85
  export type CreateThreadResult = operations["create-thread"]["responses"][201]["content"]["application/json"];
85
- /** `POST /api/v1/threads` 的请求体。 */
86
+ /** The request body of `POST /api/v1/threads`. */
86
87
  export type CreateThreadBody = NonNullable<operations["create-thread"]["requestBody"]>["content"]["application/json"];
87
- /** `GET /api/v1/threads/{thread}` 成功时的响应体。 */
88
+ /** The success response body of `GET /api/v1/threads/{thread}`. */
88
89
  export type GetThreadResult = operations["get-thread"]["responses"][200]["content"]["application/json"];
89
- /** `PATCH /api/v1/threads/{thread}` 成功时的响应体。 */
90
+ /** The success response body of `PATCH /api/v1/threads/{thread}`. */
90
91
  export type UpdateThreadResult = operations["update-thread"]["responses"][200]["content"]["application/json"];
91
- /** `PATCH /api/v1/threads/{thread}` 的请求体。 */
92
+ /** The request body of `PATCH /api/v1/threads/{thread}`. */
92
93
  export type UpdateThreadBody = NonNullable<operations["update-thread"]["requestBody"]>["content"]["application/json"];
93
- /** `POST /api/v1/threads/{thread}/approvals/{batch}` 的请求体。 */
94
+ /** The request body of `POST /api/v1/threads/{thread}/approvals/{batch}`. */
94
95
  export type DecideApprovalBody = NonNullable<operations["decide-approval"]["requestBody"]>["content"]["application/json"];
95
- /** `GET /api/v1/threads/{thread}/earlier` 成功时的响应体。 */
96
+ /** The success response body of `GET /api/v1/threads/{thread}/earlier`. */
96
97
  export type ListEarlierItemsResult = operations["list-earlier-items"]["responses"][200]["content"]["application/json"];
97
- /** `GET /api/v1/threads/{thread}/earlier` 的查询参数。 */
98
+ /** The query parameters of `GET /api/v1/threads/{thread}/earlier`. */
98
99
  export type ListEarlierItemsQuery = operations["list-earlier-items"]["parameters"]["query"];
99
- /** `POST /api/v1/threads/{thread}/messages` 成功时的响应体。 */
100
+ /** The success response body of `POST /api/v1/threads/{thread}/messages`. */
100
101
  export type SendMessageResult = operations["send-message"]["responses"][202]["content"]["application/json"];
101
- /** `POST /api/v1/threads/{thread}/messages` 的请求体。 */
102
+ /** The request body of `POST /api/v1/threads/{thread}/messages`. */
102
103
  export type SendMessageBody = NonNullable<operations["send-message"]["requestBody"]>["content"]["application/json"];
103
- /** `POST /api/v1/threads/{thread}/questions/{item}` 的请求体。 */
104
+ /** The request body of `POST /api/v1/threads/{thread}/questions/{item}`. */
104
105
  export type AnswerQuestionBody = NonNullable<operations["answer-question"]["requestBody"]>["content"]["application/json"];
105
- /** `POST /api/v1/threads/{thread}/revert` 成功时的响应体。 */
106
+ /** The success response body of `POST /api/v1/threads/{thread}/revert`. */
106
107
  export type RevertThreadResult = operations["revert-thread"]["responses"][200]["content"]["application/json"];
107
- /** `POST /api/v1/threads/{thread}/revert` 的请求体。 */
108
+ /** The request body of `POST /api/v1/threads/{thread}/revert`. */
108
109
  export type RevertThreadBody = NonNullable<operations["revert-thread"]["requestBody"]>["content"]["application/json"];
@@ -1,5 +1,5 @@
1
- // scripts/generate-ts.mjs 生成,不要手改。
1
+ // Code generated by scripts/generate.mjs. DO NOT EDIT.
2
2
  //
3
- // 别名把 operations[...] 那串下标换成一个名字。原始的 paths / components / operations
4
- // 一并导出:paths 是给 openapi-fetch createClient<paths>() 用的。
5
- export {};
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";
@@ -679,6 +679,10 @@ export interface components {
679
679
  Error: {
680
680
  code?: string;
681
681
  message: string;
682
+ /**
683
+ * @description What a given `code` carries alongside the message. The keys depend on the code,
684
+ * and a client that does not recognise one ignores it.
685
+ */
682
686
  meta?: {
683
687
  [key: string]: unknown;
684
688
  };
@@ -1,186 +1,192 @@
1
1
  export type { paths, components, operations, webhooks } from "./schema.js";
2
2
  import type { operations } from "./schema.js";
3
- /** `GET /catalog/v1/products` 成功时的响应体。 */
3
+ /** The success response body of `GET /catalog/v1/products`. */
4
4
  export type ListCatalogProductsResult = operations["list-catalog-products"]["responses"][200]["content"]["application/json"];
5
- /** `GET /catalog/v1/products/{productId}/plans` 成功时的响应体。 */
5
+ /** The success response body of `GET /catalog/v1/products/{productId}/plans`. */
6
6
  export type ListCatalogPlansResult = operations["list-catalog-plans"]["responses"][200]["content"]["application/json"];
7
- /** `GET /catalog/v1/plans/{planId}/prices` 成功时的响应体。 */
7
+ /** The success response body of `GET /catalog/v1/plans/{planId}/prices`. */
8
8
  export type ListCatalogPricesResult = operations["list-catalog-prices"]["responses"][200]["content"]["application/json"];
9
- /** `GET /catalog/v1/plans/{planId}/prices` 的查询参数。 */
9
+ /** The query parameters of `GET /catalog/v1/plans/{planId}/prices`. */
10
10
  export type ListCatalogPricesQuery = operations["list-catalog-prices"]["parameters"]["query"];
11
- /** `GET /catalog/v1/rate-cards/{rateCardId}/rules` 成功时的响应体。 */
11
+ /** The success response body of `GET /catalog/v1/rate-cards/{rateCardId}/rules`. */
12
12
  export type ListCatalogRatesResult = operations["list-catalog-rates"]["responses"][200]["content"]["application/json"];
13
- /** `GET /catalog/v1/rate-cards/{rateCardId}/rules` 的查询参数。 */
13
+ /** The query parameters of `GET /catalog/v1/rate-cards/{rateCardId}/rules`. */
14
14
  export type ListCatalogRatesQuery = operations["list-catalog-rates"]["parameters"]["query"];
15
- /** `POST /catalog/v1/estimates` 成功时的响应体。 */
15
+ /** The success response body of `POST /catalog/v1/estimates`. */
16
16
  export type CreateEstimateResult = operations["create-estimate"]["responses"][200]["content"]["application/json"];
17
- /** `POST /catalog/v1/estimates` 的请求体。 */
17
+ /** The request body of `POST /catalog/v1/estimates`. */
18
18
  export type CreateEstimateBody = NonNullable<operations["create-estimate"]["requestBody"]>["content"]["application/json"];
19
- /** `GET /account/v1/billing-accounts` 成功时的响应体。 */
19
+ /** The success response body of `GET /account/v1/billing-accounts`. */
20
20
  export type ListBillingAccountsResult = operations["list-billing-accounts"]["responses"][200]["content"]["application/json"];
21
- /** `POST /account/v1/billing-accounts` 成功时的响应体。 */
21
+ /** The success response body of `POST /account/v1/billing-accounts`. */
22
22
  export type CreateBillingAccountResult = operations["create-billing-account"]["responses"][201]["content"]["application/json"];
23
- /** `POST /account/v1/billing-accounts` 的请求体。 */
23
+ /** The request body of `POST /account/v1/billing-accounts`. */
24
24
  export type CreateBillingAccountBody = NonNullable<operations["create-billing-account"]["requestBody"]>["content"]["application/json"];
25
- /** `GET /account/v1/billing-accounts/{accountId}` 成功时的响应体。 */
25
+ /** The success response body of `GET /account/v1/billing-accounts/{accountId}`. */
26
26
  export type GetBillingAccountResult = operations["get-billing-account"]["responses"][200]["content"]["application/json"];
27
- /** `PATCH /account/v1/billing-accounts/{accountId}` 成功时的响应体。 */
27
+ /** The success response body of `PATCH /account/v1/billing-accounts/{accountId}`. */
28
28
  export type UpdateBillingAccountResult = operations["update-billing-account"]["responses"][200]["content"]["application/json"];
29
- /** `PATCH /account/v1/billing-accounts/{accountId}` 的请求体。 */
29
+ /** The request body of `PATCH /account/v1/billing-accounts/{accountId}`. */
30
30
  export type UpdateBillingAccountBody = NonNullable<operations["update-billing-account"]["requestBody"]>["content"]["application/json"];
31
- /** `GET /account/v1/billing-accounts/{accountId}/balance` 成功时的响应体。 */
31
+ /** The success response body of `GET /account/v1/billing-accounts/{accountId}/balance`. */
32
32
  export type GetAccountBalanceResult = operations["get-account-balance"]["responses"][200]["content"]["application/json"];
33
- /** `GET /account/v1/projects` 成功时的响应体。 */
33
+ /** The success response body of `GET /account/v1/projects`. */
34
34
  export type ListPaidProjectsResult = operations["list-paid-projects"]["responses"][200]["content"]["application/json"];
35
- /** `GET /account/v1/projects` 的查询参数。 */
35
+ /** The query parameters of `GET /account/v1/projects`. */
36
36
  export type ListPaidProjectsQuery = operations["list-paid-projects"]["parameters"]["query"];
37
- /** `GET /account/v1/projects/{projectId}/billing-account` 成功时的响应体。 */
37
+ /** The success response body of `GET /account/v1/projects/{projectId}/billing-account`. */
38
38
  export type FindProjectPayerResult = operations["find-project-payer"]["responses"][200]["content"]["application/json"];
39
- /** `PUT /account/v1/projects/{projectId}/billing-account` 成功时的响应体。 */
39
+ /** The success response body of `PUT /account/v1/projects/{projectId}/billing-account`. */
40
40
  export type SetProjectPayerResult = operations["set-project-payer"]["responses"][200]["content"]["application/json"];
41
- /** `PUT /account/v1/projects/{projectId}/billing-account` 的请求体。 */
41
+ /** The request body of `PUT /account/v1/projects/{projectId}/billing-account`. */
42
42
  export type SetProjectPayerBody = NonNullable<operations["set-project-payer"]["requestBody"]>["content"]["application/json"];
43
- /** `POST /account/v1/projects/{projectId}/billing-account/settle` 成功时的响应体。 */
43
+ /** The success response body of `POST /account/v1/projects/{projectId}/billing-account/settle`. */
44
44
  export type SettleProjectUsageResult = operations["settle-project-usage"]["responses"][200]["content"]["application/json"];
45
- /** `GET /account/v1/top-ups` 成功时的响应体。 */
45
+ /** The success response body of `GET /account/v1/top-ups`. */
46
46
  export type ListTopUpsResult = operations["list-top-ups"]["responses"][200]["content"]["application/json"];
47
- /** `POST /account/v1/top-ups` 成功时的响应体。 */
47
+ /** The success response body of `POST /account/v1/top-ups`. */
48
48
  export type CreateTopUpResult = operations["create-top-up"]["responses"][201]["content"]["application/json"];
49
- /** `POST /account/v1/top-ups` 的请求体。 */
49
+ /** The request body of `POST /account/v1/top-ups`. */
50
50
  export type CreateTopUpBody = NonNullable<operations["create-top-up"]["requestBody"]>["content"]["application/json"];
51
- /** `GET /account/v1/top-ups/{topUpId}` 成功时的响应体。 */
51
+ /** The success response body of `GET /account/v1/top-ups/{topUpId}`. */
52
52
  export type GetTopUpResult = operations["get-top-up"]["responses"][200]["content"]["application/json"];
53
- /** `GET /account/v1/payment-methods` 成功时的响应体。 */
53
+ /** The success response body of `GET /account/v1/payment-methods`. */
54
54
  export type ListPaymentMethodsResult = operations["list-payment-methods"]["responses"][200]["content"]["application/json"];
55
- /** `POST /account/v1/payment-methods/setup` 成功时的响应体。 */
55
+ /** The success response body of `POST /account/v1/payment-methods/setup`. */
56
56
  export type CreatePaymentMethodSetupResult = operations["create-payment-method-setup"]["responses"][201]["content"]["application/json"];
57
- /** `POST /account/v1/payment-methods/setup` 的请求体。 */
57
+ /** The request body of `POST /account/v1/payment-methods/setup`. */
58
58
  export type CreatePaymentMethodSetupBody = NonNullable<operations["create-payment-method-setup"]["requestBody"]>["content"]["application/json"];
59
- /** `PUT /account/v1/payment-methods/{paymentMethodId}/default` 成功时的响应体。 */
59
+ /** The success response body of `PUT /account/v1/payment-methods/{paymentMethodId}/default`. */
60
60
  export type SetDefaultPaymentMethodResult = operations["set-default-payment-method"]["responses"][200]["content"]["application/json"];
61
- /** `POST /account/v1/invoices/{invoiceId}/pay` 成功时的响应体。 */
61
+ /** The success response body of `POST /account/v1/invoices/{invoiceId}/pay`. */
62
62
  export type PayInvoiceResult = operations["pay-invoice"]["responses"][200]["content"]["application/json"];
63
- /** `POST /account/v1/invoices/{invoiceId}/pay` 的请求体。 */
63
+ /** The request body of `POST /account/v1/invoices/{invoiceId}/pay`. */
64
64
  export type PayInvoiceBody = NonNullable<operations["pay-invoice"]["requestBody"]>["content"]["application/json"];
65
- /** `POST /account/v1/orders/{orderId}/pay` 成功时的响应体。 */
65
+ /** The success response body of `POST /account/v1/payments`. */
66
+ export type PayTogetherResult = operations["pay-together"]["responses"][200]["content"]["application/json"];
67
+ /** The request body of `POST /account/v1/payments`. */
68
+ export type PayTogetherBody = NonNullable<operations["pay-together"]["requestBody"]>["content"]["application/json"];
69
+ /** The success response body of `POST /account/v1/orders/{orderId}/pay`. */
66
70
  export type PayOrderResult = operations["pay-order"]["responses"][200]["content"]["application/json"];
67
- /** `POST /account/v1/orders/{orderId}/pay` 的请求体。 */
71
+ /** The request body of `POST /account/v1/orders/{orderId}/pay`. */
68
72
  export type PayOrderBody = NonNullable<operations["pay-order"]["requestBody"]>["content"]["application/json"];
69
- /** `GET /account/v1/invoices` 成功时的响应体。 */
73
+ /** The success response body of `GET /account/v1/invoices`. */
70
74
  export type ListInvoicesResult = operations["list-invoices"]["responses"][200]["content"]["application/json"];
71
- /** `GET /account/v1/invoices` 的查询参数。 */
75
+ /** The query parameters of `GET /account/v1/invoices`. */
72
76
  export type ListInvoicesQuery = operations["list-invoices"]["parameters"]["query"];
73
- /** `GET /account/v1/invoices/{invoiceId}` 成功时的响应体。 */
77
+ /** The success response body of `GET /account/v1/invoices/{invoiceId}`. */
74
78
  export type GetInvoiceResult = operations["get-invoice"]["responses"][200]["content"]["application/json"];
75
- /** `GET /account/v1/invoices/{invoiceId}/items` 成功时的响应体。 */
79
+ /** The success response body of `GET /account/v1/invoices/{invoiceId}/items`. */
76
80
  export type ListInvoiceItemsResult = operations["list-invoice-items"]["responses"][200]["content"]["application/json"];
77
- /** `GET /account/v1/invoices/{invoiceId}/refund-quote` 成功时的响应体。 */
81
+ /** The success response body of `GET /account/v1/invoices/{invoiceId}/refund-quote`. */
78
82
  export type GetInvoiceRefundQuoteResult = operations["get-invoice-refund-quote"]["responses"][200]["content"]["application/json"];
79
- /** `GET /account/v1/transactions` 成功时的响应体。 */
83
+ /** The success response body of `GET /account/v1/transactions`. */
80
84
  export type ListTransactionsResult = operations["list-transactions"]["responses"][200]["content"]["application/json"];
81
- /** `GET /account/v1/credit-grants` 成功时的响应体。 */
85
+ /** The success response body of `GET /account/v1/credit-grants`. */
82
86
  export type ListCreditGrantsResult = operations["list-credit-grants"]["responses"][200]["content"]["application/json"];
83
- /** `GET /account/v1/credit-grants` 的查询参数。 */
87
+ /** The query parameters of `GET /account/v1/credit-grants`. */
84
88
  export type ListCreditGrantsQuery = operations["list-credit-grants"]["parameters"]["query"];
85
- /** `GET /account/v1/allocations` 成功时的响应体。 */
89
+ /** The success response body of `GET /account/v1/allocations`. */
86
90
  export type ListAllocationsResult = operations["list-allocations"]["responses"][200]["content"]["application/json"];
87
- /** `GET /account/v1/allocations` 的查询参数。 */
91
+ /** The query parameters of `GET /account/v1/allocations`. */
88
92
  export type ListAllocationsQuery = operations["list-allocations"]["parameters"]["query"];
89
- /** `POST /account/v1/refunds` 成功时的响应体。 */
93
+ /** The success response body of `GET /account/v1/refunds`. */
94
+ export type ListRefundsResult = operations["list-refunds"]["responses"][200]["content"]["application/json"];
95
+ /** The success response body of `POST /account/v1/refunds`. */
90
96
  export type RequestRefundResult = operations["request-refund"]["responses"][201]["content"]["application/json"];
91
- /** `POST /account/v1/refunds` 的请求体。 */
97
+ /** The request body of `POST /account/v1/refunds`. */
92
98
  export type RequestRefundBody = NonNullable<operations["request-refund"]["requestBody"]>["content"]["application/json"];
93
- /** `GET /account/v1/refunds` 成功时的响应体。 */
94
- export type ListRefundsResult = operations["list-refunds"]["responses"][200]["content"]["application/json"];
95
- /** `GET /account/v1/usage-charges` 成功时的响应体。 */
99
+ /** The success response body of `GET /account/v1/usage-charges`. */
96
100
  export type ListUsageChargesResult = operations["list-usage-charges"]["responses"][200]["content"]["application/json"];
97
- /** `GET /account/v1/usage-charges` 的查询参数。 */
101
+ /** The query parameters of `GET /account/v1/usage-charges`. */
98
102
  export type ListUsageChargesQuery = operations["list-usage-charges"]["parameters"]["query"];
99
- /** `GET /account/v1/subscriptions` 成功时的响应体。 */
103
+ /** The success response body of `GET /account/v1/subscriptions`. */
100
104
  export type ListSubscriptionsResult = operations["list-subscriptions"]["responses"][200]["content"]["application/json"];
101
- /** `GET /account/v1/subscriptions` 的查询参数。 */
105
+ /** The query parameters of `GET /account/v1/subscriptions`. */
102
106
  export type ListSubscriptionsQuery = operations["list-subscriptions"]["parameters"]["query"];
103
- /** `GET /account/v1/subscription-items` 成功时的响应体。 */
107
+ /** The success response body of `GET /account/v1/subscription-items`. */
104
108
  export type ListSubscriptionItemsResult = operations["list-subscription-items"]["responses"][200]["content"]["application/json"];
105
- /** `GET /account/v1/subscription-items` 的查询参数。 */
109
+ /** The query parameters of `GET /account/v1/subscription-items`. */
106
110
  export type ListSubscriptionItemsQuery = operations["list-subscription-items"]["parameters"]["query"];
107
- /** `POST /account/v1/subscription-items/{itemId}/renew` 成功时的响应体。 */
111
+ /** The success response body of `POST /account/v1/subscription-items/{itemId}/renew`. */
108
112
  export type RenewSubscriptionItemResult = operations["renew-subscription-item"]["responses"][200]["content"]["application/json"];
109
- /** `POST /account/v1/subscription-items/{itemId}/renew` 的请求体。 */
113
+ /** The request body of `POST /account/v1/subscription-items/{itemId}/renew`. */
110
114
  export type RenewSubscriptionItemBody = NonNullable<operations["renew-subscription-item"]["requestBody"]>["content"]["application/json"];
111
- /** `PUT /account/v1/subscription-items/{itemId}/auto-renew` 成功时的响应体。 */
115
+ /** The success response body of `PUT /account/v1/subscription-items/{itemId}/auto-renew`. */
112
116
  export type SetAutoRenewResult = operations["set-auto-renew"]["responses"][200]["content"]["application/json"];
113
- /** `PUT /account/v1/subscription-items/{itemId}/auto-renew` 的请求体。 */
117
+ /** The request body of `PUT /account/v1/subscription-items/{itemId}/auto-renew`. */
114
118
  export type SetAutoRenewBody = NonNullable<operations["set-auto-renew"]["requestBody"]>["content"]["application/json"];
115
- /** `POST /account/v1/codes/preview` 成功时的响应体。 */
119
+ /** The success response body of `POST /account/v1/codes/preview`. */
116
120
  export type PreviewCodeResult = operations["preview-code"]["responses"][200]["content"]["application/json"];
117
- /** `POST /account/v1/codes/preview` 的请求体。 */
121
+ /** The request body of `POST /account/v1/codes/preview`. */
118
122
  export type PreviewCodeBody = NonNullable<operations["preview-code"]["requestBody"]>["content"]["application/json"];
119
- /** `POST /account/v1/codes/redeem` 成功时的响应体。 */
123
+ /** The success response body of `POST /account/v1/codes/redeem`. */
120
124
  export type RedeemCodeResult = operations["redeem-code"]["responses"][200]["content"]["application/json"];
121
- /** `POST /account/v1/codes/redeem` 的请求体。 */
125
+ /** The request body of `POST /account/v1/codes/redeem`. */
122
126
  export type RedeemCodeBody = NonNullable<operations["redeem-code"]["requestBody"]>["content"]["application/json"];
123
- /** `GET /api/v1/projects/{projectId}/billing-account` 成功时的响应体。 */
127
+ /** The success response body of `GET /api/v1/projects/{projectId}/billing-account`. */
124
128
  export type GetProjectBillingAccountResult = operations["get-project-billing-account"]["responses"][200]["content"]["application/json"];
125
- /** `GET /api/v1/projects/{projectId}/spend` 成功时的响应体。 */
129
+ /** The success response body of `GET /api/v1/projects/{projectId}/spend`. */
126
130
  export type ListProjectSpendResult = operations["list-project-spend"]["responses"][200]["content"]["application/json"];
127
- /** `GET /api/v1/projects/{projectId}/spend` 的查询参数。 */
131
+ /** The query parameters of `GET /api/v1/projects/{projectId}/spend`. */
128
132
  export type ListProjectSpendQuery = operations["list-project-spend"]["parameters"]["query"];
129
- /** `GET /api/v1/projects/{projectId}/usage-charges` 成功时的响应体。 */
133
+ /** The success response body of `GET /api/v1/projects/{projectId}/usage-charges`. */
130
134
  export type ListProjectUsageChargesResult = operations["list-project-usage-charges"]["responses"][200]["content"]["application/json"];
131
- /** `GET /api/v1/projects/{projectId}/usage-charges` 的查询参数。 */
135
+ /** The query parameters of `GET /api/v1/projects/{projectId}/usage-charges`. */
132
136
  export type ListProjectUsageChargesQuery = operations["list-project-usage-charges"]["parameters"]["query"];
133
- /** `GET /api/v1/projects/{projectId}/subscriptions` 成功时的响应体。 */
137
+ /** The success response body of `GET /api/v1/projects/{projectId}/subscriptions`. */
134
138
  export type ListProjectSubscriptionsResult = operations["list-project-subscriptions"]["responses"][200]["content"]["application/json"];
135
- /** `GET /api/v1/projects/{projectId}/subscription-items` 成功时的响应体。 */
139
+ /** The success response body of `GET /api/v1/projects/{projectId}/subscription-items`. */
136
140
  export type ListProjectSubscriptionItemsResult = operations["list-project-subscription-items"]["responses"][200]["content"]["application/json"];
137
- /** `GET /api/v1/projects/{projectId}/subscription-items` 的查询参数。 */
141
+ /** The query parameters of `GET /api/v1/projects/{projectId}/subscription-items`. */
138
142
  export type ListProjectSubscriptionItemsQuery = operations["list-project-subscription-items"]["parameters"]["query"];
139
- /** `PUT /api/v1/projects/{projectId}/subscription-items/{itemId}/auto-renew` 成功时的响应体。 */
143
+ /** The success response body of `PUT /api/v1/projects/{projectId}/subscription-items/{itemId}/auto-renew`. */
140
144
  export type SetProjectAutoRenewResult = operations["set-project-auto-renew"]["responses"][200]["content"]["application/json"];
141
- /** `PUT /api/v1/projects/{projectId}/subscription-items/{itemId}/auto-renew` 的请求体。 */
145
+ /** The request body of `PUT /api/v1/projects/{projectId}/subscription-items/{itemId}/auto-renew`. */
142
146
  export type SetProjectAutoRenewBody = NonNullable<operations["set-project-auto-renew"]["requestBody"]>["content"]["application/json"];
143
- /** `GET /api/v1/projects/{projectId}/orders` 成功时的响应体。 */
147
+ /** The success response body of `GET /api/v1/projects/{projectId}/orders`. */
144
148
  export type ListProjectOrdersResult = operations["list-project-orders"]["responses"][200]["content"]["application/json"];
145
- /** `GET /api/v1/projects/{projectId}/orders` 的查询参数。 */
149
+ /** The query parameters of `GET /api/v1/projects/{projectId}/orders`. */
146
150
  export type ListProjectOrdersQuery = operations["list-project-orders"]["parameters"]["query"];
147
- /** `GET /api/v1/projects/{projectId}/orders/{orderId}` 成功时的响应体。 */
151
+ /** The success response body of `GET /api/v1/projects/{projectId}/orders/{orderId}`. */
148
152
  export type GetProjectOrderResult = operations["get-project-order"]["responses"][200]["content"]["application/json"];
149
- /** `GET /api/v1/projects/{projectId}/active-resources` 成功时的响应体。 */
153
+ /** The success response body of `GET /api/v1/projects/{projectId}/active-resources`. */
150
154
  export type ListProjectActiveResourcesResult = operations["list-project-active-resources"]["responses"][200]["content"]["application/json"];
151
- /** `GET /api/v1/projects/{projectId}/active-resources` 的查询参数。 */
155
+ /** The query parameters of `GET /api/v1/projects/{projectId}/active-resources`. */
152
156
  export type ListProjectActiveResourcesQuery = operations["list-project-active-resources"]["parameters"]["query"];
153
- /** `POST /api/v1/projects/{projectId}/quotes` 成功时的响应体。 */
157
+ /** The success response body of `POST /api/v1/projects/{projectId}/quotes`. */
154
158
  export type CreateProjectQuoteResult = operations["create-project-quote"]["responses"][200]["content"]["application/json"];
155
- /** `POST /api/v1/projects/{projectId}/quotes` 的请求体。 */
159
+ /** The request body of `POST /api/v1/projects/{projectId}/quotes`. */
156
160
  export type CreateProjectQuoteBody = NonNullable<operations["create-project-quote"]["requestBody"]>["content"]["application/json"];
157
- /** `GET /account/v1/allowances` 成功时的响应体。 */
161
+ /** The success response body of `GET /account/v1/allowances`. */
158
162
  export type ListAllowancesResult = operations["list-allowances"]["responses"][200]["content"]["application/json"];
159
- /** `GET /account/v1/allowances` 的查询参数。 */
163
+ /** The query parameters of `GET /account/v1/allowances`. */
160
164
  export type ListAllowancesQuery = operations["list-allowances"]["parameters"]["query"];
161
- /** `GET /account/v1/allowances/{allowanceId}/consumptions` 成功时的响应体。 */
165
+ /** The success response body of `GET /account/v1/allowances/{allowanceId}/consumptions`. */
162
166
  export type ListAllowanceConsumptionsResult = operations["list-allowance-consumptions"]["responses"][200]["content"]["application/json"];
163
- /** `GET /account/v1/orders` 成功时的响应体。 */
167
+ /** The success response body of `GET /account/v1/orders`. */
164
168
  export type ListOrdersResult = operations["list-orders"]["responses"][200]["content"]["application/json"];
165
- /** `GET /account/v1/orders` 的查询参数。 */
169
+ /** The query parameters of `GET /account/v1/orders`. */
166
170
  export type ListOrdersQuery = operations["list-orders"]["parameters"]["query"];
167
- /** `GET /account/v1/orders/{orderId}` 成功时的响应体。 */
171
+ /** The success response body of `GET /account/v1/orders/{orderId}`. */
168
172
  export type GetOrderResult = operations["get-order"]["responses"][200]["content"]["application/json"];
169
- /** `GET /account/v1/orders/{orderId}/items` 成功时的响应体。 */
173
+ /** The success response body of `POST /account/v1/orders/{orderId}/cancel`. */
174
+ export type CancelScheduledChangeResult = operations["cancel-scheduled-change"]["responses"][200]["content"]["application/json"];
175
+ /** The success response body of `GET /account/v1/orders/{orderId}/items`. */
170
176
  export type ListOrderItemsResult = operations["list-order-items"]["responses"][200]["content"]["application/json"];
171
- /** `GET /account/v1/orders/{orderId}/refund-quote` 成功时的响应体。 */
177
+ /** The success response body of `GET /account/v1/orders/{orderId}/refund-quote`. */
172
178
  export type GetOrderRefundQuoteResult = operations["get-order-refund-quote"]["responses"][200]["content"]["application/json"];
173
- /** `GET /api/v1/projects/{projectId}/orders/{orderId}/items` 成功时的响应体。 */
179
+ /** The success response body of `GET /api/v1/projects/{projectId}/orders/{orderId}/items`. */
174
180
  export type ListProjectOrderItemsResult = operations["list-project-order-items"]["responses"][200]["content"]["application/json"];
175
- /** `GET /api/v1/projects/{projectId}/allowances` 成功时的响应体。 */
181
+ /** The success response body of `GET /api/v1/projects/{projectId}/allowances`. */
176
182
  export type ListProjectAllowancesResult = operations["list-project-allowances"]["responses"][200]["content"]["application/json"];
177
- /** `GET /api/v1/projects/{projectId}/allowances` 的查询参数。 */
183
+ /** The query parameters of `GET /api/v1/projects/{projectId}/allowances`. */
178
184
  export type ListProjectAllowancesQuery = operations["list-project-allowances"]["parameters"]["query"];
179
- /** `GET /account/v1/entitlements` 成功时的响应体。 */
185
+ /** The success response body of `GET /account/v1/entitlements`. */
180
186
  export type ListEntitlementsResult = operations["list-entitlements"]["responses"][200]["content"]["application/json"];
181
- /** `GET /account/v1/entitlements` 的查询参数。 */
187
+ /** The query parameters of `GET /account/v1/entitlements`. */
182
188
  export type ListEntitlementsQuery = operations["list-entitlements"]["parameters"]["query"];
183
- /** `GET /api/v1/projects/{projectId}/entitlements` 成功时的响应体。 */
189
+ /** The success response body of `GET /api/v1/projects/{projectId}/entitlements`. */
184
190
  export type ListProjectEntitlementsResult = operations["list-project-entitlements"]["responses"][200]["content"]["application/json"];
185
- /** `GET /api/v1/projects/{projectId}/entitlements` 的查询参数。 */
191
+ /** The query parameters of `GET /api/v1/projects/{projectId}/entitlements`. */
186
192
  export type ListProjectEntitlementsQuery = operations["list-project-entitlements"]["parameters"]["query"];
@@ -1,5 +1,5 @@
1
- // scripts/generate-ts.mjs 生成,不要手改。
1
+ // Code generated by scripts/generate.mjs. DO NOT EDIT.
2
2
  //
3
- // 别名把 operations[...] 那串下标换成一个名字。原始的 paths / components / operations
4
- // 一并导出:paths 是给 openapi-fetch createClient<paths>() 用的。
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
5
  export {};