@narrative.io/data-collaboration-sdk-ts 0.0.151 → 0.0.152

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.
@@ -822,29 +822,29 @@ declare const RosettaRequestMessageSchema: z.ZodUnion<[z.ZodObject<{
822
822
  data: z.ZodObject<{
823
823
  input: z.ZodString;
824
824
  apiKey: z.ZodOptional<z.ZodString>;
825
- team_member: z.ZodOptional<z.ZodString>;
825
+ assistantId: z.ZodOptional<z.ZodString>;
826
826
  }, "strip", z.ZodTypeAny, {
827
827
  input: string;
828
828
  apiKey?: string | undefined;
829
- team_member?: string | undefined;
829
+ assistantId?: string | undefined;
830
830
  }, {
831
831
  input: string;
832
832
  apiKey?: string | undefined;
833
- team_member?: string | undefined;
833
+ assistantId?: string | undefined;
834
834
  }>;
835
835
  }, "strip", z.ZodTypeAny, {
836
836
  type: "request";
837
837
  data: {
838
838
  input: string;
839
839
  apiKey?: string | undefined;
840
- team_member?: string | undefined;
840
+ assistantId?: string | undefined;
841
841
  };
842
842
  }, {
843
843
  type: "request";
844
844
  data: {
845
845
  input: string;
846
846
  apiKey?: string | undefined;
847
- team_member?: string | undefined;
847
+ assistantId?: string | undefined;
848
848
  };
849
849
  }>, z.ZodObject<{
850
850
  type: z.ZodLiteral<"ping">;
@@ -871,7 +871,7 @@ declare const isRosettaRequestMessage: (input: unknown) => input is {
871
871
  data: {
872
872
  input: string;
873
873
  apiKey?: string | undefined;
874
- team_member?: string | undefined;
874
+ assistantId?: string | undefined;
875
875
  };
876
876
  } | {
877
877
  type: "ping";
@@ -191,10 +191,10 @@ const RequestMessageSchema = z.object({
191
191
  data: z.object({
192
192
  input: z.string(),
193
193
  apiKey: z.string().optional(),
194
- team_member: z
194
+ assistantId: z
195
195
  .string()
196
196
  .optional()
197
- .describe("The team member who should handle the request"),
197
+ .describe("The id of the team member/assistant who should handle the request"),
198
198
  }),
199
199
  });
200
200
  const PingEventSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narrative.io/data-collaboration-sdk-ts",
3
- "version": "0.0.151",
3
+ "version": "0.0.152",
4
4
  "main": "build/index.js",
5
5
  "repository": "github:narrative-io/data-collaboration-sdk-ts",
6
6
  "source": "src/index.ts",