@droz-js/sdk 0.26.17 → 0.26.18
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 +22 -0
- package/src/sdks/ai.d.ts +5 -4
- package/src/sdks/ai.js +2 -1
- package/src/sdks/drozcommons.d.ts +148 -0
- package/src/sdks/drozcommons.js +123 -2
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -121,6 +121,28 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
121
121
|
removeEnvironmentParameter(variables: import("./sdks/drozcommons").Exact<{
|
|
122
122
|
input: import("./sdks/drozcommons").RemoveEnvironmentParameterInput;
|
|
123
123
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemoveEnvironmentParameterMutation>;
|
|
124
|
+
listPlatformTexts(variables?: import("./sdks/drozcommons").Exact<{
|
|
125
|
+
[key: string]: never;
|
|
126
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListPlatformTextsQuery>;
|
|
127
|
+
listPlatformTextVersions(variables: import("./sdks/drozcommons").Exact<{
|
|
128
|
+
key: import("./sdks/drozcommons").PlatformTextKey;
|
|
129
|
+
tenantId?: import("./sdks/drozcommons").InputMaybe<import("./sdks/drozcommons").Scalars["String"]["input"]>;
|
|
130
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListPlatformTextVersionsQuery>;
|
|
131
|
+
platformTextPublishImpact(variables: import("./sdks/drozcommons").Exact<{
|
|
132
|
+
key: import("./sdks/drozcommons").PlatformTextKey;
|
|
133
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").PlatformTextPublishImpactQuery>;
|
|
134
|
+
draftPlatformText(variables: import("./sdks/drozcommons").Exact<{
|
|
135
|
+
input: import("./sdks/drozcommons").DraftPlatformTextInput;
|
|
136
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").DraftPlatformTextMutation>;
|
|
137
|
+
publishPlatformTextVersion(variables: import("./sdks/drozcommons").Exact<{
|
|
138
|
+
input: import("./sdks/drozcommons").PlatformTextVersionRefInput;
|
|
139
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").PublishPlatformTextVersionMutation>;
|
|
140
|
+
rollbackPlatformTextVersion(variables: import("./sdks/drozcommons").Exact<{
|
|
141
|
+
input: import("./sdks/drozcommons").PlatformTextVersionRefInput;
|
|
142
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").RollbackPlatformTextVersionMutation>;
|
|
143
|
+
removePlatformTextOverride(variables: import("./sdks/drozcommons").Exact<{
|
|
144
|
+
input: import("./sdks/drozcommons").RemovePlatformTextOverrideInput;
|
|
145
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").RemovePlatformTextOverrideMutation>;
|
|
124
146
|
listQueueHealthSummary(variables?: import("./sdks/drozcommons").Exact<{
|
|
125
147
|
[key: string]: never;
|
|
126
148
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListQueueHealthSummaryQuery>;
|
package/src/sdks/ai.d.ts
CHANGED
|
@@ -956,9 +956,9 @@ export type AiAgentTrace = {
|
|
|
956
956
|
input: Scalars['String']['output'];
|
|
957
957
|
knowledgeOrigins: Array<Scalars['String']['output']>;
|
|
958
958
|
knowledgeQuery?: Maybe<Scalars['String']['output']>;
|
|
959
|
-
masterRuleVersion?: Maybe<Scalars['Int']['output']>;
|
|
960
959
|
model?: Maybe<Scalars['String']['output']>;
|
|
961
960
|
outcome: Scalars['String']['output'];
|
|
961
|
+
platformTextVersions?: Maybe<Scalars['String']['output']>;
|
|
962
962
|
promptBuilderVersion: Scalars['Int']['output'];
|
|
963
963
|
promptFingerprint?: Maybe<Scalars['String']['output']>;
|
|
964
964
|
reasoningEffort?: Maybe<Scalars['String']['output']>;
|
|
@@ -1523,6 +1523,7 @@ export declare enum Typenames {
|
|
|
1523
1523
|
AiAgentEvalReport = "AiAgentEvalReport",
|
|
1524
1524
|
AiAgentExternalTermination = "AiAgentExternalTermination",
|
|
1525
1525
|
AiAgentOpenConversation = "AiAgentOpenConversation",
|
|
1526
|
+
AiAgentPhoneBinding = "AiAgentPhoneBinding",
|
|
1526
1527
|
AiAgentProcedure = "AiAgentProcedure",
|
|
1527
1528
|
AiAgentRetentionPolicy = "AiAgentRetentionPolicy",
|
|
1528
1529
|
AiAgentScenario = "AiAgentScenario",
|
|
@@ -1633,7 +1634,7 @@ export type AiAgentToolFragment = (Pick<AiAgentTool, 'toolId' | 'name' | 'descri
|
|
|
1633
1634
|
confirmation?: Maybe<Pick<AiAgentToolConfirmation, 'summaryField' | 'tokenField' | 'tokenArg'>>;
|
|
1634
1635
|
parameters: Array<Pick<AiAgentToolParameter, 'name' | 'type' | 'required' | 'description' | 'grounding' | 'format'>>;
|
|
1635
1636
|
});
|
|
1636
|
-
export type AiAgentTraceFragment = (Pick<AiAgentTrace, 'sessionId' | 'turn' | 'aiAgentId' | 'agentVersion' | 'input' | 'promptBuilderVersion' | '
|
|
1637
|
+
export type AiAgentTraceFragment = (Pick<AiAgentTrace, 'sessionId' | 'turn' | 'aiAgentId' | 'agentVersion' | 'input' | 'promptBuilderVersion' | 'platformTextVersions' | 'identificationRequired' | 'promptFingerprint' | 'knowledgeOrigins' | 'knowledgeQuery' | 'outcome' | 'haltReason' | 'handoffHeld' | 'unbackedClaim' | 'unbackedClaimKinds' | 'steps' | 'answer' | 'startedAt' | 'model' | 'reasoningEffort'> & {
|
|
1637
1638
|
excludedTools?: Maybe<Array<AiAgentToolExclusionFragment>>;
|
|
1638
1639
|
toolCalls: Array<Pick<AiAgentTracedToolCall, 'toolId' | 'name' | 'result' | 'ok' | 'empty' | 'connection' | 'errorClass' | 'held'>>;
|
|
1639
1640
|
});
|
|
@@ -2001,7 +2002,7 @@ export declare const AiAgentListingMetricsFieldsFragmentDoc = "\n fragment ai
|
|
|
2001
2002
|
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 ";
|
|
2002
2003
|
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 ";
|
|
2003
2004
|
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 ";
|
|
2004
|
-
export declare const AiAgentTraceFragmentDoc = "\n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n aiAgentId\n agentVersion\n input\n promptBuilderVersion\n
|
|
2005
|
+
export declare const AiAgentTraceFragmentDoc = "\n fragment aiAgentTrace on AiAgentTrace {\n sessionId\n turn\n aiAgentId\n agentVersion\n input\n promptBuilderVersion\n platformTextVersions\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 held\n }\n}\n ";
|
|
2005
2006
|
export declare const AiAgentScenarioFragmentDoc = "\n fragment aiAgentScenario on AiAgentScenario {\n scenarioId\n description\n customerId\n turns\n expectations\n}\n ";
|
|
2006
2007
|
export declare const AiAgentDashboardIndicatorFragmentDoc = "\n fragment aiAgentDashboardIndicator on AiAgentDashboardIndicator {\n value\n polarity\n variation {\n unit\n value\n }\n}\n ";
|
|
2007
2008
|
export declare const AiAgentDashboardSentimentFragmentDoc = "\n fragment aiAgentDashboardSentiment on AiAgentDashboardSentiment {\n sentiment\n count\n percent\n polarity\n variation {\n unit\n value\n }\n}\n ";
|
|
@@ -2023,7 +2024,7 @@ export declare const ListAiAgentUseCasesDocument = "\n query listAiAgentUseCa
|
|
|
2023
2024
|
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 ";
|
|
2024
2025
|
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 ";
|
|
2025
2026
|
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 ";
|
|
2026
|
-
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
|
|
2027
|
+
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 platformTextVersions\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 held\n }\n}\n \n\n fragment aiAgentToolExclusion on AiAgentToolExclusion {\n toolId\n reason\n}\n ";
|
|
2027
2028
|
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 ";
|
|
2028
2029
|
export declare const ReindexAiAgentDashboardDocument = "\n mutation reindexAiAgentDashboard($input: ReindexAiAgentDashboardInput!) {\n reindexAiAgentDashboard(input: $input)\n}\n ";
|
|
2029
2030
|
export declare const SetAiAgentRetentionPolicyDocument = "\n mutation setAiAgentRetentionPolicy($input: AiAgentRetentionPolicyInput!) {\n setAiAgentRetentionPolicy(input: $input) {\n days {\n transcript\n session_state\n long_term_memory\n }\n masksPersonalData\n }\n}\n ";
|
package/src/sdks/ai.js
CHANGED
|
@@ -288,6 +288,7 @@ var Typenames;
|
|
|
288
288
|
Typenames["AiAgentEvalReport"] = "AiAgentEvalReport";
|
|
289
289
|
Typenames["AiAgentExternalTermination"] = "AiAgentExternalTermination";
|
|
290
290
|
Typenames["AiAgentOpenConversation"] = "AiAgentOpenConversation";
|
|
291
|
+
Typenames["AiAgentPhoneBinding"] = "AiAgentPhoneBinding";
|
|
291
292
|
Typenames["AiAgentProcedure"] = "AiAgentProcedure";
|
|
292
293
|
Typenames["AiAgentRetentionPolicy"] = "AiAgentRetentionPolicy";
|
|
293
294
|
Typenames["AiAgentScenario"] = "AiAgentScenario";
|
|
@@ -476,7 +477,7 @@ exports.AiAgentTraceFragmentDoc = `
|
|
|
476
477
|
agentVersion
|
|
477
478
|
input
|
|
478
479
|
promptBuilderVersion
|
|
479
|
-
|
|
480
|
+
platformTextVersions
|
|
480
481
|
identificationRequired
|
|
481
482
|
promptFingerprint
|
|
482
483
|
knowledgeOrigins
|
|
@@ -269,6 +269,12 @@ export type DnsRecord = {
|
|
|
269
269
|
name: Scalars['String']['output'];
|
|
270
270
|
value: Scalars['String']['output'];
|
|
271
271
|
};
|
|
272
|
+
export type DraftPlatformTextInput = {
|
|
273
|
+
comment?: InputMaybe<Scalars['String']['input']>;
|
|
274
|
+
key: PlatformTextKey;
|
|
275
|
+
tenantId?: InputMaybe<Scalars['String']['input']>;
|
|
276
|
+
text: Scalars['String']['input'];
|
|
277
|
+
};
|
|
272
278
|
export type DrozService = {
|
|
273
279
|
id: Scalars['String']['output'];
|
|
274
280
|
name: Scalars['String']['output'];
|
|
@@ -377,20 +383,24 @@ export type Mutation = {
|
|
|
377
383
|
createTenant: Tenant;
|
|
378
384
|
deploy: Deployment;
|
|
379
385
|
destroy: Deployment;
|
|
386
|
+
draftPlatformText: PlatformTextVersion;
|
|
380
387
|
fullReindexBase?: Maybe<Scalars['Void']['output']>;
|
|
381
388
|
joinTenantAsSuperAdmin?: Maybe<Scalars['String']['output']>;
|
|
382
389
|
leaveTenantOrganization?: Maybe<Scalars['Void']['output']>;
|
|
383
390
|
migrateZendeskInstanceToOAuth?: Maybe<MigrateZendeskInstanceToOAuthResult>;
|
|
391
|
+
publishPlatformTextVersion: Array<PlatformTextVersion>;
|
|
384
392
|
regenerateTenantCustomDomainCertificate: Tenant;
|
|
385
393
|
removeAccountParameter?: Maybe<Parameter>;
|
|
386
394
|
removeEnvironmentParameter?: Maybe<Parameter>;
|
|
387
395
|
removeGlobalParameter?: Maybe<Parameter>;
|
|
396
|
+
removePlatformTextOverride: Array<PlatformTextVersion>;
|
|
388
397
|
removeTenant: Tenant;
|
|
389
398
|
removeTenantCustomDomain: Tenant;
|
|
390
399
|
removeTenantParameter?: Maybe<Parameter>;
|
|
391
400
|
removeTenantTags: Tenant;
|
|
392
401
|
retryQueueDlq: RetryQueueDlqResult;
|
|
393
402
|
revertZendeskInstanceMigration?: Maybe<RevertZendeskInstanceMigrationResult>;
|
|
403
|
+
rollbackPlatformTextVersion: Array<PlatformTextVersion>;
|
|
394
404
|
setAccountParameter: Parameter;
|
|
395
405
|
setEnvironmentParameter: Parameter;
|
|
396
406
|
setGlobalParameter: Parameter;
|
|
@@ -425,6 +435,9 @@ export type MutationDeployArgs = {
|
|
|
425
435
|
export type MutationDestroyArgs = {
|
|
426
436
|
input: DestroyInput;
|
|
427
437
|
};
|
|
438
|
+
export type MutationDraftPlatformTextArgs = {
|
|
439
|
+
input: DraftPlatformTextInput;
|
|
440
|
+
};
|
|
428
441
|
export type MutationFullReindexBaseArgs = {
|
|
429
442
|
input?: InputMaybe<FullReindexBaseInput>;
|
|
430
443
|
};
|
|
@@ -437,6 +450,9 @@ export type MutationLeaveTenantOrganizationArgs = {
|
|
|
437
450
|
export type MutationMigrateZendeskInstanceToOAuthArgs = {
|
|
438
451
|
input: MigrateZendeskInstanceToOAuthInput;
|
|
439
452
|
};
|
|
453
|
+
export type MutationPublishPlatformTextVersionArgs = {
|
|
454
|
+
input: PlatformTextVersionRefInput;
|
|
455
|
+
};
|
|
440
456
|
export type MutationRegenerateTenantCustomDomainCertificateArgs = {
|
|
441
457
|
input: RegenerateTenantCustomDomainCertificateInput;
|
|
442
458
|
};
|
|
@@ -449,6 +465,9 @@ export type MutationRemoveEnvironmentParameterArgs = {
|
|
|
449
465
|
export type MutationRemoveGlobalParameterArgs = {
|
|
450
466
|
input: RemoveGlobalParameterInput;
|
|
451
467
|
};
|
|
468
|
+
export type MutationRemovePlatformTextOverrideArgs = {
|
|
469
|
+
input: RemovePlatformTextOverrideInput;
|
|
470
|
+
};
|
|
452
471
|
export type MutationRemoveTenantArgs = {
|
|
453
472
|
input: RemoveTenantInput;
|
|
454
473
|
};
|
|
@@ -467,6 +486,9 @@ export type MutationRetryQueueDlqArgs = {
|
|
|
467
486
|
export type MutationRevertZendeskInstanceMigrationArgs = {
|
|
468
487
|
input: RevertZendeskInstanceMigrationInput;
|
|
469
488
|
};
|
|
489
|
+
export type MutationRollbackPlatformTextVersionArgs = {
|
|
490
|
+
input: PlatformTextVersionRefInput;
|
|
491
|
+
};
|
|
470
492
|
export type MutationSetAccountParameterArgs = {
|
|
471
493
|
input: SetAccountParameterInput;
|
|
472
494
|
};
|
|
@@ -529,6 +551,57 @@ export declare enum ParameterType {
|
|
|
529
551
|
Number = "number",
|
|
530
552
|
String = "string"
|
|
531
553
|
}
|
|
554
|
+
export type PlatformText = {
|
|
555
|
+
codeText: Scalars['String']['output'];
|
|
556
|
+
family: PlatformTextFamily;
|
|
557
|
+
key: PlatformTextKey;
|
|
558
|
+
liveVersion?: Maybe<Scalars['Int']['output']>;
|
|
559
|
+
maxChars: Scalars['Int']['output'];
|
|
560
|
+
overrideTenantIds: Array<Scalars['String']['output']>;
|
|
561
|
+
placeholders: Array<Scalars['String']['output']>;
|
|
562
|
+
};
|
|
563
|
+
export declare enum PlatformTextFamily {
|
|
564
|
+
AgentPrompt = "agentPrompt"
|
|
565
|
+
}
|
|
566
|
+
export declare enum PlatformTextKey {
|
|
567
|
+
CampaignHeader = "campaignHeader",
|
|
568
|
+
CannotTransfer = "cannotTransfer",
|
|
569
|
+
CustomerDataRule = "customerDataRule",
|
|
570
|
+
HeldHandoffRule = "heldHandoffRule",
|
|
571
|
+
MasterRule = "masterRule",
|
|
572
|
+
PrecedenceFooter = "precedenceFooter",
|
|
573
|
+
PrecedenceHeader = "precedenceHeader",
|
|
574
|
+
RefusalAcceptRule = "refusalAcceptRule",
|
|
575
|
+
RefusalRetryRule = "refusalRetryRule",
|
|
576
|
+
ReplyLanguageRule = "replyLanguageRule",
|
|
577
|
+
StopMessagesRule = "stopMessagesRule"
|
|
578
|
+
}
|
|
579
|
+
export type PlatformTextPublishImpact = {
|
|
580
|
+
affectedTenants: Scalars['Int']['output'];
|
|
581
|
+
key: PlatformTextKey;
|
|
582
|
+
overriddenTenants: Scalars['Int']['output'];
|
|
583
|
+
};
|
|
584
|
+
export type PlatformTextVersion = {
|
|
585
|
+
comment?: Maybe<Scalars['String']['output']>;
|
|
586
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
587
|
+
key: PlatformTextKey;
|
|
588
|
+
modifiedBy?: Maybe<Scalars['String']['output']>;
|
|
589
|
+
status: PlatformTextVersionStatus;
|
|
590
|
+
tenantId?: Maybe<Scalars['String']['output']>;
|
|
591
|
+
text: Scalars['String']['output'];
|
|
592
|
+
version: Scalars['Int']['output'];
|
|
593
|
+
};
|
|
594
|
+
export type PlatformTextVersionRefInput = {
|
|
595
|
+
key: PlatformTextKey;
|
|
596
|
+
tenantId?: InputMaybe<Scalars['String']['input']>;
|
|
597
|
+
version: Scalars['Int']['input'];
|
|
598
|
+
};
|
|
599
|
+
export declare enum PlatformTextVersionStatus {
|
|
600
|
+
Draft = "draft",
|
|
601
|
+
Live = "live",
|
|
602
|
+
Published = "published",
|
|
603
|
+
Removed = "removed"
|
|
604
|
+
}
|
|
532
605
|
export type Query = {
|
|
533
606
|
amplifyConfig?: Maybe<Scalars['JSON']['output']>;
|
|
534
607
|
app?: Maybe<Scalars['DRN']['output']>;
|
|
@@ -555,6 +628,8 @@ export type Query = {
|
|
|
555
628
|
listGlobalParameters?: Maybe<Array<Parameter>>;
|
|
556
629
|
listLlmModels: Array<LlmModel>;
|
|
557
630
|
listParameterOverrides?: Maybe<Array<Parameter>>;
|
|
631
|
+
listPlatformTextVersions: Array<PlatformTextVersion>;
|
|
632
|
+
listPlatformTexts: Array<PlatformText>;
|
|
558
633
|
listQueueHealth: Array<QueueHealth>;
|
|
559
634
|
listQueueHealthSummary: Array<TenantQueueSummary>;
|
|
560
635
|
listReclameAquiInstances: Array<Maybe<Scalars['JSON']['output']>>;
|
|
@@ -563,6 +638,7 @@ export type Query = {
|
|
|
563
638
|
listTenantParameters?: Maybe<Array<Parameter>>;
|
|
564
639
|
listTenants: Array<Maybe<Tenant>>;
|
|
565
640
|
listZendeskInstances: Array<Maybe<Scalars['JSON']['output']>>;
|
|
641
|
+
platformTextPublishImpact: PlatformTextPublishImpact;
|
|
566
642
|
searchSessionsOnTenant?: Maybe<Scalars['JSON']['output']>;
|
|
567
643
|
version?: Maybe<Scalars['String']['output']>;
|
|
568
644
|
};
|
|
@@ -624,6 +700,10 @@ export type QueryListGitTagsArgs = {
|
|
|
624
700
|
export type QueryListParameterOverridesArgs = {
|
|
625
701
|
name: Scalars['String']['input'];
|
|
626
702
|
};
|
|
703
|
+
export type QueryListPlatformTextVersionsArgs = {
|
|
704
|
+
key: PlatformTextKey;
|
|
705
|
+
tenantId?: InputMaybe<Scalars['String']['input']>;
|
|
706
|
+
};
|
|
627
707
|
export type QueryListQueueHealthArgs = {
|
|
628
708
|
tenantId: Scalars['TenantId']['input'];
|
|
629
709
|
};
|
|
@@ -639,6 +719,9 @@ export type QueryListTenantParametersArgs = {
|
|
|
639
719
|
export type QueryListZendeskInstancesArgs = {
|
|
640
720
|
tenantId: Scalars['TenantId']['input'];
|
|
641
721
|
};
|
|
722
|
+
export type QueryPlatformTextPublishImpactArgs = {
|
|
723
|
+
key: PlatformTextKey;
|
|
724
|
+
};
|
|
642
725
|
export type QuerySearchSessionsOnTenantArgs = {
|
|
643
726
|
q?: InputMaybe<Scalars['String']['input']>;
|
|
644
727
|
tenantId: Scalars['TenantId']['input'];
|
|
@@ -677,6 +760,10 @@ export type RemoveEnvironmentParameterInput = {
|
|
|
677
760
|
export type RemoveGlobalParameterInput = {
|
|
678
761
|
name: Scalars['String']['input'];
|
|
679
762
|
};
|
|
763
|
+
export type RemovePlatformTextOverrideInput = {
|
|
764
|
+
key: PlatformTextKey;
|
|
765
|
+
tenantId: Scalars['String']['input'];
|
|
766
|
+
};
|
|
680
767
|
export type RemoveTenantCustomDomainInput = {
|
|
681
768
|
tenantId: Scalars['TenantId']['input'];
|
|
682
769
|
};
|
|
@@ -1102,6 +1189,51 @@ export type RemoveEnvironmentParameterMutationVariables = Exact<{
|
|
|
1102
1189
|
export type RemoveEnvironmentParameterMutation = {
|
|
1103
1190
|
removeEnvironmentParameter?: Maybe<ParameterFragment>;
|
|
1104
1191
|
};
|
|
1192
|
+
export type PlatformTextFragment = Pick<PlatformText, 'key' | 'family' | 'placeholders' | 'codeText' | 'maxChars' | 'liveVersion' | 'overrideTenantIds'>;
|
|
1193
|
+
export type PlatformTextVersionFragment = Pick<PlatformTextVersion, 'key' | 'tenantId' | 'version' | 'status' | 'text' | 'comment' | 'createdAt' | 'modifiedBy'>;
|
|
1194
|
+
export type ListPlatformTextsQueryVariables = Exact<{
|
|
1195
|
+
[key: string]: never;
|
|
1196
|
+
}>;
|
|
1197
|
+
export type ListPlatformTextsQuery = {
|
|
1198
|
+
listPlatformTexts: Array<PlatformTextFragment>;
|
|
1199
|
+
};
|
|
1200
|
+
export type ListPlatformTextVersionsQueryVariables = Exact<{
|
|
1201
|
+
key: PlatformTextKey;
|
|
1202
|
+
tenantId?: InputMaybe<Scalars['String']['input']>;
|
|
1203
|
+
}>;
|
|
1204
|
+
export type ListPlatformTextVersionsQuery = {
|
|
1205
|
+
listPlatformTextVersions: Array<PlatformTextVersionFragment>;
|
|
1206
|
+
};
|
|
1207
|
+
export type PlatformTextPublishImpactQueryVariables = Exact<{
|
|
1208
|
+
key: PlatformTextKey;
|
|
1209
|
+
}>;
|
|
1210
|
+
export type PlatformTextPublishImpactQuery = {
|
|
1211
|
+
platformTextPublishImpact: Pick<PlatformTextPublishImpact, 'key' | 'affectedTenants' | 'overriddenTenants'>;
|
|
1212
|
+
};
|
|
1213
|
+
export type DraftPlatformTextMutationVariables = Exact<{
|
|
1214
|
+
input: DraftPlatformTextInput;
|
|
1215
|
+
}>;
|
|
1216
|
+
export type DraftPlatformTextMutation = {
|
|
1217
|
+
draftPlatformText: PlatformTextVersionFragment;
|
|
1218
|
+
};
|
|
1219
|
+
export type PublishPlatformTextVersionMutationVariables = Exact<{
|
|
1220
|
+
input: PlatformTextVersionRefInput;
|
|
1221
|
+
}>;
|
|
1222
|
+
export type PublishPlatformTextVersionMutation = {
|
|
1223
|
+
publishPlatformTextVersion: Array<PlatformTextVersionFragment>;
|
|
1224
|
+
};
|
|
1225
|
+
export type RollbackPlatformTextVersionMutationVariables = Exact<{
|
|
1226
|
+
input: PlatformTextVersionRefInput;
|
|
1227
|
+
}>;
|
|
1228
|
+
export type RollbackPlatformTextVersionMutation = {
|
|
1229
|
+
rollbackPlatformTextVersion: Array<PlatformTextVersionFragment>;
|
|
1230
|
+
};
|
|
1231
|
+
export type RemovePlatformTextOverrideMutationVariables = Exact<{
|
|
1232
|
+
input: RemovePlatformTextOverrideInput;
|
|
1233
|
+
}>;
|
|
1234
|
+
export type RemovePlatformTextOverrideMutation = {
|
|
1235
|
+
removePlatformTextOverride: Array<PlatformTextVersionFragment>;
|
|
1236
|
+
};
|
|
1105
1237
|
export type TenantQueueSummaryFragment = Pick<TenantQueueSummary, 'tenantId' | 'totalVisible' | 'totalInDlq' | 'worstAlarmState'>;
|
|
1106
1238
|
export type QueueHealthFragment = Pick<QueueHealth, 'tenantId' | 'accountId' | 'queueName' | 'serviceId' | 'isDlq' | 'approximateNumberOfMessages' | 'approximateNumberOfMessagesNotVisible' | 'alarmState'>;
|
|
1107
1239
|
export type ListQueueHealthSummaryQueryVariables = Exact<{
|
|
@@ -1271,6 +1403,8 @@ export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on
|
|
|
1271
1403
|
export declare const LlmModelPriceFragmentDoc = "\n fragment llmModelPrice on LlmModelPrice {\n effectiveFrom\n inputPerMillion\n cachedInputPerMillion\n outputPerMillion\n}\n ";
|
|
1272
1404
|
export declare const LlmModelFragmentDoc = "\n fragment llmModel on LlmModel {\n provider\n model\n reasoningDevelopment\n reasoningProduction\n prices {\n ...llmModelPrice\n }\n updatedAt\n modifiedBy\n}\n ";
|
|
1273
1405
|
export declare const ParameterFragmentDoc = "\n fragment parameter on Parameter {\n namespace\n name\n value\n type\n}\n ";
|
|
1406
|
+
export declare const PlatformTextFragmentDoc = "\n fragment platformText on PlatformText {\n key\n family\n placeholders\n codeText\n maxChars\n liveVersion\n overrideTenantIds\n}\n ";
|
|
1407
|
+
export declare const PlatformTextVersionFragmentDoc = "\n fragment platformTextVersion on PlatformTextVersion {\n key\n tenantId\n version\n status\n text\n comment\n createdAt\n modifiedBy\n}\n ";
|
|
1274
1408
|
export declare const TenantQueueSummaryFragmentDoc = "\n fragment tenantQueueSummary on TenantQueueSummary {\n tenantId\n totalVisible\n totalInDlq\n worstAlarmState\n}\n ";
|
|
1275
1409
|
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 ";
|
|
1276
1410
|
export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
@@ -1311,6 +1445,13 @@ export declare const SetGlobalParameterDocument = "\n mutation setGlobalParam
|
|
|
1311
1445
|
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 ";
|
|
1312
1446
|
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 ";
|
|
1313
1447
|
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 ";
|
|
1448
|
+
export declare const ListPlatformTextsDocument = "\n query listPlatformTexts {\n listPlatformTexts {\n ...platformText\n }\n}\n \n fragment platformText on PlatformText {\n key\n family\n placeholders\n codeText\n maxChars\n liveVersion\n overrideTenantIds\n}\n ";
|
|
1449
|
+
export declare const ListPlatformTextVersionsDocument = "\n query listPlatformTextVersions($key: PlatformTextKey!, $tenantId: String) {\n listPlatformTextVersions(key: $key, tenantId: $tenantId) {\n ...platformTextVersion\n }\n}\n \n fragment platformTextVersion on PlatformTextVersion {\n key\n tenantId\n version\n status\n text\n comment\n createdAt\n modifiedBy\n}\n ";
|
|
1450
|
+
export declare const PlatformTextPublishImpactDocument = "\n query platformTextPublishImpact($key: PlatformTextKey!) {\n platformTextPublishImpact(key: $key) {\n key\n affectedTenants\n overriddenTenants\n }\n}\n ";
|
|
1451
|
+
export declare const DraftPlatformTextDocument = "\n mutation draftPlatformText($input: DraftPlatformTextInput!) {\n draftPlatformText(input: $input) {\n ...platformTextVersion\n }\n}\n \n fragment platformTextVersion on PlatformTextVersion {\n key\n tenantId\n version\n status\n text\n comment\n createdAt\n modifiedBy\n}\n ";
|
|
1452
|
+
export declare const PublishPlatformTextVersionDocument = "\n mutation publishPlatformTextVersion($input: PlatformTextVersionRefInput!) {\n publishPlatformTextVersion(input: $input) {\n ...platformTextVersion\n }\n}\n \n fragment platformTextVersion on PlatformTextVersion {\n key\n tenantId\n version\n status\n text\n comment\n createdAt\n modifiedBy\n}\n ";
|
|
1453
|
+
export declare const RollbackPlatformTextVersionDocument = "\n mutation rollbackPlatformTextVersion($input: PlatformTextVersionRefInput!) {\n rollbackPlatformTextVersion(input: $input) {\n ...platformTextVersion\n }\n}\n \n fragment platformTextVersion on PlatformTextVersion {\n key\n tenantId\n version\n status\n text\n comment\n createdAt\n modifiedBy\n}\n ";
|
|
1454
|
+
export declare const RemovePlatformTextOverrideDocument = "\n mutation removePlatformTextOverride($input: RemovePlatformTextOverrideInput!) {\n removePlatformTextOverride(input: $input) {\n ...platformTextVersion\n }\n}\n \n fragment platformTextVersion on PlatformTextVersion {\n key\n tenantId\n version\n status\n text\n comment\n createdAt\n modifiedBy\n}\n ";
|
|
1314
1455
|
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 ";
|
|
1315
1456
|
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 ";
|
|
1316
1457
|
export declare const RetryQueueDlqDocument = "\n mutation retryQueueDlq($input: RetryQueueDlqInput!) {\n retryQueueDlq(input: $input) {\n status\n taskHandle\n }\n}\n ";
|
|
@@ -1375,6 +1516,13 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1375
1516
|
removeGlobalParameter(variables: RemoveGlobalParameterMutationVariables, options?: C): Promise<RemoveGlobalParameterMutation>;
|
|
1376
1517
|
setEnvironmentParameter(variables: SetEnvironmentParameterMutationVariables, options?: C): Promise<SetEnvironmentParameterMutation>;
|
|
1377
1518
|
removeEnvironmentParameter(variables: RemoveEnvironmentParameterMutationVariables, options?: C): Promise<RemoveEnvironmentParameterMutation>;
|
|
1519
|
+
listPlatformTexts(variables?: ListPlatformTextsQueryVariables, options?: C): Promise<ListPlatformTextsQuery>;
|
|
1520
|
+
listPlatformTextVersions(variables: ListPlatformTextVersionsQueryVariables, options?: C): Promise<ListPlatformTextVersionsQuery>;
|
|
1521
|
+
platformTextPublishImpact(variables: PlatformTextPublishImpactQueryVariables, options?: C): Promise<PlatformTextPublishImpactQuery>;
|
|
1522
|
+
draftPlatformText(variables: DraftPlatformTextMutationVariables, options?: C): Promise<DraftPlatformTextMutation>;
|
|
1523
|
+
publishPlatformTextVersion(variables: PublishPlatformTextVersionMutationVariables, options?: C): Promise<PublishPlatformTextVersionMutation>;
|
|
1524
|
+
rollbackPlatformTextVersion(variables: RollbackPlatformTextVersionMutationVariables, options?: C): Promise<RollbackPlatformTextVersionMutation>;
|
|
1525
|
+
removePlatformTextOverride(variables: RemovePlatformTextOverrideMutationVariables, options?: C): Promise<RemovePlatformTextOverrideMutation>;
|
|
1378
1526
|
listQueueHealthSummary(variables?: ListQueueHealthSummaryQueryVariables, options?: C): Promise<ListQueueHealthSummaryQuery>;
|
|
1379
1527
|
listQueueHealth(variables: ListQueueHealthQueryVariables, options?: C): Promise<ListQueueHealthQuery>;
|
|
1380
1528
|
retryQueueDlq(variables: RetryQueueDlqMutationVariables, options?: C): Promise<RetryQueueDlqMutation>;
|
package/src/sdks/drozcommons.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
4
|
+
exports.ListLlmModelsDocument = 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.PlatformTextVersionFragmentDoc = exports.PlatformTextFragmentDoc = exports.ParameterFragmentDoc = exports.LlmModelFragmentDoc = exports.LlmModelPriceFragmentDoc = exports.GitRepositoryFragmentDoc = exports.GitTagFragmentDoc = exports.GitBranchFragmentDoc = exports.DeploymentFragmentDoc = exports.AwsAccountFragmentDoc = exports.RegionFragmentDoc = exports.ZendeskOAuthRevertStatus = exports.ZendeskOAuthMigrationStatus = exports.Typenames = exports.RetryQueueDlqStatus = exports.QueueAlarmState = exports.PlatformTextVersionStatus = exports.PlatformTextKey = exports.PlatformTextFamily = exports.ParameterType = exports.ParameterEnvironment = exports.LlmProvider = exports.IdentityProviderType = exports.IdentityProviderSamlMetadataType = exports.DeploymentStatus = exports.DeploymentCommands = exports.CustomDomainStatus = exports.Can = exports.AppInstanceStatus = void 0;
|
|
5
|
+
exports.SetTenantCustomDomainDocument = 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.RemovePlatformTextOverrideDocument = exports.RollbackPlatformTextVersionDocument = exports.PublishPlatformTextVersionDocument = exports.DraftPlatformTextDocument = exports.PlatformTextPublishImpactDocument = exports.ListPlatformTextVersionsDocument = exports.ListPlatformTextsDocument = exports.RemoveEnvironmentParameterDocument = exports.SetEnvironmentParameterDocument = exports.RemoveGlobalParameterDocument = exports.SetGlobalParameterDocument = exports.RemoveAccountParameterDocument = exports.SetAccountParameterDocument = exports.RemoveTenantParameterDocument = exports.SetTenantParameterDocument = exports.ListParameterOverridesDocument = exports.GetEnvironmentParameterDocument = exports.GetGlobalParameterDocument = exports.ListGlobalParametersDocument = exports.GetAccountParameterDocument = exports.ListAccountParametersDocument = exports.GetTenantParameterDocument = exports.ListTenantParametersDocument = exports.AddLlmModelPriceDocument = exports.UpdateLlmModelDocument = exports.CreateLlmModelDocument = void 0;
|
|
6
|
+
exports.serviceName = exports.RemoveTenantCustomDomainDocument = exports.RegenerateTenantCustomDomainCertificateDocument = void 0;
|
|
6
7
|
exports.getSdk = getSdk;
|
|
7
8
|
var AppInstanceStatus;
|
|
8
9
|
(function (AppInstanceStatus) {
|
|
@@ -67,6 +68,31 @@ var ParameterType;
|
|
|
67
68
|
ParameterType["Number"] = "number";
|
|
68
69
|
ParameterType["String"] = "string";
|
|
69
70
|
})(ParameterType || (exports.ParameterType = ParameterType = {}));
|
|
71
|
+
var PlatformTextFamily;
|
|
72
|
+
(function (PlatformTextFamily) {
|
|
73
|
+
PlatformTextFamily["AgentPrompt"] = "agentPrompt";
|
|
74
|
+
})(PlatformTextFamily || (exports.PlatformTextFamily = PlatformTextFamily = {}));
|
|
75
|
+
var PlatformTextKey;
|
|
76
|
+
(function (PlatformTextKey) {
|
|
77
|
+
PlatformTextKey["CampaignHeader"] = "campaignHeader";
|
|
78
|
+
PlatformTextKey["CannotTransfer"] = "cannotTransfer";
|
|
79
|
+
PlatformTextKey["CustomerDataRule"] = "customerDataRule";
|
|
80
|
+
PlatformTextKey["HeldHandoffRule"] = "heldHandoffRule";
|
|
81
|
+
PlatformTextKey["MasterRule"] = "masterRule";
|
|
82
|
+
PlatformTextKey["PrecedenceFooter"] = "precedenceFooter";
|
|
83
|
+
PlatformTextKey["PrecedenceHeader"] = "precedenceHeader";
|
|
84
|
+
PlatformTextKey["RefusalAcceptRule"] = "refusalAcceptRule";
|
|
85
|
+
PlatformTextKey["RefusalRetryRule"] = "refusalRetryRule";
|
|
86
|
+
PlatformTextKey["ReplyLanguageRule"] = "replyLanguageRule";
|
|
87
|
+
PlatformTextKey["StopMessagesRule"] = "stopMessagesRule";
|
|
88
|
+
})(PlatformTextKey || (exports.PlatformTextKey = PlatformTextKey = {}));
|
|
89
|
+
var PlatformTextVersionStatus;
|
|
90
|
+
(function (PlatformTextVersionStatus) {
|
|
91
|
+
PlatformTextVersionStatus["Draft"] = "draft";
|
|
92
|
+
PlatformTextVersionStatus["Live"] = "live";
|
|
93
|
+
PlatformTextVersionStatus["Published"] = "published";
|
|
94
|
+
PlatformTextVersionStatus["Removed"] = "removed";
|
|
95
|
+
})(PlatformTextVersionStatus || (exports.PlatformTextVersionStatus = PlatformTextVersionStatus = {}));
|
|
70
96
|
var QueueAlarmState;
|
|
71
97
|
(function (QueueAlarmState) {
|
|
72
98
|
QueueAlarmState["Alarm"] = "ALARM";
|
|
@@ -187,6 +213,29 @@ exports.ParameterFragmentDoc = `
|
|
|
187
213
|
type
|
|
188
214
|
}
|
|
189
215
|
`;
|
|
216
|
+
exports.PlatformTextFragmentDoc = `
|
|
217
|
+
fragment platformText on PlatformText {
|
|
218
|
+
key
|
|
219
|
+
family
|
|
220
|
+
placeholders
|
|
221
|
+
codeText
|
|
222
|
+
maxChars
|
|
223
|
+
liveVersion
|
|
224
|
+
overrideTenantIds
|
|
225
|
+
}
|
|
226
|
+
`;
|
|
227
|
+
exports.PlatformTextVersionFragmentDoc = `
|
|
228
|
+
fragment platformTextVersion on PlatformTextVersion {
|
|
229
|
+
key
|
|
230
|
+
tenantId
|
|
231
|
+
version
|
|
232
|
+
status
|
|
233
|
+
text
|
|
234
|
+
comment
|
|
235
|
+
createdAt
|
|
236
|
+
modifiedBy
|
|
237
|
+
}
|
|
238
|
+
`;
|
|
190
239
|
exports.TenantQueueSummaryFragmentDoc = `
|
|
191
240
|
fragment tenantQueueSummary on TenantQueueSummary {
|
|
192
241
|
tenantId
|
|
@@ -535,6 +584,57 @@ exports.RemoveEnvironmentParameterDocument = `
|
|
|
535
584
|
}
|
|
536
585
|
}
|
|
537
586
|
${exports.ParameterFragmentDoc}`;
|
|
587
|
+
exports.ListPlatformTextsDocument = `
|
|
588
|
+
query listPlatformTexts {
|
|
589
|
+
listPlatformTexts {
|
|
590
|
+
...platformText
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
${exports.PlatformTextFragmentDoc}`;
|
|
594
|
+
exports.ListPlatformTextVersionsDocument = `
|
|
595
|
+
query listPlatformTextVersions($key: PlatformTextKey!, $tenantId: String) {
|
|
596
|
+
listPlatformTextVersions(key: $key, tenantId: $tenantId) {
|
|
597
|
+
...platformTextVersion
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
${exports.PlatformTextVersionFragmentDoc}`;
|
|
601
|
+
exports.PlatformTextPublishImpactDocument = `
|
|
602
|
+
query platformTextPublishImpact($key: PlatformTextKey!) {
|
|
603
|
+
platformTextPublishImpact(key: $key) {
|
|
604
|
+
key
|
|
605
|
+
affectedTenants
|
|
606
|
+
overriddenTenants
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
`;
|
|
610
|
+
exports.DraftPlatformTextDocument = `
|
|
611
|
+
mutation draftPlatformText($input: DraftPlatformTextInput!) {
|
|
612
|
+
draftPlatformText(input: $input) {
|
|
613
|
+
...platformTextVersion
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
${exports.PlatformTextVersionFragmentDoc}`;
|
|
617
|
+
exports.PublishPlatformTextVersionDocument = `
|
|
618
|
+
mutation publishPlatformTextVersion($input: PlatformTextVersionRefInput!) {
|
|
619
|
+
publishPlatformTextVersion(input: $input) {
|
|
620
|
+
...platformTextVersion
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
${exports.PlatformTextVersionFragmentDoc}`;
|
|
624
|
+
exports.RollbackPlatformTextVersionDocument = `
|
|
625
|
+
mutation rollbackPlatformTextVersion($input: PlatformTextVersionRefInput!) {
|
|
626
|
+
rollbackPlatformTextVersion(input: $input) {
|
|
627
|
+
...platformTextVersion
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
${exports.PlatformTextVersionFragmentDoc}`;
|
|
631
|
+
exports.RemovePlatformTextOverrideDocument = `
|
|
632
|
+
mutation removePlatformTextOverride($input: RemovePlatformTextOverrideInput!) {
|
|
633
|
+
removePlatformTextOverride(input: $input) {
|
|
634
|
+
...platformTextVersion
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
${exports.PlatformTextVersionFragmentDoc}`;
|
|
538
638
|
exports.ListQueueHealthSummaryDocument = `
|
|
539
639
|
query listQueueHealthSummary {
|
|
540
640
|
listQueueHealthSummary {
|
|
@@ -841,6 +941,27 @@ function getSdk(requester) {
|
|
|
841
941
|
removeEnvironmentParameter(variables, options) {
|
|
842
942
|
return requester(exports.RemoveEnvironmentParameterDocument, variables, options);
|
|
843
943
|
},
|
|
944
|
+
listPlatformTexts(variables, options) {
|
|
945
|
+
return requester(exports.ListPlatformTextsDocument, variables, options);
|
|
946
|
+
},
|
|
947
|
+
listPlatformTextVersions(variables, options) {
|
|
948
|
+
return requester(exports.ListPlatformTextVersionsDocument, variables, options);
|
|
949
|
+
},
|
|
950
|
+
platformTextPublishImpact(variables, options) {
|
|
951
|
+
return requester(exports.PlatformTextPublishImpactDocument, variables, options);
|
|
952
|
+
},
|
|
953
|
+
draftPlatformText(variables, options) {
|
|
954
|
+
return requester(exports.DraftPlatformTextDocument, variables, options);
|
|
955
|
+
},
|
|
956
|
+
publishPlatformTextVersion(variables, options) {
|
|
957
|
+
return requester(exports.PublishPlatformTextVersionDocument, variables, options);
|
|
958
|
+
},
|
|
959
|
+
rollbackPlatformTextVersion(variables, options) {
|
|
960
|
+
return requester(exports.RollbackPlatformTextVersionDocument, variables, options);
|
|
961
|
+
},
|
|
962
|
+
removePlatformTextOverride(variables, options) {
|
|
963
|
+
return requester(exports.RemovePlatformTextOverrideDocument, variables, options);
|
|
964
|
+
},
|
|
844
965
|
listQueueHealthSummary(variables, options) {
|
|
845
966
|
return requester(exports.ListQueueHealthSummaryDocument, variables, options);
|
|
846
967
|
},
|