@8wave/ai-elements 0.119.0-beta.1 → 0.119.0-beta.15
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/_chunks/{PkStreamingMarkdown-kpEBZA4d.js → PkStreamingMarkdown-Bry3y6Ru.js} +3 -3
- package/dist/_chunks/PkStreamingMarkdown-Bry3y6Ru.js.map +1 -0
- package/dist/_chunks/{PkToolShowArtifact-B8TOTS6A.js → PkToolShowArtifact-CfJLe8vD.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-B8TOTS6A.js.map → PkToolShowArtifact-CfJLe8vD.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-B89p05XM.js → PkToolShowContactForm--9XOVqNB.js} +5 -5
- package/dist/_chunks/PkToolShowContactForm--9XOVqNB.js.map +1 -0
- package/dist/_chunks/{PkToolShowForm-DTKQtFij.js → PkToolShowForm-CGAc1O6K.js} +2 -2
- package/dist/_chunks/{PkToolShowForm-DTKQtFij.js.map → PkToolShowForm-CGAc1O6K.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-CbwixpOb.js → PkToolShowSources-BJ-XFrLD.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-CbwixpOb.js.map → PkToolShowSources-BJ-XFrLD.js.map} +1 -1
- package/dist/_chunks/{markdown-c59ir6tw.js → markdown-DpoAzJSk.js} +64 -61
- package/dist/_chunks/markdown-DpoAzJSk.js.map +1 -0
- package/dist/ai-elements.es.js +95 -36
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/_chunks/{Document-B-oyVh7v.js → Document-CV-RJu_p.js} +64 -61
- package/dist-vue/_chunks/Document-CV-RJu_p.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-C_OzxC0s.js → PkChatbot-UzdAjTRl.js} +5 -5
- package/dist-vue/_chunks/PkChatbot-UzdAjTRl.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotEmptyState-BEQCnqui.js → PkChatbotEmptyState-Toj4CqXV.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-BEQCnqui.js.map → PkChatbotEmptyState-Toj4CqXV.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-KJxWrDIT.js → PkChatbotInput-BfZqRpQ2.js} +2 -2
- package/dist-vue/_chunks/PkChatbotInput-BfZqRpQ2.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-Zhuxom46.js → PkChatbotMessages-D9uf0NMI.js} +14 -14
- package/dist-vue/_chunks/{PkChatbotMessages-Zhuxom46.js.map → PkChatbotMessages-D9uf0NMI.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-Da4N5CKa.js → PkChatbotStepPayload-D0eoPBQ8.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-Da4N5CKa.js.map → PkChatbotStepPayload-D0eoPBQ8.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-rrtImvq5.js → PkChatbotStepToolDetail-CMx4cw1D.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-rrtImvq5.js.map → PkChatbotStepToolDetail-CMx4cw1D.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-LEfOolAc.js → PkChatbotSteps-DeZQhGRU.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-LEfOolAc.js.map → PkChatbotSteps-DeZQhGRU.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-BJ0YHCvA.js → PkChatbotViewChat-B_7IdZIz.js} +6 -6
- package/dist-vue/_chunks/{PkChatbotViewChat-BJ0YHCvA.js.map → PkChatbotViewChat-B_7IdZIz.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-gqCumfod.js → PkChatbotViewFiles-CA20TBFY.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewFiles-gqCumfod.js.map → PkChatbotViewFiles-CA20TBFY.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-BWEvuFZm.js → PkStreamingMarkdown-C55Fi0Pd.js} +2 -2
- package/dist-vue/_chunks/{PkStreamingMarkdown-BWEvuFZm.js.map → PkStreamingMarkdown-C55Fi0Pd.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-tNEG6-r_.js → PkToolShowArtifact-z1qTnFkA.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-tNEG6-r_.js.map → PkToolShowArtifact-z1qTnFkA.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-DBC6f9gR.js → PkToolShowContactForm-Y0lrHXhr.js} +5 -5
- package/dist-vue/_chunks/PkToolShowContactForm-Y0lrHXhr.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowDiagram-Bbq0ETt1.js → PkToolShowDiagram-BJ_ryTsD.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-Bbq0ETt1.js.map → PkToolShowDiagram-BJ_ryTsD.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-BG-8aTHy.js → PkToolShowForm-CZFWZub7.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowForm-BG-8aTHy.js.map → PkToolShowForm-CZFWZub7.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-DXn-bxHv.js → PkToolShowImageGallery-CkfXP_lD.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-DXn-bxHv.js.map → PkToolShowImageGallery-CkfXP_lD.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-BZ_fDRCq.js → PkToolShowProductList-De-PtmD-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-BZ_fDRCq.js.map → PkToolShowProductList-De-PtmD-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-CUURb0PG.js → PkToolShowSources-CSN7S0zo.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-CUURb0PG.js.map → PkToolShowSources-CSN7S0zo.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-FNlPjswi.js → PkToolShowVideo-B_Q93E2y.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-FNlPjswi.js.map → PkToolShowVideo-B_Q93E2y.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-CWV79tsb.js → PkToolShowWebPages-D3CdjJUc.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-CWV79tsb.js.map → PkToolShowWebPages-D3CdjJUc.js.map} +1 -1
- package/dist-vue/_chunks/{utils-Dk2jFXR_.js → utils-CwIMEuAv.js} +3 -3
- package/dist-vue/_chunks/{utils-Dk2jFXR_.js.map → utils-CwIMEuAv.js.map} +1 -1
- package/dist-vue/composables.js +61 -3
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +4017 -4004
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +36 -8
- package/dist-vue/packages/models/src/schema/Document.d.ts +25 -0
- package/dist-vue/packages/models/src/schema/Notification.d.ts +2 -0
- package/dist-vue/packages/models/src/schema/Platform.d.ts +72 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/PkStreamingMarkdown-kpEBZA4d.js.map +0 -1
- package/dist/_chunks/PkToolShowContactForm-B89p05XM.js.map +0 -1
- package/dist/_chunks/markdown-c59ir6tw.js.map +0 -1
- package/dist-vue/_chunks/Document-B-oyVh7v.js.map +0 -1
- package/dist-vue/_chunks/PkChatbot-C_OzxC0s.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-KJxWrDIT.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowContactForm-DBC6f9gR.js.map +0 -1
package/dist-vue/locales.js
CHANGED
|
@@ -81,7 +81,11 @@ var e = {
|
|
|
81
81
|
hangUp: "End the call",
|
|
82
82
|
unmute: "Unmute the microphone",
|
|
83
83
|
mute: "Mute the microphone",
|
|
84
|
-
prev: "Previous"
|
|
84
|
+
prev: "Previous",
|
|
85
|
+
closeChat: "Close the chat",
|
|
86
|
+
openChat: "Open the chat",
|
|
87
|
+
selectHint: "Press enter to select",
|
|
88
|
+
deselectHint: "Press enter to remove"
|
|
85
89
|
},
|
|
86
90
|
documentType: {
|
|
87
91
|
file: "File",
|
|
@@ -135,7 +139,8 @@ var e = {
|
|
|
135
139
|
voiceMuted: "Microphone muted",
|
|
136
140
|
voiceListening: "Listening",
|
|
137
141
|
empty: "No items found",
|
|
138
|
-
readError: "Error while reading"
|
|
142
|
+
readError: "Error while reading",
|
|
143
|
+
agentNotFound: "Agent not found"
|
|
139
144
|
},
|
|
140
145
|
label: {
|
|
141
146
|
schemaRootObject: "Object",
|
|
@@ -349,7 +354,9 @@ var e = {
|
|
|
349
354
|
blockedDomains: "Blocked domains",
|
|
350
355
|
itemsPerPage: "Per page",
|
|
351
356
|
totalPages: "of {total}",
|
|
352
|
-
totalItemsCount: "Items: {total}"
|
|
357
|
+
totalItemsCount: "Items: {total}",
|
|
358
|
+
selectedHint: "Selected",
|
|
359
|
+
deselectAction: "Remove"
|
|
353
360
|
},
|
|
354
361
|
time: {
|
|
355
362
|
future: "in",
|
|
@@ -544,6 +551,8 @@ var e = {
|
|
|
544
551
|
showVideo: "Loading video…",
|
|
545
552
|
showSuggestedReply: "Suggest a reply…",
|
|
546
553
|
disconnectOAuthConnection: "Disconnecting…",
|
|
554
|
+
requestAccountLink: "Sending the sign-in link…",
|
|
555
|
+
unlinkAccount: "Unlinking the number…",
|
|
547
556
|
webSearch: "Searching the web…",
|
|
548
557
|
tool: "Running a tool…",
|
|
549
558
|
reasoning: "Reasoning…",
|
|
@@ -567,7 +576,12 @@ var e = {
|
|
|
567
576
|
resetTitle: "Reset your password",
|
|
568
577
|
noAccount: "Don't have an account?",
|
|
569
578
|
haveAccount: "Already have an account?",
|
|
570
|
-
popupBlocked: "Pop-up blocked. Allow pop-ups for this site and try again."
|
|
579
|
+
popupBlocked: "Pop-up blocked. Allow pop-ups for this site and try again.",
|
|
580
|
+
genericError: "An error occurred. Try again.",
|
|
581
|
+
signUpSuccessTitle: "Account created!",
|
|
582
|
+
verifyEmail: "We've sent a verification email to your address. Check your inbox.",
|
|
583
|
+
resetSentTitle: "Check your email",
|
|
584
|
+
resetSent: "If an account exists with this email, you will receive a password reset link."
|
|
571
585
|
},
|
|
572
586
|
confirmTitle: { deleteMyConversations: "Delete all your conversations?" },
|
|
573
587
|
toolApproval: {
|
|
@@ -692,7 +706,11 @@ var e = {
|
|
|
692
706
|
hangUp: "Chiudi la chiamata",
|
|
693
707
|
unmute: "Riattiva il microfono",
|
|
694
708
|
mute: "Disattiva il microfono",
|
|
695
|
-
prev: "Indietro"
|
|
709
|
+
prev: "Indietro",
|
|
710
|
+
closeChat: "Chiudi la chat",
|
|
711
|
+
openChat: "Apri la chat",
|
|
712
|
+
selectHint: "Premi invio per selezionare",
|
|
713
|
+
deselectHint: "Premi invio per rimuovere"
|
|
696
714
|
},
|
|
697
715
|
documentType: {
|
|
698
716
|
file: "File",
|
|
@@ -746,7 +764,8 @@ var e = {
|
|
|
746
764
|
voiceMuted: "Microfono disattivato",
|
|
747
765
|
voiceListening: "In ascolto",
|
|
748
766
|
empty: "Nessun elemento trovato",
|
|
749
|
-
readError: "Errore durante la lettura"
|
|
767
|
+
readError: "Errore durante la lettura",
|
|
768
|
+
agentNotFound: "Agente non trovato"
|
|
750
769
|
},
|
|
751
770
|
label: {
|
|
752
771
|
schemaRootObject: "Oggetto",
|
|
@@ -960,7 +979,9 @@ var e = {
|
|
|
960
979
|
blockedDomains: "Domini bloccati",
|
|
961
980
|
itemsPerPage: "Per pagina",
|
|
962
981
|
totalPages: "di {total}",
|
|
963
|
-
totalItemsCount: "Elementi: {total}"
|
|
982
|
+
totalItemsCount: "Elementi: {total}",
|
|
983
|
+
selectedHint: "Selezionato",
|
|
984
|
+
deselectAction: "Rimuovi"
|
|
964
985
|
},
|
|
965
986
|
time: {
|
|
966
987
|
future: "tra",
|
|
@@ -1155,6 +1176,8 @@ var e = {
|
|
|
1155
1176
|
showVideo: "Caricamento video…",
|
|
1156
1177
|
showSuggestedReply: "Suggerisco una risposta…",
|
|
1157
1178
|
disconnectOAuthConnection: "Disconnessione in corso…",
|
|
1179
|
+
requestAccountLink: "Invio del link di accesso…",
|
|
1180
|
+
unlinkAccount: "Scollegamento del numero…",
|
|
1158
1181
|
webSearch: "Ricerca sul web…",
|
|
1159
1182
|
tool: "Esecuzione di un tool…",
|
|
1160
1183
|
reasoning: "Ragionamento…",
|
|
@@ -1178,7 +1201,12 @@ var e = {
|
|
|
1178
1201
|
resetTitle: "Reimposta la tua password",
|
|
1179
1202
|
noAccount: "Non hai un account?",
|
|
1180
1203
|
haveAccount: "Hai già un account?",
|
|
1181
|
-
popupBlocked: "Finestra popup bloccata. Consenti i popup per questo sito e riprova."
|
|
1204
|
+
popupBlocked: "Finestra popup bloccata. Consenti i popup per questo sito e riprova.",
|
|
1205
|
+
genericError: "Si è verificato un errore. Riprova.",
|
|
1206
|
+
signUpSuccessTitle: "Account creato!",
|
|
1207
|
+
verifyEmail: "Abbiamo inviato un'email di verifica al tuo indirizzo. Controlla la tua casella di posta.",
|
|
1208
|
+
resetSentTitle: "Controlla la tua email",
|
|
1209
|
+
resetSent: "Se esiste un account con questa email, riceverai un link per reimpostare la password."
|
|
1182
1210
|
},
|
|
1183
1211
|
confirmTitle: { deleteMyConversations: "Eliminare tutte le vostre conversazioni?" },
|
|
1184
1212
|
toolApproval: {
|
|
@@ -58,6 +58,30 @@ export interface SearchIndexFacts {
|
|
|
58
58
|
* written after it belong to a newer sync, still to come.
|
|
59
59
|
*/
|
|
60
60
|
export declare function searchIndexStatusOf(facts: SearchIndexFacts): SearchIndexStatus;
|
|
61
|
+
/**
|
|
62
|
+
* Whether the record of a sync that gave up still speaks for the chunks of a
|
|
63
|
+
* document out of the index: only when none of them is newer than it. The
|
|
64
|
+
* documents list asks it of the rows it filters by state, so that the filter
|
|
65
|
+
* reads the record the way the badge does.
|
|
66
|
+
*/
|
|
67
|
+
export declare function searchIndexGaveUp(searchIndexFailedAt: string | null | undefined, newestChunkAt: number | null): boolean;
|
|
68
|
+
/**
|
|
69
|
+
* What the badge of a row in the documents list reads, which is what the list
|
|
70
|
+
* filters by (`filter[status]`): the conversion until it has succeeded, then
|
|
71
|
+
* whether the search finds the document. Two words would mean different
|
|
72
|
+
* things in the two stages, so the search values are named after their label:
|
|
73
|
+
* its `pending` reads "Preparing", its `failed` "Not indexed".
|
|
74
|
+
*/
|
|
75
|
+
export declare enum DocumentListStatus {
|
|
76
|
+
Pending = "pending",
|
|
77
|
+
Processing = "processing",
|
|
78
|
+
Failed = "failed",
|
|
79
|
+
Preparing = "preparing",
|
|
80
|
+
Indexed = "indexed",
|
|
81
|
+
NotIndexed = "not-indexed",
|
|
82
|
+
Unavailable = "unavailable",
|
|
83
|
+
Empty = "empty"
|
|
84
|
+
}
|
|
61
85
|
/**
|
|
62
86
|
* Conversion options for document processing
|
|
63
87
|
* Used when creating or reprocessing documents
|
|
@@ -1994,6 +2018,7 @@ export declare const DocumentQuerystringSchema: z.ZodObject<{
|
|
|
1994
2018
|
'filter[hasRedundantChunks]': z.ZodOptional<z.ZodString>;
|
|
1995
2019
|
'filter[refreshInterval]': z.ZodOptional<z.ZodString>;
|
|
1996
2020
|
'filter[sourceProvider]': z.ZodOptional<z.ZodString>;
|
|
2021
|
+
'filter[status]': z.ZodOptional<z.ZodEnum<typeof DocumentListStatus>>;
|
|
1997
2022
|
ids: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1998
2023
|
"filter[fullText]": z.ZodOptional<z.ZodString>;
|
|
1999
2024
|
'filter[deleted]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -14,6 +14,8 @@ export declare const NotificationType: {
|
|
|
14
14
|
readonly WebSourceRemovalHeld: "web_source_removal_held";
|
|
15
15
|
/** A platform administrator ended one of the user's integration sign-ins. */
|
|
16
16
|
readonly McpConnectionRevoked: "mcp_connection_revoked";
|
|
17
|
+
/** A messaging number (WhatsApp) now writes as the user's account. */
|
|
18
|
+
readonly PlatformAccountLinked: "platform_account_linked";
|
|
17
19
|
readonly ChatWarning: "chat_warning";
|
|
18
20
|
readonly ChatBlocked: "chat_blocked";
|
|
19
21
|
/** An agent woke up in the user's chat and has something new to say. */
|
|
@@ -293,3 +293,75 @@ export interface PlatformConnectionMetadata {
|
|
|
293
293
|
teamsManifest?: TeamsManifestMetadata;
|
|
294
294
|
[key: string]: unknown;
|
|
295
295
|
}
|
|
296
|
+
/**
|
|
297
|
+
* The messaging platforms whose senders link their web account from the chat
|
|
298
|
+
* (docs/specs/platform-chat-otp-verification.md). Teams is not one of them:
|
|
299
|
+
* its sender arrives already verified by Microsoft.
|
|
300
|
+
*/
|
|
301
|
+
export declare const LinkablePlatformSchema: z.ZodEnum<{
|
|
302
|
+
whatsapp: "whatsapp";
|
|
303
|
+
}>;
|
|
304
|
+
export type LinkablePlatform = z.infer<typeof LinkablePlatformSchema>;
|
|
305
|
+
/**
|
|
306
|
+
* Whether an issuer of `user_external_identity` is a messaging platform's:
|
|
307
|
+
* `whatsapp` for a number linked from the chat, `teams:<tenant>` for a
|
|
308
|
+
* verified Teams sender. The external sign-in keys its identities in the same
|
|
309
|
+
* table, so a token with such an `iss` would sign in as the account a number
|
|
310
|
+
* or a Teams user is linked to: it must refuse them.
|
|
311
|
+
*/
|
|
312
|
+
export declare function isPlatformIdentityIssuer(issuer: string): boolean;
|
|
313
|
+
/** Where an account link stands for the signed-in user who opened it. */
|
|
314
|
+
export declare const PlatformAccountLinkStatus: {
|
|
315
|
+
/** The number is free, and the account has no other one on that platform. */
|
|
316
|
+
readonly Available: "available";
|
|
317
|
+
/** Already this account's: confirming changes nothing. */
|
|
318
|
+
readonly LinkedHere: "linked_here";
|
|
319
|
+
/** Another account's, which has to unlink it first. */
|
|
320
|
+
readonly LinkedElsewhere: "linked_elsewhere";
|
|
321
|
+
/** The account has another number on that platform: confirming replaces it. */
|
|
322
|
+
readonly ReplacesOther: "replaces_other";
|
|
323
|
+
readonly Expired: "expired";
|
|
324
|
+
/** Tampered with, issued by another installation, or already used. */
|
|
325
|
+
readonly Invalid: "invalid";
|
|
326
|
+
};
|
|
327
|
+
export type PlatformAccountLinkStatus = (typeof PlatformAccountLinkStatus)[keyof typeof PlatformAccountLinkStatus];
|
|
328
|
+
/** What the page shows before the user confirms an account link. */
|
|
329
|
+
export declare const PlatformAccountLinkPreviewSchema: z.ZodObject<{
|
|
330
|
+
status: z.ZodEnum<{
|
|
331
|
+
/** The number is free, and the account has no other one on that platform. */
|
|
332
|
+
readonly Available: "available";
|
|
333
|
+
/** Already this account's: confirming changes nothing. */
|
|
334
|
+
readonly LinkedHere: "linked_here";
|
|
335
|
+
/** Another account's, which has to unlink it first. */
|
|
336
|
+
readonly LinkedElsewhere: "linked_elsewhere";
|
|
337
|
+
/** The account has another number on that platform: confirming replaces it. */
|
|
338
|
+
readonly ReplacesOther: "replaces_other";
|
|
339
|
+
readonly Expired: "expired";
|
|
340
|
+
/** Tampered with, issued by another installation, or already used. */
|
|
341
|
+
readonly Invalid: "invalid";
|
|
342
|
+
}>;
|
|
343
|
+
platform: z.ZodOptional<z.ZodEnum<{
|
|
344
|
+
whatsapp: "whatsapp";
|
|
345
|
+
}>>;
|
|
346
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
347
|
+
currentPhoneNumber: z.ZodOptional<z.ZodString>;
|
|
348
|
+
issuedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
349
|
+
expiresAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
350
|
+
}, z.core.$strip>;
|
|
351
|
+
export type PlatformAccountLinkPreview = z.infer<typeof PlatformAccountLinkPreviewSchema>;
|
|
352
|
+
/** The user's confirmation of an account link. */
|
|
353
|
+
export declare const PlatformAccountLinkConfirmSchema: z.ZodObject<{
|
|
354
|
+
token: z.ZodString;
|
|
355
|
+
replace: z.ZodOptional<z.ZodBoolean>;
|
|
356
|
+
locale: z.ZodOptional<z.ZodString>;
|
|
357
|
+
}, z.core.$strip>;
|
|
358
|
+
export type PlatformAccountLinkConfirm = z.infer<typeof PlatformAccountLinkConfirmSchema>;
|
|
359
|
+
/** A messaging number linked to the user's account, as the profile lists it. */
|
|
360
|
+
export declare const PlatformIdentitySchema: z.ZodObject<{
|
|
361
|
+
platform: z.ZodEnum<{
|
|
362
|
+
whatsapp: "whatsapp";
|
|
363
|
+
}>;
|
|
364
|
+
phoneNumber: z.ZodString;
|
|
365
|
+
linkedAt: z.ZodCoercedDate<unknown>;
|
|
366
|
+
}, z.core.$strip>;
|
|
367
|
+
export type PlatformIdentity = z.infer<typeof PlatformIdentitySchema>;
|