@amigo-ai/platform-sdk 0.56.0 → 0.58.0
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/README.md +72 -6
- package/api.md +19 -24
- package/dist/core/branded-types.js +1 -0
- package/dist/core/branded-types.js.map +1 -1
- package/dist/index.cjs +180 -204
- package/dist/index.cjs.map +4 -4
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +180 -204
- package/dist/index.mjs.map +4 -4
- package/dist/resources/fhir.js +1 -7
- package/dist/resources/fhir.js.map +1 -1
- package/dist/resources/integrations.js +66 -34
- package/dist/resources/integrations.js.map +1 -1
- package/dist/resources/settings.js +1 -19
- package/dist/resources/settings.js.map +1 -1
- package/dist/resources/tokens.js +31 -0
- package/dist/resources/tokens.js.map +1 -0
- package/dist/resources/workspace-data-queries.js +41 -0
- package/dist/resources/workspace-data-queries.js.map +1 -0
- package/dist/resources/world.js +0 -27
- package/dist/resources/world.js.map +1 -1
- package/dist/types/core/branded-types.d.ts +2 -0
- package/dist/types/core/branded-types.d.ts.map +1 -1
- package/dist/types/generated/api.d.ts +2825 -3993
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/index.d.cts +10 -4
- package/dist/types/index.d.cts.map +1 -1
- package/dist/types/index.d.ts +10 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/actions.d.ts +5 -25
- package/dist/types/resources/actions.d.ts.map +1 -1
- package/dist/types/resources/base.d.ts +1 -1
- package/dist/types/resources/base.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +17 -5
- package/dist/types/resources/calls.d.ts.map +1 -1
- package/dist/types/resources/context-graphs.d.ts +16 -0
- package/dist/types/resources/context-graphs.d.ts.map +1 -1
- package/dist/types/resources/fhir.d.ts +1 -22
- package/dist/types/resources/fhir.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/integrations.d.ts +457 -599
- package/dist/types/resources/integrations.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts +7 -3
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts +2 -2
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/review-queue.d.ts +11 -11
- package/dist/types/resources/services.d.ts +135 -0
- package/dist/types/resources/services.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts +7 -145
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/skills.d.ts +5 -25
- package/dist/types/resources/skills.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/dist/types/resources/tasks.d.ts +2 -2
- package/dist/types/resources/tokens.d.ts +20 -0
- package/dist/types/resources/tokens.d.ts.map +1 -0
- package/dist/types/resources/workspace-data-queries.d.ts +22 -0
- package/dist/types/resources/workspace-data-queries.d.ts.map +1 -0
- package/dist/types/resources/world.d.ts +25 -82
- package/dist/types/resources/world.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/resources/webhook-destinations.js +0 -50
- package/dist/resources/webhook-destinations.js.map +0 -1
- package/dist/types/resources/webhook-destinations.d.ts +0 -125
- package/dist/types/resources/webhook-destinations.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../../src/resources/integrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAA;
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../../src/resources/integrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AACpF,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW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getCatalog(): Promise<{
|
|
72
72
|
metrics: {
|
|
73
73
|
builtin: boolean;
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
custom_source_key?: string | null | undefined;
|
|
75
|
+
description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
76
|
+
extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_query" | "sql_expr" | undefined;
|
|
76
77
|
granularity?: "aggregate" | "per_entity" | undefined;
|
|
77
78
|
has_prompt?: boolean | undefined;
|
|
78
|
-
key:
|
|
79
|
+
key: string;
|
|
80
|
+
latency_tier?: "streaming" | "near_realtime" | "batch" | undefined;
|
|
79
81
|
metric_type: "numerical" | "categorical" | "boolean";
|
|
80
82
|
model_tier?: "free" | "fast" | "balanced" | "max" | "custom" | undefined;
|
|
81
83
|
name: components["schemas"]["NameString"];
|
|
84
|
+
period_granularity?: "hourly" | "daily" | undefined;
|
|
85
|
+
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results" | "custom";
|
|
82
86
|
unit?: string | null | undefined;
|
|
83
87
|
}[];
|
|
84
88
|
} & import("../index.js").ResponseMetadata>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../../src/resources/metrics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACjE,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC,CAAA;AAC5E,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,uBAAuB,CAAC,CAAA;AAClF,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC,CAAA;AAC5E,MAAM,MAAM,oBAAoB,GAAG,UAA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,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,8BAA8B,CAAC,CAAA;AACxF,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,gCAAgC,CAAC,CAAA;AAC5F,MAAM,MAAM,kBAAkB,GAAG,UAAU,CAAC,SAAS,CAAC,CAAC,4BAA4B,CAAC,CAAA;AACpF,MAAM,MAAM,WAAW,GAAG,oBAAoB,GAAG,sBAAsB,GAAG,kBAAkB,CAAA;AAC5F,6CAA6C;AAC7C,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAA;AAC7C,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;AACpG,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;AAElG;;GAEG;AACH,qBAAa,eAAgB,SAAQ,uBAAuB;IAC1D,6DAA6D;IACvD,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQhB,4DAA4D;IACtD,UAAU;;;;2BAgC+/wf,qBAAsB;;;;;;;;kBAAuuC,qBAAsB;;;;;;IAxBlyzf,6EAA6E;IACvE,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAW9D,wDAAwD;IAClD,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU7D"}
|
|
@@ -142,7 +142,7 @@ export declare class OperatorsResource extends WorkspaceScopedResource {
|
|
|
142
142
|
requested_at?: string | null | undefined;
|
|
143
143
|
risk_score?: number | null | undefined;
|
|
144
144
|
started_at?: string | null | undefined;
|
|
145
|
-
status:
|
|
145
|
+
status: string;
|
|
146
146
|
trigger?: string | null | undefined;
|
|
147
147
|
trigger_source?: string | null | undefined;
|
|
148
148
|
wait_seconds?: number | null | undefined;
|
|
@@ -231,7 +231,7 @@ export declare class OperatorsResource extends WorkspaceScopedResource {
|
|
|
231
231
|
requested_at?: string | null | undefined;
|
|
232
232
|
risk_score?: number | null | undefined;
|
|
233
233
|
started_at?: string | null | undefined;
|
|
234
|
-
status:
|
|
234
|
+
status: string;
|
|
235
235
|
trigger?: string | null | undefined;
|
|
236
236
|
trigger_source?: string | null | undefined;
|
|
237
237
|
wait_seconds?: number | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operators.d.ts","sourceRoot":"","sources":["../../../src/resources/operators.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACjE,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE,MAAM,MAAM,qBAAqB,GAAG,WAAW,CAC7C,UAAU,CAAC,kBAAkB,CAAC,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CACtD,CAAA;AAED,qBAAa,iBAAkB,SAAQ,uBAAuB;IACtD,IAAI,CAAC,MAAM,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;;;;;;;;IAQxE,cAAc,CAAC,MAAM,CAAC,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;;;IAQtE,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,uBA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AAE,UAAU,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC;;;IAS7E,UAAU,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,mBAAmB,CAAC;;;IAS/E,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,qBAAqB,CAAC;;;;IASnF,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE;;;;;;;;;IAS7D,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC;;;IASvE,iBAAiB,CAAC,OAAO,EAAE,MAAM;;;;;;;;;;;;IAQjC,WAAW,CAAC,MAAM,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;IAQ9D,qBAAqB,CAAC,MAAM,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;CAOnE"}
|
|
@@ -24,7 +24,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
24
24
|
has_more: boolean;
|
|
25
25
|
items: {
|
|
26
26
|
assigned_to: string | null;
|
|
27
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
27
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
28
28
|
completed_at: string | null;
|
|
29
29
|
created_at?: string | null | undefined;
|
|
30
30
|
entity?: {
|
|
@@ -64,7 +64,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
64
64
|
} & import("../index.js").ResponseMetadata>;
|
|
65
65
|
listAutoPaging(params?: ListReviewItemsParams): AsyncGenerator<{
|
|
66
66
|
assigned_to: string | null;
|
|
67
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
67
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
68
68
|
completed_at: string | null;
|
|
69
69
|
created_at?: string | null | undefined;
|
|
70
70
|
entity?: {
|
|
@@ -102,7 +102,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
102
102
|
}, any, any>;
|
|
103
103
|
get(itemId: string): Promise<{
|
|
104
104
|
assigned_to: string | null;
|
|
105
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
105
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
106
106
|
completed_at: string | null;
|
|
107
107
|
created_at?: string | null | undefined;
|
|
108
108
|
entity?: {
|
|
@@ -154,7 +154,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
154
154
|
}[];
|
|
155
155
|
recent_completed: {
|
|
156
156
|
assigned_to: string | null;
|
|
157
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
157
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
158
158
|
completed_at: string | null;
|
|
159
159
|
created_at?: string | null | undefined;
|
|
160
160
|
entity?: {
|
|
@@ -202,7 +202,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
202
202
|
has_more: boolean;
|
|
203
203
|
items: {
|
|
204
204
|
assigned_to: string | null;
|
|
205
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
205
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
206
206
|
completed_at: string | null;
|
|
207
207
|
created_at?: string | null | undefined;
|
|
208
208
|
entity?: {
|
|
@@ -242,7 +242,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
242
242
|
} & import("../index.js").ResponseMetadata>;
|
|
243
243
|
getMyQueueAutoPaging(params?: ListParams): AsyncGenerator<{
|
|
244
244
|
assigned_to: string | null;
|
|
245
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
245
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
246
246
|
completed_at: string | null;
|
|
247
247
|
created_at?: string | null | undefined;
|
|
248
248
|
entity?: {
|
|
@@ -280,7 +280,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
280
280
|
}, any, any>;
|
|
281
281
|
approve(itemId: string, body: components['schemas']['ApproveRequest']): Promise<{
|
|
282
282
|
assigned_to: string | null;
|
|
283
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
283
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
284
284
|
completed_at: string | null;
|
|
285
285
|
created_at?: string | null | undefined;
|
|
286
286
|
entity?: {
|
|
@@ -318,7 +318,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
318
318
|
} & import("../index.js").ResponseMetadata>;
|
|
319
319
|
reject(itemId: string, body: components['schemas']['RejectRequest']): Promise<{
|
|
320
320
|
assigned_to: string | null;
|
|
321
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
321
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
322
322
|
completed_at: string | null;
|
|
323
323
|
created_at?: string | null | undefined;
|
|
324
324
|
entity?: {
|
|
@@ -366,7 +366,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
366
366
|
} & import("../index.js").ResponseMetadata>;
|
|
367
367
|
correct(itemId: string, body: components['schemas']['CorrectRequest']): Promise<{
|
|
368
368
|
assigned_to: string | null;
|
|
369
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
369
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
370
370
|
completed_at: string | null;
|
|
371
371
|
created_at?: string | null | undefined;
|
|
372
372
|
entity?: {
|
|
@@ -419,7 +419,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
419
419
|
has_more: boolean;
|
|
420
420
|
items: {
|
|
421
421
|
assigned_to: string | null;
|
|
422
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
422
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
423
423
|
completed_at: string | null;
|
|
424
424
|
created_at?: string | null | undefined;
|
|
425
425
|
entity?: {
|
|
@@ -459,7 +459,7 @@ export declare class ReviewQueueResource extends WorkspaceScopedResource {
|
|
|
459
459
|
} & import("../index.js").ResponseMetadata>;
|
|
460
460
|
getHistoryAutoPaging(params?: ReviewHistoryParams): AsyncGenerator<{
|
|
461
461
|
assigned_to: string | null;
|
|
462
|
-
completed_action: ("approved" | "rejected" | "corrected") | null;
|
|
462
|
+
completed_action: ("approve" | "reject" | "correct" | "approved" | "rejected" | "corrected") | null;
|
|
463
463
|
completed_at: string | null;
|
|
464
464
|
created_at?: string | null | undefined;
|
|
465
465
|
entity?: {
|
|
@@ -62,6 +62,33 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
62
62
|
context_graph_version_number?: number | null | undefined;
|
|
63
63
|
llm_model_preferences?: {
|
|
64
64
|
[x: string]: {
|
|
65
|
+
experience_controls?: {
|
|
66
|
+
frequency_penalty?: number | null | undefined;
|
|
67
|
+
logit_bias?: {
|
|
68
|
+
[x: string]: number;
|
|
69
|
+
} | null | undefined;
|
|
70
|
+
logprobs?: boolean | null | undefined;
|
|
71
|
+
metadata?: {
|
|
72
|
+
[x: string]: string;
|
|
73
|
+
} | null | undefined;
|
|
74
|
+
parallel_tool_calls?: boolean | null | undefined;
|
|
75
|
+
presence_penalty?: number | null | undefined;
|
|
76
|
+
prompt_cache_key?: string | null | undefined;
|
|
77
|
+
prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
|
|
78
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
|
|
79
|
+
response_format?: {
|
|
80
|
+
[x: string]: unknown;
|
|
81
|
+
} | null | undefined;
|
|
82
|
+
safety_identifier?: string | null | undefined;
|
|
83
|
+
seed?: number | null | undefined;
|
|
84
|
+
service_tier?: string | null | undefined;
|
|
85
|
+
stop?: string | string[] | null | undefined;
|
|
86
|
+
store?: boolean | null | undefined;
|
|
87
|
+
temperature?: number | null | undefined;
|
|
88
|
+
top_logprobs?: number | null | undefined;
|
|
89
|
+
top_p?: number | null | undefined;
|
|
90
|
+
verbosity?: ("low" | "medium" | "high") | null | undefined;
|
|
91
|
+
} | null | undefined;
|
|
65
92
|
llm_name: string;
|
|
66
93
|
params?: {
|
|
67
94
|
[x: string]: unknown;
|
|
@@ -163,6 +190,33 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
163
190
|
context_graph_version_number?: number | null | undefined;
|
|
164
191
|
llm_model_preferences?: {
|
|
165
192
|
[x: string]: {
|
|
193
|
+
experience_controls?: {
|
|
194
|
+
frequency_penalty?: number | null | undefined;
|
|
195
|
+
logit_bias?: {
|
|
196
|
+
[x: string]: number;
|
|
197
|
+
} | null | undefined;
|
|
198
|
+
logprobs?: boolean | null | undefined;
|
|
199
|
+
metadata?: {
|
|
200
|
+
[x: string]: string;
|
|
201
|
+
} | null | undefined;
|
|
202
|
+
parallel_tool_calls?: boolean | null | undefined;
|
|
203
|
+
presence_penalty?: number | null | undefined;
|
|
204
|
+
prompt_cache_key?: string | null | undefined;
|
|
205
|
+
prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
|
|
206
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
|
|
207
|
+
response_format?: {
|
|
208
|
+
[x: string]: unknown;
|
|
209
|
+
} | null | undefined;
|
|
210
|
+
safety_identifier?: string | null | undefined;
|
|
211
|
+
seed?: number | null | undefined;
|
|
212
|
+
service_tier?: string | null | undefined;
|
|
213
|
+
stop?: string | string[] | null | undefined;
|
|
214
|
+
store?: boolean | null | undefined;
|
|
215
|
+
temperature?: number | null | undefined;
|
|
216
|
+
top_logprobs?: number | null | undefined;
|
|
217
|
+
top_p?: number | null | undefined;
|
|
218
|
+
verbosity?: ("low" | "medium" | "high") | null | undefined;
|
|
219
|
+
} | null | undefined;
|
|
166
220
|
llm_name: string;
|
|
167
221
|
params?: {
|
|
168
222
|
[x: string]: unknown;
|
|
@@ -263,6 +317,33 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
263
317
|
context_graph_version_number?: number | null | undefined;
|
|
264
318
|
llm_model_preferences?: {
|
|
265
319
|
[x: string]: {
|
|
320
|
+
experience_controls?: {
|
|
321
|
+
frequency_penalty?: number | null | undefined;
|
|
322
|
+
logit_bias?: {
|
|
323
|
+
[x: string]: number;
|
|
324
|
+
} | null | undefined;
|
|
325
|
+
logprobs?: boolean | null | undefined;
|
|
326
|
+
metadata?: {
|
|
327
|
+
[x: string]: string;
|
|
328
|
+
} | null | undefined;
|
|
329
|
+
parallel_tool_calls?: boolean | null | undefined;
|
|
330
|
+
presence_penalty?: number | null | undefined;
|
|
331
|
+
prompt_cache_key?: string | null | undefined;
|
|
332
|
+
prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
|
|
333
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
|
|
334
|
+
response_format?: {
|
|
335
|
+
[x: string]: unknown;
|
|
336
|
+
} | null | undefined;
|
|
337
|
+
safety_identifier?: string | null | undefined;
|
|
338
|
+
seed?: number | null | undefined;
|
|
339
|
+
service_tier?: string | null | undefined;
|
|
340
|
+
stop?: string | string[] | null | undefined;
|
|
341
|
+
store?: boolean | null | undefined;
|
|
342
|
+
temperature?: number | null | undefined;
|
|
343
|
+
top_logprobs?: number | null | undefined;
|
|
344
|
+
top_p?: number | null | undefined;
|
|
345
|
+
verbosity?: ("low" | "medium" | "high") | null | undefined;
|
|
346
|
+
} | null | undefined;
|
|
266
347
|
llm_name: string;
|
|
267
348
|
params?: {
|
|
268
349
|
[x: string]: unknown;
|
|
@@ -361,6 +442,33 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
361
442
|
context_graph_version_number?: number | null | undefined;
|
|
362
443
|
llm_model_preferences?: {
|
|
363
444
|
[x: string]: {
|
|
445
|
+
experience_controls?: {
|
|
446
|
+
frequency_penalty?: number | null | undefined;
|
|
447
|
+
logit_bias?: {
|
|
448
|
+
[x: string]: number;
|
|
449
|
+
} | null | undefined;
|
|
450
|
+
logprobs?: boolean | null | undefined;
|
|
451
|
+
metadata?: {
|
|
452
|
+
[x: string]: string;
|
|
453
|
+
} | null | undefined;
|
|
454
|
+
parallel_tool_calls?: boolean | null | undefined;
|
|
455
|
+
presence_penalty?: number | null | undefined;
|
|
456
|
+
prompt_cache_key?: string | null | undefined;
|
|
457
|
+
prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
|
|
458
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
|
|
459
|
+
response_format?: {
|
|
460
|
+
[x: string]: unknown;
|
|
461
|
+
} | null | undefined;
|
|
462
|
+
safety_identifier?: string | null | undefined;
|
|
463
|
+
seed?: number | null | undefined;
|
|
464
|
+
service_tier?: string | null | undefined;
|
|
465
|
+
stop?: string | string[] | null | undefined;
|
|
466
|
+
store?: boolean | null | undefined;
|
|
467
|
+
temperature?: number | null | undefined;
|
|
468
|
+
top_logprobs?: number | null | undefined;
|
|
469
|
+
top_p?: number | null | undefined;
|
|
470
|
+
verbosity?: ("low" | "medium" | "high") | null | undefined;
|
|
471
|
+
} | null | undefined;
|
|
364
472
|
llm_name: string;
|
|
365
473
|
params?: {
|
|
366
474
|
[x: string]: unknown;
|
|
@@ -459,6 +567,33 @@ export declare class ServicesResource extends WorkspaceScopedResource {
|
|
|
459
567
|
context_graph_version_number?: number | null | undefined;
|
|
460
568
|
llm_model_preferences?: {
|
|
461
569
|
[x: string]: {
|
|
570
|
+
experience_controls?: {
|
|
571
|
+
frequency_penalty?: number | null | undefined;
|
|
572
|
+
logit_bias?: {
|
|
573
|
+
[x: string]: number;
|
|
574
|
+
} | null | undefined;
|
|
575
|
+
logprobs?: boolean | null | undefined;
|
|
576
|
+
metadata?: {
|
|
577
|
+
[x: string]: string;
|
|
578
|
+
} | null | undefined;
|
|
579
|
+
parallel_tool_calls?: boolean | null | undefined;
|
|
580
|
+
presence_penalty?: number | null | undefined;
|
|
581
|
+
prompt_cache_key?: string | null | undefined;
|
|
582
|
+
prompt_cache_retention?: ("in-memory" | "24h") | null | undefined;
|
|
583
|
+
reasoning_effort?: ("none" | "minimal" | "low" | "medium" | "high" | "xhigh") | null | undefined;
|
|
584
|
+
response_format?: {
|
|
585
|
+
[x: string]: unknown;
|
|
586
|
+
} | null | undefined;
|
|
587
|
+
safety_identifier?: string | null | undefined;
|
|
588
|
+
seed?: number | null | undefined;
|
|
589
|
+
service_tier?: string | null | undefined;
|
|
590
|
+
stop?: string | string[] | null | undefined;
|
|
591
|
+
store?: boolean | null | undefined;
|
|
592
|
+
temperature?: number | null | undefined;
|
|
593
|
+
top_logprobs?: number | null | undefined;
|
|
594
|
+
top_p?: number | null | undefined;
|
|
595
|
+
verbosity?: ("low" | "medium" | "high") | null | undefined;
|
|
596
|
+
} | null | undefined;
|
|
462
597
|
llm_name: string;
|
|
463
598
|
params?: {
|
|
464
599
|
[x: string]: unknown;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"services.d.ts","sourceRoot":"","sources":["../../../src/resources/services.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAChE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA2By+pnB,qBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvBniqnB,GAAG,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAuB4+pnB,qBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAfniqnB,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,CAAC,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAeo7pnB,qBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;IANniqnB,MAAM,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAK3D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { components } from '../generated/api.js';
|
|
2
2
|
import { WorkspaceScopedResource } from './base.js';
|
|
3
3
|
/**
|
|
4
|
-
* Workspace-level settings — configure voice
|
|
4
|
+
* Workspace-level settings — configure voice, branding, data
|
|
5
5
|
* retention, outreach rules, and more.
|
|
6
6
|
*
|
|
7
7
|
* Each sub-resource has `get()` and `update()`.
|
|
@@ -201,58 +201,6 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
201
201
|
world_events_days: number;
|
|
202
202
|
} & import("../index.js").ResponseMetadata>;
|
|
203
203
|
};
|
|
204
|
-
readonly behaviors: {
|
|
205
|
-
get: () => Promise<{
|
|
206
|
-
behaviors: {
|
|
207
|
-
action?: {
|
|
208
|
-
add_tools?: string[] | undefined;
|
|
209
|
-
filler_override?: ("empathy" | "receipt" | "working" | "silent") | null | undefined;
|
|
210
|
-
instruction?: string | undefined;
|
|
211
|
-
remove_tools?: string[] | undefined;
|
|
212
|
-
turn_policy_overrides?: {
|
|
213
|
-
[x: string]: unknown;
|
|
214
|
-
} | undefined;
|
|
215
|
-
} | undefined;
|
|
216
|
-
cooldown_turns?: number | undefined;
|
|
217
|
-
description?: components["schemas"]["DescriptionString"] | undefined;
|
|
218
|
-
enabled?: boolean | undefined;
|
|
219
|
-
name: components["schemas"]["NameString"];
|
|
220
|
-
priority?: number | undefined;
|
|
221
|
-
trigger?: {
|
|
222
|
-
emotion_tiers?: number[] | undefined;
|
|
223
|
-
intent_categories?: string[] | undefined;
|
|
224
|
-
keywords?: string[] | undefined;
|
|
225
|
-
states?: string[] | undefined;
|
|
226
|
-
} | undefined;
|
|
227
|
-
}[];
|
|
228
|
-
enabled: boolean;
|
|
229
|
-
} & import("../index.js").ResponseMetadata>;
|
|
230
|
-
update: (body: components["schemas"]["BehaviorSettingsRequest"]) => Promise<{
|
|
231
|
-
behaviors: {
|
|
232
|
-
action?: {
|
|
233
|
-
add_tools?: string[] | undefined;
|
|
234
|
-
filler_override?: ("empathy" | "receipt" | "working" | "silent") | null | undefined;
|
|
235
|
-
instruction?: string | undefined;
|
|
236
|
-
remove_tools?: string[] | undefined;
|
|
237
|
-
turn_policy_overrides?: {
|
|
238
|
-
[x: string]: unknown;
|
|
239
|
-
} | undefined;
|
|
240
|
-
} | undefined;
|
|
241
|
-
cooldown_turns?: number | undefined;
|
|
242
|
-
description?: components["schemas"]["DescriptionString"] | undefined;
|
|
243
|
-
enabled?: boolean | undefined;
|
|
244
|
-
name: components["schemas"]["NameString"];
|
|
245
|
-
priority?: number | undefined;
|
|
246
|
-
trigger?: {
|
|
247
|
-
emotion_tiers?: number[] | undefined;
|
|
248
|
-
intent_categories?: string[] | undefined;
|
|
249
|
-
keywords?: string[] | undefined;
|
|
250
|
-
states?: string[] | undefined;
|
|
251
|
-
} | undefined;
|
|
252
|
-
}[];
|
|
253
|
-
enabled: boolean;
|
|
254
|
-
} & import("../index.js").ResponseMetadata>;
|
|
255
|
-
};
|
|
256
204
|
readonly gapScanner: {
|
|
257
205
|
get: () => Promise<{
|
|
258
206
|
appointment_lookahead_hours: number;
|
|
@@ -336,10 +284,11 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
336
284
|
builtin?: boolean | undefined;
|
|
337
285
|
categories?: string[] | null | undefined;
|
|
338
286
|
channel_scope?: "all" | "voice" | "text" | "surface" | "inbound" | "outbound" | undefined;
|
|
287
|
+
custom_source_key?: string | null | undefined;
|
|
339
288
|
description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
340
289
|
event_types: string[];
|
|
341
290
|
extract_path?: string | null | undefined;
|
|
342
|
-
extraction_mode?: "static" | "ai_classify" | "ai_extract" | "
|
|
291
|
+
extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_query" | "sql_expr" | undefined;
|
|
343
292
|
freshness_sla_minutes?: number | undefined;
|
|
344
293
|
granularity?: "aggregate" | "per_entity" | undefined;
|
|
345
294
|
id?: string | undefined;
|
|
@@ -352,7 +301,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
352
301
|
prompt?: string | null | undefined;
|
|
353
302
|
ratio_denominator_event?: string | null | undefined;
|
|
354
303
|
ratio_numerator_event?: string | null | undefined;
|
|
355
|
-
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
|
|
304
|
+
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results" | "custom";
|
|
356
305
|
source_filter?: string | null | undefined;
|
|
357
306
|
sql_expression?: string | null | undefined;
|
|
358
307
|
unit?: string | null | undefined;
|
|
@@ -374,10 +323,11 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
374
323
|
builtin?: boolean | undefined;
|
|
375
324
|
categories?: string[] | null | undefined;
|
|
376
325
|
channel_scope?: "all" | "voice" | "text" | "surface" | "inbound" | "outbound" | undefined;
|
|
326
|
+
custom_source_key?: string | null | undefined;
|
|
377
327
|
description?: (components["schemas"]["DescriptionString"] | null) | undefined;
|
|
378
328
|
event_types: string[];
|
|
379
329
|
extract_path?: string | null | undefined;
|
|
380
|
-
extraction_mode?: "static" | "ai_classify" | "ai_extract" | "
|
|
330
|
+
extraction_mode?: "static" | "ai_classify" | "ai_extract" | "ai_query" | "sql_expr" | undefined;
|
|
381
331
|
freshness_sla_minutes?: number | undefined;
|
|
382
332
|
granularity?: "aggregate" | "per_entity" | undefined;
|
|
383
333
|
id?: string | undefined;
|
|
@@ -390,7 +340,7 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
390
340
|
prompt?: string | null | undefined;
|
|
391
341
|
ratio_denominator_event?: string | null | undefined;
|
|
392
342
|
ratio_numerator_event?: string | null | undefined;
|
|
393
|
-
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results";
|
|
343
|
+
source: "call_intelligence" | "world_events" | "surface_events" | "emotion_events" | "connector_events" | "zerobus_events" | "voice_judge_results" | "custom";
|
|
394
344
|
source_filter?: string | null | undefined;
|
|
395
345
|
sql_expression?: string | null | undefined;
|
|
396
346
|
unit?: string | null | undefined;
|
|
@@ -427,93 +377,5 @@ export declare class SettingsResource extends WorkspaceScopedResource {
|
|
|
427
377
|
} | undefined;
|
|
428
378
|
} & import("../index.js").ResponseMetadata>;
|
|
429
379
|
};
|
|
430
|
-
readonly workflows: {
|
|
431
|
-
get: () => Promise<{
|
|
432
|
-
workflows?: {
|
|
433
|
-
description?: string | undefined;
|
|
434
|
-
enabled?: boolean | undefined;
|
|
435
|
-
id?: string | undefined;
|
|
436
|
-
input_query?: string | null | undefined;
|
|
437
|
-
max_concurrent?: number | undefined;
|
|
438
|
-
name: string;
|
|
439
|
-
steps: {
|
|
440
|
-
body_steps?: /*elided*/ any[] | null | undefined;
|
|
441
|
-
condition?: string | null | undefined;
|
|
442
|
-
endpoint?: string | null | undefined;
|
|
443
|
-
integration?: string | null | undefined;
|
|
444
|
-
items_from?: string | null | undefined;
|
|
445
|
-
name: string;
|
|
446
|
-
on_false?: string | null | undefined;
|
|
447
|
-
on_true?: string | null | undefined;
|
|
448
|
-
request_body?: {
|
|
449
|
-
[x: string]: unknown;
|
|
450
|
-
} | undefined;
|
|
451
|
-
retry_backoff_seconds?: number | undefined;
|
|
452
|
-
retry_count?: number | undefined;
|
|
453
|
-
surface_spec?: {
|
|
454
|
-
[x: string]: unknown;
|
|
455
|
-
} | null | undefined;
|
|
456
|
-
tool_name?: string | null | undefined;
|
|
457
|
-
tool_params?: {
|
|
458
|
-
[x: string]: unknown;
|
|
459
|
-
} | undefined;
|
|
460
|
-
type: "tool_call" | "integration_call" | "wait" | "branch" | "for_each" | "surface";
|
|
461
|
-
wait_duration?: string | null | undefined;
|
|
462
|
-
wait_for_event?: string | null | undefined;
|
|
463
|
-
}[];
|
|
464
|
-
timeout?: string | undefined;
|
|
465
|
-
trigger: {
|
|
466
|
-
cron_expression?: string | null | undefined;
|
|
467
|
-
event_filter?: {
|
|
468
|
-
[x: string]: unknown;
|
|
469
|
-
} | null | undefined;
|
|
470
|
-
type: "cron" | "event" | "manual";
|
|
471
|
-
};
|
|
472
|
-
}[] | undefined;
|
|
473
|
-
} & import("../index.js").ResponseMetadata>;
|
|
474
|
-
update: (body: components["schemas"]["WorkflowSettingsRequest"]) => Promise<{
|
|
475
|
-
workflows?: {
|
|
476
|
-
description?: string | undefined;
|
|
477
|
-
enabled?: boolean | undefined;
|
|
478
|
-
id?: string | undefined;
|
|
479
|
-
input_query?: string | null | undefined;
|
|
480
|
-
max_concurrent?: number | undefined;
|
|
481
|
-
name: string;
|
|
482
|
-
steps: {
|
|
483
|
-
body_steps?: /*elided*/ any[] | null | undefined;
|
|
484
|
-
condition?: string | null | undefined;
|
|
485
|
-
endpoint?: string | null | undefined;
|
|
486
|
-
integration?: string | null | undefined;
|
|
487
|
-
items_from?: string | null | undefined;
|
|
488
|
-
name: string;
|
|
489
|
-
on_false?: string | null | undefined;
|
|
490
|
-
on_true?: string | null | undefined;
|
|
491
|
-
request_body?: {
|
|
492
|
-
[x: string]: unknown;
|
|
493
|
-
} | undefined;
|
|
494
|
-
retry_backoff_seconds?: number | undefined;
|
|
495
|
-
retry_count?: number | undefined;
|
|
496
|
-
surface_spec?: {
|
|
497
|
-
[x: string]: unknown;
|
|
498
|
-
} | null | undefined;
|
|
499
|
-
tool_name?: string | null | undefined;
|
|
500
|
-
tool_params?: {
|
|
501
|
-
[x: string]: unknown;
|
|
502
|
-
} | undefined;
|
|
503
|
-
type: "tool_call" | "integration_call" | "wait" | "branch" | "for_each" | "surface";
|
|
504
|
-
wait_duration?: string | null | undefined;
|
|
505
|
-
wait_for_event?: string | null | undefined;
|
|
506
|
-
}[];
|
|
507
|
-
timeout?: string | undefined;
|
|
508
|
-
trigger: {
|
|
509
|
-
cron_expression?: string | null | undefined;
|
|
510
|
-
event_filter?: {
|
|
511
|
-
[x: string]: unknown;
|
|
512
|
-
} | null | undefined;
|
|
513
|
-
type: "cron" | "event" | "manual";
|
|
514
|
-
};
|
|
515
|
-
}[] | undefined;
|
|
516
|
-
} & import("../index.js").ResponseMetadata>;
|
|
517
|
-
};
|
|
518
380
|
}
|
|
519
381
|
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../src/resources/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACrD,OAAO,EAAE,uBAAuB,EAAe,MAAM,WAAW,CAAA;AAEhE;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,uBAAuB;IAC3D,QAAQ,CAAC,KAAK;;;;;;;;;;;;;;;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