@ingram-tech/ingram-cloud-sdk 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/ts/responses.ts +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ingram-tech/ingram-cloud-sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "The Ingram Cloud /v1 API wire contract in TypeScript: Zod request/response schemas (generated from the OpenAPI spec), hand-authored SSE/webhook event types, and the JSON response types. The source of truth for the wire shapes.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/ts/responses.ts CHANGED
@@ -45,7 +45,12 @@ export interface ICMemory {
45
45
  category: string | null;
46
46
  subject: string | null;
47
47
  content: string;
48
+ /** Extraction confidence (0–1); null when not scored. */
49
+ confidence?: number | null;
48
50
  source: string | null;
51
+ /** Relevance score — only present on `/memories/search` hits. */
52
+ score?: number | null;
53
+ metadata?: Record<string, unknown> | null;
49
54
  created_at: string | null;
50
55
  updated_at: string | null;
51
56
  }
@@ -107,6 +112,14 @@ export interface ICSchedule {
107
112
  name: string | null;
108
113
  cron: string;
109
114
  timezone: string;
115
+ /** Messages replayed as the run input on each fire. */
116
+ input: Array<Record<string, unknown>>;
117
+ /** Thread the fired runs append to; null mints a fresh thread per fire. */
118
+ thread_id: string | null;
119
+ /** Max overlapping fired runs before new fires are skipped. */
120
+ max_concurrent: number;
121
+ /** What a failed fire does next (e.g. `continue`, `pause`). */
122
+ on_failure: string;
110
123
  enabled: boolean;
111
124
  next_fire_at: string | null;
112
125
  last_fire_at: string | null;