skedyul 0.2.53 → 0.2.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/.build-stamp CHANGED
@@ -1 +1 @@
1
- 1769413593666
1
+ 1769488068154
package/dist/config.d.ts CHANGED
@@ -124,6 +124,8 @@ export interface ChannelDefinition {
124
124
  handle: string;
125
125
  name: string;
126
126
  icon?: string;
127
+ /** Field definition type for filtering identifier fields (e.g., 'phone', 'email') */
128
+ identifierType?: string;
127
129
  /** Capabilities keyed by standard type (messaging, voice, video) */
128
130
  capabilities: Partial<Record<ChannelCapabilityType, ChannelCapability>>;
129
131
  }
package/dist/schemas.d.ts CHANGED
@@ -294,6 +294,7 @@ export declare const ChannelDefinitionSchema: z.ZodObject<{
294
294
  handle: z.ZodString;
295
295
  name: z.ZodString;
296
296
  icon: z.ZodOptional<z.ZodString>;
297
+ identifierType: z.ZodOptional<z.ZodString>;
297
298
  capabilities: z.ZodRecord<z.ZodEnum<{
298
299
  messaging: "messaging";
299
300
  voice: "voice";
@@ -2748,6 +2749,7 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
2748
2749
  handle: z.ZodString;
2749
2750
  name: z.ZodString;
2750
2751
  icon: z.ZodOptional<z.ZodString>;
2752
+ identifierType: z.ZodOptional<z.ZodString>;
2751
2753
  capabilities: z.ZodRecord<z.ZodEnum<{
2752
2754
  messaging: "messaging";
2753
2755
  voice: "voice";
@@ -3346,6 +3348,7 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
3346
3348
  handle: z.ZodString;
3347
3349
  name: z.ZodString;
3348
3350
  icon: z.ZodOptional<z.ZodString>;
3351
+ identifierType: z.ZodOptional<z.ZodString>;
3349
3352
  capabilities: z.ZodRecord<z.ZodEnum<{
3350
3353
  messaging: "messaging";
3351
3354
  voice: "voice";
package/dist/schemas.js CHANGED
@@ -149,6 +149,8 @@ exports.ChannelDefinitionSchema = zod_1.z.object({
149
149
  handle: zod_1.z.string(),
150
150
  name: zod_1.z.string(),
151
151
  icon: zod_1.z.string().optional(),
152
+ /** Field definition type for filtering identifier fields (e.g., 'phone', 'email') */
153
+ identifierType: zod_1.z.string().optional(),
152
154
  // Capabilities keyed by standard type (messaging, voice, video)
153
155
  capabilities: zod_1.z.record(exports.ChannelCapabilityTypeSchema, exports.ChannelCapabilitySchema),
154
156
  });
package/dist/types.d.ts CHANGED
@@ -95,9 +95,19 @@ export interface ToolExecutionContext {
95
95
  export interface BillingInfo {
96
96
  credits: number;
97
97
  }
98
+ /**
99
+ * Client-side effects that the tool wants the UI to execute.
100
+ * These are separate from the data output and represent navigation/UI actions.
101
+ */
102
+ export interface ToolEffect {
103
+ /** URL to navigate to after the tool completes */
104
+ redirect?: string;
105
+ }
98
106
  export interface ToolExecutionResult<Output = unknown> {
99
107
  output: Output;
100
108
  billing: BillingInfo;
109
+ /** Optional client-side effects to execute */
110
+ effect?: ToolEffect;
101
111
  }
102
112
  export interface ToolSchemaWithJson<Schema extends z.ZodTypeAny = z.ZodTypeAny> {
103
113
  zod: Schema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skedyul",
3
- "version": "0.2.53",
3
+ "version": "0.2.55",
4
4
  "description": "The Skedyul SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",