syllable-sdk 0.1.0-alpha.216 → 0.1.0-alpha.222

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 (29) hide show
  1. package/docs/sdks/batches/README.md +4 -4
  2. package/docs/sdks/services/README.md +8 -0
  3. package/docs/sdks/workflows/README.md +20 -20
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +2 -2
  6. package/lib/config.js +2 -2
  7. package/models/components/insightsuploadfileproperties.d.ts +3 -0
  8. package/models/components/insightsuploadfileproperties.d.ts.map +1 -1
  9. package/models/components/insightsuploadfileproperties.js +1 -0
  10. package/models/components/insightsuploadfileproperties.js.map +1 -1
  11. package/models/components/insightworkflowcondition.d.ts +26 -2
  12. package/models/components/insightworkflowcondition.d.ts.map +1 -1
  13. package/models/components/insightworkflowcondition.js +26 -3
  14. package/models/components/insightworkflowcondition.js.map +1 -1
  15. package/models/components/servicecreaterequest.d.ts +3 -7
  16. package/models/components/servicecreaterequest.d.ts.map +1 -1
  17. package/models/components/servicecreaterequest.js +2 -2
  18. package/models/components/servicecreaterequest.js.map +1 -1
  19. package/models/components/serviceupdaterequest.d.ts +3 -7
  20. package/models/components/serviceupdaterequest.d.ts.map +1 -1
  21. package/models/components/serviceupdaterequest.js +2 -2
  22. package/models/components/serviceupdaterequest.js.map +1 -1
  23. package/openapi.json +51 -64
  24. package/package.json +1 -1
  25. package/src/lib/config.ts +2 -2
  26. package/src/models/components/insightsuploadfileproperties.ts +1 -0
  27. package/src/models/components/insightworkflowcondition.ts +53 -4
  28. package/src/models/components/servicecreaterequest.ts +5 -5
  29. package/src/models/components/serviceupdaterequest.ts +5 -5
@@ -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: "20250724.9",
128
+ batchId: "20250729.9",
129
129
  campaignId: 1,
130
- expiresOn: new Date("2025-07-25T00:00:00Z"),
130
+ expiresOn: new Date("2025-07-30T00: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: "20250724.9",
157
+ batchId: "20250729.9",
158
158
  campaignId: 1,
159
- expiresOn: new Date("2025-07-25T00:00:00Z"),
159
+ expiresOn: new Date("2025-07-30T00:00:00Z"),
160
160
  paused: true,
161
161
  });
162
162
 
@@ -179,6 +179,8 @@ async function run() {
179
179
  "51": "d",
180
180
  "52": "\"",
181
181
  "53": "}",
182
+ "password": "my-password",
183
+ "username": "my-username",
182
184
  },
183
185
  });
184
186
 
@@ -263,6 +265,8 @@ async function run() {
263
265
  "51": "d",
264
266
  "52": "\"",
265
267
  "53": "}",
268
+ "password": "my-password",
269
+ "username": "my-username",
266
270
  },
267
271
  });
268
272
 
@@ -372,6 +376,8 @@ async function run() {
372
376
  "51": "d",
373
377
  "52": "\"",
374
378
  "53": "}",
379
+ "password": "my-password",
380
+ "username": "my-username",
375
381
  },
376
382
  id: 1,
377
383
  lastUpdatedComments: "Updated description to correct typo",
@@ -458,6 +464,8 @@ async function run() {
458
464
  "51": "d",
459
465
  "52": "\"",
460
466
  "53": "}",
467
+ "password": "my-password",
468
+ "username": "my-username",
461
469
  },
462
470
  id: 1,
463
471
  lastUpdatedComments: "Updated description to correct typo",
@@ -133,10 +133,10 @@ async function run() {
133
133
  conditions: {
134
134
  minDuration: 120,
135
135
  maxDuration: 600,
136
- sampleRate: 2,
136
+ sampleRate: 0.1,
137
137
  agentList: [
138
- "866324",
139
- "826325",
138
+ 866324,
139
+ 826325,
140
140
  ],
141
141
  promptList: [
142
142
  "123324",
@@ -150,8 +150,8 @@ async function run() {
150
150
  "sheet_name": "Q1 Sales Data",
151
151
  },
152
152
  },
153
- startDatetime: new Date("2025-07-23T00:00:00Z"),
154
- endDatetime: new Date("2025-07-24T00:00:00Z"),
153
+ startDatetime: new Date("2025-07-28T00:00:00Z"),
154
+ endDatetime: new Date("2025-07-29T00:00:00Z"),
155
155
  });
156
156
 
157
157
  // Handle the result
@@ -186,10 +186,10 @@ async function run() {
186
186
  conditions: {
187
187
  minDuration: 120,
188
188
  maxDuration: 600,
189
- sampleRate: 2,
189
+ sampleRate: 0.1,
190
190
  agentList: [
191
- "866324",
192
- "826325",
191
+ 866324,
192
+ 826325,
193
193
  ],
194
194
  promptList: [
195
195
  "123324",
@@ -203,8 +203,8 @@ async function run() {
203
203
  "sheet_name": "Q1 Sales Data",
204
204
  },
205
205
  },
206
- startDatetime: new Date("2025-07-23T00:00:00Z"),
207
- endDatetime: new Date("2025-07-24T00:00:00Z"),
206
+ startDatetime: new Date("2025-07-28T00:00:00Z"),
207
+ endDatetime: new Date("2025-07-29T00:00:00Z"),
208
208
  });
209
209
 
210
210
  if (!res.ok) {
@@ -343,10 +343,10 @@ async function run() {
343
343
  conditions: {
344
344
  minDuration: 120,
345
345
  maxDuration: 600,
346
- sampleRate: 2,
346
+ sampleRate: 0.1,
347
347
  agentList: [
348
- "866324",
349
- "826325",
348
+ "Agnes.Wangeci",
349
+ "Dorice.Otaaba",
350
350
  ],
351
351
  promptList: [
352
352
  "123324",
@@ -360,8 +360,8 @@ async function run() {
360
360
  "sheet_name": "Q1 Sales Data",
361
361
  },
362
362
  },
363
- startDatetime: new Date("2025-07-23T00:00:00Z"),
364
- endDatetime: new Date("2025-07-24T00:00:00Z"),
363
+ startDatetime: new Date("2025-07-28T00:00:00Z"),
364
+ endDatetime: new Date("2025-07-29T00:00:00Z"),
365
365
  },
366
366
  });
367
367
 
@@ -399,10 +399,10 @@ async function run() {
399
399
  conditions: {
400
400
  minDuration: 120,
401
401
  maxDuration: 600,
402
- sampleRate: 2,
402
+ sampleRate: 0.1,
403
403
  agentList: [
404
- "866324",
405
- "826325",
404
+ "Agnes.Wangeci",
405
+ "Dorice.Otaaba",
406
406
  ],
407
407
  promptList: [
408
408
  "123324",
@@ -416,8 +416,8 @@ async function run() {
416
416
  "sheet_name": "Q1 Sales Data",
417
417
  },
418
418
  },
419
- startDatetime: new Date("2025-07-23T00:00:00Z"),
420
- endDatetime: new Date("2025-07-24T00:00:00Z"),
419
+ startDatetime: new Date("2025-07-28T00:00:00Z"),
420
+ endDatetime: new Date("2025-07-29T00:00:00Z"),
421
421
  },
422
422
  });
423
423
 
package/jsr.json CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  {
4
4
  "name": "syllable-sdk",
5
- "version": "0.1.0-alpha.216",
5
+ "version": "0.1.0-alpha.222",
6
6
  "exports": {
7
7
  ".": "./src/index.ts",
8
8
  "./models/errors": "./src/models/errors/index.ts",
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.216";
30
+ readonly sdkVersion: "0.1.0-alpha.222";
31
31
  readonly genVersion: "2.512.4";
32
- readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.216 2.512.4 0.0.2 syllable-sdk";
32
+ readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.222 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.216",
34
+ sdkVersion: "0.1.0-alpha.222",
35
35
  genVersion: "2.512.4",
36
- userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.216 2.512.4 0.0.2 syllable-sdk",
36
+ userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.222 2.512.4 0.0.2 syllable-sdk",
37
37
  };
38
38
  //# sourceMappingURL=config.js.map
@@ -2,6 +2,7 @@ import * as z from "zod";
2
2
  import { ClosedEnum } from "../../types/enums.js";
3
3
  export declare const InsightsUploadFileProperties: {
4
4
  readonly Filename: "filename";
5
+ readonly FilenameExact: "filename_exact";
5
6
  readonly CallId: "call_id";
6
7
  readonly AgentNumber: "agent_number";
7
8
  readonly CustomerNumber: "customer_number";
@@ -23,6 +24,7 @@ export declare namespace InsightsUploadFileProperties$ {
23
24
  /** @deprecated use `InsightsUploadFileProperties$inboundSchema` instead. */
24
25
  const inboundSchema: z.ZodNativeEnum<{
25
26
  readonly Filename: "filename";
27
+ readonly FilenameExact: "filename_exact";
26
28
  readonly CallId: "call_id";
27
29
  readonly AgentNumber: "agent_number";
28
30
  readonly CustomerNumber: "customer_number";
@@ -34,6 +36,7 @@ export declare namespace InsightsUploadFileProperties$ {
34
36
  /** @deprecated use `InsightsUploadFileProperties$outboundSchema` instead. */
35
37
  const outboundSchema: z.ZodNativeEnum<{
36
38
  readonly Filename: "filename";
39
+ readonly FilenameExact: "filename_exact";
37
40
  readonly CallId: "call_id";
38
41
  readonly AgentNumber: "agent_number";
39
42
  readonly CustomerNumber: "customer_number";
@@ -1 +1 @@
1
- {"version":3,"file":"insightsuploadfileproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/insightsuploadfileproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,4BAA4B;;;;;;;;;CAS/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,aAAa,CACtE,OAAO,4BAA4B,CACS,CAAC;AAE/C,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,aAAa,CACvE,OAAO,4BAA4B,CACS,CAAC;AAE/C;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC7C,4EAA4E;IACrE,MAAM,aAAa;;;;;;;;;MAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc;;;;;;;;;MAA8C,CAAC;CAC3E"}
1
+ {"version":3,"file":"insightsuploadfileproperties.d.ts","sourceRoot":"","sources":["../../src/models/components/insightsuploadfileproperties.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,4BAA4B;;;;;;;;;;CAU/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,aAAa,CACtE,OAAO,4BAA4B,CACS,CAAC;AAE/C,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,aAAa,CACvE,OAAO,4BAA4B,CACS,CAAC;AAE/C;;;GAGG;AACH,yBAAiB,6BAA6B,CAAC;IAC7C,4EAA4E;IACrE,MAAM,aAAa;;;;;;;;;;MAA6C,CAAC;IACxE,6EAA6E;IACtE,MAAM,cAAc;;;;;;;;;;MAA8C,CAAC;CAC3E"}
@@ -30,6 +30,7 @@ exports.InsightsUploadFileProperties$ = exports.InsightsUploadFileProperties$out
30
30
  const z = __importStar(require("zod"));
31
31
  exports.InsightsUploadFileProperties = {
32
32
  Filename: "filename",
33
+ FilenameExact: "filename_exact",
33
34
  CallId: "call_id",
34
35
  AgentNumber: "agent_number",
35
36
  CustomerNumber: "customer_number",
@@ -1 +1 @@
1
- {"version":3,"file":"insightsuploadfileproperties.js","sourceRoot":"","sources":["../../src/models/components/insightsuploadfileproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,4BAA4B,GAAG;IAC1C,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,cAAc;IAC3B,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,YAAY;CACf,CAAC;AAKX,gBAAgB;AACH,QAAA,0CAA0C,GAEnD,CAAC,CAAC,UAAU,CAAC,oCAA4B,CAAC,CAAC;AAE/C,gBAAgB;AACH,QAAA,2CAA2C,GAEpD,kDAA0C,CAAC;AAE/C;;;GAGG;AACH,IAAiB,6BAA6B,CAK7C;AALD,WAAiB,6BAA6B;IAC5C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAC5E,CAAC,EALgB,6BAA6B,6CAA7B,6BAA6B,QAK7C"}
1
+ {"version":3,"file":"insightsuploadfileproperties.js","sourceRoot":"","sources":["../../src/models/components/insightsuploadfileproperties.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGZ,QAAA,4BAA4B,GAAG;IAC1C,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,gBAAgB;IAC/B,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,cAAc;IAC3B,cAAc,EAAE,iBAAiB;IACjC,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,YAAY;CACf,CAAC;AAKX,gBAAgB;AACH,QAAA,0CAA0C,GAEnD,CAAC,CAAC,UAAU,CAAC,oCAA4B,CAAC,CAAC;AAE/C,gBAAgB;AACH,QAAA,2CAA2C,GAEpD,kDAA0C,CAAC;AAE/C;;;GAGG;AACH,IAAiB,6BAA6B,CAK7C;AALD,WAAiB,6BAA6B;IAC5C,4EAA4E;IAC/D,2CAAa,GAAG,kDAA0C,CAAC;IACxE,6EAA6E;IAChE,4CAAc,GAAG,mDAA2C,CAAC;AAC5E,CAAC,EALgB,6BAA6B,6CAA7B,6BAA6B,QAK7C"}
@@ -1,6 +1,10 @@
1
1
  import * as z from "zod";
2
2
  import { Result as SafeParseResult } from "../../types/fp.js";
3
3
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ /**
5
+ * Sample rate as a percentage of calls
6
+ */
7
+ export type SampleRate = number | number;
4
8
  /**
5
9
  * List of agents
6
10
  */
@@ -20,7 +24,7 @@ export type InsightWorkflowCondition = {
20
24
  /**
21
25
  * Sample rate as a percentage of calls
22
26
  */
23
- sampleRate?: number | null | undefined;
27
+ sampleRate?: number | number | null | undefined;
24
28
  /**
25
29
  * List of agents
26
30
  */
@@ -41,6 +45,26 @@ export type InsightWorkflowCondition = {
41
45
  } | null | undefined;
42
46
  };
43
47
  /** @internal */
48
+ export declare const SampleRate$inboundSchema: z.ZodType<SampleRate, z.ZodTypeDef, unknown>;
49
+ /** @internal */
50
+ export type SampleRate$Outbound = number | number;
51
+ /** @internal */
52
+ export declare const SampleRate$outboundSchema: z.ZodType<SampleRate$Outbound, z.ZodTypeDef, SampleRate>;
53
+ /**
54
+ * @internal
55
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
56
+ */
57
+ export declare namespace SampleRate$ {
58
+ /** @deprecated use `SampleRate$inboundSchema` instead. */
59
+ const inboundSchema: z.ZodType<number, z.ZodTypeDef, unknown>;
60
+ /** @deprecated use `SampleRate$outboundSchema` instead. */
61
+ const outboundSchema: z.ZodType<number, z.ZodTypeDef, number>;
62
+ /** @deprecated use `SampleRate$Outbound` instead. */
63
+ type Outbound = SampleRate$Outbound;
64
+ }
65
+ export declare function sampleRateToJSON(sampleRate: SampleRate): string;
66
+ export declare function sampleRateFromJSON(jsonString: string): SafeParseResult<SampleRate, SDKValidationError>;
67
+ /** @internal */
44
68
  export declare const AgentList$inboundSchema: z.ZodType<AgentList, z.ZodTypeDef, unknown>;
45
69
  /** @internal */
46
70
  export type AgentList$Outbound = Array<number> | Array<string>;
@@ -66,7 +90,7 @@ export declare const InsightWorkflowCondition$inboundSchema: z.ZodType<InsightWo
66
90
  export type InsightWorkflowCondition$Outbound = {
67
91
  min_duration?: number | null | undefined;
68
92
  max_duration?: number | null | undefined;
69
- sample_rate?: number | null | undefined;
93
+ sample_rate?: number | number | null | undefined;
70
94
  agent_list?: Array<number> | Array<string> | null | undefined;
71
95
  prompt_list?: Array<string> | null | undefined;
72
96
  folder_list?: Array<number> | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"insightworkflowcondition.d.ts","sourceRoot":"","sources":["../../src/models/components/insightworkflowcondition.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;AAErE;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7D;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9C;;OAEG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,C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AG,SAAS,CAAC;IACxC,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAqBxB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
1
+ {"version":3,"file":"insightworkflowcondition.d.ts","sourceRoot":"","sources":["../../src/models/components/insightworkflowcondition.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;AAErE;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEzC;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CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjD,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC9D,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/C,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CAqBxB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
@@ -26,7 +26,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.InsightWorkflowCondition$ = exports.InsightWorkflowCondition$outboundSchema = exports.InsightWorkflowCondition$inboundSchema = exports.AgentList$ = exports.AgentList$outboundSchema = exports.AgentList$inboundSchema = void 0;
29
+ exports.InsightWorkflowCondition$ = exports.InsightWorkflowCondition$outboundSchema = exports.InsightWorkflowCondition$inboundSchema = exports.AgentList$ = exports.AgentList$outboundSchema = exports.AgentList$inboundSchema = exports.SampleRate$ = exports.SampleRate$outboundSchema = exports.SampleRate$inboundSchema = void 0;
30
+ exports.sampleRateToJSON = sampleRateToJSON;
31
+ exports.sampleRateFromJSON = sampleRateFromJSON;
30
32
  exports.agentListToJSON = agentListToJSON;
31
33
  exports.agentListFromJSON = agentListFromJSON;
32
34
  exports.insightWorkflowConditionToJSON = insightWorkflowConditionToJSON;
@@ -35,6 +37,27 @@ const z = __importStar(require("zod"));
35
37
  const primitives_js_1 = require("../../lib/primitives.js");
36
38
  const schemas_js_1 = require("../../lib/schemas.js");
37
39
  /** @internal */
40
+ exports.SampleRate$inboundSchema = z.union([z.number().int(), z.number()]);
41
+ /** @internal */
42
+ exports.SampleRate$outboundSchema = z.union([z.number().int(), z.number()]);
43
+ /**
44
+ * @internal
45
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
46
+ */
47
+ var SampleRate$;
48
+ (function (SampleRate$) {
49
+ /** @deprecated use `SampleRate$inboundSchema` instead. */
50
+ SampleRate$.inboundSchema = exports.SampleRate$inboundSchema;
51
+ /** @deprecated use `SampleRate$outboundSchema` instead. */
52
+ SampleRate$.outboundSchema = exports.SampleRate$outboundSchema;
53
+ })(SampleRate$ || (exports.SampleRate$ = SampleRate$ = {}));
54
+ function sampleRateToJSON(sampleRate) {
55
+ return JSON.stringify(exports.SampleRate$outboundSchema.parse(sampleRate));
56
+ }
57
+ function sampleRateFromJSON(jsonString) {
58
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SampleRate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SampleRate' from JSON`);
59
+ }
60
+ /** @internal */
38
61
  exports.AgentList$inboundSchema = z.union([z.array(z.number().int()), z.array(z.string())]);
39
62
  /** @internal */
40
63
  exports.AgentList$outboundSchema = z.union([z.array(z.number().int()), z.array(z.string())]);
@@ -59,7 +82,7 @@ function agentListFromJSON(jsonString) {
59
82
  exports.InsightWorkflowCondition$inboundSchema = z.object({
60
83
  min_duration: z.nullable(z.number().int()).optional(),
61
84
  max_duration: z.nullable(z.number().int()).optional(),
62
- sample_rate: z.nullable(z.number().int()).optional(),
85
+ sample_rate: z.nullable(z.union([z.number().int(), z.number()])).optional(),
63
86
  agent_list: z.nullable(z.union([z.array(z.number().int()), z.array(z.string())])).optional(),
64
87
  prompt_list: z.nullable(z.array(z.string())).optional(),
65
88
  folder_list: z.nullable(z.array(z.number().int())).optional(),
@@ -79,7 +102,7 @@ exports.InsightWorkflowCondition$inboundSchema = z.object({
79
102
  exports.InsightWorkflowCondition$outboundSchema = z.object({
80
103
  minDuration: z.nullable(z.number().int()).optional(),
81
104
  maxDuration: z.nullable(z.number().int()).optional(),
82
- sampleRate: z.nullable(z.number().int()).optional(),
105
+ sampleRate: z.nullable(z.union([z.number().int(), z.number()])).optional(),
83
106
  agentList: z.nullable(z.union([z.array(z.number().int()), z.array(z.string())])).optional(),
84
107
  promptList: z.nullable(z.array(z.string())).optional(),
85
108
  folderList: z.nullable(z.array(z.number().int())).optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"insightworkflowcondition.js","sourceRoot":"","sources":["../../src/models/components/insightworkflowcondition.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA6EH,0CAEC;AAED,8CAQC;AAgFD,wEAMC;AAED,4EAQC;AAvLD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA2CjD,gBAAgB;AACH,QAAA,uBAAuB,GAIhC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC;AAK9D,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OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"insightworkflowcondition.js","sourceRoot":"","sources":["../../src/models/components/insightworkflowcondition.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFH,4CAEC;AAED,gDAQC;AAgCD,0CAEC;AAED,8CAQC;AAgFD,wEAMC;AAED,4EAQC;AAxOD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAgDjD,gBAAgB;AACH,QAAA,wBAAwB,GAIjC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAK5C,gBAAgB;AACH,QAAA,yBAAyB,GAIlC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;AAE5C;;;GAGG;AACH,IAAiB,WAAW,CAO3B;AAPD,WAAiB,WAAW;IAC1B,0DAA0D;IAC7C,yBAAa,GAAG,gCAAwB,CAAC;IACtD,2DAA2D;IAC9C,0BAAc,GAAG,iCAAyB,CAAC;AAG1D,CAAC,EAPgB,WAAW,2BAAX,WAAW,QAO3B;AAED,SAAgB,gBAAgB,CAAC,UAAsB;IACrD,OAAO,IAAI,CAAC,SAAS,CAAC,iCAAyB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;AACrE,CAAC;A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CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;QAC3B,WAAW,EAAE,cAAc;QAC3B,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;QACvB,UAAU,EAAE,aAAa;QACzB,UAAU,EAAE,aAAa;QACzB,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,yBAAyB,CAOzC;AAPD,WAAiB,yBAAyB;IACxC,wEAAwE;IAC3D,uCAAa,GAAG,8CAAsC,CAAC;IACpE,yEAAyE;IAC5D,wCAAc,GAAG,+CAAuC,CAAC;AAGxE,CAAC,EAPgB,yBAAyB,yCAAzB,yBAAyB,QAOzC;AAED,SAAgB,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,+CAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC;AAED,SAAgB,gCAAgC,CAC9C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8CAAsC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAClE,sDAAsD,CACvD,CAAC;AACJ,CAAC"}
@@ -19,11 +19,9 @@ export type ServiceCreateRequest = {
19
19
  */
20
20
  authType?: ToolAuthType | null | undefined;
21
21
  /**
22
- * The values to use for the authentication. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
22
+ * The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
23
23
  */
24
- authValues?: {
25
- [k: string]: string;
26
- } | null | undefined;
24
+ authValues?: any | null | undefined;
27
25
  };
28
26
  /** @internal */
29
27
  export declare const ServiceCreateRequest$inboundSchema: z.ZodType<ServiceCreateRequest, z.ZodTypeDef, unknown>;
@@ -32,9 +30,7 @@ export type ServiceCreateRequest$Outbound = {
32
30
  name: string;
33
31
  description: string;
34
32
  auth_type?: string | null | undefined;
35
- auth_values?: {
36
- [k: string]: string;
37
- } | null | undefined;
33
+ auth_values?: any | null | undefined;
38
34
  };
39
35
  /** @internal */
40
36
  export declare const ServiceCreateRequest$outboundSchema: z.ZodType<ServiceCreateRequest$Outbound, z.ZodTypeDef, ServiceCreateRequest>;
@@ -1 +1 @@
1
- {"version":3,"file":"servicecreaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/servicecreaterequest.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,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,UAAU,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CACzD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,WAAW,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAWpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
1
+ {"version":3,"file":"servicecreaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/servicecreaterequest.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,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC;CACrC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAWP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,WAAW,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC;CACtC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAWpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -38,7 +38,7 @@ exports.ServiceCreateRequest$inboundSchema = z.object({
38
38
  name: z.string(),
39
39
  description: z.string(),
40
40
  auth_type: z.nullable(toolauthtype_js_1.ToolAuthType$inboundSchema).optional(),
41
- auth_values: z.nullable(z.record(z.string())).optional(),
41
+ auth_values: z.nullable(z.any()).optional(),
42
42
  }).transform((v) => {
43
43
  return (0, primitives_js_1.remap)(v, {
44
44
  "auth_type": "authType",
@@ -50,7 +50,7 @@ exports.ServiceCreateRequest$outboundSchema = z.object({
50
50
  name: z.string(),
51
51
  description: z.string(),
52
52
  authType: z.nullable(toolauthtype_js_1.ToolAuthType$outboundSchema).optional(),
53
- authValues: z.nullable(z.record(z.string())).optional(),
53
+ authValues: z.nullable(z.any()).optional(),
54
54
  }).transform((v) => {
55
55
  return (0, primitives_js_1.remap)(v, {
56
56
  authType: "auth_type",
@@ -1 +1 @@
1
- {"version":3,"file":"servicecreaterequest.js","sourceRoot":"","sources":["../../src/models/components/servicecreaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA0FH,gEAMC;AAED,oEAQC;AAxGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,uDAI2B;AAwB3B,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,4CAA0B,CAAC,CAAC,QAAQ,EAAE;IAC5D,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,aAAa,EAAE,YAAY;KAC5B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUH,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,6CAA2B,CAAC,CAAC,QAAQ,EAAE;IAC5D,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,UAAU,EAAE,aAAa;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,2CAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC;AAED,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"servicecreaterequest.js","sourceRoot":"","sources":["../../src/models/components/servicecreaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA0FH,gEAMC;AAED,oEAQC;AAxGD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,uDAI2B;AAwB3B,gBAAgB;AACH,QAAA,kCAAkC,GAI3C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AO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
@@ -19,11 +19,9 @@ export type ServiceUpdateRequest = {
19
19
  */
20
20
  authType?: ToolAuthType | null | undefined;
21
21
  /**
22
- * The values to use for the authentication. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
22
+ * The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
23
23
  */
24
- authValues?: {
25
- [k: string]: string;
26
- } | null | undefined;
24
+ authValues?: any | null | undefined;
27
25
  /**
28
26
  * The internal ID of the service
29
27
  */
@@ -40,9 +38,7 @@ export type ServiceUpdateRequest$Outbound = {
40
38
  name: string;
41
39
  description: string;
42
40
  auth_type?: string | null | undefined;
43
- auth_values?: {
44
- [k: string]: string;
45
- } | null | undefined;
41
+ auth_values?: any | null | undefined;
46
42
  id: number;
47
43
  last_updated_comments?: string | null | undefined;
48
44
  };
@@ -1 +1 @@
1
- {"version":3,"file":"serviceupdaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/serviceupdaterequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kB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7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
1
+ {"version":3,"file":"serviceupdaterequest.d.ts","sourceRoot":"","sources":["../../src/models/components/serviceupdaterequest.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,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAAC;IAC3C;;OAEG;IACH,UAAU,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACjD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,oBAAoB,EACpB,CAAC,CAAC,UAAU,EACZ,OAAO,CAcP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,WAAW,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,SAAS,CAAC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CAcpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC,oEAAoE;IAC7D,MAAM,aAAa,wDAAqC,CAAC;IAChE,qEAAqE;IAC9D,MAAM,cAAc,8EAAsC,CAAC;IAClE,+DAA+D;IAC/D,KAAY,QAAQ,GAAG,6BAA6B,CAAC;CACtD;AAED,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR;AAED,wBAAgB,4BAA4B,CAC1C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,CAM3D"}
@@ -38,7 +38,7 @@ exports.ServiceUpdateRequest$inboundSchema = z.object({
38
38
  name: z.string(),
39
39
  description: z.string(),
40
40
  auth_type: z.nullable(toolauthtype_js_1.ToolAuthType$inboundSchema).optional(),
41
- auth_values: z.nullable(z.record(z.string())).optional(),
41
+ auth_values: z.nullable(z.any()).optional(),
42
42
  id: z.number().int(),
43
43
  last_updated_comments: z.nullable(z.string()).optional(),
44
44
  }).transform((v) => {
@@ -53,7 +53,7 @@ exports.ServiceUpdateRequest$outboundSchema = z.object({
53
53
  name: z.string(),
54
54
  description: z.string(),
55
55
  authType: z.nullable(toolauthtype_js_1.ToolAuthType$outboundSchema).optional(),
56
- authValues: z.nullable(z.record(z.string())).optional(),
56
+ authValues: z.nullable(z.any()).optional(),
57
57
  id: z.number().int(),
58
58
  lastUpdatedComments: z.nullable(z.string()).optional(),
59
59
  }).transform((v) => {
@@ -1 +1 @@
1
- {"version":3,"file":"serviceupdaterequest.js","sourceRoot":"","sources":["../../src/models/components/serviceupdaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA0GH,gEAMC;AAED,oEAQC;AAxHD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,uDAI2B;AAgC3B,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,4CAA0B,CAAC,CAAC,QAAQ,EAAE;IAC5D,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACxD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,qBAAqB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACzD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,WAAW,EAAE,UAAU;QACvB,aAAa,EAAE,YAAY;QAC3B,uBAAuB,EAAE,qBAAqB;KAC/C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAYH,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,6CAA2B,CAAC,CAAC,QAAQ,EAAE;IAC5D,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE;IACvD,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,mBAAmB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,UAAU,EAAE,aAAa;QACzB,mBAAmB,EAAE,uBAAuB;KAC7C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,2CAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC;AAED,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"serviceupdaterequest.js","sourceRoot":"","sources":["../../src/models/components/serviceupdaterequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA0GH,gEAMC;AAED,oEAQC;AAxHD,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AAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,QAAQ,EAAE,WAAW;QACrB,UAAU,EAAE,aAAa;QACzB,mBAAmB,EAAE,uBAAuB;KAC7C,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,qBAAqB,CAOrC;AAPD,WAAiB,qBAAqB;IACpC,oEAAoE;IACvD,mCAAa,GAAG,0CAAkC,CAAC;IAChE,qEAAqE;IACxD,oCAAc,GAAG,2CAAmC,CAAC;AAGpE,CAAC,EAPgB,qBAAqB,qCAArB,qBAAqB,QAOrC;AAED,SAAgB,0BAA0B,CACxC,oBAA0C;IAE1C,OAAO,IAAI,CAAC,SAAS,CACnB,2CAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AACJ,CAAC;AAED,SAAgB,4BAA4B,CAC1C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,0CAAkC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9D,kDAAkD,CACnD,CAAC;AACJ,CAAC"}
package/openapi.json CHANGED
@@ -12886,7 +12886,7 @@
12886
12886
  "title": "Batch Id",
12887
12887
  "description": "Unique ID for conversation batch",
12888
12888
  "examples": [
12889
- "20250724.9"
12889
+ "20250729.9"
12890
12890
  ]
12891
12891
  },
12892
12892
  "campaign_id": {
@@ -12910,7 +12910,7 @@
12910
12910
  "title": "Expires On",
12911
12911
  "description": "Timestamp of batch expiration",
12912
12912
  "examples": [
12913
- "2025-07-25T00:00:00Z"
12913
+ "2025-07-30T00:00:00Z"
12914
12914
  ]
12915
12915
  },
12916
12916
  "paused": {
@@ -12963,7 +12963,7 @@
12963
12963
  "title": "Created At",
12964
12964
  "description": "Timestamp of batch creation",
12965
12965
  "examples": [
12966
- "2025-07-24T00:00:00Z"
12966
+ "2025-07-29T00:00:00Z"
12967
12967
  ]
12968
12968
  },
12969
12969
  "deleted_at": {
@@ -12979,7 +12979,7 @@
12979
12979
  "title": "Deleted At",
12980
12980
  "description": "Timestamp of batch deletion",
12981
12981
  "examples": [
12982
- "2025-07-24T00:00:00Z"
12982
+ "2025-07-29T00:00:00Z"
12983
12983
  ]
12984
12984
  },
12985
12985
  "deleted_reason": {
@@ -13010,7 +13010,7 @@
13010
13010
  "title": "Last Updated At",
13011
13011
  "description": "Timestamp of last change to batch",
13012
13012
  "examples": [
13013
- "2025-07-24T00:00:00Z"
13013
+ "2025-07-29T00:00:00Z"
13014
13014
  ]
13015
13015
  },
13016
13016
  "last_updated_by": {
@@ -13673,7 +13673,7 @@
13673
13673
  "title": "Batch Id",
13674
13674
  "description": "Unique ID for conversation batch",
13675
13675
  "examples": [
13676
- "20250724.9"
13676
+ "20250729.9"
13677
13677
  ]
13678
13678
  },
13679
13679
  "campaign_id": {
@@ -13697,7 +13697,7 @@
13697
13697
  "title": "Expires On",
13698
13698
  "description": "Timestamp of batch expiration",
13699
13699
  "examples": [
13700
- "2025-07-25T00:00:00Z"
13700
+ "2025-07-30T00:00:00Z"
13701
13701
  ]
13702
13702
  },
13703
13703
  "paused": {
@@ -13750,7 +13750,7 @@
13750
13750
  "title": "Created At",
13751
13751
  "description": "Timestamp of batch creation",
13752
13752
  "examples": [
13753
- "2025-07-24T00:00:00Z"
13753
+ "2025-07-29T00:00:00Z"
13754
13754
  ]
13755
13755
  },
13756
13756
  "deleted_at": {
@@ -13766,7 +13766,7 @@
13766
13766
  "title": "Deleted At",
13767
13767
  "description": "Timestamp of batch deletion",
13768
13768
  "examples": [
13769
- "2025-07-24T00:00:00Z"
13769
+ "2025-07-29T00:00:00Z"
13770
13770
  ]
13771
13771
  },
13772
13772
  "deleted_reason": {
@@ -13797,7 +13797,7 @@
13797
13797
  "title": "Last Updated At",
13798
13798
  "description": "Timestamp of last change to batch",
13799
13799
  "examples": [
13800
- "2025-07-24T00:00:00Z"
13800
+ "2025-07-29T00:00:00Z"
13801
13801
  ]
13802
13802
  },
13803
13803
  "last_updated_by": {
@@ -13840,7 +13840,7 @@
13840
13840
  "title": "Batch Id",
13841
13841
  "description": "Unique ID for conversation batch",
13842
13842
  "examples": [
13843
- "20250724.9"
13843
+ "20250729.9"
13844
13844
  ]
13845
13845
  },
13846
13846
  "campaign_id": {
@@ -13864,7 +13864,7 @@
13864
13864
  "title": "Expires On",
13865
13865
  "description": "Timestamp of batch expiration",
13866
13866
  "examples": [
13867
- "2025-07-25T00:00:00Z"
13867
+ "2025-07-30T00:00:00Z"
13868
13868
  ]
13869
13869
  },
13870
13870
  "paused": {
@@ -14013,7 +14013,7 @@
14013
14013
  "title": "Created At",
14014
14014
  "description": "Timestamp of request creation",
14015
14015
  "examples": [
14016
- "2025-07-23T00:00:00Z"
14016
+ "2025-07-28T00:00:00Z"
14017
14017
  ]
14018
14018
  },
14019
14019
  "sent_at": {
@@ -14029,7 +14029,7 @@
14029
14029
  "title": "Sent At",
14030
14030
  "description": "Timestamp at which request was sent",
14031
14031
  "examples": [
14032
- "2025-07-24T00:00:00Z"
14032
+ "2025-07-29T00:00:00Z"
14033
14033
  ]
14034
14034
  },
14035
14035
  "attempt_count": {
@@ -15945,7 +15945,7 @@
15945
15945
  "title": "Created At",
15946
15946
  "description": "Timestamp at which insight upload folder was created",
15947
15947
  "examples": [
15948
- "2025-07-23T00:00:00Z"
15948
+ "2025-07-28T00:00:00Z"
15949
15949
  ]
15950
15950
  },
15951
15951
  "updated_at": {
@@ -15954,7 +15954,7 @@
15954
15954
  "title": "Updated At",
15955
15955
  "description": "Timestamp at which insight upload folder was last updated",
15956
15956
  "examples": [
15957
- "2025-07-24T00:00:00Z"
15957
+ "2025-07-29T00:00:00Z"
15958
15958
  ]
15959
15959
  },
15960
15960
  "last_updated_by": {
@@ -16669,7 +16669,7 @@
16669
16669
  "title": "Created At",
16670
16670
  "description": "Timestamp of at which insight tool configuration was created",
16671
16671
  "examples": [
16672
- "2025-07-23T00:00:00Z"
16672
+ "2025-07-28T00:00:00Z"
16673
16673
  ]
16674
16674
  },
16675
16675
  "updated_at": {
@@ -16678,7 +16678,7 @@
16678
16678
  "title": "Updated At",
16679
16679
  "description": "Timestamp at which insight tool configuration was last updated",
16680
16680
  "examples": [
16681
- "2025-07-24T00:00:00Z"
16681
+ "2025-07-29T00:00:00Z"
16682
16682
  ]
16683
16683
  },
16684
16684
  "last_updated_by": {
@@ -16824,6 +16824,9 @@
16824
16824
  {
16825
16825
  "type": "integer"
16826
16826
  },
16827
+ {
16828
+ "type": "number"
16829
+ },
16827
16830
  {
16828
16831
  "type": "null"
16829
16832
  }
@@ -16831,7 +16834,8 @@
16831
16834
  "title": "Sample Rate",
16832
16835
  "description": "Sample rate as a percentage of calls",
16833
16836
  "examples": [
16834
- 2
16837
+ 0.1,
16838
+ 10
16835
16839
  ]
16836
16840
  },
16837
16841
  "agent_list": {
@@ -17055,7 +17059,7 @@
17055
17059
  "title": "Start Datetime",
17056
17060
  "description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
17057
17061
  "examples": [
17058
- "2025-07-23T00:00:00Z"
17062
+ "2025-07-28T00:00:00Z"
17059
17063
  ]
17060
17064
  },
17061
17065
  "end_datetime": {
@@ -17071,7 +17075,7 @@
17071
17075
  "title": "End Datetime",
17072
17076
  "description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
17073
17077
  "examples": [
17074
- "2025-07-24T00:00:00Z"
17078
+ "2025-07-29T00:00:00Z"
17075
17079
  ]
17076
17080
  }
17077
17081
  },
@@ -17146,7 +17150,7 @@
17146
17150
  "title": "Start Datetime",
17147
17151
  "description": "Target session timestamp the workflow (backfill) should start. An empty value indicates start on activation - live sessions only",
17148
17152
  "examples": [
17149
- "2025-07-23T00:00:00Z"
17153
+ "2025-07-28T00:00:00Z"
17150
17154
  ]
17151
17155
  },
17152
17156
  "end_datetime": {
@@ -17162,7 +17166,7 @@
17162
17166
  "title": "End Datetime",
17163
17167
  "description": "Target session timestamp the workflow (backfill) should end. An empty value indicates no end, i.e., include live sessions until deactivation",
17164
17168
  "examples": [
17165
- "2025-07-24T00:00:00Z"
17169
+ "2025-07-29T00:00:00Z"
17166
17170
  ]
17167
17171
  },
17168
17172
  "id": {
@@ -17215,7 +17219,7 @@
17215
17219
  "title": "Created At",
17216
17220
  "description": "Timestamp at which the insight workflow was created",
17217
17221
  "examples": [
17218
- "2025-07-23T00:00:00Z"
17222
+ "2025-07-28T00:00:00Z"
17219
17223
  ]
17220
17224
  },
17221
17225
  "updated_at": {
@@ -17224,7 +17228,7 @@
17224
17228
  "title": "Updated At",
17225
17229
  "description": "Timestamp of most recent update to the insight workflow",
17226
17230
  "examples": [
17227
- "2025-07-24T00:00:00Z"
17231
+ "2025-07-29T00:00:00Z"
17228
17232
  ]
17229
17233
  },
17230
17234
  "last_updated_by": {
@@ -17320,7 +17324,7 @@
17320
17324
  "title": "Created At",
17321
17325
  "description": "Timestamp at which insight upload folder was created",
17322
17326
  "examples": [
17323
- "2025-07-23T00:00:00Z"
17327
+ "2025-07-28T00:00:00Z"
17324
17328
  ]
17325
17329
  },
17326
17330
  "updated_at": {
@@ -17329,7 +17333,7 @@
17329
17333
  "title": "Updated At",
17330
17334
  "description": "Timestamp at which insight upload folder was last updated",
17331
17335
  "examples": [
17332
- "2025-07-24T00:00:00Z"
17336
+ "2025-07-29T00:00:00Z"
17333
17337
  ]
17334
17338
  },
17335
17339
  "last_updated_by": {
@@ -17564,7 +17568,7 @@
17564
17568
  "title": "Created At",
17565
17569
  "description": "Timestamp at which insight tool result was created",
17566
17570
  "examples": [
17567
- "2025-07-23T00:00:00Z"
17571
+ "2025-07-28T00:00:00Z"
17568
17572
  ]
17569
17573
  },
17570
17574
  "updated_at": {
@@ -17573,7 +17577,7 @@
17573
17577
  "title": "Updated At",
17574
17578
  "description": "Timestamp at which insight tool result was last updated",
17575
17579
  "examples": [
17576
- "2025-07-24T00:00:00Z"
17580
+ "2025-07-29T00:00:00Z"
17577
17581
  ]
17578
17582
  }
17579
17583
  },
@@ -17708,7 +17712,7 @@
17708
17712
  "title": "Start Time",
17709
17713
  "description": "Start time of the uploaded file",
17710
17714
  "examples": [
17711
- "2025-07-23T00:00:00Z"
17715
+ "2025-07-28T00:00:00Z"
17712
17716
  ]
17713
17717
  },
17714
17718
  "end_time": {
@@ -17724,7 +17728,7 @@
17724
17728
  "title": "End Time",
17725
17729
  "description": "End time of the uploaded file",
17726
17730
  "examples": [
17727
- "2025-07-24T00:00:00Z"
17731
+ "2025-07-29T00:00:00Z"
17728
17732
  ]
17729
17733
  },
17730
17734
  "error_message": {
@@ -17779,7 +17783,7 @@
17779
17783
  "title": "Created At",
17780
17784
  "description": "Timestamp at which insight upload file was created",
17781
17785
  "examples": [
17782
- "2025-07-23T00:00:00Z"
17786
+ "2025-07-28T00:00:00Z"
17783
17787
  ]
17784
17788
  }
17785
17789
  },
@@ -17797,6 +17801,7 @@
17797
17801
  "type": "string",
17798
17802
  "enum": [
17799
17803
  "filename",
17804
+ "filename_exact",
17800
17805
  "call_id",
17801
17806
  "agent_number",
17802
17807
  "customer_number",
@@ -20478,7 +20483,7 @@
20478
20483
  "title": "Created At",
20479
20484
  "description": "Timestamp of campaign creation",
20480
20485
  "examples": [
20481
- "2025-07-24T00:00:00Z"
20486
+ "2025-07-29T00:00:00Z"
20482
20487
  ]
20483
20488
  },
20484
20489
  "updated_at": {
@@ -20487,7 +20492,7 @@
20487
20492
  "title": "Updated At",
20488
20493
  "description": "Timestamp of campaign update",
20489
20494
  "examples": [
20490
- "2025-07-24T00:00:00Z"
20495
+ "2025-07-29T00:00:00Z"
20491
20496
  ]
20492
20497
  },
20493
20498
  "last_updated_by": {
@@ -21645,27 +21650,18 @@
21645
21650
  },
21646
21651
  "auth_values": {
21647
21652
  "anyOf": [
21648
- {
21649
- "additionalProperties": {
21650
- "anyOf": [
21651
- {
21652
- "type": "string"
21653
- },
21654
- {
21655
- "type": "null"
21656
- }
21657
- ]
21658
- },
21659
- "type": "object"
21660
- },
21653
+ {},
21661
21654
  {
21662
21655
  "type": "null"
21663
21656
  }
21664
21657
  ],
21665
21658
  "title": "Auth Values",
21666
- "description": "The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)",
21659
+ "description": "The values to use for the authentication, as a dict. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)",
21667
21660
  "examples": [
21668
- "{\"username\": \"my-username\", \"password\": \"my-password\"}"
21661
+ {
21662
+ "password": "my-password",
21663
+ "username": "my-username"
21664
+ }
21669
21665
  ]
21670
21666
  }
21671
21667
  },
@@ -21843,27 +21839,18 @@
21843
21839
  },
21844
21840
  "auth_values": {
21845
21841
  "anyOf": [
21846
- {
21847
- "additionalProperties": {
21848
- "anyOf": [
21849
- {
21850
- "type": "string"
21851
- },
21852
- {
21853
- "type": "null"
21854
- }
21855
- ]
21856
- },
21857
- "type": "object"
21858
- },
21842
+ {},
21859
21843
  {
21860
21844
  "type": "null"
21861
21845
  }
21862
21846
  ],
21863
21847
  "title": "Auth Values",
21864
- "description": "The values to use for the authentication. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)",
21848
+ "description": "The values to use for the authentication, as a dict. Should contain \"username\" and \"password\" keys if auth type is basic, \"token\" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)",
21865
21849
  "examples": [
21866
- "{\"username\": \"my-username\", \"password\": \"my-password\"}"
21850
+ {
21851
+ "password": "my-password",
21852
+ "username": "my-username"
21853
+ }
21867
21854
  ]
21868
21855
  },
21869
21856
  "id": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "syllable-sdk",
3
- "version": "0.1.0-alpha.216",
3
+ "version": "0.1.0-alpha.222",
4
4
  "author": "Syllable",
5
5
  "main": "./index.js",
6
6
  "sideEffects": false,
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.216",
60
+ sdkVersion: "0.1.0-alpha.222",
61
61
  genVersion: "2.512.4",
62
62
  userAgent:
63
- "speakeasy-sdk/typescript 0.1.0-alpha.216 2.512.4 0.0.2 syllable-sdk",
63
+ "speakeasy-sdk/typescript 0.1.0-alpha.222 2.512.4 0.0.2 syllable-sdk",
64
64
  } as const;
@@ -7,6 +7,7 @@ import { ClosedEnum } from "../../types/enums.js";
7
7
 
8
8
  export const InsightsUploadFileProperties = {
9
9
  Filename: "filename",
10
+ FilenameExact: "filename_exact",
10
11
  CallId: "call_id",
11
12
  AgentNumber: "agent_number",
12
13
  CustomerNumber: "customer_number",
@@ -8,6 +8,11 @@ import { safeParse } from "../../lib/schemas.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
+ /**
12
+ * Sample rate as a percentage of calls
13
+ */
14
+ export type SampleRate = number | number;
15
+
11
16
  /**
12
17
  * List of agents
13
18
  */
@@ -28,7 +33,7 @@ export type InsightWorkflowCondition = {
28
33
  /**
29
34
  * Sample rate as a percentage of calls
30
35
  */
31
- sampleRate?: number | null | undefined;
36
+ sampleRate?: number | number | null | undefined;
32
37
  /**
33
38
  * List of agents
34
39
  */
@@ -47,6 +52,50 @@ export type InsightWorkflowCondition = {
47
52
  sheetInfo?: { [k: string]: string } | null | undefined;
48
53
  };
49
54
 
55
+ /** @internal */
56
+ export const SampleRate$inboundSchema: z.ZodType<
57
+ SampleRate,
58
+ z.ZodTypeDef,
59
+ unknown
60
+ > = z.union([z.number().int(), z.number()]);
61
+
62
+ /** @internal */
63
+ export type SampleRate$Outbound = number | number;
64
+
65
+ /** @internal */
66
+ export const SampleRate$outboundSchema: z.ZodType<
67
+ SampleRate$Outbound,
68
+ z.ZodTypeDef,
69
+ SampleRate
70
+ > = z.union([z.number().int(), z.number()]);
71
+
72
+ /**
73
+ * @internal
74
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
75
+ */
76
+ export namespace SampleRate$ {
77
+ /** @deprecated use `SampleRate$inboundSchema` instead. */
78
+ export const inboundSchema = SampleRate$inboundSchema;
79
+ /** @deprecated use `SampleRate$outboundSchema` instead. */
80
+ export const outboundSchema = SampleRate$outboundSchema;
81
+ /** @deprecated use `SampleRate$Outbound` instead. */
82
+ export type Outbound = SampleRate$Outbound;
83
+ }
84
+
85
+ export function sampleRateToJSON(sampleRate: SampleRate): string {
86
+ return JSON.stringify(SampleRate$outboundSchema.parse(sampleRate));
87
+ }
88
+
89
+ export function sampleRateFromJSON(
90
+ jsonString: string,
91
+ ): SafeParseResult<SampleRate, SDKValidationError> {
92
+ return safeParse(
93
+ jsonString,
94
+ (x) => SampleRate$inboundSchema.parse(JSON.parse(x)),
95
+ `Failed to parse 'SampleRate' from JSON`,
96
+ );
97
+ }
98
+
50
99
  /** @internal */
51
100
  export const AgentList$inboundSchema: z.ZodType<
52
101
  AgentList,
@@ -99,7 +148,7 @@ export const InsightWorkflowCondition$inboundSchema: z.ZodType<
99
148
  > = z.object({
100
149
  min_duration: z.nullable(z.number().int()).optional(),
101
150
  max_duration: z.nullable(z.number().int()).optional(),
102
- sample_rate: z.nullable(z.number().int()).optional(),
151
+ sample_rate: z.nullable(z.union([z.number().int(), z.number()])).optional(),
103
152
  agent_list: z.nullable(
104
153
  z.union([z.array(z.number().int()), z.array(z.string())]),
105
154
  ).optional(),
@@ -122,7 +171,7 @@ export const InsightWorkflowCondition$inboundSchema: z.ZodType<
122
171
  export type InsightWorkflowCondition$Outbound = {
123
172
  min_duration?: number | null | undefined;
124
173
  max_duration?: number | null | undefined;
125
- sample_rate?: number | null | undefined;
174
+ sample_rate?: number | number | null | undefined;
126
175
  agent_list?: Array<number> | Array<string> | null | undefined;
127
176
  prompt_list?: Array<string> | null | undefined;
128
177
  folder_list?: Array<number> | null | undefined;
@@ -137,7 +186,7 @@ export const InsightWorkflowCondition$outboundSchema: z.ZodType<
137
186
  > = z.object({
138
187
  minDuration: z.nullable(z.number().int()).optional(),
139
188
  maxDuration: z.nullable(z.number().int()).optional(),
140
- sampleRate: z.nullable(z.number().int()).optional(),
189
+ sampleRate: z.nullable(z.union([z.number().int(), z.number()])).optional(),
141
190
  agentList: z.nullable(
142
191
  z.union([z.array(z.number().int()), z.array(z.string())]),
143
192
  ).optional(),
@@ -30,9 +30,9 @@ export type ServiceCreateRequest = {
30
30
  */
31
31
  authType?: ToolAuthType | null | undefined;
32
32
  /**
33
- * The values to use for the authentication. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
33
+ * The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
34
34
  */
35
- authValues?: { [k: string]: string } | null | undefined;
35
+ authValues?: any | null | undefined;
36
36
  };
37
37
 
38
38
  /** @internal */
@@ -44,7 +44,7 @@ export const ServiceCreateRequest$inboundSchema: z.ZodType<
44
44
  name: z.string(),
45
45
  description: z.string(),
46
46
  auth_type: z.nullable(ToolAuthType$inboundSchema).optional(),
47
- auth_values: z.nullable(z.record(z.string())).optional(),
47
+ auth_values: z.nullable(z.any()).optional(),
48
48
  }).transform((v) => {
49
49
  return remap$(v, {
50
50
  "auth_type": "authType",
@@ -57,7 +57,7 @@ export type ServiceCreateRequest$Outbound = {
57
57
  name: string;
58
58
  description: string;
59
59
  auth_type?: string | null | undefined;
60
- auth_values?: { [k: string]: string } | null | undefined;
60
+ auth_values?: any | null | undefined;
61
61
  };
62
62
 
63
63
  /** @internal */
@@ -69,7 +69,7 @@ export const ServiceCreateRequest$outboundSchema: z.ZodType<
69
69
  name: z.string(),
70
70
  description: z.string(),
71
71
  authType: z.nullable(ToolAuthType$outboundSchema).optional(),
72
- authValues: z.nullable(z.record(z.string())).optional(),
72
+ authValues: z.nullable(z.any()).optional(),
73
73
  }).transform((v) => {
74
74
  return remap$(v, {
75
75
  authType: "auth_type",
@@ -30,9 +30,9 @@ export type ServiceUpdateRequest = {
30
30
  */
31
31
  authType?: ToolAuthType | null | undefined;
32
32
  /**
33
- * The values to use for the authentication. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
33
+ * The values to use for the authentication, as a dict. Should contain "username" and "password" keys if auth type is basic, "token" key if auth type is bearer, or arbitrary header keys if auth type is custom_headers. On an update, leave a value for a given key null and the value in the database will not be updated. (If a key is omitted entirely, any existing value for that key will be removed.)
34
34
  */
35
- authValues?: { [k: string]: string } | null | undefined;
35
+ authValues?: any | null | undefined;
36
36
  /**
37
37
  * The internal ID of the service
38
38
  */
@@ -52,7 +52,7 @@ export const ServiceUpdateRequest$inboundSchema: z.ZodType<
52
52
  name: z.string(),
53
53
  description: z.string(),
54
54
  auth_type: z.nullable(ToolAuthType$inboundSchema).optional(),
55
- auth_values: z.nullable(z.record(z.string())).optional(),
55
+ auth_values: z.nullable(z.any()).optional(),
56
56
  id: z.number().int(),
57
57
  last_updated_comments: z.nullable(z.string()).optional(),
58
58
  }).transform((v) => {
@@ -68,7 +68,7 @@ export type ServiceUpdateRequest$Outbound = {
68
68
  name: string;
69
69
  description: string;
70
70
  auth_type?: string | null | undefined;
71
- auth_values?: { [k: string]: string } | null | undefined;
71
+ auth_values?: any | null | undefined;
72
72
  id: number;
73
73
  last_updated_comments?: string | null | undefined;
74
74
  };
@@ -82,7 +82,7 @@ export const ServiceUpdateRequest$outboundSchema: z.ZodType<
82
82
  name: z.string(),
83
83
  description: z.string(),
84
84
  authType: z.nullable(ToolAuthType$outboundSchema).optional(),
85
- authValues: z.nullable(z.record(z.string())).optional(),
85
+ authValues: z.nullable(z.any()).optional(),
86
86
  id: z.number().int(),
87
87
  lastUpdatedComments: z.nullable(z.string()).optional(),
88
88
  }).transform((v) => {