@droz-js/sdk 0.26.19 → 0.26.20
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 +6 -3
- package/src/sdks/drozcommons.d.ts +54 -26
- package/src/sdks/drozcommons.js +31 -8
package/package.json
CHANGED
package/src/drozadmin.d.ts
CHANGED
|
@@ -140,9 +140,12 @@ declare const DrozAdmin_base: new (options?: import("./client/http").HttpClientO
|
|
|
140
140
|
rollbackPlatformTextVersion(variables: import("./sdks/drozcommons").Exact<{
|
|
141
141
|
input: import("./sdks/drozcommons").PlatformTextVersionRefInput;
|
|
142
142
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").RollbackPlatformTextVersionMutation>;
|
|
143
|
-
|
|
144
|
-
input: import("./sdks/drozcommons").
|
|
145
|
-
}>, options?: unknown): Promise<import("./sdks/drozcommons").
|
|
143
|
+
discardPlatformTextDraft(variables: import("./sdks/drozcommons").Exact<{
|
|
144
|
+
input: import("./sdks/drozcommons").PlatformTextVersionRefInput;
|
|
145
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").DiscardPlatformTextDraftMutation>;
|
|
146
|
+
unpublishPlatformText(variables: import("./sdks/drozcommons").Exact<{
|
|
147
|
+
input: import("./sdks/drozcommons").PlatformTextScopeInput;
|
|
148
|
+
}>, options?: unknown): Promise<import("./sdks/drozcommons").UnpublishPlatformTextMutation>;
|
|
146
149
|
listQueueHealthSummary(variables?: import("./sdks/drozcommons").Exact<{
|
|
147
150
|
[key: string]: never;
|
|
148
151
|
}>, options?: unknown): Promise<import("./sdks/drozcommons").ListQueueHealthSummaryQuery>;
|
|
@@ -383,6 +383,7 @@ export type Mutation = {
|
|
|
383
383
|
createTenant: Tenant;
|
|
384
384
|
deploy: Deployment;
|
|
385
385
|
destroy: Deployment;
|
|
386
|
+
discardPlatformTextDraft: Array<PlatformTextVersion>;
|
|
386
387
|
draftPlatformText: PlatformTextVersion;
|
|
387
388
|
fullReindexBase?: Maybe<Scalars['Void']['output']>;
|
|
388
389
|
joinTenantAsSuperAdmin?: Maybe<Scalars['String']['output']>;
|
|
@@ -393,7 +394,6 @@ export type Mutation = {
|
|
|
393
394
|
removeAccountParameter?: Maybe<Parameter>;
|
|
394
395
|
removeEnvironmentParameter?: Maybe<Parameter>;
|
|
395
396
|
removeGlobalParameter?: Maybe<Parameter>;
|
|
396
|
-
removePlatformTextOverride: Array<PlatformTextVersion>;
|
|
397
397
|
removeTenant: Tenant;
|
|
398
398
|
removeTenantCustomDomain: Tenant;
|
|
399
399
|
removeTenantParameter?: Maybe<Parameter>;
|
|
@@ -406,6 +406,7 @@ export type Mutation = {
|
|
|
406
406
|
setGlobalParameter: Parameter;
|
|
407
407
|
setTenantCustomDomain: Tenant;
|
|
408
408
|
setTenantParameter: Parameter;
|
|
409
|
+
unpublishPlatformText: Array<PlatformTextVersion>;
|
|
409
410
|
updateAccount: AwsAccount;
|
|
410
411
|
updateLlmModel: LlmModel;
|
|
411
412
|
updateTenant: Tenant;
|
|
@@ -435,6 +436,9 @@ export type MutationDeployArgs = {
|
|
|
435
436
|
export type MutationDestroyArgs = {
|
|
436
437
|
input: DestroyInput;
|
|
437
438
|
};
|
|
439
|
+
export type MutationDiscardPlatformTextDraftArgs = {
|
|
440
|
+
input: PlatformTextVersionRefInput;
|
|
441
|
+
};
|
|
438
442
|
export type MutationDraftPlatformTextArgs = {
|
|
439
443
|
input: DraftPlatformTextInput;
|
|
440
444
|
};
|
|
@@ -465,9 +469,6 @@ export type MutationRemoveEnvironmentParameterArgs = {
|
|
|
465
469
|
export type MutationRemoveGlobalParameterArgs = {
|
|
466
470
|
input: RemoveGlobalParameterInput;
|
|
467
471
|
};
|
|
468
|
-
export type MutationRemovePlatformTextOverrideArgs = {
|
|
469
|
-
input: RemovePlatformTextOverrideInput;
|
|
470
|
-
};
|
|
471
472
|
export type MutationRemoveTenantArgs = {
|
|
472
473
|
input: RemoveTenantInput;
|
|
473
474
|
};
|
|
@@ -504,6 +505,9 @@ export type MutationSetTenantCustomDomainArgs = {
|
|
|
504
505
|
export type MutationSetTenantParameterArgs = {
|
|
505
506
|
input: SetTenantParameterInput;
|
|
506
507
|
};
|
|
508
|
+
export type MutationUnpublishPlatformTextArgs = {
|
|
509
|
+
input: PlatformTextScopeInput;
|
|
510
|
+
};
|
|
507
511
|
export type MutationUpdateAccountArgs = {
|
|
508
512
|
input: UpdateAccountInput;
|
|
509
513
|
};
|
|
@@ -557,31 +561,49 @@ export type PlatformText = {
|
|
|
557
561
|
key: PlatformTextKey;
|
|
558
562
|
liveVersion?: Maybe<Scalars['Int']['output']>;
|
|
559
563
|
maxChars: Scalars['Int']['output'];
|
|
560
|
-
|
|
564
|
+
overrides: Array<PlatformTextTenantOverride>;
|
|
561
565
|
placeholders: Array<Scalars['String']['output']>;
|
|
562
566
|
};
|
|
563
567
|
export declare enum PlatformTextFamily {
|
|
564
|
-
AgentPrompt = "agentPrompt"
|
|
568
|
+
AgentPrompt = "agentPrompt",
|
|
569
|
+
SignalQuestion = "signalQuestion"
|
|
565
570
|
}
|
|
566
571
|
export declare enum PlatformTextKey {
|
|
567
572
|
CampaignHeader = "campaignHeader",
|
|
568
573
|
CannotTransfer = "cannotTransfer",
|
|
574
|
+
ClosureDeclaredQuestion = "closureDeclaredQuestion",
|
|
575
|
+
ClosureOutcomeQuestion = "closureOutcomeQuestion",
|
|
569
576
|
CustomerDataRule = "customerDataRule",
|
|
570
577
|
HeldHandoffRule = "heldHandoffRule",
|
|
578
|
+
HumanRequestedQuestion = "humanRequestedQuestion",
|
|
571
579
|
MasterRule = "masterRule",
|
|
580
|
+
NegativeFeedbackQuestion = "negativeFeedbackQuestion",
|
|
581
|
+
NegativeSentimentQuestion = "negativeSentimentQuestion",
|
|
572
582
|
PrecedenceFooter = "precedenceFooter",
|
|
573
583
|
PrecedenceHeader = "precedenceHeader",
|
|
584
|
+
PromptInjectionQuestion = "promptInjectionQuestion",
|
|
574
585
|
RefusalAcceptRule = "refusalAcceptRule",
|
|
575
586
|
RefusalRetryRule = "refusalRetryRule",
|
|
576
587
|
ReplyLanguageRule = "replyLanguageRule",
|
|
577
|
-
StopMessagesRule = "stopMessagesRule"
|
|
588
|
+
StopMessagesRule = "stopMessagesRule",
|
|
589
|
+
UnproductiveLoopQuestion = "unproductiveLoopQuestion"
|
|
578
590
|
}
|
|
579
591
|
export type PlatformTextPublishImpact = {
|
|
580
592
|
affectedTenants: Scalars['Int']['output'];
|
|
581
593
|
key: PlatformTextKey;
|
|
582
594
|
overriddenTenants: Scalars['Int']['output'];
|
|
583
595
|
};
|
|
596
|
+
export type PlatformTextScopeInput = {
|
|
597
|
+
key: PlatformTextKey;
|
|
598
|
+
tenantId?: InputMaybe<Scalars['String']['input']>;
|
|
599
|
+
};
|
|
600
|
+
export type PlatformTextTenantOverride = {
|
|
601
|
+
tenantId: Scalars['String']['output'];
|
|
602
|
+
version: Scalars['Int']['output'];
|
|
603
|
+
};
|
|
584
604
|
export type PlatformTextVersion = {
|
|
605
|
+
authorEmail?: Maybe<Scalars['String']['output']>;
|
|
606
|
+
authorName?: Maybe<Scalars['String']['output']>;
|
|
585
607
|
comment?: Maybe<Scalars['String']['output']>;
|
|
586
608
|
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
587
609
|
key: PlatformTextKey;
|
|
@@ -760,10 +782,6 @@ export type RemoveEnvironmentParameterInput = {
|
|
|
760
782
|
export type RemoveGlobalParameterInput = {
|
|
761
783
|
name: Scalars['String']['input'];
|
|
762
784
|
};
|
|
763
|
-
export type RemovePlatformTextOverrideInput = {
|
|
764
|
-
key: PlatformTextKey;
|
|
765
|
-
tenantId: Scalars['String']['input'];
|
|
766
|
-
};
|
|
767
785
|
export type RemoveTenantCustomDomainInput = {
|
|
768
786
|
tenantId: Scalars['TenantId']['input'];
|
|
769
787
|
};
|
|
@@ -1189,8 +1207,10 @@ export type RemoveEnvironmentParameterMutationVariables = Exact<{
|
|
|
1189
1207
|
export type RemoveEnvironmentParameterMutation = {
|
|
1190
1208
|
removeEnvironmentParameter?: Maybe<ParameterFragment>;
|
|
1191
1209
|
};
|
|
1192
|
-
export type PlatformTextFragment = Pick<PlatformText, 'key' | 'family' | 'placeholders' | 'codeText' | 'maxChars' | 'liveVersion'
|
|
1193
|
-
|
|
1210
|
+
export type PlatformTextFragment = (Pick<PlatformText, 'key' | 'family' | 'placeholders' | 'codeText' | 'maxChars' | 'liveVersion'> & {
|
|
1211
|
+
overrides: Array<Pick<PlatformTextTenantOverride, 'tenantId' | 'version'>>;
|
|
1212
|
+
});
|
|
1213
|
+
export type PlatformTextVersionFragment = Pick<PlatformTextVersion, 'key' | 'tenantId' | 'version' | 'status' | 'text' | 'comment' | 'authorName' | 'authorEmail' | 'createdAt' | 'modifiedBy'>;
|
|
1194
1214
|
export type ListPlatformTextsQueryVariables = Exact<{
|
|
1195
1215
|
[key: string]: never;
|
|
1196
1216
|
}>;
|
|
@@ -1228,11 +1248,17 @@ export type RollbackPlatformTextVersionMutationVariables = Exact<{
|
|
|
1228
1248
|
export type RollbackPlatformTextVersionMutation = {
|
|
1229
1249
|
rollbackPlatformTextVersion: Array<PlatformTextVersionFragment>;
|
|
1230
1250
|
};
|
|
1231
|
-
export type
|
|
1232
|
-
input:
|
|
1251
|
+
export type DiscardPlatformTextDraftMutationVariables = Exact<{
|
|
1252
|
+
input: PlatformTextVersionRefInput;
|
|
1253
|
+
}>;
|
|
1254
|
+
export type DiscardPlatformTextDraftMutation = {
|
|
1255
|
+
discardPlatformTextDraft: Array<PlatformTextVersionFragment>;
|
|
1256
|
+
};
|
|
1257
|
+
export type UnpublishPlatformTextMutationVariables = Exact<{
|
|
1258
|
+
input: PlatformTextScopeInput;
|
|
1233
1259
|
}>;
|
|
1234
|
-
export type
|
|
1235
|
-
|
|
1260
|
+
export type UnpublishPlatformTextMutation = {
|
|
1261
|
+
unpublishPlatformText: Array<PlatformTextVersionFragment>;
|
|
1236
1262
|
};
|
|
1237
1263
|
export type TenantQueueSummaryFragment = Pick<TenantQueueSummary, 'tenantId' | 'totalVisible' | 'totalInDlq' | 'worstAlarmState'>;
|
|
1238
1264
|
export type QueueHealthFragment = Pick<QueueHealth, 'tenantId' | 'accountId' | 'queueName' | 'serviceId' | 'isDlq' | 'approximateNumberOfMessages' | 'approximateNumberOfMessagesNotVisible' | 'alarmState'>;
|
|
@@ -1403,8 +1429,8 @@ export declare const GitRepositoryFragmentDoc = "\n fragment gitRepository on
|
|
|
1403
1429
|
export declare const LlmModelPriceFragmentDoc = "\n fragment llmModelPrice on LlmModelPrice {\n effectiveFrom\n inputPerMillion\n cachedInputPerMillion\n outputPerMillion\n}\n ";
|
|
1404
1430
|
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 ";
|
|
1405
1431
|
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
|
|
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 ";
|
|
1432
|
+
export declare const PlatformTextFragmentDoc = "\n fragment platformText on PlatformText {\n key\n family\n placeholders\n codeText\n maxChars\n liveVersion\n overrides {\n tenantId\n version\n }\n}\n ";
|
|
1433
|
+
export declare const PlatformTextVersionFragmentDoc = "\n fragment platformTextVersion on PlatformTextVersion {\n key\n tenantId\n version\n status\n text\n comment\n authorName\n authorEmail\n createdAt\n modifiedBy\n}\n ";
|
|
1408
1434
|
export declare const TenantQueueSummaryFragmentDoc = "\n fragment tenantQueueSummary on TenantQueueSummary {\n tenantId\n totalVisible\n totalInDlq\n worstAlarmState\n}\n ";
|
|
1409
1435
|
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 ";
|
|
1410
1436
|
export declare const ServiceFragmentDoc = "\n fragment service on Service {\n accountId\n tenantId\n serviceId\n type\n endpoint\n}\n ";
|
|
@@ -1445,13 +1471,14 @@ export declare const SetGlobalParameterDocument = "\n mutation setGlobalParam
|
|
|
1445
1471
|
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 ";
|
|
1446
1472
|
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 ";
|
|
1447
1473
|
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
|
|
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 ";
|
|
1474
|
+
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 overrides {\n tenantId\n version\n }\n}\n ";
|
|
1475
|
+
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 authorName\n authorEmail\n createdAt\n modifiedBy\n}\n ";
|
|
1450
1476
|
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
|
|
1477
|
+
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 authorName\n authorEmail\n createdAt\n modifiedBy\n}\n ";
|
|
1478
|
+
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 authorName\n authorEmail\n createdAt\n modifiedBy\n}\n ";
|
|
1479
|
+
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 authorName\n authorEmail\n createdAt\n modifiedBy\n}\n ";
|
|
1480
|
+
export declare const DiscardPlatformTextDraftDocument = "\n mutation discardPlatformTextDraft($input: PlatformTextVersionRefInput!) {\n discardPlatformTextDraft(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 authorName\n authorEmail\n createdAt\n modifiedBy\n}\n ";
|
|
1481
|
+
export declare const UnpublishPlatformTextDocument = "\n mutation unpublishPlatformText($input: PlatformTextScopeInput!) {\n unpublishPlatformText(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 authorName\n authorEmail\n createdAt\n modifiedBy\n}\n ";
|
|
1455
1482
|
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 ";
|
|
1456
1483
|
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 ";
|
|
1457
1484
|
export declare const RetryQueueDlqDocument = "\n mutation retryQueueDlq($input: RetryQueueDlqInput!) {\n retryQueueDlq(input: $input) {\n status\n taskHandle\n }\n}\n ";
|
|
@@ -1522,7 +1549,8 @@ export declare function getSdk<C>(requester: Requester<C>): {
|
|
|
1522
1549
|
draftPlatformText(variables: DraftPlatformTextMutationVariables, options?: C): Promise<DraftPlatformTextMutation>;
|
|
1523
1550
|
publishPlatformTextVersion(variables: PublishPlatformTextVersionMutationVariables, options?: C): Promise<PublishPlatformTextVersionMutation>;
|
|
1524
1551
|
rollbackPlatformTextVersion(variables: RollbackPlatformTextVersionMutationVariables, options?: C): Promise<RollbackPlatformTextVersionMutation>;
|
|
1525
|
-
|
|
1552
|
+
discardPlatformTextDraft(variables: DiscardPlatformTextDraftMutationVariables, options?: C): Promise<DiscardPlatformTextDraftMutation>;
|
|
1553
|
+
unpublishPlatformText(variables: UnpublishPlatformTextMutationVariables, options?: C): Promise<UnpublishPlatformTextMutation>;
|
|
1526
1554
|
listQueueHealthSummary(variables?: ListQueueHealthSummaryQueryVariables, options?: C): Promise<ListQueueHealthSummaryQuery>;
|
|
1527
1555
|
listQueueHealth(variables: ListQueueHealthQueryVariables, options?: C): Promise<ListQueueHealthQuery>;
|
|
1528
1556
|
retryQueueDlq(variables: RetryQueueDlqMutationVariables, options?: C): Promise<RetryQueueDlqMutation>;
|
package/src/sdks/drozcommons.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
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.
|
|
6
|
-
exports.serviceName = exports.RemoveTenantCustomDomainDocument = exports.RegenerateTenantCustomDomainCertificateDocument = void 0;
|
|
5
|
+
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.UnpublishPlatformTextDocument = exports.DiscardPlatformTextDraftDocument = 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 = exports.SetTenantCustomDomainDocument = void 0;
|
|
7
7
|
exports.getSdk = getSdk;
|
|
8
8
|
var AppInstanceStatus;
|
|
9
9
|
(function (AppInstanceStatus) {
|
|
@@ -71,20 +71,28 @@ var ParameterType;
|
|
|
71
71
|
var PlatformTextFamily;
|
|
72
72
|
(function (PlatformTextFamily) {
|
|
73
73
|
PlatformTextFamily["AgentPrompt"] = "agentPrompt";
|
|
74
|
+
PlatformTextFamily["SignalQuestion"] = "signalQuestion";
|
|
74
75
|
})(PlatformTextFamily || (exports.PlatformTextFamily = PlatformTextFamily = {}));
|
|
75
76
|
var PlatformTextKey;
|
|
76
77
|
(function (PlatformTextKey) {
|
|
77
78
|
PlatformTextKey["CampaignHeader"] = "campaignHeader";
|
|
78
79
|
PlatformTextKey["CannotTransfer"] = "cannotTransfer";
|
|
80
|
+
PlatformTextKey["ClosureDeclaredQuestion"] = "closureDeclaredQuestion";
|
|
81
|
+
PlatformTextKey["ClosureOutcomeQuestion"] = "closureOutcomeQuestion";
|
|
79
82
|
PlatformTextKey["CustomerDataRule"] = "customerDataRule";
|
|
80
83
|
PlatformTextKey["HeldHandoffRule"] = "heldHandoffRule";
|
|
84
|
+
PlatformTextKey["HumanRequestedQuestion"] = "humanRequestedQuestion";
|
|
81
85
|
PlatformTextKey["MasterRule"] = "masterRule";
|
|
86
|
+
PlatformTextKey["NegativeFeedbackQuestion"] = "negativeFeedbackQuestion";
|
|
87
|
+
PlatformTextKey["NegativeSentimentQuestion"] = "negativeSentimentQuestion";
|
|
82
88
|
PlatformTextKey["PrecedenceFooter"] = "precedenceFooter";
|
|
83
89
|
PlatformTextKey["PrecedenceHeader"] = "precedenceHeader";
|
|
90
|
+
PlatformTextKey["PromptInjectionQuestion"] = "promptInjectionQuestion";
|
|
84
91
|
PlatformTextKey["RefusalAcceptRule"] = "refusalAcceptRule";
|
|
85
92
|
PlatformTextKey["RefusalRetryRule"] = "refusalRetryRule";
|
|
86
93
|
PlatformTextKey["ReplyLanguageRule"] = "replyLanguageRule";
|
|
87
94
|
PlatformTextKey["StopMessagesRule"] = "stopMessagesRule";
|
|
95
|
+
PlatformTextKey["UnproductiveLoopQuestion"] = "unproductiveLoopQuestion";
|
|
88
96
|
})(PlatformTextKey || (exports.PlatformTextKey = PlatformTextKey = {}));
|
|
89
97
|
var PlatformTextVersionStatus;
|
|
90
98
|
(function (PlatformTextVersionStatus) {
|
|
@@ -221,7 +229,10 @@ exports.PlatformTextFragmentDoc = `
|
|
|
221
229
|
codeText
|
|
222
230
|
maxChars
|
|
223
231
|
liveVersion
|
|
224
|
-
|
|
232
|
+
overrides {
|
|
233
|
+
tenantId
|
|
234
|
+
version
|
|
235
|
+
}
|
|
225
236
|
}
|
|
226
237
|
`;
|
|
227
238
|
exports.PlatformTextVersionFragmentDoc = `
|
|
@@ -232,6 +243,8 @@ exports.PlatformTextVersionFragmentDoc = `
|
|
|
232
243
|
status
|
|
233
244
|
text
|
|
234
245
|
comment
|
|
246
|
+
authorName
|
|
247
|
+
authorEmail
|
|
235
248
|
createdAt
|
|
236
249
|
modifiedBy
|
|
237
250
|
}
|
|
@@ -628,9 +641,16 @@ exports.RollbackPlatformTextVersionDocument = `
|
|
|
628
641
|
}
|
|
629
642
|
}
|
|
630
643
|
${exports.PlatformTextVersionFragmentDoc}`;
|
|
631
|
-
exports.
|
|
632
|
-
mutation
|
|
633
|
-
|
|
644
|
+
exports.DiscardPlatformTextDraftDocument = `
|
|
645
|
+
mutation discardPlatformTextDraft($input: PlatformTextVersionRefInput!) {
|
|
646
|
+
discardPlatformTextDraft(input: $input) {
|
|
647
|
+
...platformTextVersion
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
${exports.PlatformTextVersionFragmentDoc}`;
|
|
651
|
+
exports.UnpublishPlatformTextDocument = `
|
|
652
|
+
mutation unpublishPlatformText($input: PlatformTextScopeInput!) {
|
|
653
|
+
unpublishPlatformText(input: $input) {
|
|
634
654
|
...platformTextVersion
|
|
635
655
|
}
|
|
636
656
|
}
|
|
@@ -959,8 +979,11 @@ function getSdk(requester) {
|
|
|
959
979
|
rollbackPlatformTextVersion(variables, options) {
|
|
960
980
|
return requester(exports.RollbackPlatformTextVersionDocument, variables, options);
|
|
961
981
|
},
|
|
962
|
-
|
|
963
|
-
return requester(exports.
|
|
982
|
+
discardPlatformTextDraft(variables, options) {
|
|
983
|
+
return requester(exports.DiscardPlatformTextDraftDocument, variables, options);
|
|
984
|
+
},
|
|
985
|
+
unpublishPlatformText(variables, options) {
|
|
986
|
+
return requester(exports.UnpublishPlatformTextDocument, variables, options);
|
|
964
987
|
},
|
|
965
988
|
listQueueHealthSummary(variables, options) {
|
|
966
989
|
return requester(exports.ListQueueHealthSummaryDocument, variables, options);
|