syllable-sdk 0.1.0-alpha.151 → 0.1.0-alpha.154
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/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/workflows/README.md +8 -8
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/insightworkflowoutput.d.ts +5 -0
- package/models/components/insightworkflowoutput.d.ts.map +1 -1
- package/models/components/insightworkflowoutput.js +4 -0
- package/models/components/insightworkflowoutput.js.map +1 -1
- package/openapi.json +48 -33
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/insightworkflowoutput.ts +9 -0
|
@@ -125,9 +125,9 @@ const syllableSDK = new SyllableSDK({
|
|
|
125
125
|
|
|
126
126
|
async function run() {
|
|
127
127
|
const result = await syllableSDK.outbound.batches.create({
|
|
128
|
-
batchId: "
|
|
128
|
+
batchId: "20250519.9",
|
|
129
129
|
campaignId: 1,
|
|
130
|
-
expiresOn: new Date("2025-05-
|
|
130
|
+
expiresOn: new Date("2025-05-20T00:00:00Z"),
|
|
131
131
|
paused: true,
|
|
132
132
|
});
|
|
133
133
|
|
|
@@ -154,9 +154,9 @@ const syllableSDK = new SyllableSDKCore({
|
|
|
154
154
|
|
|
155
155
|
async function run() {
|
|
156
156
|
const res = await outboundBatchesCreate(syllableSDK, {
|
|
157
|
-
batchId: "
|
|
157
|
+
batchId: "20250519.9",
|
|
158
158
|
campaignId: 1,
|
|
159
|
-
expiresOn: new Date("2025-05-
|
|
159
|
+
expiresOn: new Date("2025-05-20T00:00:00Z"),
|
|
160
160
|
paused: true,
|
|
161
161
|
});
|
|
162
162
|
|
|
@@ -131,8 +131,8 @@ async function run() {
|
|
|
131
131
|
1,
|
|
132
132
|
],
|
|
133
133
|
conditions: {},
|
|
134
|
-
startDatetime: new Date("2025-05-
|
|
135
|
-
endDatetime: new Date("2025-05-
|
|
134
|
+
startDatetime: new Date("2025-05-18T00:00:00Z"),
|
|
135
|
+
endDatetime: new Date("2025-05-19T00:00:00Z"),
|
|
136
136
|
});
|
|
137
137
|
|
|
138
138
|
// Handle the result
|
|
@@ -165,8 +165,8 @@ async function run() {
|
|
|
165
165
|
1,
|
|
166
166
|
],
|
|
167
167
|
conditions: {},
|
|
168
|
-
startDatetime: new Date("2025-05-
|
|
169
|
-
endDatetime: new Date("2025-05-
|
|
168
|
+
startDatetime: new Date("2025-05-18T00:00:00Z"),
|
|
169
|
+
endDatetime: new Date("2025-05-19T00:00:00Z"),
|
|
170
170
|
});
|
|
171
171
|
|
|
172
172
|
if (!res.ok) {
|
|
@@ -303,8 +303,8 @@ async function run() {
|
|
|
303
303
|
1,
|
|
304
304
|
],
|
|
305
305
|
conditions: {},
|
|
306
|
-
startDatetime: new Date("2025-05-
|
|
307
|
-
endDatetime: new Date("2025-05-
|
|
306
|
+
startDatetime: new Date("2025-05-18T00:00:00Z"),
|
|
307
|
+
endDatetime: new Date("2025-05-19T00:00:00Z"),
|
|
308
308
|
},
|
|
309
309
|
});
|
|
310
310
|
|
|
@@ -340,8 +340,8 @@ async function run() {
|
|
|
340
340
|
1,
|
|
341
341
|
],
|
|
342
342
|
conditions: {},
|
|
343
|
-
startDatetime: new Date("2025-05-
|
|
344
|
-
endDatetime: new Date("2025-05-
|
|
343
|
+
startDatetime: new Date("2025-05-18T00:00:00Z"),
|
|
344
|
+
endDatetime: new Date("2025-05-19T00:00:00Z"),
|
|
345
345
|
},
|
|
346
346
|
});
|
|
347
347
|
|
package/jsr.json
CHANGED
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.2";
|
|
30
|
-
readonly sdkVersion: "0.1.0-alpha.
|
|
30
|
+
readonly sdkVersion: "0.1.0-alpha.154";
|
|
31
31
|
readonly genVersion: "2.512.4";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.154 2.512.4 0.0.2 syllable-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.2",
|
|
34
|
-
sdkVersion: "0.1.0-alpha.
|
|
34
|
+
sdkVersion: "0.1.0-alpha.154",
|
|
35
35
|
genVersion: "2.512.4",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.154 2.512.4 0.0.2 syllable-sdk",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -52,6 +52,10 @@ export type InsightWorkflowOutput = {
|
|
|
52
52
|
* Response model for an insight workflow.
|
|
53
53
|
*/
|
|
54
54
|
estimate: InsightWorkflowEstimate;
|
|
55
|
+
/**
|
|
56
|
+
* Number of calls in the workflow queue (pending or processing)
|
|
57
|
+
*/
|
|
58
|
+
queueCount?: number | null | undefined;
|
|
55
59
|
/**
|
|
56
60
|
* Timestamp at which the insight workflow was created
|
|
57
61
|
*/
|
|
@@ -80,6 +84,7 @@ export type InsightWorkflowOutput$Outbound = {
|
|
|
80
84
|
insight_tools: Array<InsightToolOutput$Outbound>;
|
|
81
85
|
status: string;
|
|
82
86
|
estimate: InsightWorkflowEstimate$Outbound;
|
|
87
|
+
queue_count?: number | null | undefined;
|
|
83
88
|
created_at?: string | undefined;
|
|
84
89
|
updated_at?: string | undefined;
|
|
85
90
|
last_updated_by: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"insightworkflowoutput.d.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O,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"insightworkflowoutput.d.ts","sourceRoot":"","sources":["../../src/models/components/insightworkflowoutput.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,iBAAiB,EAEjB,0BAA0B,EAE3B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,wBAAwB,EAExB,iCAAiC,EAElC,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AAEtC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,cAAc,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,wBAAwB,CAAC;IACrC;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,YAAY,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,uBAAuB,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CA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IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -48,6 +48,7 @@ exports.InsightWorkflowOutput$inboundSchema = z.object({
|
|
|
48
48
|
insight_tools: z.array(insighttooloutput_js_1.InsightToolOutput$inboundSchema),
|
|
49
49
|
status: z.string(),
|
|
50
50
|
estimate: insightworkflowestimate_js_1.InsightWorkflowEstimate$inboundSchema,
|
|
51
|
+
queue_count: z.nullable(z.number().int()).optional(),
|
|
51
52
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
52
53
|
.optional(),
|
|
53
54
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
@@ -59,6 +60,7 @@ exports.InsightWorkflowOutput$inboundSchema = z.object({
|
|
|
59
60
|
"start_datetime": "startDatetime",
|
|
60
61
|
"end_datetime": "endDatetime",
|
|
61
62
|
"insight_tools": "insightTools",
|
|
63
|
+
"queue_count": "queueCount",
|
|
62
64
|
"created_at": "createdAt",
|
|
63
65
|
"updated_at": "updatedAt",
|
|
64
66
|
"last_updated_by": "lastUpdatedBy",
|
|
@@ -78,6 +80,7 @@ exports.InsightWorkflowOutput$outboundSchema = z.object({
|
|
|
78
80
|
insightTools: z.array(insighttooloutput_js_1.InsightToolOutput$outboundSchema),
|
|
79
81
|
status: z.string(),
|
|
80
82
|
estimate: insightworkflowestimate_js_1.InsightWorkflowEstimate$outboundSchema,
|
|
83
|
+
queueCount: z.nullable(z.number().int()).optional(),
|
|
81
84
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
82
85
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
83
86
|
lastUpdatedBy: z.string(),
|
|
@@ -87,6 +90,7 @@ exports.InsightWorkflowOutput$outboundSchema = z.object({
|
|
|
87
90
|
startDatetime: "start_datetime",
|
|
88
91
|
endDatetime: "end_datetime",
|
|
89
92
|
insightTools: "insight_tools",
|
|
93
|
+
queueCount: "queue_count",
|
|
90
94
|
createdAt: "created_at",
|
|
91
95
|
updatedAt: "updated_at",
|
|
92
96
|
lastUpdatedBy: "last_updated_by",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"insightworkflowoutput.js","sourceRoot":"","sources":["../../src/models/components/insightworkflowoutput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"insightworkflowoutput.js","sourceRoot":"","sources":["../../src/models/components/insightworkflowoutput.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAuMH,kEAMC;AAED,sEAQC;AArND,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,iEAKgC;AAChC,+EAKuC;AACvC,6EAKsC;AAoEtC,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;IAClB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC;IAC3C,UAAU,EAAE,oEAAsC;IAClD,cAAc,EAAE,CAAC,CAAC,QAAQ,CACxB,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAClE,CAAC,QAAQ,EAAE;IACZ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AW,EAAE,CAAC,CAAC,QAAQ,EAAE;IAC9D,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;CAC1B,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,cAAc,EAAE,kBAAkB;QAClC,aAAa,EAAE,gBAAgB;QAC/B,WAAW,EAAE,cAAc;QAC3B,YAAY,EAAE,eAAe;QAC7B,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,SAAS,EAAE,YAAY;QACvB,aAAa,EAAE,iBAAiB;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
package/openapi.json
CHANGED
|
@@ -11545,7 +11545,7 @@
|
|
|
11545
11545
|
"title": "Batch Id",
|
|
11546
11546
|
"description": "Unique ID for conversation batch",
|
|
11547
11547
|
"examples": [
|
|
11548
|
-
"
|
|
11548
|
+
"20250519.9"
|
|
11549
11549
|
]
|
|
11550
11550
|
},
|
|
11551
11551
|
"campaign_id": {
|
|
@@ -11569,7 +11569,7 @@
|
|
|
11569
11569
|
"title": "Expires On",
|
|
11570
11570
|
"description": "Timestamp of batch expiration",
|
|
11571
11571
|
"examples": [
|
|
11572
|
-
"2025-05-
|
|
11572
|
+
"2025-05-20T00:00:00Z"
|
|
11573
11573
|
]
|
|
11574
11574
|
},
|
|
11575
11575
|
"paused": {
|
|
@@ -11622,7 +11622,7 @@
|
|
|
11622
11622
|
"title": "Created At",
|
|
11623
11623
|
"description": "Timestamp of batch creation",
|
|
11624
11624
|
"examples": [
|
|
11625
|
-
"2025-05-
|
|
11625
|
+
"2025-05-19T00:00:00Z"
|
|
11626
11626
|
]
|
|
11627
11627
|
},
|
|
11628
11628
|
"deleted_at": {
|
|
@@ -11638,7 +11638,7 @@
|
|
|
11638
11638
|
"title": "Deleted At",
|
|
11639
11639
|
"description": "Timestamp of batch deletion",
|
|
11640
11640
|
"examples": [
|
|
11641
|
-
"2025-05-
|
|
11641
|
+
"2025-05-19T00:00:00Z"
|
|
11642
11642
|
]
|
|
11643
11643
|
},
|
|
11644
11644
|
"deleted_reason": {
|
|
@@ -11669,7 +11669,7 @@
|
|
|
11669
11669
|
"title": "Last Updated At",
|
|
11670
11670
|
"description": "Timestamp of last change to batch",
|
|
11671
11671
|
"examples": [
|
|
11672
|
-
"2025-05-
|
|
11672
|
+
"2025-05-19T00:00:00Z"
|
|
11673
11673
|
]
|
|
11674
11674
|
},
|
|
11675
11675
|
"last_updated_by": {
|
|
@@ -12184,7 +12184,7 @@
|
|
|
12184
12184
|
"title": "Batch Id",
|
|
12185
12185
|
"description": "Unique ID for conversation batch",
|
|
12186
12186
|
"examples": [
|
|
12187
|
-
"
|
|
12187
|
+
"20250519.9"
|
|
12188
12188
|
]
|
|
12189
12189
|
},
|
|
12190
12190
|
"campaign_id": {
|
|
@@ -12208,7 +12208,7 @@
|
|
|
12208
12208
|
"title": "Expires On",
|
|
12209
12209
|
"description": "Timestamp of batch expiration",
|
|
12210
12210
|
"examples": [
|
|
12211
|
-
"2025-05-
|
|
12211
|
+
"2025-05-20T00:00:00Z"
|
|
12212
12212
|
]
|
|
12213
12213
|
},
|
|
12214
12214
|
"paused": {
|
|
@@ -12261,7 +12261,7 @@
|
|
|
12261
12261
|
"title": "Created At",
|
|
12262
12262
|
"description": "Timestamp of batch creation",
|
|
12263
12263
|
"examples": [
|
|
12264
|
-
"2025-05-
|
|
12264
|
+
"2025-05-19T00:00:00Z"
|
|
12265
12265
|
]
|
|
12266
12266
|
},
|
|
12267
12267
|
"deleted_at": {
|
|
@@ -12277,7 +12277,7 @@
|
|
|
12277
12277
|
"title": "Deleted At",
|
|
12278
12278
|
"description": "Timestamp of batch deletion",
|
|
12279
12279
|
"examples": [
|
|
12280
|
-
"2025-05-
|
|
12280
|
+
"2025-05-19T00:00:00Z"
|
|
12281
12281
|
]
|
|
12282
12282
|
},
|
|
12283
12283
|
"deleted_reason": {
|
|
@@ -12308,7 +12308,7 @@
|
|
|
12308
12308
|
"title": "Last Updated At",
|
|
12309
12309
|
"description": "Timestamp of last change to batch",
|
|
12310
12310
|
"examples": [
|
|
12311
|
-
"2025-05-
|
|
12311
|
+
"2025-05-19T00:00:00Z"
|
|
12312
12312
|
]
|
|
12313
12313
|
},
|
|
12314
12314
|
"last_updated_by": {
|
|
@@ -12351,7 +12351,7 @@
|
|
|
12351
12351
|
"title": "Batch Id",
|
|
12352
12352
|
"description": "Unique ID for conversation batch",
|
|
12353
12353
|
"examples": [
|
|
12354
|
-
"
|
|
12354
|
+
"20250519.9"
|
|
12355
12355
|
]
|
|
12356
12356
|
},
|
|
12357
12357
|
"campaign_id": {
|
|
@@ -12375,7 +12375,7 @@
|
|
|
12375
12375
|
"title": "Expires On",
|
|
12376
12376
|
"description": "Timestamp of batch expiration",
|
|
12377
12377
|
"examples": [
|
|
12378
|
-
"2025-05-
|
|
12378
|
+
"2025-05-20T00:00:00Z"
|
|
12379
12379
|
]
|
|
12380
12380
|
},
|
|
12381
12381
|
"paused": {
|
|
@@ -12518,7 +12518,7 @@
|
|
|
12518
12518
|
"title": "Created At",
|
|
12519
12519
|
"description": "Timestamp of request creation",
|
|
12520
12520
|
"examples": [
|
|
12521
|
-
"2025-05-
|
|
12521
|
+
"2025-05-18T00:00:00Z"
|
|
12522
12522
|
]
|
|
12523
12523
|
},
|
|
12524
12524
|
"sent_at": {
|
|
@@ -12534,7 +12534,7 @@
|
|
|
12534
12534
|
"title": "Sent At",
|
|
12535
12535
|
"description": "Timestamp at which request was sent",
|
|
12536
12536
|
"examples": [
|
|
12537
|
-
"2025-05-
|
|
12537
|
+
"2025-05-19T00:00:00Z"
|
|
12538
12538
|
]
|
|
12539
12539
|
},
|
|
12540
12540
|
"attempt_count": {
|
|
@@ -14434,7 +14434,7 @@
|
|
|
14434
14434
|
"title": "Created At",
|
|
14435
14435
|
"description": "Timestamp at which insight upload folder was created",
|
|
14436
14436
|
"examples": [
|
|
14437
|
-
"2025-05-
|
|
14437
|
+
"2025-05-18T00:00:00Z"
|
|
14438
14438
|
]
|
|
14439
14439
|
},
|
|
14440
14440
|
"updated_at": {
|
|
@@ -14443,7 +14443,7 @@
|
|
|
14443
14443
|
"title": "Updated At",
|
|
14444
14444
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
14445
14445
|
"examples": [
|
|
14446
|
-
"2025-05-
|
|
14446
|
+
"2025-05-19T00:00:00Z"
|
|
14447
14447
|
]
|
|
14448
14448
|
},
|
|
14449
14449
|
"last_updated_by": {
|
|
@@ -15158,7 +15158,7 @@
|
|
|
15158
15158
|
"title": "Created At",
|
|
15159
15159
|
"description": "Timestamp of at which insight tool configuration was created",
|
|
15160
15160
|
"examples": [
|
|
15161
|
-
"2025-05-
|
|
15161
|
+
"2025-05-18T00:00:00Z"
|
|
15162
15162
|
]
|
|
15163
15163
|
},
|
|
15164
15164
|
"updated_at": {
|
|
@@ -15167,7 +15167,7 @@
|
|
|
15167
15167
|
"title": "Updated At",
|
|
15168
15168
|
"description": "Timestamp at which insight tool configuration was last updated",
|
|
15169
15169
|
"examples": [
|
|
15170
|
-
"2025-05-
|
|
15170
|
+
"2025-05-19T00:00:00Z"
|
|
15171
15171
|
]
|
|
15172
15172
|
},
|
|
15173
15173
|
"last_updated_by": {
|
|
@@ -15512,7 +15512,7 @@
|
|
|
15512
15512
|
"title": "Start Datetime",
|
|
15513
15513
|
"description": "Timestamp for when the insight workflow should start. An empty value indicates start on activation",
|
|
15514
15514
|
"examples": [
|
|
15515
|
-
"2025-05-
|
|
15515
|
+
"2025-05-18T00:00:00Z"
|
|
15516
15516
|
]
|
|
15517
15517
|
},
|
|
15518
15518
|
"end_datetime": {
|
|
@@ -15528,7 +15528,7 @@
|
|
|
15528
15528
|
"title": "End Datetime",
|
|
15529
15529
|
"description": "Timestamp of when the insight workflow should end. An empty value indicates no end",
|
|
15530
15530
|
"examples": [
|
|
15531
|
-
"2025-05-
|
|
15531
|
+
"2025-05-19T00:00:00Z"
|
|
15532
15532
|
]
|
|
15533
15533
|
}
|
|
15534
15534
|
},
|
|
@@ -15602,7 +15602,7 @@
|
|
|
15602
15602
|
"title": "Start Datetime",
|
|
15603
15603
|
"description": "Timestamp for when the insight workflow should start. An empty value indicates start on activation",
|
|
15604
15604
|
"examples": [
|
|
15605
|
-
"2025-05-
|
|
15605
|
+
"2025-05-18T00:00:00Z"
|
|
15606
15606
|
]
|
|
15607
15607
|
},
|
|
15608
15608
|
"end_datetime": {
|
|
@@ -15618,7 +15618,7 @@
|
|
|
15618
15618
|
"title": "End Datetime",
|
|
15619
15619
|
"description": "Timestamp of when the insight workflow should end. An empty value indicates no end",
|
|
15620
15620
|
"examples": [
|
|
15621
|
-
"2025-05-
|
|
15621
|
+
"2025-05-19T00:00:00Z"
|
|
15622
15622
|
]
|
|
15623
15623
|
},
|
|
15624
15624
|
"id": {
|
|
@@ -15650,13 +15650,28 @@
|
|
|
15650
15650
|
"$ref": "#/components/schemas/InsightWorkflowEstimate",
|
|
15651
15651
|
"description": "Estimate of the number of calls that will be processed by the workflow and their cost"
|
|
15652
15652
|
},
|
|
15653
|
+
"queue_count": {
|
|
15654
|
+
"anyOf": [
|
|
15655
|
+
{
|
|
15656
|
+
"type": "integer"
|
|
15657
|
+
},
|
|
15658
|
+
{
|
|
15659
|
+
"type": "null"
|
|
15660
|
+
}
|
|
15661
|
+
],
|
|
15662
|
+
"title": "Queue Count",
|
|
15663
|
+
"description": "Number of calls in the workflow queue (pending or processing)",
|
|
15664
|
+
"examples": [
|
|
15665
|
+
10
|
|
15666
|
+
]
|
|
15667
|
+
},
|
|
15653
15668
|
"created_at": {
|
|
15654
15669
|
"type": "string",
|
|
15655
15670
|
"format": "date-time",
|
|
15656
15671
|
"title": "Created At",
|
|
15657
15672
|
"description": "Timestamp at which the insight workflow was created",
|
|
15658
15673
|
"examples": [
|
|
15659
|
-
"2025-05-
|
|
15674
|
+
"2025-05-18T00:00:00Z"
|
|
15660
15675
|
]
|
|
15661
15676
|
},
|
|
15662
15677
|
"updated_at": {
|
|
@@ -15665,7 +15680,7 @@
|
|
|
15665
15680
|
"title": "Updated At",
|
|
15666
15681
|
"description": "Timestamp of most recent update to the insight workflow",
|
|
15667
15682
|
"examples": [
|
|
15668
|
-
"2025-05-
|
|
15683
|
+
"2025-05-19T00:00:00Z"
|
|
15669
15684
|
]
|
|
15670
15685
|
},
|
|
15671
15686
|
"last_updated_by": {
|
|
@@ -15761,7 +15776,7 @@
|
|
|
15761
15776
|
"title": "Created At",
|
|
15762
15777
|
"description": "Timestamp at which insight upload folder was created",
|
|
15763
15778
|
"examples": [
|
|
15764
|
-
"2025-05-
|
|
15779
|
+
"2025-05-18T00:00:00Z"
|
|
15765
15780
|
]
|
|
15766
15781
|
},
|
|
15767
15782
|
"updated_at": {
|
|
@@ -15770,7 +15785,7 @@
|
|
|
15770
15785
|
"title": "Updated At",
|
|
15771
15786
|
"description": "Timestamp at which insight upload folder was last updated",
|
|
15772
15787
|
"examples": [
|
|
15773
|
-
"2025-05-
|
|
15788
|
+
"2025-05-19T00:00:00Z"
|
|
15774
15789
|
]
|
|
15775
15790
|
},
|
|
15776
15791
|
"last_updated_by": {
|
|
@@ -16005,7 +16020,7 @@
|
|
|
16005
16020
|
"title": "Created At",
|
|
16006
16021
|
"description": "Timestamp at which insight tool result was created",
|
|
16007
16022
|
"examples": [
|
|
16008
|
-
"2025-05-
|
|
16023
|
+
"2025-05-18T00:00:00Z"
|
|
16009
16024
|
]
|
|
16010
16025
|
},
|
|
16011
16026
|
"updated_at": {
|
|
@@ -16014,7 +16029,7 @@
|
|
|
16014
16029
|
"title": "Updated At",
|
|
16015
16030
|
"description": "Timestamp at which insight tool result was last updated",
|
|
16016
16031
|
"examples": [
|
|
16017
|
-
"2025-05-
|
|
16032
|
+
"2025-05-19T00:00:00Z"
|
|
16018
16033
|
]
|
|
16019
16034
|
}
|
|
16020
16035
|
},
|
|
@@ -16149,7 +16164,7 @@
|
|
|
16149
16164
|
"title": "Start Time",
|
|
16150
16165
|
"description": "Start time of the uploaded file",
|
|
16151
16166
|
"examples": [
|
|
16152
|
-
"2025-05-
|
|
16167
|
+
"2025-05-18T00:00:00Z"
|
|
16153
16168
|
]
|
|
16154
16169
|
},
|
|
16155
16170
|
"end_time": {
|
|
@@ -16165,7 +16180,7 @@
|
|
|
16165
16180
|
"title": "End Time",
|
|
16166
16181
|
"description": "End time of the uploaded file",
|
|
16167
16182
|
"examples": [
|
|
16168
|
-
"2025-05-
|
|
16183
|
+
"2025-05-19T00:00:00Z"
|
|
16169
16184
|
]
|
|
16170
16185
|
},
|
|
16171
16186
|
"error_message": {
|
|
@@ -16220,7 +16235,7 @@
|
|
|
16220
16235
|
"title": "Created At",
|
|
16221
16236
|
"description": "Timestamp at which insight upload file was created",
|
|
16222
16237
|
"examples": [
|
|
16223
|
-
"2025-05-
|
|
16238
|
+
"2025-05-18T00:00:00Z"
|
|
16224
16239
|
]
|
|
16225
16240
|
}
|
|
16226
16241
|
},
|
|
@@ -18641,7 +18656,7 @@
|
|
|
18641
18656
|
"title": "Created At",
|
|
18642
18657
|
"description": "Timestamp of campaign creation",
|
|
18643
18658
|
"examples": [
|
|
18644
|
-
"2025-05-
|
|
18659
|
+
"2025-05-19T00:00:00Z"
|
|
18645
18660
|
]
|
|
18646
18661
|
},
|
|
18647
18662
|
"updated_at": {
|
|
@@ -18650,7 +18665,7 @@
|
|
|
18650
18665
|
"title": "Updated At",
|
|
18651
18666
|
"description": "Timestamp of campaign update",
|
|
18652
18667
|
"examples": [
|
|
18653
|
-
"2025-05-
|
|
18668
|
+
"2025-05-19T00:00:00Z"
|
|
18654
18669
|
]
|
|
18655
18670
|
},
|
|
18656
18671
|
"last_updated_by": {
|
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -57,8 +57,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
57
57
|
export const SDK_METADATA = {
|
|
58
58
|
language: "typescript",
|
|
59
59
|
openapiDocVersion: "0.0.2",
|
|
60
|
-
sdkVersion: "0.1.0-alpha.
|
|
60
|
+
sdkVersion: "0.1.0-alpha.154",
|
|
61
61
|
genVersion: "2.512.4",
|
|
62
62
|
userAgent:
|
|
63
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
63
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.154 2.512.4 0.0.2 syllable-sdk",
|
|
64
64
|
} as const;
|
|
@@ -74,6 +74,10 @@ export type InsightWorkflowOutput = {
|
|
|
74
74
|
* Response model for an insight workflow.
|
|
75
75
|
*/
|
|
76
76
|
estimate: InsightWorkflowEstimate;
|
|
77
|
+
/**
|
|
78
|
+
* Number of calls in the workflow queue (pending or processing)
|
|
79
|
+
*/
|
|
80
|
+
queueCount?: number | null | undefined;
|
|
77
81
|
/**
|
|
78
82
|
* Timestamp at which the insight workflow was created
|
|
79
83
|
*/
|
|
@@ -109,6 +113,7 @@ export const InsightWorkflowOutput$inboundSchema: z.ZodType<
|
|
|
109
113
|
insight_tools: z.array(InsightToolOutput$inboundSchema),
|
|
110
114
|
status: z.string(),
|
|
111
115
|
estimate: InsightWorkflowEstimate$inboundSchema,
|
|
116
|
+
queue_count: z.nullable(z.number().int()).optional(),
|
|
112
117
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
113
118
|
.optional(),
|
|
114
119
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
@@ -120,6 +125,7 @@ export const InsightWorkflowOutput$inboundSchema: z.ZodType<
|
|
|
120
125
|
"start_datetime": "startDatetime",
|
|
121
126
|
"end_datetime": "endDatetime",
|
|
122
127
|
"insight_tools": "insightTools",
|
|
128
|
+
"queue_count": "queueCount",
|
|
123
129
|
"created_at": "createdAt",
|
|
124
130
|
"updated_at": "updatedAt",
|
|
125
131
|
"last_updated_by": "lastUpdatedBy",
|
|
@@ -139,6 +145,7 @@ export type InsightWorkflowOutput$Outbound = {
|
|
|
139
145
|
insight_tools: Array<InsightToolOutput$Outbound>;
|
|
140
146
|
status: string;
|
|
141
147
|
estimate: InsightWorkflowEstimate$Outbound;
|
|
148
|
+
queue_count?: number | null | undefined;
|
|
142
149
|
created_at?: string | undefined;
|
|
143
150
|
updated_at?: string | undefined;
|
|
144
151
|
last_updated_by: string;
|
|
@@ -162,6 +169,7 @@ export const InsightWorkflowOutput$outboundSchema: z.ZodType<
|
|
|
162
169
|
insightTools: z.array(InsightToolOutput$outboundSchema),
|
|
163
170
|
status: z.string(),
|
|
164
171
|
estimate: InsightWorkflowEstimate$outboundSchema,
|
|
172
|
+
queueCount: z.nullable(z.number().int()).optional(),
|
|
165
173
|
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
166
174
|
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
167
175
|
lastUpdatedBy: z.string(),
|
|
@@ -171,6 +179,7 @@ export const InsightWorkflowOutput$outboundSchema: z.ZodType<
|
|
|
171
179
|
startDatetime: "start_datetime",
|
|
172
180
|
endDatetime: "end_datetime",
|
|
173
181
|
insightTools: "insight_tools",
|
|
182
|
+
queueCount: "queue_count",
|
|
174
183
|
createdAt: "created_at",
|
|
175
184
|
updatedAt: "updated_at",
|
|
176
185
|
lastUpdatedBy: "last_updated_by",
|