tapimo 0.4.0 → 0.4.3
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/README.md +1 -1
- package/dist/ApiKey.d.ts +1 -9
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +2 -3
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +53 -27
- package/dist/ApiKeys.d.ts.map +1 -1
- package/dist/ApiKeys.js +32 -17
- package/dist/ApiKeys.js.map +1 -1
- package/dist/App.d.ts +2451 -1533
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +23 -9
- package/dist/App.js.map +1 -1
- package/dist/Assets.d.ts +10 -0
- package/dist/Assets.d.ts.map +1 -1
- package/dist/Assets.js +4 -0
- package/dist/Assets.js.map +1 -1
- package/dist/Auth.d.ts +2 -1
- package/dist/Auth.d.ts.map +1 -1
- package/dist/Auth.js +2 -1
- package/dist/Auth.js.map +1 -1
- package/dist/Scope.d.ts +40 -15
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +44 -13
- package/dist/Scope.js.map +1 -1
- package/dist/admin/App.d.ts +560 -9
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +38 -6
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +10 -24
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +10 -3
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/organizations.d.ts +833 -0
- package/dist/admin/apps/organizations.d.ts.map +1 -0
- package/dist/admin/apps/organizations.js +733 -0
- package/dist/admin/apps/organizations.js.map +1 -0
- package/dist/admin/apps/scopes.d.ts +8 -0
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.d.ts.map +1 -1
- package/dist/admin/ui.generated.js +53 -13
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/analytics/Analytics.d.ts +10 -0
- package/dist/analytics/Analytics.d.ts.map +1 -1
- package/dist/analytics/Analytics.js +8 -0
- package/dist/analytics/Analytics.js.map +1 -1
- package/dist/analytics/tables/requestEvents.d.ts +9 -0
- package/dist/analytics/tables/requestEvents.d.ts.map +1 -1
- package/dist/analytics/tables/requestEvents.js +14 -0
- package/dist/analytics/tables/requestEvents.js.map +1 -1
- package/dist/apps/data/App.d.ts +1354 -984
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +20 -3
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingRouteProviders.d.ts +94 -5
- package/dist/apps/data/FundingRouteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingRouteProviders.js +196 -5
- package/dist/apps/data/FundingRouteProviders.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +38 -38
- package/dist/apps/data/routes/addresses.d.ts +24 -24
- package/dist/apps/data/routes/balances.d.ts +45 -45
- package/dist/apps/data/routes/blocks.d.ts +39 -39
- package/dist/apps/data/routes/coingecko.d.ts +176 -176
- package/dist/apps/data/routes/exchanges.d.ts +453 -453
- package/dist/apps/data/routes/fee-amm.d.ts +101 -101
- package/dist/apps/data/routes/funding.d.ts +730 -138
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +234 -0
- package/dist/apps/data/routes/funding.js.map +1 -1
- package/dist/apps/data/routes/indexer.d.ts +5 -5
- package/dist/apps/data/routes/rpc.d.ts +31 -31
- package/dist/apps/data/routes/verified-tokens.d.ts +81 -81
- package/dist/apps/management/App.d.ts +1156 -615
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +2 -2
- package/dist/apps/management/Billing.d.ts +3 -0
- package/dist/apps/management/Billing.d.ts.map +1 -1
- package/dist/apps/management/Billing.js +7 -2
- package/dist/apps/management/Billing.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +106 -90
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +41 -30
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +278 -146
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +14 -14
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/invitations.d.ts +93 -20
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +12 -15
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/me.d.ts +13 -13
- package/dist/apps/management/routes/members.d.ts +89 -18
- package/dist/apps/management/routes/members.d.ts.map +1 -1
- package/dist/apps/management/routes/members.js +10 -10
- package/dist/apps/management/routes/members.js.map +1 -1
- package/dist/apps/management/routes/orgs.d.ts +130 -70
- package/dist/apps/management/routes/orgs.d.ts.map +1 -1
- package/dist/apps/management/routes/orgs.js +19 -19
- package/dist/apps/management/routes/orgs.js.map +1 -1
- package/dist/apps/management/routes/projects.d.ts +137 -48
- package/dist/apps/management/routes/projects.d.ts.map +1 -1
- package/dist/apps/management/routes/projects.js +12 -13
- package/dist/apps/management/routes/projects.js.map +1 -1
- package/dist/apps/management/routes/scopes.d.ts +14 -28
- package/dist/apps/management/routes/scopes.d.ts.map +1 -1
- package/dist/apps/management/routes/scopes.js +6 -7
- package/dist/apps/management/routes/scopes.js.map +1 -1
- package/dist/apps/management/routes/usage.d.ts +63 -19
- package/dist/apps/management/routes/usage.d.ts.map +1 -1
- package/dist/apps/management/routes/usage.js +9 -10
- package/dist/apps/management/routes/usage.js.map +1 -1
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +35 -3
- package/dist/apps/mcp.js.map +1 -1
- package/dist/apps/relay/App.d.ts +26 -4
- package/dist/apps/relay/App.d.ts.map +1 -1
- package/dist/apps/relay/App.js +17 -14
- package/dist/apps/relay/App.js.map +1 -1
- package/dist/db/Db.d.ts +5 -3
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +52 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +13 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +16 -1
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/adminAuditLogs.d.ts +27 -0
- package/dist/db/tables/adminAuditLogs.d.ts.map +1 -0
- package/dist/db/tables/adminAuditLogs.js +19 -0
- package/dist/db/tables/adminAuditLogs.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +1 -1
- package/dist/db/tables/invitations.d.ts.map +1 -1
- package/dist/db/tables/memberships.d.ts +32 -4
- package/dist/db/tables/memberships.d.ts.map +1 -1
- package/dist/db/tables/memberships.js +31 -0
- package/dist/db/tables/memberships.js.map +1 -1
- package/dist/db/tables/organizations.d.ts +43 -1
- package/dist/db/tables/organizations.d.ts.map +1 -1
- package/dist/db/tables/organizations.js +103 -0
- package/dist/db/tables/organizations.js.map +1 -1
- package/dist/db/tables/projects.d.ts +25 -0
- package/dist/db/tables/projects.d.ts.map +1 -1
- package/dist/db/tables/projects.js +22 -0
- package/dist/db/tables/projects.js.map +1 -1
- package/dist/db/tables/webhookDeliveries.d.ts +26 -0
- package/dist/db/tables/webhookDeliveries.d.ts.map +1 -1
- package/dist/db/tables/webhookDeliveries.js +37 -0
- package/dist/db/tables/webhookDeliveries.js.map +1 -1
- package/dist/handlers/relay.d.ts +13 -10
- package/dist/handlers/relay.d.ts.map +1 -1
- package/dist/handlers/relay.js +46 -16
- package/dist/handlers/relay.js.map +1 -1
- package/dist/internal/Auth.d.ts +13 -18
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +78 -58
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/Cursor.d.ts +1 -1
- package/dist/internal/Cursor.d.ts.map +1 -1
- package/dist/internal/Cursor.js +4 -0
- package/dist/internal/Cursor.js.map +1 -1
- package/dist/internal/EdgeCache.d.ts.map +1 -1
- package/dist/internal/EdgeCache.js +2 -0
- package/dist/internal/EdgeCache.js.map +1 -1
- package/dist/internal/FundingRoutes.d.ts +170 -0
- package/dist/internal/FundingRoutes.d.ts.map +1 -1
- package/dist/internal/FundingRoutes.js +68 -6
- package/dist/internal/FundingRoutes.js.map +1 -1
- package/dist/internal/Log.d.ts +16 -1
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +5 -3
- package/dist/internal/Log.js.map +1 -1
- package/package.json +2 -2
- package/src/ApiKey.ts +2 -3
- package/src/ApiKeys.ts +95 -17
- package/src/App.test.ts +44 -2
- package/src/App.ts +29 -9
- package/src/Assets.ts +8 -0
- package/src/Auth.test-d.ts +36 -0
- package/src/Auth.ts +20 -1
- package/src/Client.test-d.ts +64 -17
- package/src/Scope.test.ts +34 -0
- package/src/Scope.ts +53 -17
- package/src/admin/App.test.ts +33 -3
- package/src/admin/App.ts +49 -14
- package/src/admin/apps/api-keys.ts +10 -3
- package/src/admin/apps/organizations.test.ts +455 -0
- package/src/admin/apps/organizations.ts +953 -0
- package/src/admin/apps/scopes.test.ts +10 -0
- package/src/admin/ui/plugin.ts +1 -1
- package/src/admin/ui/src/components/MobileProfile.tsx +2 -0
- package/src/admin/ui/src/components/ThemeToggle.tsx +20 -0
- package/src/admin/ui/src/lib/api-keys.ts +36 -19
- package/src/admin/ui/src/lib/config.ts +2 -3
- package/src/admin/ui/src/lib/organizations.test.ts +89 -0
- package/src/admin/ui/src/lib/organizations.ts +262 -0
- package/src/admin/ui/src/lib/query-client.ts +3 -1
- package/src/admin/ui/src/lib/theme.ts +57 -0
- package/src/admin/ui/src/routeTree.gen.ts +47 -4
- package/src/admin/ui/src/routes/__root.tsx +18 -3
- package/src/admin/ui/src/routes/api-keys.tsx +52 -7
- package/src/admin/ui/src/routes/index.tsx +1 -1
- package/src/admin/ui/src/routes/organizations.tsx +158 -0
- package/src/admin/ui/src/routes/organizations_.$orgId.tsx +710 -0
- package/src/admin/ui/src/start.ts +6 -0
- package/src/admin/ui.generated.ts +63 -13
- package/src/analytics/Analytics.ts +25 -0
- package/src/analytics/tables/requestEvents.ts +33 -0
- package/src/apps/composition.test.ts +82 -2
- package/src/apps/data/App.ts +24 -3
- package/src/apps/data/FundingRouteProviders.test.ts +204 -0
- package/src/apps/data/FundingRouteProviders.ts +294 -9
- package/src/apps/data/routes/funding.test.ts +90 -23
- package/src/apps/data/routes/funding.ts +315 -0
- package/src/apps/data/routes/rpc.test.ts +33 -0
- package/src/apps/management/App.ts +2 -2
- package/src/apps/management/Billing.ts +10 -2
- package/src/apps/management/routes/api-keys.test.ts +137 -1
- package/src/apps/management/routes/api-keys.ts +63 -38
- package/src/apps/management/routes/billing.ts +14 -14
- package/src/apps/management/routes/invitations.test.ts +102 -1
- package/src/apps/management/routes/invitations.ts +13 -15
- package/src/apps/management/routes/members.ts +10 -10
- package/src/apps/management/routes/orgs.test.ts +78 -16
- package/src/apps/management/routes/orgs.ts +21 -20
- package/src/apps/management/routes/projects.ts +12 -13
- package/src/apps/management/routes/scopes.test.ts +16 -0
- package/src/apps/management/routes/scopes.ts +6 -7
- package/src/apps/management/routes/usage.ts +9 -14
- package/src/apps/mcp.test.ts +25 -1
- package/src/apps/mcp.ts +43 -3
- package/src/apps/relay/App.test.ts +23 -18
- package/src/apps/relay/App.ts +35 -14
- package/src/db/Db.ts +59 -3
- package/src/db/Schema.ts +20 -1
- package/src/db/tables/adminAuditLogs.ts +47 -0
- package/src/db/tables/invitations.ts +1 -1
- package/src/db/tables/memberships.ts +59 -3
- package/src/db/tables/organizations.ts +148 -1
- package/src/db/tables/projects.ts +47 -0
- package/src/db/tables/webhookDeliveries.ts +83 -0
- package/src/handlers/relay.test-d.ts +8 -0
- package/src/handlers/relay.test.ts +2 -2
- package/src/handlers/relay.ts +62 -22
- package/src/internal/Auth.test.ts +174 -7
- package/src/internal/Auth.ts +90 -62
- package/src/internal/Cursor.test.ts +10 -0
- package/src/internal/Cursor.ts +5 -1
- package/src/internal/EdgeCache.test.ts +11 -0
- package/src/internal/EdgeCache.ts +2 -0
- package/src/internal/FundingRoutes.test.ts +26 -0
- package/src/internal/FundingRoutes.ts +187 -18
- package/src/internal/Log.test.ts +41 -3
- package/src/internal/Log.ts +23 -4
|
@@ -67,8 +67,8 @@ export type Environment = {
|
|
|
67
67
|
* invitations, and API-key management. Every route reads its dependencies from
|
|
68
68
|
* request context set by {@link App.create}.
|
|
69
69
|
*
|
|
70
|
-
* The session-auth surface
|
|
71
|
-
*
|
|
70
|
+
* The session-auth surface is owned by {@link App.create}; management routes
|
|
71
|
+
* reference it alongside scoped API-key access.
|
|
72
72
|
*
|
|
73
73
|
* ```ts
|
|
74
74
|
* App.create(options).route('/', management())
|
|
@@ -78,15 +78,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
78
78
|
"/v1/me": {
|
|
79
79
|
$get: {
|
|
80
80
|
output: {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
requestId: string;
|
|
81
|
+
address?: string | undefined;
|
|
82
|
+
createdAt: string;
|
|
83
|
+
email?: string | undefined;
|
|
84
|
+
id: string;
|
|
85
|
+
updatedAt: string;
|
|
87
86
|
};
|
|
88
87
|
outputFormat: "json";
|
|
89
|
-
status:
|
|
88
|
+
status: 200;
|
|
90
89
|
input: {};
|
|
91
90
|
} | {
|
|
92
91
|
output: {
|
|
@@ -138,20 +137,32 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
138
137
|
input: {};
|
|
139
138
|
} | {
|
|
140
139
|
output: {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
140
|
+
error: {
|
|
141
|
+
code: "upstream_error";
|
|
142
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
143
|
+
message: string;
|
|
144
|
+
};
|
|
145
|
+
requestId: string;
|
|
146
146
|
};
|
|
147
147
|
outputFormat: "json";
|
|
148
|
-
status:
|
|
148
|
+
status: 502;
|
|
149
149
|
input: {};
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
152
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
153
153
|
"/v1/scopes": {
|
|
154
154
|
$get: {
|
|
155
|
+
output: {
|
|
156
|
+
data: {
|
|
157
|
+
description: string;
|
|
158
|
+
scope: string;
|
|
159
|
+
selfServe: boolean;
|
|
160
|
+
}[];
|
|
161
|
+
};
|
|
162
|
+
outputFormat: "json";
|
|
163
|
+
status: 200;
|
|
164
|
+
input: {};
|
|
165
|
+
} | {
|
|
155
166
|
output: {
|
|
156
167
|
error: {
|
|
157
168
|
code: "api_key_malformed";
|
|
@@ -199,32 +210,68 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
199
210
|
outputFormat: "json";
|
|
200
211
|
status: 429;
|
|
201
212
|
input: {};
|
|
202
|
-
} | {
|
|
203
|
-
output: {
|
|
204
|
-
data: {
|
|
205
|
-
description: string;
|
|
206
|
-
scope: "data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write";
|
|
207
|
-
selfServe: boolean;
|
|
208
|
-
}[];
|
|
209
|
-
};
|
|
210
|
-
outputFormat: "json";
|
|
211
|
-
status: 200;
|
|
212
|
-
input: {};
|
|
213
213
|
};
|
|
214
214
|
};
|
|
215
215
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
216
216
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/usage/requests": {
|
|
217
217
|
$get: {
|
|
218
|
+
output: {
|
|
219
|
+
byKey: {
|
|
220
|
+
apiKeyId: string;
|
|
221
|
+
averageDurationMs: number;
|
|
222
|
+
errors: number;
|
|
223
|
+
requests: number;
|
|
224
|
+
}[];
|
|
225
|
+
byRoute: {
|
|
226
|
+
averageDurationMs: number;
|
|
227
|
+
errors: number;
|
|
228
|
+
requests: number;
|
|
229
|
+
route: string;
|
|
230
|
+
}[];
|
|
231
|
+
byStatus: {
|
|
232
|
+
requests: number;
|
|
233
|
+
status: number;
|
|
234
|
+
}[];
|
|
235
|
+
from: string;
|
|
236
|
+
interval: "day" | "hour";
|
|
237
|
+
series: {
|
|
238
|
+
errors: number;
|
|
239
|
+
requests: number;
|
|
240
|
+
time: string;
|
|
241
|
+
}[];
|
|
242
|
+
to: string;
|
|
243
|
+
totals: {
|
|
244
|
+
averageDurationMs: number;
|
|
245
|
+
errors: number;
|
|
246
|
+
requests: number;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
outputFormat: "json";
|
|
250
|
+
status: 200;
|
|
251
|
+
input: {
|
|
252
|
+
param: {
|
|
253
|
+
orgId: string;
|
|
254
|
+
};
|
|
255
|
+
} & {
|
|
256
|
+
query?: {
|
|
257
|
+
environment?: string | string[];
|
|
258
|
+
from?: string | string[];
|
|
259
|
+
interval?: string | string[];
|
|
260
|
+
projectId?: string | string[];
|
|
261
|
+
to?: string | string[];
|
|
262
|
+
} | undefined;
|
|
263
|
+
};
|
|
264
|
+
} | {
|
|
218
265
|
output: {
|
|
219
266
|
error: {
|
|
220
|
-
code: "
|
|
267
|
+
code: "api_key_malformed";
|
|
221
268
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
222
269
|
message: string;
|
|
223
270
|
};
|
|
224
271
|
requestId: string;
|
|
225
272
|
};
|
|
226
273
|
outputFormat: "json";
|
|
227
|
-
status:
|
|
274
|
+
status: 400;
|
|
228
275
|
input: {
|
|
229
276
|
param: {
|
|
230
277
|
orgId: string;
|
|
@@ -241,7 +288,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
241
288
|
} | {
|
|
242
289
|
output: {
|
|
243
290
|
error: {
|
|
244
|
-
code: "
|
|
291
|
+
code: "query_invalid";
|
|
245
292
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
246
293
|
message: string;
|
|
247
294
|
};
|
|
@@ -265,14 +312,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
265
312
|
} | {
|
|
266
313
|
output: {
|
|
267
314
|
error: {
|
|
268
|
-
code: "
|
|
315
|
+
code: "param_invalid";
|
|
269
316
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
270
317
|
message: string;
|
|
271
318
|
};
|
|
272
319
|
requestId: string;
|
|
273
320
|
};
|
|
274
321
|
outputFormat: "json";
|
|
275
|
-
status:
|
|
322
|
+
status: 400;
|
|
276
323
|
input: {
|
|
277
324
|
param: {
|
|
278
325
|
orgId: string;
|
|
@@ -289,14 +336,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
289
336
|
} | {
|
|
290
337
|
output: {
|
|
291
338
|
error: {
|
|
292
|
-
code: "
|
|
339
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
293
340
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
294
341
|
message: string;
|
|
295
342
|
};
|
|
296
343
|
requestId: string;
|
|
297
344
|
};
|
|
298
345
|
outputFormat: "json";
|
|
299
|
-
status:
|
|
346
|
+
status: 401;
|
|
300
347
|
input: {
|
|
301
348
|
param: {
|
|
302
349
|
orgId: string;
|
|
@@ -313,7 +360,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
313
360
|
} | {
|
|
314
361
|
output: {
|
|
315
362
|
error: {
|
|
316
|
-
code: "
|
|
363
|
+
code: "api_key_forbidden";
|
|
317
364
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
318
365
|
message: string;
|
|
319
366
|
};
|
|
@@ -361,14 +408,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
361
408
|
} | {
|
|
362
409
|
output: {
|
|
363
410
|
error: {
|
|
364
|
-
code: "
|
|
411
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
365
412
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
366
413
|
message: string;
|
|
367
414
|
};
|
|
368
415
|
requestId: string;
|
|
369
416
|
};
|
|
370
417
|
outputFormat: "json";
|
|
371
|
-
status:
|
|
418
|
+
status: 429;
|
|
372
419
|
input: {
|
|
373
420
|
param: {
|
|
374
421
|
orgId: string;
|
|
@@ -408,38 +455,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
408
455
|
};
|
|
409
456
|
} | {
|
|
410
457
|
output: {
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
requests: number;
|
|
416
|
-
}[];
|
|
417
|
-
byRoute: {
|
|
418
|
-
averageDurationMs: number;
|
|
419
|
-
errors: number;
|
|
420
|
-
requests: number;
|
|
421
|
-
route: string;
|
|
422
|
-
}[];
|
|
423
|
-
byStatus: {
|
|
424
|
-
requests: number;
|
|
425
|
-
status: number;
|
|
426
|
-
}[];
|
|
427
|
-
from: string;
|
|
428
|
-
interval: "day" | "hour";
|
|
429
|
-
series: {
|
|
430
|
-
errors: number;
|
|
431
|
-
requests: number;
|
|
432
|
-
time: string;
|
|
433
|
-
}[];
|
|
434
|
-
to: string;
|
|
435
|
-
totals: {
|
|
436
|
-
averageDurationMs: number;
|
|
437
|
-
errors: number;
|
|
438
|
-
requests: number;
|
|
458
|
+
error: {
|
|
459
|
+
code: "upstream_error";
|
|
460
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
461
|
+
message: string;
|
|
439
462
|
};
|
|
463
|
+
requestId: string;
|
|
440
464
|
};
|
|
441
465
|
outputFormat: "json";
|
|
442
|
-
status:
|
|
466
|
+
status: 502;
|
|
443
467
|
input: {
|
|
444
468
|
param: {
|
|
445
469
|
orgId: string;
|
|
@@ -458,16 +482,42 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
458
482
|
} & {
|
|
459
483
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/usage/sponsorships": {
|
|
460
484
|
$get: {
|
|
485
|
+
output: {
|
|
486
|
+
data: {
|
|
487
|
+
count: number;
|
|
488
|
+
feeTotal: {
|
|
489
|
+
amount: string;
|
|
490
|
+
currency: "usd";
|
|
491
|
+
};
|
|
492
|
+
timestamp: string;
|
|
493
|
+
}[];
|
|
494
|
+
};
|
|
495
|
+
outputFormat: "json";
|
|
496
|
+
status: 200;
|
|
497
|
+
input: {
|
|
498
|
+
param: {
|
|
499
|
+
orgId: string;
|
|
500
|
+
};
|
|
501
|
+
} & {
|
|
502
|
+
query?: {
|
|
503
|
+
environment?: string | string[];
|
|
504
|
+
from?: string | string[];
|
|
505
|
+
interval?: string | string[];
|
|
506
|
+
projectId?: string | string[];
|
|
507
|
+
to?: string | string[];
|
|
508
|
+
} | undefined;
|
|
509
|
+
};
|
|
510
|
+
} | {
|
|
461
511
|
output: {
|
|
462
512
|
error: {
|
|
463
|
-
code: "
|
|
513
|
+
code: "api_key_malformed";
|
|
464
514
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
465
515
|
message: string;
|
|
466
516
|
};
|
|
467
517
|
requestId: string;
|
|
468
518
|
};
|
|
469
519
|
outputFormat: "json";
|
|
470
|
-
status:
|
|
520
|
+
status: 400;
|
|
471
521
|
input: {
|
|
472
522
|
param: {
|
|
473
523
|
orgId: string;
|
|
@@ -484,7 +534,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
484
534
|
} | {
|
|
485
535
|
output: {
|
|
486
536
|
error: {
|
|
487
|
-
code: "
|
|
537
|
+
code: "query_invalid";
|
|
488
538
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
489
539
|
message: string;
|
|
490
540
|
};
|
|
@@ -508,14 +558,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
508
558
|
} | {
|
|
509
559
|
output: {
|
|
510
560
|
error: {
|
|
511
|
-
code: "
|
|
561
|
+
code: "param_invalid";
|
|
512
562
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
513
563
|
message: string;
|
|
514
564
|
};
|
|
515
565
|
requestId: string;
|
|
516
566
|
};
|
|
517
567
|
outputFormat: "json";
|
|
518
|
-
status:
|
|
568
|
+
status: 400;
|
|
519
569
|
input: {
|
|
520
570
|
param: {
|
|
521
571
|
orgId: string;
|
|
@@ -532,14 +582,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
532
582
|
} | {
|
|
533
583
|
output: {
|
|
534
584
|
error: {
|
|
535
|
-
code: "
|
|
585
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
536
586
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
537
587
|
message: string;
|
|
538
588
|
};
|
|
539
589
|
requestId: string;
|
|
540
590
|
};
|
|
541
591
|
outputFormat: "json";
|
|
542
|
-
status:
|
|
592
|
+
status: 401;
|
|
543
593
|
input: {
|
|
544
594
|
param: {
|
|
545
595
|
orgId: string;
|
|
@@ -556,7 +606,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
556
606
|
} | {
|
|
557
607
|
output: {
|
|
558
608
|
error: {
|
|
559
|
-
code: "
|
|
609
|
+
code: "api_key_forbidden";
|
|
560
610
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
561
611
|
message: string;
|
|
562
612
|
};
|
|
@@ -604,14 +654,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
604
654
|
} | {
|
|
605
655
|
output: {
|
|
606
656
|
error: {
|
|
607
|
-
code: "
|
|
657
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
608
658
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
609
659
|
message: string;
|
|
610
660
|
};
|
|
611
661
|
requestId: string;
|
|
612
662
|
};
|
|
613
663
|
outputFormat: "json";
|
|
614
|
-
status:
|
|
664
|
+
status: 429;
|
|
615
665
|
input: {
|
|
616
666
|
param: {
|
|
617
667
|
orgId: string;
|
|
@@ -627,17 +677,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
627
677
|
};
|
|
628
678
|
} | {
|
|
629
679
|
output: {
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
timestamp: string;
|
|
637
|
-
}[];
|
|
680
|
+
error: {
|
|
681
|
+
code: "upstream_error";
|
|
682
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
683
|
+
message: string;
|
|
684
|
+
};
|
|
685
|
+
requestId: string;
|
|
638
686
|
};
|
|
639
687
|
outputFormat: "json";
|
|
640
|
-
status:
|
|
688
|
+
status: 502;
|
|
641
689
|
input: {
|
|
642
690
|
param: {
|
|
643
691
|
orgId: string;
|
|
@@ -656,16 +704,33 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
656
704
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
657
705
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/members": {
|
|
658
706
|
$get: {
|
|
707
|
+
output: {
|
|
708
|
+
data: {
|
|
709
|
+
address?: string | undefined;
|
|
710
|
+
createdAt: string;
|
|
711
|
+
email?: string | undefined;
|
|
712
|
+
role: "admin" | "member" | "owner";
|
|
713
|
+
userId: string;
|
|
714
|
+
}[];
|
|
715
|
+
};
|
|
716
|
+
outputFormat: "json";
|
|
717
|
+
status: 200;
|
|
718
|
+
input: {
|
|
719
|
+
param: {
|
|
720
|
+
orgId: string;
|
|
721
|
+
};
|
|
722
|
+
};
|
|
723
|
+
} | {
|
|
659
724
|
output: {
|
|
660
725
|
error: {
|
|
661
|
-
code: "
|
|
726
|
+
code: "api_key_malformed";
|
|
662
727
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
663
728
|
message: string;
|
|
664
729
|
};
|
|
665
730
|
requestId: string;
|
|
666
731
|
};
|
|
667
732
|
outputFormat: "json";
|
|
668
|
-
status:
|
|
733
|
+
status: 400;
|
|
669
734
|
input: {
|
|
670
735
|
param: {
|
|
671
736
|
orgId: string;
|
|
@@ -674,7 +739,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
674
739
|
} | {
|
|
675
740
|
output: {
|
|
676
741
|
error: {
|
|
677
|
-
code: "
|
|
742
|
+
code: "param_invalid";
|
|
678
743
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
679
744
|
message: string;
|
|
680
745
|
};
|
|
@@ -706,7 +771,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
706
771
|
} | {
|
|
707
772
|
output: {
|
|
708
773
|
error: {
|
|
709
|
-
code: "
|
|
774
|
+
code: "api_key_forbidden";
|
|
710
775
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
711
776
|
message: string;
|
|
712
777
|
};
|
|
@@ -738,14 +803,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
738
803
|
} | {
|
|
739
804
|
output: {
|
|
740
805
|
error: {
|
|
741
|
-
code: "
|
|
806
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
742
807
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
743
808
|
message: string;
|
|
744
809
|
};
|
|
745
810
|
requestId: string;
|
|
746
811
|
};
|
|
747
812
|
outputFormat: "json";
|
|
748
|
-
status:
|
|
813
|
+
status: 429;
|
|
749
814
|
input: {
|
|
750
815
|
param: {
|
|
751
816
|
orgId: string;
|
|
@@ -753,16 +818,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
753
818
|
};
|
|
754
819
|
} | {
|
|
755
820
|
output: {
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
}[];
|
|
821
|
+
error: {
|
|
822
|
+
code: "upstream_error";
|
|
823
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
824
|
+
message: string;
|
|
825
|
+
};
|
|
826
|
+
requestId: string;
|
|
763
827
|
};
|
|
764
828
|
outputFormat: "json";
|
|
765
|
-
status:
|
|
829
|
+
status: 502;
|
|
766
830
|
input: {
|
|
767
831
|
param: {
|
|
768
832
|
orgId: string;
|
|
@@ -773,16 +837,36 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
773
837
|
} & {
|
|
774
838
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/members/:userId{usr_[A-Za-z0-9_-]+}": {
|
|
775
839
|
$patch: {
|
|
840
|
+
output: {
|
|
841
|
+
address?: string | undefined;
|
|
842
|
+
createdAt: string;
|
|
843
|
+
email?: string | undefined;
|
|
844
|
+
role: "admin" | "member" | "owner";
|
|
845
|
+
userId: string;
|
|
846
|
+
};
|
|
847
|
+
outputFormat: "json";
|
|
848
|
+
status: 200;
|
|
849
|
+
input: {
|
|
850
|
+
param: {
|
|
851
|
+
orgId: string;
|
|
852
|
+
userId: string;
|
|
853
|
+
};
|
|
854
|
+
} & {
|
|
855
|
+
json: {
|
|
856
|
+
role: "admin" | "member" | "owner";
|
|
857
|
+
};
|
|
858
|
+
};
|
|
859
|
+
} | {
|
|
776
860
|
output: {
|
|
777
861
|
error: {
|
|
778
|
-
code: "
|
|
862
|
+
code: "api_key_malformed";
|
|
779
863
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
780
864
|
message: string;
|
|
781
865
|
};
|
|
782
866
|
requestId: string;
|
|
783
867
|
};
|
|
784
868
|
outputFormat: "json";
|
|
785
|
-
status:
|
|
869
|
+
status: 400;
|
|
786
870
|
input: {
|
|
787
871
|
param: {
|
|
788
872
|
orgId: string;
|
|
@@ -796,7 +880,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
796
880
|
} | {
|
|
797
881
|
output: {
|
|
798
882
|
error: {
|
|
799
|
-
code: "
|
|
883
|
+
code: "body_invalid";
|
|
800
884
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
801
885
|
message: string;
|
|
802
886
|
};
|
|
@@ -817,14 +901,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
817
901
|
} | {
|
|
818
902
|
output: {
|
|
819
903
|
error: {
|
|
820
|
-
code: "
|
|
904
|
+
code: "param_invalid";
|
|
821
905
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
822
906
|
message: string;
|
|
823
907
|
};
|
|
824
908
|
requestId: string;
|
|
825
909
|
};
|
|
826
910
|
outputFormat: "json";
|
|
827
|
-
status:
|
|
911
|
+
status: 400;
|
|
828
912
|
input: {
|
|
829
913
|
param: {
|
|
830
914
|
orgId: string;
|
|
@@ -838,14 +922,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
838
922
|
} | {
|
|
839
923
|
output: {
|
|
840
924
|
error: {
|
|
841
|
-
code: "
|
|
925
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
842
926
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
843
927
|
message: string;
|
|
844
928
|
};
|
|
845
929
|
requestId: string;
|
|
846
930
|
};
|
|
847
931
|
outputFormat: "json";
|
|
848
|
-
status:
|
|
932
|
+
status: 401;
|
|
849
933
|
input: {
|
|
850
934
|
param: {
|
|
851
935
|
orgId: string;
|
|
@@ -859,14 +943,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
859
943
|
} | {
|
|
860
944
|
output: {
|
|
861
945
|
error: {
|
|
862
|
-
code: "
|
|
946
|
+
code: "api_key_forbidden";
|
|
863
947
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
864
948
|
message: string;
|
|
865
949
|
};
|
|
866
950
|
requestId: string;
|
|
867
951
|
};
|
|
868
952
|
outputFormat: "json";
|
|
869
|
-
status:
|
|
953
|
+
status: 403;
|
|
870
954
|
input: {
|
|
871
955
|
param: {
|
|
872
956
|
orgId: string;
|
|
@@ -880,14 +964,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
880
964
|
} | {
|
|
881
965
|
output: {
|
|
882
966
|
error: {
|
|
883
|
-
code: "
|
|
967
|
+
code: "organization_not_found";
|
|
884
968
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
885
969
|
message: string;
|
|
886
970
|
};
|
|
887
971
|
requestId: string;
|
|
888
972
|
};
|
|
889
973
|
outputFormat: "json";
|
|
890
|
-
status:
|
|
974
|
+
status: 404;
|
|
891
975
|
input: {
|
|
892
976
|
param: {
|
|
893
977
|
orgId: string;
|
|
@@ -901,14 +985,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
901
985
|
} | {
|
|
902
986
|
output: {
|
|
903
987
|
error: {
|
|
904
|
-
code: "
|
|
988
|
+
code: "member_not_found";
|
|
905
989
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
906
990
|
message: string;
|
|
907
991
|
};
|
|
908
992
|
requestId: string;
|
|
909
993
|
};
|
|
910
994
|
outputFormat: "json";
|
|
911
|
-
status:
|
|
995
|
+
status: 404;
|
|
912
996
|
input: {
|
|
913
997
|
param: {
|
|
914
998
|
orgId: string;
|
|
@@ -943,14 +1027,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
943
1027
|
} | {
|
|
944
1028
|
output: {
|
|
945
1029
|
error: {
|
|
946
|
-
code: "
|
|
1030
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
947
1031
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
948
1032
|
message: string;
|
|
949
1033
|
};
|
|
950
1034
|
requestId: string;
|
|
951
1035
|
};
|
|
952
1036
|
outputFormat: "json";
|
|
953
|
-
status:
|
|
1037
|
+
status: 429;
|
|
954
1038
|
input: {
|
|
955
1039
|
param: {
|
|
956
1040
|
orgId: string;
|
|
@@ -963,14 +1047,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
963
1047
|
};
|
|
964
1048
|
} | {
|
|
965
1049
|
output: {
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
1050
|
+
error: {
|
|
1051
|
+
code: "upstream_error";
|
|
1052
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1053
|
+
message: string;
|
|
1054
|
+
};
|
|
1055
|
+
requestId: string;
|
|
971
1056
|
};
|
|
972
1057
|
outputFormat: "json";
|
|
973
|
-
status:
|
|
1058
|
+
status: 502;
|
|
974
1059
|
input: {
|
|
975
1060
|
param: {
|
|
976
1061
|
orgId: string;
|
|
@@ -986,16 +1071,28 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
986
1071
|
} & {
|
|
987
1072
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/members/:userId{usr_[A-Za-z0-9_-]+}": {
|
|
988
1073
|
$delete: {
|
|
1074
|
+
output: {
|
|
1075
|
+
userId: string;
|
|
1076
|
+
};
|
|
1077
|
+
outputFormat: "json";
|
|
1078
|
+
status: 200;
|
|
1079
|
+
input: {
|
|
1080
|
+
param: {
|
|
1081
|
+
orgId: string;
|
|
1082
|
+
userId: string;
|
|
1083
|
+
};
|
|
1084
|
+
};
|
|
1085
|
+
} | {
|
|
989
1086
|
output: {
|
|
990
1087
|
error: {
|
|
991
|
-
code: "
|
|
1088
|
+
code: "api_key_malformed";
|
|
992
1089
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
993
1090
|
message: string;
|
|
994
1091
|
};
|
|
995
1092
|
requestId: string;
|
|
996
1093
|
};
|
|
997
1094
|
outputFormat: "json";
|
|
998
|
-
status:
|
|
1095
|
+
status: 400;
|
|
999
1096
|
input: {
|
|
1000
1097
|
param: {
|
|
1001
1098
|
orgId: string;
|
|
@@ -1005,7 +1102,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1005
1102
|
} | {
|
|
1006
1103
|
output: {
|
|
1007
1104
|
error: {
|
|
1008
|
-
code: "
|
|
1105
|
+
code: "param_invalid";
|
|
1009
1106
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1010
1107
|
message: string;
|
|
1011
1108
|
};
|
|
@@ -1036,6 +1133,23 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1036
1133
|
userId: string;
|
|
1037
1134
|
};
|
|
1038
1135
|
};
|
|
1136
|
+
} | {
|
|
1137
|
+
output: {
|
|
1138
|
+
error: {
|
|
1139
|
+
code: "api_key_forbidden";
|
|
1140
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1141
|
+
message: string;
|
|
1142
|
+
};
|
|
1143
|
+
requestId: string;
|
|
1144
|
+
};
|
|
1145
|
+
outputFormat: "json";
|
|
1146
|
+
status: 403;
|
|
1147
|
+
input: {
|
|
1148
|
+
param: {
|
|
1149
|
+
orgId: string;
|
|
1150
|
+
userId: string;
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1039
1153
|
} | {
|
|
1040
1154
|
output: {
|
|
1041
1155
|
error: {
|
|
@@ -1073,14 +1187,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1073
1187
|
} | {
|
|
1074
1188
|
output: {
|
|
1075
1189
|
error: {
|
|
1076
|
-
code: "
|
|
1190
|
+
code: "member_not_found";
|
|
1077
1191
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1078
1192
|
message: string;
|
|
1079
1193
|
};
|
|
1080
1194
|
requestId: string;
|
|
1081
1195
|
};
|
|
1082
1196
|
outputFormat: "json";
|
|
1083
|
-
status:
|
|
1197
|
+
status: 404;
|
|
1084
1198
|
input: {
|
|
1085
1199
|
param: {
|
|
1086
1200
|
orgId: string;
|
|
@@ -1107,14 +1221,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1107
1221
|
} | {
|
|
1108
1222
|
output: {
|
|
1109
1223
|
error: {
|
|
1110
|
-
code: "
|
|
1224
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1111
1225
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1112
1226
|
message: string;
|
|
1113
1227
|
};
|
|
1114
1228
|
requestId: string;
|
|
1115
1229
|
};
|
|
1116
1230
|
outputFormat: "json";
|
|
1117
|
-
status:
|
|
1231
|
+
status: 429;
|
|
1118
1232
|
input: {
|
|
1119
1233
|
param: {
|
|
1120
1234
|
orgId: string;
|
|
@@ -1123,10 +1237,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1123
1237
|
};
|
|
1124
1238
|
} | {
|
|
1125
1239
|
output: {
|
|
1126
|
-
|
|
1240
|
+
error: {
|
|
1241
|
+
code: "upstream_error";
|
|
1242
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1243
|
+
message: string;
|
|
1244
|
+
};
|
|
1245
|
+
requestId: string;
|
|
1127
1246
|
};
|
|
1128
1247
|
outputFormat: "json";
|
|
1129
|
-
status:
|
|
1248
|
+
status: 502;
|
|
1130
1249
|
input: {
|
|
1131
1250
|
param: {
|
|
1132
1251
|
orgId: string;
|
|
@@ -1138,16 +1257,44 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1138
1257
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
1139
1258
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys": {
|
|
1140
1259
|
$post: {
|
|
1260
|
+
output: {
|
|
1261
|
+
createdAt: string;
|
|
1262
|
+
createdBy?: string | undefined;
|
|
1263
|
+
environment: "production" | "sandbox";
|
|
1264
|
+
expiresAt?: string | undefined;
|
|
1265
|
+
id: string;
|
|
1266
|
+
name?: string | undefined;
|
|
1267
|
+
orgId: string;
|
|
1268
|
+
projectId?: string | undefined;
|
|
1269
|
+
scopes: string[];
|
|
1270
|
+
tokenLast4: string;
|
|
1271
|
+
token: string;
|
|
1272
|
+
};
|
|
1273
|
+
outputFormat: "json";
|
|
1274
|
+
status: 200;
|
|
1275
|
+
input: {
|
|
1276
|
+
param: {
|
|
1277
|
+
orgId: string;
|
|
1278
|
+
projectId: string;
|
|
1279
|
+
};
|
|
1280
|
+
} & {
|
|
1281
|
+
json: {
|
|
1282
|
+
environment?: "production" | "sandbox" | undefined;
|
|
1283
|
+
name?: string | undefined;
|
|
1284
|
+
scopes?: string[] | undefined;
|
|
1285
|
+
};
|
|
1286
|
+
};
|
|
1287
|
+
} | {
|
|
1141
1288
|
output: {
|
|
1142
1289
|
error: {
|
|
1143
|
-
code: "
|
|
1290
|
+
code: "api_key_malformed";
|
|
1144
1291
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1145
1292
|
message: string;
|
|
1146
1293
|
};
|
|
1147
1294
|
requestId: string;
|
|
1148
1295
|
};
|
|
1149
1296
|
outputFormat: "json";
|
|
1150
|
-
status:
|
|
1297
|
+
status: 400;
|
|
1151
1298
|
input: {
|
|
1152
1299
|
param: {
|
|
1153
1300
|
orgId: string;
|
|
@@ -1157,13 +1304,13 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1157
1304
|
json: {
|
|
1158
1305
|
environment?: "production" | "sandbox" | undefined;
|
|
1159
1306
|
name?: string | undefined;
|
|
1160
|
-
scopes?:
|
|
1307
|
+
scopes?: string[] | undefined;
|
|
1161
1308
|
};
|
|
1162
1309
|
};
|
|
1163
1310
|
} | {
|
|
1164
1311
|
output: {
|
|
1165
1312
|
error: {
|
|
1166
|
-
code: "
|
|
1313
|
+
code: "body_invalid";
|
|
1167
1314
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1168
1315
|
message: string;
|
|
1169
1316
|
};
|
|
@@ -1180,20 +1327,20 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1180
1327
|
json: {
|
|
1181
1328
|
environment?: "production" | "sandbox" | undefined;
|
|
1182
1329
|
name?: string | undefined;
|
|
1183
|
-
scopes?:
|
|
1330
|
+
scopes?: string[] | undefined;
|
|
1184
1331
|
};
|
|
1185
1332
|
};
|
|
1186
1333
|
} | {
|
|
1187
1334
|
output: {
|
|
1188
1335
|
error: {
|
|
1189
|
-
code: "
|
|
1336
|
+
code: "param_invalid";
|
|
1190
1337
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1191
1338
|
message: string;
|
|
1192
1339
|
};
|
|
1193
1340
|
requestId: string;
|
|
1194
1341
|
};
|
|
1195
1342
|
outputFormat: "json";
|
|
1196
|
-
status:
|
|
1343
|
+
status: 400;
|
|
1197
1344
|
input: {
|
|
1198
1345
|
param: {
|
|
1199
1346
|
orgId: string;
|
|
@@ -1203,20 +1350,20 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1203
1350
|
json: {
|
|
1204
1351
|
environment?: "production" | "sandbox" | undefined;
|
|
1205
1352
|
name?: string | undefined;
|
|
1206
|
-
scopes?:
|
|
1353
|
+
scopes?: string[] | undefined;
|
|
1207
1354
|
};
|
|
1208
1355
|
};
|
|
1209
1356
|
} | {
|
|
1210
1357
|
output: {
|
|
1211
1358
|
error: {
|
|
1212
|
-
code: "
|
|
1359
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1213
1360
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1214
1361
|
message: string;
|
|
1215
1362
|
};
|
|
1216
1363
|
requestId: string;
|
|
1217
1364
|
};
|
|
1218
1365
|
outputFormat: "json";
|
|
1219
|
-
status:
|
|
1366
|
+
status: 401;
|
|
1220
1367
|
input: {
|
|
1221
1368
|
param: {
|
|
1222
1369
|
orgId: string;
|
|
@@ -1226,20 +1373,20 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1226
1373
|
json: {
|
|
1227
1374
|
environment?: "production" | "sandbox" | undefined;
|
|
1228
1375
|
name?: string | undefined;
|
|
1229
|
-
scopes?:
|
|
1376
|
+
scopes?: string[] | undefined;
|
|
1230
1377
|
};
|
|
1231
1378
|
};
|
|
1232
1379
|
} | {
|
|
1233
1380
|
output: {
|
|
1234
1381
|
error: {
|
|
1235
|
-
code: "
|
|
1382
|
+
code: "forbidden";
|
|
1236
1383
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1237
1384
|
message: string;
|
|
1238
1385
|
};
|
|
1239
1386
|
requestId: string;
|
|
1240
1387
|
};
|
|
1241
1388
|
outputFormat: "json";
|
|
1242
|
-
status:
|
|
1389
|
+
status: 403;
|
|
1243
1390
|
input: {
|
|
1244
1391
|
param: {
|
|
1245
1392
|
orgId: string;
|
|
@@ -1249,20 +1396,20 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1249
1396
|
json: {
|
|
1250
1397
|
environment?: "production" | "sandbox" | undefined;
|
|
1251
1398
|
name?: string | undefined;
|
|
1252
|
-
scopes?:
|
|
1399
|
+
scopes?: string[] | undefined;
|
|
1253
1400
|
};
|
|
1254
1401
|
};
|
|
1255
1402
|
} | {
|
|
1256
1403
|
output: {
|
|
1257
1404
|
error: {
|
|
1258
|
-
code: "
|
|
1405
|
+
code: "scope_not_issuable";
|
|
1259
1406
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1260
1407
|
message: string;
|
|
1261
1408
|
};
|
|
1262
1409
|
requestId: string;
|
|
1263
1410
|
};
|
|
1264
1411
|
outputFormat: "json";
|
|
1265
|
-
status:
|
|
1412
|
+
status: 403;
|
|
1266
1413
|
input: {
|
|
1267
1414
|
param: {
|
|
1268
1415
|
orgId: string;
|
|
@@ -1272,7 +1419,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1272
1419
|
json: {
|
|
1273
1420
|
environment?: "production" | "sandbox" | undefined;
|
|
1274
1421
|
name?: string | undefined;
|
|
1275
|
-
scopes?:
|
|
1422
|
+
scopes?: string[] | undefined;
|
|
1276
1423
|
};
|
|
1277
1424
|
};
|
|
1278
1425
|
} | {
|
|
@@ -1295,7 +1442,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1295
1442
|
json: {
|
|
1296
1443
|
environment?: "production" | "sandbox" | undefined;
|
|
1297
1444
|
name?: string | undefined;
|
|
1298
|
-
scopes?:
|
|
1445
|
+
scopes?: string[] | undefined;
|
|
1299
1446
|
};
|
|
1300
1447
|
};
|
|
1301
1448
|
} | {
|
|
@@ -1318,20 +1465,20 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1318
1465
|
json: {
|
|
1319
1466
|
environment?: "production" | "sandbox" | undefined;
|
|
1320
1467
|
name?: string | undefined;
|
|
1321
|
-
scopes?:
|
|
1468
|
+
scopes?: string[] | undefined;
|
|
1322
1469
|
};
|
|
1323
1470
|
};
|
|
1324
1471
|
} | {
|
|
1325
1472
|
output: {
|
|
1326
1473
|
error: {
|
|
1327
|
-
code: "
|
|
1474
|
+
code: "upstream_error";
|
|
1328
1475
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1329
1476
|
message: string;
|
|
1330
1477
|
};
|
|
1331
1478
|
requestId: string;
|
|
1332
1479
|
};
|
|
1333
1480
|
outputFormat: "json";
|
|
1334
|
-
status:
|
|
1481
|
+
status: 502;
|
|
1335
1482
|
input: {
|
|
1336
1483
|
param: {
|
|
1337
1484
|
orgId: string;
|
|
@@ -1341,52 +1488,72 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1341
1488
|
json: {
|
|
1342
1489
|
environment?: "production" | "sandbox" | undefined;
|
|
1343
1490
|
name?: string | undefined;
|
|
1344
|
-
scopes?:
|
|
1491
|
+
scopes?: string[] | undefined;
|
|
1492
|
+
};
|
|
1493
|
+
};
|
|
1494
|
+
};
|
|
1495
|
+
};
|
|
1496
|
+
} & {
|
|
1497
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys": {
|
|
1498
|
+
$get: {
|
|
1499
|
+
output: {
|
|
1500
|
+
data: {
|
|
1501
|
+
createdAt: string;
|
|
1502
|
+
createdBy?: string | undefined;
|
|
1503
|
+
environment: "production" | "sandbox";
|
|
1504
|
+
expiresAt?: string | undefined;
|
|
1505
|
+
id: string;
|
|
1506
|
+
name?: string | undefined;
|
|
1507
|
+
orgId: string;
|
|
1508
|
+
projectId?: string | undefined;
|
|
1509
|
+
scopes: string[];
|
|
1510
|
+
tokenLast4: string;
|
|
1511
|
+
}[];
|
|
1512
|
+
};
|
|
1513
|
+
outputFormat: "json";
|
|
1514
|
+
status: 200;
|
|
1515
|
+
input: {
|
|
1516
|
+
param: {
|
|
1517
|
+
orgId: string;
|
|
1518
|
+
projectId: string;
|
|
1519
|
+
};
|
|
1520
|
+
} & {
|
|
1521
|
+
query?: {
|
|
1522
|
+
environment?: string | string[];
|
|
1523
|
+
} | undefined;
|
|
1524
|
+
};
|
|
1525
|
+
} | {
|
|
1526
|
+
output: {
|
|
1527
|
+
error: {
|
|
1528
|
+
code: "api_key_malformed";
|
|
1529
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1530
|
+
message: string;
|
|
1345
1531
|
};
|
|
1346
|
-
|
|
1347
|
-
} | {
|
|
1348
|
-
output: {
|
|
1349
|
-
createdAt: string;
|
|
1350
|
-
createdBy?: string | undefined;
|
|
1351
|
-
environment: "production" | "sandbox";
|
|
1352
|
-
expiresAt?: string | undefined;
|
|
1353
|
-
id: string;
|
|
1354
|
-
name?: string | undefined;
|
|
1355
|
-
orgId: string;
|
|
1356
|
-
projectId?: string | undefined;
|
|
1357
|
-
scopes: ("*" | "data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[];
|
|
1358
|
-
tokenLast4: string;
|
|
1359
|
-
token: string;
|
|
1532
|
+
requestId: string;
|
|
1360
1533
|
};
|
|
1361
1534
|
outputFormat: "json";
|
|
1362
|
-
status:
|
|
1535
|
+
status: 400;
|
|
1363
1536
|
input: {
|
|
1364
1537
|
param: {
|
|
1365
1538
|
orgId: string;
|
|
1366
1539
|
projectId: string;
|
|
1367
1540
|
};
|
|
1368
1541
|
} & {
|
|
1369
|
-
|
|
1370
|
-
environment?:
|
|
1371
|
-
|
|
1372
|
-
scopes?: ("data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[] | undefined;
|
|
1373
|
-
};
|
|
1542
|
+
query?: {
|
|
1543
|
+
environment?: string | string[];
|
|
1544
|
+
} | undefined;
|
|
1374
1545
|
};
|
|
1375
|
-
}
|
|
1376
|
-
};
|
|
1377
|
-
} & {
|
|
1378
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys": {
|
|
1379
|
-
$get: {
|
|
1546
|
+
} | {
|
|
1380
1547
|
output: {
|
|
1381
1548
|
error: {
|
|
1382
|
-
code: "
|
|
1549
|
+
code: "query_invalid";
|
|
1383
1550
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1384
1551
|
message: string;
|
|
1385
1552
|
};
|
|
1386
1553
|
requestId: string;
|
|
1387
1554
|
};
|
|
1388
1555
|
outputFormat: "json";
|
|
1389
|
-
status:
|
|
1556
|
+
status: 400;
|
|
1390
1557
|
input: {
|
|
1391
1558
|
param: {
|
|
1392
1559
|
orgId: string;
|
|
@@ -1400,7 +1567,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1400
1567
|
} | {
|
|
1401
1568
|
output: {
|
|
1402
1569
|
error: {
|
|
1403
|
-
code: "
|
|
1570
|
+
code: "param_invalid";
|
|
1404
1571
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1405
1572
|
message: string;
|
|
1406
1573
|
};
|
|
@@ -1442,14 +1609,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1442
1609
|
} | {
|
|
1443
1610
|
output: {
|
|
1444
1611
|
error: {
|
|
1445
|
-
code: "
|
|
1612
|
+
code: "api_key_forbidden";
|
|
1446
1613
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1447
1614
|
message: string;
|
|
1448
1615
|
};
|
|
1449
1616
|
requestId: string;
|
|
1450
1617
|
};
|
|
1451
1618
|
outputFormat: "json";
|
|
1452
|
-
status:
|
|
1619
|
+
status: 403;
|
|
1453
1620
|
input: {
|
|
1454
1621
|
param: {
|
|
1455
1622
|
orgId: string;
|
|
@@ -1463,14 +1630,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1463
1630
|
} | {
|
|
1464
1631
|
output: {
|
|
1465
1632
|
error: {
|
|
1466
|
-
code: "
|
|
1633
|
+
code: "organization_not_found" | "project_not_found";
|
|
1467
1634
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1468
1635
|
message: string;
|
|
1469
1636
|
};
|
|
1470
1637
|
requestId: string;
|
|
1471
1638
|
};
|
|
1472
1639
|
outputFormat: "json";
|
|
1473
|
-
status:
|
|
1640
|
+
status: 404;
|
|
1474
1641
|
input: {
|
|
1475
1642
|
param: {
|
|
1476
1643
|
orgId: string;
|
|
@@ -1484,14 +1651,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1484
1651
|
} | {
|
|
1485
1652
|
output: {
|
|
1486
1653
|
error: {
|
|
1487
|
-
code: "
|
|
1654
|
+
code: "api_keys_not_enabled";
|
|
1488
1655
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1489
1656
|
message: string;
|
|
1490
1657
|
};
|
|
1491
1658
|
requestId: string;
|
|
1492
1659
|
};
|
|
1493
1660
|
outputFormat: "json";
|
|
1494
|
-
status:
|
|
1661
|
+
status: 404;
|
|
1495
1662
|
input: {
|
|
1496
1663
|
param: {
|
|
1497
1664
|
orgId: string;
|
|
@@ -1505,14 +1672,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1505
1672
|
} | {
|
|
1506
1673
|
output: {
|
|
1507
1674
|
error: {
|
|
1508
|
-
code: "
|
|
1675
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1509
1676
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1510
1677
|
message: string;
|
|
1511
1678
|
};
|
|
1512
1679
|
requestId: string;
|
|
1513
1680
|
};
|
|
1514
1681
|
outputFormat: "json";
|
|
1515
|
-
status:
|
|
1682
|
+
status: 429;
|
|
1516
1683
|
input: {
|
|
1517
1684
|
param: {
|
|
1518
1685
|
orgId: string;
|
|
@@ -1526,14 +1693,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1526
1693
|
} | {
|
|
1527
1694
|
output: {
|
|
1528
1695
|
error: {
|
|
1529
|
-
code: "
|
|
1696
|
+
code: "upstream_error";
|
|
1530
1697
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1531
1698
|
message: string;
|
|
1532
1699
|
};
|
|
1533
1700
|
requestId: string;
|
|
1534
1701
|
};
|
|
1535
1702
|
outputFormat: "json";
|
|
1536
|
-
status:
|
|
1703
|
+
status: 502;
|
|
1537
1704
|
input: {
|
|
1538
1705
|
param: {
|
|
1539
1706
|
orgId: string;
|
|
@@ -1544,7 +1711,11 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1544
1711
|
environment?: string | string[];
|
|
1545
1712
|
} | undefined;
|
|
1546
1713
|
};
|
|
1547
|
-
}
|
|
1714
|
+
};
|
|
1715
|
+
};
|
|
1716
|
+
} & {
|
|
1717
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys": {
|
|
1718
|
+
$get: {
|
|
1548
1719
|
output: {
|
|
1549
1720
|
data: {
|
|
1550
1721
|
createdAt: string;
|
|
@@ -1555,7 +1726,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1555
1726
|
name?: string | undefined;
|
|
1556
1727
|
orgId: string;
|
|
1557
1728
|
projectId?: string | undefined;
|
|
1558
|
-
scopes:
|
|
1729
|
+
scopes: string[];
|
|
1559
1730
|
tokenLast4: string;
|
|
1560
1731
|
}[];
|
|
1561
1732
|
};
|
|
@@ -1564,28 +1735,23 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1564
1735
|
input: {
|
|
1565
1736
|
param: {
|
|
1566
1737
|
orgId: string;
|
|
1567
|
-
projectId: string;
|
|
1568
1738
|
};
|
|
1569
1739
|
} & {
|
|
1570
1740
|
query?: {
|
|
1571
1741
|
environment?: string | string[];
|
|
1572
1742
|
} | undefined;
|
|
1573
1743
|
};
|
|
1574
|
-
}
|
|
1575
|
-
};
|
|
1576
|
-
} & {
|
|
1577
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/api-keys": {
|
|
1578
|
-
$get: {
|
|
1744
|
+
} | {
|
|
1579
1745
|
output: {
|
|
1580
1746
|
error: {
|
|
1581
|
-
code: "
|
|
1747
|
+
code: "api_key_malformed";
|
|
1582
1748
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1583
1749
|
message: string;
|
|
1584
1750
|
};
|
|
1585
1751
|
requestId: string;
|
|
1586
1752
|
};
|
|
1587
1753
|
outputFormat: "json";
|
|
1588
|
-
status:
|
|
1754
|
+
status: 400;
|
|
1589
1755
|
input: {
|
|
1590
1756
|
param: {
|
|
1591
1757
|
orgId: string;
|
|
@@ -1598,7 +1764,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1598
1764
|
} | {
|
|
1599
1765
|
output: {
|
|
1600
1766
|
error: {
|
|
1601
|
-
code: "
|
|
1767
|
+
code: "query_invalid";
|
|
1602
1768
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1603
1769
|
message: string;
|
|
1604
1770
|
};
|
|
@@ -1618,14 +1784,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1618
1784
|
} | {
|
|
1619
1785
|
output: {
|
|
1620
1786
|
error: {
|
|
1621
|
-
code: "
|
|
1787
|
+
code: "param_invalid";
|
|
1622
1788
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1623
1789
|
message: string;
|
|
1624
1790
|
};
|
|
1625
1791
|
requestId: string;
|
|
1626
1792
|
};
|
|
1627
1793
|
outputFormat: "json";
|
|
1628
|
-
status:
|
|
1794
|
+
status: 400;
|
|
1629
1795
|
input: {
|
|
1630
1796
|
param: {
|
|
1631
1797
|
orgId: string;
|
|
@@ -1638,14 +1804,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1638
1804
|
} | {
|
|
1639
1805
|
output: {
|
|
1640
1806
|
error: {
|
|
1641
|
-
code: "
|
|
1807
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1642
1808
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1643
1809
|
message: string;
|
|
1644
1810
|
};
|
|
1645
1811
|
requestId: string;
|
|
1646
1812
|
};
|
|
1647
1813
|
outputFormat: "json";
|
|
1648
|
-
status:
|
|
1814
|
+
status: 401;
|
|
1649
1815
|
input: {
|
|
1650
1816
|
param: {
|
|
1651
1817
|
orgId: string;
|
|
@@ -1658,7 +1824,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1658
1824
|
} | {
|
|
1659
1825
|
output: {
|
|
1660
1826
|
error: {
|
|
1661
|
-
code: "
|
|
1827
|
+
code: "api_key_forbidden";
|
|
1662
1828
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1663
1829
|
message: string;
|
|
1664
1830
|
};
|
|
@@ -1698,14 +1864,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1698
1864
|
} | {
|
|
1699
1865
|
output: {
|
|
1700
1866
|
error: {
|
|
1701
|
-
code: "
|
|
1867
|
+
code: "api_keys_not_enabled";
|
|
1702
1868
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1703
1869
|
message: string;
|
|
1704
1870
|
};
|
|
1705
1871
|
requestId: string;
|
|
1706
1872
|
};
|
|
1707
1873
|
outputFormat: "json";
|
|
1708
|
-
status:
|
|
1874
|
+
status: 404;
|
|
1709
1875
|
input: {
|
|
1710
1876
|
param: {
|
|
1711
1877
|
orgId: string;
|
|
@@ -1718,14 +1884,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1718
1884
|
} | {
|
|
1719
1885
|
output: {
|
|
1720
1886
|
error: {
|
|
1721
|
-
code: "
|
|
1887
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1722
1888
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1723
1889
|
message: string;
|
|
1724
1890
|
};
|
|
1725
1891
|
requestId: string;
|
|
1726
1892
|
};
|
|
1727
1893
|
outputFormat: "json";
|
|
1728
|
-
status:
|
|
1894
|
+
status: 429;
|
|
1729
1895
|
input: {
|
|
1730
1896
|
param: {
|
|
1731
1897
|
orgId: string;
|
|
@@ -1737,21 +1903,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1737
1903
|
};
|
|
1738
1904
|
} | {
|
|
1739
1905
|
output: {
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
name?: string | undefined;
|
|
1747
|
-
orgId: string;
|
|
1748
|
-
projectId?: string | undefined;
|
|
1749
|
-
scopes: ("*" | "data:read" | "indexer:query" | "rpc-relay:read" | "rpc-relay:sponsor" | "webhooks:read" | "webhooks:write")[];
|
|
1750
|
-
tokenLast4: string;
|
|
1751
|
-
}[];
|
|
1906
|
+
error: {
|
|
1907
|
+
code: "upstream_error";
|
|
1908
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1909
|
+
message: string;
|
|
1910
|
+
};
|
|
1911
|
+
requestId: string;
|
|
1752
1912
|
};
|
|
1753
1913
|
outputFormat: "json";
|
|
1754
|
-
status:
|
|
1914
|
+
status: 502;
|
|
1755
1915
|
input: {
|
|
1756
1916
|
param: {
|
|
1757
1917
|
orgId: string;
|
|
@@ -1766,16 +1926,29 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1766
1926
|
} & {
|
|
1767
1927
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}/api-keys/:keyId{key_[A-Za-z0-9_-]+}": {
|
|
1768
1928
|
$delete: {
|
|
1929
|
+
output: {
|
|
1930
|
+
id: string;
|
|
1931
|
+
};
|
|
1932
|
+
outputFormat: "json";
|
|
1933
|
+
status: 200;
|
|
1934
|
+
input: {
|
|
1935
|
+
param: {
|
|
1936
|
+
keyId: string;
|
|
1937
|
+
orgId: string;
|
|
1938
|
+
projectId: string;
|
|
1939
|
+
};
|
|
1940
|
+
};
|
|
1941
|
+
} | {
|
|
1769
1942
|
output: {
|
|
1770
1943
|
error: {
|
|
1771
|
-
code: "
|
|
1944
|
+
code: "api_key_malformed";
|
|
1772
1945
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1773
1946
|
message: string;
|
|
1774
1947
|
};
|
|
1775
1948
|
requestId: string;
|
|
1776
1949
|
};
|
|
1777
1950
|
outputFormat: "json";
|
|
1778
|
-
status:
|
|
1951
|
+
status: 400;
|
|
1779
1952
|
input: {
|
|
1780
1953
|
param: {
|
|
1781
1954
|
keyId: string;
|
|
@@ -1786,7 +1959,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1786
1959
|
} | {
|
|
1787
1960
|
output: {
|
|
1788
1961
|
error: {
|
|
1789
|
-
code: "
|
|
1962
|
+
code: "param_invalid";
|
|
1790
1963
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1791
1964
|
message: string;
|
|
1792
1965
|
};
|
|
@@ -1822,7 +1995,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1822
1995
|
} | {
|
|
1823
1996
|
output: {
|
|
1824
1997
|
error: {
|
|
1825
|
-
code: "
|
|
1998
|
+
code: "api_key_forbidden";
|
|
1826
1999
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1827
2000
|
message: string;
|
|
1828
2001
|
};
|
|
@@ -1840,14 +2013,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1840
2013
|
} | {
|
|
1841
2014
|
output: {
|
|
1842
2015
|
error: {
|
|
1843
|
-
code: "
|
|
2016
|
+
code: "organization_not_found" | "project_not_found";
|
|
1844
2017
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1845
2018
|
message: string;
|
|
1846
2019
|
};
|
|
1847
2020
|
requestId: string;
|
|
1848
2021
|
};
|
|
1849
2022
|
outputFormat: "json";
|
|
1850
|
-
status:
|
|
2023
|
+
status: 404;
|
|
1851
2024
|
input: {
|
|
1852
2025
|
param: {
|
|
1853
2026
|
keyId: string;
|
|
@@ -1858,7 +2031,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1858
2031
|
} | {
|
|
1859
2032
|
output: {
|
|
1860
2033
|
error: {
|
|
1861
|
-
code: "
|
|
2034
|
+
code: "api_keys_not_enabled";
|
|
1862
2035
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1863
2036
|
message: string;
|
|
1864
2037
|
};
|
|
@@ -1876,7 +2049,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1876
2049
|
} | {
|
|
1877
2050
|
output: {
|
|
1878
2051
|
error: {
|
|
1879
|
-
code: "
|
|
2052
|
+
code: "api_key_not_found";
|
|
1880
2053
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1881
2054
|
message: string;
|
|
1882
2055
|
};
|
|
@@ -1894,14 +2067,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1894
2067
|
} | {
|
|
1895
2068
|
output: {
|
|
1896
2069
|
error: {
|
|
1897
|
-
code: "
|
|
2070
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
1898
2071
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1899
2072
|
message: string;
|
|
1900
2073
|
};
|
|
1901
2074
|
requestId: string;
|
|
1902
2075
|
};
|
|
1903
2076
|
outputFormat: "json";
|
|
1904
|
-
status:
|
|
2077
|
+
status: 429;
|
|
1905
2078
|
input: {
|
|
1906
2079
|
param: {
|
|
1907
2080
|
keyId: string;
|
|
@@ -1911,10 +2084,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1911
2084
|
};
|
|
1912
2085
|
} | {
|
|
1913
2086
|
output: {
|
|
1914
|
-
|
|
2087
|
+
error: {
|
|
2088
|
+
code: "upstream_error";
|
|
2089
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2090
|
+
message: string;
|
|
2091
|
+
};
|
|
2092
|
+
requestId: string;
|
|
1915
2093
|
};
|
|
1916
2094
|
outputFormat: "json";
|
|
1917
|
-
status:
|
|
2095
|
+
status: 502;
|
|
1918
2096
|
input: {
|
|
1919
2097
|
param: {
|
|
1920
2098
|
keyId: string;
|
|
@@ -1928,15 +2106,16 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1928
2106
|
"/v1/orgs": {
|
|
1929
2107
|
$get: {
|
|
1930
2108
|
output: {
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
2109
|
+
data: {
|
|
2110
|
+
createdAt: string;
|
|
2111
|
+
id: string;
|
|
2112
|
+
name: string;
|
|
2113
|
+
role?: "admin" | "member" | "owner" | undefined;
|
|
2114
|
+
updatedAt: string;
|
|
2115
|
+
}[];
|
|
1937
2116
|
};
|
|
1938
2117
|
outputFormat: "json";
|
|
1939
|
-
status:
|
|
2118
|
+
status: 200;
|
|
1940
2119
|
input: {};
|
|
1941
2120
|
} | {
|
|
1942
2121
|
output: {
|
|
@@ -1965,7 +2144,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1965
2144
|
} | {
|
|
1966
2145
|
output: {
|
|
1967
2146
|
error: {
|
|
1968
|
-
code: "
|
|
2147
|
+
code: "api_key_forbidden";
|
|
1969
2148
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1970
2149
|
message: string;
|
|
1971
2150
|
};
|
|
@@ -1976,32 +2155,58 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
1976
2155
|
input: {};
|
|
1977
2156
|
} | {
|
|
1978
2157
|
output: {
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
}[];
|
|
2158
|
+
error: {
|
|
2159
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2160
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2161
|
+
message: string;
|
|
2162
|
+
};
|
|
2163
|
+
requestId: string;
|
|
1986
2164
|
};
|
|
1987
2165
|
outputFormat: "json";
|
|
1988
|
-
status:
|
|
2166
|
+
status: 429;
|
|
2167
|
+
input: {};
|
|
2168
|
+
} | {
|
|
2169
|
+
output: {
|
|
2170
|
+
error: {
|
|
2171
|
+
code: "upstream_error";
|
|
2172
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2173
|
+
message: string;
|
|
2174
|
+
};
|
|
2175
|
+
requestId: string;
|
|
2176
|
+
};
|
|
2177
|
+
outputFormat: "json";
|
|
2178
|
+
status: 502;
|
|
1989
2179
|
input: {};
|
|
1990
2180
|
};
|
|
1991
2181
|
};
|
|
1992
2182
|
} & {
|
|
1993
2183
|
"/v1/orgs": {
|
|
1994
2184
|
$post: {
|
|
2185
|
+
output: {
|
|
2186
|
+
createdAt: string;
|
|
2187
|
+
id: string;
|
|
2188
|
+
name: string;
|
|
2189
|
+
role?: "admin" | "member" | "owner" | undefined;
|
|
2190
|
+
updatedAt: string;
|
|
2191
|
+
};
|
|
2192
|
+
outputFormat: "json";
|
|
2193
|
+
status: 200;
|
|
2194
|
+
input: {
|
|
2195
|
+
json: {
|
|
2196
|
+
name: string;
|
|
2197
|
+
};
|
|
2198
|
+
};
|
|
2199
|
+
} | {
|
|
1995
2200
|
output: {
|
|
1996
2201
|
error: {
|
|
1997
|
-
code: "
|
|
2202
|
+
code: "api_key_malformed";
|
|
1998
2203
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
1999
2204
|
message: string;
|
|
2000
2205
|
};
|
|
2001
2206
|
requestId: string;
|
|
2002
2207
|
};
|
|
2003
2208
|
outputFormat: "json";
|
|
2004
|
-
status:
|
|
2209
|
+
status: 400;
|
|
2005
2210
|
input: {
|
|
2006
2211
|
json: {
|
|
2007
2212
|
name: string;
|
|
@@ -2010,7 +2215,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2010
2215
|
} | {
|
|
2011
2216
|
output: {
|
|
2012
2217
|
error: {
|
|
2013
|
-
code: "
|
|
2218
|
+
code: "body_invalid";
|
|
2014
2219
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2015
2220
|
message: string;
|
|
2016
2221
|
};
|
|
@@ -2058,20 +2263,24 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2058
2263
|
} | {
|
|
2059
2264
|
output: {
|
|
2060
2265
|
error: {
|
|
2061
|
-
code: "
|
|
2266
|
+
code: "upstream_error";
|
|
2062
2267
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2063
2268
|
message: string;
|
|
2064
2269
|
};
|
|
2065
2270
|
requestId: string;
|
|
2066
2271
|
};
|
|
2067
2272
|
outputFormat: "json";
|
|
2068
|
-
status:
|
|
2273
|
+
status: 502;
|
|
2069
2274
|
input: {
|
|
2070
2275
|
json: {
|
|
2071
2276
|
name: string;
|
|
2072
2277
|
};
|
|
2073
2278
|
};
|
|
2074
|
-
}
|
|
2279
|
+
};
|
|
2280
|
+
};
|
|
2281
|
+
} & {
|
|
2282
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}": {
|
|
2283
|
+
$get: {
|
|
2075
2284
|
output: {
|
|
2076
2285
|
createdAt: string;
|
|
2077
2286
|
id: string;
|
|
@@ -2082,15 +2291,11 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2082
2291
|
outputFormat: "json";
|
|
2083
2292
|
status: 200;
|
|
2084
2293
|
input: {
|
|
2085
|
-
|
|
2086
|
-
|
|
2294
|
+
param: {
|
|
2295
|
+
orgId: string;
|
|
2087
2296
|
};
|
|
2088
2297
|
};
|
|
2089
|
-
}
|
|
2090
|
-
};
|
|
2091
|
-
} & {
|
|
2092
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}": {
|
|
2093
|
-
$get: {
|
|
2298
|
+
} | {
|
|
2094
2299
|
output: {
|
|
2095
2300
|
error: {
|
|
2096
2301
|
code: "api_key_malformed";
|
|
@@ -2106,6 +2311,22 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2106
2311
|
orgId: string;
|
|
2107
2312
|
};
|
|
2108
2313
|
};
|
|
2314
|
+
} | {
|
|
2315
|
+
output: {
|
|
2316
|
+
error: {
|
|
2317
|
+
code: "param_invalid";
|
|
2318
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2319
|
+
message: string;
|
|
2320
|
+
};
|
|
2321
|
+
requestId: string;
|
|
2322
|
+
};
|
|
2323
|
+
outputFormat: "json";
|
|
2324
|
+
status: 400;
|
|
2325
|
+
input: {
|
|
2326
|
+
param: {
|
|
2327
|
+
orgId: string;
|
|
2328
|
+
};
|
|
2329
|
+
};
|
|
2109
2330
|
} | {
|
|
2110
2331
|
output: {
|
|
2111
2332
|
error: {
|
|
@@ -2125,7 +2346,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2125
2346
|
} | {
|
|
2126
2347
|
output: {
|
|
2127
2348
|
error: {
|
|
2128
|
-
code: "
|
|
2349
|
+
code: "api_key_forbidden";
|
|
2129
2350
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2130
2351
|
message: string;
|
|
2131
2352
|
};
|
|
@@ -2157,20 +2378,24 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2157
2378
|
} | {
|
|
2158
2379
|
output: {
|
|
2159
2380
|
error: {
|
|
2160
|
-
code: "
|
|
2381
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2161
2382
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2162
2383
|
message: string;
|
|
2163
2384
|
};
|
|
2164
2385
|
requestId: string;
|
|
2165
2386
|
};
|
|
2166
2387
|
outputFormat: "json";
|
|
2167
|
-
status:
|
|
2388
|
+
status: 429;
|
|
2168
2389
|
input: {
|
|
2169
2390
|
param: {
|
|
2170
2391
|
orgId: string;
|
|
2171
2392
|
};
|
|
2172
2393
|
};
|
|
2173
|
-
}
|
|
2394
|
+
};
|
|
2395
|
+
};
|
|
2396
|
+
} & {
|
|
2397
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}": {
|
|
2398
|
+
$patch: {
|
|
2174
2399
|
output: {
|
|
2175
2400
|
createdAt: string;
|
|
2176
2401
|
id: string;
|
|
@@ -2184,22 +2409,22 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2184
2409
|
param: {
|
|
2185
2410
|
orgId: string;
|
|
2186
2411
|
};
|
|
2412
|
+
} & {
|
|
2413
|
+
json: {
|
|
2414
|
+
name: string;
|
|
2415
|
+
};
|
|
2187
2416
|
};
|
|
2188
|
-
}
|
|
2189
|
-
};
|
|
2190
|
-
} & {
|
|
2191
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}": {
|
|
2192
|
-
$patch: {
|
|
2417
|
+
} | {
|
|
2193
2418
|
output: {
|
|
2194
2419
|
error: {
|
|
2195
|
-
code: "
|
|
2420
|
+
code: "api_key_malformed";
|
|
2196
2421
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2197
2422
|
message: string;
|
|
2198
2423
|
};
|
|
2199
2424
|
requestId: string;
|
|
2200
2425
|
};
|
|
2201
2426
|
outputFormat: "json";
|
|
2202
|
-
status:
|
|
2427
|
+
status: 400;
|
|
2203
2428
|
input: {
|
|
2204
2429
|
param: {
|
|
2205
2430
|
orgId: string;
|
|
@@ -2212,7 +2437,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2212
2437
|
} | {
|
|
2213
2438
|
output: {
|
|
2214
2439
|
error: {
|
|
2215
|
-
code: "
|
|
2440
|
+
code: "body_invalid";
|
|
2216
2441
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2217
2442
|
message: string;
|
|
2218
2443
|
};
|
|
@@ -2232,14 +2457,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2232
2457
|
} | {
|
|
2233
2458
|
output: {
|
|
2234
2459
|
error: {
|
|
2235
|
-
code: "
|
|
2460
|
+
code: "param_invalid";
|
|
2236
2461
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2237
2462
|
message: string;
|
|
2238
2463
|
};
|
|
2239
2464
|
requestId: string;
|
|
2240
2465
|
};
|
|
2241
2466
|
outputFormat: "json";
|
|
2242
|
-
status:
|
|
2467
|
+
status: 400;
|
|
2243
2468
|
input: {
|
|
2244
2469
|
param: {
|
|
2245
2470
|
orgId: string;
|
|
@@ -2252,14 +2477,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2252
2477
|
} | {
|
|
2253
2478
|
output: {
|
|
2254
2479
|
error: {
|
|
2255
|
-
code: "
|
|
2480
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2256
2481
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2257
2482
|
message: string;
|
|
2258
2483
|
};
|
|
2259
2484
|
requestId: string;
|
|
2260
2485
|
};
|
|
2261
2486
|
outputFormat: "json";
|
|
2262
|
-
status:
|
|
2487
|
+
status: 401;
|
|
2263
2488
|
input: {
|
|
2264
2489
|
param: {
|
|
2265
2490
|
orgId: string;
|
|
@@ -2272,14 +2497,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2272
2497
|
} | {
|
|
2273
2498
|
output: {
|
|
2274
2499
|
error: {
|
|
2275
|
-
code: "
|
|
2500
|
+
code: "api_key_forbidden";
|
|
2276
2501
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2277
2502
|
message: string;
|
|
2278
2503
|
};
|
|
2279
2504
|
requestId: string;
|
|
2280
2505
|
};
|
|
2281
2506
|
outputFormat: "json";
|
|
2282
|
-
status:
|
|
2507
|
+
status: 403;
|
|
2283
2508
|
input: {
|
|
2284
2509
|
param: {
|
|
2285
2510
|
orgId: string;
|
|
@@ -2292,14 +2517,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2292
2517
|
} | {
|
|
2293
2518
|
output: {
|
|
2294
2519
|
error: {
|
|
2295
|
-
code: "
|
|
2520
|
+
code: "organization_not_found";
|
|
2296
2521
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2297
2522
|
message: string;
|
|
2298
2523
|
};
|
|
2299
2524
|
requestId: string;
|
|
2300
2525
|
};
|
|
2301
2526
|
outputFormat: "json";
|
|
2302
|
-
status:
|
|
2527
|
+
status: 404;
|
|
2303
2528
|
input: {
|
|
2304
2529
|
param: {
|
|
2305
2530
|
orgId: string;
|
|
@@ -2312,14 +2537,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2312
2537
|
} | {
|
|
2313
2538
|
output: {
|
|
2314
2539
|
error: {
|
|
2315
|
-
code: "
|
|
2540
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2316
2541
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2317
2542
|
message: string;
|
|
2318
2543
|
};
|
|
2319
2544
|
requestId: string;
|
|
2320
2545
|
};
|
|
2321
2546
|
outputFormat: "json";
|
|
2322
|
-
status:
|
|
2547
|
+
status: 429;
|
|
2323
2548
|
input: {
|
|
2324
2549
|
param: {
|
|
2325
2550
|
orgId: string;
|
|
@@ -2331,14 +2556,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2331
2556
|
};
|
|
2332
2557
|
} | {
|
|
2333
2558
|
output: {
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2559
|
+
error: {
|
|
2560
|
+
code: "upstream_error";
|
|
2561
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2562
|
+
message: string;
|
|
2563
|
+
};
|
|
2564
|
+
requestId: string;
|
|
2339
2565
|
};
|
|
2340
2566
|
outputFormat: "json";
|
|
2341
|
-
status:
|
|
2567
|
+
status: 502;
|
|
2342
2568
|
input: {
|
|
2343
2569
|
param: {
|
|
2344
2570
|
orgId: string;
|
|
@@ -2353,16 +2579,27 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2353
2579
|
} & {
|
|
2354
2580
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}": {
|
|
2355
2581
|
$delete: {
|
|
2582
|
+
output: {
|
|
2583
|
+
id: string;
|
|
2584
|
+
};
|
|
2585
|
+
outputFormat: "json";
|
|
2586
|
+
status: 200;
|
|
2587
|
+
input: {
|
|
2588
|
+
param: {
|
|
2589
|
+
orgId: string;
|
|
2590
|
+
};
|
|
2591
|
+
};
|
|
2592
|
+
} | {
|
|
2356
2593
|
output: {
|
|
2357
2594
|
error: {
|
|
2358
|
-
code: "
|
|
2595
|
+
code: "api_key_malformed";
|
|
2359
2596
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2360
2597
|
message: string;
|
|
2361
2598
|
};
|
|
2362
2599
|
requestId: string;
|
|
2363
2600
|
};
|
|
2364
2601
|
outputFormat: "json";
|
|
2365
|
-
status:
|
|
2602
|
+
status: 400;
|
|
2366
2603
|
input: {
|
|
2367
2604
|
param: {
|
|
2368
2605
|
orgId: string;
|
|
@@ -2371,7 +2608,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2371
2608
|
} | {
|
|
2372
2609
|
output: {
|
|
2373
2610
|
error: {
|
|
2374
|
-
code: "
|
|
2611
|
+
code: "param_invalid";
|
|
2375
2612
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2376
2613
|
message: string;
|
|
2377
2614
|
};
|
|
@@ -2403,7 +2640,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2403
2640
|
} | {
|
|
2404
2641
|
output: {
|
|
2405
2642
|
error: {
|
|
2406
|
-
code: "
|
|
2643
|
+
code: "api_key_forbidden";
|
|
2407
2644
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2408
2645
|
message: string;
|
|
2409
2646
|
};
|
|
@@ -2435,14 +2672,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2435
2672
|
} | {
|
|
2436
2673
|
output: {
|
|
2437
2674
|
error: {
|
|
2438
|
-
code: "
|
|
2675
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2439
2676
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2440
2677
|
message: string;
|
|
2441
2678
|
};
|
|
2442
2679
|
requestId: string;
|
|
2443
2680
|
};
|
|
2444
2681
|
outputFormat: "json";
|
|
2445
|
-
status:
|
|
2682
|
+
status: 429;
|
|
2446
2683
|
input: {
|
|
2447
2684
|
param: {
|
|
2448
2685
|
orgId: string;
|
|
@@ -2450,10 +2687,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2450
2687
|
};
|
|
2451
2688
|
} | {
|
|
2452
2689
|
output: {
|
|
2453
|
-
|
|
2690
|
+
error: {
|
|
2691
|
+
code: "upstream_error";
|
|
2692
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2693
|
+
message: string;
|
|
2694
|
+
};
|
|
2695
|
+
requestId: string;
|
|
2454
2696
|
};
|
|
2455
2697
|
outputFormat: "json";
|
|
2456
|
-
status:
|
|
2698
|
+
status: 502;
|
|
2457
2699
|
input: {
|
|
2458
2700
|
param: {
|
|
2459
2701
|
orgId: string;
|
|
@@ -2464,16 +2706,34 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2464
2706
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
2465
2707
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
|
|
2466
2708
|
$get: {
|
|
2709
|
+
output: {
|
|
2710
|
+
data: {
|
|
2711
|
+
createdAt: string;
|
|
2712
|
+
environments: ("production" | "sandbox")[];
|
|
2713
|
+
id: string;
|
|
2714
|
+
name: string;
|
|
2715
|
+
orgId: string;
|
|
2716
|
+
updatedAt: string;
|
|
2717
|
+
}[];
|
|
2718
|
+
};
|
|
2719
|
+
outputFormat: "json";
|
|
2720
|
+
status: 200;
|
|
2721
|
+
input: {
|
|
2722
|
+
param: {
|
|
2723
|
+
orgId: string;
|
|
2724
|
+
};
|
|
2725
|
+
};
|
|
2726
|
+
} | {
|
|
2467
2727
|
output: {
|
|
2468
2728
|
error: {
|
|
2469
|
-
code: "
|
|
2729
|
+
code: "api_key_malformed";
|
|
2470
2730
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2471
2731
|
message: string;
|
|
2472
2732
|
};
|
|
2473
2733
|
requestId: string;
|
|
2474
2734
|
};
|
|
2475
2735
|
outputFormat: "json";
|
|
2476
|
-
status:
|
|
2736
|
+
status: 400;
|
|
2477
2737
|
input: {
|
|
2478
2738
|
param: {
|
|
2479
2739
|
orgId: string;
|
|
@@ -2482,7 +2742,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2482
2742
|
} | {
|
|
2483
2743
|
output: {
|
|
2484
2744
|
error: {
|
|
2485
|
-
code: "
|
|
2745
|
+
code: "param_invalid";
|
|
2486
2746
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2487
2747
|
message: string;
|
|
2488
2748
|
};
|
|
@@ -2514,7 +2774,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2514
2774
|
} | {
|
|
2515
2775
|
output: {
|
|
2516
2776
|
error: {
|
|
2517
|
-
code: "
|
|
2777
|
+
code: "api_key_forbidden";
|
|
2518
2778
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2519
2779
|
message: string;
|
|
2520
2780
|
};
|
|
@@ -2546,14 +2806,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2546
2806
|
} | {
|
|
2547
2807
|
output: {
|
|
2548
2808
|
error: {
|
|
2549
|
-
code: "
|
|
2809
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2550
2810
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2551
2811
|
message: string;
|
|
2552
2812
|
};
|
|
2553
2813
|
requestId: string;
|
|
2554
2814
|
};
|
|
2555
2815
|
outputFormat: "json";
|
|
2556
|
-
status:
|
|
2816
|
+
status: 429;
|
|
2557
2817
|
input: {
|
|
2558
2818
|
param: {
|
|
2559
2819
|
orgId: string;
|
|
@@ -2561,17 +2821,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2561
2821
|
};
|
|
2562
2822
|
} | {
|
|
2563
2823
|
output: {
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
updatedAt: string;
|
|
2571
|
-
}[];
|
|
2824
|
+
error: {
|
|
2825
|
+
code: "upstream_error";
|
|
2826
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2827
|
+
message: string;
|
|
2828
|
+
};
|
|
2829
|
+
requestId: string;
|
|
2572
2830
|
};
|
|
2573
2831
|
outputFormat: "json";
|
|
2574
|
-
status:
|
|
2832
|
+
status: 502;
|
|
2575
2833
|
input: {
|
|
2576
2834
|
param: {
|
|
2577
2835
|
orgId: string;
|
|
@@ -2582,16 +2840,36 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2582
2840
|
} & {
|
|
2583
2841
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects": {
|
|
2584
2842
|
$post: {
|
|
2843
|
+
output: {
|
|
2844
|
+
createdAt: string;
|
|
2845
|
+
environments: ("production" | "sandbox")[];
|
|
2846
|
+
id: string;
|
|
2847
|
+
name: string;
|
|
2848
|
+
orgId: string;
|
|
2849
|
+
updatedAt: string;
|
|
2850
|
+
};
|
|
2851
|
+
outputFormat: "json";
|
|
2852
|
+
status: 200;
|
|
2853
|
+
input: {
|
|
2854
|
+
param: {
|
|
2855
|
+
orgId: string;
|
|
2856
|
+
};
|
|
2857
|
+
} & {
|
|
2858
|
+
json: {
|
|
2859
|
+
name: string;
|
|
2860
|
+
};
|
|
2861
|
+
};
|
|
2862
|
+
} | {
|
|
2585
2863
|
output: {
|
|
2586
2864
|
error: {
|
|
2587
|
-
code: "
|
|
2865
|
+
code: "api_key_malformed";
|
|
2588
2866
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2589
2867
|
message: string;
|
|
2590
2868
|
};
|
|
2591
2869
|
requestId: string;
|
|
2592
2870
|
};
|
|
2593
2871
|
outputFormat: "json";
|
|
2594
|
-
status:
|
|
2872
|
+
status: 400;
|
|
2595
2873
|
input: {
|
|
2596
2874
|
param: {
|
|
2597
2875
|
orgId: string;
|
|
@@ -2604,7 +2882,27 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2604
2882
|
} | {
|
|
2605
2883
|
output: {
|
|
2606
2884
|
error: {
|
|
2607
|
-
code: "
|
|
2885
|
+
code: "body_invalid";
|
|
2886
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2887
|
+
message: string;
|
|
2888
|
+
};
|
|
2889
|
+
requestId: string;
|
|
2890
|
+
};
|
|
2891
|
+
outputFormat: "json";
|
|
2892
|
+
status: 400;
|
|
2893
|
+
input: {
|
|
2894
|
+
param: {
|
|
2895
|
+
orgId: string;
|
|
2896
|
+
};
|
|
2897
|
+
} & {
|
|
2898
|
+
json: {
|
|
2899
|
+
name: string;
|
|
2900
|
+
};
|
|
2901
|
+
};
|
|
2902
|
+
} | {
|
|
2903
|
+
output: {
|
|
2904
|
+
error: {
|
|
2905
|
+
code: "param_invalid";
|
|
2608
2906
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2609
2907
|
message: string;
|
|
2610
2908
|
};
|
|
@@ -2644,7 +2942,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2644
2942
|
} | {
|
|
2645
2943
|
output: {
|
|
2646
2944
|
error: {
|
|
2647
|
-
code: "
|
|
2945
|
+
code: "api_key_forbidden";
|
|
2648
2946
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2649
2947
|
message: string;
|
|
2650
2948
|
};
|
|
@@ -2684,14 +2982,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2684
2982
|
} | {
|
|
2685
2983
|
output: {
|
|
2686
2984
|
error: {
|
|
2687
|
-
code: "
|
|
2985
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2688
2986
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2689
2987
|
message: string;
|
|
2690
2988
|
};
|
|
2691
2989
|
requestId: string;
|
|
2692
2990
|
};
|
|
2693
2991
|
outputFormat: "json";
|
|
2694
|
-
status:
|
|
2992
|
+
status: 429;
|
|
2695
2993
|
input: {
|
|
2696
2994
|
param: {
|
|
2697
2995
|
orgId: string;
|
|
@@ -2704,14 +3002,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2704
3002
|
} | {
|
|
2705
3003
|
output: {
|
|
2706
3004
|
error: {
|
|
2707
|
-
code: "
|
|
3005
|
+
code: "upstream_error";
|
|
2708
3006
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2709
3007
|
message: string;
|
|
2710
3008
|
};
|
|
2711
3009
|
requestId: string;
|
|
2712
3010
|
};
|
|
2713
3011
|
outputFormat: "json";
|
|
2714
|
-
status:
|
|
3012
|
+
status: 502;
|
|
2715
3013
|
input: {
|
|
2716
3014
|
param: {
|
|
2717
3015
|
orgId: string;
|
|
@@ -2721,7 +3019,11 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2721
3019
|
name: string;
|
|
2722
3020
|
};
|
|
2723
3021
|
};
|
|
2724
|
-
}
|
|
3022
|
+
};
|
|
3023
|
+
};
|
|
3024
|
+
} & {
|
|
3025
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
3026
|
+
$get: {
|
|
2725
3027
|
output: {
|
|
2726
3028
|
createdAt: string;
|
|
2727
3029
|
environments: ("production" | "sandbox")[];
|
|
@@ -2735,17 +3037,10 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2735
3037
|
input: {
|
|
2736
3038
|
param: {
|
|
2737
3039
|
orgId: string;
|
|
2738
|
-
|
|
2739
|
-
} & {
|
|
2740
|
-
json: {
|
|
2741
|
-
name: string;
|
|
3040
|
+
projectId: string;
|
|
2742
3041
|
};
|
|
2743
3042
|
};
|
|
2744
|
-
}
|
|
2745
|
-
};
|
|
2746
|
-
} & {
|
|
2747
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
2748
|
-
$get: {
|
|
3043
|
+
} | {
|
|
2749
3044
|
output: {
|
|
2750
3045
|
error: {
|
|
2751
3046
|
code: "api_key_malformed";
|
|
@@ -2765,14 +3060,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2765
3060
|
} | {
|
|
2766
3061
|
output: {
|
|
2767
3062
|
error: {
|
|
2768
|
-
code: "
|
|
3063
|
+
code: "param_invalid";
|
|
2769
3064
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2770
3065
|
message: string;
|
|
2771
3066
|
};
|
|
2772
3067
|
requestId: string;
|
|
2773
3068
|
};
|
|
2774
3069
|
outputFormat: "json";
|
|
2775
|
-
status:
|
|
3070
|
+
status: 400;
|
|
2776
3071
|
input: {
|
|
2777
3072
|
param: {
|
|
2778
3073
|
orgId: string;
|
|
@@ -2782,14 +3077,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2782
3077
|
} | {
|
|
2783
3078
|
output: {
|
|
2784
3079
|
error: {
|
|
2785
|
-
code: "
|
|
3080
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
2786
3081
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2787
3082
|
message: string;
|
|
2788
3083
|
};
|
|
2789
3084
|
requestId: string;
|
|
2790
3085
|
};
|
|
2791
3086
|
outputFormat: "json";
|
|
2792
|
-
status:
|
|
3087
|
+
status: 401;
|
|
2793
3088
|
input: {
|
|
2794
3089
|
param: {
|
|
2795
3090
|
orgId: string;
|
|
@@ -2799,14 +3094,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2799
3094
|
} | {
|
|
2800
3095
|
output: {
|
|
2801
3096
|
error: {
|
|
2802
|
-
code: "
|
|
3097
|
+
code: "api_key_forbidden";
|
|
2803
3098
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2804
3099
|
message: string;
|
|
2805
3100
|
};
|
|
2806
3101
|
requestId: string;
|
|
2807
3102
|
};
|
|
2808
3103
|
outputFormat: "json";
|
|
2809
|
-
status:
|
|
3104
|
+
status: 403;
|
|
2810
3105
|
input: {
|
|
2811
3106
|
param: {
|
|
2812
3107
|
orgId: string;
|
|
@@ -2831,6 +3126,27 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2831
3126
|
};
|
|
2832
3127
|
};
|
|
2833
3128
|
} | {
|
|
3129
|
+
output: {
|
|
3130
|
+
error: {
|
|
3131
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3132
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3133
|
+
message: string;
|
|
3134
|
+
};
|
|
3135
|
+
requestId: string;
|
|
3136
|
+
};
|
|
3137
|
+
outputFormat: "json";
|
|
3138
|
+
status: 429;
|
|
3139
|
+
input: {
|
|
3140
|
+
param: {
|
|
3141
|
+
orgId: string;
|
|
3142
|
+
projectId: string;
|
|
3143
|
+
};
|
|
3144
|
+
};
|
|
3145
|
+
};
|
|
3146
|
+
};
|
|
3147
|
+
} & {
|
|
3148
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
3149
|
+
$patch: {
|
|
2834
3150
|
output: {
|
|
2835
3151
|
createdAt: string;
|
|
2836
3152
|
environments: ("production" | "sandbox")[];
|
|
@@ -2840,28 +3156,49 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2840
3156
|
updatedAt: string;
|
|
2841
3157
|
};
|
|
2842
3158
|
outputFormat: "json";
|
|
2843
|
-
status: 200;
|
|
3159
|
+
status: 200;
|
|
3160
|
+
input: {
|
|
3161
|
+
param: {
|
|
3162
|
+
orgId: string;
|
|
3163
|
+
projectId: string;
|
|
3164
|
+
};
|
|
3165
|
+
} & {
|
|
3166
|
+
json: {
|
|
3167
|
+
name: string;
|
|
3168
|
+
};
|
|
3169
|
+
};
|
|
3170
|
+
} | {
|
|
3171
|
+
output: {
|
|
3172
|
+
error: {
|
|
3173
|
+
code: "api_key_malformed";
|
|
3174
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3175
|
+
message: string;
|
|
3176
|
+
};
|
|
3177
|
+
requestId: string;
|
|
3178
|
+
};
|
|
3179
|
+
outputFormat: "json";
|
|
3180
|
+
status: 400;
|
|
2844
3181
|
input: {
|
|
2845
3182
|
param: {
|
|
2846
3183
|
orgId: string;
|
|
2847
3184
|
projectId: string;
|
|
2848
3185
|
};
|
|
3186
|
+
} & {
|
|
3187
|
+
json: {
|
|
3188
|
+
name: string;
|
|
3189
|
+
};
|
|
2849
3190
|
};
|
|
2850
|
-
}
|
|
2851
|
-
};
|
|
2852
|
-
} & {
|
|
2853
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
2854
|
-
$patch: {
|
|
3191
|
+
} | {
|
|
2855
3192
|
output: {
|
|
2856
3193
|
error: {
|
|
2857
|
-
code: "
|
|
3194
|
+
code: "body_invalid";
|
|
2858
3195
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2859
3196
|
message: string;
|
|
2860
3197
|
};
|
|
2861
3198
|
requestId: string;
|
|
2862
3199
|
};
|
|
2863
3200
|
outputFormat: "json";
|
|
2864
|
-
status:
|
|
3201
|
+
status: 400;
|
|
2865
3202
|
input: {
|
|
2866
3203
|
param: {
|
|
2867
3204
|
orgId: string;
|
|
@@ -2875,7 +3212,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2875
3212
|
} | {
|
|
2876
3213
|
output: {
|
|
2877
3214
|
error: {
|
|
2878
|
-
code: "
|
|
3215
|
+
code: "param_invalid";
|
|
2879
3216
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2880
3217
|
message: string;
|
|
2881
3218
|
};
|
|
@@ -2917,7 +3254,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2917
3254
|
} | {
|
|
2918
3255
|
output: {
|
|
2919
3256
|
error: {
|
|
2920
|
-
code: "
|
|
3257
|
+
code: "api_key_forbidden";
|
|
2921
3258
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2922
3259
|
message: string;
|
|
2923
3260
|
};
|
|
@@ -2938,14 +3275,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2938
3275
|
} | {
|
|
2939
3276
|
output: {
|
|
2940
3277
|
error: {
|
|
2941
|
-
code: "
|
|
3278
|
+
code: "organization_not_found" | "project_not_found";
|
|
2942
3279
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2943
3280
|
message: string;
|
|
2944
3281
|
};
|
|
2945
3282
|
requestId: string;
|
|
2946
3283
|
};
|
|
2947
3284
|
outputFormat: "json";
|
|
2948
|
-
status:
|
|
3285
|
+
status: 404;
|
|
2949
3286
|
input: {
|
|
2950
3287
|
param: {
|
|
2951
3288
|
orgId: string;
|
|
@@ -2959,14 +3296,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2959
3296
|
} | {
|
|
2960
3297
|
output: {
|
|
2961
3298
|
error: {
|
|
2962
|
-
code: "
|
|
3299
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
2963
3300
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2964
3301
|
message: string;
|
|
2965
3302
|
};
|
|
2966
3303
|
requestId: string;
|
|
2967
3304
|
};
|
|
2968
3305
|
outputFormat: "json";
|
|
2969
|
-
status:
|
|
3306
|
+
status: 429;
|
|
2970
3307
|
input: {
|
|
2971
3308
|
param: {
|
|
2972
3309
|
orgId: string;
|
|
@@ -2980,14 +3317,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2980
3317
|
} | {
|
|
2981
3318
|
output: {
|
|
2982
3319
|
error: {
|
|
2983
|
-
code: "
|
|
3320
|
+
code: "upstream_error";
|
|
2984
3321
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
2985
3322
|
message: string;
|
|
2986
3323
|
};
|
|
2987
3324
|
requestId: string;
|
|
2988
3325
|
};
|
|
2989
3326
|
outputFormat: "json";
|
|
2990
|
-
status:
|
|
3327
|
+
status: 502;
|
|
2991
3328
|
input: {
|
|
2992
3329
|
param: {
|
|
2993
3330
|
orgId: string;
|
|
@@ -2998,14 +3335,13 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
2998
3335
|
name: string;
|
|
2999
3336
|
};
|
|
3000
3337
|
};
|
|
3001
|
-
}
|
|
3338
|
+
};
|
|
3339
|
+
};
|
|
3340
|
+
} & {
|
|
3341
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
3342
|
+
$delete: {
|
|
3002
3343
|
output: {
|
|
3003
|
-
createdAt: string;
|
|
3004
|
-
environments: ("production" | "sandbox")[];
|
|
3005
3344
|
id: string;
|
|
3006
|
-
name: string;
|
|
3007
|
-
orgId: string;
|
|
3008
|
-
updatedAt: string;
|
|
3009
3345
|
};
|
|
3010
3346
|
outputFormat: "json";
|
|
3011
3347
|
status: 200;
|
|
@@ -3014,26 +3350,18 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3014
3350
|
orgId: string;
|
|
3015
3351
|
projectId: string;
|
|
3016
3352
|
};
|
|
3017
|
-
} & {
|
|
3018
|
-
json: {
|
|
3019
|
-
name: string;
|
|
3020
|
-
};
|
|
3021
3353
|
};
|
|
3022
|
-
}
|
|
3023
|
-
};
|
|
3024
|
-
} & {
|
|
3025
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/projects/:projectId{prj_[A-Za-z0-9_-]+}": {
|
|
3026
|
-
$delete: {
|
|
3354
|
+
} | {
|
|
3027
3355
|
output: {
|
|
3028
3356
|
error: {
|
|
3029
|
-
code: "
|
|
3357
|
+
code: "api_key_malformed";
|
|
3030
3358
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3031
3359
|
message: string;
|
|
3032
3360
|
};
|
|
3033
3361
|
requestId: string;
|
|
3034
3362
|
};
|
|
3035
3363
|
outputFormat: "json";
|
|
3036
|
-
status:
|
|
3364
|
+
status: 400;
|
|
3037
3365
|
input: {
|
|
3038
3366
|
param: {
|
|
3039
3367
|
orgId: string;
|
|
@@ -3043,7 +3371,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3043
3371
|
} | {
|
|
3044
3372
|
output: {
|
|
3045
3373
|
error: {
|
|
3046
|
-
code: "
|
|
3374
|
+
code: "param_invalid";
|
|
3047
3375
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3048
3376
|
message: string;
|
|
3049
3377
|
};
|
|
@@ -3077,7 +3405,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3077
3405
|
} | {
|
|
3078
3406
|
output: {
|
|
3079
3407
|
error: {
|
|
3080
|
-
code: "
|
|
3408
|
+
code: "api_key_forbidden";
|
|
3081
3409
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3082
3410
|
message: string;
|
|
3083
3411
|
};
|
|
@@ -3094,14 +3422,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3094
3422
|
} | {
|
|
3095
3423
|
output: {
|
|
3096
3424
|
error: {
|
|
3097
|
-
code: "
|
|
3425
|
+
code: "organization_not_found" | "project_not_found";
|
|
3098
3426
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3099
3427
|
message: string;
|
|
3100
3428
|
};
|
|
3101
3429
|
requestId: string;
|
|
3102
3430
|
};
|
|
3103
3431
|
outputFormat: "json";
|
|
3104
|
-
status:
|
|
3432
|
+
status: 404;
|
|
3105
3433
|
input: {
|
|
3106
3434
|
param: {
|
|
3107
3435
|
orgId: string;
|
|
@@ -3111,14 +3439,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3111
3439
|
} | {
|
|
3112
3440
|
output: {
|
|
3113
3441
|
error: {
|
|
3114
|
-
code: "
|
|
3442
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3115
3443
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3116
3444
|
message: string;
|
|
3117
3445
|
};
|
|
3118
3446
|
requestId: string;
|
|
3119
3447
|
};
|
|
3120
3448
|
outputFormat: "json";
|
|
3121
|
-
status:
|
|
3449
|
+
status: 429;
|
|
3122
3450
|
input: {
|
|
3123
3451
|
param: {
|
|
3124
3452
|
orgId: string;
|
|
@@ -3127,10 +3455,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3127
3455
|
};
|
|
3128
3456
|
} | {
|
|
3129
3457
|
output: {
|
|
3130
|
-
|
|
3458
|
+
error: {
|
|
3459
|
+
code: "upstream_error";
|
|
3460
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3461
|
+
message: string;
|
|
3462
|
+
};
|
|
3463
|
+
requestId: string;
|
|
3131
3464
|
};
|
|
3132
3465
|
outputFormat: "json";
|
|
3133
|
-
status:
|
|
3466
|
+
status: 502;
|
|
3134
3467
|
input: {
|
|
3135
3468
|
param: {
|
|
3136
3469
|
orgId: string;
|
|
@@ -3142,16 +3475,38 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3142
3475
|
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3143
3476
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invitations": {
|
|
3144
3477
|
$post: {
|
|
3478
|
+
output: {
|
|
3479
|
+
createdAt: string;
|
|
3480
|
+
email: string;
|
|
3481
|
+
expiresAt: string;
|
|
3482
|
+
id: string;
|
|
3483
|
+
invitedBy: string;
|
|
3484
|
+
orgId: string;
|
|
3485
|
+
role: "admin" | "member" | "owner";
|
|
3486
|
+
};
|
|
3487
|
+
outputFormat: "json";
|
|
3488
|
+
status: 200;
|
|
3489
|
+
input: {
|
|
3490
|
+
param: {
|
|
3491
|
+
orgId: string;
|
|
3492
|
+
};
|
|
3493
|
+
} & {
|
|
3494
|
+
json: {
|
|
3495
|
+
email: string;
|
|
3496
|
+
role: "admin" | "member" | "owner";
|
|
3497
|
+
};
|
|
3498
|
+
};
|
|
3499
|
+
} | {
|
|
3145
3500
|
output: {
|
|
3146
3501
|
error: {
|
|
3147
|
-
code: "
|
|
3502
|
+
code: "api_key_malformed";
|
|
3148
3503
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3149
3504
|
message: string;
|
|
3150
3505
|
};
|
|
3151
3506
|
requestId: string;
|
|
3152
3507
|
};
|
|
3153
3508
|
outputFormat: "json";
|
|
3154
|
-
status:
|
|
3509
|
+
status: 400;
|
|
3155
3510
|
input: {
|
|
3156
3511
|
param: {
|
|
3157
3512
|
orgId: string;
|
|
@@ -3165,7 +3520,28 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3165
3520
|
} | {
|
|
3166
3521
|
output: {
|
|
3167
3522
|
error: {
|
|
3168
|
-
code: "
|
|
3523
|
+
code: "body_invalid";
|
|
3524
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3525
|
+
message: string;
|
|
3526
|
+
};
|
|
3527
|
+
requestId: string;
|
|
3528
|
+
};
|
|
3529
|
+
outputFormat: "json";
|
|
3530
|
+
status: 400;
|
|
3531
|
+
input: {
|
|
3532
|
+
param: {
|
|
3533
|
+
orgId: string;
|
|
3534
|
+
};
|
|
3535
|
+
} & {
|
|
3536
|
+
json: {
|
|
3537
|
+
email: string;
|
|
3538
|
+
role: "admin" | "member" | "owner";
|
|
3539
|
+
};
|
|
3540
|
+
};
|
|
3541
|
+
} | {
|
|
3542
|
+
output: {
|
|
3543
|
+
error: {
|
|
3544
|
+
code: "param_invalid";
|
|
3169
3545
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3170
3546
|
message: string;
|
|
3171
3547
|
};
|
|
@@ -3207,7 +3583,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3207
3583
|
} | {
|
|
3208
3584
|
output: {
|
|
3209
3585
|
error: {
|
|
3210
|
-
code: "
|
|
3586
|
+
code: "api_key_forbidden";
|
|
3211
3587
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3212
3588
|
message: string;
|
|
3213
3589
|
};
|
|
@@ -3228,14 +3604,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3228
3604
|
} | {
|
|
3229
3605
|
output: {
|
|
3230
3606
|
error: {
|
|
3231
|
-
code: "
|
|
3607
|
+
code: "forbidden";
|
|
3232
3608
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3233
3609
|
message: string;
|
|
3234
3610
|
};
|
|
3235
3611
|
requestId: string;
|
|
3236
3612
|
};
|
|
3237
3613
|
outputFormat: "json";
|
|
3238
|
-
status:
|
|
3614
|
+
status: 403;
|
|
3239
3615
|
input: {
|
|
3240
3616
|
param: {
|
|
3241
3617
|
orgId: string;
|
|
@@ -3249,14 +3625,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3249
3625
|
} | {
|
|
3250
3626
|
output: {
|
|
3251
3627
|
error: {
|
|
3252
|
-
code: "
|
|
3628
|
+
code: "organization_not_found";
|
|
3253
3629
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3254
3630
|
message: string;
|
|
3255
3631
|
};
|
|
3256
3632
|
requestId: string;
|
|
3257
3633
|
};
|
|
3258
3634
|
outputFormat: "json";
|
|
3259
|
-
status:
|
|
3635
|
+
status: 404;
|
|
3260
3636
|
input: {
|
|
3261
3637
|
param: {
|
|
3262
3638
|
orgId: string;
|
|
@@ -3270,14 +3646,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3270
3646
|
} | {
|
|
3271
3647
|
output: {
|
|
3272
3648
|
error: {
|
|
3273
|
-
code: "
|
|
3649
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3274
3650
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3275
3651
|
message: string;
|
|
3276
3652
|
};
|
|
3277
3653
|
requestId: string;
|
|
3278
3654
|
};
|
|
3279
3655
|
outputFormat: "json";
|
|
3280
|
-
status:
|
|
3656
|
+
status: 429;
|
|
3281
3657
|
input: {
|
|
3282
3658
|
param: {
|
|
3283
3659
|
orgId: string;
|
|
@@ -3290,16 +3666,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3290
3666
|
};
|
|
3291
3667
|
} | {
|
|
3292
3668
|
output: {
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
role: "admin" | "member" | "owner";
|
|
3669
|
+
error: {
|
|
3670
|
+
code: "upstream_error";
|
|
3671
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3672
|
+
message: string;
|
|
3673
|
+
};
|
|
3674
|
+
requestId: string;
|
|
3300
3675
|
};
|
|
3301
3676
|
outputFormat: "json";
|
|
3302
|
-
status:
|
|
3677
|
+
status: 502;
|
|
3303
3678
|
input: {
|
|
3304
3679
|
param: {
|
|
3305
3680
|
orgId: string;
|
|
@@ -3315,16 +3690,35 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3315
3690
|
} & {
|
|
3316
3691
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invitations": {
|
|
3317
3692
|
$get: {
|
|
3693
|
+
output: {
|
|
3694
|
+
data: {
|
|
3695
|
+
createdAt: string;
|
|
3696
|
+
email: string;
|
|
3697
|
+
expiresAt: string;
|
|
3698
|
+
id: string;
|
|
3699
|
+
invitedBy: string;
|
|
3700
|
+
orgId: string;
|
|
3701
|
+
role: "admin" | "member" | "owner";
|
|
3702
|
+
}[];
|
|
3703
|
+
};
|
|
3704
|
+
outputFormat: "json";
|
|
3705
|
+
status: 200;
|
|
3706
|
+
input: {
|
|
3707
|
+
param: {
|
|
3708
|
+
orgId: string;
|
|
3709
|
+
};
|
|
3710
|
+
};
|
|
3711
|
+
} | {
|
|
3318
3712
|
output: {
|
|
3319
3713
|
error: {
|
|
3320
|
-
code: "
|
|
3714
|
+
code: "api_key_malformed";
|
|
3321
3715
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3322
3716
|
message: string;
|
|
3323
3717
|
};
|
|
3324
3718
|
requestId: string;
|
|
3325
3719
|
};
|
|
3326
3720
|
outputFormat: "json";
|
|
3327
|
-
status:
|
|
3721
|
+
status: 400;
|
|
3328
3722
|
input: {
|
|
3329
3723
|
param: {
|
|
3330
3724
|
orgId: string;
|
|
@@ -3333,7 +3727,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3333
3727
|
} | {
|
|
3334
3728
|
output: {
|
|
3335
3729
|
error: {
|
|
3336
|
-
code: "
|
|
3730
|
+
code: "param_invalid";
|
|
3337
3731
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3338
3732
|
message: string;
|
|
3339
3733
|
};
|
|
@@ -3365,7 +3759,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3365
3759
|
} | {
|
|
3366
3760
|
output: {
|
|
3367
3761
|
error: {
|
|
3368
|
-
code: "
|
|
3762
|
+
code: "api_key_forbidden";
|
|
3369
3763
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3370
3764
|
message: string;
|
|
3371
3765
|
};
|
|
@@ -3397,14 +3791,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3397
3791
|
} | {
|
|
3398
3792
|
output: {
|
|
3399
3793
|
error: {
|
|
3400
|
-
code: "
|
|
3794
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3401
3795
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3402
3796
|
message: string;
|
|
3403
3797
|
};
|
|
3404
3798
|
requestId: string;
|
|
3405
3799
|
};
|
|
3406
3800
|
outputFormat: "json";
|
|
3407
|
-
status:
|
|
3801
|
+
status: 429;
|
|
3408
3802
|
input: {
|
|
3409
3803
|
param: {
|
|
3410
3804
|
orgId: string;
|
|
@@ -3412,18 +3806,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3412
3806
|
};
|
|
3413
3807
|
} | {
|
|
3414
3808
|
output: {
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
orgId: string;
|
|
3422
|
-
role: "admin" | "member" | "owner";
|
|
3423
|
-
}[];
|
|
3809
|
+
error: {
|
|
3810
|
+
code: "upstream_error";
|
|
3811
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3812
|
+
message: string;
|
|
3813
|
+
};
|
|
3814
|
+
requestId: string;
|
|
3424
3815
|
};
|
|
3425
3816
|
outputFormat: "json";
|
|
3426
|
-
status:
|
|
3817
|
+
status: 502;
|
|
3427
3818
|
input: {
|
|
3428
3819
|
param: {
|
|
3429
3820
|
orgId: string;
|
|
@@ -3434,16 +3825,28 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3434
3825
|
} & {
|
|
3435
3826
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invitations/:invitationId{inv_[A-Za-z0-9_-]+}": {
|
|
3436
3827
|
$delete: {
|
|
3828
|
+
output: {
|
|
3829
|
+
id: string;
|
|
3830
|
+
};
|
|
3831
|
+
outputFormat: "json";
|
|
3832
|
+
status: 200;
|
|
3833
|
+
input: {
|
|
3834
|
+
param: {
|
|
3835
|
+
invitationId: string;
|
|
3836
|
+
orgId: string;
|
|
3837
|
+
};
|
|
3838
|
+
};
|
|
3839
|
+
} | {
|
|
3437
3840
|
output: {
|
|
3438
3841
|
error: {
|
|
3439
|
-
code: "
|
|
3842
|
+
code: "api_key_malformed";
|
|
3440
3843
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3441
3844
|
message: string;
|
|
3442
3845
|
};
|
|
3443
3846
|
requestId: string;
|
|
3444
3847
|
};
|
|
3445
3848
|
outputFormat: "json";
|
|
3446
|
-
status:
|
|
3849
|
+
status: 400;
|
|
3447
3850
|
input: {
|
|
3448
3851
|
param: {
|
|
3449
3852
|
invitationId: string;
|
|
@@ -3453,7 +3856,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3453
3856
|
} | {
|
|
3454
3857
|
output: {
|
|
3455
3858
|
error: {
|
|
3456
|
-
code: "
|
|
3859
|
+
code: "param_invalid";
|
|
3457
3860
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3458
3861
|
message: string;
|
|
3459
3862
|
};
|
|
@@ -3487,7 +3890,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3487
3890
|
} | {
|
|
3488
3891
|
output: {
|
|
3489
3892
|
error: {
|
|
3490
|
-
code: "
|
|
3893
|
+
code: "api_key_forbidden";
|
|
3491
3894
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3492
3895
|
message: string;
|
|
3493
3896
|
};
|
|
@@ -3521,14 +3924,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3521
3924
|
} | {
|
|
3522
3925
|
output: {
|
|
3523
3926
|
error: {
|
|
3524
|
-
code: "
|
|
3927
|
+
code: "invitation_not_found";
|
|
3525
3928
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3526
3929
|
message: string;
|
|
3527
3930
|
};
|
|
3528
3931
|
requestId: string;
|
|
3529
3932
|
};
|
|
3530
3933
|
outputFormat: "json";
|
|
3531
|
-
status:
|
|
3934
|
+
status: 404;
|
|
3532
3935
|
input: {
|
|
3533
3936
|
param: {
|
|
3534
3937
|
invitationId: string;
|
|
@@ -3538,14 +3941,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3538
3941
|
} | {
|
|
3539
3942
|
output: {
|
|
3540
3943
|
error: {
|
|
3541
|
-
code: "
|
|
3944
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3542
3945
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3543
3946
|
message: string;
|
|
3544
3947
|
};
|
|
3545
3948
|
requestId: string;
|
|
3546
3949
|
};
|
|
3547
3950
|
outputFormat: "json";
|
|
3548
|
-
status:
|
|
3951
|
+
status: 429;
|
|
3549
3952
|
input: {
|
|
3550
3953
|
param: {
|
|
3551
3954
|
invitationId: string;
|
|
@@ -3554,10 +3957,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3554
3957
|
};
|
|
3555
3958
|
} | {
|
|
3556
3959
|
output: {
|
|
3557
|
-
|
|
3960
|
+
error: {
|
|
3961
|
+
code: "upstream_error";
|
|
3962
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3963
|
+
message: string;
|
|
3964
|
+
};
|
|
3965
|
+
requestId: string;
|
|
3558
3966
|
};
|
|
3559
3967
|
outputFormat: "json";
|
|
3560
|
-
status:
|
|
3968
|
+
status: 502;
|
|
3561
3969
|
input: {
|
|
3562
3970
|
param: {
|
|
3563
3971
|
invitationId: string;
|
|
@@ -3570,15 +3978,19 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3570
3978
|
"/v1/invitations": {
|
|
3571
3979
|
$get: {
|
|
3572
3980
|
output: {
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3981
|
+
data: {
|
|
3982
|
+
createdAt: string;
|
|
3983
|
+
email: string;
|
|
3984
|
+
expiresAt: string;
|
|
3985
|
+
id: string;
|
|
3986
|
+
invitedBy: string;
|
|
3987
|
+
orgId: string;
|
|
3988
|
+
role: "admin" | "member" | "owner";
|
|
3989
|
+
orgName: string;
|
|
3990
|
+
}[];
|
|
3579
3991
|
};
|
|
3580
3992
|
outputFormat: "json";
|
|
3581
|
-
status:
|
|
3993
|
+
status: 200;
|
|
3582
3994
|
input: {};
|
|
3583
3995
|
} | {
|
|
3584
3996
|
output: {
|
|
@@ -3618,35 +4030,44 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3618
4030
|
input: {};
|
|
3619
4031
|
} | {
|
|
3620
4032
|
output: {
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
orgId: string;
|
|
3628
|
-
role: "admin" | "member" | "owner";
|
|
3629
|
-
orgName: string;
|
|
3630
|
-
}[];
|
|
4033
|
+
error: {
|
|
4034
|
+
code: "upstream_error";
|
|
4035
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4036
|
+
message: string;
|
|
4037
|
+
};
|
|
4038
|
+
requestId: string;
|
|
3631
4039
|
};
|
|
3632
4040
|
outputFormat: "json";
|
|
3633
|
-
status:
|
|
4041
|
+
status: 502;
|
|
3634
4042
|
input: {};
|
|
3635
4043
|
};
|
|
3636
4044
|
};
|
|
3637
4045
|
} & {
|
|
3638
4046
|
"/v1/invitations/:invitationId{inv_[A-Za-z0-9_-]+}/accept": {
|
|
3639
4047
|
$post: {
|
|
4048
|
+
output: {
|
|
4049
|
+
orgId: string;
|
|
4050
|
+
role: "admin" | "member" | "owner";
|
|
4051
|
+
userId: string;
|
|
4052
|
+
};
|
|
4053
|
+
outputFormat: "json";
|
|
4054
|
+
status: 200;
|
|
4055
|
+
input: {
|
|
4056
|
+
param: {
|
|
4057
|
+
invitationId: string;
|
|
4058
|
+
};
|
|
4059
|
+
};
|
|
4060
|
+
} | {
|
|
3640
4061
|
output: {
|
|
3641
4062
|
error: {
|
|
3642
|
-
code: "
|
|
4063
|
+
code: "api_key_malformed";
|
|
3643
4064
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3644
4065
|
message: string;
|
|
3645
4066
|
};
|
|
3646
4067
|
requestId: string;
|
|
3647
4068
|
};
|
|
3648
4069
|
outputFormat: "json";
|
|
3649
|
-
status:
|
|
4070
|
+
status: 400;
|
|
3650
4071
|
input: {
|
|
3651
4072
|
param: {
|
|
3652
4073
|
invitationId: string;
|
|
@@ -3655,7 +4076,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3655
4076
|
} | {
|
|
3656
4077
|
output: {
|
|
3657
4078
|
error: {
|
|
3658
|
-
code: "
|
|
4079
|
+
code: "param_invalid";
|
|
3659
4080
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3660
4081
|
message: string;
|
|
3661
4082
|
};
|
|
@@ -3703,14 +4124,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3703
4124
|
} | {
|
|
3704
4125
|
output: {
|
|
3705
4126
|
error: {
|
|
3706
|
-
code: "
|
|
4127
|
+
code: "invitation_not_found";
|
|
3707
4128
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3708
4129
|
message: string;
|
|
3709
4130
|
};
|
|
3710
4131
|
requestId: string;
|
|
3711
4132
|
};
|
|
3712
4133
|
outputFormat: "json";
|
|
3713
|
-
status:
|
|
4134
|
+
status: 404;
|
|
3714
4135
|
input: {
|
|
3715
4136
|
param: {
|
|
3716
4137
|
invitationId: string;
|
|
@@ -3719,24 +4140,26 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3719
4140
|
} | {
|
|
3720
4141
|
output: {
|
|
3721
4142
|
error: {
|
|
3722
|
-
code: "
|
|
4143
|
+
code: "upstream_error";
|
|
3723
4144
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3724
4145
|
message: string;
|
|
3725
4146
|
};
|
|
3726
4147
|
requestId: string;
|
|
3727
4148
|
};
|
|
3728
4149
|
outputFormat: "json";
|
|
3729
|
-
status:
|
|
4150
|
+
status: 502;
|
|
3730
4151
|
input: {
|
|
3731
4152
|
param: {
|
|
3732
4153
|
invitationId: string;
|
|
3733
4154
|
};
|
|
3734
4155
|
};
|
|
3735
|
-
}
|
|
4156
|
+
};
|
|
4157
|
+
};
|
|
4158
|
+
} & {
|
|
4159
|
+
"/v1/invitations/:invitationId{inv_[A-Za-z0-9_-]+}/decline": {
|
|
4160
|
+
$post: {
|
|
3736
4161
|
output: {
|
|
3737
|
-
|
|
3738
|
-
role: "admin" | "member" | "owner";
|
|
3739
|
-
userId: string;
|
|
4162
|
+
id: string;
|
|
3740
4163
|
};
|
|
3741
4164
|
outputFormat: "json";
|
|
3742
4165
|
status: 200;
|
|
@@ -3745,21 +4168,17 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3745
4168
|
invitationId: string;
|
|
3746
4169
|
};
|
|
3747
4170
|
};
|
|
3748
|
-
}
|
|
3749
|
-
};
|
|
3750
|
-
} & {
|
|
3751
|
-
"/v1/invitations/:invitationId{inv_[A-Za-z0-9_-]+}/decline": {
|
|
3752
|
-
$post: {
|
|
4171
|
+
} | {
|
|
3753
4172
|
output: {
|
|
3754
4173
|
error: {
|
|
3755
|
-
code: "
|
|
4174
|
+
code: "api_key_malformed";
|
|
3756
4175
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3757
4176
|
message: string;
|
|
3758
4177
|
};
|
|
3759
4178
|
requestId: string;
|
|
3760
4179
|
};
|
|
3761
4180
|
outputFormat: "json";
|
|
3762
|
-
status:
|
|
4181
|
+
status: 400;
|
|
3763
4182
|
input: {
|
|
3764
4183
|
param: {
|
|
3765
4184
|
invitationId: string;
|
|
@@ -3768,7 +4187,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3768
4187
|
} | {
|
|
3769
4188
|
output: {
|
|
3770
4189
|
error: {
|
|
3771
|
-
code: "
|
|
4190
|
+
code: "param_invalid";
|
|
3772
4191
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3773
4192
|
message: string;
|
|
3774
4193
|
};
|
|
@@ -3816,14 +4235,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3816
4235
|
} | {
|
|
3817
4236
|
output: {
|
|
3818
4237
|
error: {
|
|
3819
|
-
code: "
|
|
4238
|
+
code: "invitation_not_found";
|
|
3820
4239
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3821
4240
|
message: string;
|
|
3822
4241
|
};
|
|
3823
4242
|
requestId: string;
|
|
3824
4243
|
};
|
|
3825
4244
|
outputFormat: "json";
|
|
3826
|
-
status:
|
|
4245
|
+
status: 404;
|
|
3827
4246
|
input: {
|
|
3828
4247
|
param: {
|
|
3829
4248
|
invitationId: string;
|
|
@@ -3832,45 +4251,64 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3832
4251
|
} | {
|
|
3833
4252
|
output: {
|
|
3834
4253
|
error: {
|
|
3835
|
-
code: "
|
|
4254
|
+
code: "upstream_error";
|
|
3836
4255
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3837
4256
|
message: string;
|
|
3838
4257
|
};
|
|
3839
4258
|
requestId: string;
|
|
3840
4259
|
};
|
|
3841
4260
|
outputFormat: "json";
|
|
3842
|
-
status:
|
|
4261
|
+
status: 502;
|
|
3843
4262
|
input: {
|
|
3844
4263
|
param: {
|
|
3845
4264
|
invitationId: string;
|
|
3846
4265
|
};
|
|
3847
4266
|
};
|
|
3848
|
-
}
|
|
4267
|
+
};
|
|
4268
|
+
};
|
|
4269
|
+
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
4270
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing": {
|
|
4271
|
+
$get: {
|
|
3849
4272
|
output: {
|
|
3850
|
-
|
|
4273
|
+
spend?: {
|
|
4274
|
+
amount: string;
|
|
4275
|
+
currency: "usd";
|
|
4276
|
+
period: "month";
|
|
4277
|
+
} | undefined;
|
|
4278
|
+
spendLimit?: {
|
|
4279
|
+
amount: string;
|
|
4280
|
+
currency: "usd";
|
|
4281
|
+
period: "month";
|
|
4282
|
+
} | undefined;
|
|
4283
|
+
status: "active" | "canceled" | "none" | "past_due";
|
|
4284
|
+
txFeeLimit?: {
|
|
4285
|
+
amount: string;
|
|
4286
|
+
currency: "usd";
|
|
4287
|
+
} | undefined;
|
|
4288
|
+
updatedAt?: string | undefined;
|
|
3851
4289
|
};
|
|
3852
4290
|
outputFormat: "json";
|
|
3853
4291
|
status: 200;
|
|
3854
4292
|
input: {
|
|
3855
4293
|
param: {
|
|
3856
|
-
|
|
4294
|
+
orgId: string;
|
|
3857
4295
|
};
|
|
4296
|
+
} & {
|
|
4297
|
+
query?: {
|
|
4298
|
+
environment?: string | string[];
|
|
4299
|
+
} | undefined;
|
|
3858
4300
|
};
|
|
3859
|
-
}
|
|
3860
|
-
};
|
|
3861
|
-
}, "/"> | import("hono/types").MergeSchemaPath<{
|
|
3862
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing": {
|
|
3863
|
-
$get: {
|
|
4301
|
+
} | {
|
|
3864
4302
|
output: {
|
|
3865
4303
|
error: {
|
|
3866
|
-
code: "
|
|
4304
|
+
code: "api_key_malformed";
|
|
3867
4305
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3868
4306
|
message: string;
|
|
3869
4307
|
};
|
|
3870
4308
|
requestId: string;
|
|
3871
4309
|
};
|
|
3872
4310
|
outputFormat: "json";
|
|
3873
|
-
status:
|
|
4311
|
+
status: 400;
|
|
3874
4312
|
input: {
|
|
3875
4313
|
param: {
|
|
3876
4314
|
orgId: string;
|
|
@@ -3883,7 +4321,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3883
4321
|
} | {
|
|
3884
4322
|
output: {
|
|
3885
4323
|
error: {
|
|
3886
|
-
code: "
|
|
4324
|
+
code: "query_invalid";
|
|
3887
4325
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3888
4326
|
message: string;
|
|
3889
4327
|
};
|
|
@@ -3903,14 +4341,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3903
4341
|
} | {
|
|
3904
4342
|
output: {
|
|
3905
4343
|
error: {
|
|
3906
|
-
code: "
|
|
4344
|
+
code: "param_invalid";
|
|
3907
4345
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3908
4346
|
message: string;
|
|
3909
4347
|
};
|
|
3910
4348
|
requestId: string;
|
|
3911
4349
|
};
|
|
3912
4350
|
outputFormat: "json";
|
|
3913
|
-
status:
|
|
4351
|
+
status: 400;
|
|
3914
4352
|
input: {
|
|
3915
4353
|
param: {
|
|
3916
4354
|
orgId: string;
|
|
@@ -3923,14 +4361,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3923
4361
|
} | {
|
|
3924
4362
|
output: {
|
|
3925
4363
|
error: {
|
|
3926
|
-
code: "
|
|
4364
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
3927
4365
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3928
4366
|
message: string;
|
|
3929
4367
|
};
|
|
3930
4368
|
requestId: string;
|
|
3931
4369
|
};
|
|
3932
4370
|
outputFormat: "json";
|
|
3933
|
-
status:
|
|
4371
|
+
status: 401;
|
|
3934
4372
|
input: {
|
|
3935
4373
|
param: {
|
|
3936
4374
|
orgId: string;
|
|
@@ -3943,7 +4381,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3943
4381
|
} | {
|
|
3944
4382
|
output: {
|
|
3945
4383
|
error: {
|
|
3946
|
-
code: "
|
|
4384
|
+
code: "api_key_forbidden";
|
|
3947
4385
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3948
4386
|
message: string;
|
|
3949
4387
|
};
|
|
@@ -3983,14 +4421,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
3983
4421
|
} | {
|
|
3984
4422
|
output: {
|
|
3985
4423
|
error: {
|
|
3986
|
-
code: "
|
|
4424
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
3987
4425
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
3988
4426
|
message: string;
|
|
3989
4427
|
};
|
|
3990
4428
|
requestId: string;
|
|
3991
4429
|
};
|
|
3992
4430
|
outputFormat: "json";
|
|
3993
|
-
status:
|
|
4431
|
+
status: 429;
|
|
3994
4432
|
input: {
|
|
3995
4433
|
param: {
|
|
3996
4434
|
orgId: string;
|
|
@@ -4021,6 +4459,30 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4021
4459
|
} | undefined;
|
|
4022
4460
|
};
|
|
4023
4461
|
} | {
|
|
4462
|
+
output: {
|
|
4463
|
+
error: {
|
|
4464
|
+
code: "upstream_error";
|
|
4465
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4466
|
+
message: string;
|
|
4467
|
+
};
|
|
4468
|
+
requestId: string;
|
|
4469
|
+
};
|
|
4470
|
+
outputFormat: "json";
|
|
4471
|
+
status: 502;
|
|
4472
|
+
input: {
|
|
4473
|
+
param: {
|
|
4474
|
+
orgId: string;
|
|
4475
|
+
};
|
|
4476
|
+
} & {
|
|
4477
|
+
query?: {
|
|
4478
|
+
environment?: string | string[];
|
|
4479
|
+
} | undefined;
|
|
4480
|
+
};
|
|
4481
|
+
};
|
|
4482
|
+
};
|
|
4483
|
+
} & {
|
|
4484
|
+
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing": {
|
|
4485
|
+
$patch: {
|
|
4024
4486
|
output: {
|
|
4025
4487
|
spend?: {
|
|
4026
4488
|
amount: string;
|
|
@@ -4049,22 +4511,30 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4049
4511
|
query?: {
|
|
4050
4512
|
environment?: string | string[];
|
|
4051
4513
|
} | undefined;
|
|
4514
|
+
} & {
|
|
4515
|
+
json: {
|
|
4516
|
+
spendLimit?: {
|
|
4517
|
+
amount: string;
|
|
4518
|
+
currency?: "usd" | undefined;
|
|
4519
|
+
period?: "month" | undefined;
|
|
4520
|
+
} | null | undefined;
|
|
4521
|
+
txFeeLimit?: {
|
|
4522
|
+
amount: string;
|
|
4523
|
+
currency?: "usd" | undefined;
|
|
4524
|
+
} | null | undefined;
|
|
4525
|
+
};
|
|
4052
4526
|
};
|
|
4053
|
-
}
|
|
4054
|
-
};
|
|
4055
|
-
} & {
|
|
4056
|
-
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing": {
|
|
4057
|
-
$patch: {
|
|
4527
|
+
} | {
|
|
4058
4528
|
output: {
|
|
4059
4529
|
error: {
|
|
4060
|
-
code: "
|
|
4530
|
+
code: "api_key_malformed";
|
|
4061
4531
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4062
4532
|
message: string;
|
|
4063
4533
|
};
|
|
4064
4534
|
requestId: string;
|
|
4065
4535
|
};
|
|
4066
4536
|
outputFormat: "json";
|
|
4067
|
-
status:
|
|
4537
|
+
status: 400;
|
|
4068
4538
|
input: {
|
|
4069
4539
|
param: {
|
|
4070
4540
|
orgId: string;
|
|
@@ -4089,7 +4559,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4089
4559
|
} | {
|
|
4090
4560
|
output: {
|
|
4091
4561
|
error: {
|
|
4092
|
-
code: "
|
|
4562
|
+
code: "query_invalid";
|
|
4093
4563
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4094
4564
|
message: string;
|
|
4095
4565
|
};
|
|
@@ -4121,14 +4591,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4121
4591
|
} | {
|
|
4122
4592
|
output: {
|
|
4123
4593
|
error: {
|
|
4124
|
-
code: "
|
|
4594
|
+
code: "body_invalid";
|
|
4125
4595
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4126
4596
|
message: string;
|
|
4127
4597
|
};
|
|
4128
4598
|
requestId: string;
|
|
4129
4599
|
};
|
|
4130
4600
|
outputFormat: "json";
|
|
4131
|
-
status:
|
|
4601
|
+
status: 400;
|
|
4132
4602
|
input: {
|
|
4133
4603
|
param: {
|
|
4134
4604
|
orgId: string;
|
|
@@ -4153,7 +4623,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4153
4623
|
} | {
|
|
4154
4624
|
output: {
|
|
4155
4625
|
error: {
|
|
4156
|
-
code: "
|
|
4626
|
+
code: "param_invalid";
|
|
4157
4627
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4158
4628
|
message: string;
|
|
4159
4629
|
};
|
|
@@ -4185,14 +4655,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4185
4655
|
} | {
|
|
4186
4656
|
output: {
|
|
4187
4657
|
error: {
|
|
4188
|
-
code: "
|
|
4658
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
4189
4659
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4190
4660
|
message: string;
|
|
4191
4661
|
};
|
|
4192
4662
|
requestId: string;
|
|
4193
4663
|
};
|
|
4194
4664
|
outputFormat: "json";
|
|
4195
|
-
status:
|
|
4665
|
+
status: 401;
|
|
4196
4666
|
input: {
|
|
4197
4667
|
param: {
|
|
4198
4668
|
orgId: string;
|
|
@@ -4217,14 +4687,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4217
4687
|
} | {
|
|
4218
4688
|
output: {
|
|
4219
4689
|
error: {
|
|
4220
|
-
code: "
|
|
4690
|
+
code: "api_key_forbidden";
|
|
4221
4691
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4222
4692
|
message: string;
|
|
4223
4693
|
};
|
|
4224
4694
|
requestId: string;
|
|
4225
4695
|
};
|
|
4226
4696
|
outputFormat: "json";
|
|
4227
|
-
status:
|
|
4697
|
+
status: 403;
|
|
4228
4698
|
input: {
|
|
4229
4699
|
param: {
|
|
4230
4700
|
orgId: string;
|
|
@@ -4249,14 +4719,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4249
4719
|
} | {
|
|
4250
4720
|
output: {
|
|
4251
4721
|
error: {
|
|
4252
|
-
code: "
|
|
4722
|
+
code: "organization_not_found";
|
|
4253
4723
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4254
4724
|
message: string;
|
|
4255
4725
|
};
|
|
4256
4726
|
requestId: string;
|
|
4257
4727
|
};
|
|
4258
4728
|
outputFormat: "json";
|
|
4259
|
-
status:
|
|
4729
|
+
status: 404;
|
|
4260
4730
|
input: {
|
|
4261
4731
|
param: {
|
|
4262
4732
|
orgId: string;
|
|
@@ -4281,14 +4751,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4281
4751
|
} | {
|
|
4282
4752
|
output: {
|
|
4283
4753
|
error: {
|
|
4284
|
-
code: "
|
|
4754
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
4285
4755
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4286
4756
|
message: string;
|
|
4287
4757
|
};
|
|
4288
4758
|
requestId: string;
|
|
4289
4759
|
};
|
|
4290
4760
|
outputFormat: "json";
|
|
4291
|
-
status:
|
|
4761
|
+
status: 429;
|
|
4292
4762
|
input: {
|
|
4293
4763
|
param: {
|
|
4294
4764
|
orgId: string;
|
|
@@ -4312,25 +4782,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4312
4782
|
};
|
|
4313
4783
|
} | {
|
|
4314
4784
|
output: {
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
}
|
|
4320
|
-
|
|
4321
|
-
amount: string;
|
|
4322
|
-
currency: "usd";
|
|
4323
|
-
period: "month";
|
|
4324
|
-
} | undefined;
|
|
4325
|
-
status: "active" | "canceled" | "none" | "past_due";
|
|
4326
|
-
txFeeLimit?: {
|
|
4327
|
-
amount: string;
|
|
4328
|
-
currency: "usd";
|
|
4329
|
-
} | undefined;
|
|
4330
|
-
updatedAt?: string | undefined;
|
|
4785
|
+
error: {
|
|
4786
|
+
code: "billing_unconfigured";
|
|
4787
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4788
|
+
message: string;
|
|
4789
|
+
};
|
|
4790
|
+
requestId: string;
|
|
4331
4791
|
};
|
|
4332
4792
|
outputFormat: "json";
|
|
4333
|
-
status:
|
|
4793
|
+
status: 501;
|
|
4334
4794
|
input: {
|
|
4335
4795
|
param: {
|
|
4336
4796
|
orgId: string;
|
|
@@ -4355,14 +4815,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4355
4815
|
} | {
|
|
4356
4816
|
output: {
|
|
4357
4817
|
error: {
|
|
4358
|
-
code: "
|
|
4818
|
+
code: "upstream_error";
|
|
4359
4819
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4360
4820
|
message: string;
|
|
4361
4821
|
};
|
|
4362
4822
|
requestId: string;
|
|
4363
4823
|
};
|
|
4364
4824
|
outputFormat: "json";
|
|
4365
|
-
status:
|
|
4825
|
+
status: 502;
|
|
4366
4826
|
input: {
|
|
4367
4827
|
param: {
|
|
4368
4828
|
orgId: string;
|
|
@@ -4389,16 +4849,31 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4389
4849
|
} & {
|
|
4390
4850
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing/stripe/checkout": {
|
|
4391
4851
|
$post: {
|
|
4852
|
+
output: {
|
|
4853
|
+
url: string;
|
|
4854
|
+
};
|
|
4855
|
+
outputFormat: "json";
|
|
4856
|
+
status: 200;
|
|
4857
|
+
input: {
|
|
4858
|
+
param: {
|
|
4859
|
+
orgId: string;
|
|
4860
|
+
};
|
|
4861
|
+
} & {
|
|
4862
|
+
query?: {
|
|
4863
|
+
environment?: string | string[];
|
|
4864
|
+
} | undefined;
|
|
4865
|
+
};
|
|
4866
|
+
} | {
|
|
4392
4867
|
output: {
|
|
4393
4868
|
error: {
|
|
4394
|
-
code: "
|
|
4869
|
+
code: "api_key_malformed";
|
|
4395
4870
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4396
4871
|
message: string;
|
|
4397
4872
|
};
|
|
4398
4873
|
requestId: string;
|
|
4399
4874
|
};
|
|
4400
4875
|
outputFormat: "json";
|
|
4401
|
-
status:
|
|
4876
|
+
status: 400;
|
|
4402
4877
|
input: {
|
|
4403
4878
|
param: {
|
|
4404
4879
|
orgId: string;
|
|
@@ -4411,7 +4886,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4411
4886
|
} | {
|
|
4412
4887
|
output: {
|
|
4413
4888
|
error: {
|
|
4414
|
-
code: "
|
|
4889
|
+
code: "query_invalid";
|
|
4415
4890
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4416
4891
|
message: string;
|
|
4417
4892
|
};
|
|
@@ -4431,14 +4906,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4431
4906
|
} | {
|
|
4432
4907
|
output: {
|
|
4433
4908
|
error: {
|
|
4434
|
-
code: "
|
|
4909
|
+
code: "param_invalid";
|
|
4435
4910
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4436
4911
|
message: string;
|
|
4437
4912
|
};
|
|
4438
4913
|
requestId: string;
|
|
4439
4914
|
};
|
|
4440
4915
|
outputFormat: "json";
|
|
4441
|
-
status:
|
|
4916
|
+
status: 400;
|
|
4442
4917
|
input: {
|
|
4443
4918
|
param: {
|
|
4444
4919
|
orgId: string;
|
|
@@ -4451,14 +4926,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4451
4926
|
} | {
|
|
4452
4927
|
output: {
|
|
4453
4928
|
error: {
|
|
4454
|
-
code: "
|
|
4929
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
4455
4930
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4456
4931
|
message: string;
|
|
4457
4932
|
};
|
|
4458
4933
|
requestId: string;
|
|
4459
4934
|
};
|
|
4460
4935
|
outputFormat: "json";
|
|
4461
|
-
status:
|
|
4936
|
+
status: 401;
|
|
4462
4937
|
input: {
|
|
4463
4938
|
param: {
|
|
4464
4939
|
orgId: string;
|
|
@@ -4471,7 +4946,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4471
4946
|
} | {
|
|
4472
4947
|
output: {
|
|
4473
4948
|
error: {
|
|
4474
|
-
code: "
|
|
4949
|
+
code: "api_key_forbidden";
|
|
4475
4950
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4476
4951
|
message: string;
|
|
4477
4952
|
};
|
|
@@ -4511,14 +4986,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4511
4986
|
} | {
|
|
4512
4987
|
output: {
|
|
4513
4988
|
error: {
|
|
4514
|
-
code: "
|
|
4989
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
4515
4990
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4516
4991
|
message: string;
|
|
4517
4992
|
};
|
|
4518
4993
|
requestId: string;
|
|
4519
4994
|
};
|
|
4520
4995
|
outputFormat: "json";
|
|
4521
|
-
status:
|
|
4996
|
+
status: 429;
|
|
4522
4997
|
input: {
|
|
4523
4998
|
param: {
|
|
4524
4999
|
orgId: string;
|
|
@@ -4550,10 +5025,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4550
5025
|
};
|
|
4551
5026
|
} | {
|
|
4552
5027
|
output: {
|
|
4553
|
-
|
|
5028
|
+
error: {
|
|
5029
|
+
code: "upstream_error";
|
|
5030
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5031
|
+
message: string;
|
|
5032
|
+
};
|
|
5033
|
+
requestId: string;
|
|
4554
5034
|
};
|
|
4555
5035
|
outputFormat: "json";
|
|
4556
|
-
status:
|
|
5036
|
+
status: 502;
|
|
4557
5037
|
input: {
|
|
4558
5038
|
param: {
|
|
4559
5039
|
orgId: string;
|
|
@@ -4568,16 +5048,31 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4568
5048
|
} & {
|
|
4569
5049
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing/stripe/manage": {
|
|
4570
5050
|
$post: {
|
|
5051
|
+
output: {
|
|
5052
|
+
url: string;
|
|
5053
|
+
};
|
|
5054
|
+
outputFormat: "json";
|
|
5055
|
+
status: 200;
|
|
5056
|
+
input: {
|
|
5057
|
+
param: {
|
|
5058
|
+
orgId: string;
|
|
5059
|
+
};
|
|
5060
|
+
} & {
|
|
5061
|
+
query?: {
|
|
5062
|
+
environment?: string | string[];
|
|
5063
|
+
} | undefined;
|
|
5064
|
+
};
|
|
5065
|
+
} | {
|
|
4571
5066
|
output: {
|
|
4572
5067
|
error: {
|
|
4573
|
-
code: "
|
|
5068
|
+
code: "api_key_malformed";
|
|
4574
5069
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4575
5070
|
message: string;
|
|
4576
5071
|
};
|
|
4577
5072
|
requestId: string;
|
|
4578
5073
|
};
|
|
4579
5074
|
outputFormat: "json";
|
|
4580
|
-
status:
|
|
5075
|
+
status: 400;
|
|
4581
5076
|
input: {
|
|
4582
5077
|
param: {
|
|
4583
5078
|
orgId: string;
|
|
@@ -4590,7 +5085,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4590
5085
|
} | {
|
|
4591
5086
|
output: {
|
|
4592
5087
|
error: {
|
|
4593
|
-
code: "
|
|
5088
|
+
code: "query_invalid";
|
|
4594
5089
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4595
5090
|
message: string;
|
|
4596
5091
|
};
|
|
@@ -4610,14 +5105,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4610
5105
|
} | {
|
|
4611
5106
|
output: {
|
|
4612
5107
|
error: {
|
|
4613
|
-
code: "
|
|
5108
|
+
code: "param_invalid";
|
|
4614
5109
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4615
5110
|
message: string;
|
|
4616
5111
|
};
|
|
4617
5112
|
requestId: string;
|
|
4618
5113
|
};
|
|
4619
5114
|
outputFormat: "json";
|
|
4620
|
-
status:
|
|
5115
|
+
status: 400;
|
|
4621
5116
|
input: {
|
|
4622
5117
|
param: {
|
|
4623
5118
|
orgId: string;
|
|
@@ -4630,14 +5125,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4630
5125
|
} | {
|
|
4631
5126
|
output: {
|
|
4632
5127
|
error: {
|
|
4633
|
-
code: "
|
|
5128
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
4634
5129
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4635
5130
|
message: string;
|
|
4636
5131
|
};
|
|
4637
5132
|
requestId: string;
|
|
4638
5133
|
};
|
|
4639
5134
|
outputFormat: "json";
|
|
4640
|
-
status:
|
|
5135
|
+
status: 401;
|
|
4641
5136
|
input: {
|
|
4642
5137
|
param: {
|
|
4643
5138
|
orgId: string;
|
|
@@ -4650,7 +5145,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4650
5145
|
} | {
|
|
4651
5146
|
output: {
|
|
4652
5147
|
error: {
|
|
4653
|
-
code: "
|
|
5148
|
+
code: "api_key_forbidden";
|
|
4654
5149
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4655
5150
|
message: string;
|
|
4656
5151
|
};
|
|
@@ -4690,14 +5185,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4690
5185
|
} | {
|
|
4691
5186
|
output: {
|
|
4692
5187
|
error: {
|
|
4693
|
-
code: "
|
|
5188
|
+
code: "billing_not_found";
|
|
4694
5189
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4695
5190
|
message: string;
|
|
4696
5191
|
};
|
|
4697
5192
|
requestId: string;
|
|
4698
5193
|
};
|
|
4699
5194
|
outputFormat: "json";
|
|
4700
|
-
status:
|
|
5195
|
+
status: 404;
|
|
4701
5196
|
input: {
|
|
4702
5197
|
param: {
|
|
4703
5198
|
orgId: string;
|
|
@@ -4710,14 +5205,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4710
5205
|
} | {
|
|
4711
5206
|
output: {
|
|
4712
5207
|
error: {
|
|
4713
|
-
code: "
|
|
5208
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
4714
5209
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4715
5210
|
message: string;
|
|
4716
5211
|
};
|
|
4717
5212
|
requestId: string;
|
|
4718
5213
|
};
|
|
4719
5214
|
outputFormat: "json";
|
|
4720
|
-
status:
|
|
5215
|
+
status: 429;
|
|
4721
5216
|
input: {
|
|
4722
5217
|
param: {
|
|
4723
5218
|
orgId: string;
|
|
@@ -4729,10 +5224,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4729
5224
|
};
|
|
4730
5225
|
} | {
|
|
4731
5226
|
output: {
|
|
4732
|
-
|
|
5227
|
+
error: {
|
|
5228
|
+
code: "billing_unconfigured";
|
|
5229
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5230
|
+
message: string;
|
|
5231
|
+
};
|
|
5232
|
+
requestId: string;
|
|
4733
5233
|
};
|
|
4734
5234
|
outputFormat: "json";
|
|
4735
|
-
status:
|
|
5235
|
+
status: 501;
|
|
4736
5236
|
input: {
|
|
4737
5237
|
param: {
|
|
4738
5238
|
orgId: string;
|
|
@@ -4745,14 +5245,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4745
5245
|
} | {
|
|
4746
5246
|
output: {
|
|
4747
5247
|
error: {
|
|
4748
|
-
code: "
|
|
5248
|
+
code: "upstream_error";
|
|
4749
5249
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4750
5250
|
message: string;
|
|
4751
5251
|
};
|
|
4752
5252
|
requestId: string;
|
|
4753
5253
|
};
|
|
4754
5254
|
outputFormat: "json";
|
|
4755
|
-
status:
|
|
5255
|
+
status: 502;
|
|
4756
5256
|
input: {
|
|
4757
5257
|
param: {
|
|
4758
5258
|
orgId: string;
|
|
@@ -4767,16 +5267,43 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4767
5267
|
} & {
|
|
4768
5268
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing/payment-methods": {
|
|
4769
5269
|
$get: {
|
|
5270
|
+
output: {
|
|
5271
|
+
data: {
|
|
5272
|
+
card?: {
|
|
5273
|
+
brand: string;
|
|
5274
|
+
expMonth: number;
|
|
5275
|
+
expYear: number;
|
|
5276
|
+
last4: string;
|
|
5277
|
+
} | undefined;
|
|
5278
|
+
createdAt: string;
|
|
5279
|
+
default: boolean;
|
|
5280
|
+
id: string;
|
|
5281
|
+
provider: "stripe";
|
|
5282
|
+
type: string;
|
|
5283
|
+
}[];
|
|
5284
|
+
};
|
|
5285
|
+
outputFormat: "json";
|
|
5286
|
+
status: 200;
|
|
5287
|
+
input: {
|
|
5288
|
+
param: {
|
|
5289
|
+
orgId: string;
|
|
5290
|
+
};
|
|
5291
|
+
} & {
|
|
5292
|
+
query?: {
|
|
5293
|
+
environment?: string | string[];
|
|
5294
|
+
} | undefined;
|
|
5295
|
+
};
|
|
5296
|
+
} | {
|
|
4770
5297
|
output: {
|
|
4771
5298
|
error: {
|
|
4772
|
-
code: "
|
|
5299
|
+
code: "api_key_malformed";
|
|
4773
5300
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4774
5301
|
message: string;
|
|
4775
5302
|
};
|
|
4776
5303
|
requestId: string;
|
|
4777
5304
|
};
|
|
4778
5305
|
outputFormat: "json";
|
|
4779
|
-
status:
|
|
5306
|
+
status: 400;
|
|
4780
5307
|
input: {
|
|
4781
5308
|
param: {
|
|
4782
5309
|
orgId: string;
|
|
@@ -4789,7 +5316,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4789
5316
|
} | {
|
|
4790
5317
|
output: {
|
|
4791
5318
|
error: {
|
|
4792
|
-
code: "
|
|
5319
|
+
code: "query_invalid";
|
|
4793
5320
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4794
5321
|
message: string;
|
|
4795
5322
|
};
|
|
@@ -4809,14 +5336,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4809
5336
|
} | {
|
|
4810
5337
|
output: {
|
|
4811
5338
|
error: {
|
|
4812
|
-
code: "
|
|
5339
|
+
code: "param_invalid";
|
|
4813
5340
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4814
5341
|
message: string;
|
|
4815
5342
|
};
|
|
4816
5343
|
requestId: string;
|
|
4817
5344
|
};
|
|
4818
5345
|
outputFormat: "json";
|
|
4819
|
-
status:
|
|
5346
|
+
status: 400;
|
|
4820
5347
|
input: {
|
|
4821
5348
|
param: {
|
|
4822
5349
|
orgId: string;
|
|
@@ -4829,14 +5356,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4829
5356
|
} | {
|
|
4830
5357
|
output: {
|
|
4831
5358
|
error: {
|
|
4832
|
-
code: "
|
|
5359
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
4833
5360
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4834
5361
|
message: string;
|
|
4835
5362
|
};
|
|
4836
5363
|
requestId: string;
|
|
4837
5364
|
};
|
|
4838
5365
|
outputFormat: "json";
|
|
4839
|
-
status:
|
|
5366
|
+
status: 401;
|
|
4840
5367
|
input: {
|
|
4841
5368
|
param: {
|
|
4842
5369
|
orgId: string;
|
|
@@ -4849,7 +5376,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4849
5376
|
} | {
|
|
4850
5377
|
output: {
|
|
4851
5378
|
error: {
|
|
4852
|
-
code: "
|
|
5379
|
+
code: "api_key_forbidden";
|
|
4853
5380
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4854
5381
|
message: string;
|
|
4855
5382
|
};
|
|
@@ -4889,14 +5416,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4889
5416
|
} | {
|
|
4890
5417
|
output: {
|
|
4891
5418
|
error: {
|
|
4892
|
-
code: "
|
|
5419
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
4893
5420
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4894
5421
|
message: string;
|
|
4895
5422
|
};
|
|
4896
5423
|
requestId: string;
|
|
4897
5424
|
};
|
|
4898
5425
|
outputFormat: "json";
|
|
4899
|
-
status:
|
|
5426
|
+
status: 429;
|
|
4900
5427
|
input: {
|
|
4901
5428
|
param: {
|
|
4902
5429
|
orgId: string;
|
|
@@ -4928,22 +5455,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4928
5455
|
};
|
|
4929
5456
|
} | {
|
|
4930
5457
|
output: {
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
} | undefined;
|
|
4938
|
-
createdAt: string;
|
|
4939
|
-
default: boolean;
|
|
4940
|
-
id: string;
|
|
4941
|
-
provider: "stripe";
|
|
4942
|
-
type: string;
|
|
4943
|
-
}[];
|
|
5458
|
+
error: {
|
|
5459
|
+
code: "upstream_error";
|
|
5460
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5461
|
+
message: string;
|
|
5462
|
+
};
|
|
5463
|
+
requestId: string;
|
|
4944
5464
|
};
|
|
4945
5465
|
outputFormat: "json";
|
|
4946
|
-
status:
|
|
5466
|
+
status: 502;
|
|
4947
5467
|
input: {
|
|
4948
5468
|
param: {
|
|
4949
5469
|
orgId: string;
|
|
@@ -4958,16 +5478,47 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4958
5478
|
} & {
|
|
4959
5479
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/billing/payment-methods/:methodId{pm_[A-Za-z0-9_-]+}": {
|
|
4960
5480
|
$delete: {
|
|
5481
|
+
output: {
|
|
5482
|
+
spend?: {
|
|
5483
|
+
amount: string;
|
|
5484
|
+
currency: "usd";
|
|
5485
|
+
period: "month";
|
|
5486
|
+
} | undefined;
|
|
5487
|
+
spendLimit?: {
|
|
5488
|
+
amount: string;
|
|
5489
|
+
currency: "usd";
|
|
5490
|
+
period: "month";
|
|
5491
|
+
} | undefined;
|
|
5492
|
+
status: "active" | "canceled" | "none" | "past_due";
|
|
5493
|
+
txFeeLimit?: {
|
|
5494
|
+
amount: string;
|
|
5495
|
+
currency: "usd";
|
|
5496
|
+
} | undefined;
|
|
5497
|
+
updatedAt?: string | undefined;
|
|
5498
|
+
};
|
|
5499
|
+
outputFormat: "json";
|
|
5500
|
+
status: 200;
|
|
5501
|
+
input: {
|
|
5502
|
+
param: {
|
|
5503
|
+
methodId: string;
|
|
5504
|
+
orgId: string;
|
|
5505
|
+
};
|
|
5506
|
+
} & {
|
|
5507
|
+
query?: {
|
|
5508
|
+
environment?: string | string[];
|
|
5509
|
+
} | undefined;
|
|
5510
|
+
};
|
|
5511
|
+
} | {
|
|
4961
5512
|
output: {
|
|
4962
5513
|
error: {
|
|
4963
|
-
code: "
|
|
5514
|
+
code: "api_key_malformed";
|
|
4964
5515
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4965
5516
|
message: string;
|
|
4966
5517
|
};
|
|
4967
5518
|
requestId: string;
|
|
4968
5519
|
};
|
|
4969
5520
|
outputFormat: "json";
|
|
4970
|
-
status:
|
|
5521
|
+
status: 400;
|
|
4971
5522
|
input: {
|
|
4972
5523
|
param: {
|
|
4973
5524
|
methodId: string;
|
|
@@ -4981,7 +5532,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
4981
5532
|
} | {
|
|
4982
5533
|
output: {
|
|
4983
5534
|
error: {
|
|
4984
|
-
code: "
|
|
5535
|
+
code: "query_invalid";
|
|
4985
5536
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
4986
5537
|
message: string;
|
|
4987
5538
|
};
|
|
@@ -5002,14 +5553,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5002
5553
|
} | {
|
|
5003
5554
|
output: {
|
|
5004
5555
|
error: {
|
|
5005
|
-
code: "
|
|
5556
|
+
code: "param_invalid";
|
|
5006
5557
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5007
5558
|
message: string;
|
|
5008
5559
|
};
|
|
5009
5560
|
requestId: string;
|
|
5010
5561
|
};
|
|
5011
5562
|
outputFormat: "json";
|
|
5012
|
-
status:
|
|
5563
|
+
status: 400;
|
|
5013
5564
|
input: {
|
|
5014
5565
|
param: {
|
|
5015
5566
|
methodId: string;
|
|
@@ -5023,14 +5574,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5023
5574
|
} | {
|
|
5024
5575
|
output: {
|
|
5025
5576
|
error: {
|
|
5026
|
-
code: "
|
|
5577
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
5027
5578
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5028
5579
|
message: string;
|
|
5029
5580
|
};
|
|
5030
5581
|
requestId: string;
|
|
5031
5582
|
};
|
|
5032
5583
|
outputFormat: "json";
|
|
5033
|
-
status:
|
|
5584
|
+
status: 401;
|
|
5034
5585
|
input: {
|
|
5035
5586
|
param: {
|
|
5036
5587
|
methodId: string;
|
|
@@ -5044,7 +5595,7 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5044
5595
|
} | {
|
|
5045
5596
|
output: {
|
|
5046
5597
|
error: {
|
|
5047
|
-
code: "
|
|
5598
|
+
code: "api_key_forbidden";
|
|
5048
5599
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5049
5600
|
message: string;
|
|
5050
5601
|
};
|
|
@@ -5086,14 +5637,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5086
5637
|
} | {
|
|
5087
5638
|
output: {
|
|
5088
5639
|
error: {
|
|
5089
|
-
code: "
|
|
5640
|
+
code: "billing_not_found";
|
|
5090
5641
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5091
5642
|
message: string;
|
|
5092
5643
|
};
|
|
5093
5644
|
requestId: string;
|
|
5094
5645
|
};
|
|
5095
5646
|
outputFormat: "json";
|
|
5096
|
-
status:
|
|
5647
|
+
status: 404;
|
|
5097
5648
|
input: {
|
|
5098
5649
|
param: {
|
|
5099
5650
|
methodId: string;
|
|
@@ -5107,14 +5658,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5107
5658
|
} | {
|
|
5108
5659
|
output: {
|
|
5109
5660
|
error: {
|
|
5110
|
-
code: "
|
|
5661
|
+
code: "payment_method_not_found";
|
|
5111
5662
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5112
5663
|
message: string;
|
|
5113
5664
|
};
|
|
5114
5665
|
requestId: string;
|
|
5115
5666
|
};
|
|
5116
5667
|
outputFormat: "json";
|
|
5117
|
-
status:
|
|
5668
|
+
status: 404;
|
|
5118
5669
|
input: {
|
|
5119
5670
|
param: {
|
|
5120
5671
|
methodId: string;
|
|
@@ -5127,25 +5678,15 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5127
5678
|
};
|
|
5128
5679
|
} | {
|
|
5129
5680
|
output: {
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
}
|
|
5135
|
-
|
|
5136
|
-
amount: string;
|
|
5137
|
-
currency: "usd";
|
|
5138
|
-
period: "month";
|
|
5139
|
-
} | undefined;
|
|
5140
|
-
status: "active" | "canceled" | "none" | "past_due";
|
|
5141
|
-
txFeeLimit?: {
|
|
5142
|
-
amount: string;
|
|
5143
|
-
currency: "usd";
|
|
5144
|
-
} | undefined;
|
|
5145
|
-
updatedAt?: string | undefined;
|
|
5681
|
+
error: {
|
|
5682
|
+
code: "payment_required" | "rate_limit_exceeded";
|
|
5683
|
+
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5684
|
+
message: string;
|
|
5685
|
+
};
|
|
5686
|
+
requestId: string;
|
|
5146
5687
|
};
|
|
5147
5688
|
outputFormat: "json";
|
|
5148
|
-
status:
|
|
5689
|
+
status: 429;
|
|
5149
5690
|
input: {
|
|
5150
5691
|
param: {
|
|
5151
5692
|
methodId: string;
|
|
@@ -5159,14 +5700,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5159
5700
|
} | {
|
|
5160
5701
|
output: {
|
|
5161
5702
|
error: {
|
|
5162
|
-
code: "
|
|
5703
|
+
code: "billing_unconfigured";
|
|
5163
5704
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5164
5705
|
message: string;
|
|
5165
5706
|
};
|
|
5166
5707
|
requestId: string;
|
|
5167
5708
|
};
|
|
5168
5709
|
outputFormat: "json";
|
|
5169
|
-
status:
|
|
5710
|
+
status: 501;
|
|
5170
5711
|
input: {
|
|
5171
5712
|
param: {
|
|
5172
5713
|
methodId: string;
|
|
@@ -5180,14 +5721,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5180
5721
|
} | {
|
|
5181
5722
|
output: {
|
|
5182
5723
|
error: {
|
|
5183
|
-
code: "
|
|
5724
|
+
code: "upstream_error";
|
|
5184
5725
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5185
5726
|
message: string;
|
|
5186
5727
|
};
|
|
5187
5728
|
requestId: string;
|
|
5188
5729
|
};
|
|
5189
5730
|
outputFormat: "json";
|
|
5190
|
-
status:
|
|
5731
|
+
status: 502;
|
|
5191
5732
|
input: {
|
|
5192
5733
|
param: {
|
|
5193
5734
|
methodId: string;
|
|
@@ -5203,16 +5744,23 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5203
5744
|
} & {
|
|
5204
5745
|
"/stripe/webhook": {
|
|
5205
5746
|
$post: {
|
|
5747
|
+
output: {
|
|
5748
|
+
received: true;
|
|
5749
|
+
};
|
|
5750
|
+
outputFormat: "json";
|
|
5751
|
+
status: 200;
|
|
5752
|
+
input: {};
|
|
5753
|
+
} | {
|
|
5206
5754
|
output: {
|
|
5207
5755
|
error: {
|
|
5208
|
-
code: "
|
|
5756
|
+
code: "signature_invalid";
|
|
5209
5757
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5210
5758
|
message: string;
|
|
5211
5759
|
};
|
|
5212
5760
|
requestId: string;
|
|
5213
5761
|
};
|
|
5214
5762
|
outputFormat: "json";
|
|
5215
|
-
status:
|
|
5763
|
+
status: 400;
|
|
5216
5764
|
input: {};
|
|
5217
5765
|
} | {
|
|
5218
5766
|
output: {
|
|
@@ -5229,21 +5777,14 @@ export declare function management(options?: management.Options): import("hono/h
|
|
|
5229
5777
|
} | {
|
|
5230
5778
|
output: {
|
|
5231
5779
|
error: {
|
|
5232
|
-
code: "
|
|
5780
|
+
code: "upstream_error";
|
|
5233
5781
|
details?: readonly import("../../internal/Response.js").error.Detail[] | undefined;
|
|
5234
5782
|
message: string;
|
|
5235
5783
|
};
|
|
5236
5784
|
requestId: string;
|
|
5237
5785
|
};
|
|
5238
5786
|
outputFormat: "json";
|
|
5239
|
-
status:
|
|
5240
|
-
input: {};
|
|
5241
|
-
} | {
|
|
5242
|
-
output: {
|
|
5243
|
-
received: true;
|
|
5244
|
-
};
|
|
5245
|
-
outputFormat: "json";
|
|
5246
|
-
status: 200;
|
|
5787
|
+
status: 502;
|
|
5247
5788
|
input: {};
|
|
5248
5789
|
};
|
|
5249
5790
|
};
|