syllable-sdk 1.0.2 → 1.0.3-rc.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.
package/openapi.json CHANGED
@@ -13187,7 +13187,7 @@
13187
13187
  "title": "Batch Id",
13188
13188
  "description": "Unique ID for conversation batch",
13189
13189
  "examples": [
13190
- "20251014.9"
13190
+ "20251015.9"
13191
13191
  ]
13192
13192
  },
13193
13193
  "campaign_id": {
@@ -13211,7 +13211,7 @@
13211
13211
  "title": "Expires On",
13212
13212
  "description": "Timestamp of batch expiration",
13213
13213
  "examples": [
13214
- "2025-10-15T00:00:00Z"
13214
+ "2025-10-16T00:00:00Z"
13215
13215
  ]
13216
13216
  },
13217
13217
  "paused": {
@@ -13264,7 +13264,7 @@
13264
13264
  "title": "Created At",
13265
13265
  "description": "Timestamp of batch creation",
13266
13266
  "examples": [
13267
- "2025-10-14T00:00:00Z"
13267
+ "2025-10-15T00:00:00Z"
13268
13268
  ]
13269
13269
  },
13270
13270
  "deleted_at": {
@@ -13280,7 +13280,7 @@
13280
13280
  "title": "Deleted At",
13281
13281
  "description": "Timestamp of batch deletion",
13282
13282
  "examples": [
13283
- "2025-10-14T00:00:00Z"
13283
+ "2025-10-15T00:00:00Z"
13284
13284
  ]
13285
13285
  },
13286
13286
  "deleted_reason": {
@@ -13311,7 +13311,7 @@
13311
13311
  "title": "Last Updated At",
13312
13312
  "description": "Timestamp of last change to batch",
13313
13313
  "examples": [
13314
- "2025-10-14T00:00:00Z"
13314
+ "2025-10-15T00:00:00Z"
13315
13315
  ]
13316
13316
  },
13317
13317
  "last_updated_by": {
@@ -14066,7 +14066,7 @@
14066
14066
  "title": "Batch Id",
14067
14067
  "description": "Unique ID for conversation batch",
14068
14068
  "examples": [
14069
- "20251014.9"
14069
+ "20251015.9"
14070
14070
  ]
14071
14071
  },
14072
14072
  "campaign_id": {
@@ -14090,7 +14090,7 @@
14090
14090
  "title": "Expires On",
14091
14091
  "description": "Timestamp of batch expiration",
14092
14092
  "examples": [
14093
- "2025-10-15T00:00:00Z"
14093
+ "2025-10-16T00:00:00Z"
14094
14094
  ]
14095
14095
  },
14096
14096
  "paused": {
@@ -14143,7 +14143,7 @@
14143
14143
  "title": "Created At",
14144
14144
  "description": "Timestamp of batch creation",
14145
14145
  "examples": [
14146
- "2025-10-14T00:00:00Z"
14146
+ "2025-10-15T00:00:00Z"
14147
14147
  ]
14148
14148
  },
14149
14149
  "deleted_at": {
@@ -14159,7 +14159,7 @@
14159
14159
  "title": "Deleted At",
14160
14160
  "description": "Timestamp of batch deletion",
14161
14161
  "examples": [
14162
- "2025-10-14T00:00:00Z"
14162
+ "2025-10-15T00:00:00Z"
14163
14163
  ]
14164
14164
  },
14165
14165
  "deleted_reason": {
@@ -14190,7 +14190,7 @@
14190
14190
  "title": "Last Updated At",
14191
14191
  "description": "Timestamp of last change to batch",
14192
14192
  "examples": [
14193
- "2025-10-14T00:00:00Z"
14193
+ "2025-10-15T00:00:00Z"
14194
14194
  ]
14195
14195
  },
14196
14196
  "last_updated_by": {
@@ -14233,7 +14233,7 @@
14233
14233
  "title": "Batch Id",
14234
14234
  "description": "Unique ID for conversation batch",
14235
14235
  "examples": [
14236
- "20251014.9"
14236
+ "20251015.9"
14237
14237
  ]
14238
14238
  },
14239
14239
  "campaign_id": {
@@ -14257,7 +14257,7 @@
14257
14257
  "title": "Expires On",
14258
14258
  "description": "Timestamp of batch expiration",
14259
14259
  "examples": [
14260
- "2025-10-15T00:00:00Z"
14260
+ "2025-10-16T00:00:00Z"
14261
14261
  ]
14262
14262
  },
14263
14263
  "paused": {
@@ -14406,7 +14406,7 @@
14406
14406
  "title": "Created At",
14407
14407
  "description": "Timestamp of request creation",
14408
14408
  "examples": [
14409
- "2025-10-13T00:00:00Z"
14409
+ "2025-10-14T00:00:00Z"
14410
14410
  ]
14411
14411
  },
14412
14412
  "sent_at": {
@@ -14422,7 +14422,7 @@
14422
14422
  "title": "Sent At",
14423
14423
  "description": "Timestamp at which request was sent",
14424
14424
  "examples": [
14425
- "2025-10-14T00:00:00Z"
14425
+ "2025-10-15T00:00:00Z"
14426
14426
  ]
14427
14427
  },
14428
14428
  "attempt_count": {
@@ -16363,7 +16363,7 @@
16363
16363
  "title": "Created At",
16364
16364
  "description": "Timestamp at which insight upload folder was created",
16365
16365
  "examples": [
16366
- "2025-10-13T00:00:00Z"
16366
+ "2025-10-14T00:00:00Z"
16367
16367
  ]
16368
16368
  },
16369
16369
  "updated_at": {
@@ -16372,7 +16372,7 @@
16372
16372
  "title": "Updated At",
16373
16373
  "description": "Timestamp at which insight upload folder was last updated",
16374
16374
  "examples": [
16375
- "2025-10-14T00:00:00Z"
16375
+ "2025-10-15T00:00:00Z"
16376
16376
  ]
16377
16377
  },
16378
16378
  "last_updated_by": {
@@ -17058,7 +17058,7 @@
17058
17058
  "title": "Created At",
17059
17059
  "description": "Timestamp of at which insight tool configuration was created",
17060
17060
  "examples": [
17061
- "2025-10-13T00:00:00Z"
17061
+ "2025-10-14T00:00:00Z"
17062
17062
  ]
17063
17063
  },
17064
17064
  "updated_at": {
@@ -17067,7 +17067,7 @@
17067
17067
  "title": "Updated At",
17068
17068
  "description": "Timestamp at which insight tool configuration was last updated",
17069
17069
  "examples": [
17070
- "2025-10-14T00:00:00Z"
17070
+ "2025-10-15T00:00:00Z"
17071
17071
  ]
17072
17072
  },
17073
17073
  "last_updated_by": {
@@ -17448,7 +17448,7 @@
17448
17448
  "title": "Start Datetime",
17449
17449
  "description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
17450
17450
  "examples": [
17451
- "2025-10-13T00:00:00Z"
17451
+ "2025-10-14T00:00:00Z"
17452
17452
  ]
17453
17453
  },
17454
17454
  "end_datetime": {
@@ -17464,7 +17464,7 @@
17464
17464
  "title": "End Datetime",
17465
17465
  "description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
17466
17466
  "examples": [
17467
- "2025-10-14T00:00:00Z"
17467
+ "2025-10-15T00:00:00Z"
17468
17468
  ]
17469
17469
  }
17470
17470
  },
@@ -17539,7 +17539,7 @@
17539
17539
  "title": "Start Datetime",
17540
17540
  "description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
17541
17541
  "examples": [
17542
- "2025-10-13T00:00:00Z"
17542
+ "2025-10-14T00:00:00Z"
17543
17543
  ]
17544
17544
  },
17545
17545
  "end_datetime": {
@@ -17555,7 +17555,7 @@
17555
17555
  "title": "End Datetime",
17556
17556
  "description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
17557
17557
  "examples": [
17558
- "2025-10-14T00:00:00Z"
17558
+ "2025-10-15T00:00:00Z"
17559
17559
  ]
17560
17560
  },
17561
17561
  "id": {
@@ -17608,7 +17608,7 @@
17608
17608
  "title": "Created At",
17609
17609
  "description": "Timestamp at which the insight workflow was created",
17610
17610
  "examples": [
17611
- "2025-10-13T00:00:00Z"
17611
+ "2025-10-14T00:00:00Z"
17612
17612
  ]
17613
17613
  },
17614
17614
  "updated_at": {
@@ -17617,7 +17617,7 @@
17617
17617
  "title": "Updated At",
17618
17618
  "description": "Timestamp of most recent update to the insight workflow",
17619
17619
  "examples": [
17620
- "2025-10-14T00:00:00Z"
17620
+ "2025-10-15T00:00:00Z"
17621
17621
  ]
17622
17622
  },
17623
17623
  "last_updated_by": {
@@ -17713,7 +17713,7 @@
17713
17713
  "title": "Created At",
17714
17714
  "description": "Timestamp at which insight upload folder was created",
17715
17715
  "examples": [
17716
- "2025-10-13T00:00:00Z"
17716
+ "2025-10-14T00:00:00Z"
17717
17717
  ]
17718
17718
  },
17719
17719
  "updated_at": {
@@ -17722,7 +17722,7 @@
17722
17722
  "title": "Updated At",
17723
17723
  "description": "Timestamp at which insight upload folder was last updated",
17724
17724
  "examples": [
17725
- "2025-10-14T00:00:00Z"
17725
+ "2025-10-15T00:00:00Z"
17726
17726
  ]
17727
17727
  },
17728
17728
  "last_updated_by": {
@@ -17957,7 +17957,7 @@
17957
17957
  "title": "Created At",
17958
17958
  "description": "Timestamp at which insight tool result was created",
17959
17959
  "examples": [
17960
- "2025-10-13T00:00:00Z"
17960
+ "2025-10-14T00:00:00Z"
17961
17961
  ]
17962
17962
  },
17963
17963
  "updated_at": {
@@ -17966,7 +17966,25 @@
17966
17966
  "title": "Updated At",
17967
17967
  "description": "Timestamp at which insight tool result was last updated",
17968
17968
  "examples": [
17969
- "2025-10-14T00:00:00Z"
17969
+ "2025-10-15T00:00:00Z"
17970
+ ]
17971
+ },
17972
+ "upload_file_metadata": {
17973
+ "anyOf": [
17974
+ {
17975
+ "type": "object"
17976
+ },
17977
+ {
17978
+ "type": "null"
17979
+ }
17980
+ ],
17981
+ "title": "Upload File Metadata",
17982
+ "description": "Metadata associated with the uploaded file",
17983
+ "examples": [
17984
+ {
17985
+ "duration": "00:10:00",
17986
+ "size": "10MB"
17987
+ }
17970
17988
  ]
17971
17989
  }
17972
17990
  },
@@ -18101,7 +18119,7 @@
18101
18119
  "title": "Start Time",
18102
18120
  "description": "Start time of the uploaded file",
18103
18121
  "examples": [
18104
- "2025-10-13T00:00:00Z"
18122
+ "2025-10-14T00:00:00Z"
18105
18123
  ]
18106
18124
  },
18107
18125
  "end_time": {
@@ -18117,7 +18135,7 @@
18117
18135
  "title": "End Time",
18118
18136
  "description": "End time of the uploaded file",
18119
18137
  "examples": [
18120
- "2025-10-14T00:00:00Z"
18138
+ "2025-10-15T00:00:00Z"
18121
18139
  ]
18122
18140
  },
18123
18141
  "error_message": {
@@ -18172,7 +18190,7 @@
18172
18190
  "title": "Created At",
18173
18191
  "description": "Timestamp at which insight upload file was created",
18174
18192
  "examples": [
18175
- "2025-10-13T00:00:00Z"
18193
+ "2025-10-14T00:00:00Z"
18176
18194
  ]
18177
18195
  }
18178
18196
  },
@@ -21158,7 +21176,7 @@
21158
21176
  "title": "Created At",
21159
21177
  "description": "Timestamp of campaign creation",
21160
21178
  "examples": [
21161
- "2025-10-14T00:00:00Z"
21179
+ "2025-10-15T00:00:00Z"
21162
21180
  ]
21163
21181
  },
21164
21182
  "updated_at": {
@@ -21167,7 +21185,7 @@
21167
21185
  "title": "Updated At",
21168
21186
  "description": "Timestamp of campaign update",
21169
21187
  "examples": [
21170
- "2025-10-14T00:00:00Z"
21188
+ "2025-10-15T00:00:00Z"
21171
21189
  ]
21172
21190
  },
21173
21191
  "last_updated_by": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "syllable-sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3-rc.2",
4
4
  "author": "Syllable",
5
5
  "bin": {
6
6
  "mcp": "bin/mcp-server.js"
package/src/lib/config.ts CHANGED
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
61
61
  export const SDK_METADATA = {
62
62
  language: "typescript",
63
63
  openapiDocVersion: "0.0.2",
64
- sdkVersion: "1.0.2",
64
+ sdkVersion: "1.0.3-rc.2",
65
65
  genVersion: "2.723.11",
66
- userAgent: "speakeasy-sdk/typescript 1.0.2 2.723.11 0.0.2 syllable-sdk",
66
+ userAgent: "speakeasy-sdk/typescript 1.0.3-rc.2 2.723.11 0.0.2 syllable-sdk",
67
67
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "1.0.2",
22
+ currentVersion: "1.0.3-rc.2",
23
23
  },
24
24
  });
25
25
 
@@ -169,7 +169,7 @@ export function createMCPServer(deps: {
169
169
  }) {
170
170
  const server = new McpServer({
171
171
  name: "SyllableSDK",
172
- version: "1.0.2",
172
+ version: "1.0.3-rc.2",
173
173
  });
174
174
 
175
175
  const client = new SyllableSDKCore({
@@ -10,6 +10,8 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type JsonValue = string | number | number;
12
12
 
13
+ export type UploadFileMetadata = {};
14
+
13
15
  /**
14
16
  * Response model for an insight tool.
15
17
  */
@@ -58,6 +60,10 @@ export type InsightsOutput = {
58
60
  * Timestamp at which insight tool result was last updated
59
61
  */
60
62
  updatedAt?: Date | undefined;
63
+ /**
64
+ * Metadata associated with the uploaded file
65
+ */
66
+ uploadFileMetadata?: UploadFileMetadata | null | undefined;
61
67
  };
62
68
 
63
69
  /** @internal */
@@ -104,6 +110,54 @@ export function jsonValueFromJSON(
104
110
  );
105
111
  }
106
112
 
113
+ /** @internal */
114
+ export const UploadFileMetadata$inboundSchema: z.ZodType<
115
+ UploadFileMetadata,
116
+ z.ZodTypeDef,
117
+ unknown
118
+ > = z.object({});
119
+
120
+ /** @internal */
121
+ export type UploadFileMetadata$Outbound = {};
122
+
123
+ /** @internal */
124
+ export const UploadFileMetadata$outboundSchema: z.ZodType<
125
+ UploadFileMetadata$Outbound,
126
+ z.ZodTypeDef,
127
+ UploadFileMetadata
128
+ > = z.object({});
129
+
130
+ /**
131
+ * @internal
132
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
133
+ */
134
+ export namespace UploadFileMetadata$ {
135
+ /** @deprecated use `UploadFileMetadata$inboundSchema` instead. */
136
+ export const inboundSchema = UploadFileMetadata$inboundSchema;
137
+ /** @deprecated use `UploadFileMetadata$outboundSchema` instead. */
138
+ export const outboundSchema = UploadFileMetadata$outboundSchema;
139
+ /** @deprecated use `UploadFileMetadata$Outbound` instead. */
140
+ export type Outbound = UploadFileMetadata$Outbound;
141
+ }
142
+
143
+ export function uploadFileMetadataToJSON(
144
+ uploadFileMetadata: UploadFileMetadata,
145
+ ): string {
146
+ return JSON.stringify(
147
+ UploadFileMetadata$outboundSchema.parse(uploadFileMetadata),
148
+ );
149
+ }
150
+
151
+ export function uploadFileMetadataFromJSON(
152
+ jsonString: string,
153
+ ): SafeParseResult<UploadFileMetadata, SDKValidationError> {
154
+ return safeParse(
155
+ jsonString,
156
+ (x) => UploadFileMetadata$inboundSchema.parse(JSON.parse(x)),
157
+ `Failed to parse 'UploadFileMetadata' from JSON`,
158
+ );
159
+ }
160
+
107
161
  /** @internal */
108
162
  export const InsightsOutput$inboundSchema: z.ZodType<
109
163
  InsightsOutput,
@@ -123,6 +177,9 @@ export const InsightsOutput$inboundSchema: z.ZodType<
123
177
  .optional(),
124
178
  updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
125
179
  .optional(),
180
+ upload_file_metadata: z.nullable(
181
+ z.lazy(() => UploadFileMetadata$inboundSchema),
182
+ ).optional(),
126
183
  }).transform((v) => {
127
184
  return remap$(v, {
128
185
  "session_id": "sessionId",
@@ -135,6 +192,7 @@ export const InsightsOutput$inboundSchema: z.ZodType<
135
192
  "json_value": "jsonValue",
136
193
  "created_at": "createdAt",
137
194
  "updated_at": "updatedAt",
195
+ "upload_file_metadata": "uploadFileMetadata",
138
196
  });
139
197
  });
140
198
 
@@ -151,6 +209,7 @@ export type InsightsOutput$Outbound = {
151
209
  json_value: { [k: string]: string | number | number };
152
210
  created_at?: string | undefined;
153
211
  updated_at?: string | undefined;
212
+ upload_file_metadata?: UploadFileMetadata$Outbound | null | undefined;
154
213
  };
155
214
 
156
215
  /** @internal */
@@ -170,6 +229,9 @@ export const InsightsOutput$outboundSchema: z.ZodType<
170
229
  jsonValue: z.record(z.union([z.string(), z.number().int(), z.number()])),
171
230
  createdAt: z.date().transform(v => v.toISOString()).optional(),
172
231
  updatedAt: z.date().transform(v => v.toISOString()).optional(),
232
+ uploadFileMetadata: z.nullable(
233
+ z.lazy(() => UploadFileMetadata$outboundSchema),
234
+ ).optional(),
173
235
  }).transform((v) => {
174
236
  return remap$(v, {
175
237
  sessionId: "session_id",
@@ -182,6 +244,7 @@ export const InsightsOutput$outboundSchema: z.ZodType<
182
244
  jsonValue: "json_value",
183
245
  createdAt: "created_at",
184
246
  updatedAt: "updated_at",
247
+ uploadFileMetadata: "upload_file_metadata",
185
248
  });
186
249
  });
187
250