@supernova-studio/model 1.9.18 → 1.9.20
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/index.d.mts +22 -14
- package/dist/index.d.ts +22 -14
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2349,10 +2349,13 @@ declare const ForgeChatMessageSenderType: z.ZodEnum<["User", "Agent"]>;
|
|
|
2349
2349
|
type ForgeChatMessageSenderType = z.infer<typeof ForgeChatMessageSenderType>;
|
|
2350
2350
|
declare const ForgeChatMessageSender: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2351
2351
|
type: z.ZodLiteral<"User">;
|
|
2352
|
+
userId: z.ZodString;
|
|
2352
2353
|
}, "strip", z.ZodTypeAny, {
|
|
2353
2354
|
type: "User";
|
|
2355
|
+
userId: string;
|
|
2354
2356
|
}, {
|
|
2355
2357
|
type: "User";
|
|
2358
|
+
userId: string;
|
|
2356
2359
|
}>, z.ZodObject<{
|
|
2357
2360
|
type: z.ZodLiteral<"Agent">;
|
|
2358
2361
|
persona: z.ZodLiteral<"Amy">;
|
|
@@ -2365,17 +2368,20 @@ declare const ForgeChatMessageSender: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2365
2368
|
}>]>;
|
|
2366
2369
|
type ForgeChatMessageSender = z.infer<typeof ForgeChatMessageSender>;
|
|
2367
2370
|
declare const ForgeChatMessage: z.ZodObject<{
|
|
2368
|
-
id: z.
|
|
2369
|
-
threadId: z.
|
|
2371
|
+
id: z.ZodString;
|
|
2372
|
+
threadId: z.ZodString;
|
|
2370
2373
|
payload: z.ZodString;
|
|
2371
2374
|
createdAt: z.ZodDate;
|
|
2372
2375
|
updatedAt: z.ZodDate;
|
|
2373
2376
|
sender: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2374
2377
|
type: z.ZodLiteral<"User">;
|
|
2378
|
+
userId: z.ZodString;
|
|
2375
2379
|
}, "strip", z.ZodTypeAny, {
|
|
2376
2380
|
type: "User";
|
|
2381
|
+
userId: string;
|
|
2377
2382
|
}, {
|
|
2378
2383
|
type: "User";
|
|
2384
|
+
userId: string;
|
|
2379
2385
|
}>, z.ZodObject<{
|
|
2380
2386
|
type: z.ZodLiteral<"Agent">;
|
|
2381
2387
|
persona: z.ZodLiteral<"Amy">;
|
|
@@ -2387,25 +2393,27 @@ declare const ForgeChatMessage: z.ZodObject<{
|
|
|
2387
2393
|
persona: "Amy";
|
|
2388
2394
|
}>]>;
|
|
2389
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2390
|
-
id:
|
|
2396
|
+
id: string;
|
|
2391
2397
|
createdAt: Date;
|
|
2392
2398
|
updatedAt: Date;
|
|
2393
|
-
threadId:
|
|
2399
|
+
threadId: string;
|
|
2394
2400
|
payload: string;
|
|
2395
2401
|
sender: {
|
|
2396
2402
|
type: "User";
|
|
2403
|
+
userId: string;
|
|
2397
2404
|
} | {
|
|
2398
2405
|
type: "Agent";
|
|
2399
2406
|
persona: "Amy";
|
|
2400
2407
|
};
|
|
2401
2408
|
}, {
|
|
2402
|
-
id:
|
|
2409
|
+
id: string;
|
|
2403
2410
|
createdAt: Date;
|
|
2404
2411
|
updatedAt: Date;
|
|
2405
|
-
threadId:
|
|
2412
|
+
threadId: string;
|
|
2406
2413
|
payload: string;
|
|
2407
2414
|
sender: {
|
|
2408
2415
|
type: "User";
|
|
2416
|
+
userId: string;
|
|
2409
2417
|
} | {
|
|
2410
2418
|
type: "Agent";
|
|
2411
2419
|
persona: "Amy";
|
|
@@ -2429,16 +2437,16 @@ declare const ForgeChatThread: z.ZodObject<{
|
|
|
2429
2437
|
id: string;
|
|
2430
2438
|
createdAt: Date;
|
|
2431
2439
|
updatedAt: Date;
|
|
2440
|
+
userId: string;
|
|
2432
2441
|
title: string;
|
|
2433
2442
|
workspaceId: string;
|
|
2434
|
-
userId: string;
|
|
2435
2443
|
}, {
|
|
2436
2444
|
id: string;
|
|
2437
2445
|
createdAt: Date;
|
|
2438
2446
|
updatedAt: Date;
|
|
2447
|
+
userId: string;
|
|
2439
2448
|
title: string;
|
|
2440
2449
|
workspaceId: string;
|
|
2441
|
-
userId: string;
|
|
2442
2450
|
}>;
|
|
2443
2451
|
type ForgeChatThread = z.infer<typeof ForgeChatThread>;
|
|
2444
2452
|
|
|
@@ -142084,8 +142092,8 @@ declare const WorkspaceMembership: z.ZodObject<{
|
|
|
142084
142092
|
isPrimaryOwner: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
142085
142093
|
}, "strip", z.ZodTypeAny, {
|
|
142086
142094
|
id: string;
|
|
142087
|
-
workspaceId: string;
|
|
142088
142095
|
userId: string;
|
|
142096
|
+
workspaceId: string;
|
|
142089
142097
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
142090
142098
|
notificationSettings: {
|
|
142091
142099
|
liveblocksNotificationSettings: {
|
|
@@ -142095,8 +142103,8 @@ declare const WorkspaceMembership: z.ZodObject<{
|
|
|
142095
142103
|
isPrimaryOwner?: boolean | null | undefined;
|
|
142096
142104
|
}, {
|
|
142097
142105
|
id: string;
|
|
142098
|
-
workspaceId: string;
|
|
142099
142106
|
userId: string;
|
|
142107
|
+
workspaceId: string;
|
|
142100
142108
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
142101
142109
|
notificationSettings: {
|
|
142102
142110
|
liveblocksNotificationSettings: {
|
|
@@ -161837,14 +161845,14 @@ declare const IntegrationDesignSystem: z.ZodObject<{
|
|
|
161837
161845
|
designSystemId: string;
|
|
161838
161846
|
brandId: string;
|
|
161839
161847
|
date?: Date | undefined;
|
|
161840
|
-
title?: string | undefined;
|
|
161841
161848
|
userId?: string | undefined;
|
|
161849
|
+
title?: string | undefined;
|
|
161842
161850
|
}, {
|
|
161843
161851
|
designSystemId: string;
|
|
161844
161852
|
brandId: string;
|
|
161845
161853
|
date?: Date | undefined;
|
|
161846
|
-
title?: string | undefined;
|
|
161847
161854
|
userId?: string | undefined;
|
|
161855
|
+
title?: string | undefined;
|
|
161848
161856
|
}>;
|
|
161849
161857
|
type IntegrationDesignSystem = z.infer<typeof IntegrationDesignSystem>;
|
|
161850
161858
|
declare const IntegrationCredentialsType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
@@ -162334,14 +162342,14 @@ declare const WorkspaceOAuthRequestSchema: z.ZodObject<{
|
|
|
162334
162342
|
}, "strip", z.ZodTypeAny, {
|
|
162335
162343
|
id: string;
|
|
162336
162344
|
createdAt: Date;
|
|
162337
|
-
workspaceId: string;
|
|
162338
162345
|
userId: string;
|
|
162346
|
+
workspaceId: string;
|
|
162339
162347
|
provider: OAuthProviderNames;
|
|
162340
162348
|
}, {
|
|
162341
162349
|
id: string;
|
|
162342
162350
|
createdAt: Date;
|
|
162343
|
-
workspaceId: string;
|
|
162344
162351
|
userId: string;
|
|
162352
|
+
workspaceId: string;
|
|
162345
162353
|
provider: OAuthProviderNames;
|
|
162346
162354
|
}>;
|
|
162347
162355
|
type WorkspaceOAuthRequest = z.infer<typeof WorkspaceOAuthRequestSchema>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2349,10 +2349,13 @@ declare const ForgeChatMessageSenderType: z.ZodEnum<["User", "Agent"]>;
|
|
|
2349
2349
|
type ForgeChatMessageSenderType = z.infer<typeof ForgeChatMessageSenderType>;
|
|
2350
2350
|
declare const ForgeChatMessageSender: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2351
2351
|
type: z.ZodLiteral<"User">;
|
|
2352
|
+
userId: z.ZodString;
|
|
2352
2353
|
}, "strip", z.ZodTypeAny, {
|
|
2353
2354
|
type: "User";
|
|
2355
|
+
userId: string;
|
|
2354
2356
|
}, {
|
|
2355
2357
|
type: "User";
|
|
2358
|
+
userId: string;
|
|
2356
2359
|
}>, z.ZodObject<{
|
|
2357
2360
|
type: z.ZodLiteral<"Agent">;
|
|
2358
2361
|
persona: z.ZodLiteral<"Amy">;
|
|
@@ -2365,17 +2368,20 @@ declare const ForgeChatMessageSender: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
2365
2368
|
}>]>;
|
|
2366
2369
|
type ForgeChatMessageSender = z.infer<typeof ForgeChatMessageSender>;
|
|
2367
2370
|
declare const ForgeChatMessage: z.ZodObject<{
|
|
2368
|
-
id: z.
|
|
2369
|
-
threadId: z.
|
|
2371
|
+
id: z.ZodString;
|
|
2372
|
+
threadId: z.ZodString;
|
|
2370
2373
|
payload: z.ZodString;
|
|
2371
2374
|
createdAt: z.ZodDate;
|
|
2372
2375
|
updatedAt: z.ZodDate;
|
|
2373
2376
|
sender: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2374
2377
|
type: z.ZodLiteral<"User">;
|
|
2378
|
+
userId: z.ZodString;
|
|
2375
2379
|
}, "strip", z.ZodTypeAny, {
|
|
2376
2380
|
type: "User";
|
|
2381
|
+
userId: string;
|
|
2377
2382
|
}, {
|
|
2378
2383
|
type: "User";
|
|
2384
|
+
userId: string;
|
|
2379
2385
|
}>, z.ZodObject<{
|
|
2380
2386
|
type: z.ZodLiteral<"Agent">;
|
|
2381
2387
|
persona: z.ZodLiteral<"Amy">;
|
|
@@ -2387,25 +2393,27 @@ declare const ForgeChatMessage: z.ZodObject<{
|
|
|
2387
2393
|
persona: "Amy";
|
|
2388
2394
|
}>]>;
|
|
2389
2395
|
}, "strip", z.ZodTypeAny, {
|
|
2390
|
-
id:
|
|
2396
|
+
id: string;
|
|
2391
2397
|
createdAt: Date;
|
|
2392
2398
|
updatedAt: Date;
|
|
2393
|
-
threadId:
|
|
2399
|
+
threadId: string;
|
|
2394
2400
|
payload: string;
|
|
2395
2401
|
sender: {
|
|
2396
2402
|
type: "User";
|
|
2403
|
+
userId: string;
|
|
2397
2404
|
} | {
|
|
2398
2405
|
type: "Agent";
|
|
2399
2406
|
persona: "Amy";
|
|
2400
2407
|
};
|
|
2401
2408
|
}, {
|
|
2402
|
-
id:
|
|
2409
|
+
id: string;
|
|
2403
2410
|
createdAt: Date;
|
|
2404
2411
|
updatedAt: Date;
|
|
2405
|
-
threadId:
|
|
2412
|
+
threadId: string;
|
|
2406
2413
|
payload: string;
|
|
2407
2414
|
sender: {
|
|
2408
2415
|
type: "User";
|
|
2416
|
+
userId: string;
|
|
2409
2417
|
} | {
|
|
2410
2418
|
type: "Agent";
|
|
2411
2419
|
persona: "Amy";
|
|
@@ -2429,16 +2437,16 @@ declare const ForgeChatThread: z.ZodObject<{
|
|
|
2429
2437
|
id: string;
|
|
2430
2438
|
createdAt: Date;
|
|
2431
2439
|
updatedAt: Date;
|
|
2440
|
+
userId: string;
|
|
2432
2441
|
title: string;
|
|
2433
2442
|
workspaceId: string;
|
|
2434
|
-
userId: string;
|
|
2435
2443
|
}, {
|
|
2436
2444
|
id: string;
|
|
2437
2445
|
createdAt: Date;
|
|
2438
2446
|
updatedAt: Date;
|
|
2447
|
+
userId: string;
|
|
2439
2448
|
title: string;
|
|
2440
2449
|
workspaceId: string;
|
|
2441
|
-
userId: string;
|
|
2442
2450
|
}>;
|
|
2443
2451
|
type ForgeChatThread = z.infer<typeof ForgeChatThread>;
|
|
2444
2452
|
|
|
@@ -142084,8 +142092,8 @@ declare const WorkspaceMembership: z.ZodObject<{
|
|
|
142084
142092
|
isPrimaryOwner: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
142085
142093
|
}, "strip", z.ZodTypeAny, {
|
|
142086
142094
|
id: string;
|
|
142087
|
-
workspaceId: string;
|
|
142088
142095
|
userId: string;
|
|
142096
|
+
workspaceId: string;
|
|
142089
142097
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
142090
142098
|
notificationSettings: {
|
|
142091
142099
|
liveblocksNotificationSettings: {
|
|
@@ -142095,8 +142103,8 @@ declare const WorkspaceMembership: z.ZodObject<{
|
|
|
142095
142103
|
isPrimaryOwner?: boolean | null | undefined;
|
|
142096
142104
|
}, {
|
|
142097
142105
|
id: string;
|
|
142098
|
-
workspaceId: string;
|
|
142099
142106
|
userId: string;
|
|
142107
|
+
workspaceId: string;
|
|
142100
142108
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
142101
142109
|
notificationSettings: {
|
|
142102
142110
|
liveblocksNotificationSettings: {
|
|
@@ -161837,14 +161845,14 @@ declare const IntegrationDesignSystem: z.ZodObject<{
|
|
|
161837
161845
|
designSystemId: string;
|
|
161838
161846
|
brandId: string;
|
|
161839
161847
|
date?: Date | undefined;
|
|
161840
|
-
title?: string | undefined;
|
|
161841
161848
|
userId?: string | undefined;
|
|
161849
|
+
title?: string | undefined;
|
|
161842
161850
|
}, {
|
|
161843
161851
|
designSystemId: string;
|
|
161844
161852
|
brandId: string;
|
|
161845
161853
|
date?: Date | undefined;
|
|
161846
|
-
title?: string | undefined;
|
|
161847
161854
|
userId?: string | undefined;
|
|
161855
|
+
title?: string | undefined;
|
|
161848
161856
|
}>;
|
|
161849
161857
|
type IntegrationDesignSystem = z.infer<typeof IntegrationDesignSystem>;
|
|
161850
161858
|
declare const IntegrationCredentialsType: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
@@ -162334,14 +162342,14 @@ declare const WorkspaceOAuthRequestSchema: z.ZodObject<{
|
|
|
162334
162342
|
}, "strip", z.ZodTypeAny, {
|
|
162335
162343
|
id: string;
|
|
162336
162344
|
createdAt: Date;
|
|
162337
|
-
workspaceId: string;
|
|
162338
162345
|
userId: string;
|
|
162346
|
+
workspaceId: string;
|
|
162339
162347
|
provider: OAuthProviderNames;
|
|
162340
162348
|
}, {
|
|
162341
162349
|
id: string;
|
|
162342
162350
|
createdAt: Date;
|
|
162343
|
-
workspaceId: string;
|
|
162344
162351
|
userId: string;
|
|
162352
|
+
workspaceId: string;
|
|
162345
162353
|
provider: OAuthProviderNames;
|
|
162346
162354
|
}>;
|
|
162347
162355
|
type WorkspaceOAuthRequest = z.infer<typeof WorkspaceOAuthRequestSchema>;
|
package/dist/index.js
CHANGED
|
@@ -284,12 +284,12 @@ var Subscription = _zod.z.object({
|
|
|
284
284
|
|
|
285
285
|
var ForgeChatMessageSenderType = _zod.z.enum(["User", "Agent"]);
|
|
286
286
|
var ForgeChatMessageSender = _zod.z.discriminatedUnion("type", [
|
|
287
|
-
_zod.z.object({ type: _zod.z.literal(ForgeChatMessageSenderType.Values.User) }),
|
|
287
|
+
_zod.z.object({ type: _zod.z.literal(ForgeChatMessageSenderType.Values.User), userId: _zod.z.string() }),
|
|
288
288
|
_zod.z.object({ type: _zod.z.literal(ForgeChatMessageSenderType.Values.Agent), persona: _zod.z.literal("Amy") })
|
|
289
289
|
]);
|
|
290
290
|
var ForgeChatMessage = _zod.z.object({
|
|
291
|
-
id: _zod.z.
|
|
292
|
-
threadId: _zod.z.
|
|
291
|
+
id: _zod.z.string(),
|
|
292
|
+
threadId: _zod.z.string(),
|
|
293
293
|
payload: _zod.z.string(),
|
|
294
294
|
createdAt: _zod.z.coerce.date(),
|
|
295
295
|
updatedAt: _zod.z.coerce.date(),
|