@roarkanalytics/sdk 4.10.0 → 4.12.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/CHANGELOG.md +24 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/customer-flow-edge-case.d.mts +21 -4
- package/resources/customer-flow-edge-case.d.mts.map +1 -1
- package/resources/customer-flow-edge-case.d.ts +21 -4
- package/resources/customer-flow-edge-case.d.ts.map +1 -1
- package/resources/customer-flow.d.mts +36 -3
- package/resources/customer-flow.d.mts.map +1 -1
- package/resources/customer-flow.d.ts +36 -3
- package/resources/customer-flow.d.ts.map +1 -1
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/me.d.mts +56 -0
- package/resources/me.d.mts.map +1 -0
- package/resources/me.d.ts +56 -0
- package/resources/me.d.ts.map +1 -0
- package/resources/me.js +23 -0
- package/resources/me.js.map +1 -0
- package/resources/me.mjs +19 -0
- package/resources/me.mjs.map +1 -0
- package/resources/project.d.mts +51 -0
- package/resources/project.d.mts.map +1 -0
- package/resources/project.d.ts +51 -0
- package/resources/project.d.ts.map +1 -0
- package/resources/project.js +24 -0
- package/resources/project.js.map +1 -0
- package/resources/project.mjs +20 -0
- package/resources/project.mjs.map +1 -0
- package/src/client.ts +10 -0
- package/src/resources/customer-flow-edge-case.ts +23 -4
- package/src/resources/customer-flow.ts +40 -3
- package/src/resources/index.ts +2 -0
- package/src/resources/me.ts +76 -0
- package/src/resources/project.ts +65 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -10969,10 +10969,26 @@ export declare namespace CustomerFlowCreateParams {
|
|
|
10969
10969
|
*/
|
|
10970
10970
|
personaOverrideId: string;
|
|
10971
10971
|
title: string;
|
|
10972
|
+
/**
|
|
10973
|
+
* The expectations graded on this variant only, on top of the flow's own. Sent as
|
|
10974
|
+
* the complete set: it replaces whatever the variant had, so omit it to leave the
|
|
10975
|
+
* set alone and send [] to clear it. Improv flows only: a scripted variant's
|
|
10976
|
+
* expectations come from the agent turns on its path and are rewritten on every
|
|
10977
|
+
* graph edit.
|
|
10978
|
+
*/
|
|
10979
|
+
additionalExpectations?: Array<HappyPath.AdditionalExpectation>;
|
|
10972
10980
|
precededByCustomerFlowId?: string | null;
|
|
10973
10981
|
precededByCustomerFlowVariantId?: string | null;
|
|
10974
10982
|
prompt?: string | null;
|
|
10975
10983
|
}
|
|
10984
|
+
namespace HappyPath {
|
|
10985
|
+
interface AdditionalExpectation {
|
|
10986
|
+
/**
|
|
10987
|
+
* What the agent under test is graded against.
|
|
10988
|
+
*/
|
|
10989
|
+
prompt: string;
|
|
10990
|
+
}
|
|
10991
|
+
}
|
|
10976
10992
|
interface AgentExpectation {
|
|
10977
10993
|
/**
|
|
10978
10994
|
* What the agent under test is graded against.
|
|
@@ -10981,6 +10997,14 @@ export declare namespace CustomerFlowCreateParams {
|
|
|
10981
10997
|
}
|
|
10982
10998
|
interface EdgeCase {
|
|
10983
10999
|
title: string;
|
|
11000
|
+
/**
|
|
11001
|
+
* The expectations graded on this variant only, on top of the flow's own. Sent as
|
|
11002
|
+
* the complete set: it replaces whatever the variant had, so omit it to leave the
|
|
11003
|
+
* set alone and send [] to clear it. Improv flows only: a scripted variant's
|
|
11004
|
+
* expectations come from the agent turns on its path and are rewritten on every
|
|
11005
|
+
* graph edit.
|
|
11006
|
+
*/
|
|
11007
|
+
additionalExpectations?: Array<EdgeCase.AdditionalExpectation>;
|
|
10984
11008
|
environmentId?: string | null;
|
|
10985
11009
|
/**
|
|
10986
11010
|
* The persona this runs as. Omit to inherit the happy path's.
|
|
@@ -10990,6 +11014,14 @@ export declare namespace CustomerFlowCreateParams {
|
|
|
10990
11014
|
precededByCustomerFlowVariantId?: string | null;
|
|
10991
11015
|
prompt?: string | null;
|
|
10992
11016
|
}
|
|
11017
|
+
namespace EdgeCase {
|
|
11018
|
+
interface AdditionalExpectation {
|
|
11019
|
+
/**
|
|
11020
|
+
* What the agent under test is graded against.
|
|
11021
|
+
*/
|
|
11022
|
+
prompt: string;
|
|
11023
|
+
}
|
|
11024
|
+
}
|
|
10993
11025
|
}
|
|
10994
11026
|
}
|
|
10995
11027
|
export interface CustomerFlowUpdateParams {
|
|
@@ -11097,9 +11129,10 @@ export interface CustomerFlowReplaceGraphParams {
|
|
|
11097
11129
|
}
|
|
11098
11130
|
export interface CustomerFlowUpdateHappyPathParams {
|
|
11099
11131
|
/**
|
|
11100
|
-
*
|
|
11101
|
-
*
|
|
11102
|
-
*
|
|
11132
|
+
* The expectations graded on this variant only, on top of the flow's own. Sent as
|
|
11133
|
+
* the complete set: it replaces whatever the variant had, so omit it to leave the
|
|
11134
|
+
* set alone and send [] to clear it. Improv flows only: a scripted variant's
|
|
11135
|
+
* expectations come from the agent turns on its path and are rewritten on every
|
|
11103
11136
|
* graph edit.
|
|
11104
11137
|
*/
|
|
11105
11138
|
additionalExpectations?: Array<CustomerFlowUpdateHappyPathParams.AdditionalExpectation>;
|