@fonoster/apiserver 0.8.56 → 0.8.64
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.
|
@@ -164,31 +164,21 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
164
164
|
required?: string[];
|
|
165
165
|
}>;
|
|
166
166
|
requestStartMessage: z.ZodOptional<z.ZodString>;
|
|
167
|
-
operation: z.
|
|
168
|
-
|
|
169
|
-
url: z.
|
|
170
|
-
waitForResponse: z.
|
|
167
|
+
operation: z.ZodObject<{
|
|
168
|
+
method: z.ZodDefault<z.ZodNativeEnum<typeof import("@fonoster/common").AllowedHttpMethod>>;
|
|
169
|
+
url: z.ZodString;
|
|
170
|
+
waitForResponse: z.ZodDefault<z.ZodBoolean>;
|
|
171
171
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
172
172
|
}, "strip", z.ZodTypeAny, {
|
|
173
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
174
173
|
url?: string;
|
|
175
|
-
|
|
176
|
-
headers?: Record<string, string>;
|
|
177
|
-
}, {
|
|
178
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
179
|
-
url?: string;
|
|
180
|
-
waitForResponse?: boolean;
|
|
174
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
181
175
|
headers?: Record<string, string>;
|
|
182
|
-
}>, {
|
|
183
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
184
|
-
url?: string;
|
|
185
176
|
waitForResponse?: boolean;
|
|
186
|
-
headers?: Record<string, string>;
|
|
187
177
|
}, {
|
|
188
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
189
178
|
url?: string;
|
|
190
|
-
|
|
179
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
191
180
|
headers?: Record<string, string>;
|
|
181
|
+
waitForResponse?: boolean;
|
|
192
182
|
}>;
|
|
193
183
|
}, "strip", z.ZodTypeAny, {
|
|
194
184
|
name?: string;
|
|
@@ -204,10 +194,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
204
194
|
};
|
|
205
195
|
requestStartMessage?: string;
|
|
206
196
|
operation?: {
|
|
207
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
208
197
|
url?: string;
|
|
209
|
-
|
|
198
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
210
199
|
headers?: Record<string, string>;
|
|
200
|
+
waitForResponse?: boolean;
|
|
211
201
|
};
|
|
212
202
|
}, {
|
|
213
203
|
name?: string;
|
|
@@ -223,10 +213,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
223
213
|
};
|
|
224
214
|
requestStartMessage?: string;
|
|
225
215
|
operation?: {
|
|
226
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
227
216
|
url?: string;
|
|
228
|
-
|
|
217
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
229
218
|
headers?: Record<string, string>;
|
|
219
|
+
waitForResponse?: boolean;
|
|
230
220
|
};
|
|
231
221
|
}>, "many">>;
|
|
232
222
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -255,10 +245,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
255
245
|
};
|
|
256
246
|
requestStartMessage?: string;
|
|
257
247
|
operation?: {
|
|
258
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
259
248
|
url?: string;
|
|
260
|
-
|
|
249
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
261
250
|
headers?: Record<string, string>;
|
|
251
|
+
waitForResponse?: boolean;
|
|
262
252
|
};
|
|
263
253
|
}[];
|
|
264
254
|
}, {
|
|
@@ -287,13 +277,26 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
287
277
|
};
|
|
288
278
|
requestStartMessage?: string;
|
|
289
279
|
operation?: {
|
|
290
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
291
280
|
url?: string;
|
|
292
|
-
|
|
281
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
293
282
|
headers?: Record<string, string>;
|
|
283
|
+
waitForResponse?: boolean;
|
|
294
284
|
};
|
|
295
285
|
}[];
|
|
296
286
|
}>;
|
|
287
|
+
eventsHook: z.ZodOptional<z.ZodObject<{
|
|
288
|
+
url: z.ZodString;
|
|
289
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
290
|
+
events: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@fonoster/common").EventsHookAllowedEvents>, "many">>;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
url?: string;
|
|
293
|
+
headers?: Record<string, string>;
|
|
294
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
295
|
+
}, {
|
|
296
|
+
url?: string;
|
|
297
|
+
headers?: Record<string, string>;
|
|
298
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
299
|
+
}>>;
|
|
297
300
|
testCases: z.ZodOptional<z.ZodObject<{
|
|
298
301
|
evalsLanguageModel: z.ZodObject<{
|
|
299
302
|
provider: z.ZodEnum<["openai"]>;
|
|
@@ -560,31 +563,21 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
560
563
|
required?: string[];
|
|
561
564
|
}>;
|
|
562
565
|
requestStartMessage: z.ZodOptional<z.ZodString>;
|
|
563
|
-
operation: z.
|
|
564
|
-
|
|
565
|
-
url: z.
|
|
566
|
-
waitForResponse: z.
|
|
566
|
+
operation: z.ZodObject<{
|
|
567
|
+
method: z.ZodDefault<z.ZodNativeEnum<typeof import("@fonoster/common").AllowedHttpMethod>>;
|
|
568
|
+
url: z.ZodString;
|
|
569
|
+
waitForResponse: z.ZodDefault<z.ZodBoolean>;
|
|
567
570
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
568
571
|
}, "strip", z.ZodTypeAny, {
|
|
569
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
570
572
|
url?: string;
|
|
571
|
-
|
|
573
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
572
574
|
headers?: Record<string, string>;
|
|
573
|
-
}, {
|
|
574
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
575
|
-
url?: string;
|
|
576
575
|
waitForResponse?: boolean;
|
|
577
|
-
headers?: Record<string, string>;
|
|
578
|
-
}>, {
|
|
579
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
580
|
-
url?: string;
|
|
581
|
-
waitForResponse?: boolean;
|
|
582
|
-
headers?: Record<string, string>;
|
|
583
576
|
}, {
|
|
584
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
585
577
|
url?: string;
|
|
586
|
-
|
|
578
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
587
579
|
headers?: Record<string, string>;
|
|
580
|
+
waitForResponse?: boolean;
|
|
588
581
|
}>;
|
|
589
582
|
}, "strip", z.ZodTypeAny, {
|
|
590
583
|
name?: string;
|
|
@@ -600,10 +593,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
600
593
|
};
|
|
601
594
|
requestStartMessage?: string;
|
|
602
595
|
operation?: {
|
|
603
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
604
596
|
url?: string;
|
|
605
|
-
|
|
597
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
606
598
|
headers?: Record<string, string>;
|
|
599
|
+
waitForResponse?: boolean;
|
|
607
600
|
};
|
|
608
601
|
}, {
|
|
609
602
|
name?: string;
|
|
@@ -619,10 +612,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
619
612
|
};
|
|
620
613
|
requestStartMessage?: string;
|
|
621
614
|
operation?: {
|
|
622
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
623
615
|
url?: string;
|
|
624
|
-
|
|
616
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
625
617
|
headers?: Record<string, string>;
|
|
618
|
+
waitForResponse?: boolean;
|
|
626
619
|
};
|
|
627
620
|
}>, "many">>;
|
|
628
621
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -651,10 +644,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
651
644
|
};
|
|
652
645
|
requestStartMessage?: string;
|
|
653
646
|
operation?: {
|
|
654
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
655
647
|
url?: string;
|
|
656
|
-
|
|
648
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
657
649
|
headers?: Record<string, string>;
|
|
650
|
+
waitForResponse?: boolean;
|
|
658
651
|
};
|
|
659
652
|
}[];
|
|
660
653
|
}, {
|
|
@@ -683,10 +676,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
683
676
|
};
|
|
684
677
|
requestStartMessage?: string;
|
|
685
678
|
operation?: {
|
|
686
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
687
679
|
url?: string;
|
|
688
|
-
|
|
680
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
689
681
|
headers?: Record<string, string>;
|
|
682
|
+
waitForResponse?: boolean;
|
|
690
683
|
};
|
|
691
684
|
}[];
|
|
692
685
|
}>, {
|
|
@@ -715,10 +708,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
715
708
|
};
|
|
716
709
|
requestStartMessage?: string;
|
|
717
710
|
operation?: {
|
|
718
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
719
711
|
url?: string;
|
|
720
|
-
|
|
712
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
721
713
|
headers?: Record<string, string>;
|
|
714
|
+
waitForResponse?: boolean;
|
|
722
715
|
};
|
|
723
716
|
}[];
|
|
724
717
|
}, {
|
|
@@ -747,10 +740,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
747
740
|
};
|
|
748
741
|
requestStartMessage?: string;
|
|
749
742
|
operation?: {
|
|
750
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
751
743
|
url?: string;
|
|
752
|
-
|
|
744
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
753
745
|
headers?: Record<string, string>;
|
|
746
|
+
waitForResponse?: boolean;
|
|
754
747
|
};
|
|
755
748
|
}[];
|
|
756
749
|
}>;
|
|
@@ -781,10 +774,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
781
774
|
};
|
|
782
775
|
requestStartMessage?: string;
|
|
783
776
|
operation?: {
|
|
784
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
785
777
|
url?: string;
|
|
786
|
-
|
|
778
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
787
779
|
headers?: Record<string, string>;
|
|
780
|
+
waitForResponse?: boolean;
|
|
788
781
|
};
|
|
789
782
|
}[];
|
|
790
783
|
};
|
|
@@ -813,6 +806,11 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
813
806
|
debounceFrames?: number;
|
|
814
807
|
};
|
|
815
808
|
};
|
|
809
|
+
eventsHook?: {
|
|
810
|
+
url?: string;
|
|
811
|
+
headers?: Record<string, string>;
|
|
812
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
813
|
+
};
|
|
816
814
|
testCases?: {
|
|
817
815
|
evalsLanguageModel?: {
|
|
818
816
|
provider?: "openai";
|
|
@@ -870,10 +868,10 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
870
868
|
};
|
|
871
869
|
requestStartMessage?: string;
|
|
872
870
|
operation?: {
|
|
873
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
874
871
|
url?: string;
|
|
875
|
-
|
|
872
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
876
873
|
headers?: Record<string, string>;
|
|
874
|
+
waitForResponse?: boolean;
|
|
877
875
|
};
|
|
878
876
|
}[];
|
|
879
877
|
};
|
|
@@ -902,6 +900,11 @@ declare const assistantWithoutApiKeySchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
902
900
|
debounceFrames?: number;
|
|
903
901
|
};
|
|
904
902
|
};
|
|
903
|
+
eventsHook?: {
|
|
904
|
+
url?: string;
|
|
905
|
+
headers?: Record<string, string>;
|
|
906
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
907
|
+
};
|
|
905
908
|
testCases?: {
|
|
906
909
|
evalsLanguageModel?: {
|
|
907
910
|
provider?: "openai";
|
|
@@ -202,31 +202,21 @@ declare function createValidationSchema(request: {
|
|
|
202
202
|
required?: string[];
|
|
203
203
|
}>;
|
|
204
204
|
requestStartMessage: z.ZodOptional<z.ZodString>;
|
|
205
|
-
operation: z.
|
|
206
|
-
|
|
207
|
-
url: z.
|
|
208
|
-
waitForResponse: z.
|
|
205
|
+
operation: z.ZodObject<{
|
|
206
|
+
method: z.ZodDefault<z.ZodNativeEnum<typeof import("@fonoster/common").AllowedHttpMethod>>;
|
|
207
|
+
url: z.ZodString;
|
|
208
|
+
waitForResponse: z.ZodDefault<z.ZodBoolean>;
|
|
209
209
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
212
211
|
url?: string;
|
|
213
|
-
|
|
212
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
214
213
|
headers?: Record<string, string>;
|
|
215
|
-
}, {
|
|
216
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
217
|
-
url?: string;
|
|
218
214
|
waitForResponse?: boolean;
|
|
219
|
-
headers?: Record<string, string>;
|
|
220
|
-
}>, {
|
|
221
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
222
|
-
url?: string;
|
|
223
|
-
waitForResponse?: boolean;
|
|
224
|
-
headers?: Record<string, string>;
|
|
225
215
|
}, {
|
|
226
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
227
216
|
url?: string;
|
|
228
|
-
|
|
217
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
229
218
|
headers?: Record<string, string>;
|
|
219
|
+
waitForResponse?: boolean;
|
|
230
220
|
}>;
|
|
231
221
|
}, "strip", z.ZodTypeAny, {
|
|
232
222
|
name?: string;
|
|
@@ -242,10 +232,10 @@ declare function createValidationSchema(request: {
|
|
|
242
232
|
};
|
|
243
233
|
requestStartMessage?: string;
|
|
244
234
|
operation?: {
|
|
245
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
246
235
|
url?: string;
|
|
247
|
-
|
|
236
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
248
237
|
headers?: Record<string, string>;
|
|
238
|
+
waitForResponse?: boolean;
|
|
249
239
|
};
|
|
250
240
|
}, {
|
|
251
241
|
name?: string;
|
|
@@ -261,10 +251,10 @@ declare function createValidationSchema(request: {
|
|
|
261
251
|
};
|
|
262
252
|
requestStartMessage?: string;
|
|
263
253
|
operation?: {
|
|
264
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
265
254
|
url?: string;
|
|
266
|
-
|
|
255
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
267
256
|
headers?: Record<string, string>;
|
|
257
|
+
waitForResponse?: boolean;
|
|
268
258
|
};
|
|
269
259
|
}>, "many">>;
|
|
270
260
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -293,10 +283,10 @@ declare function createValidationSchema(request: {
|
|
|
293
283
|
};
|
|
294
284
|
requestStartMessage?: string;
|
|
295
285
|
operation?: {
|
|
296
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
297
286
|
url?: string;
|
|
298
|
-
|
|
287
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
299
288
|
headers?: Record<string, string>;
|
|
289
|
+
waitForResponse?: boolean;
|
|
300
290
|
};
|
|
301
291
|
}[];
|
|
302
292
|
}, {
|
|
@@ -325,13 +315,26 @@ declare function createValidationSchema(request: {
|
|
|
325
315
|
};
|
|
326
316
|
requestStartMessage?: string;
|
|
327
317
|
operation?: {
|
|
328
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
329
318
|
url?: string;
|
|
330
|
-
|
|
319
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
331
320
|
headers?: Record<string, string>;
|
|
321
|
+
waitForResponse?: boolean;
|
|
332
322
|
};
|
|
333
323
|
}[];
|
|
334
324
|
}>;
|
|
325
|
+
eventsHook: z.ZodOptional<z.ZodObject<{
|
|
326
|
+
url: z.ZodString;
|
|
327
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
328
|
+
events: z.ZodDefault<z.ZodArray<z.ZodNativeEnum<typeof import("@fonoster/common").EventsHookAllowedEvents>, "many">>;
|
|
329
|
+
}, "strip", z.ZodTypeAny, {
|
|
330
|
+
url?: string;
|
|
331
|
+
headers?: Record<string, string>;
|
|
332
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
333
|
+
}, {
|
|
334
|
+
url?: string;
|
|
335
|
+
headers?: Record<string, string>;
|
|
336
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
337
|
+
}>>;
|
|
335
338
|
testCases: z.ZodOptional<z.ZodObject<{
|
|
336
339
|
evalsLanguageModel: z.ZodObject<{
|
|
337
340
|
provider: z.ZodEnum<["openai"]>;
|
|
@@ -598,31 +601,21 @@ declare function createValidationSchema(request: {
|
|
|
598
601
|
required?: string[];
|
|
599
602
|
}>;
|
|
600
603
|
requestStartMessage: z.ZodOptional<z.ZodString>;
|
|
601
|
-
operation: z.
|
|
602
|
-
|
|
603
|
-
url: z.
|
|
604
|
-
waitForResponse: z.
|
|
604
|
+
operation: z.ZodObject<{
|
|
605
|
+
method: z.ZodDefault<z.ZodNativeEnum<typeof import("@fonoster/common").AllowedHttpMethod>>;
|
|
606
|
+
url: z.ZodString;
|
|
607
|
+
waitForResponse: z.ZodDefault<z.ZodBoolean>;
|
|
605
608
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
606
609
|
}, "strip", z.ZodTypeAny, {
|
|
607
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
608
|
-
url?: string;
|
|
609
|
-
waitForResponse?: boolean;
|
|
610
|
-
headers?: Record<string, string>;
|
|
611
|
-
}, {
|
|
612
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
613
610
|
url?: string;
|
|
614
|
-
|
|
611
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
615
612
|
headers?: Record<string, string>;
|
|
616
|
-
}>, {
|
|
617
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
618
|
-
url?: string;
|
|
619
613
|
waitForResponse?: boolean;
|
|
620
|
-
headers?: Record<string, string>;
|
|
621
614
|
}, {
|
|
622
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
623
615
|
url?: string;
|
|
624
|
-
|
|
616
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
625
617
|
headers?: Record<string, string>;
|
|
618
|
+
waitForResponse?: boolean;
|
|
626
619
|
}>;
|
|
627
620
|
}, "strip", z.ZodTypeAny, {
|
|
628
621
|
name?: string;
|
|
@@ -638,10 +631,10 @@ declare function createValidationSchema(request: {
|
|
|
638
631
|
};
|
|
639
632
|
requestStartMessage?: string;
|
|
640
633
|
operation?: {
|
|
641
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
642
634
|
url?: string;
|
|
643
|
-
|
|
635
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
644
636
|
headers?: Record<string, string>;
|
|
637
|
+
waitForResponse?: boolean;
|
|
645
638
|
};
|
|
646
639
|
}, {
|
|
647
640
|
name?: string;
|
|
@@ -657,10 +650,10 @@ declare function createValidationSchema(request: {
|
|
|
657
650
|
};
|
|
658
651
|
requestStartMessage?: string;
|
|
659
652
|
operation?: {
|
|
660
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
661
653
|
url?: string;
|
|
662
|
-
|
|
654
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
663
655
|
headers?: Record<string, string>;
|
|
656
|
+
waitForResponse?: boolean;
|
|
664
657
|
};
|
|
665
658
|
}>, "many">>;
|
|
666
659
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -689,10 +682,10 @@ declare function createValidationSchema(request: {
|
|
|
689
682
|
};
|
|
690
683
|
requestStartMessage?: string;
|
|
691
684
|
operation?: {
|
|
692
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
693
685
|
url?: string;
|
|
694
|
-
|
|
686
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
695
687
|
headers?: Record<string, string>;
|
|
688
|
+
waitForResponse?: boolean;
|
|
696
689
|
};
|
|
697
690
|
}[];
|
|
698
691
|
}, {
|
|
@@ -721,10 +714,10 @@ declare function createValidationSchema(request: {
|
|
|
721
714
|
};
|
|
722
715
|
requestStartMessage?: string;
|
|
723
716
|
operation?: {
|
|
724
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
725
717
|
url?: string;
|
|
726
|
-
|
|
718
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
727
719
|
headers?: Record<string, string>;
|
|
720
|
+
waitForResponse?: boolean;
|
|
728
721
|
};
|
|
729
722
|
}[];
|
|
730
723
|
}>, {
|
|
@@ -753,10 +746,10 @@ declare function createValidationSchema(request: {
|
|
|
753
746
|
};
|
|
754
747
|
requestStartMessage?: string;
|
|
755
748
|
operation?: {
|
|
756
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
757
749
|
url?: string;
|
|
758
|
-
|
|
750
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
759
751
|
headers?: Record<string, string>;
|
|
752
|
+
waitForResponse?: boolean;
|
|
760
753
|
};
|
|
761
754
|
}[];
|
|
762
755
|
}, {
|
|
@@ -785,10 +778,10 @@ declare function createValidationSchema(request: {
|
|
|
785
778
|
};
|
|
786
779
|
requestStartMessage?: string;
|
|
787
780
|
operation?: {
|
|
788
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
789
781
|
url?: string;
|
|
790
|
-
|
|
782
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
791
783
|
headers?: Record<string, string>;
|
|
784
|
+
waitForResponse?: boolean;
|
|
792
785
|
};
|
|
793
786
|
}[];
|
|
794
787
|
}>;
|
|
@@ -819,10 +812,10 @@ declare function createValidationSchema(request: {
|
|
|
819
812
|
};
|
|
820
813
|
requestStartMessage?: string;
|
|
821
814
|
operation?: {
|
|
822
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
823
815
|
url?: string;
|
|
824
|
-
|
|
816
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
825
817
|
headers?: Record<string, string>;
|
|
818
|
+
waitForResponse?: boolean;
|
|
826
819
|
};
|
|
827
820
|
}[];
|
|
828
821
|
};
|
|
@@ -851,6 +844,11 @@ declare function createValidationSchema(request: {
|
|
|
851
844
|
debounceFrames?: number;
|
|
852
845
|
};
|
|
853
846
|
};
|
|
847
|
+
eventsHook?: {
|
|
848
|
+
url?: string;
|
|
849
|
+
headers?: Record<string, string>;
|
|
850
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
851
|
+
};
|
|
854
852
|
testCases?: {
|
|
855
853
|
evalsLanguageModel?: {
|
|
856
854
|
provider?: "openai";
|
|
@@ -908,10 +906,10 @@ declare function createValidationSchema(request: {
|
|
|
908
906
|
};
|
|
909
907
|
requestStartMessage?: string;
|
|
910
908
|
operation?: {
|
|
911
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
912
909
|
url?: string;
|
|
913
|
-
|
|
910
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
914
911
|
headers?: Record<string, string>;
|
|
912
|
+
waitForResponse?: boolean;
|
|
915
913
|
};
|
|
916
914
|
}[];
|
|
917
915
|
};
|
|
@@ -940,6 +938,11 @@ declare function createValidationSchema(request: {
|
|
|
940
938
|
debounceFrames?: number;
|
|
941
939
|
};
|
|
942
940
|
};
|
|
941
|
+
eventsHook?: {
|
|
942
|
+
url?: string;
|
|
943
|
+
headers?: Record<string, string>;
|
|
944
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
945
|
+
};
|
|
943
946
|
testCases?: {
|
|
944
947
|
evalsLanguageModel?: {
|
|
945
948
|
provider?: "openai";
|
|
@@ -999,10 +1002,10 @@ declare function createValidationSchema(request: {
|
|
|
999
1002
|
};
|
|
1000
1003
|
requestStartMessage?: string;
|
|
1001
1004
|
operation?: {
|
|
1002
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
1003
1005
|
url?: string;
|
|
1004
|
-
|
|
1006
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
1005
1007
|
headers?: Record<string, string>;
|
|
1008
|
+
waitForResponse?: boolean;
|
|
1006
1009
|
};
|
|
1007
1010
|
}[];
|
|
1008
1011
|
};
|
|
@@ -1031,6 +1034,11 @@ declare function createValidationSchema(request: {
|
|
|
1031
1034
|
debounceFrames?: number;
|
|
1032
1035
|
};
|
|
1033
1036
|
};
|
|
1037
|
+
eventsHook?: {
|
|
1038
|
+
url?: string;
|
|
1039
|
+
headers?: Record<string, string>;
|
|
1040
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
1041
|
+
};
|
|
1034
1042
|
testCases?: {
|
|
1035
1043
|
evalsLanguageModel?: {
|
|
1036
1044
|
provider?: "openai";
|
|
@@ -1091,10 +1099,10 @@ declare function createValidationSchema(request: {
|
|
|
1091
1099
|
};
|
|
1092
1100
|
requestStartMessage?: string;
|
|
1093
1101
|
operation?: {
|
|
1094
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
1095
1102
|
url?: string;
|
|
1096
|
-
|
|
1103
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
1097
1104
|
headers?: Record<string, string>;
|
|
1105
|
+
waitForResponse?: boolean;
|
|
1098
1106
|
};
|
|
1099
1107
|
}[];
|
|
1100
1108
|
};
|
|
@@ -1123,6 +1131,11 @@ declare function createValidationSchema(request: {
|
|
|
1123
1131
|
debounceFrames?: number;
|
|
1124
1132
|
};
|
|
1125
1133
|
};
|
|
1134
|
+
eventsHook?: {
|
|
1135
|
+
url?: string;
|
|
1136
|
+
headers?: Record<string, string>;
|
|
1137
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
1138
|
+
};
|
|
1126
1139
|
testCases?: {
|
|
1127
1140
|
evalsLanguageModel?: {
|
|
1128
1141
|
provider?: "openai";
|
|
@@ -1183,10 +1196,10 @@ declare function createValidationSchema(request: {
|
|
|
1183
1196
|
};
|
|
1184
1197
|
requestStartMessage?: string;
|
|
1185
1198
|
operation?: {
|
|
1186
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
1187
1199
|
url?: string;
|
|
1188
|
-
|
|
1200
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
1189
1201
|
headers?: Record<string, string>;
|
|
1202
|
+
waitForResponse?: boolean;
|
|
1190
1203
|
};
|
|
1191
1204
|
}[];
|
|
1192
1205
|
};
|
|
@@ -1215,6 +1228,11 @@ declare function createValidationSchema(request: {
|
|
|
1215
1228
|
debounceFrames?: number;
|
|
1216
1229
|
};
|
|
1217
1230
|
};
|
|
1231
|
+
eventsHook?: {
|
|
1232
|
+
url?: string;
|
|
1233
|
+
headers?: Record<string, string>;
|
|
1234
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
1235
|
+
};
|
|
1218
1236
|
testCases?: {
|
|
1219
1237
|
evalsLanguageModel?: {
|
|
1220
1238
|
provider?: "openai";
|
|
@@ -1275,10 +1293,10 @@ declare function createValidationSchema(request: {
|
|
|
1275
1293
|
};
|
|
1276
1294
|
requestStartMessage?: string;
|
|
1277
1295
|
operation?: {
|
|
1278
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
1279
1296
|
url?: string;
|
|
1280
|
-
|
|
1297
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
1281
1298
|
headers?: Record<string, string>;
|
|
1299
|
+
waitForResponse?: boolean;
|
|
1282
1300
|
};
|
|
1283
1301
|
}[];
|
|
1284
1302
|
};
|
|
@@ -1307,6 +1325,11 @@ declare function createValidationSchema(request: {
|
|
|
1307
1325
|
debounceFrames?: number;
|
|
1308
1326
|
};
|
|
1309
1327
|
};
|
|
1328
|
+
eventsHook?: {
|
|
1329
|
+
url?: string;
|
|
1330
|
+
headers?: Record<string, string>;
|
|
1331
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
1332
|
+
};
|
|
1310
1333
|
testCases?: {
|
|
1311
1334
|
evalsLanguageModel?: {
|
|
1312
1335
|
provider?: "openai";
|
|
@@ -1379,10 +1402,10 @@ declare function createValidationSchema(request: {
|
|
|
1379
1402
|
};
|
|
1380
1403
|
requestStartMessage?: string;
|
|
1381
1404
|
operation?: {
|
|
1382
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
1383
1405
|
url?: string;
|
|
1384
|
-
|
|
1406
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
1385
1407
|
headers?: Record<string, string>;
|
|
1408
|
+
waitForResponse?: boolean;
|
|
1386
1409
|
};
|
|
1387
1410
|
}[];
|
|
1388
1411
|
};
|
|
@@ -1411,6 +1434,11 @@ declare function createValidationSchema(request: {
|
|
|
1411
1434
|
debounceFrames?: number;
|
|
1412
1435
|
};
|
|
1413
1436
|
};
|
|
1437
|
+
eventsHook?: {
|
|
1438
|
+
url?: string;
|
|
1439
|
+
headers?: Record<string, string>;
|
|
1440
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
1441
|
+
};
|
|
1414
1442
|
testCases?: {
|
|
1415
1443
|
evalsLanguageModel?: {
|
|
1416
1444
|
provider?: "openai";
|
|
@@ -1486,10 +1514,10 @@ declare function createValidationSchema(request: {
|
|
|
1486
1514
|
};
|
|
1487
1515
|
requestStartMessage?: string;
|
|
1488
1516
|
operation?: {
|
|
1489
|
-
type?: import("@fonoster/common/dist/assistants/tools/AllowedOperations").AllowedOperations;
|
|
1490
1517
|
url?: string;
|
|
1491
|
-
|
|
1518
|
+
method?: import("@fonoster/common").AllowedHttpMethod;
|
|
1492
1519
|
headers?: Record<string, string>;
|
|
1520
|
+
waitForResponse?: boolean;
|
|
1493
1521
|
};
|
|
1494
1522
|
}[];
|
|
1495
1523
|
};
|
|
@@ -1518,6 +1546,11 @@ declare function createValidationSchema(request: {
|
|
|
1518
1546
|
debounceFrames?: number;
|
|
1519
1547
|
};
|
|
1520
1548
|
};
|
|
1549
|
+
eventsHook?: {
|
|
1550
|
+
url?: string;
|
|
1551
|
+
headers?: Record<string, string>;
|
|
1552
|
+
events?: import("@fonoster/common").EventsHookAllowedEvents[];
|
|
1553
|
+
};
|
|
1521
1554
|
testCases?: {
|
|
1522
1555
|
evalsLanguageModel?: {
|
|
1523
1556
|
provider?: "openai";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fonoster/apiserver",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.64",
|
|
4
4
|
"description": "APIServer for Fonoster",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/fonoster#readme",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@deepgram/sdk": "^3.5.1",
|
|
24
|
-
"@fonoster/authz": "^0.8.
|
|
25
|
-
"@fonoster/common": "^0.8.
|
|
26
|
-
"@fonoster/identity": "^0.8.
|
|
27
|
-
"@fonoster/logger": "^0.8.
|
|
28
|
-
"@fonoster/sipnet": "^0.8.
|
|
29
|
-
"@fonoster/streams": "^0.8.
|
|
30
|
-
"@fonoster/types": "^0.8.
|
|
24
|
+
"@fonoster/authz": "^0.8.64",
|
|
25
|
+
"@fonoster/common": "^0.8.64",
|
|
26
|
+
"@fonoster/identity": "^0.8.64",
|
|
27
|
+
"@fonoster/logger": "^0.8.59",
|
|
28
|
+
"@fonoster/sipnet": "^0.8.64",
|
|
29
|
+
"@fonoster/streams": "^0.8.59",
|
|
30
|
+
"@fonoster/types": "^0.8.59",
|
|
31
31
|
"@google-cloud/speech": "^6.6.0",
|
|
32
32
|
"@google-cloud/text-to-speech": "^5.3.0",
|
|
33
33
|
"@grpc/grpc-js": "~1.10.6",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"@types/uuid": "^10.0.0",
|
|
74
74
|
"@types/validator": "^13.12.0"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "5f7a501c597926252e5fca8aa12818e2db70de16"
|
|
77
77
|
}
|