spectrum-ts 3.1.0 → 4.1.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/{attachment-CEpGtZLm.d.ts → attachment-CnivEhr6.d.ts} +1 -1
- package/dist/{authoring-CP3vRza8.d.ts → authoring-b9AhXgPI.d.ts} +2 -2
- package/dist/authoring.d.ts +3 -3
- package/dist/authoring.js +5 -5
- package/dist/{chunk-FA7VA4XN.js → chunk-3KWFP4L2.js} +7 -3
- package/dist/{chunk-NZ5WCMTY.js → chunk-A37PM5N2.js} +1 -1
- package/dist/{chunk-L3NUESOW.js → chunk-B52VPQO3.js} +70 -30
- package/dist/{chunk-WMG36LHW.js → chunk-DMT6BFJV.js} +30 -73
- package/dist/{chunk-77U6SH5A.js → chunk-FAIFTUV2.js} +1 -1
- package/dist/{chunk-Q44CIGG6.js → chunk-IM5ADDZS.js} +4 -4
- package/dist/{chunk-MHGCPC2V.js → chunk-LZXPLXZF.js} +1 -1
- package/dist/{chunk-PSSWQBOH.js → chunk-U3QQ56YZ.js} +6 -4
- package/dist/{chunk-LQMDV75O.js → chunk-UXAKIXVM.js} +0 -45
- package/dist/{chunk-7ON5XHC2.js → chunk-WXLQNANA.js} +5 -2
- package/dist/{chunk-CHY5YLLV.js → chunk-ZR3TKZMT.js} +1 -1
- package/dist/index.d.ts +11 -10
- package/dist/index.js +370 -25272
- package/dist/providers/imessage/index.d.ts +6 -28
- package/dist/providers/imessage/index.js +9 -8
- package/dist/providers/index.d.ts +4 -4
- package/dist/providers/index.js +11 -11
- package/dist/providers/slack/index.d.ts +1 -1
- package/dist/providers/slack/index.js +3 -3
- package/dist/providers/telegram/index.d.ts +2 -2
- package/dist/providers/telegram/index.js +5 -5
- package/dist/providers/terminal/index.d.ts +1 -1
- package/dist/providers/terminal/index.js +5 -5
- package/dist/providers/whatsapp-business/index.d.ts +1 -1
- package/dist/providers/whatsapp-business/index.js +4 -4
- package/dist/read-C4uvozGX.d.ts +53 -0
- package/dist/{types-CDYXH2R7.d.ts → types-BIta6Kxi.d.ts} +1 -1
- package/dist/{types-Be0T6E0e.d.ts → types-CyfLJXgu.d.ts} +26 -1
- package/package.json +1 -4
- package/dist/photo-content-BJKnqgN-.d.ts +0 -13
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export { A as Attachment, a as AttachmentInput, b as attachment } from './attachment-
|
|
1
|
+
export { A as Attachment, a as AttachmentInput, b as attachment } from './attachment-CnivEhr6.js';
|
|
2
2
|
import z__default from 'zod';
|
|
3
|
-
import { P as PhotoInput } from './
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
import { P as PhotoInput } from './read-C4uvozGX.js';
|
|
4
|
+
export { R as Read, r as read } from './read-C4uvozGX.js';
|
|
5
|
+
import { C as ContentBuilder, M as Message, U as User, S as Space, h as ContentInput, i as Content, g as ProviderMessage, E as EventProducer, j as SpaceActionFn, k as MessageActionFn, I as InstanceActionFn, l as CreateClientContext, d as Store, b as PlatformDef, P as Platform, m as PlatformProviderConfig, n as SpectrumLike, o as CustomEventStreams, A as AgentSender, c as ProjectData } from './types-CyfLJXgu.js';
|
|
6
|
+
export { p as AnyPlatformDef, B as Broadcaster, q as CloudPlatform, D as DedicatedTokenData, F as FusorTokenData, r as ImessageInfoData, s as ManagedStream, t as PlatformInstance, u as PlatformMessage, v as PlatformRuntime, w as PlatformSpace, x as PlatformStatus, y as PlatformUser, z as PlatformsData, G as ProjectProfile, R as Reaction, H as ReactionBuilder, a as SchemaMessage, J as SharedTokenData, K as SlackTeamMeta, L as SlackTokenData, N as SpaceNamespace, O as SpectrumCloudError, Q as SubscriptionData, T as SubscriptionStatus, V as TokenData, W as broadcast, X as cloud, Y as mergeStreams, Z as reaction, _ as stream } from './types-CyfLJXgu.js';
|
|
7
|
+
import { S as StreamTextSource, T as TextStreamOptions, C as ContactInput, a as Contact } from './authoring-b9AhXgPI.js';
|
|
8
|
+
export { b as ContactAddress, c as ContactDetails, d as ContactEmail, e as ContactName, f as ContactOrg, g as ContactPhone, D as DeltaExtractor, G as Group, P as Poll, h as PollChoice, i as PollChoiceInput, j as PollOption, R as Richlink, k as StreamText, V as Voice, l as contact, m as custom, n as group, o as option, p as poll, r as richlink, t as text, v as voice } from './authoring-b9AhXgPI.js';
|
|
9
|
+
import { a as FusorVerify, F as FusorClient, b as FusorMessages, W as WebhookHandler, c as WebhookRawRequest, d as WebhookRawResult } from './types-BIta6Kxi.js';
|
|
10
|
+
export { e as FusorEvent, f as FusorMessagesCtx, g as FusorMessagesReturn, h as FusorReply, i as FusorRespond, j as FusorVerifyRequest, k as fusorEvent, l as isFusorEvent } from './types-BIta6Kxi.js';
|
|
10
11
|
import 'hotscript';
|
|
11
12
|
import 'vcf';
|
|
12
13
|
|
|
@@ -67,7 +68,7 @@ declare function avatar(input: Buffer, options: {
|
|
|
67
68
|
* (no new message id is produced; the existing message mutates in place).
|
|
68
69
|
*
|
|
69
70
|
* Edit cannot wrap `edit`, `reply`, `reaction`, `group`, `typing`, `rename`,
|
|
70
|
-
* `avatar`, or `
|
|
71
|
+
* `avatar`, `unsend`, or `read` content.
|
|
71
72
|
*/
|
|
72
73
|
declare const editSchema: z__default.ZodObject<{
|
|
73
74
|
type: z__default.ZodLiteral<"edit">;
|
|
@@ -427,7 +428,7 @@ declare function rename(displayName: string): ContentBuilder;
|
|
|
427
428
|
* `reply` like any other content type and route to a threaded send.
|
|
428
429
|
*
|
|
429
430
|
* Reply cannot wrap `reply`, `edit`, `reaction`, `group`, `typing`,
|
|
430
|
-
* `rename`, `avatar`, or `
|
|
431
|
+
* `rename`, `avatar`, `unsend`, or `read` content.
|
|
431
432
|
*/
|
|
432
433
|
declare const replySchema: z__default.ZodObject<{
|
|
433
434
|
type: z__default.ZodLiteral<"reply">;
|