@droz-js/sdk 0.26.11 → 0.26.13
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/drozai.d.ts +3 -0
- package/src/sdks/ai.d.ts +39 -6
- package/src/sdks/ai.js +26 -3
- package/src/sdks/drozbot.d.ts +1 -0
- package/src/sdks/drozcommons.d.ts +14 -13
- package/src/sdks/drozcommons.js +1 -0
package/package.json
CHANGED
package/src/drozai.d.ts
CHANGED
|
@@ -124,6 +124,9 @@ declare const DrozAi_base: new (options?: import("./client/http").HttpClientOpti
|
|
|
124
124
|
aiAgentId: import("./sdks/ai").Scalars["ID"]["input"];
|
|
125
125
|
runId: import("./sdks/ai").Scalars["ID"]["input"];
|
|
126
126
|
}>, options?: unknown): Promise<import("./sdks/ai").GetAiAgentCheckRunQuery>;
|
|
127
|
+
aiAgentAuthoringRules(variables?: import("./sdks/ai").Exact<{
|
|
128
|
+
[key: string]: never;
|
|
129
|
+
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentAuthoringRulesQuery>;
|
|
127
130
|
aiAgentCheckLimits(variables: import("./sdks/ai").Exact<{
|
|
128
131
|
aiAgentId: import("./sdks/ai").Scalars["ID"]["input"];
|
|
129
132
|
}>, options?: unknown): Promise<import("./sdks/ai").AiAgentCheckLimitsQuery>;
|
package/src/sdks/ai.d.ts
CHANGED
|
@@ -178,6 +178,10 @@ export type AiAgentAuthoringRefInput = {
|
|
|
178
178
|
aiAgentId: Scalars['ID']['input'];
|
|
179
179
|
id: Scalars['ID']['input'];
|
|
180
180
|
};
|
|
181
|
+
export type AiAgentAuthoringRules = {
|
|
182
|
+
knowledgeFallbacks: Array<AiAgentKnowledgeFallback>;
|
|
183
|
+
maxAuthoredFieldLength: Scalars['Int']['output'];
|
|
184
|
+
};
|
|
181
185
|
export type AiAgentBudget = {
|
|
182
186
|
maxCostMicroUsd?: Maybe<Scalars['Int']['output']>;
|
|
183
187
|
maxPeriodCostMicroUsd?: Maybe<Scalars['Int']['output']>;
|
|
@@ -626,6 +630,10 @@ export type AiAgentKnowledgeBase = {
|
|
|
626
630
|
isPublic: Scalars['Boolean']['output'];
|
|
627
631
|
title: Scalars['String']['output'];
|
|
628
632
|
};
|
|
633
|
+
export declare enum AiAgentKnowledgeFallback {
|
|
634
|
+
GeneralKnowledge = "general_knowledge",
|
|
635
|
+
InformLimitation = "inform_limitation"
|
|
636
|
+
}
|
|
629
637
|
export type AiAgentListingMetrics = {
|
|
630
638
|
aiAgentId: Scalars['ID']['output'];
|
|
631
639
|
conversations: Scalars['Number']['output'];
|
|
@@ -813,7 +821,7 @@ export type AiAgentSpec = {
|
|
|
813
821
|
identity: AiAgentIdentity;
|
|
814
822
|
insistence?: Maybe<AiAgentInsistence>;
|
|
815
823
|
knowledgeBaseIds: Array<Scalars['ID']['output']>;
|
|
816
|
-
knowledgeFallback?: Maybe<
|
|
824
|
+
knowledgeFallback?: Maybe<AiAgentKnowledgeFallback>;
|
|
817
825
|
toolIds: Array<Scalars['ID']['output']>;
|
|
818
826
|
typingIndicator: Scalars['Boolean']['output'];
|
|
819
827
|
};
|
|
@@ -829,7 +837,7 @@ export type AiAgentSpecInput = {
|
|
|
829
837
|
identity: AiAgentIdentityInput;
|
|
830
838
|
insistence?: InputMaybe<AiAgentInsistenceInput>;
|
|
831
839
|
knowledgeBaseIds: Array<Scalars['ID']['input']>;
|
|
832
|
-
knowledgeFallback?: InputMaybe<
|
|
840
|
+
knowledgeFallback?: InputMaybe<AiAgentKnowledgeFallback>;
|
|
833
841
|
toolIds: Array<Scalars['ID']['input']>;
|
|
834
842
|
typingIndicator?: InputMaybe<Scalars['Boolean']['input']>;
|
|
835
843
|
};
|
|
@@ -855,6 +863,8 @@ export type AiAgentTool = {
|
|
|
855
863
|
approval?: Maybe<Scalars['String']['output']>;
|
|
856
864
|
approvalMode?: Maybe<ToolApprovalMode>;
|
|
857
865
|
availability: ToolAvailability;
|
|
866
|
+
concludedWhen?: Maybe<Scalars['JSON']['output']>;
|
|
867
|
+
confirmation?: Maybe<AiAgentToolConfirmation>;
|
|
858
868
|
customerScope?: Maybe<Scalars['String']['output']>;
|
|
859
869
|
deliverAsIs?: Maybe<Array<Scalars['String']['output']>>;
|
|
860
870
|
description: Scalars['String']['output'];
|
|
@@ -868,6 +878,16 @@ export type AiAgentTool = {
|
|
|
868
878
|
returns: Array<Scalars['String']['output']>;
|
|
869
879
|
toolId: Scalars['ID']['output'];
|
|
870
880
|
};
|
|
881
|
+
export type AiAgentToolConfirmation = {
|
|
882
|
+
summaryField: Scalars['String']['output'];
|
|
883
|
+
tokenArg: Scalars['String']['output'];
|
|
884
|
+
tokenField: Scalars['String']['output'];
|
|
885
|
+
};
|
|
886
|
+
export type AiAgentToolConfirmationInput = {
|
|
887
|
+
summaryField: Scalars['String']['input'];
|
|
888
|
+
tokenArg: Scalars['String']['input'];
|
|
889
|
+
tokenField: Scalars['String']['input'];
|
|
890
|
+
};
|
|
871
891
|
export type AiAgentToolExclusion = {
|
|
872
892
|
reason: Scalars['String']['output'];
|
|
873
893
|
toolId: Scalars['ID']['output'];
|
|
@@ -904,6 +924,8 @@ export type AiAgentToolSpecInput = {
|
|
|
904
924
|
approval?: InputMaybe<Scalars['String']['input']>;
|
|
905
925
|
approvalMode?: InputMaybe<ToolApprovalMode>;
|
|
906
926
|
availability: ToolAvailability;
|
|
927
|
+
concludedWhen?: InputMaybe<Scalars['JSON']['input']>;
|
|
928
|
+
confirmation?: InputMaybe<AiAgentToolConfirmationInput>;
|
|
907
929
|
credentialRef?: InputMaybe<CredentialRefInput>;
|
|
908
930
|
customerScope?: InputMaybe<Scalars['String']['input']>;
|
|
909
931
|
deliverAsIs?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -1221,6 +1243,7 @@ export type QnAInstance = {
|
|
|
1221
1243
|
updatedAt: Scalars['DateTime']['output'];
|
|
1222
1244
|
};
|
|
1223
1245
|
export type Query = {
|
|
1246
|
+
aiAgentAuthoringRules: AiAgentAuthoringRules;
|
|
1224
1247
|
aiAgentCheckLimits: AiAgentCheckLimits;
|
|
1225
1248
|
aiAgentConversationMetrics: AiAgentConversationMetricsPage;
|
|
1226
1249
|
aiAgentConversationOutcome?: Maybe<AiAgentConversationOutcome>;
|
|
@@ -1463,6 +1486,7 @@ export declare enum TonePreset {
|
|
|
1463
1486
|
}
|
|
1464
1487
|
export declare enum ToolApprovalMode {
|
|
1465
1488
|
Automatic = "automatic",
|
|
1489
|
+
Customer = "customer",
|
|
1466
1490
|
Human = "human"
|
|
1467
1491
|
}
|
|
1468
1492
|
export declare enum ToolAvailability {
|
|
@@ -1601,8 +1625,9 @@ export type AiAgentUseCaseFragment = Pick<AiAgentUseCase, 'id' | 'name' | 'subje
|
|
|
1601
1625
|
export type AiAgentProcedureFragment = (Pick<AiAgentProcedure, 'id' | 'name' | 'guidanceSteps' | 'toolIds' | 'contingency' | 'executionAutonomy' | 'endsConversationAfterInforming' | 'continuesAfterApproval' | 'approvedReplyTemplate' | 'deniedReplyTemplate' | 'expiredReplyTemplate' | 'replyEmailSubject' | 'objective' | 'nextStep' | 'status' | 'updatedAt'> & {
|
|
1602
1626
|
objections: Array<Pick<AiAgentObjection, 'objection' | 'response'>>;
|
|
1603
1627
|
});
|
|
1604
|
-
export type AiAgentToolFragment = (Pick<AiAgentTool, 'toolId' | 'name' | 'description' | 'effect' | 'availability' | 'requiresAuthenticatedCustomer' | 'onFailure' | 'emptyResultMessage' | 'customerScope' | 'returns' | 'deliverAsIs' | 'approvalMode'> & {
|
|
1628
|
+
export type AiAgentToolFragment = (Pick<AiAgentTool, 'toolId' | 'name' | 'description' | 'effect' | 'availability' | 'requiresAuthenticatedCustomer' | 'onFailure' | 'concludedWhen' | 'emptyResultMessage' | 'customerScope' | 'returns' | 'deliverAsIs' | 'approvalMode'> & {
|
|
1605
1629
|
recordOwner?: Maybe<Pick<AiAgentToolRecordOwner, 'listPath' | 'ownerField' | 'ownerParameters'>>;
|
|
1630
|
+
confirmation?: Maybe<Pick<AiAgentToolConfirmation, 'summaryField' | 'tokenField' | 'tokenArg'>>;
|
|
1606
1631
|
parameters: Array<Pick<AiAgentToolParameter, 'name' | 'type' | 'required' | 'description' | 'grounding' | 'format'>>;
|
|
1607
1632
|
});
|
|
1608
1633
|
export type AiAgentTraceFragment = (Pick<AiAgentTrace, 'sessionId' | 'turn' | 'aiAgentId' | 'agentVersion' | 'input' | 'promptBuilderVersion' | 'masterRuleVersion' | 'identificationRequired' | 'promptFingerprint' | 'knowledgeOrigins' | 'knowledgeQuery' | 'outcome' | 'haltReason' | 'handoffHeld' | 'unbackedClaim' | 'unbackedClaimKinds' | 'steps' | 'answer' | 'startedAt' | 'model' | 'reasoningEffort'> & {
|
|
@@ -1842,6 +1867,12 @@ export type GetAiAgentCheckRunQueryVariables = Exact<{
|
|
|
1842
1867
|
export type GetAiAgentCheckRunQuery = {
|
|
1843
1868
|
getAiAgentCheckRun?: Maybe<AiAgentCheckRunFragment>;
|
|
1844
1869
|
};
|
|
1870
|
+
export type AiAgentAuthoringRulesQueryVariables = Exact<{
|
|
1871
|
+
[key: string]: never;
|
|
1872
|
+
}>;
|
|
1873
|
+
export type AiAgentAuthoringRulesQuery = {
|
|
1874
|
+
aiAgentAuthoringRules: Pick<AiAgentAuthoringRules, 'maxAuthoredFieldLength' | 'knowledgeFallbacks'>;
|
|
1875
|
+
};
|
|
1845
1876
|
export type AiAgentCheckLimitsQueryVariables = Exact<{
|
|
1846
1877
|
aiAgentId: Scalars['ID']['input'];
|
|
1847
1878
|
}>;
|
|
@@ -1965,7 +1996,7 @@ export declare const AiAgentVersionWithSpecFragmentDoc = "\n fragment aiAgent
|
|
|
1965
1996
|
export declare const AiAgentListingMetricsFieldsFragmentDoc = "\n fragment aiAgentListingMetricsFields on AiAgentListingMetrics {\n aiAgentId\n conversations\n conversationsResolved\n conversationsHandoffRequested\n resolutionRate\n resolvedRate\n costMicroUsd\n}\n ";
|
|
1966
1997
|
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 ";
|
|
1967
1998
|
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 ";
|
|
1968
|
-
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 deliverAsIs\n approvalMode\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
1999
|
+
export declare const AiAgentToolFragmentDoc = "\n fragment aiAgentTool on AiAgentTool {\n toolId\n name\n description\n effect\n availability\n requiresAuthenticatedCustomer\n onFailure\n concludedWhen\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n deliverAsIs\n approvalMode\n confirmation {\n summaryField\n tokenField\n tokenArg\n }\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
1969
2000
|
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 unbackedClaim\n unbackedClaimKinds\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 ";
|
|
1970
2001
|
export declare const AiAgentScenarioFragmentDoc = "\n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
1971
2002
|
export declare const AiAgentDashboardIndicatorFragmentDoc = "\n fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {\n value\n polarity\n variation {\n unit\n value\n }\n}\n ";
|
|
@@ -1986,7 +2017,7 @@ export declare const RemoveAiAgentVersionDocument = "\n mutation removeAiAgen
|
|
|
1986
2017
|
export declare const RemoveAiAgentDocument = "\n mutation removeAiAgent($input: AiAgentRefInput!) {\n removeAiAgent(input: $input)\n}\n ";
|
|
1987
2018
|
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 ";
|
|
1988
2019
|
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 ";
|
|
1989
|
-
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 deliverAsIs\n approvalMode\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2020
|
+
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 concludedWhen\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n deliverAsIs\n approvalMode\n confirmation {\n summaryField\n tokenField\n tokenArg\n }\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
1990
2021
|
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 ";
|
|
1991
2022
|
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 unbackedClaim\n unbackedClaimKinds\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 ";
|
|
1992
2023
|
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 ";
|
|
@@ -2006,12 +2037,13 @@ export declare const ListAiAgentApprovalsDocument = "\n query listAiAgentAppr
|
|
|
2006
2037
|
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 ";
|
|
2007
2038
|
export declare const ResolveAiAgentApprovalDocument = "\n mutation resolveAiAgentApproval($input: ResolveAiAgentApprovalInput!) {\n resolveAiAgentApproval(input: $input)\n}\n ";
|
|
2008
2039
|
export declare const DecideAiAgentApprovalDocument = "\n mutation decideAiAgentApproval($input: ResolveAiAgentApprovalInput!) {\n decideAiAgentApproval(input: $input)\n}\n ";
|
|
2009
|
-
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 deliverAsIs\n approvalMode\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2040
|
+
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 concludedWhen\n emptyResultMessage\n customerScope\n recordOwner {\n listPath\n ownerField\n ownerParameters\n }\n returns\n deliverAsIs\n approvalMode\n confirmation {\n summaryField\n tokenField\n tokenArg\n }\n parameters {\n name\n type\n required\n description\n grounding\n format\n }\n}\n ";
|
|
2010
2041
|
export declare const UnregisterAiAgentToolDocument = "\n mutation unregisterAiAgentTool($input: UnregisterAiAgentToolInput!) {\n unregisterAiAgentTool(input: $input)\n}\n ";
|
|
2011
2042
|
export declare const RemoveAiAgentScenarioDocument = "\n mutation removeAiAgentScenario($input: RemoveAiAgentScenarioInput!) {\n removeAiAgentScenario(input: $input)\n}\n ";
|
|
2012
2043
|
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 ";
|
|
2013
2044
|
export declare const CheckAiAgentVersionDocument = "\n mutation checkAiAgentVersion($input: CheckAiAgentVersionInput!) {\n checkAiAgentVersion(input: $input) {\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 ";
|
|
2014
2045
|
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 ";
|
|
2046
|
+
export declare const AiAgentAuthoringRulesDocument = "\n query aiAgentAuthoringRules {\n aiAgentAuthoringRules {\n maxAuthoredFieldLength\n knowledgeFallbacks\n }\n}\n ";
|
|
2015
2047
|
export declare const AiAgentCheckLimitsDocument = "\n query aiAgentCheckLimits($aiAgentId: ID!) {\n aiAgentCheckLimits(aiAgentId: $aiAgentId) {\n minRunsPerScenario\n maxRunsPerScenario\n maxSuiteRuns\n scenarioCount\n }\n}\n ";
|
|
2016
2048
|
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 ";
|
|
2017
2049
|
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 ";
|
|
@@ -2068,6 +2100,7 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
2068
2100
|
saveAiAgentScenario(variables: SaveAiAgentScenarioMutationVariables, options?: C): Promise<SaveAiAgentScenarioMutation>;
|
|
2069
2101
|
checkAiAgentVersion(variables: CheckAiAgentVersionMutationVariables, options?: C): Promise<CheckAiAgentVersionMutation>;
|
|
2070
2102
|
getAiAgentCheckRun(variables: GetAiAgentCheckRunQueryVariables, options?: C): Promise<GetAiAgentCheckRunQuery>;
|
|
2103
|
+
aiAgentAuthoringRules(variables?: AiAgentAuthoringRulesQueryVariables, options?: C): Promise<AiAgentAuthoringRulesQuery>;
|
|
2071
2104
|
aiAgentCheckLimits(variables: AiAgentCheckLimitsQueryVariables, options?: C): Promise<AiAgentCheckLimitsQuery>;
|
|
2072
2105
|
aiAgentVersionSpec(variables: AiAgentVersionSpecQueryVariables, options?: C): Promise<AiAgentVersionSpecQuery>;
|
|
2073
2106
|
aiAgentRoutingPreview(variables: AiAgentRoutingPreviewQueryVariables, options?: C): Promise<AiAgentRoutingPreviewQuery>;
|
package/src/sdks/ai.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = exports.GetQnAInstanceDocument = exports.TestNlpInstanceDocument = exports.RemoveNlpInstanceDocument = exports.UpdateNlpInstanceDocument = void 0;
|
|
4
|
+
exports.AiAgentDashboardIndicatorFragmentDoc = exports.AiAgentScenarioFragmentDoc = exports.AiAgentTraceFragmentDoc = exports.AiAgentToolFragmentDoc = exports.AiAgentProcedureFragmentDoc = exports.AiAgentUseCaseFragmentDoc = exports.AiAgentListingMetricsFieldsFragmentDoc = exports.AiAgentVersionWithSpecFragmentDoc = exports.AiAgentToolExclusionFragmentDoc = exports.AiAgentSpecFragmentDoc = exports.AiAgentVersionFragmentDoc = exports.AiAgentSummaryFragmentDoc = exports.Typenames = exports.ToolParameterType = exports.ToolParameterFormat = exports.ToolEffect = exports.ToolAvailability = exports.ToolApprovalMode = exports.TonePreset = exports.ParameterGrounding = exports.Can = exports.BudgetExceededAction = exports.AppInstanceStatus = exports.AiAgentVersionStatus = exports.AiAgentVariationUnit = exports.AiAgentUnbackedClaimAction = exports.AiAgentTechnicalFailure = exports.AiAgentSortDirection = exports.AiAgentSentiment = exports.AiAgentScoreBand = exports.AiAgentRiskAlert = exports.AiAgentMetricsBucket = exports.AiAgentMetricPolarity = exports.AiAgentKnowledgeFallback = exports.AiAgentHandoffReason = exports.AiAgentFrequencyLevel = exports.AiAgentExecutionAutonomy = exports.AiAgentConversationSubcategory = exports.AiAgentConversationStatus = exports.AiAgentConversationState = exports.AiAgentConversationSortField = exports.AiAgentConversationClass = exports.AiAgentContactReasonSource = exports.AiAgentCheckRunStatus = exports.AiAgentChannelType = exports.AiAgentApprovalStatus = exports.AiAgentApprovalOutcome = exports.AiAgentApprovalDecision = exports.AiAgentAnalysisFailureReason = exports.AiAgentActionClaim = void 0;
|
|
5
|
+
exports.GetNlpInstanceDocument = exports.ExtractImageMetadataDocument = exports.AiAgentKnowledgeBasesDocument = exports.AiAgentRoutingPreviewDocument = exports.AiAgentVersionSpecDocument = exports.AiAgentCheckLimitsDocument = exports.AiAgentAuthoringRulesDocument = exports.GetAiAgentCheckRunDocument = exports.CheckAiAgentVersionDocument = exports.SaveAiAgentScenarioDocument = exports.RemoveAiAgentScenarioDocument = exports.UnregisterAiAgentToolDocument = exports.RegisterAiAgentToolDocument = exports.DecideAiAgentApprovalDocument = exports.ResolveAiAgentApprovalDocument = exports.ListAiAgentApprovalsPageDocument = exports.ListAiAgentApprovalsDocument = exports.RememberAiAgentSessionFactsDocument = exports.RemoveAiAgentProcedureDocument = exports.RemoveAiAgentUseCaseDocument = exports.SaveAiAgentProcedureDocument = exports.SaveAiAgentUseCaseDocument = exports.AiAgentConversationOutcomeDocument = exports.AiAgentDashboardDocument = exports.AiAgentMetricsSeriesDocument = exports.AiAgentConversationMetricsDocument = exports.AiAgentRetentionPolicyDocument = exports.SetAiAgentRetentionPolicyDocument = exports.ReindexAiAgentDashboardDocument = exports.ListAiAgentScenariosDocument = exports.AiAgentTraceDocument = exports.AiAgentUseCaseOverlapDocument = exports.ListAiAgentToolsDocument = exports.ListAiAgentProceduresDocument = exports.ListAiAgentUseCasesDocument = exports.RemoveAiAgentDocument = exports.RemoveAiAgentVersionDocument = exports.RollbackAiAgentVersionDocument = exports.UnpublishAiAgentVersionDocument = exports.PublishAiAgentVersionDocument = exports.DraftAiAgentDocument = exports.AiAgentListingMetricsDocument = exports.ListAiAgentVersionsDocument = exports.ListAiAgentsDocument = exports.QnaFragmentFragmentDoc = exports.NlpInstanceFragmentDoc = exports.AiAgentCheckRunFragmentDoc = exports.AiAgentApprovalFragmentDoc = exports.AiAgentDashboardContactReasonFragmentDoc = exports.AiAgentDashboardSentimentFragmentDoc = void 0;
|
|
6
|
+
exports.serviceName = exports.RemoveQnAInstanceDocument = exports.UpdateQnAInstanceDocument = exports.CreateQnAInstanceDocument = exports.TestQnAInstanceDocument = exports.ListQnAInstancesDocument = exports.GetQnAInstanceDocument = exports.TestNlpInstanceDocument = exports.RemoveNlpInstanceDocument = exports.UpdateNlpInstanceDocument = exports.CreateNlpInstanceDocument = exports.ListNlpInstancesDocument = void 0;
|
|
7
7
|
exports.getSdk = getSdk;
|
|
8
8
|
var AiAgentActionClaim;
|
|
9
9
|
(function (AiAgentActionClaim) {
|
|
@@ -148,6 +148,11 @@ var AiAgentHandoffReason;
|
|
|
148
148
|
AiAgentHandoffReason["Undeclared"] = "undeclared";
|
|
149
149
|
AiAgentHandoffReason["Unresolved"] = "unresolved";
|
|
150
150
|
})(AiAgentHandoffReason || (exports.AiAgentHandoffReason = AiAgentHandoffReason = {}));
|
|
151
|
+
var AiAgentKnowledgeFallback;
|
|
152
|
+
(function (AiAgentKnowledgeFallback) {
|
|
153
|
+
AiAgentKnowledgeFallback["GeneralKnowledge"] = "general_knowledge";
|
|
154
|
+
AiAgentKnowledgeFallback["InformLimitation"] = "inform_limitation";
|
|
155
|
+
})(AiAgentKnowledgeFallback || (exports.AiAgentKnowledgeFallback = AiAgentKnowledgeFallback = {}));
|
|
151
156
|
var AiAgentMetricPolarity;
|
|
152
157
|
(function (AiAgentMetricPolarity) {
|
|
153
158
|
AiAgentMetricPolarity["HigherIsBetter"] = "HIGHER_IS_BETTER";
|
|
@@ -244,6 +249,7 @@ var TonePreset;
|
|
|
244
249
|
var ToolApprovalMode;
|
|
245
250
|
(function (ToolApprovalMode) {
|
|
246
251
|
ToolApprovalMode["Automatic"] = "automatic";
|
|
252
|
+
ToolApprovalMode["Customer"] = "customer";
|
|
247
253
|
ToolApprovalMode["Human"] = "human";
|
|
248
254
|
})(ToolApprovalMode || (exports.ToolApprovalMode = ToolApprovalMode = {}));
|
|
249
255
|
var ToolAvailability;
|
|
@@ -436,6 +442,7 @@ exports.AiAgentToolFragmentDoc = `
|
|
|
436
442
|
availability
|
|
437
443
|
requiresAuthenticatedCustomer
|
|
438
444
|
onFailure
|
|
445
|
+
concludedWhen
|
|
439
446
|
emptyResultMessage
|
|
440
447
|
customerScope
|
|
441
448
|
recordOwner {
|
|
@@ -446,6 +453,11 @@ exports.AiAgentToolFragmentDoc = `
|
|
|
446
453
|
returns
|
|
447
454
|
deliverAsIs
|
|
448
455
|
approvalMode
|
|
456
|
+
confirmation {
|
|
457
|
+
summaryField
|
|
458
|
+
tokenField
|
|
459
|
+
tokenArg
|
|
460
|
+
}
|
|
449
461
|
parameters {
|
|
450
462
|
name
|
|
451
463
|
type
|
|
@@ -1134,6 +1146,14 @@ exports.GetAiAgentCheckRunDocument = `
|
|
|
1134
1146
|
}
|
|
1135
1147
|
${exports.AiAgentCheckRunFragmentDoc}
|
|
1136
1148
|
${exports.AiAgentToolExclusionFragmentDoc}`;
|
|
1149
|
+
exports.AiAgentAuthoringRulesDocument = `
|
|
1150
|
+
query aiAgentAuthoringRules {
|
|
1151
|
+
aiAgentAuthoringRules {
|
|
1152
|
+
maxAuthoredFieldLength
|
|
1153
|
+
knowledgeFallbacks
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
`;
|
|
1137
1157
|
exports.AiAgentCheckLimitsDocument = `
|
|
1138
1158
|
query aiAgentCheckLimits($aiAgentId: ID!) {
|
|
1139
1159
|
aiAgentCheckLimits(aiAgentId: $aiAgentId) {
|
|
@@ -1394,6 +1414,9 @@ function getSdk(requester) {
|
|
|
1394
1414
|
getAiAgentCheckRun(variables, options) {
|
|
1395
1415
|
return requester(exports.GetAiAgentCheckRunDocument, variables, options);
|
|
1396
1416
|
},
|
|
1417
|
+
aiAgentAuthoringRules(variables, options) {
|
|
1418
|
+
return requester(exports.AiAgentAuthoringRulesDocument, variables, options);
|
|
1419
|
+
},
|
|
1397
1420
|
aiAgentCheckLimits(variables, options) {
|
|
1398
1421
|
return requester(exports.AiAgentCheckLimitsDocument, variables, options);
|
|
1399
1422
|
},
|
package/src/sdks/drozbot.d.ts
CHANGED
|
@@ -231,6 +231,7 @@ export type CreateDrozBotTicketInput = {
|
|
|
231
231
|
channel?: InputMaybe<ConversationChannelKind>;
|
|
232
232
|
collectedFacts?: InputMaybe<Scalars['JSON']['input']>;
|
|
233
233
|
comment?: InputMaybe<Scalars['String']['input']>;
|
|
234
|
+
customerMessage?: InputMaybe<Scalars['String']['input']>;
|
|
234
235
|
/** Destino da conversa quando o agente passa para uma pessoa: DRN da instância que recebe (fila do Droz Chat, Zendesk, Salesforce...). Ausente: a sessão encerra. */
|
|
235
236
|
handoffDrn?: InputMaybe<Scalars['DRN']['input']>;
|
|
236
237
|
instanceId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -180,7 +180,7 @@ export type CognitoConfig = {
|
|
|
180
180
|
};
|
|
181
181
|
export type CreateLlmModelInput = {
|
|
182
182
|
model: Scalars['String']['input'];
|
|
183
|
-
price
|
|
183
|
+
price: LlmModelPriceInput;
|
|
184
184
|
provider: LlmProvider;
|
|
185
185
|
reasoningDevelopment: Scalars['Boolean']['input'];
|
|
186
186
|
reasoningProduction: Scalars['Boolean']['input'];
|
|
@@ -200,6 +200,7 @@ export type CreateTenantInput = {
|
|
|
200
200
|
export type CustomDomain = {
|
|
201
201
|
activatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
202
202
|
certificateArn?: Maybe<Scalars['String']['output']>;
|
|
203
|
+
certificateExpiresAt?: Maybe<Scalars['DateTime']['output']>;
|
|
203
204
|
host: Scalars['String']['output'];
|
|
204
205
|
issuedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
205
206
|
requestedAt: Scalars['DateTime']['output'];
|
|
@@ -1130,7 +1131,7 @@ export type ListServicesQuery = {
|
|
|
1130
1131
|
export type TenantFragment = (Pick<Tenant, 'accountId' | 'tenantId' | 'name' | 'deployedVersions' | 'disabled' | 'createdAt' | 'updatedAt' | 'tags'> & {
|
|
1131
1132
|
account: Pick<AwsAccount, 'id' | 'name'>;
|
|
1132
1133
|
identityProviders: Array<Pick<IdentityProvider, 'type' | 'name' | 'metadataType' | 'metadataContent' | 'attributeMapping'>>;
|
|
1133
|
-
customDomain?: Maybe<(Pick<CustomDomain, 'host' | 'status' | 'certificateArn' | 'requestedAt' | 'issuedAt' | 'activatedAt'> & {
|
|
1134
|
+
customDomain?: Maybe<(Pick<CustomDomain, 'host' | 'status' | 'certificateArn' | 'requestedAt' | 'issuedAt' | 'activatedAt' | 'certificateExpiresAt'> & {
|
|
1134
1135
|
validationRecord?: Maybe<Pick<DnsRecord, 'name' | 'value'>>;
|
|
1135
1136
|
trafficRecord?: Maybe<Pick<DnsRecord, 'name' | 'value'>>;
|
|
1136
1137
|
})>;
|
|
@@ -1272,7 +1273,7 @@ export declare const ParameterFragmentDoc = "\n fragment parameter on Paramet
|
|
|
1272
1273
|
export declare const TenantQueueSummaryFragmentDoc = "\n fragment tenantQueueSummary on TenantQueueSummary {\n tenantId\n totalVisible\n totalInDlq\n worstAlarmState\n}\n ";
|
|
1273
1274
|
export declare const QueueHealthFragmentDoc = "\n fragment queueHealth on QueueHealth {\n tenantId\n accountId\n queueName\n serviceId\n isDlq\n approximateNumberOfMessages\n approximateNumberOfMessagesNotVisible\n alarmState\n}\n ";
|
|
1274
1275
|
export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
1275
|
-
export declare const TenantFragmentDoc = "\n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n ";
|
|
1276
|
+
export declare const TenantFragmentDoc = "\n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n ";
|
|
1276
1277
|
export declare const ListAccountsDocument = "\n query listAccounts {\n listAccounts {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n}\n \n\n fragment region on Region {\n name\n}\n ";
|
|
1277
1278
|
export declare const ListRegionsDocument = "\n query listRegions {\n listRegions {\n ...region\n }\n}\n \n fragment region on Region {\n name\n}\n ";
|
|
1278
1279
|
export declare const UpdateAccountDocument = "\n mutation updateAccount($input: UpdateAccountInput!) {\n updateAccount(input: $input) {\n ...awsAccount\n }\n}\n \n fragment awsAccount on AwsAccount {\n id\n name\n tenantsCount\n availableRegions {\n ...region\n }\n}\n \n\n fragment region on Region {\n name\n}\n ";
|
|
@@ -1313,28 +1314,28 @@ export declare const ListQueueHealthSummaryDocument = "\n query listQueueHeal
|
|
|
1313
1314
|
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 ";
|
|
1314
1315
|
export declare const RetryQueueDlqDocument = "\n mutation retryQueueDlq($input: RetryQueueDlqInput!) {\n retryQueueDlq(input: $input) {\n status\n taskHandle\n }\n}\n ";
|
|
1315
1316
|
export declare const ListServicesDocument = "\n query listServices($tenantId: ID!) {\n listServices(tenantId: $tenantId) {\n ...service\n }\n}\n \n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
1316
|
-
export declare const GetTenantDocument = "\n query getTenant($tenantId: TenantId!, $withServices: Boolean = true, $withDeployments: Boolean = true) {\n getTenant(tenantId: $tenantId) {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n services\n deployedVersion\n createdAt\n updatedAt\n agent {\n id\n name\n }\n}\n ";
|
|
1317
|
-
export declare const ListTenantsDocument = "\n query listTenants($withServices: Boolean = false, $withDeployments: Boolean = false) {\n listTenants {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n services\n deployedVersion\n createdAt\n updatedAt\n agent {\n id\n name\n }\n}\n ";
|
|
1317
|
+
export declare const GetTenantDocument = "\n query getTenant($tenantId: TenantId!, $withServices: Boolean = true, $withDeployments: Boolean = true) {\n getTenant(tenantId: $tenantId) {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n services\n deployedVersion\n createdAt\n updatedAt\n agent {\n id\n name\n }\n}\n ";
|
|
1318
|
+
export declare const ListTenantsDocument = "\n query listTenants($withServices: Boolean = false, $withDeployments: Boolean = false) {\n listTenants {\n ...tenant\n services @include(if: $withServices) {\n ...service\n }\n deployments @include(if: $withDeployments) {\n ...deployment\n }\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n \n\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n \n\n fragment deployment on Deployment {\n id\n tenantId\n command\n gitRepository\n branch\n status\n message\n services\n deployedVersion\n createdAt\n updatedAt\n agent {\n id\n name\n }\n}\n ";
|
|
1318
1319
|
export declare const GetFederationMetadataDocument = "\n query getFederationMetadata($tenantId: TenantId!) {\n getFederationMetadata(tenantId: $tenantId)\n}\n ";
|
|
1319
1320
|
export declare const SearchSessionsOnTenantDocument = "\n query searchSessionsOnTenant($tenantId: TenantId!, $q: String) {\n searchSessionsOnTenant(tenantId: $tenantId, q: $q)\n}\n ";
|
|
1320
1321
|
export declare const GetZendeskTicketDetailsDocument = "\n query getZendeskTicketDetails($tenantId: TenantId!, $ticketId: String!) {\n getZendeskTicketDetails(tenantId: $tenantId, ticketId: $ticketId)\n}\n ";
|
|
1321
1322
|
export declare const ListReclameAquiInstancesDocument = "\n query listReclameAquiInstances($tenantId: TenantId!) {\n listReclameAquiInstances(tenantId: $tenantId)\n}\n ";
|
|
1322
1323
|
export declare const ListZendeskInstancesDocument = "\n query listZendeskInstances($tenantId: TenantId!) {\n listZendeskInstances(tenantId: $tenantId)\n}\n ";
|
|
1323
1324
|
export declare const GetReclameAquiTicketDetailsDocument = "\n query getReclameAquiTicketDetails($tenantId: TenantId!, $instanceId: String!, $ticketId: String!) {\n getReclameAquiTicketDetails(\n tenantId: $tenantId\n instanceId: $instanceId\n ticketId: $ticketId\n )\n}\n ";
|
|
1324
|
-
export declare const CreateTenantDocument = "\n mutation createTenant($input: CreateTenantInput!) {\n createTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n ";
|
|
1325
|
-
export declare const UpdateTenantDocument = "\n mutation updateTenant($input: UpdateTenantInput!) {\n updateTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n ";
|
|
1326
|
-
export declare const AddTenantTagsDocument = "\n mutation addTenantTags($input: AddTenantTagsInput!) {\n addTenantTags(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n ";
|
|
1327
|
-
export declare const RemoveTenantTagsDocument = "\n mutation removeTenantTags($input: RemoveTenantTagsInput!) {\n removeTenantTags(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n ";
|
|
1328
|
-
export declare const RemoveTenantDocument = "\n mutation removeTenant($input: RemoveTenantInput!) {\n removeTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n ";
|
|
1325
|
+
export declare const CreateTenantDocument = "\n mutation createTenant($input: CreateTenantInput!) {\n createTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n ";
|
|
1326
|
+
export declare const UpdateTenantDocument = "\n mutation updateTenant($input: UpdateTenantInput!) {\n updateTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n ";
|
|
1327
|
+
export declare const AddTenantTagsDocument = "\n mutation addTenantTags($input: AddTenantTagsInput!) {\n addTenantTags(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n ";
|
|
1328
|
+
export declare const RemoveTenantTagsDocument = "\n mutation removeTenantTags($input: RemoveTenantTagsInput!) {\n removeTenantTags(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n ";
|
|
1329
|
+
export declare const RemoveTenantDocument = "\n mutation removeTenant($input: RemoveTenantInput!) {\n removeTenant(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n ";
|
|
1329
1330
|
export declare const JoinTenantAsSuperAdminDocument = "\n mutation joinTenantAsSuperAdmin($input: JoinTenantAsSuperAdminInput!) {\n joinTenantAsSuperAdmin(input: $input)\n}\n ";
|
|
1330
1331
|
export declare const LeaveTenantOrganizationDocument = "\n mutation leaveTenantOrganization($input: LeaveTenantOrganizationInput!) {\n leaveTenantOrganization(input: $input)\n}\n ";
|
|
1331
1332
|
export declare const FullReindexBaseDocument = "\n mutation fullReindexBase($input: FullReindexBaseInput) {\n fullReindexBase(input: $input)\n}\n ";
|
|
1332
1333
|
export declare const CreateReclameAquiTicketSessionOnTenantDocument = "\n mutation createReclameAquiTicketSessionOnTenant($input: CreateReclameAquiTicketSessionOnTenantInput!) {\n createReclameAquiTicketSessionOnTenant(input: $input)\n}\n ";
|
|
1333
1334
|
export declare const MigrateZendeskInstanceToOAuthDocument = "\n mutation migrateZendeskInstanceToOAuth($input: MigrateZendeskInstanceToOAuthInput!) {\n migrateZendeskInstanceToOAuth(input: $input) {\n tenantId\n instanceId\n status\n credentialType\n ownerGroupCount\n previousCredentialId\n newCredentialId\n oauthClientId\n }\n}\n ";
|
|
1334
1335
|
export declare const RevertZendeskInstanceMigrationDocument = "\n mutation revertZendeskInstanceMigration($input: RevertZendeskInstanceMigrationInput!) {\n revertZendeskInstanceMigration(input: $input) {\n tenantId\n instanceId\n status\n currentCredentialId\n restoredCredentialId\n oauthCredentialId\n clientRevokedInZendesk\n }\n}\n ";
|
|
1335
|
-
export declare const SetTenantCustomDomainDocument = "\n mutation setTenantCustomDomain($input: SetTenantCustomDomainInput!) {\n setTenantCustomDomain(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n ";
|
|
1336
|
-
export declare const RegenerateTenantCustomDomainCertificateDocument = "\n mutation regenerateTenantCustomDomainCertificate($input: RegenerateTenantCustomDomainCertificateInput!) {\n regenerateTenantCustomDomainCertificate(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n ";
|
|
1337
|
-
export declare const RemoveTenantCustomDomainDocument = "\n mutation removeTenantCustomDomain($input: RemoveTenantCustomDomainInput!) {\n removeTenantCustomDomain(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n }\n}\n ";
|
|
1336
|
+
export declare const SetTenantCustomDomainDocument = "\n mutation setTenantCustomDomain($input: SetTenantCustomDomainInput!) {\n setTenantCustomDomain(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n ";
|
|
1337
|
+
export declare const RegenerateTenantCustomDomainCertificateDocument = "\n mutation regenerateTenantCustomDomainCertificate($input: RegenerateTenantCustomDomainCertificateInput!) {\n regenerateTenantCustomDomainCertificate(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n ";
|
|
1338
|
+
export declare const RemoveTenantCustomDomainDocument = "\n mutation removeTenantCustomDomain($input: RemoveTenantCustomDomainInput!) {\n removeTenantCustomDomain(input: $input) {\n ...tenant\n }\n}\n \n fragment tenant on Tenant {\n accountId\n tenantId\n name\n deployedVersions\n disabled\n createdAt\n updatedAt\n tags\n account {\n id\n name\n }\n identityProviders {\n type\n name\n metadataType\n metadataContent\n attributeMapping\n }\n customDomain {\n host\n status\n certificateArn\n validationRecord {\n name\n value\n }\n trafficRecord {\n name\n value\n }\n requestedAt\n issuedAt\n activatedAt\n certificateExpiresAt\n }\n}\n ";
|
|
1338
1339
|
export type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | AsyncIterableIterator<R>;
|
|
1339
1340
|
export declare function getSdk<C>(requester: Requester<C>): {
|
|
1340
1341
|
listAccounts(variables?: ListAccountsQueryVariables, options?: C): Promise<ListAccountsQuery>;
|