@droz-js/sdk 0.26.5 → 0.26.7
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 +13 -0
- package/src/sdks/ai.d.ts +41 -10
- package/src/sdks/ai.js +12 -0
- package/src/sdks/drozcommons.d.ts +64 -0
- package/src/sdks/drozcommons.js +47 -2
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -78,6 +78,13 @@ 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>;
|
|
85
|
+
listParameterOverrides(variables: import("./sdks/drozcommons").Exact<{
|
|
86
|
+
name: import("./sdks/drozcommons").Scalars["String"]["input"];
|
|
87
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListParameterOverridesQuery>;
|
|
81
88
|
setTenantParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
82
89
|
input: import("./sdks/drozcommons").SetTenantParameterInput;
|
|
83
90
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").SetTenantParameterMutation>;
|
|
@@ -96,6 +103,12 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
96
103
|
removeGlobalParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
97
104
|
input: import("./sdks/drozcommons").RemoveGlobalParameterInput;
|
|
98
105
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveGlobalParameterMutation>;
|
|
106
|
+
setEnvironmentParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
107
|
+
input: import("./sdks/drozcommons").SetEnvironmentParameterInput;
|
|
108
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").SetEnvironmentParameterMutation>;
|
|
109
|
+
removeEnvironmentParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
110
|
+
input: import("./sdks/drozcommons").RemoveEnvironmentParameterInput;
|
|
111
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveEnvironmentParameterMutation>;
|
|
99
112
|
listQueueHealthSummary(variables?: import("./sdks/drozcommons").Exact<{
|
|
100
113
|
[key: string]: never;
|
|
101
114
|
}>, 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']>;
|
|
@@ -455,6 +468,7 @@ export type Query = {
|
|
|
455
468
|
listGitRepositories: Array<GitRepository>;
|
|
456
469
|
listGitTags: Array<GitTag>;
|
|
457
470
|
listGlobalParameters?: Maybe<Array<Parameter>>;
|
|
471
|
+
listParameterOverrides?: Maybe<Array<Parameter>>;
|
|
458
472
|
listQueueHealth: Array<QueueHealth>;
|
|
459
473
|
listQueueHealthSummary: Array<TenantQueueSummary>;
|
|
460
474
|
listReclameAquiInstances: Array<Maybe<Scalars['JSON']['output']>>;
|
|
@@ -482,6 +496,10 @@ export type QueryGetDeploymentArgs = {
|
|
|
482
496
|
deploymentId: Scalars['ID']['input'];
|
|
483
497
|
tenantId: Scalars['ID']['input'];
|
|
484
498
|
};
|
|
499
|
+
export type QueryGetEnvironmentParameterArgs = {
|
|
500
|
+
environment: ParameterEnvironment;
|
|
501
|
+
name: Scalars['String']['input'];
|
|
502
|
+
};
|
|
485
503
|
export type QueryGetFederationMetadataArgs = {
|
|
486
504
|
tenantId: Scalars['TenantId']['input'];
|
|
487
505
|
};
|
|
@@ -517,6 +535,9 @@ export type QueryListGitBranchesArgs = {
|
|
|
517
535
|
export type QueryListGitTagsArgs = {
|
|
518
536
|
gitRepositoryId: Scalars['ID']['input'];
|
|
519
537
|
};
|
|
538
|
+
export type QueryListParameterOverridesArgs = {
|
|
539
|
+
name: Scalars['String']['input'];
|
|
540
|
+
};
|
|
520
541
|
export type QueryListQueueHealthArgs = {
|
|
521
542
|
tenantId: Scalars['TenantId']['input'];
|
|
522
543
|
};
|
|
@@ -560,6 +581,10 @@ export type RemoveAccountParameterInput = {
|
|
|
560
581
|
accountId: Scalars['String']['input'];
|
|
561
582
|
name: Scalars['String']['input'];
|
|
562
583
|
};
|
|
584
|
+
export type RemoveEnvironmentParameterInput = {
|
|
585
|
+
environment: ParameterEnvironment;
|
|
586
|
+
name: Scalars['String']['input'];
|
|
587
|
+
};
|
|
563
588
|
export type RemoveGlobalParameterInput = {
|
|
564
589
|
name: Scalars['String']['input'];
|
|
565
590
|
};
|
|
@@ -636,6 +661,12 @@ export type SetAccountParameterInput = {
|
|
|
636
661
|
type?: InputMaybe<ParameterType>;
|
|
637
662
|
value: Scalars['String']['input'];
|
|
638
663
|
};
|
|
664
|
+
export type SetEnvironmentParameterInput = {
|
|
665
|
+
environment: ParameterEnvironment;
|
|
666
|
+
name: Scalars['String']['input'];
|
|
667
|
+
type?: InputMaybe<ParameterType>;
|
|
668
|
+
value: Scalars['String']['input'];
|
|
669
|
+
};
|
|
639
670
|
export type SetGlobalParameterInput = {
|
|
640
671
|
name: Scalars['String']['input'];
|
|
641
672
|
type?: InputMaybe<ParameterType>;
|
|
@@ -879,6 +910,19 @@ export type GetGlobalParameterQueryVariables = Exact<{
|
|
|
879
910
|
export type GetGlobalParameterQuery = {
|
|
880
911
|
getGlobalParameter?: Maybe<ParameterFragment>;
|
|
881
912
|
};
|
|
913
|
+
export type GetEnvironmentParameterQueryVariables = Exact<{
|
|
914
|
+
environment: ParameterEnvironment;
|
|
915
|
+
name: Scalars['String']['input'];
|
|
916
|
+
}>;
|
|
917
|
+
export type GetEnvironmentParameterQuery = {
|
|
918
|
+
getEnvironmentParameter?: Maybe<ParameterFragment>;
|
|
919
|
+
};
|
|
920
|
+
export type ListParameterOverridesQueryVariables = Exact<{
|
|
921
|
+
name: Scalars['String']['input'];
|
|
922
|
+
}>;
|
|
923
|
+
export type ListParameterOverridesQuery = {
|
|
924
|
+
listParameterOverrides?: Maybe<Array<ParameterFragment>>;
|
|
925
|
+
};
|
|
882
926
|
export type SetTenantParameterMutationVariables = Exact<{
|
|
883
927
|
input: SetTenantParameterInput;
|
|
884
928
|
}>;
|
|
@@ -915,6 +959,18 @@ export type RemoveGlobalParameterMutationVariables = Exact<{
|
|
|
915
959
|
export type RemoveGlobalParameterMutation = {
|
|
916
960
|
removeGlobalParameter?: Maybe<ParameterFragment>;
|
|
917
961
|
};
|
|
962
|
+
export type SetEnvironmentParameterMutationVariables = Exact<{
|
|
963
|
+
input: SetEnvironmentParameterInput;
|
|
964
|
+
}>;
|
|
965
|
+
export type SetEnvironmentParameterMutation = {
|
|
966
|
+
setEnvironmentParameter: ParameterFragment;
|
|
967
|
+
};
|
|
968
|
+
export type RemoveEnvironmentParameterMutationVariables = Exact<{
|
|
969
|
+
input: RemoveEnvironmentParameterInput;
|
|
970
|
+
}>;
|
|
971
|
+
export type RemoveEnvironmentParameterMutation = {
|
|
972
|
+
removeEnvironmentParameter?: Maybe<ParameterFragment>;
|
|
973
|
+
};
|
|
918
974
|
export type TenantQueueSummaryFragment = Pick<TenantQueueSummary, 'tenantId' | 'totalVisible' | 'totalInDlq' | 'worstAlarmState'>;
|
|
919
975
|
export type QueueHealthFragment = Pick<QueueHealth, 'tenantId' | 'accountId' | 'queueName' | 'serviceId' | 'isDlq' | 'approximateNumberOfMessages' | 'approximateNumberOfMessagesNotVisible' | 'alarmState'>;
|
|
920
976
|
export type ListQueueHealthSummaryQueryVariables = Exact<{
|
|
@@ -1086,12 +1142,16 @@ export declare const ListAccountParametersDocument = "\n query listAccountPar
|
|
|
1086
1142
|
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
1143
|
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
1144
|
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 ";
|
|
1145
|
+
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 ";
|
|
1146
|
+
export declare const ListParameterOverridesDocument = "\n query listParameterOverrides($name: String!) {\n listParameterOverrides(name: $name) {\n ...parameter\n }\n}\n \n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1089
1147
|
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
1148
|
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
1149
|
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
1150
|
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
1151
|
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
1152
|
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 ";
|
|
1153
|
+
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 ";
|
|
1154
|
+
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
1155
|
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
1156
|
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
1157
|
export declare const RetryQueueDlqDocument = "\n mutation retryQueueDlq($input: RetryQueueDlqInput!) {\n retryQueueDlq(input: $input) {\n status\n taskHandle\n }\n}\n ";
|
|
@@ -1139,12 +1199,16 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1139
1199
|
getAccountParameter(variables: GetAccountParameterQueryVariables, options?: C): Promise<GetAccountParameterQuery>;
|
|
1140
1200
|
listGlobalParameters(variables?: ListGlobalParametersQueryVariables, options?: C): Promise<ListGlobalParametersQuery>;
|
|
1141
1201
|
getGlobalParameter(variables: GetGlobalParameterQueryVariables, options?: C): Promise<GetGlobalParameterQuery>;
|
|
1202
|
+
getEnvironmentParameter(variables: GetEnvironmentParameterQueryVariables, options?: C): Promise<GetEnvironmentParameterQuery>;
|
|
1203
|
+
listParameterOverrides(variables: ListParameterOverridesQueryVariables, options?: C): Promise<ListParameterOverridesQuery>;
|
|
1142
1204
|
setTenantParameter(variables: SetTenantParameterMutationVariables, options?: C): Promise<SetTenantParameterMutation>;
|
|
1143
1205
|
removeTenantParameter(variables: RemoveTenantParameterMutationVariables, options?: C): Promise<RemoveTenantParameterMutation>;
|
|
1144
1206
|
setAccountParameter(variables: SetAccountParameterMutationVariables, options?: C): Promise<SetAccountParameterMutation>;
|
|
1145
1207
|
removeAccountParameter(variables: RemoveAccountParameterMutationVariables, options?: C): Promise<RemoveAccountParameterMutation>;
|
|
1146
1208
|
setGlobalParameter(variables: SetGlobalParameterMutationVariables, options?: C): Promise<SetGlobalParameterMutation>;
|
|
1147
1209
|
removeGlobalParameter(variables: RemoveGlobalParameterMutationVariables, options?: C): Promise<RemoveGlobalParameterMutation>;
|
|
1210
|
+
setEnvironmentParameter(variables: SetEnvironmentParameterMutationVariables, options?: C): Promise<SetEnvironmentParameterMutation>;
|
|
1211
|
+
removeEnvironmentParameter(variables: RemoveEnvironmentParameterMutationVariables, options?: C): Promise<RemoveEnvironmentParameterMutation>;
|
|
1148
1212
|
listQueueHealthSummary(variables?: ListQueueHealthSummaryQueryVariables, options?: C): Promise<ListQueueHealthSummaryQuery>;
|
|
1149
1213
|
listQueueHealth(variables: ListQueueHealthQueryVariables, options?: C): Promise<ListQueueHealthQuery>;
|
|
1150
1214
|
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.RemoveTenantParameterDocument = exports.SetTenantParameterDocument = exports.ListParameterOverridesDocument = 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 = exports.SetAccountParameterDocument = 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,20 @@ 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}`;
|
|
390
|
+
exports.ListParameterOverridesDocument = `
|
|
391
|
+
query listParameterOverrides($name: String!) {
|
|
392
|
+
listParameterOverrides(name: $name) {
|
|
393
|
+
...parameter
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
${exports.ParameterFragmentDoc}`;
|
|
378
397
|
exports.SetTenantParameterDocument = `
|
|
379
398
|
mutation setTenantParameter($input: SetTenantParameterInput!) {
|
|
380
399
|
setTenantParameter(input: $input) {
|
|
@@ -417,6 +436,20 @@ exports.RemoveGlobalParameterDocument = `
|
|
|
417
436
|
}
|
|
418
437
|
}
|
|
419
438
|
${exports.ParameterFragmentDoc}`;
|
|
439
|
+
exports.SetEnvironmentParameterDocument = `
|
|
440
|
+
mutation setEnvironmentParameter($input: SetEnvironmentParameterInput!) {
|
|
441
|
+
setEnvironmentParameter(input: $input) {
|
|
442
|
+
...parameter
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
${exports.ParameterFragmentDoc}`;
|
|
446
|
+
exports.RemoveEnvironmentParameterDocument = `
|
|
447
|
+
mutation removeEnvironmentParameter($input: RemoveEnvironmentParameterInput!) {
|
|
448
|
+
removeEnvironmentParameter(input: $input) {
|
|
449
|
+
...parameter
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
${exports.ParameterFragmentDoc}`;
|
|
420
453
|
exports.ListQueueHealthSummaryDocument = `
|
|
421
454
|
query listQueueHealthSummary {
|
|
422
455
|
listQueueHealthSummary {
|
|
@@ -660,6 +693,12 @@ function getSdk(requester) {
|
|
|
660
693
|
getGlobalParameter(variables, options) {
|
|
661
694
|
return requester(exports.GetGlobalParameterDocument, variables, options);
|
|
662
695
|
},
|
|
696
|
+
getEnvironmentParameter(variables, options) {
|
|
697
|
+
return requester(exports.GetEnvironmentParameterDocument, variables, options);
|
|
698
|
+
},
|
|
699
|
+
listParameterOverrides(variables, options) {
|
|
700
|
+
return requester(exports.ListParameterOverridesDocument, variables, options);
|
|
701
|
+
},
|
|
663
702
|
setTenantParameter(variables, options) {
|
|
664
703
|
return requester(exports.SetTenantParameterDocument, variables, options);
|
|
665
704
|
},
|
|
@@ -678,6 +717,12 @@ function getSdk(requester) {
|
|
|
678
717
|
removeGlobalParameter(variables, options) {
|
|
679
718
|
return requester(exports.RemoveGlobalParameterDocument, variables, options);
|
|
680
719
|
},
|
|
720
|
+
setEnvironmentParameter(variables, options) {
|
|
721
|
+
return requester(exports.SetEnvironmentParameterDocument, variables, options);
|
|
722
|
+
},
|
|
723
|
+
removeEnvironmentParameter(variables, options) {
|
|
724
|
+
return requester(exports.RemoveEnvironmentParameterDocument, variables, options);
|
|
725
|
+
},
|
|
681
726
|
listQueueHealthSummary(variables, options) {
|
|
682
727
|
return requester(exports.ListQueueHealthSummaryDocument, variables, options);
|
|
683
728
|
},
|