@sentry/junior-memory 0.135.0 → 0.136.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/api.d.ts CHANGED
@@ -18,6 +18,15 @@ export declare const memoryApiSchema: z.ZodObject<{
18
18
  knowledge: "knowledge";
19
19
  }>;
20
20
  observedAt: z.ZodISODateTime;
21
+ origin: z.ZodEnum<{
22
+ automatic: "automatic";
23
+ explicit: "explicit";
24
+ other: "other";
25
+ }>;
26
+ sourcePlatform: z.ZodEnum<{
27
+ slack: "slack";
28
+ local: "local";
29
+ }>;
21
30
  visibility: z.ZodEnum<{
22
31
  public: "public";
23
32
  private: "private";
@@ -35,6 +44,15 @@ export declare const memoryListResponseSchema: z.ZodObject<{
35
44
  knowledge: "knowledge";
36
45
  }>;
37
46
  observedAt: z.ZodISODateTime;
47
+ origin: z.ZodEnum<{
48
+ automatic: "automatic";
49
+ explicit: "explicit";
50
+ other: "other";
51
+ }>;
52
+ sourcePlatform: z.ZodEnum<{
53
+ slack: "slack";
54
+ local: "local";
55
+ }>;
38
56
  visibility: z.ZodEnum<{
39
57
  public: "public";
40
58
  private: "private";
package/dist/index.js CHANGED
@@ -2213,6 +2213,8 @@ var memoryApiSchema = z6.object({
2213
2213
  id: z6.string().min(1),
2214
2214
  kind: z6.enum(["preference", "procedure", "knowledge"]),
2215
2215
  observedAt: z6.iso.datetime(),
2216
+ origin: z6.enum(["automatic", "explicit", "other"]),
2217
+ sourcePlatform: z6.enum(["local", "slack"]),
2216
2218
  visibility: z6.enum(["private", "public"])
2217
2219
  }).strict();
2218
2220
  var memoryListResponseSchema = z6.object({
@@ -2266,6 +2268,8 @@ function apiMemory(memory) {
2266
2268
  id: memory.id,
2267
2269
  kind: memory.kind,
2268
2270
  observedAt: new Date(memory.observedAtMs).toISOString(),
2271
+ origin: memory.origin,
2272
+ sourcePlatform: memory.sourcePlatform,
2269
2273
  visibility: memory.visibility
2270
2274
  };
2271
2275
  }