@droz-js/sdk 0.26.17 → 0.26.19
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/drozai.d.ts +9 -0
- package/src/sdks/ai.d.ts +133 -17
- package/src/sdks/ai.js +100 -4
- package/src/sdks/drozchat.d.ts +287 -0
- package/src/sdks/drozchat.js +93 -4
- package/src/sdks/drozcommons.d.ts +148 -0
- package/src/sdks/drozcommons.js +123 -2
package/src/sdks/drozchat.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.ListViewsDocument = exports.GetViewDocument = exports.ReorderTriggersByEventTypeDocument = exports.DeleteTriggerDocument = exports.UpdateTriggerDocument = exports.CreateTriggerDocument = exports.GetTriggerDocument = void 0;
|
|
4
|
+
exports.LiveQueueSummaryFragmentDoc = exports.DrozChatAgentGroupFragmentDoc = exports.GlobalConfigurationFragmentDoc = exports.TicketWithCustomFieldValuesFragmentDoc = exports.TicketCustomFieldValueFragmentDoc = exports.CustomFieldFragmentDoc = exports.TicketFragmentDoc = exports.DrozChatChannelFragmentDoc = exports.TicketTriggerAppFragmentDoc = exports.CustomerFragmentDoc = exports.CustomerNoteFragmentDoc = exports.DrozChatAgentFragmentDoc = exports.BulkCloseRunFragmentDoc = exports.BulkCloseRoutineConfigFragmentDoc = exports.AgentPresenceFragmentDoc = exports.Typenames = exports.TriggerScope = exports.TriggerEventType = exports.TriggerActionType = exports.TicketStatus = exports.TicketState = exports.TicketSearchSortBy = exports.TicketPriority = exports.TicketOrigin = exports.TicketMessageType = exports.TicketMessageRecipient = exports.TicketAutoAssignerType = exports.TicketAssessType = exports.SurveyTypes = exports.SurveyChannels = exports.SubscriptionAction = exports.QuickAnswersSortBy = exports.OpenTicketState = exports.LiveAgentStatus = exports.CustomFieldType = exports.Can = exports.BusinessHoursWeekday = exports.ApprovalTaskTab = exports.ApprovalTaskStatus = exports.ApprovalTaskRejectionReason = exports.ApprovalTaskMessageRole = exports.ApprovalTaskExecutionResult = exports.ApprovalTaskEventType = exports.ApprovalTaskDecision = exports.ApprovalTaskChannel = exports.ApprovalTaskChangeAction = exports.ApprovalAlertType = exports.AppInstanceStatus = exports.AgentPresenceStatus = exports.ActiveDispatchConnector = void 0;
|
|
5
|
+
exports.SearchTicketsWithCustomFieldValuesDocument = exports.ReorderCustomFieldsDocument = exports.DeleteCustomFieldDocument = exports.UpdateCustomFieldDocument = exports.CreateCustomFieldDocument = exports.ListCustomFieldsDocument = exports.DeleteNoteDocument = exports.UpdateNoteDocument = exports.CreateNoteDocument = exports.ListNotesDocument = exports.RemoveDrozChatChannelGroupDocument = exports.AddDrozChatChannelGroupDocument = exports.RemoveDrozChatChannelAgentDocument = exports.AddDrozChatChannelAgentDocument = exports.EnableDrozChatChannelDocument = exports.DisableDrozChatChannelDocument = exports.UpdateDrozChatChannelDocument = exports.CreateDrozChatChannelDocument = exports.ListDrozChatAgentChannelsDocument = exports.ListDrozChatChannelsDocument = exports.GetDrozChatChannelDocument = exports.GetBulkCloseRunsDocument = exports.DeleteBulkCloseRoutineConfigDocument = exports.DisableBulkCloseRoutineConfigDocument = exports.EnableBulkCloseRoutineConfigDocument = exports.UpdateBulkCloseRoutineConfigDocument = exports.CreateBulkCloseRoutineConfigDocument = exports.GetBulkCloseRoutineConfigDocument = exports.GenerateAnalyticsTokenDocument = exports.AgentLogoffDocument = exports.AgentHeartbeatDocument = exports.MyPresenceDocument = exports.ActiveDispatchDocument = exports.ViewFragmentDoc = exports.TriggerFragmentDoc = exports.TriggerConditionFieldsFragmentDoc = exports.FacetsFragmentDoc = exports.TicketMessageFragmentDoc = exports.DrozChatUserFragmentDoc = exports.TicketWithSessionFragmentDoc = exports.SessionAttributesFragmentDoc = exports.TicketWithoutCustomerFragmentDoc = exports.TagFragmentDoc = exports.QuickAnswerFacetsFragmentDoc = exports.QuickAnswerFragmentDoc = exports.TicketPresenceFragmentDoc = exports.SurveyFragmentDoc = exports.MonitoringTicketSnapshotFragmentDoc = exports.LiveSummaryFragmentDoc = exports.LiveAgentLoadFragmentDoc = void 0;
|
|
6
|
+
exports.AssignTicketDocument = exports.CreateTicketMessageEnvelopeDocument = exports.CreateTicketMessageForStorageDocument = exports.CreateTicketMessageDocument = exports.MarkTicketMessagesAsReadDocument = exports.UpdateTicketDocument = exports.CreateTicketDocument = exports.AgentRemainingCapacityDocument = exports.AssertChatActionsDocument = exports.UnsafeSearchTicketsDocument = exports.SearchTicketsWithoutCustomerDocument = exports.SearchTicketsDocument = exports.ListTicketInternalNotesDocument = exports.ListTicketMessagesDocument = exports.ListTicketsInProgressMineWithoutCustomerDocument = exports.ListTicketsInProgressMineDocument = exports.ListTicketsDocument = exports.GetTicketDocument = exports.DeleteTagsDocument = exports.CreateTagsDocument = exports.ListTagsDocument = exports.UpdateQuickAnswerDocument = exports.DeleteQuickAnswerDocument = exports.CreateQuickAnswerDocument = exports.SearchQuickAnswersDocument = exports.ListQuickAnswersDocument = exports.OnTicketPresenceDocument = exports.LeaveTicketPresenceDocument = exports.EnterTicketPresenceDocument = exports.TicketPresenceDocument = exports.DisableSurveyDocument = exports.UpsertSurveyDocument = exports.GetSurveyDocument = exports.OnMonitoringTicketChangeDocument = exports.LiveSummaryDocument = exports.RemoveDrozChatAgentGroupDocument = exports.AddDrozChatAgentGroupDocument = exports.EnableDrozChatAgentGroupDocument = exports.DisableDrozChatAgentGroupDocument = exports.UpdateDrozChatAgentGroupDocument = exports.CreateDrozChatAgentGroupDocument = exports.ListDrozChatAgentGroupsDocument = exports.ListDrozChatGroupsDocument = exports.GetDrozChatAgentGroupDocument = exports.ClearMaxSimultaneousAttendancesDocument = exports.SetMaxSimultaneousAttendancesDocument = exports.GetGlobalConfigurationDocument = exports.CustomFieldValuesForTicketDocument = exports.ClearCustomFieldValueDocument = exports.SetCustomFieldValueDocument = void 0;
|
|
7
|
+
exports.serviceName = exports.DeleteViewDocument = exports.UpdateViewDocument = exports.CloneViewDocument = exports.CreateViewDocument = exports.ListTicketsByViewDocument = exports.ListViewsDocument = exports.GetViewDocument = exports.ReorderTriggersByEventTypeDocument = exports.DeleteTriggerDocument = exports.UpdateTriggerDocument = exports.CreateTriggerDocument = exports.GetTriggerDocument = exports.ListTriggersDocument = exports.OnMessageByStateMineDocument = exports.OnTicketMessageDocument = exports.OnTicketByStateDocument = exports.OnTicketInProgressMineDocument = exports.TransferTicketToChannelDocument = exports.RemoveTagsFromTicketDocument = exports.AddTagsToTicketDocument = exports.CloseTicketDocument = exports.UnassignTicketDocument = exports.AssignTicketMyselfDocument = void 0;
|
|
8
8
|
exports.getSdk = getSdk;
|
|
9
9
|
var ActiveDispatchConnector;
|
|
10
10
|
(function (ActiveDispatchConnector) {
|
|
@@ -23,6 +23,90 @@ var AppInstanceStatus;
|
|
|
23
23
|
AppInstanceStatus["Failing"] = "Failing";
|
|
24
24
|
AppInstanceStatus["Inactive"] = "Inactive";
|
|
25
25
|
})(AppInstanceStatus || (exports.AppInstanceStatus = AppInstanceStatus = {}));
|
|
26
|
+
var ApprovalAlertType;
|
|
27
|
+
(function (ApprovalAlertType) {
|
|
28
|
+
ApprovalAlertType["ApprovalQueueOverLimit"] = "APPROVAL_QUEUE_OVER_LIMIT";
|
|
29
|
+
ApprovalAlertType["Expired"] = "EXPIRED";
|
|
30
|
+
ApprovalAlertType["ExpiringSoon"] = "EXPIRING_SOON";
|
|
31
|
+
ApprovalAlertType["FallbackChannelMissing"] = "FALLBACK_CHANNEL_MISSING";
|
|
32
|
+
ApprovalAlertType["Indeterminate"] = "INDETERMINATE";
|
|
33
|
+
ApprovalAlertType["NoApproverOnline"] = "NO_APPROVER_ONLINE";
|
|
34
|
+
})(ApprovalAlertType || (exports.ApprovalAlertType = ApprovalAlertType = {}));
|
|
35
|
+
var ApprovalTaskChangeAction;
|
|
36
|
+
(function (ApprovalTaskChangeAction) {
|
|
37
|
+
ApprovalTaskChangeAction["Created"] = "CREATED";
|
|
38
|
+
ApprovalTaskChangeAction["Removed"] = "REMOVED";
|
|
39
|
+
ApprovalTaskChangeAction["Updated"] = "UPDATED";
|
|
40
|
+
})(ApprovalTaskChangeAction || (exports.ApprovalTaskChangeAction = ApprovalTaskChangeAction = {}));
|
|
41
|
+
var ApprovalTaskChannel;
|
|
42
|
+
(function (ApprovalTaskChannel) {
|
|
43
|
+
ApprovalTaskChannel["Other"] = "OTHER";
|
|
44
|
+
ApprovalTaskChannel["Web"] = "WEB";
|
|
45
|
+
ApprovalTaskChannel["Whatsapp"] = "WHATSAPP";
|
|
46
|
+
})(ApprovalTaskChannel || (exports.ApprovalTaskChannel = ApprovalTaskChannel = {}));
|
|
47
|
+
var ApprovalTaskDecision;
|
|
48
|
+
(function (ApprovalTaskDecision) {
|
|
49
|
+
ApprovalTaskDecision["Approved"] = "APPROVED";
|
|
50
|
+
ApprovalTaskDecision["Rejected"] = "REJECTED";
|
|
51
|
+
})(ApprovalTaskDecision || (exports.ApprovalTaskDecision = ApprovalTaskDecision = {}));
|
|
52
|
+
var ApprovalTaskEventType;
|
|
53
|
+
(function (ApprovalTaskEventType) {
|
|
54
|
+
ApprovalTaskEventType["Assigned"] = "ASSIGNED";
|
|
55
|
+
ApprovalTaskEventType["Cancelled"] = "CANCELLED";
|
|
56
|
+
ApprovalTaskEventType["Claimed"] = "CLAIMED";
|
|
57
|
+
ApprovalTaskEventType["ClaimExpired"] = "CLAIM_EXPIRED";
|
|
58
|
+
ApprovalTaskEventType["Created"] = "CREATED";
|
|
59
|
+
ApprovalTaskEventType["Decided"] = "DECIDED";
|
|
60
|
+
ApprovalTaskEventType["DivergenceFound"] = "DIVERGENCE_FOUND";
|
|
61
|
+
ApprovalTaskEventType["ExecutionReported"] = "EXECUTION_REPORTED";
|
|
62
|
+
ApprovalTaskEventType["Expired"] = "EXPIRED";
|
|
63
|
+
ApprovalTaskEventType["Released"] = "RELEASED";
|
|
64
|
+
})(ApprovalTaskEventType || (exports.ApprovalTaskEventType = ApprovalTaskEventType = {}));
|
|
65
|
+
var ApprovalTaskExecutionResult;
|
|
66
|
+
(function (ApprovalTaskExecutionResult) {
|
|
67
|
+
ApprovalTaskExecutionResult["Executed"] = "EXECUTED";
|
|
68
|
+
ApprovalTaskExecutionResult["Failed"] = "FAILED";
|
|
69
|
+
ApprovalTaskExecutionResult["Indeterminate"] = "INDETERMINATE";
|
|
70
|
+
ApprovalTaskExecutionResult["NotExecuted"] = "NOT_EXECUTED";
|
|
71
|
+
})(ApprovalTaskExecutionResult || (exports.ApprovalTaskExecutionResult = ApprovalTaskExecutionResult = {}));
|
|
72
|
+
var ApprovalTaskMessageRole;
|
|
73
|
+
(function (ApprovalTaskMessageRole) {
|
|
74
|
+
ApprovalTaskMessageRole["AiAgent"] = "AI_AGENT";
|
|
75
|
+
ApprovalTaskMessageRole["Customer"] = "CUSTOMER";
|
|
76
|
+
})(ApprovalTaskMessageRole || (exports.ApprovalTaskMessageRole = ApprovalTaskMessageRole = {}));
|
|
77
|
+
var ApprovalTaskRejectionReason;
|
|
78
|
+
(function (ApprovalTaskRejectionReason) {
|
|
79
|
+
ApprovalTaskRejectionReason["DataMismatch"] = "DATA_MISMATCH";
|
|
80
|
+
ApprovalTaskRejectionReason["Other"] = "OTHER";
|
|
81
|
+
ApprovalTaskRejectionReason["OutOfPolicy"] = "OUT_OF_POLICY";
|
|
82
|
+
ApprovalTaskRejectionReason["SuspectedFraud"] = "SUSPECTED_FRAUD";
|
|
83
|
+
})(ApprovalTaskRejectionReason || (exports.ApprovalTaskRejectionReason = ApprovalTaskRejectionReason = {}));
|
|
84
|
+
var ApprovalTaskStatus;
|
|
85
|
+
(function (ApprovalTaskStatus) {
|
|
86
|
+
ApprovalTaskStatus["Assigned"] = "ASSIGNED";
|
|
87
|
+
ApprovalTaskStatus["Cancelled"] = "CANCELLED";
|
|
88
|
+
ApprovalTaskStatus["Decided"] = "DECIDED";
|
|
89
|
+
ApprovalTaskStatus["Expired"] = "EXPIRED";
|
|
90
|
+
ApprovalTaskStatus["Open"] = "OPEN";
|
|
91
|
+
})(ApprovalTaskStatus || (exports.ApprovalTaskStatus = ApprovalTaskStatus = {}));
|
|
92
|
+
var ApprovalTaskTab;
|
|
93
|
+
(function (ApprovalTaskTab) {
|
|
94
|
+
ApprovalTaskTab["All"] = "ALL";
|
|
95
|
+
ApprovalTaskTab["Finished"] = "FINISHED";
|
|
96
|
+
ApprovalTaskTab["ManualCheck"] = "MANUAL_CHECK";
|
|
97
|
+
ApprovalTaskTab["Mine"] = "MINE";
|
|
98
|
+
ApprovalTaskTab["Pending"] = "PENDING";
|
|
99
|
+
})(ApprovalTaskTab || (exports.ApprovalTaskTab = ApprovalTaskTab = {}));
|
|
100
|
+
var BusinessHoursWeekday;
|
|
101
|
+
(function (BusinessHoursWeekday) {
|
|
102
|
+
BusinessHoursWeekday["Friday"] = "FRIDAY";
|
|
103
|
+
BusinessHoursWeekday["Monday"] = "MONDAY";
|
|
104
|
+
BusinessHoursWeekday["Saturday"] = "SATURDAY";
|
|
105
|
+
BusinessHoursWeekday["Sunday"] = "SUNDAY";
|
|
106
|
+
BusinessHoursWeekday["Thursday"] = "THURSDAY";
|
|
107
|
+
BusinessHoursWeekday["Tuesday"] = "TUESDAY";
|
|
108
|
+
BusinessHoursWeekday["Wednesday"] = "WEDNESDAY";
|
|
109
|
+
})(BusinessHoursWeekday || (exports.BusinessHoursWeekday = BusinessHoursWeekday = {}));
|
|
26
110
|
var Can;
|
|
27
111
|
(function (Can) {
|
|
28
112
|
Can["Manage"] = "manage";
|
|
@@ -168,9 +252,14 @@ var Typenames;
|
|
|
168
252
|
Typenames["AgentGroup"] = "AgentGroup";
|
|
169
253
|
Typenames["AgentPresence"] = "AgentPresence";
|
|
170
254
|
Typenames["Any"] = "Any";
|
|
255
|
+
Typenames["ApprovalQueues"] = "ApprovalQueues";
|
|
256
|
+
Typenames["ApprovalSessionLocks"] = "ApprovalSessionLocks";
|
|
257
|
+
Typenames["ApprovalTaskKeys"] = "ApprovalTaskKeys";
|
|
258
|
+
Typenames["ApprovalTasks"] = "ApprovalTasks";
|
|
171
259
|
Typenames["BulkCloseBatches"] = "BulkCloseBatches";
|
|
172
260
|
Typenames["BulkCloseRoutineConfig"] = "BulkCloseRoutineConfig";
|
|
173
261
|
Typenames["BulkCloseRuns"] = "BulkCloseRuns";
|
|
262
|
+
Typenames["BusinessHours"] = "BusinessHours";
|
|
174
263
|
Typenames["ChannelLastAssignee"] = "ChannelLastAssignee";
|
|
175
264
|
Typenames["ChannelTriggerExecutions"] = "ChannelTriggerExecutions";
|
|
176
265
|
Typenames["Channels"] = "Channels";
|
|
@@ -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
|
},
|