tapimo 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.d.ts +13987 -5755
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js.map +1 -1
- package/dist/admin/App.d.ts +910 -412
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +4 -0
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/early-access.d.ts +148 -0
- package/dist/admin/apps/early-access.d.ts.map +1 -0
- package/dist/admin/apps/early-access.js +133 -0
- package/dist/admin/apps/early-access.js.map +1 -0
- package/dist/admin/apps/verified-tokens.d.ts +643 -118
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +214 -1
- package/dist/admin/apps/verified-tokens.js.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 +45 -33
- package/dist/admin/ui.generated.js.map +1 -1
- package/dist/apps/data/App.d.ts +3733 -2428
- package/dist/apps/data/App.d.ts.map +1 -1
- package/dist/apps/data/App.js +11 -6
- package/dist/apps/data/App.js.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts +34 -1
- package/dist/apps/data/FundingQuoteProviders.d.ts.map +1 -1
- package/dist/apps/data/FundingQuoteProviders.js +193 -2
- package/dist/apps/data/FundingQuoteProviders.js.map +1 -1
- package/dist/apps/data/FxOracle.d.ts +71 -0
- package/dist/apps/data/FxOracle.d.ts.map +1 -0
- package/dist/apps/data/FxOracle.js +97 -0
- package/dist/apps/data/FxOracle.js.map +1 -0
- package/dist/apps/data/index.d.ts +1 -0
- package/dist/apps/data/index.d.ts.map +1 -1
- package/dist/apps/data/index.js +1 -0
- package/dist/apps/data/index.js.map +1 -1
- package/dist/apps/data/routes/activities.d.ts +3575 -1358
- package/dist/apps/data/routes/activities.d.ts.map +1 -1
- package/dist/apps/data/routes/activities.js +230 -88
- package/dist/apps/data/routes/activities.js.map +1 -1
- package/dist/apps/data/routes/addresses.d.ts +963 -342
- package/dist/apps/data/routes/addresses.d.ts.map +1 -1
- package/dist/apps/data/routes/addresses.js +11 -9
- package/dist/apps/data/routes/addresses.js.map +1 -1
- package/dist/apps/data/routes/balances.d.ts +108 -57
- package/dist/apps/data/routes/balances.d.ts.map +1 -1
- package/dist/apps/data/routes/balances.js +88 -45
- package/dist/apps/data/routes/balances.js.map +1 -1
- package/dist/apps/data/routes/coingecko.d.ts +169 -169
- package/dist/apps/data/routes/exchanges.d.ts +952 -201
- package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
- package/dist/apps/data/routes/exchanges.js +518 -76
- package/dist/apps/data/routes/exchanges.js.map +1 -1
- package/dist/apps/data/routes/fee-amm.d.ts +24 -24
- package/dist/apps/data/routes/funding.d.ts +8 -2
- package/dist/apps/data/routes/funding.d.ts.map +1 -1
- package/dist/apps/data/routes/funding.js +32 -6
- 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/receipts.d.ts +392 -315
- package/dist/apps/data/routes/receipts.d.ts.map +1 -1
- package/dist/apps/data/routes/receipts.js +152 -77
- package/dist/apps/data/routes/receipts.js.map +1 -1
- package/dist/apps/data/routes/tokens.d.ts +166 -173
- package/dist/apps/data/routes/tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/tokens.js +14 -12
- package/dist/apps/data/routes/tokens.js.map +1 -1
- package/dist/apps/data/routes/transactions.d.ts +277 -536
- package/dist/apps/data/routes/transactions.d.ts.map +1 -1
- package/dist/apps/data/routes/transactions.js +96 -77
- package/dist/apps/data/routes/transactions.js.map +1 -1
- package/dist/apps/data/routes/transfers.d.ts +82 -17
- package/dist/apps/data/routes/transfers.d.ts.map +1 -1
- package/dist/apps/data/routes/transfers.js +70 -13
- package/dist/apps/data/routes/transfers.js.map +1 -1
- package/dist/apps/data/routes/valuation.d.ts +307 -0
- package/dist/apps/data/routes/valuation.d.ts.map +1 -0
- package/dist/apps/data/routes/valuation.js +292 -0
- package/dist/apps/data/routes/valuation.js.map +1 -0
- package/dist/apps/data/routes/verified-tokens.d.ts.map +1 -1
- package/dist/apps/data/routes/verified-tokens.js +7 -5
- package/dist/apps/data/routes/verified-tokens.js.map +1 -1
- package/dist/apps/data/routes/webhooks.d.ts +459 -479
- package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
- package/dist/apps/data/routes/webhooks.js +124 -25
- package/dist/apps/data/routes/webhooks.js.map +1 -1
- package/dist/apps/index.d.ts +1 -1
- package/dist/apps/index.d.ts.map +1 -1
- package/dist/apps/index.js +1 -1
- package/dist/apps/index.js.map +1 -1
- package/dist/apps/management/App.d.ts +8606 -1681
- package/dist/apps/management/App.d.ts.map +1 -1
- package/dist/apps/management/App.js +12 -1
- package/dist/apps/management/App.js.map +1 -1
- package/dist/apps/management/routes/api-keys.d.ts +23 -0
- package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
- package/dist/apps/management/routes/api-keys.js +5 -3
- package/dist/apps/management/routes/api-keys.js.map +1 -1
- package/dist/apps/management/routes/billing.d.ts +88 -48
- package/dist/apps/management/routes/billing.d.ts.map +1 -1
- package/dist/apps/management/routes/billing.js +10 -2
- package/dist/apps/management/routes/billing.js.map +1 -1
- package/dist/apps/management/routes/faucet.d.ts +218 -0
- package/dist/apps/management/routes/faucet.d.ts.map +1 -0
- package/dist/apps/management/routes/faucet.js +139 -0
- package/dist/apps/management/routes/faucet.js.map +1 -0
- package/dist/apps/management/routes/invitations.d.ts +121 -121
- package/dist/apps/management/routes/invitations.d.ts.map +1 -1
- package/dist/apps/management/routes/invitations.js +3 -0
- package/dist/apps/management/routes/invitations.js.map +1 -1
- package/dist/apps/management/routes/invite-links.d.ts +197 -168
- package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
- package/dist/apps/management/routes/invite-links.js +26 -1
- package/dist/apps/management/routes/invite-links.js.map +1 -1
- package/dist/apps/management/routes/me.d.ts +2 -0
- package/dist/apps/management/routes/me.d.ts.map +1 -1
- package/dist/apps/management/routes/me.js +4 -0
- package/dist/apps/management/routes/me.js.map +1 -1
- package/dist/apps/management/routes/members.d.ts +49 -49
- package/dist/apps/management/routes/orgs.d.ts +91 -91
- package/dist/apps/management/routes/projects.d.ts +115 -115
- package/dist/apps/management/routes/usage.d.ts +35 -32
- package/dist/apps/management/routes/usage.d.ts.map +1 -1
- package/dist/apps/management/routes/usage.js +4 -0
- package/dist/apps/management/routes/usage.js.map +1 -1
- package/dist/apps/management/routes/verified-token-requests.d.ts +697 -0
- package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -0
- package/dist/apps/management/routes/verified-token-requests.js +271 -0
- package/dist/apps/management/routes/verified-token-requests.js.map +1 -0
- package/dist/apps/management/routes/webhooks.d.ts +6977 -0
- package/dist/apps/management/routes/webhooks.d.ts.map +1 -0
- package/dist/apps/management/routes/webhooks.js +573 -0
- package/dist/apps/management/routes/webhooks.js.map +1 -0
- package/dist/apps/mcp.d.ts +9 -2
- package/dist/apps/mcp.d.ts.map +1 -1
- package/dist/apps/mcp.js +9 -4
- package/dist/apps/mcp.js.map +1 -1
- package/dist/cli/Cli.d.ts.map +1 -1
- package/dist/cli/Cli.js +7 -2
- package/dist/cli/Cli.js.map +1 -1
- package/dist/db/Db.d.ts +4 -0
- package/dist/db/Db.d.ts.map +1 -1
- package/dist/db/Db.js +83 -0
- package/dist/db/Db.js.map +1 -1
- package/dist/db/Schema.d.ts +41 -0
- package/dist/db/Schema.d.ts.map +1 -1
- package/dist/db/Schema.js +45 -0
- package/dist/db/Schema.js.map +1 -1
- package/dist/db/tables/earlyAccess.d.ts +50 -0
- package/dist/db/tables/earlyAccess.d.ts.map +1 -0
- package/dist/db/tables/earlyAccess.js +63 -0
- package/dist/db/tables/earlyAccess.js.map +1 -0
- package/dist/db/tables/invitations.d.ts +12 -1
- package/dist/db/tables/invitations.d.ts.map +1 -1
- package/dist/db/tables/invitations.js +23 -0
- package/dist/db/tables/invitations.js.map +1 -1
- package/dist/db/tables/inviteLinks.d.ts +10 -2
- package/dist/db/tables/inviteLinks.d.ts.map +1 -1
- package/dist/db/tables/inviteLinks.js +10 -1
- package/dist/db/tables/inviteLinks.js.map +1 -1
- package/dist/db/tables/sponsoredTransactions.d.ts +2 -0
- package/dist/db/tables/sponsoredTransactions.d.ts.map +1 -1
- package/dist/db/tables/sponsoredTransactions.js +2 -0
- package/dist/db/tables/sponsoredTransactions.js.map +1 -1
- package/dist/db/tables/verifiedTokenRequests.d.ts +94 -0
- package/dist/db/tables/verifiedTokenRequests.d.ts.map +1 -0
- package/dist/db/tables/verifiedTokenRequests.js +120 -0
- package/dist/db/tables/verifiedTokenRequests.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +14 -0
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
- package/dist/db/tables/webhookSubscriptions.js +16 -0
- package/dist/db/tables/webhookSubscriptions.js.map +1 -1
- package/dist/internal/Auth.d.ts +43 -2
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +60 -45
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/FundingQuotes.d.ts +69 -15
- package/dist/internal/FundingQuotes.d.ts.map +1 -1
- package/dist/internal/FundingQuotes.js +74 -25
- package/dist/internal/FundingQuotes.js.map +1 -1
- package/dist/internal/Log.d.ts +19 -1
- package/dist/internal/Log.d.ts.map +1 -1
- package/dist/internal/Log.js +2 -0
- package/dist/internal/Log.js.map +1 -1
- package/dist/internal/MetricSink.d.ts.map +1 -1
- package/dist/internal/MetricSink.js +9 -0
- package/dist/internal/MetricSink.js.map +1 -1
- package/dist/internal/OpenApi.d.ts +2 -2
- package/dist/internal/OpenApi.d.ts.map +1 -1
- package/dist/internal/OpenApi.js +3 -0
- package/dist/internal/OpenApi.js.map +1 -1
- package/dist/internal/Schema.d.ts +14 -5
- package/dist/internal/Schema.d.ts.map +1 -1
- package/dist/internal/Schema.js +23 -5
- package/dist/internal/Schema.js.map +1 -1
- package/dist/internal/Value.d.ts +18 -0
- package/dist/internal/Value.d.ts.map +1 -1
- package/dist/internal/Value.js +11 -1
- package/dist/internal/Value.js.map +1 -1
- package/dist/internal/VerifiedTokens.d.ts.map +1 -1
- package/dist/internal/VerifiedTokens.js +10 -1
- package/dist/internal/VerifiedTokens.js.map +1 -1
- package/dist/internal/Viem.d.ts +1 -1
- package/dist/internal/Webhooks.d.ts +24 -3
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +34 -8
- package/dist/internal/Webhooks.js.map +1 -1
- package/package.json +2 -2
- package/src/App.ts +9 -1
- package/src/Client.test-d.ts +638 -6
- package/src/admin/App.ts +4 -0
- package/src/admin/apps/early-access.test.ts +125 -0
- package/src/admin/apps/early-access.ts +175 -0
- package/src/admin/apps/verified-tokens.test.ts +201 -0
- package/src/admin/apps/verified-tokens.ts +532 -286
- package/src/admin/ui/plugin.ts +2 -1
- package/src/admin/ui/src/lib/early-access.ts +63 -0
- package/src/admin/ui/src/lib/verified-tokens.ts +79 -0
- package/src/admin/ui/src/routeTree.gen.ts +33 -2
- package/src/admin/ui/src/routes/__root.tsx +2 -1
- package/src/admin/ui/src/routes/early-access.tsx +157 -0
- package/src/admin/ui/src/routes/verified-tokens.tsx +230 -19
- package/src/admin/ui.generated.ts +48 -33
- package/src/apps/data/App.ts +22 -14
- package/src/apps/data/FundingQuoteProviders.test.ts +298 -0
- package/src/apps/data/FundingQuoteProviders.ts +257 -4
- package/src/apps/data/FxOracle.test.ts +118 -0
- package/src/apps/data/FxOracle.ts +153 -0
- package/src/apps/data/index.ts +1 -0
- package/src/apps/data/routes/activities.test.ts +173 -3
- package/src/apps/data/routes/activities.ts +403 -132
- package/src/apps/data/routes/addresses.ts +19 -9
- package/src/apps/data/routes/balances.test.ts +144 -11
- package/src/apps/data/routes/balances.ts +140 -51
- package/src/apps/data/routes/exchanges.test.ts +540 -9
- package/src/apps/data/routes/exchanges.ts +690 -103
- package/src/apps/data/routes/funding.test.ts +84 -0
- package/src/apps/data/routes/funding.ts +38 -6
- package/src/apps/data/routes/receipts.test.ts +125 -23
- package/src/apps/data/routes/receipts.ts +205 -100
- package/src/apps/data/routes/tokens.test.ts +43 -0
- package/src/apps/data/routes/tokens.ts +27 -12
- package/src/apps/data/routes/transactions.test.ts +72 -19
- package/src/apps/data/routes/transactions.ts +162 -92
- package/src/apps/data/routes/transfers.test.ts +146 -4
- package/src/apps/data/routes/transfers.ts +91 -13
- package/src/apps/data/routes/valuation.test.ts +422 -0
- package/src/apps/data/routes/valuation.ts +423 -0
- package/src/apps/data/routes/verified-tokens.ts +14 -2
- package/src/apps/data/routes/webhooks.test.ts +56 -8
- package/src/apps/data/routes/webhooks.ts +144 -27
- package/src/apps/index.ts +1 -1
- package/src/apps/management/App.ts +13 -0
- package/src/apps/management/routes/api-keys.test.ts +87 -0
- package/src/apps/management/routes/api-keys.ts +4 -3
- package/src/apps/management/routes/billing.test.ts +112 -1
- package/src/apps/management/routes/billing.ts +7 -2
- package/src/apps/management/routes/faucet.test.ts +79 -0
- package/src/apps/management/routes/faucet.ts +185 -0
- package/src/apps/management/routes/invitations.test.ts +172 -0
- package/src/apps/management/routes/invitations.ts +3 -0
- package/src/apps/management/routes/invite-links.test.ts +117 -0
- package/src/apps/management/routes/invite-links.ts +43 -1
- package/src/apps/management/routes/me.test.ts +140 -88
- package/src/apps/management/routes/me.ts +6 -0
- package/src/apps/management/routes/usage.test.ts +6 -0
- package/src/apps/management/routes/usage.ts +7 -0
- package/src/apps/management/routes/verified-token-requests.test.ts +377 -0
- package/src/apps/management/routes/verified-token-requests.ts +397 -0
- package/src/apps/management/routes/webhooks.test.ts +426 -0
- package/src/apps/management/routes/webhooks.ts +672 -0
- package/src/apps/mcp.test.ts +13 -0
- package/src/apps/mcp.ts +18 -5
- package/src/cli/Cli.test.ts +36 -0
- package/src/cli/Cli.ts +7 -2
- package/src/db/Db.test.ts +19 -0
- package/src/db/Db.ts +95 -0
- package/src/db/Schema.ts +53 -0
- package/src/db/tables/earlyAccess.ts +86 -0
- package/src/db/tables/invitations.ts +26 -1
- package/src/db/tables/inviteLinks.ts +22 -3
- package/src/db/tables/sponsoredTransactions.ts +4 -0
- package/src/db/tables/verifiedTokenRequests.test.ts +200 -0
- package/src/db/tables/verifiedTokenRequests.ts +182 -0
- package/src/db/tables/webhookSubscriptions.ts +31 -0
- package/src/internal/Auth.ts +73 -45
- package/src/internal/FundingQuotes.test.ts +143 -1
- package/src/internal/FundingQuotes.ts +95 -28
- package/src/internal/Log.test-d.ts +21 -0
- package/src/internal/Log.test.ts +50 -0
- package/src/internal/Log.ts +24 -1
- package/src/internal/MetricSink.test.ts +160 -0
- package/src/internal/MetricSink.ts +10 -0
- package/src/internal/OpenApi.ts +3 -0
- package/src/internal/Schema.ts +50 -5
- package/src/internal/Value.test.ts +20 -0
- package/src/internal/Value.ts +24 -1
- package/src/internal/VerifiedTokens.ts +9 -1
- package/src/internal/Webhooks.test.ts +140 -0
- package/src/internal/Webhooks.ts +53 -9
|
@@ -5,6 +5,7 @@ import type { Environment } from '../App.js';
|
|
|
5
5
|
export declare namespace schema {
|
|
6
6
|
/** Management representation, including the recopyable bearer id. */
|
|
7
7
|
const InviteLink: z.ZodMiniObject<{
|
|
8
|
+
allowedEmailDomains: z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
8
9
|
createdAt: z.ZodMiniString<string>;
|
|
9
10
|
createdBy: z.ZodMiniString<string>;
|
|
10
11
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
@@ -38,6 +39,7 @@ export declare namespace schema {
|
|
|
38
39
|
}, z.core.$strip>;
|
|
39
40
|
/** Create body. */
|
|
40
41
|
const CreateBody: z.ZodMiniObject<{
|
|
42
|
+
allowedEmailDomains: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>>;
|
|
41
43
|
expiresAt: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniISODateTime>>;
|
|
42
44
|
maxUses: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniNumber<number>>>;
|
|
43
45
|
name: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
@@ -65,6 +67,7 @@ export declare namespace schema {
|
|
|
65
67
|
/** Link collection response. */
|
|
66
68
|
const ListResponse: z.ZodMiniObject<{
|
|
67
69
|
data: z.ZodMiniArray<z.ZodMiniObject<{
|
|
70
|
+
allowedEmailDomains: z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniString<string>>>>;
|
|
68
71
|
createdAt: z.ZodMiniString<string>;
|
|
69
72
|
createdBy: z.ZodMiniString<string>;
|
|
70
73
|
enabled: z.ZodMiniBoolean<boolean>;
|
|
@@ -118,29 +121,22 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
118
121
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links": {
|
|
119
122
|
$post: {
|
|
120
123
|
output: {
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
maxUses: number | null;
|
|
128
|
-
name: string;
|
|
129
|
-
orgId: string;
|
|
130
|
-
role: "member";
|
|
131
|
-
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
132
|
-
token: string;
|
|
133
|
-
updatedAt: string;
|
|
134
|
-
useCount: number;
|
|
124
|
+
error: {
|
|
125
|
+
code: "api_key_malformed";
|
|
126
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
127
|
+
message: string;
|
|
128
|
+
};
|
|
129
|
+
requestId: string;
|
|
135
130
|
};
|
|
136
131
|
outputFormat: "json";
|
|
137
|
-
status:
|
|
132
|
+
status: 400;
|
|
138
133
|
input: {
|
|
139
134
|
param: {
|
|
140
135
|
orgId: string;
|
|
141
136
|
};
|
|
142
137
|
} & {
|
|
143
138
|
json: {
|
|
139
|
+
allowedEmailDomains?: readonly string[] | null | undefined;
|
|
144
140
|
expiresAt?: string | null | undefined;
|
|
145
141
|
maxUses?: number | null | undefined;
|
|
146
142
|
name?: string | undefined;
|
|
@@ -150,20 +146,21 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
150
146
|
} | {
|
|
151
147
|
output: {
|
|
152
148
|
error: {
|
|
153
|
-
code: "
|
|
149
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
154
150
|
details?: readonly Response.error.Detail[] | undefined;
|
|
155
151
|
message: string;
|
|
156
152
|
};
|
|
157
153
|
requestId: string;
|
|
158
154
|
};
|
|
159
155
|
outputFormat: "json";
|
|
160
|
-
status:
|
|
156
|
+
status: 401;
|
|
161
157
|
input: {
|
|
162
158
|
param: {
|
|
163
159
|
orgId: string;
|
|
164
160
|
};
|
|
165
161
|
} & {
|
|
166
162
|
json: {
|
|
163
|
+
allowedEmailDomains?: readonly string[] | null | undefined;
|
|
167
164
|
expiresAt?: string | null | undefined;
|
|
168
165
|
maxUses?: number | null | undefined;
|
|
169
166
|
name?: string | undefined;
|
|
@@ -173,20 +170,21 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
173
170
|
} | {
|
|
174
171
|
output: {
|
|
175
172
|
error: {
|
|
176
|
-
code: "
|
|
173
|
+
code: "upstream_error";
|
|
177
174
|
details?: readonly Response.error.Detail[] | undefined;
|
|
178
175
|
message: string;
|
|
179
176
|
};
|
|
180
177
|
requestId: string;
|
|
181
178
|
};
|
|
182
179
|
outputFormat: "json";
|
|
183
|
-
status:
|
|
180
|
+
status: 502;
|
|
184
181
|
input: {
|
|
185
182
|
param: {
|
|
186
183
|
orgId: string;
|
|
187
184
|
};
|
|
188
185
|
} & {
|
|
189
186
|
json: {
|
|
187
|
+
allowedEmailDomains?: readonly string[] | null | undefined;
|
|
190
188
|
expiresAt?: string | null | undefined;
|
|
191
189
|
maxUses?: number | null | undefined;
|
|
192
190
|
name?: string | undefined;
|
|
@@ -196,20 +194,21 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
196
194
|
} | {
|
|
197
195
|
output: {
|
|
198
196
|
error: {
|
|
199
|
-
code: "
|
|
197
|
+
code: "forbidden";
|
|
200
198
|
details?: readonly Response.error.Detail[] | undefined;
|
|
201
199
|
message: string;
|
|
202
200
|
};
|
|
203
201
|
requestId: string;
|
|
204
202
|
};
|
|
205
203
|
outputFormat: "json";
|
|
206
|
-
status:
|
|
204
|
+
status: 403;
|
|
207
205
|
input: {
|
|
208
206
|
param: {
|
|
209
207
|
orgId: string;
|
|
210
208
|
};
|
|
211
209
|
} & {
|
|
212
210
|
json: {
|
|
211
|
+
allowedEmailDomains?: readonly string[] | null | undefined;
|
|
213
212
|
expiresAt?: string | null | undefined;
|
|
214
213
|
maxUses?: number | null | undefined;
|
|
215
214
|
name?: string | undefined;
|
|
@@ -219,20 +218,21 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
219
218
|
} | {
|
|
220
219
|
output: {
|
|
221
220
|
error: {
|
|
222
|
-
code: "
|
|
221
|
+
code: "body_invalid";
|
|
223
222
|
details?: readonly Response.error.Detail[] | undefined;
|
|
224
223
|
message: string;
|
|
225
224
|
};
|
|
226
225
|
requestId: string;
|
|
227
226
|
};
|
|
228
227
|
outputFormat: "json";
|
|
229
|
-
status:
|
|
228
|
+
status: 400;
|
|
230
229
|
input: {
|
|
231
230
|
param: {
|
|
232
231
|
orgId: string;
|
|
233
232
|
};
|
|
234
233
|
} & {
|
|
235
234
|
json: {
|
|
235
|
+
allowedEmailDomains?: readonly string[] | null | undefined;
|
|
236
236
|
expiresAt?: string | null | undefined;
|
|
237
237
|
maxUses?: number | null | undefined;
|
|
238
238
|
name?: string | undefined;
|
|
@@ -256,6 +256,7 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
256
256
|
};
|
|
257
257
|
} & {
|
|
258
258
|
json: {
|
|
259
|
+
allowedEmailDomains?: readonly string[] | null | undefined;
|
|
259
260
|
expiresAt?: string | null | undefined;
|
|
260
261
|
maxUses?: number | null | undefined;
|
|
261
262
|
name?: string | undefined;
|
|
@@ -264,21 +265,31 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
264
265
|
};
|
|
265
266
|
} | {
|
|
266
267
|
output: {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
268
|
+
allowedEmailDomains: readonly string[] | null;
|
|
269
|
+
createdAt: string;
|
|
270
|
+
createdBy: string;
|
|
271
|
+
enabled: boolean;
|
|
272
|
+
expiresAt: string | null;
|
|
273
|
+
id: string;
|
|
274
|
+
lastUsedAt: string | null;
|
|
275
|
+
maxUses: number | null;
|
|
276
|
+
name: string;
|
|
277
|
+
orgId: string;
|
|
278
|
+
role: "member";
|
|
279
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
280
|
+
token: string;
|
|
281
|
+
updatedAt: string;
|
|
282
|
+
useCount: number;
|
|
273
283
|
};
|
|
274
284
|
outputFormat: "json";
|
|
275
|
-
status:
|
|
285
|
+
status: 200;
|
|
276
286
|
input: {
|
|
277
287
|
param: {
|
|
278
288
|
orgId: string;
|
|
279
289
|
};
|
|
280
290
|
} & {
|
|
281
291
|
json: {
|
|
292
|
+
allowedEmailDomains?: readonly string[] | null | undefined;
|
|
282
293
|
expiresAt?: string | null | undefined;
|
|
283
294
|
maxUses?: number | null | undefined;
|
|
284
295
|
name?: string | undefined;
|
|
@@ -291,25 +302,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
291
302
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links": {
|
|
292
303
|
$get: {
|
|
293
304
|
output: {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
lastUsedAt: string | null;
|
|
301
|
-
maxUses: number | null;
|
|
302
|
-
name: string;
|
|
303
|
-
orgId: string;
|
|
304
|
-
role: "member";
|
|
305
|
-
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
306
|
-
token: string;
|
|
307
|
-
updatedAt: string;
|
|
308
|
-
useCount: number;
|
|
309
|
-
}[];
|
|
305
|
+
error: {
|
|
306
|
+
code: "api_key_malformed";
|
|
307
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
308
|
+
message: string;
|
|
309
|
+
};
|
|
310
|
+
requestId: string;
|
|
310
311
|
};
|
|
311
312
|
outputFormat: "json";
|
|
312
|
-
status:
|
|
313
|
+
status: 400;
|
|
313
314
|
input: {
|
|
314
315
|
param: {
|
|
315
316
|
orgId: string;
|
|
@@ -318,14 +319,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
318
319
|
} | {
|
|
319
320
|
output: {
|
|
320
321
|
error: {
|
|
321
|
-
code: "
|
|
322
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
322
323
|
details?: readonly Response.error.Detail[] | undefined;
|
|
323
324
|
message: string;
|
|
324
325
|
};
|
|
325
326
|
requestId: string;
|
|
326
327
|
};
|
|
327
328
|
outputFormat: "json";
|
|
328
|
-
status:
|
|
329
|
+
status: 401;
|
|
329
330
|
input: {
|
|
330
331
|
param: {
|
|
331
332
|
orgId: string;
|
|
@@ -334,14 +335,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
334
335
|
} | {
|
|
335
336
|
output: {
|
|
336
337
|
error: {
|
|
337
|
-
code: "
|
|
338
|
+
code: "upstream_error";
|
|
338
339
|
details?: readonly Response.error.Detail[] | undefined;
|
|
339
340
|
message: string;
|
|
340
341
|
};
|
|
341
342
|
requestId: string;
|
|
342
343
|
};
|
|
343
344
|
outputFormat: "json";
|
|
344
|
-
status:
|
|
345
|
+
status: 502;
|
|
345
346
|
input: {
|
|
346
347
|
param: {
|
|
347
348
|
orgId: string;
|
|
@@ -350,14 +351,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
350
351
|
} | {
|
|
351
352
|
output: {
|
|
352
353
|
error: {
|
|
353
|
-
code: "
|
|
354
|
+
code: "forbidden";
|
|
354
355
|
details?: readonly Response.error.Detail[] | undefined;
|
|
355
356
|
message: string;
|
|
356
357
|
};
|
|
357
358
|
requestId: string;
|
|
358
359
|
};
|
|
359
360
|
outputFormat: "json";
|
|
360
|
-
status:
|
|
361
|
+
status: 403;
|
|
361
362
|
input: {
|
|
362
363
|
param: {
|
|
363
364
|
orgId: string;
|
|
@@ -366,14 +367,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
366
367
|
} | {
|
|
367
368
|
output: {
|
|
368
369
|
error: {
|
|
369
|
-
code: "
|
|
370
|
+
code: "param_invalid";
|
|
370
371
|
details?: readonly Response.error.Detail[] | undefined;
|
|
371
372
|
message: string;
|
|
372
373
|
};
|
|
373
374
|
requestId: string;
|
|
374
375
|
};
|
|
375
376
|
outputFormat: "json";
|
|
376
|
-
status:
|
|
377
|
+
status: 400;
|
|
377
378
|
input: {
|
|
378
379
|
param: {
|
|
379
380
|
orgId: string;
|
|
@@ -397,15 +398,26 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
397
398
|
};
|
|
398
399
|
} | {
|
|
399
400
|
output: {
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
401
|
+
data: {
|
|
402
|
+
allowedEmailDomains: readonly string[] | null;
|
|
403
|
+
createdAt: string;
|
|
404
|
+
createdBy: string;
|
|
405
|
+
enabled: boolean;
|
|
406
|
+
expiresAt: string | null;
|
|
407
|
+
id: string;
|
|
408
|
+
lastUsedAt: string | null;
|
|
409
|
+
maxUses: number | null;
|
|
410
|
+
name: string;
|
|
411
|
+
orgId: string;
|
|
412
|
+
role: "member";
|
|
413
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
414
|
+
token: string;
|
|
415
|
+
updatedAt: string;
|
|
416
|
+
useCount: number;
|
|
417
|
+
}[];
|
|
406
418
|
};
|
|
407
419
|
outputFormat: "json";
|
|
408
|
-
status:
|
|
420
|
+
status: 200;
|
|
409
421
|
input: {
|
|
410
422
|
param: {
|
|
411
423
|
orgId: string;
|
|
@@ -417,23 +429,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
417
429
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
418
430
|
$patch: {
|
|
419
431
|
output: {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
maxUses: number | null;
|
|
427
|
-
name: string;
|
|
428
|
-
orgId: string;
|
|
429
|
-
role: "member";
|
|
430
|
-
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
431
|
-
token: string;
|
|
432
|
-
updatedAt: string;
|
|
433
|
-
useCount: number;
|
|
432
|
+
error: {
|
|
433
|
+
code: "api_key_malformed";
|
|
434
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
435
|
+
message: string;
|
|
436
|
+
};
|
|
437
|
+
requestId: string;
|
|
434
438
|
};
|
|
435
439
|
outputFormat: "json";
|
|
436
|
-
status:
|
|
440
|
+
status: 400;
|
|
437
441
|
input: {
|
|
438
442
|
param: {
|
|
439
443
|
inviteLinkId: string;
|
|
@@ -447,14 +451,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
447
451
|
} | {
|
|
448
452
|
output: {
|
|
449
453
|
error: {
|
|
450
|
-
code: "
|
|
454
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
451
455
|
details?: readonly Response.error.Detail[] | undefined;
|
|
452
456
|
message: string;
|
|
453
457
|
};
|
|
454
458
|
requestId: string;
|
|
455
459
|
};
|
|
456
460
|
outputFormat: "json";
|
|
457
|
-
status:
|
|
461
|
+
status: 401;
|
|
458
462
|
input: {
|
|
459
463
|
param: {
|
|
460
464
|
inviteLinkId: string;
|
|
@@ -468,14 +472,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
468
472
|
} | {
|
|
469
473
|
output: {
|
|
470
474
|
error: {
|
|
471
|
-
code: "
|
|
475
|
+
code: "upstream_error";
|
|
472
476
|
details?: readonly Response.error.Detail[] | undefined;
|
|
473
477
|
message: string;
|
|
474
478
|
};
|
|
475
479
|
requestId: string;
|
|
476
480
|
};
|
|
477
481
|
outputFormat: "json";
|
|
478
|
-
status:
|
|
482
|
+
status: 502;
|
|
479
483
|
input: {
|
|
480
484
|
param: {
|
|
481
485
|
inviteLinkId: string;
|
|
@@ -489,14 +493,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
489
493
|
} | {
|
|
490
494
|
output: {
|
|
491
495
|
error: {
|
|
492
|
-
code: "
|
|
496
|
+
code: "forbidden";
|
|
493
497
|
details?: readonly Response.error.Detail[] | undefined;
|
|
494
498
|
message: string;
|
|
495
499
|
};
|
|
496
500
|
requestId: string;
|
|
497
501
|
};
|
|
498
502
|
outputFormat: "json";
|
|
499
|
-
status:
|
|
503
|
+
status: 403;
|
|
500
504
|
input: {
|
|
501
505
|
param: {
|
|
502
506
|
inviteLinkId: string;
|
|
@@ -510,14 +514,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
510
514
|
} | {
|
|
511
515
|
output: {
|
|
512
516
|
error: {
|
|
513
|
-
code: "
|
|
517
|
+
code: "body_invalid";
|
|
514
518
|
details?: readonly Response.error.Detail[] | undefined;
|
|
515
519
|
message: string;
|
|
516
520
|
};
|
|
517
521
|
requestId: string;
|
|
518
522
|
};
|
|
519
523
|
outputFormat: "json";
|
|
520
|
-
status:
|
|
524
|
+
status: 400;
|
|
521
525
|
input: {
|
|
522
526
|
param: {
|
|
523
527
|
inviteLinkId: string;
|
|
@@ -551,15 +555,24 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
551
555
|
};
|
|
552
556
|
} | {
|
|
553
557
|
output: {
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
558
|
+
allowedEmailDomains: readonly string[] | null;
|
|
559
|
+
createdAt: string;
|
|
560
|
+
createdBy: string;
|
|
561
|
+
enabled: boolean;
|
|
562
|
+
expiresAt: string | null;
|
|
563
|
+
id: string;
|
|
564
|
+
lastUsedAt: string | null;
|
|
565
|
+
maxUses: number | null;
|
|
566
|
+
name: string;
|
|
567
|
+
orgId: string;
|
|
568
|
+
role: "member";
|
|
569
|
+
status: "active" | "deleted" | "disabled" | "exhausted" | "expired";
|
|
570
|
+
token: string;
|
|
571
|
+
updatedAt: string;
|
|
572
|
+
useCount: number;
|
|
560
573
|
};
|
|
561
574
|
outputFormat: "json";
|
|
562
|
-
status:
|
|
575
|
+
status: 200;
|
|
563
576
|
input: {
|
|
564
577
|
param: {
|
|
565
578
|
inviteLinkId: string;
|
|
@@ -573,14 +586,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
573
586
|
} | {
|
|
574
587
|
output: {
|
|
575
588
|
error: {
|
|
576
|
-
code: "
|
|
589
|
+
code: "invite_link_not_found";
|
|
577
590
|
details?: readonly Response.error.Detail[] | undefined;
|
|
578
591
|
message: string;
|
|
579
592
|
};
|
|
580
593
|
requestId: string;
|
|
581
594
|
};
|
|
582
595
|
outputFormat: "json";
|
|
583
|
-
status:
|
|
596
|
+
status: 404;
|
|
584
597
|
input: {
|
|
585
598
|
param: {
|
|
586
599
|
inviteLinkId: string;
|
|
@@ -597,10 +610,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
597
610
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}": {
|
|
598
611
|
$delete: {
|
|
599
612
|
output: {
|
|
600
|
-
|
|
613
|
+
error: {
|
|
614
|
+
code: "api_key_malformed";
|
|
615
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
616
|
+
message: string;
|
|
617
|
+
};
|
|
618
|
+
requestId: string;
|
|
601
619
|
};
|
|
602
620
|
outputFormat: "json";
|
|
603
|
-
status:
|
|
621
|
+
status: 400;
|
|
604
622
|
input: {
|
|
605
623
|
param: {
|
|
606
624
|
inviteLinkId: string;
|
|
@@ -610,14 +628,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
610
628
|
} | {
|
|
611
629
|
output: {
|
|
612
630
|
error: {
|
|
613
|
-
code: "
|
|
631
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
614
632
|
details?: readonly Response.error.Detail[] | undefined;
|
|
615
633
|
message: string;
|
|
616
634
|
};
|
|
617
635
|
requestId: string;
|
|
618
636
|
};
|
|
619
637
|
outputFormat: "json";
|
|
620
|
-
status:
|
|
638
|
+
status: 401;
|
|
621
639
|
input: {
|
|
622
640
|
param: {
|
|
623
641
|
inviteLinkId: string;
|
|
@@ -627,14 +645,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
627
645
|
} | {
|
|
628
646
|
output: {
|
|
629
647
|
error: {
|
|
630
|
-
code: "
|
|
648
|
+
code: "upstream_error";
|
|
631
649
|
details?: readonly Response.error.Detail[] | undefined;
|
|
632
650
|
message: string;
|
|
633
651
|
};
|
|
634
652
|
requestId: string;
|
|
635
653
|
};
|
|
636
654
|
outputFormat: "json";
|
|
637
|
-
status:
|
|
655
|
+
status: 502;
|
|
638
656
|
input: {
|
|
639
657
|
param: {
|
|
640
658
|
inviteLinkId: string;
|
|
@@ -644,14 +662,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
644
662
|
} | {
|
|
645
663
|
output: {
|
|
646
664
|
error: {
|
|
647
|
-
code: "
|
|
665
|
+
code: "forbidden";
|
|
648
666
|
details?: readonly Response.error.Detail[] | undefined;
|
|
649
667
|
message: string;
|
|
650
668
|
};
|
|
651
669
|
requestId: string;
|
|
652
670
|
};
|
|
653
671
|
outputFormat: "json";
|
|
654
|
-
status:
|
|
672
|
+
status: 403;
|
|
655
673
|
input: {
|
|
656
674
|
param: {
|
|
657
675
|
inviteLinkId: string;
|
|
@@ -661,14 +679,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
661
679
|
} | {
|
|
662
680
|
output: {
|
|
663
681
|
error: {
|
|
664
|
-
code: "
|
|
682
|
+
code: "param_invalid";
|
|
665
683
|
details?: readonly Response.error.Detail[] | undefined;
|
|
666
684
|
message: string;
|
|
667
685
|
};
|
|
668
686
|
requestId: string;
|
|
669
687
|
};
|
|
670
688
|
outputFormat: "json";
|
|
671
|
-
status:
|
|
689
|
+
status: 400;
|
|
672
690
|
input: {
|
|
673
691
|
param: {
|
|
674
692
|
inviteLinkId: string;
|
|
@@ -711,15 +729,10 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
711
729
|
};
|
|
712
730
|
} | {
|
|
713
731
|
output: {
|
|
714
|
-
|
|
715
|
-
code: "upstream_error";
|
|
716
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
717
|
-
message: string;
|
|
718
|
-
};
|
|
719
|
-
requestId: string;
|
|
732
|
+
id: string;
|
|
720
733
|
};
|
|
721
734
|
outputFormat: "json";
|
|
722
|
-
status:
|
|
735
|
+
status: 200;
|
|
723
736
|
input: {
|
|
724
737
|
param: {
|
|
725
738
|
inviteLinkId: string;
|
|
@@ -732,18 +745,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
732
745
|
"/v1/orgs/:orgId{org_[A-Za-z0-9_-]+}/invite-links/:inviteLinkId{iln_[A-Za-z0-9_-]+}/redemptions": {
|
|
733
746
|
$get: {
|
|
734
747
|
output: {
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
orgId: string;
|
|
742
|
-
userId: string;
|
|
743
|
-
}[];
|
|
748
|
+
error: {
|
|
749
|
+
code: "api_key_malformed";
|
|
750
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
751
|
+
message: string;
|
|
752
|
+
};
|
|
753
|
+
requestId: string;
|
|
744
754
|
};
|
|
745
755
|
outputFormat: "json";
|
|
746
|
-
status:
|
|
756
|
+
status: 400;
|
|
747
757
|
input: {
|
|
748
758
|
param: {
|
|
749
759
|
inviteLinkId: string;
|
|
@@ -753,14 +763,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
753
763
|
} | {
|
|
754
764
|
output: {
|
|
755
765
|
error: {
|
|
756
|
-
code: "
|
|
766
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
757
767
|
details?: readonly Response.error.Detail[] | undefined;
|
|
758
768
|
message: string;
|
|
759
769
|
};
|
|
760
770
|
requestId: string;
|
|
761
771
|
};
|
|
762
772
|
outputFormat: "json";
|
|
763
|
-
status:
|
|
773
|
+
status: 401;
|
|
764
774
|
input: {
|
|
765
775
|
param: {
|
|
766
776
|
inviteLinkId: string;
|
|
@@ -770,14 +780,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
770
780
|
} | {
|
|
771
781
|
output: {
|
|
772
782
|
error: {
|
|
773
|
-
code: "
|
|
783
|
+
code: "upstream_error";
|
|
774
784
|
details?: readonly Response.error.Detail[] | undefined;
|
|
775
785
|
message: string;
|
|
776
786
|
};
|
|
777
787
|
requestId: string;
|
|
778
788
|
};
|
|
779
789
|
outputFormat: "json";
|
|
780
|
-
status:
|
|
790
|
+
status: 502;
|
|
781
791
|
input: {
|
|
782
792
|
param: {
|
|
783
793
|
inviteLinkId: string;
|
|
@@ -787,14 +797,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
787
797
|
} | {
|
|
788
798
|
output: {
|
|
789
799
|
error: {
|
|
790
|
-
code: "
|
|
800
|
+
code: "forbidden";
|
|
791
801
|
details?: readonly Response.error.Detail[] | undefined;
|
|
792
802
|
message: string;
|
|
793
803
|
};
|
|
794
804
|
requestId: string;
|
|
795
805
|
};
|
|
796
806
|
outputFormat: "json";
|
|
797
|
-
status:
|
|
807
|
+
status: 403;
|
|
798
808
|
input: {
|
|
799
809
|
param: {
|
|
800
810
|
inviteLinkId: string;
|
|
@@ -804,14 +814,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
804
814
|
} | {
|
|
805
815
|
output: {
|
|
806
816
|
error: {
|
|
807
|
-
code: "
|
|
817
|
+
code: "param_invalid";
|
|
808
818
|
details?: readonly Response.error.Detail[] | undefined;
|
|
809
819
|
message: string;
|
|
810
820
|
};
|
|
811
821
|
requestId: string;
|
|
812
822
|
};
|
|
813
823
|
outputFormat: "json";
|
|
814
|
-
status:
|
|
824
|
+
status: 400;
|
|
815
825
|
input: {
|
|
816
826
|
param: {
|
|
817
827
|
inviteLinkId: string;
|
|
@@ -854,15 +864,18 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
854
864
|
};
|
|
855
865
|
} | {
|
|
856
866
|
output: {
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
867
|
+
data: {
|
|
868
|
+
createdAt: string;
|
|
869
|
+
email: string;
|
|
870
|
+
id: string;
|
|
871
|
+
inviteLinkId: string;
|
|
872
|
+
inviteLinkName: string;
|
|
873
|
+
orgId: string;
|
|
874
|
+
userId: string;
|
|
875
|
+
}[];
|
|
863
876
|
};
|
|
864
877
|
outputFormat: "json";
|
|
865
|
-
status:
|
|
878
|
+
status: 200;
|
|
866
879
|
input: {
|
|
867
880
|
param: {
|
|
868
881
|
inviteLinkId: string;
|
|
@@ -875,11 +888,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
875
888
|
"/v1/invite-links/resolve": {
|
|
876
889
|
$post: {
|
|
877
890
|
output: {
|
|
878
|
-
|
|
879
|
-
|
|
891
|
+
error: {
|
|
892
|
+
code: "api_key_malformed";
|
|
893
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
894
|
+
message: string;
|
|
895
|
+
};
|
|
896
|
+
requestId: string;
|
|
880
897
|
};
|
|
881
898
|
outputFormat: "json";
|
|
882
|
-
status:
|
|
899
|
+
status: 400;
|
|
883
900
|
input: {
|
|
884
901
|
json: {
|
|
885
902
|
token: string;
|
|
@@ -888,14 +905,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
888
905
|
} | {
|
|
889
906
|
output: {
|
|
890
907
|
error: {
|
|
891
|
-
code: "
|
|
908
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
892
909
|
details?: readonly Response.error.Detail[] | undefined;
|
|
893
910
|
message: string;
|
|
894
911
|
};
|
|
895
912
|
requestId: string;
|
|
896
913
|
};
|
|
897
914
|
outputFormat: "json";
|
|
898
|
-
status:
|
|
915
|
+
status: 401;
|
|
899
916
|
input: {
|
|
900
917
|
json: {
|
|
901
918
|
token: string;
|
|
@@ -904,14 +921,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
904
921
|
} | {
|
|
905
922
|
output: {
|
|
906
923
|
error: {
|
|
907
|
-
code: "
|
|
924
|
+
code: "upstream_error";
|
|
908
925
|
details?: readonly Response.error.Detail[] | undefined;
|
|
909
926
|
message: string;
|
|
910
927
|
};
|
|
911
928
|
requestId: string;
|
|
912
929
|
};
|
|
913
930
|
outputFormat: "json";
|
|
914
|
-
status:
|
|
931
|
+
status: 502;
|
|
915
932
|
input: {
|
|
916
933
|
json: {
|
|
917
934
|
token: string;
|
|
@@ -920,14 +937,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
920
937
|
} | {
|
|
921
938
|
output: {
|
|
922
939
|
error: {
|
|
923
|
-
code: "
|
|
940
|
+
code: "forbidden";
|
|
924
941
|
details?: readonly Response.error.Detail[] | undefined;
|
|
925
942
|
message: string;
|
|
926
943
|
};
|
|
927
944
|
requestId: string;
|
|
928
945
|
};
|
|
929
946
|
outputFormat: "json";
|
|
930
|
-
status:
|
|
947
|
+
status: 403;
|
|
931
948
|
input: {
|
|
932
949
|
json: {
|
|
933
950
|
token: string;
|
|
@@ -936,14 +953,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
936
953
|
} | {
|
|
937
954
|
output: {
|
|
938
955
|
error: {
|
|
939
|
-
code: "
|
|
956
|
+
code: "body_invalid";
|
|
940
957
|
details?: readonly Response.error.Detail[] | undefined;
|
|
941
958
|
message: string;
|
|
942
959
|
};
|
|
943
960
|
requestId: string;
|
|
944
961
|
};
|
|
945
962
|
outputFormat: "json";
|
|
946
|
-
status:
|
|
963
|
+
status: 400;
|
|
947
964
|
input: {
|
|
948
965
|
json: {
|
|
949
966
|
token: string;
|
|
@@ -967,15 +984,11 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
967
984
|
};
|
|
968
985
|
} | {
|
|
969
986
|
output: {
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
973
|
-
message: string;
|
|
974
|
-
};
|
|
975
|
-
requestId: string;
|
|
987
|
+
orgName: string;
|
|
988
|
+
role: "member";
|
|
976
989
|
};
|
|
977
990
|
outputFormat: "json";
|
|
978
|
-
status:
|
|
991
|
+
status: 200;
|
|
979
992
|
input: {
|
|
980
993
|
json: {
|
|
981
994
|
token: string;
|
|
@@ -987,12 +1000,15 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
987
1000
|
"/v1/invite-links/accept": {
|
|
988
1001
|
$post: {
|
|
989
1002
|
output: {
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
1003
|
+
error: {
|
|
1004
|
+
code: "api_key_malformed";
|
|
1005
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
1006
|
+
message: string;
|
|
1007
|
+
};
|
|
1008
|
+
requestId: string;
|
|
993
1009
|
};
|
|
994
1010
|
outputFormat: "json";
|
|
995
|
-
status:
|
|
1011
|
+
status: 400;
|
|
996
1012
|
input: {
|
|
997
1013
|
json: {
|
|
998
1014
|
token: string;
|
|
@@ -1001,14 +1017,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1001
1017
|
} | {
|
|
1002
1018
|
output: {
|
|
1003
1019
|
error: {
|
|
1004
|
-
code: "
|
|
1020
|
+
code: "api_key_invalid" | "api_key_missing";
|
|
1005
1021
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1006
1022
|
message: string;
|
|
1007
1023
|
};
|
|
1008
1024
|
requestId: string;
|
|
1009
1025
|
};
|
|
1010
1026
|
outputFormat: "json";
|
|
1011
|
-
status:
|
|
1027
|
+
status: 401;
|
|
1012
1028
|
input: {
|
|
1013
1029
|
json: {
|
|
1014
1030
|
token: string;
|
|
@@ -1017,14 +1033,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1017
1033
|
} | {
|
|
1018
1034
|
output: {
|
|
1019
1035
|
error: {
|
|
1020
|
-
code: "
|
|
1036
|
+
code: "upstream_error";
|
|
1021
1037
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1022
1038
|
message: string;
|
|
1023
1039
|
};
|
|
1024
1040
|
requestId: string;
|
|
1025
1041
|
};
|
|
1026
1042
|
outputFormat: "json";
|
|
1027
|
-
status:
|
|
1043
|
+
status: 502;
|
|
1028
1044
|
input: {
|
|
1029
1045
|
json: {
|
|
1030
1046
|
token: string;
|
|
@@ -1033,14 +1049,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1033
1049
|
} | {
|
|
1034
1050
|
output: {
|
|
1035
1051
|
error: {
|
|
1036
|
-
code: "
|
|
1052
|
+
code: "forbidden";
|
|
1037
1053
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1038
1054
|
message: string;
|
|
1039
1055
|
};
|
|
1040
1056
|
requestId: string;
|
|
1041
1057
|
};
|
|
1042
1058
|
outputFormat: "json";
|
|
1043
|
-
status:
|
|
1059
|
+
status: 403;
|
|
1044
1060
|
input: {
|
|
1045
1061
|
json: {
|
|
1046
1062
|
token: string;
|
|
@@ -1049,14 +1065,14 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1049
1065
|
} | {
|
|
1050
1066
|
output: {
|
|
1051
1067
|
error: {
|
|
1052
|
-
code: "
|
|
1068
|
+
code: "body_invalid";
|
|
1053
1069
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1054
1070
|
message: string;
|
|
1055
1071
|
};
|
|
1056
1072
|
requestId: string;
|
|
1057
1073
|
};
|
|
1058
1074
|
outputFormat: "json";
|
|
1059
|
-
status:
|
|
1075
|
+
status: 400;
|
|
1060
1076
|
input: {
|
|
1061
1077
|
json: {
|
|
1062
1078
|
token: string;
|
|
@@ -1078,17 +1094,30 @@ export declare function inviteLinks(): import("hono/hono-base").HonoBase<Environ
|
|
|
1078
1094
|
token: string;
|
|
1079
1095
|
};
|
|
1080
1096
|
};
|
|
1097
|
+
} | {
|
|
1098
|
+
output: {
|
|
1099
|
+
orgId: string;
|
|
1100
|
+
role: "member";
|
|
1101
|
+
userId: string;
|
|
1102
|
+
};
|
|
1103
|
+
outputFormat: "json";
|
|
1104
|
+
status: 200;
|
|
1105
|
+
input: {
|
|
1106
|
+
json: {
|
|
1107
|
+
token: string;
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1081
1110
|
} | {
|
|
1082
1111
|
output: {
|
|
1083
1112
|
error: {
|
|
1084
|
-
code: "
|
|
1113
|
+
code: "invite_link_email_forbidden";
|
|
1085
1114
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1086
1115
|
message: string;
|
|
1087
1116
|
};
|
|
1088
1117
|
requestId: string;
|
|
1089
1118
|
};
|
|
1090
1119
|
outputFormat: "json";
|
|
1091
|
-
status:
|
|
1120
|
+
status: 403;
|
|
1092
1121
|
input: {
|
|
1093
1122
|
json: {
|
|
1094
1123
|
token: string;
|