Skip to content

Commit 772548e

Browse files
authored
Merge branch 'dev' into clickhouse-sync-verify-data-integrity
2 parents 5bfffa2 + 5d9c7d9 commit 772548e

9 files changed

Lines changed: 1166 additions & 113 deletions

File tree

docs-mintlify/sdk/types/api-key.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ API keys can be obtained through:
5959
id: string; //$stack-link-to:#apikeyid
6060
description: string; //$stack-link-to:#apikeydescription
6161
expiresAt?: Date; //$stack-link-to:#apikeyexpiresat
62-
manuallyRevokedAt: Date | null; //$stack-link-to:#apikeymanuallyrevokedat
62+
manuallyRevokedAt?: Date | null; //$stack-link-to:#apikeymanuallyrevokedat
6363
createdAt: Date; //$stack-link-to:#apikeycreatedat
6464
value: string | { lastFour: string }; //$stack-link-to:#apikeyvalue
6565
type: "user" | "team"; //$stack-link-to:#apikeytype
@@ -111,10 +111,10 @@ API keys can be obtained through:
111111
<ApiKeySection type="apiKey" property="manuallyRevokedAt" defaultOpen={false}>
112112
<MethodLayout>
113113
<MethodContent>
114-
The date and time when this API key was manually revoked. If `null`, the key has not been revoked.
114+
The date and time when this API key was manually revoked. If `null`, the key has not been revoked. May be `undefined` if the information is not available.
115115
</MethodContent>
116116
<MethodAside title="Type Definition">
117-
```typescript declare const manuallyRevokedAt: Date | null; ```
117+
```typescript declare const manuallyRevokedAt: Date | null | undefined; ```
118118
</MethodAside>
119119
</MethodLayout>
120120
</ApiKeySection>

docs-mintlify/sdk/types/connected-account.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,12 @@ Basic information about a connected account. This is the base type that `OAuthCo
5454

5555
## Properties
5656

57-
<ConnectionSection type="connection" property="id" defaultOpen={false}>
57+
<ConnectionSection type="connection" property="id" deprecated defaultOpen={false}>
5858
<MethodLayout>
5959
<MethodContent>
6060
The provider config ID. Same as `provider` and exists for backward compatibility.
61+
62+
<Warning>Deprecated: Use `provider` instead.</Warning>
6163
</MethodContent>
6264
<MethodAside title="Type Definition">
6365
```typescript declare const id: string; ```

docs-mintlify/sdk/types/contact-channel.mdx

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Usually obtained by calling [`user.listContactChannels()`](/sdk/types/user#curre
6363
isVerified: boolean; //$stack-link-to:#contactchannelisverified
6464
usedForAuth: boolean; //$stack-link-to:#contactchannelusedforauth
6565
66-
sendVerificationEmail(): Promise<void>; //$stack-link-to:#contactchannelsendverificationemail
66+
sendVerificationEmail([options]): Promise<void>; //$stack-link-to:#contactchannelsendverificationemail
6767
update(options): Promise<void>; //$stack-link-to:#contactchannelupdate
6868
delete(): Promise<void>; //$stack-link-to:#contactchanneldelete
6969
};`}
@@ -139,18 +139,26 @@ Usually obtained by calling [`user.listContactChannels()`](/sdk/types/user#curre
139139

140140
## Methods
141141

142-
<ContactChannelSection type="contactChannel" property="sendVerificationEmail" defaultOpen={false}>
142+
<ContactChannelSection type="contactChannel" property="sendVerificationEmail" signature="[options]" defaultOpen={false}>
143143
<MethodLayout>
144144
<MethodContent>
145145
Sends a verification email to this contact channel. Once the user clicks the verification link in the email, the contact channel will be marked as verified.
146146

147+
<ContentSection title="Parameters">
148+
<ParamField body="options.callbackUrl" type="string">
149+
The URL to redirect to after the user clicks the verification link.
150+
</ParamField>
151+
</ContentSection>
152+
147153
<MethodReturns type="Promise<void>" />
148154
</MethodContent>
149155

150156
<MethodAside>
151157
<AsideSection title="Signature">
152158
```typescript
153-
declare function sendVerificationEmail(): Promise<void>;
159+
declare function sendVerificationEmail(options?: {
160+
callbackUrl?: string;
161+
}): Promise<void>;
154162
```
155163
</AsideSection>
156164

@@ -174,10 +182,6 @@ Usually obtained by calling [`user.listContactChannels()`](/sdk/types/user#curre
174182
The new value of the contact channel.
175183
</ParamField>
176184

177-
<ParamField body="options.type" type='"email"'>
178-
The new type. Currently this is always `"email"`.
179-
</ParamField>
180-
181185
<ParamField body="options.usedForAuth" type="boolean">
182186
Whether the contact channel is used for authentication.
183187
</ParamField>
@@ -195,7 +199,6 @@ Usually obtained by calling [`user.listContactChannels()`](/sdk/types/user#curre
195199
```typescript
196200
declare function update(options: {
197201
value?: string;
198-
type?: "email";
199202
usedForAuth?: boolean;
200203
isPrimary?: boolean;
201204
}): Promise<void>;
@@ -272,10 +275,6 @@ Usually obtained by calling [`serverUser.listContactChannels()`](/sdk/types/user
272275
The new value of the contact channel.
273276
</ParamField>
274277

275-
<ParamField body="options.type" type='"email"'>
276-
The new type. Currently this is always `"email"`.
277-
</ParamField>
278-
279278
<ParamField body="options.usedForAuth" type="boolean">
280279
Whether the contact channel is used for authentication.
281280
</ParamField>
@@ -297,7 +296,6 @@ Usually obtained by calling [`serverUser.listContactChannels()`](/sdk/types/user
297296
```typescript
298297
declare function update(options: {
299298
value?: string;
300-
type?: "email";
301299
usedForAuth?: boolean;
302300
isVerified?: boolean;
303301
isPrimary?: boolean;

0 commit comments

Comments
 (0)