@supernova-studio/client 1.10.4 → 1.10.6

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 CHANGED
@@ -100678,7 +100678,7 @@ declare const DTOForgeChatMessage: z.ZodObject<{
100678
100678
  payload: z.ZodString;
100679
100679
  createdAt: z.ZodDate;
100680
100680
  updatedAt: z.ZodDate;
100681
- opikSpanId: z.ZodOptional<z.ZodString>;
100681
+ opikTraceId: z.ZodOptional<z.ZodString>;
100682
100682
  sender: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
100683
100683
  type: z.ZodLiteral<"User">;
100684
100684
  userId: z.ZodString;
@@ -100711,7 +100711,7 @@ declare const DTOForgeChatMessage: z.ZodObject<{
100711
100711
  type: "Agent";
100712
100712
  persona: "Amy";
100713
100713
  };
100714
- opikSpanId?: string | undefined;
100714
+ opikTraceId?: string | undefined;
100715
100715
  }, {
100716
100716
  id: string;
100717
100717
  createdAt: Date;
@@ -100725,7 +100725,7 @@ declare const DTOForgeChatMessage: z.ZodObject<{
100725
100725
  type: "Agent";
100726
100726
  persona: "Amy";
100727
100727
  };
100728
- opikSpanId?: string | undefined;
100728
+ opikTraceId?: string | undefined;
100729
100729
  }>;
100730
100730
  type DTOForgeChatMessage = z.infer<typeof DTOForgeChatMessage>;
100731
100731
  declare const DTOForgeChatThread: z.ZodObject<{
@@ -101005,7 +101005,7 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
101005
101005
  type: "Agent";
101006
101006
  persona: "Amy";
101007
101007
  }>]>>;
101008
- opikSpanId: z.ZodOptional<z.ZodString>;
101008
+ opikTraceId: z.ZodOptional<z.ZodString>;
101009
101009
  }, "strip", z.ZodTypeAny, {
101010
101010
  payload: string;
101011
101011
  sender?: {
@@ -101015,7 +101015,7 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
101015
101015
  type: "Agent";
101016
101016
  persona: "Amy";
101017
101017
  } | undefined;
101018
- opikSpanId?: string | undefined;
101018
+ opikTraceId?: string | undefined;
101019
101019
  }, {
101020
101020
  payload: string;
101021
101021
  sender?: {
@@ -101025,7 +101025,7 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
101025
101025
  type: "Agent";
101026
101026
  persona: "Amy";
101027
101027
  } | undefined;
101028
- opikSpanId?: string | undefined;
101028
+ opikTraceId?: string | undefined;
101029
101029
  }>;
101030
101030
  type DTOForgeChatMessageCreateInput = z.infer<typeof DTOForgeChatMessageCreateInput>;
101031
101031
  /**
@@ -101038,7 +101038,7 @@ declare const DTOForgeChatMessageCreateResponse: z.ZodObject<{
101038
101038
  payload: z.ZodString;
101039
101039
  createdAt: z.ZodDate;
101040
101040
  updatedAt: z.ZodDate;
101041
- opikSpanId: z.ZodOptional<z.ZodString>;
101041
+ opikTraceId: z.ZodOptional<z.ZodString>;
101042
101042
  sender: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
101043
101043
  type: z.ZodLiteral<"User">;
101044
101044
  userId: z.ZodString;
@@ -101071,7 +101071,7 @@ declare const DTOForgeChatMessageCreateResponse: z.ZodObject<{
101071
101071
  type: "Agent";
101072
101072
  persona: "Amy";
101073
101073
  };
101074
- opikSpanId?: string | undefined;
101074
+ opikTraceId?: string | undefined;
101075
101075
  }, {
101076
101076
  id: string;
101077
101077
  createdAt: Date;
@@ -101085,7 +101085,7 @@ declare const DTOForgeChatMessageCreateResponse: z.ZodObject<{
101085
101085
  type: "Agent";
101086
101086
  persona: "Amy";
101087
101087
  };
101088
- opikSpanId?: string | undefined;
101088
+ opikTraceId?: string | undefined;
101089
101089
  }>;
101090
101090
  }, "strip", z.ZodTypeAny, {
101091
101091
  message: {
@@ -101101,7 +101101,7 @@ declare const DTOForgeChatMessageCreateResponse: z.ZodObject<{
101101
101101
  type: "Agent";
101102
101102
  persona: "Amy";
101103
101103
  };
101104
- opikSpanId?: string | undefined;
101104
+ opikTraceId?: string | undefined;
101105
101105
  };
101106
101106
  }, {
101107
101107
  message: {
@@ -101117,7 +101117,7 @@ declare const DTOForgeChatMessageCreateResponse: z.ZodObject<{
101117
101117
  type: "Agent";
101118
101118
  persona: "Amy";
101119
101119
  };
101120
- opikSpanId?: string | undefined;
101120
+ opikTraceId?: string | undefined;
101121
101121
  };
101122
101122
  }>;
101123
101123
  type DTOForgeChatMessageCreateResponse = z.infer<typeof DTOForgeChatMessageCreateResponse>;
@@ -101145,7 +101145,7 @@ declare const DTOForgeChatMessageListResponse: z.ZodObject<{
101145
101145
  payload: z.ZodString;
101146
101146
  createdAt: z.ZodDate;
101147
101147
  updatedAt: z.ZodDate;
101148
- opikSpanId: z.ZodOptional<z.ZodString>;
101148
+ opikTraceId: z.ZodOptional<z.ZodString>;
101149
101149
  sender: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
101150
101150
  type: z.ZodLiteral<"User">;
101151
101151
  userId: z.ZodString;
@@ -101178,7 +101178,7 @@ declare const DTOForgeChatMessageListResponse: z.ZodObject<{
101178
101178
  type: "Agent";
101179
101179
  persona: "Amy";
101180
101180
  };
101181
- opikSpanId?: string | undefined;
101181
+ opikTraceId?: string | undefined;
101182
101182
  }, {
101183
101183
  id: string;
101184
101184
  createdAt: Date;
@@ -101192,7 +101192,7 @@ declare const DTOForgeChatMessageListResponse: z.ZodObject<{
101192
101192
  type: "Agent";
101193
101193
  persona: "Amy";
101194
101194
  };
101195
- opikSpanId?: string | undefined;
101195
+ opikTraceId?: string | undefined;
101196
101196
  }>, "many">;
101197
101197
  totalCount: z.ZodNumber;
101198
101198
  hasMore: z.ZodBoolean;
@@ -101210,7 +101210,7 @@ declare const DTOForgeChatMessageListResponse: z.ZodObject<{
101210
101210
  type: "Agent";
101211
101211
  persona: "Amy";
101212
101212
  };
101213
- opikSpanId?: string | undefined;
101213
+ opikTraceId?: string | undefined;
101214
101214
  }[];
101215
101215
  totalCount: number;
101216
101216
  hasMore: boolean;
@@ -101228,7 +101228,7 @@ declare const DTOForgeChatMessageListResponse: z.ZodObject<{
101228
101228
  type: "Agent";
101229
101229
  persona: "Amy";
101230
101230
  };
101231
- opikSpanId?: string | undefined;
101231
+ opikTraceId?: string | undefined;
101232
101232
  }[];
101233
101233
  totalCount: number;
101234
101234
  hasMore: boolean;
@@ -143520,7 +143520,7 @@ declare class ChatThreadMessagesEndpoint {
143520
143520
  type: "Agent";
143521
143521
  persona: "Amy";
143522
143522
  };
143523
- opikSpanId?: string | undefined;
143523
+ opikTraceId?: string | undefined;
143524
143524
  }[];
143525
143525
  totalCount: number;
143526
143526
  hasMore: boolean;
@@ -143539,7 +143539,7 @@ declare class ChatThreadMessagesEndpoint {
143539
143539
  type: "Agent";
143540
143540
  persona: "Amy";
143541
143541
  };
143542
- opikSpanId?: string | undefined;
143542
+ opikTraceId?: string | undefined;
143543
143543
  };
143544
143544
  }>;
143545
143545
  score(workspaceId: string, threadId: string, body: DTOForgeChatMessageScoreRequest): Promise<any>;
package/dist/index.d.ts CHANGED
@@ -100678,7 +100678,7 @@ declare const DTOForgeChatMessage: z.ZodObject<{
100678
100678
  payload: z.ZodString;
100679
100679
  createdAt: z.ZodDate;
100680
100680
  updatedAt: z.ZodDate;
100681
- opikSpanId: z.ZodOptional<z.ZodString>;
100681
+ opikTraceId: z.ZodOptional<z.ZodString>;
100682
100682
  sender: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
100683
100683
  type: z.ZodLiteral<"User">;
100684
100684
  userId: z.ZodString;
@@ -100711,7 +100711,7 @@ declare const DTOForgeChatMessage: z.ZodObject<{
100711
100711
  type: "Agent";
100712
100712
  persona: "Amy";
100713
100713
  };
100714
- opikSpanId?: string | undefined;
100714
+ opikTraceId?: string | undefined;
100715
100715
  }, {
100716
100716
  id: string;
100717
100717
  createdAt: Date;
@@ -100725,7 +100725,7 @@ declare const DTOForgeChatMessage: z.ZodObject<{
100725
100725
  type: "Agent";
100726
100726
  persona: "Amy";
100727
100727
  };
100728
- opikSpanId?: string | undefined;
100728
+ opikTraceId?: string | undefined;
100729
100729
  }>;
100730
100730
  type DTOForgeChatMessage = z.infer<typeof DTOForgeChatMessage>;
100731
100731
  declare const DTOForgeChatThread: z.ZodObject<{
@@ -101005,7 +101005,7 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
101005
101005
  type: "Agent";
101006
101006
  persona: "Amy";
101007
101007
  }>]>>;
101008
- opikSpanId: z.ZodOptional<z.ZodString>;
101008
+ opikTraceId: z.ZodOptional<z.ZodString>;
101009
101009
  }, "strip", z.ZodTypeAny, {
101010
101010
  payload: string;
101011
101011
  sender?: {
@@ -101015,7 +101015,7 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
101015
101015
  type: "Agent";
101016
101016
  persona: "Amy";
101017
101017
  } | undefined;
101018
- opikSpanId?: string | undefined;
101018
+ opikTraceId?: string | undefined;
101019
101019
  }, {
101020
101020
  payload: string;
101021
101021
  sender?: {
@@ -101025,7 +101025,7 @@ declare const DTOForgeChatMessageCreateInput: z.ZodObject<{
101025
101025
  type: "Agent";
101026
101026
  persona: "Amy";
101027
101027
  } | undefined;
101028
- opikSpanId?: string | undefined;
101028
+ opikTraceId?: string | undefined;
101029
101029
  }>;
101030
101030
  type DTOForgeChatMessageCreateInput = z.infer<typeof DTOForgeChatMessageCreateInput>;
101031
101031
  /**
@@ -101038,7 +101038,7 @@ declare const DTOForgeChatMessageCreateResponse: z.ZodObject<{
101038
101038
  payload: z.ZodString;
101039
101039
  createdAt: z.ZodDate;
101040
101040
  updatedAt: z.ZodDate;
101041
- opikSpanId: z.ZodOptional<z.ZodString>;
101041
+ opikTraceId: z.ZodOptional<z.ZodString>;
101042
101042
  sender: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
101043
101043
  type: z.ZodLiteral<"User">;
101044
101044
  userId: z.ZodString;
@@ -101071,7 +101071,7 @@ declare const DTOForgeChatMessageCreateResponse: z.ZodObject<{
101071
101071
  type: "Agent";
101072
101072
  persona: "Amy";
101073
101073
  };
101074
- opikSpanId?: string | undefined;
101074
+ opikTraceId?: string | undefined;
101075
101075
  }, {
101076
101076
  id: string;
101077
101077
  createdAt: Date;
@@ -101085,7 +101085,7 @@ declare const DTOForgeChatMessageCreateResponse: z.ZodObject<{
101085
101085
  type: "Agent";
101086
101086
  persona: "Amy";
101087
101087
  };
101088
- opikSpanId?: string | undefined;
101088
+ opikTraceId?: string | undefined;
101089
101089
  }>;
101090
101090
  }, "strip", z.ZodTypeAny, {
101091
101091
  message: {
@@ -101101,7 +101101,7 @@ declare const DTOForgeChatMessageCreateResponse: z.ZodObject<{
101101
101101
  type: "Agent";
101102
101102
  persona: "Amy";
101103
101103
  };
101104
- opikSpanId?: string | undefined;
101104
+ opikTraceId?: string | undefined;
101105
101105
  };
101106
101106
  }, {
101107
101107
  message: {
@@ -101117,7 +101117,7 @@ declare const DTOForgeChatMessageCreateResponse: z.ZodObject<{
101117
101117
  type: "Agent";
101118
101118
  persona: "Amy";
101119
101119
  };
101120
- opikSpanId?: string | undefined;
101120
+ opikTraceId?: string | undefined;
101121
101121
  };
101122
101122
  }>;
101123
101123
  type DTOForgeChatMessageCreateResponse = z.infer<typeof DTOForgeChatMessageCreateResponse>;
@@ -101145,7 +101145,7 @@ declare const DTOForgeChatMessageListResponse: z.ZodObject<{
101145
101145
  payload: z.ZodString;
101146
101146
  createdAt: z.ZodDate;
101147
101147
  updatedAt: z.ZodDate;
101148
- opikSpanId: z.ZodOptional<z.ZodString>;
101148
+ opikTraceId: z.ZodOptional<z.ZodString>;
101149
101149
  sender: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
101150
101150
  type: z.ZodLiteral<"User">;
101151
101151
  userId: z.ZodString;
@@ -101178,7 +101178,7 @@ declare const DTOForgeChatMessageListResponse: z.ZodObject<{
101178
101178
  type: "Agent";
101179
101179
  persona: "Amy";
101180
101180
  };
101181
- opikSpanId?: string | undefined;
101181
+ opikTraceId?: string | undefined;
101182
101182
  }, {
101183
101183
  id: string;
101184
101184
  createdAt: Date;
@@ -101192,7 +101192,7 @@ declare const DTOForgeChatMessageListResponse: z.ZodObject<{
101192
101192
  type: "Agent";
101193
101193
  persona: "Amy";
101194
101194
  };
101195
- opikSpanId?: string | undefined;
101195
+ opikTraceId?: string | undefined;
101196
101196
  }>, "many">;
101197
101197
  totalCount: z.ZodNumber;
101198
101198
  hasMore: z.ZodBoolean;
@@ -101210,7 +101210,7 @@ declare const DTOForgeChatMessageListResponse: z.ZodObject<{
101210
101210
  type: "Agent";
101211
101211
  persona: "Amy";
101212
101212
  };
101213
- opikSpanId?: string | undefined;
101213
+ opikTraceId?: string | undefined;
101214
101214
  }[];
101215
101215
  totalCount: number;
101216
101216
  hasMore: boolean;
@@ -101228,7 +101228,7 @@ declare const DTOForgeChatMessageListResponse: z.ZodObject<{
101228
101228
  type: "Agent";
101229
101229
  persona: "Amy";
101230
101230
  };
101231
- opikSpanId?: string | undefined;
101231
+ opikTraceId?: string | undefined;
101232
101232
  }[];
101233
101233
  totalCount: number;
101234
101234
  hasMore: boolean;
@@ -143520,7 +143520,7 @@ declare class ChatThreadMessagesEndpoint {
143520
143520
  type: "Agent";
143521
143521
  persona: "Amy";
143522
143522
  };
143523
- opikSpanId?: string | undefined;
143523
+ opikTraceId?: string | undefined;
143524
143524
  }[];
143525
143525
  totalCount: number;
143526
143526
  hasMore: boolean;
@@ -143539,7 +143539,7 @@ declare class ChatThreadMessagesEndpoint {
143539
143539
  type: "Agent";
143540
143540
  persona: "Amy";
143541
143541
  };
143542
- opikSpanId?: string | undefined;
143542
+ opikTraceId?: string | undefined;
143543
143543
  };
143544
143544
  }>;
143545
143545
  score(workspaceId: string, threadId: string, body: DTOForgeChatMessageScoreRequest): Promise<any>;
package/dist/index.js CHANGED
@@ -458,7 +458,7 @@ var ForgeChatMessage = _zod.z.object({
458
458
  payload: _zod.z.string(),
459
459
  createdAt: _zod.z.coerce.date(),
460
460
  updatedAt: _zod.z.coerce.date(),
461
- opikSpanId: _zod.z.string().optional(),
461
+ opikTraceId: _zod.z.string().optional(),
462
462
  sender: ForgeChatMessageSender
463
463
  });
464
464
  var ForgeChatThread = _zod.z.object({
@@ -9024,7 +9024,7 @@ var DTOForgeChatThreadListResponse = _zod.z.object({
9024
9024
  var DTOForgeChatMessageCreateInput = _zod.z.object({
9025
9025
  payload: _zod.z.string(),
9026
9026
  sender: DTOForgeChatMessageSender.optional(),
9027
- opikSpanId: _zod.z.string().optional()
9027
+ opikTraceId: _zod.z.string().optional()
9028
9028
  });
9029
9029
  var DTOForgeChatMessageCreateResponse = _zod.z.object({
9030
9030
  message: DTOForgeChatMessage