@droz-js/sdk 0.26.5 → 0.26.6
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/package.json +1 -1
- package/src/drozadmin.d.ts +10 -0
- package/src/sdks/ai.d.ts +41 -10
- package/src/sdks/ai.js +12 -0
- package/src/sdks/drozcommons.d.ts +52 -0
- package/src/sdks/drozcommons.js +37 -2
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -78,6 +78,10 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
78
78
|
getGlobalParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
79
79
|
name: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
80
80
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetGlobalParameterQuery>;
|
|
81
|
+
getEnvironmentParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
82
|
+
environment: import("./sdks/drozcommons").ParameterEnvironment;
|
|
83
|
+
name: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
84
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").GetEnvironmentParameterQuery>;
|
|
81
85
|
setTenantParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
82
86
|
input: import("./sdks/drozcommons").SetTenantParameterInput;
|
|
83
87
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").SetTenantParameterMutation>;
|
|
@@ -96,6 +100,12 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
96
100
|
removeGlobalParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
97
101
|
input: import("./sdks/drozcommons").RemoveGlobalParameterInput;
|
|
98
102
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveGlobalParameterMutation>;
|
|
103
|
+
setEnvironmentParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
104
|
+
input: import("./sdks/drozcommons").SetEnvironmentParameterInput;
|
|
105
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").SetEnvironmentParameterMutation>;
|
|
106
|
+
removeEnvironmentParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
107
|
+
input: import("./sdks/drozcommons").RemoveEnvironmentParameterInput;
|
|
108
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveEnvironmentParameterMutation>;
|
|
99
109
|
listQueueHealthSummary(variables?: import("./sdks/drozcommons").Exact<{
|
|
100
110
|
[key: string]: never;
|
|
101
111
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListQueueHealthSummaryQuery>;
|
package/src/sdks/ai.d.ts
CHANGED
|
@@ -581,10 +581,12 @@ export declare enum AiAgentFrequencyLevel {
|
|
|
581
581
|
}
|
|
582
582
|
export type AiAgentHandoff = {
|
|
583
583
|
target?: Maybe<Scalars['String']['output']>;
|
|
584
|
+
toolFailureMessage?: Maybe<Scalars['String']['output']>;
|
|
584
585
|
transition: Scalars['String']['output'];
|
|
585
586
|
};
|
|
586
587
|
export type AiAgentHandoffInput = {
|
|
587
588
|
target?: InputMaybe<Scalars['String']['input']>;
|
|
589
|
+
toolFailureMessage?: InputMaybe<Scalars['String']['input']>;
|
|
588
590
|
transition: Scalars['String']['input'];
|
|
589
591
|
};
|
|
590
592
|
export declare enum AiAgentHandoffReason {
|
|
@@ -773,6 +775,14 @@ export type AiAgentMetricsWindowInput = {
|
|
|
773
775
|
from: Scalars['Number']['input'];
|
|
774
776
|
to: Scalars['Number']['input'];
|
|
775
777
|
};
|
|
778
|
+
export type AiAgentObjection = {
|
|
779
|
+
objection: Scalars['String']['output'];
|
|
780
|
+
response: Scalars['String']['output'];
|
|
781
|
+
};
|
|
782
|
+
export type AiAgentObjectionInput = {
|
|
783
|
+
objection: Scalars['String']['input'];
|
|
784
|
+
response: Scalars['String']['input'];
|
|
785
|
+
};
|
|
776
786
|
export type AiAgentProcedure = {
|
|
777
787
|
approvedReplyTemplate?: Maybe<Scalars['String']['output']>;
|
|
778
788
|
contingency: Scalars['String']['output'];
|
|
@@ -784,6 +794,9 @@ export type AiAgentProcedure = {
|
|
|
784
794
|
guidanceSteps: Array<Scalars['String']['output']>;
|
|
785
795
|
id: Scalars['ID']['output'];
|
|
786
796
|
name: Scalars['String']['output'];
|
|
797
|
+
nextStep?: Maybe<Scalars['String']['output']>;
|
|
798
|
+
objections: Array<AiAgentObjection>;
|
|
799
|
+
objective?: Maybe<Scalars['String']['output']>;
|
|
787
800
|
replyEmailSubject?: Maybe<Scalars['String']['output']>;
|
|
788
801
|
status: Scalars['String']['output'];
|
|
789
802
|
toolIds: Array<Scalars['ID']['output']>;
|
|
@@ -956,6 +969,7 @@ export type AiAgentTool = {
|
|
|
956
969
|
name: Scalars['String']['output'];
|
|
957
970
|
onFailure?: Maybe<Scalars['JSON']['output']>;
|
|
958
971
|
parameters: Array<AiAgentToolParameter>;
|
|
972
|
+
recordOwner?: Maybe<AiAgentToolRecordOwner>;
|
|
959
973
|
requiresAuthenticatedCustomer: Scalars['Boolean']['output'];
|
|
960
974
|
returns: Array<Scalars['String']['output']>;
|
|
961
975
|
toolId: Scalars['ID']['output'];
|
|
@@ -981,6 +995,16 @@ export type AiAgentToolParameterInput = {
|
|
|
981
995
|
required: Scalars['Boolean']['input'];
|
|
982
996
|
type: ToolParameterType;
|
|
983
997
|
};
|
|
998
|
+
export type AiAgentToolRecordOwner = {
|
|
999
|
+
listPath?: Maybe<Scalars['String']['output']>;
|
|
1000
|
+
ownerField: Scalars['String']['output'];
|
|
1001
|
+
ownerParameters: Array<Scalars['String']['output']>;
|
|
1002
|
+
};
|
|
1003
|
+
export type AiAgentToolRecordOwnerInput = {
|
|
1004
|
+
listPath?: InputMaybe<Scalars['String']['input']>;
|
|
1005
|
+
ownerField: Scalars['String']['input'];
|
|
1006
|
+
ownerParameters: Array<Scalars['String']['input']>;
|
|
1007
|
+
};
|
|
984
1008
|
export type AiAgentToolSpecInput = {
|
|
985
1009
|
approval?: InputMaybe<Scalars['String']['input']>;
|
|
986
1010
|
availability: ToolAvailability;
|
|
@@ -993,6 +1017,7 @@ export type AiAgentToolSpecInput = {
|
|
|
993
1017
|
name: Scalars['String']['input'];
|
|
994
1018
|
onFailure?: InputMaybe<Scalars['JSON']['input']>;
|
|
995
1019
|
parameters: Array<AiAgentToolParameterInput>;
|
|
1020
|
+
recordOwner?: InputMaybe<AiAgentToolRecordOwnerInput>;
|
|
996
1021
|
requiresAuthenticatedCustomer: Scalars['Boolean']['input'];
|
|
997
1022
|
returns: Array<Scalars['String']['input']>;
|
|
998
1023
|
reversible: Scalars['Boolean']['input'];
|
|
@@ -1442,6 +1467,9 @@ export type SaveAiAgentProcedureInput = {
|
|
|
1442
1467
|
guidanceSteps: Array<Scalars['String']['input']>;
|
|
1443
1468
|
id: Scalars['ID']['input'];
|
|
1444
1469
|
name: Scalars['String']['input'];
|
|
1470
|
+
nextStep?: InputMaybe<Scalars['String']['input']>;
|
|
1471
|
+
objections?: InputMaybe<Array<AiAgentObjectionInput>>;
|
|
1472
|
+
objective?: InputMaybe<Scalars['String']['input']>;
|
|
1445
1473
|
replyEmailSubject?: InputMaybe<Scalars['String']['input']>;
|
|
1446
1474
|
status: Scalars['String']['input'];
|
|
1447
1475
|
toolIds: Array<Scalars['ID']['input']>;
|
|
@@ -1603,7 +1631,7 @@ export type AiAgentVersionFragment = Pick<AiAgentVersion, 'aiAgentId' | 'version
|
|
|
1603
1631
|
export type AiAgentSpecFragment = (Pick<AiAgentSpec, 'can' | 'cannot' | 'knowledgeBaseIds' | 'knowledgeFallback' | 'toolIds' | 'channels' | 'typingIndicator'> & {
|
|
1604
1632
|
identity: Pick<AiAgentIdentity, 'displayName' | 'role' | 'tone' | 'toneNotes' | 'openingMessage' | 'outOfScopeBehaviour'>;
|
|
1605
1633
|
budget: Pick<AiAgentBudget, 'maxSteps' | 'maxToolCalls' | 'maxTokens' | 'maxCostMicroUsd' | 'maxPeriodCostMicroUsd' | 'onExceeded'>;
|
|
1606
|
-
handoff?: Maybe<Pick<AiAgentHandoff, 'transition' | 'target'>>;
|
|
1634
|
+
handoff?: Maybe<Pick<AiAgentHandoff, 'transition' | 'target' | 'toolFailureMessage'>>;
|
|
1607
1635
|
insistence?: Maybe<Pick<AiAgentInsistence, 'retriesAfterRefusal' | 'handoffOnRequest'>>;
|
|
1608
1636
|
conversationTiming?: Maybe<Array<Pick<AiAgentChannelTiming, 'channel' | 'abandonAfterMs' | 'remindAfterMs' | 'metaWindowMs' | 'reminderMessage' | 'renewalMessage'>>>;
|
|
1609
1637
|
});
|
|
@@ -1677,8 +1705,11 @@ export type RemoveAiAgentMutationVariables = Exact<{
|
|
|
1677
1705
|
}>;
|
|
1678
1706
|
export type RemoveAiAgentMutation = Pick<Mutation, 'removeAiAgent'>;
|
|
1679
1707
|
export type AiAgentUseCaseFragment = Pick<AiAgentUseCase, 'id' | 'name' | 'subjectDescription' | 'procedureId' | 'tag' | 'status' | 'updatedAt'>;
|
|
1680
|
-
export type AiAgentProcedureFragment = Pick<AiAgentProcedure, 'id' | 'name' | 'guidanceSteps' | 'toolIds' | 'contingency' | 'executionAutonomy' | 'endsConversationAfterInforming' | 'continuesAfterApproval' | 'approvedReplyTemplate' | 'deniedReplyTemplate' | 'expiredReplyTemplate' | 'replyEmailSubject' | 'status' | 'updatedAt'
|
|
1708
|
+
export type AiAgentProcedureFragment = (Pick<AiAgentProcedure, 'id' | 'name' | 'guidanceSteps' | 'toolIds' | 'contingency' | 'executionAutonomy' | 'endsConversationAfterInforming' | 'continuesAfterApproval' | 'approvedReplyTemplate' | 'deniedReplyTemplate' | 'expiredReplyTemplate' | 'replyEmailSubject' | 'objective' | 'nextStep' | 'status' | 'updatedAt'> & {
|
|
1709
|
+
objections: Array<Pick<AiAgentObjection, 'objection' | 'response'>>;
|
|
1710
|
+
});
|
|
1681
1711
|
export type AiAgentToolFragment = (Pick<AiAgentTool, 'toolId' | 'name' | 'description' | 'effect' | 'availability' | 'requiresAuthenticatedCustomer' | 'onFailure' | 'emptyResultMessage' | 'customerScope' | 'returns' | 'approval'> & {
|
|
1712
|
+
recordOwner?: Maybe<Pick<AiAgentToolRecordOwner, 'listPath' | 'ownerField' | 'ownerParameters'>>;
|
|
1682
1713
|
parameters: Array<Pick<AiAgentToolParameter, 'name' | 'type' | 'required' | 'description' | 'grounding' | 'format'>>;
|
|
1683
1714
|
});
|
|
1684
1715
|
export type AiAgentTraceFragment = (Pick<AiAgentTrace, 'sessionId' | 'turn' | 'aiAgentId' | 'agentVersion' | 'input' | 'promptBuilderVersion' | 'masterRuleVersion' | 'identificationRequired' | 'promptFingerprint' | 'knowledgeOrigins' | 'knowledgeQuery' | 'outcome' | 'haltReason' | 'handoffHeld' | 'steps' | 'answer' | 'startedAt' | 'model' | 'reasoningEffort'> & {
|
|
@@ -2064,14 +2095,14 @@ export type RemoveQnAInstanceMutation = {
|
|
|
2064
2095
|
};
|
|
2065
2096
|
export declare const AiAgentSummaryFragmentDoc = "\n fragment aiAgentSummary on AiAgentSummary {\n aiAgentId\n name\n liveVersion\n channels\n updatedAt\n queuedApprovals\n status\n}\n ";
|
|
2066
2097
|
export declare const AiAgentVersionFragmentDoc = "\n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n}\n ";
|
|
2067
|
-
export declare const AiAgentSpecFragmentDoc = "\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n}\n ";
|
|
2098
|
+
export declare const AiAgentSpecFragmentDoc = "\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n toolFailureMessage\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n}\n ";
|
|
2068
2099
|
export declare const AiAgentToolExclusionFragmentDoc = "\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2069
2100
|
export declare const AiAgentVersionWithSpecFragmentDoc = "\n fragment aiAgentVersionWithSpec on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n spec {\n ...aiAgentSpec\n }\n excludedTools {\n ...aiAgentToolExclusion\n }\n}\n ";
|
|
2070
2101
|
export declare const AiAgentListingMetricsFragmentDoc = "\n fragment aiAgentListingMetrics on AiAgentMetrics {\n aiAgentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n resolutionDefinition\n costMicroUsd\n}\n ";
|
|
2071
2102
|
export declare const AiAgentListingMetricsFieldsFragmentDoc = "\n fragment aiAgentListingMetricsFields on AiAgentListingMetrics {\n aiAgentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n costMicroUsd\n}\n ";
|
|
2072
2103
|
export declare const AiAgentUseCaseFragmentDoc = "\n fragment aiAgentUseCase on AiAgentUseCase {\n id\n name\n subjectDescription\n procedureId\n tag\n status\n updatedAt\n}\n ";
|
|
2073
|
-
export declare const AiAgentProcedureFragmentDoc = "\n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n status\n updatedAt\n}\n ";
|
|
2074
|
-
export declare const AiAgentToolFragmentDoc = "\n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2104
|
+
export declare const AiAgentProcedureFragmentDoc = "\n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2105
|
+
export declare const AiAgentToolFragmentDoc = "\n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2075
2106
|
export declare const AiAgentTraceFragmentDoc = "\n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n aiAgentId\n agentVersion\n input\n promptBuilderVersion\n masterRuleVersion\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n knowledgeQuery\n outcome\n haltReason\n handoffHeld\n steps\n answer\n startedAt\n model\n reasoningEffort\n excludedTools {\n ...aiAgentToolExclusion\n }\n toolCalls {\n toolId\n name\n result\n ok\n empty\n connection\n errorClass\n }\n}\n ";
|
|
2076
2107
|
export declare const AiAgentScenarioFragmentDoc = "\n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
2077
2108
|
export declare const AiAgentDashboardIndicatorFragmentDoc = "\n fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {\n value\n polarity\n variation {\n unit\n value\n }\n}\n ";
|
|
@@ -2093,8 +2124,8 @@ export declare const RollbackAiAgentVersionDocument = "\n mutation rollbackAi
|
|
|
2093
2124
|
export declare const RemoveAiAgentVersionDocument = "\n mutation removeAiAgentVersion($input: AiAgentVersionRefInput!) {\n removeAiAgentVersion(input: $input) {\n ...aiAgentVersion\n }\n}\n \n fragment aiAgentVersion on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n}\n ";
|
|
2094
2125
|
export declare const RemoveAiAgentDocument = "\n mutation removeAiAgent($input: AiAgentRefInput!) {\n removeAiAgent(input: $input)\n}\n ";
|
|
2095
2126
|
export declare const ListAiAgentUseCasesDocument = "\n query listAiAgentUseCases($aiAgentId: ID!) {\n listAiAgentUseCases(aiAgentId: $aiAgentId) {\n ...aiAgentUseCase\n }\n}\n \n fragment aiAgentUseCase on AiAgentUseCase {\n id\n name\n subjectDescription\n procedureId\n tag\n status\n updatedAt\n}\n ";
|
|
2096
|
-
export declare const ListAiAgentProceduresDocument = "\n query listAiAgentProcedures($aiAgentId: ID!) {\n listAiAgentProcedures(aiAgentId: $aiAgentId) {\n ...aiAgentProcedure\n }\n}\n \n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n status\n updatedAt\n}\n ";
|
|
2097
|
-
export declare const ListAiAgentToolsDocument = "\n query listAiAgentTools {\n listAiAgentTools {\n ...aiAgentTool\n }\n}\n \n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2127
|
+
export declare const ListAiAgentProceduresDocument = "\n query listAiAgentProcedures($aiAgentId: ID!) {\n listAiAgentProcedures(aiAgentId: $aiAgentId) {\n ...aiAgentProcedure\n }\n}\n \n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2128
|
+
export declare const ListAiAgentToolsDocument = "\n query listAiAgentTools {\n listAiAgentTools {\n ...aiAgentTool\n }\n}\n \n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2098
2129
|
export declare const AiAgentUseCaseOverlapDocument = "\n query aiAgentUseCaseOverlap($aiAgentId: ID!) {\n aiAgentUseCaseOverlap(aiAgentId: $aiAgentId) {\n threshold\n pairs {\n left\n right\n score\n }\n }\n}\n ";
|
|
2099
2130
|
export declare const AiAgentTraceDocument = "\n query aiAgentTrace($sessionId: ID!, $conversationId: ID) {\n aiAgentTrace(sessionId: $sessionId, conversationId: $conversationId) {\n ...aiAgentTrace\n }\n}\n \n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n aiAgentId\n agentVersion\n input\n promptBuilderVersion\n masterRuleVersion\n identificationRequired\n promptFingerprint\n knowledgeOrigins\n knowledgeQuery\n outcome\n haltReason\n handoffHeld\n steps\n answer\n startedAt\n model\n reasoningEffort\n excludedTools {\n ...aiAgentToolExclusion\n }\n toolCalls {\n toolId\n name\n result\n ok\n empty\n connection\n errorClass\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2100
2131
|
export declare const ListAiAgentScenariosDocument = "\n query listAiAgentScenarios($aiAgentId: ID!) {\n listAiAgentScenarios(aiAgentId: $aiAgentId) {\n ...aiAgentScenario\n }\n}\n \n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
@@ -2106,7 +2137,7 @@ export declare const AiAgentMetricsSeriesDocument = "\n query aiAgentMetricsS
|
|
|
2106
2137
|
export declare const AiAgentDashboardDocument = "\n query aiAgentDashboard($input: AiAgentDashboardInput!) {\n aiAgentDashboard(input: $input) {\n aiAgentId\n timezone\n window {\n from\n to\n }\n previousWindow {\n from\n to\n }\n bucket\n conversations {\n ...aiAgentDashboardIndicator\n }\n resolved {\n ...aiAgentDashboardIndicator\n }\n unresolved {\n ...aiAgentDashboardIndicator\n }\n handoffProcedure {\n ...aiAgentDashboardIndicator\n }\n handoffNeed {\n ...aiAgentDashboardIndicator\n }\n qualifiedLead {\n ...aiAgentDashboardIndicator\n }\n offerAccepted {\n ...aiAgentDashboardIndicator\n }\n abandonment {\n ...aiAgentDashboardIndicator\n }\n scoreBands {\n band\n count\n percent\n polarity\n variation {\n unit\n value\n }\n }\n agentScoreAvg\n agentScoreAvgBand\n analyzedConversations\n conversationsProvisional\n conversationsAwaitingClassification\n hasActiveDispatches\n activeDispatches {\n sent {\n ...aiAgentDashboardIndicator\n }\n answered {\n ...aiAgentDashboardIndicator\n }\n unanswered {\n ...aiAgentDashboardIndicator\n }\n }\n sentimentAtStart {\n ...aiAgentDashboardSentiment\n }\n sentimentAtEnd {\n ...aiAgentDashboardSentiment\n }\n contactReasons {\n all {\n ...aiAgentDashboardContactReason\n }\n handoff {\n ...aiAgentDashboardContactReason\n }\n abandonment {\n ...aiAgentDashboardContactReason\n }\n }\n procedures {\n key\n name\n count\n level\n }\n knowledgeGaps {\n key\n count\n level\n }\n series {\n date\n endDate\n conversations\n conversationsEligible\n conversationsResolved\n conversationsUnresolved\n conversationsHandoffNeed\n conversationsAbandoned\n resolvedRate\n unresolvedRate\n handoffNeedRate\n abandonmentRate\n }\n truncated\n analysesTruncated\n }\n}\n \n fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {\n value\n polarity\n variation {\n unit\n value\n }\n}\n \n\n fragment aiAgentDashboardSentiment on AiAgentDashboardSentiment {\n sentiment\n count\n percent\n polarity\n variation {\n unit\n value\n }\n}\n \n\n fragment aiAgentDashboardContactReason on AiAgentDashboardContactReason {\n key\n count\n percent\n}\n ";
|
|
2107
2138
|
export declare const AiAgentConversationOutcomeDocument = "\n query aiAgentConversationOutcome($sessionId: ID!, $conversationId: ID) {\n aiAgentConversationOutcome(\n sessionId: $sessionId\n conversationId: $conversationId\n ) {\n conversationId\n sessionId\n aiAgentId\n agentVersion\n resolution\n resolutionDefinition\n collectedData\n collectedDataAvailable\n turns\n startedAt\n lastTurnAt\n haltReason\n handoffReason\n agentSummary\n promisedNextStep\n classification {\n state\n status\n classification\n subcategory\n technicalFailure\n eligibleForResolution\n consumesAllowance\n inactivityWindowMs\n definitionVersion\n }\n channelType\n reversibleUntil\n actions {\n toolId\n name\n ok\n result\n at\n }\n contactReason {\n name\n useCaseId\n tag\n other\n source\n }\n analysis {\n analysisVersion\n failed\n failureReason\n sentimentStart\n sentimentEnd\n estimatedSatisfaction\n riskAlerts\n knowledgeGaps\n repeatedInformation\n humanRequests\n contactReason\n contactReasonId\n contactReasonTag\n contactReasonOther\n contactReasonSource\n summary\n agentScore\n agentScoreBand\n agentClarity\n customerEffortScore\n model\n costMicroUsd\n analyzedAt\n }\n }\n}\n ";
|
|
2108
2139
|
export declare const SaveAiAgentUseCaseDocument = "\n mutation saveAiAgentUseCase($input: SaveAiAgentUseCaseInput!) {\n saveAiAgentUseCase(input: $input) {\n ...aiAgentUseCase\n }\n}\n \n fragment aiAgentUseCase on AiAgentUseCase {\n id\n name\n subjectDescription\n procedureId\n tag\n status\n updatedAt\n}\n ";
|
|
2109
|
-
export declare const SaveAiAgentProcedureDocument = "\n mutation saveAiAgentProcedure($input: SaveAiAgentProcedureInput!) {\n saveAiAgentProcedure(input: $input) {\n ...aiAgentProcedure\n }\n}\n \n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n status\n updatedAt\n}\n ";
|
|
2140
|
+
export declare const SaveAiAgentProcedureDocument = "\n mutation saveAiAgentProcedure($input: SaveAiAgentProcedureInput!) {\n saveAiAgentProcedure(input: $input) {\n ...aiAgentProcedure\n }\n}\n \n fragment aiAgentProcedure on AiAgentProcedure {\n id\n name\n guidanceSteps\n toolIds\n contingency\n executionAutonomy\n endsConversationAfterInforming\n continuesAfterApproval\n approvedReplyTemplate\n deniedReplyTemplate\n expiredReplyTemplate\n replyEmailSubject\n objective\n nextStep\n objections {\n objection\n response\n }\n status\n updatedAt\n}\n ";
|
|
2110
2141
|
export declare const RemoveAiAgentUseCaseDocument = "\n mutation removeAiAgentUseCase($input: AiAgentAuthoringRefInput!) {\n removeAiAgentUseCase(input: $input)\n}\n ";
|
|
2111
2142
|
export declare const RemoveAiAgentProcedureDocument = "\n mutation removeAiAgentProcedure($input: AiAgentAuthoringRefInput!) {\n removeAiAgentProcedure(input: $input)\n}\n ";
|
|
2112
2143
|
export declare const RememberAiAgentSessionFactsDocument = "\n mutation rememberAiAgentSessionFacts($input: RememberAiAgentSessionFactsInput!) {\n rememberAiAgentSessionFacts(input: $input)\n}\n ";
|
|
@@ -2114,7 +2145,7 @@ export declare const ListAiAgentApprovalsDocument = "\n query listAiAgentAppr
|
|
|
2114
2145
|
export declare const ListAiAgentApprovalsPageDocument = "\n query listAiAgentApprovalsPage($aiAgentId: ID!, $status: AiAgentApprovalStatus, $limit: Number, $cursor: String) {\n listAiAgentApprovalsPage(\n aiAgentId: $aiAgentId\n status: $status\n limit: $limit\n cursor: $cursor\n ) {\n nodes {\n ...aiAgentApproval\n }\n nextCursor\n }\n}\n \n fragment aiAgentApproval on AiAgentApproval {\n aiAgentId\n sessionId\n toolId\n toolName\n args\n channelId\n customerId\n requestedAt\n expiresAt\n status\n decidedBy\n decidedByName\n decidedAt\n}\n ";
|
|
2115
2146
|
export declare const ResolveAiAgentApprovalDocument = "\n mutation resolveAiAgentApproval($input: ResolveAiAgentApprovalInput!) {\n resolveAiAgentApproval(input: $input)\n}\n ";
|
|
2116
2147
|
export declare const DecideAiAgentApprovalDocument = "\n mutation decideAiAgentApproval($input: ResolveAiAgentApprovalInput!) {\n decideAiAgentApproval(input: $input)\n}\n ";
|
|
2117
|
-
export declare const RegisterAiAgentToolDocument = "\n mutation registerAiAgentTool($input: RegisterAiAgentToolInput!) {\n registerAiAgentTool(input: $input) {\n ...aiAgentTool\n }\n}\n \n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2148
|
+
export declare const RegisterAiAgentToolDocument = "\n mutation registerAiAgentTool($input: RegisterAiAgentToolInput!) {\n registerAiAgentTool(input: $input) {\n ...aiAgentTool\n }\n}\n \n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n approval\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2118
2149
|
export declare const UnregisterAiAgentToolDocument = "\n mutation unregisterAiAgentTool($input: UnregisterAiAgentToolInput!) {\n unregisterAiAgentTool(input: $input)\n}\n ";
|
|
2119
2150
|
export declare const RemoveAiAgentScenarioDocument = "\n mutation removeAiAgentScenario($input: RemoveAiAgentScenarioInput!) {\n removeAiAgentScenario(input: $input)\n}\n ";
|
|
2120
2151
|
export declare const SaveAiAgentScenarioDocument = "\n mutation saveAiAgentScenario($input: SaveAiAgentScenarioInput!) {\n saveAiAgentScenario(input: $input) {\n ...aiAgentScenario\n }\n}\n \n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
@@ -2122,7 +2153,7 @@ export declare const CheckAiAgentVersionDocument = "\n mutation checkAiAgentV
|
|
|
2122
2153
|
export declare const GetAiAgentCheckRunDocument = "\n query getAiAgentCheckRun($aiAgentId: ID!, $runId: ID!) {\n getAiAgentCheckRun(aiAgentId: $aiAgentId, runId: $runId) {\n ...aiAgentCheckRun\n }\n}\n \n fragment aiAgentCheckRun on AiAgentCheckRun {\n runId\n aiAgentId\n version\n status\n requestedAt\n startedAt\n finishedAt\n totalRuns\n completedRuns\n error\n excludedTools {\n ...aiAgentToolExclusion\n }\n result {\n safeToPublish\n authoring {\n useCases\n procedures\n updatedAt\n }\n reports {\n scenarioId\n runs\n cut\n measured\n passed\n rate\n handoffReasons {\n key\n count\n }\n turns {\n turn\n runs\n answered\n grounded\n blocked\n identificationRequired\n toolNames {\n key\n count\n }\n rejectedCalls {\n toolName\n reason\n count\n }\n blockCategories {\n key\n count\n }\n }\n }\n regressions {\n scenarioId\n before\n after\n }\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2123
2154
|
export declare const AiAgentCheckLimitsDocument = "\n query aiAgentCheckLimits($aiAgentId: ID!) {\n aiAgentCheckLimits(aiAgentId: $aiAgentId) {\n minRunsPerScenario\n maxRunsPerScenario\n maxSuiteRuns\n scenarioCount\n }\n}\n ";
|
|
2124
2155
|
export declare const AiAgentMetricsDocument = "\n query aiAgentMetrics($input: AiAgentMetricsInput!) {\n aiAgentMetrics(input: $input) {\n ...aiAgentMetricsReport\n }\n}\n \n fragment aiAgentMetricsReport on AiAgentMetrics {\n aiAgentId\n from\n to\n truncated\n conversations\n conversationsResolved\n conversationsInconclusive\n conversationsHandoffRequested\n resolutionRate\n resolutionDefinition\n classificationBreakdown {\n state\n subcategory\n technicalFailure\n count\n }\n conversationsEligible\n conversationsResolvedByDefinition\n conversationsProvisional\n conversationsAwaitingClassification\n resolvedRate\n unresolvedRate\n handoffProcedureRate\n handoffNeedRate\n qualifiedLeadRate\n offerAcceptedRate\n abandonmentRate\n classificationDefinitionVersion\n classificationDefinitionVersions {\n key\n count\n }\n analyzedConversations\n estimatedSatisfactionAvg\n sentimentAtStart {\n key\n count\n }\n sentimentAtEnd {\n key\n count\n }\n riskAlerts {\n key\n count\n }\n topKnowledgeGaps {\n key\n count\n }\n analysisCostMicroUsd\n failedAnalyses\n analysesTruncated\n agentScoreAvg\n agentScoreAvgBand\n agentScoreBands {\n key\n count\n }\n agentClarityAvg\n customerEffortScoreAvg\n contactReasons {\n all {\n key\n count\n }\n handoff {\n key\n count\n }\n abandonment {\n key\n count\n }\n }\n escalatedToHuman\n escalatedToFlow\n escalatedTargetUndeclared\n handoffsByReason {\n key\n count\n }\n humanRequestedTurns\n costMicroUsd\n costMicroUsdPerResolvedConversation\n unpricedTurns\n inputTokens\n outputTokens\n totalTokens\n cachedInputTokens\n cachedTurns\n llmCalls\n turnsByModel {\n key\n count\n }\n turnsByModelAndReasoningEffort {\n key\n count\n }\n avgTurnDurationMs\n p95TurnDurationMs\n avgLlmLatencyMs\n turns\n answeredTurns\n answeredWithFailedConnectionTurns\n unansweredTurns\n unansweredDefinition\n topTopics {\n key\n count\n }\n topUnansweredQuestions {\n key\n count\n }\n blockedTurns\n blocksByCategory {\n key\n count\n }\n haltedTurns\n haltReasons {\n key\n count\n }\n budgetExceededTurns\n identificationRequiredTurns\n toolCalls\n toolCallsFailed\n toolErrorsByConnection {\n key\n count\n }\n toolErrorsByClass {\n key\n count\n }\n knowledgeRetrieved\n knowledgeEmpty\n knowledgeUnavailable\n knowledgeSkipped\n}\n ";
|
|
2125
|
-
export declare const AiAgentVersionSpecDocument = "\n query aiAgentVersionSpec($aiAgentId: ID!) {\n listAiAgentVersions(aiAgentId: $aiAgentId) {\n ...aiAgentVersionWithSpec\n }\n}\n \n fragment aiAgentVersionWithSpec on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n spec {\n ...aiAgentSpec\n }\n excludedTools {\n ...aiAgentToolExclusion\n }\n}\n \n\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2156
|
+
export declare const AiAgentVersionSpecDocument = "\n query aiAgentVersionSpec($aiAgentId: ID!) {\n listAiAgentVersions(aiAgentId: $aiAgentId) {\n ...aiAgentVersionWithSpec\n }\n}\n \n fragment aiAgentVersionWithSpec on AiAgentVersion {\n aiAgentId\n version\n status\n createdAt\n spec {\n ...aiAgentSpec\n }\n excludedTools {\n ...aiAgentToolExclusion\n }\n}\n \n\n fragment aiAgentSpec on AiAgentSpec {\n identity {\n displayName\n role\n tone\n toneNotes\n openingMessage\n outOfScopeBehaviour\n }\n can\n cannot\n knowledgeBaseIds\n knowledgeFallback\n toolIds\n budget {\n maxSteps\n maxToolCalls\n maxTokens\n maxCostMicroUsd\n maxPeriodCostMicroUsd\n onExceeded\n }\n handoff {\n transition\n target\n toolFailureMessage\n }\n insistence {\n retriesAfterRefusal\n handoffOnRequest\n }\n channels\n conversationTiming {\n channel\n abandonAfterMs\n remindAfterMs\n metaWindowMs\n reminderMessage\n renewalMessage\n }\n typingIndicator\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2126
2157
|
export declare const AiAgentRoutingPreviewDocument = "\n query aiAgentRoutingPreview($input: AiAgentRoutingPreviewInput!) {\n aiAgentRoutingPreview(input: $input) {\n high\n medium\n examples {\n message\n useCaseId\n score\n confidence\n }\n }\n}\n ";
|
|
2127
2158
|
export declare const AiAgentKnowledgeBasesDocument = "\n query aiAgentKnowledgeBases {\n aiAgentKnowledgeBases {\n id\n title\n isPublic\n }\n}\n ";
|
|
2128
2159
|
export declare const ExtractImageMetadataDocument = "\n mutation extractImageMetadata($input: ExtractImageMetadataInput!) {\n extractImageMetadata(input: $input) {\n success\n model\n extractedMetadata\n tokenUsage {\n prompt\n completion\n total\n }\n }\n}\n ";
|
package/src/sdks/ai.js
CHANGED
|
@@ -326,6 +326,7 @@ exports.AiAgentSpecFragmentDoc = `
|
|
|
326
326
|
handoff {
|
|
327
327
|
transition
|
|
328
328
|
target
|
|
329
|
+
toolFailureMessage
|
|
329
330
|
}
|
|
330
331
|
insistence {
|
|
331
332
|
retriesAfterRefusal
|
|
@@ -409,6 +410,12 @@ exports.AiAgentProcedureFragmentDoc = `
|
|
|
409
410
|
deniedReplyTemplate
|
|
410
411
|
expiredReplyTemplate
|
|
411
412
|
replyEmailSubject
|
|
413
|
+
objective
|
|
414
|
+
nextStep
|
|
415
|
+
objections {
|
|
416
|
+
objection
|
|
417
|
+
response
|
|
418
|
+
}
|
|
412
419
|
status
|
|
413
420
|
updatedAt
|
|
414
421
|
}
|
|
@@ -424,6 +431,11 @@ exports.AiAgentToolFragmentDoc = `
|
|
|
424
431
|
onFailure
|
|
425
432
|
emptyResultMessage
|
|
426
433
|
customerScope
|
|
434
|
+
recordOwner {
|
|
435
|
+
listPath
|
|
436
|
+
ownerField
|
|
437
|
+
ownerParameters
|
|
438
|
+
}
|
|
427
439
|
returns
|
|
428
440
|
approval
|
|
429
441
|
parameters {
|
|
@@ -319,6 +319,7 @@ export type Mutation = {
|
|
|
319
319
|
leaveTenantOrganization?: Maybe<Scalars['Void']['output']>;
|
|
320
320
|
migrateZendeskInstanceToOAuth?: Maybe<MigrateZendeskInstanceToOAuthResult>;
|
|
321
321
|
removeAccountParameter?: Maybe<Parameter>;
|
|
322
|
+
removeEnvironmentParameter?: Maybe<Parameter>;
|
|
322
323
|
removeGlobalParameter?: Maybe<Parameter>;
|
|
323
324
|
removeTenant: Tenant;
|
|
324
325
|
removeTenantParameter?: Maybe<Parameter>;
|
|
@@ -326,6 +327,7 @@ export type Mutation = {
|
|
|
326
327
|
retryQueueDlq: RetryQueueDlqResult;
|
|
327
328
|
revertZendeskInstanceMigration?: Maybe<RevertZendeskInstanceMigrationResult>;
|
|
328
329
|
setAccountParameter: Parameter;
|
|
330
|
+
setEnvironmentParameter: Parameter;
|
|
329
331
|
setGlobalParameter: Parameter;
|
|
330
332
|
setTenantParameter: Parameter;
|
|
331
333
|
updateAccount: AwsAccount;
|
|
@@ -365,6 +367,9 @@ export type MutationMigrateZendeskInstanceToOAuthArgs = {
|
|
|
365
367
|
export type MutationRemoveAccountParameterArgs = {
|
|
366
368
|
input: RemoveAccountParameterInput;
|
|
367
369
|
};
|
|
370
|
+
export type MutationRemoveEnvironmentParameterArgs = {
|
|
371
|
+
input: RemoveEnvironmentParameterInput;
|
|
372
|
+
};
|
|
368
373
|
export type MutationRemoveGlobalParameterArgs = {
|
|
369
374
|
input: RemoveGlobalParameterInput;
|
|
370
375
|
};
|
|
@@ -386,6 +391,9 @@ export type MutationRevertZendeskInstanceMigrationArgs = {
|
|
|
386
391
|
export type MutationSetAccountParameterArgs = {
|
|
387
392
|
input: SetAccountParameterInput;
|
|
388
393
|
};
|
|
394
|
+
export type MutationSetEnvironmentParameterArgs = {
|
|
395
|
+
input: SetEnvironmentParameterInput;
|
|
396
|
+
};
|
|
389
397
|
export type MutationSetGlobalParameterArgs = {
|
|
390
398
|
input: SetGlobalParameterInput;
|
|
391
399
|
};
|
|
@@ -426,6 +434,10 @@ export type Parameter = {
|
|
|
426
434
|
type: ParameterType;
|
|
427
435
|
value?: Maybe<Scalars['String']['output']>;
|
|
428
436
|
};
|
|
437
|
+
export declare enum ParameterEnvironment {
|
|
438
|
+
Development = "development",
|
|
439
|
+
Production = "production"
|
|
440
|
+
}
|
|
429
441
|
export declare enum ParameterType {
|
|
430
442
|
Array = "array",
|
|
431
443
|
Boolean = "boolean",
|
|
@@ -439,6 +451,7 @@ export type Query = {
|
|
|
439
451
|
deploymentLogs: DeploymentLogConnection;
|
|
440
452
|
getAccountParameter?: Maybe<Parameter>;
|
|
441
453
|
getDeployment: Deployment;
|
|
454
|
+
getEnvironmentParameter?: Maybe<Parameter>;
|
|
442
455
|
getFederationMetadata: Scalars['String']['output'];
|
|
443
456
|
getGlobalParameter?: Maybe<Parameter>;
|
|
444
457
|
getHttpEndpoint?: Maybe<Scalars['String']['output']>;
|
|
@@ -482,6 +495,10 @@ export type QueryGetDeploymentArgs = {
|
|
|
482
495
|
deploymentId: Scalars['ID']['input'];
|
|
483
496
|
tenantId: Scalars['ID']['input'];
|
|
484
497
|
};
|
|
498
|
+
export type QueryGetEnvironmentParameterArgs = {
|
|
499
|
+
environment: ParameterEnvironment;
|
|
500
|
+
name: Scalars['String']['input'];
|
|
501
|
+
};
|
|
485
502
|
export type QueryGetFederationMetadataArgs = {
|
|
486
503
|
tenantId: Scalars['TenantId']['input'];
|
|
487
504
|
};
|
|
@@ -560,6 +577,10 @@ export type RemoveAccountParameterInput = {
|
|
|
560
577
|
accountId: Scalars['String']['input'];
|
|
561
578
|
name: Scalars['String']['input'];
|
|
562
579
|
};
|
|
580
|
+
export type RemoveEnvironmentParameterInput = {
|
|
581
|
+
environment: ParameterEnvironment;
|
|
582
|
+
name: Scalars['String']['input'];
|
|
583
|
+
};
|
|
563
584
|
export type RemoveGlobalParameterInput = {
|
|
564
585
|
name: Scalars['String']['input'];
|
|
565
586
|
};
|
|
@@ -636,6 +657,12 @@ export type SetAccountParameterInput = {
|
|
|
636
657
|
type?: InputMaybe<ParameterType>;
|
|
637
658
|
value: Scalars['String']['input'];
|
|
638
659
|
};
|
|
660
|
+
export type SetEnvironmentParameterInput = {
|
|
661
|
+
environment: ParameterEnvironment;
|
|
662
|
+
name: Scalars['String']['input'];
|
|
663
|
+
type?: InputMaybe<ParameterType>;
|
|
664
|
+
value: Scalars['String']['input'];
|
|
665
|
+
};
|
|
639
666
|
export type SetGlobalParameterInput = {
|
|
640
667
|
name: Scalars['String']['input'];
|
|
641
668
|
type?: InputMaybe<ParameterType>;
|
|
@@ -879,6 +906,13 @@ export type GetGlobalParameterQueryVariables = Exact<{
|
|
|
879
906
|
export type GetGlobalParameterQuery = {
|
|
880
907
|
getGlobalParameter?: Maybe<ParameterFragment>;
|
|
881
908
|
};
|
|
909
|
+
export type GetEnvironmentParameterQueryVariables = Exact<{
|
|
910
|
+
environment: ParameterEnvironment;
|
|
911
|
+
name: Scalars['String']['input'];
|
|
912
|
+
}>;
|
|
913
|
+
export type GetEnvironmentParameterQuery = {
|
|
914
|
+
getEnvironmentParameter?: Maybe<ParameterFragment>;
|
|
915
|
+
};
|
|
882
916
|
export type SetTenantParameterMutationVariables = Exact<{
|
|
883
917
|
input: SetTenantParameterInput;
|
|
884
918
|
}>;
|
|
@@ -915,6 +949,18 @@ export type RemoveGlobalParameterMutationVariables = Exact<{
|
|
|
915
949
|
export type RemoveGlobalParameterMutation = {
|
|
916
950
|
removeGlobalParameter?: Maybe<ParameterFragment>;
|
|
917
951
|
};
|
|
952
|
+
export type SetEnvironmentParameterMutationVariables = Exact<{
|
|
953
|
+
input: SetEnvironmentParameterInput;
|
|
954
|
+
}>;
|
|
955
|
+
export type SetEnvironmentParameterMutation = {
|
|
956
|
+
setEnvironmentParameter: ParameterFragment;
|
|
957
|
+
};
|
|
958
|
+
export type RemoveEnvironmentParameterMutationVariables = Exact<{
|
|
959
|
+
input: RemoveEnvironmentParameterInput;
|
|
960
|
+
}>;
|
|
961
|
+
export type RemoveEnvironmentParameterMutation = {
|
|
962
|
+
removeEnvironmentParameter?: Maybe<ParameterFragment>;
|
|
963
|
+
};
|
|
918
964
|
export type TenantQueueSummaryFragment = Pick<TenantQueueSummary, 'tenantId' | 'totalVisible' | 'totalInDlq' | 'worstAlarmState'>;
|
|
919
965
|
export type QueueHealthFragment = Pick<QueueHealth, 'tenantId' | 'accountId' | 'queueName' | 'serviceId' | 'isDlq' | 'approximateNumberOfMessages' | 'approximateNumberOfMessagesNotVisible' | 'alarmState'>;
|
|
920
966
|
export type ListQueueHealthSummaryQueryVariables = Exact<{
|
|
@@ -1086,12 +1132,15 @@ export declare const ListAccountParametersDocument = "\n query listAccountPar
|
|
|
1086
1132
|
export declare const GetAccountParameterDocument = "\n query getAccountParameter($accountId: String!, $name: String!) {\n getAccountParameter(accountId: $accountId, name: $name) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1087
1133
|
export declare const ListGlobalParametersDocument = "\n query listGlobalParameters {\n listGlobalParameters {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1088
1134
|
export declare const GetGlobalParameterDocument = "\n query getGlobalParameter($name: String!) {\n getGlobalParameter(name: $name) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1135
|
+
export declare const GetEnvironmentParameterDocument = "\n query getEnvironmentParameter($environment: ParameterEnvironment!, $name: String!) {\n getEnvironmentParameter(environment: $environment, name: $name) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1089
1136
|
export declare const SetTenantParameterDocument = "\n mutation setTenantParameter($input: SetTenantParameterInput!) {\n setTenantParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1090
1137
|
export declare const RemoveTenantParameterDocument = "\n mutation removeTenantParameter($input: RemoveTenantParameterInput!) {\n removeTenantParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1091
1138
|
export declare const SetAccountParameterDocument = "\n mutation setAccountParameter($input: SetAccountParameterInput!) {\n setAccountParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1092
1139
|
export declare const RemoveAccountParameterDocument = "\n mutation removeAccountParameter($input: RemoveAccountParameterInput!) {\n removeAccountParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1093
1140
|
export declare const SetGlobalParameterDocument = "\n mutation setGlobalParameter($input: SetGlobalParameterInput!) {\n setGlobalParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1094
1141
|
export declare const RemoveGlobalParameterDocument = "\n mutation removeGlobalParameter($input: RemoveGlobalParameterInput!) {\n removeGlobalParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1142
|
+
export declare const SetEnvironmentParameterDocument = "\n mutation setEnvironmentParameter($input: SetEnvironmentParameterInput!) {\n setEnvironmentParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1143
|
+
export declare const RemoveEnvironmentParameterDocument = "\n mutation removeEnvironmentParameter($input: RemoveEnvironmentParameterInput!) {\n removeEnvironmentParameter(input: $input) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1095
1144
|
export declare const ListQueueHealthSummaryDocument = "\n query listQueueHealthSummary {\n listQueueHealthSummary {\n ...tenantQueueSummary\n }\n}\n \n fragment tenantQueueSummary on TenantQueueSummary {\n tenantId\n totalVisible\n totalInDlq\n worstAlarmState\n}\n ";
|
|
1096
1145
|
export declare const ListQueueHealthDocument = "\n query listQueueHealth($tenantId: TenantId!) {\n listQueueHealth(tenantId: $tenantId) {\n ...queueHealth\n }\n}\n \n fragment queueHealth on QueueHealth {\n tenantId\n accountId\n queueName\n serviceId\n isDlq\n approximateNumberOfMessages\n approximateNumberOfMessagesNotVisible\n alarmState\n}\n ";
|
|
1097
1146
|
export declare const RetryQueueDlqDocument = "\n mutation retryQueueDlq($input: RetryQueueDlqInput!) {\n retryQueueDlq(input: $input) {\n status\n taskHandle\n }\n}\n ";
|
|
@@ -1139,12 +1188,15 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1139
1188
|
getAccountParameter(variables: GetAccountParameterQueryVariables, options?: C): Promise<GetAccountParameterQuery>;
|
|
1140
1189
|
listGlobalParameters(variables?: ListGlobalParametersQueryVariables, options?: C): Promise<ListGlobalParametersQuery>;
|
|
1141
1190
|
getGlobalParameter(variables: GetGlobalParameterQueryVariables, options?: C): Promise<GetGlobalParameterQuery>;
|
|
1191
|
+
getEnvironmentParameter(variables: GetEnvironmentParameterQueryVariables, options?: C): Promise<GetEnvironmentParameterQuery>;
|
|
1142
1192
|
setTenantParameter(variables: SetTenantParameterMutationVariables, options?: C): Promise<SetTenantParameterMutation>;
|
|
1143
1193
|
removeTenantParameter(variables: RemoveTenantParameterMutationVariables, options?: C): Promise<RemoveTenantParameterMutation>;
|
|
1144
1194
|
setAccountParameter(variables: SetAccountParameterMutationVariables, options?: C): Promise<SetAccountParameterMutation>;
|
|
1145
1195
|
removeAccountParameter(variables: RemoveAccountParameterMutationVariables, options?: C): Promise<RemoveAccountParameterMutation>;
|
|
1146
1196
|
setGlobalParameter(variables: SetGlobalParameterMutationVariables, options?: C): Promise<SetGlobalParameterMutation>;
|
|
1147
1197
|
removeGlobalParameter(variables: RemoveGlobalParameterMutationVariables, options?: C): Promise<RemoveGlobalParameterMutation>;
|
|
1198
|
+
setEnvironmentParameter(variables: SetEnvironmentParameterMutationVariables, options?: C): Promise<SetEnvironmentParameterMutation>;
|
|
1199
|
+
removeEnvironmentParameter(variables: RemoveEnvironmentParameterMutationVariables, options?: C): Promise<RemoveEnvironmentParameterMutation>;
|
|
1148
1200
|
listQueueHealthSummary(variables?: ListQueueHealthSummaryQueryVariables, options?: C): Promise<ListQueueHealthSummaryQuery>;
|
|
1149
1201
|
listQueueHealth(variables: ListQueueHealthQueryVariables, options?: C): Promise<ListQueueHealthQuery>;
|
|
1150
1202
|
retryQueueDlq(variables: RetryQueueDlqMutationVariables, options?: C): Promise<RetryQueueDlqMutation>;
|
package/src/sdks/drozcommons.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.serviceName = exports.RevertZendeskInstanceMigrationDocument = exports.MigrateZendeskInstanceToOAuthDocument = exports.CreateReclameAquiTicketSessionOnTenantDocument = exports.FullReindexBaseDocument = exports.LeaveTenantOrganizationDocument = exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.RemoveTenantTagsDocument = exports.AddTenantTagsDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.GetReclameAquiTicketDetailsDocument = exports.ListZendeskInstancesDocument = exports.ListReclameAquiInstancesDocument = exports.GetZendeskTicketDetailsDocument = exports.SearchSessionsOnTenantDocument = exports.GetFederationMetadataDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.RetryQueueDlqDocument = exports.ListQueueHealthDocument = exports.ListQueueHealthSummaryDocument = exports.RemoveGlobalParameterDocument = void 0;
|
|
4
|
+
exports.SetAccountParameterDocument = exports.RemoveTenantParameterDocument = exports.SetTenantParameterDocument = exports.GetEnvironmentParameterDocument = exports.GetGlobalParameterDocument = exports.ListGlobalParametersDocument = exports.GetAccountParameterDocument = exports.ListAccountParametersDocument = exports.GetTenantParameterDocument = exports.ListTenantParametersDocument = exports.BatchDeployDocument = exports.DestroyDocument = exports.DeployDocument = exports.DeploymentLogsDocument = exports.ListDeploymentsDocument = exports.GetDeploymentDocument = exports.ListGitTagsDocument = exports.ListGitBranchesDocument = exports.ListDrozServicesDocument = exports.ListGitRepositoriesDocument = exports.GetAuthInfoDocument = exports.GetAmplifyConfigDocument = exports.GetMeDocument = exports.UpdateAccountDocument = exports.ListRegionsDocument = exports.ListAccountsDocument = exports.TenantFragmentDoc = exports.ServiceFragmentDoc = exports.QueueHealthFragmentDoc = exports.TenantQueueSummaryFragmentDoc = exports.ParameterFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitTagFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.ZendeskOAuthRevertStatus = exports.ZendeskOAuthMigrationStatus = exports.Typenames = exports.RetryQueueDlqStatus = exports.QueueAlarmState = exports.ParameterType = exports.ParameterEnvironment = exports.IdentityProviderType = exports.IdentityProviderSamlMetadataType = exports.DeploymentStatus = exports.DeploymentCommands = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
|
+
exports.serviceName = exports.RevertZendeskInstanceMigrationDocument = exports.MigrateZendeskInstanceToOAuthDocument = exports.CreateReclameAquiTicketSessionOnTenantDocument = exports.FullReindexBaseDocument = exports.LeaveTenantOrganizationDocument = exports.JoinTenantAsSuperAdminDocument = exports.RemoveTenantDocument = exports.RemoveTenantTagsDocument = exports.AddTenantTagsDocument = exports.UpdateTenantDocument = exports.CreateTenantDocument = exports.GetReclameAquiTicketDetailsDocument = exports.ListZendeskInstancesDocument = exports.ListReclameAquiInstancesDocument = exports.GetZendeskTicketDetailsDocument = exports.SearchSessionsOnTenantDocument = exports.GetFederationMetadataDocument = exports.ListTenantsDocument = exports.GetTenantDocument = exports.ListServicesDocument = exports.RetryQueueDlqDocument = exports.ListQueueHealthDocument = exports.ListQueueHealthSummaryDocument = exports.RemoveEnvironmentParameterDocument = exports.SetEnvironmentParameterDocument = exports.RemoveGlobalParameterDocument = exports.SetGlobalParameterDocument = exports.RemoveAccountParameterDocument = void 0;
|
|
6
6
|
exports.getSdk = getSdk;
|
|
7
7
|
var AppInstanceStatus;
|
|
8
8
|
(function (AppInstanceStatus) {
|
|
@@ -40,6 +40,11 @@ var IdentityProviderType;
|
|
|
40
40
|
IdentityProviderType["Google"] = "Google";
|
|
41
41
|
IdentityProviderType["Saml"] = "SAML";
|
|
42
42
|
})(IdentityProviderType || (exports.IdentityProviderType = IdentityProviderType = {}));
|
|
43
|
+
var ParameterEnvironment;
|
|
44
|
+
(function (ParameterEnvironment) {
|
|
45
|
+
ParameterEnvironment["Development"] = "development";
|
|
46
|
+
ParameterEnvironment["Production"] = "production";
|
|
47
|
+
})(ParameterEnvironment || (exports.ParameterEnvironment = ParameterEnvironment = {}));
|
|
43
48
|
var ParameterType;
|
|
44
49
|
(function (ParameterType) {
|
|
45
50
|
ParameterType["Array"] = "array";
|
|
@@ -375,6 +380,13 @@ exports.GetGlobalParameterDocument = `
|
|
|
375
380
|
}
|
|
376
381
|
}
|
|
377
382
|
${exports.ParameterFragmentDoc}`;
|
|
383
|
+
exports.GetEnvironmentParameterDocument = `
|
|
384
|
+
query getEnvironmentParameter($environment: ParameterEnvironment!, $name: String!) {
|
|
385
|
+
getEnvironmentParameter(environment: $environment, name: $name) {
|
|
386
|
+
...parameter
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
${exports.ParameterFragmentDoc}`;
|
|
378
390
|
exports.SetTenantParameterDocument = `
|
|
379
391
|
mutation setTenantParameter($input: SetTenantParameterInput!) {
|
|
380
392
|
setTenantParameter(input: $input) {
|
|
@@ -417,6 +429,20 @@ exports.RemoveGlobalParameterDocument = `
|
|
|
417
429
|
}
|
|
418
430
|
}
|
|
419
431
|
${exports.ParameterFragmentDoc}`;
|
|
432
|
+
exports.SetEnvironmentParameterDocument = `
|
|
433
|
+
mutation setEnvironmentParameter($input: SetEnvironmentParameterInput!) {
|
|
434
|
+
setEnvironmentParameter(input: $input) {
|
|
435
|
+
...parameter
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
${exports.ParameterFragmentDoc}`;
|
|
439
|
+
exports.RemoveEnvironmentParameterDocument = `
|
|
440
|
+
mutation removeEnvironmentParameter($input: RemoveEnvironmentParameterInput!) {
|
|
441
|
+
removeEnvironmentParameter(input: $input) {
|
|
442
|
+
...parameter
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
${exports.ParameterFragmentDoc}`;
|
|
420
446
|
exports.ListQueueHealthSummaryDocument = `
|
|
421
447
|
query listQueueHealthSummary {
|
|
422
448
|
listQueueHealthSummary {
|
|
@@ -660,6 +686,9 @@ function getSdk(requester) {
|
|
|
660
686
|
getGlobalParameter(variables, options) {
|
|
661
687
|
return requester(exports.GetGlobalParameterDocument, variables, options);
|
|
662
688
|
},
|
|
689
|
+
getEnvironmentParameter(variables, options) {
|
|
690
|
+
return requester(exports.GetEnvironmentParameterDocument, variables, options);
|
|
691
|
+
},
|
|
663
692
|
setTenantParameter(variables, options) {
|
|
664
693
|
return requester(exports.SetTenantParameterDocument, variables, options);
|
|
665
694
|
},
|
|
@@ -678,6 +707,12 @@ function getSdk(requester) {
|
|
|
678
707
|
removeGlobalParameter(variables, options) {
|
|
679
708
|
return requester(exports.RemoveGlobalParameterDocument, variables, options);
|
|
680
709
|
},
|
|
710
|
+
setEnvironmentParameter(variables, options) {
|
|
711
|
+
return requester(exports.SetEnvironmentParameterDocument, variables, options);
|
|
712
|
+
},
|
|
713
|
+
removeEnvironmentParameter(variables, options) {
|
|
714
|
+
return requester(exports.RemoveEnvironmentParameterDocument, variables, options);
|
|
715
|
+
},
|
|
681
716
|
listQueueHealthSummary(variables, options) {
|
|
682
717
|
return requester(exports.ListQueueHealthSummaryDocument, variables, options);
|
|
683
718
|
},
|