@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.
- package/dist/account/v1/client.d.ts +4 -0
- package/dist/account/v1/client.js +7 -0
- package/dist/account/v1/index.d.ts +28 -27
- package/dist/account/v1/index.js +4 -4
- package/dist/account/v1/schema.d.ts +123 -122
- package/dist/assistant/v1/client.d.ts +4 -0
- package/dist/assistant/v1/client.js +7 -0
- package/dist/assistant/v1/index.d.ts +54 -53
- package/dist/assistant/v1/index.js +4 -4
- package/dist/assistant/v1/schema.d.ts +4 -0
- package/dist/billing/v1/index.d.ts +99 -93
- package/dist/billing/v1/index.js +3 -3
- package/dist/billing/v1/schema.d.ts +174 -5
- package/dist/canopy/v1/client.d.ts +4 -0
- package/dist/canopy/v1/client.js +7 -0
- package/dist/canopy/v1/index.d.ts +24 -23
- package/dist/canopy/v1/index.js +4 -4
- package/dist/canopy/v1/schema.d.ts +113 -109
- package/dist/compute/v1/client.d.ts +4 -0
- package/dist/compute/v1/client.js +7 -0
- package/dist/compute/v1/index.d.ts +126 -123
- package/dist/compute/v1/index.js +4 -4
- package/dist/compute/v1/schema.d.ts +55 -0
- package/dist/dns/v1/client.d.ts +4 -0
- package/dist/dns/v1/client.js +7 -0
- package/dist/dns/v1/index.d.ts +24 -23
- package/dist/dns/v1/index.js +4 -4
- package/dist/dns/v1/schema.d.ts +4 -0
- package/dist/fleet/v1/client.d.ts +4 -0
- package/dist/fleet/v1/client.js +7 -0
- package/dist/fleet/v1/index.d.ts +7 -0
- package/dist/fleet/v1/index.js +5 -0
- package/dist/fleet/v1/schema.d.ts +156 -0
- package/dist/fleet/v1/schema.js +5 -0
- package/dist/iam/v1/client.d.ts +4 -0
- package/dist/iam/v1/client.js +7 -0
- package/dist/iam/v1/index.d.ts +44 -43
- package/dist/iam/v1/index.js +4 -4
- package/dist/iam/v1/schema.d.ts +119 -115
- package/dist/index.d.ts +12 -11
- package/dist/index.js +20 -5
- package/dist/monitoring/v1/client.d.ts +4 -0
- package/dist/monitoring/v1/client.js +7 -0
- package/dist/monitoring/v1/index.d.ts +90 -89
- package/dist/monitoring/v1/index.js +4 -4
- package/dist/monitoring/v1/schema.d.ts +4 -0
- package/dist/notification/v1/client.d.ts +4 -0
- package/dist/notification/v1/client.js +7 -0
- package/dist/notification/v1/index.d.ts +38 -37
- package/dist/notification/v1/index.js +4 -4
- package/dist/notification/v1/schema.d.ts +4 -0
- package/dist/support/v1/client.d.ts +4 -0
- package/dist/support/v1/client.js +7 -0
- package/dist/support/v1/index.d.ts +25 -24
- package/dist/support/v1/index.js +4 -4
- package/dist/support/v1/schema.d.ts +4 -0
- package/dist/tunnel/v1/client.d.ts +4 -0
- package/dist/tunnel/v1/client.js +7 -0
- package/dist/tunnel/v1/index.d.ts +8 -7
- package/dist/tunnel/v1/index.js +4 -4
- package/dist/tunnel/v1/schema.d.ts +39 -35
- 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
|
-
//
|
|
1
|
+
// Code generated by scripts/generate.mjs. DO NOT EDIT.
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
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/
|
|
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
|
-
/** `
|
|
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/
|
|
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
|
-
/** `
|
|
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"];
|
package/dist/billing/v1/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by scripts/generate.mjs. DO NOT EDIT.
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
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 {};
|