@wildix/wilma-copilot-client 1.0.19 → 1.0.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/dist-cjs/models/enums.js +22 -7
- package/dist-cjs/schemas/schemas_0.js +57 -59
- package/dist-es/models/enums.js +21 -6
- package/dist-es/schemas/schemas_0.js +54 -56
- package/dist-types/commands/AttachProfileResourceCommand.d.ts +14 -10
- package/dist-types/commands/CreateIntentCommand.d.ts +2 -4
- package/dist-types/commands/CreateProfileCommand.d.ts +28 -20
- package/dist-types/commands/DeleteProfileResourceCommand.d.ts +14 -10
- package/dist-types/commands/GetIntentCommand.d.ts +1 -2
- package/dist-types/commands/GetProfileCommand.d.ts +14 -10
- package/dist-types/commands/GetProfileVersionCommand.d.ts +17 -16
- package/dist-types/commands/ListProfilesCommand.d.ts +16 -2
- package/dist-types/commands/PublishProfileVersionCommand.d.ts +17 -16
- package/dist-types/commands/RestoreProfileVersionToDraftCommand.d.ts +14 -10
- package/dist-types/commands/UpdateIntentCommand.d.ts +2 -4
- package/dist-types/commands/UpdateProfileCommand.d.ts +28 -20
- package/dist-types/models/enums.d.ts +40 -9
- package/dist-types/models/models_0.d.ts +144 -79
- package/dist-types/schemas/schemas_0.d.ts +1 -2
- package/package.json +1 -1
package/dist-cjs/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProfileResourceType = exports.IntentTextMatchMode = exports.EvaluationWindow = exports.ProfileStatus = exports.CopilotChannel = exports.
|
|
3
|
+
exports.ProfileResourceType = exports.IntentTextMatchMode = exports.EvaluationWindow = exports.CopilotSpeaker = exports.ProfileStatus = exports.CopilotStage = exports.CopilotChannel = exports.CopilotAudienceKind = exports.ContextualKnowledgeSource = exports.ContextualKnowledgeMode = exports.AssetContentType = exports.AssetSeverity = exports.AssetIcon = exports.SmartActionResultMode = exports.SmartActionHandoverVariant = exports.CopilotVariableMode = exports.AutomationOutputMode = exports.ActorType = void 0;
|
|
4
4
|
exports.ActorType = {
|
|
5
5
|
API_KEY: "api_key",
|
|
6
6
|
SERVICE: "service",
|
|
@@ -51,19 +51,34 @@ exports.ContextualKnowledgeSource = {
|
|
|
51
51
|
AGENT: "agent",
|
|
52
52
|
KNOWLEDGE_BASES: "knowledge_bases",
|
|
53
53
|
};
|
|
54
|
-
exports.
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
exports.CopilotAudienceKind = {
|
|
55
|
+
AGENT: "agent",
|
|
56
|
+
DEPARTMENT: "department",
|
|
57
|
+
GROUP: "group",
|
|
58
|
+
QUEUE: "queue",
|
|
59
|
+
SERVICE: "service",
|
|
60
|
+
TRUNK: "trunk",
|
|
61
|
+
USER: "user",
|
|
57
62
|
};
|
|
58
63
|
exports.CopilotChannel = {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
64
|
+
CALL: "call",
|
|
65
|
+
CHAT: "chat",
|
|
66
|
+
CONFERENCE: "conference",
|
|
67
|
+
};
|
|
68
|
+
exports.CopilotStage = {
|
|
69
|
+
AFTER: "after",
|
|
70
|
+
BEFORE: "before",
|
|
71
|
+
DURING: "during",
|
|
62
72
|
};
|
|
63
73
|
exports.ProfileStatus = {
|
|
64
74
|
ACTIVE: "active",
|
|
65
75
|
DRAFT: "draft",
|
|
66
76
|
};
|
|
77
|
+
exports.CopilotSpeaker = {
|
|
78
|
+
AGENT: "agent",
|
|
79
|
+
ANYONE: "anyone",
|
|
80
|
+
CUSTOMER: "customer",
|
|
81
|
+
};
|
|
67
82
|
exports.EvaluationWindow = {
|
|
68
83
|
FULL_TRANSCRIPT: "full_transcript",
|
|
69
84
|
NEW_TRANSCRIPT: "new_transcript",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteAutomationInput$ = exports.DeleteAssetOutput$ = exports.DeleteAssetInput$ = exports.CsatFeatureConfiguration$ = exports.CreateProfileOutput$ = exports.CreateProfileInput$ = exports.CreateIntentOutput$ = exports.CreateIntentInput$ = exports.CreateEvaluationOutput$ = exports.CreateEvaluationInput$ = exports.CreateAutomationOutput$ = exports.CreateAutomationInput$ = exports.CreateAssetOutput$ = exports.CreateAssetInput$ = exports.CopilotVariableBinding$ = exports.CopilotTextParameter$ = exports.CopilotSelectionParameter$ = exports.CopilotNumberParameter$ = exports.CopilotMultilineParameter$ = exports.CopilotField$ = exports.
|
|
3
|
+
exports.DeleteAutomationInput$ = exports.DeleteAssetOutput$ = exports.DeleteAssetInput$ = exports.CsatFeatureConfiguration$ = exports.CreateProfileOutput$ = exports.CreateProfileInput$ = exports.CreateIntentOutput$ = exports.CreateIntentInput$ = exports.CreateEvaluationOutput$ = exports.CreateEvaluationInput$ = exports.CreateAutomationOutput$ = exports.CreateAutomationInput$ = exports.CreateAssetOutput$ = exports.CreateAssetInput$ = exports.CopilotVariableBinding$ = exports.CopilotTextParameter$ = exports.CopilotSelectionParameter$ = exports.CopilotNumberParameter$ = exports.CopilotMultilineParameter$ = exports.CopilotField$ = exports.CopilotAudienceEntry$ = exports.ContextualKnowledgeAnswersFeatureConfiguration$ = exports.CompareProfileVersionsOutput$ = exports.CompareProfileVersionsInput$ = exports.CardStaticContent$ = exports.CardAgentContent$ = exports.AutomationSnapshot$ = exports.AutomationInfo$ = exports.Automation$ = exports.AttachProfileResourceOutput$ = exports.AttachProfileResourceInput$ = exports.AssetSnapshot$ = exports.AssetSmartActions$ = exports.AssetPlaybook$ = exports.AssetKnowledge$ = exports.AssetInfo$ = exports.AssetCard$ = exports.Asset$ = exports.AgentAutomationHandler$ = exports.SubscriptionSelector$ = exports.Subscription$ = exports.Actor$ = exports.errorTypeRegistries = exports.RevisionConflictException$ = exports.NothingToPublishException$ = exports.ValidationException$ = exports.NotFoundException$ = exports.ForbiddenException$ = exports.ConflictException$ = exports.WilmaCopilotServiceException$ = void 0;
|
|
4
4
|
exports.PlaybookStep$ = exports.PlaybookSemanticCompletion$ = exports.PlaybookManualCompletion$ = exports.ListSubscriptionsOutput$ = exports.ListSubscriptionsInput$ = exports.ListProfileVersionsOutput$ = exports.ListProfileVersionsInput$ = exports.ListProfilesOutput$ = exports.ListProfilesInput$ = exports.ListIntentsOutput$ = exports.ListIntentsInput$ = exports.ListEvaluationsOutput$ = exports.ListEvaluationsInput$ = exports.ListAutomationsOutput$ = exports.ListAutomationsInput$ = exports.ListAssetsOutput$ = exports.ListAssetsInput$ = exports.IntentTextMatchOption$ = exports.IntentTextMatch$ = exports.IntentSnapshot$ = exports.IntentInfo$ = exports.IntentHandlers$ = exports.IntentAiMatch$ = exports.Intent$ = exports.GetProfileVersionOutput$ = exports.GetProfileVersionInput$ = exports.GetProfileOutput$ = exports.GetProfileInput$ = exports.GetIntentOutput$ = exports.GetIntentInput$ = exports.GetEvaluationOutput$ = exports.GetEvaluationInput$ = exports.GetAutomationOutput$ = exports.GetAutomationInput$ = exports.GetAssetOutput$ = exports.GetAssetInput$ = exports.EvaluationTriggers$ = exports.EvaluationSnapshot$ = exports.EvaluationIntervalTrigger$ = exports.EvaluationInfo$ = exports.Evaluation$ = exports.DeleteProfileResourceOutput$ = exports.DeleteProfileResourceInput$ = exports.DeleteProfileOutput$ = exports.DeleteProfileInput$ = exports.DeleteIntentOutput$ = exports.DeleteIntentInput$ = exports.DeleteEvaluationOutput$ = exports.DeleteEvaluationInput$ = exports.DeleteAutomationOutput$ = void 0;
|
|
5
|
-
exports.DeleteProfileResource$ = exports.DeleteProfile$ = exports.DeleteIntent$ = exports.DeleteEvaluation$ = exports.DeleteAutomation$ = exports.DeleteAsset$ = exports.CreateProfile$ = exports.CreateIntent$ = exports.CreateEvaluation$ = exports.CreateAutomation$ = exports.CreateAsset$ = exports.CompareProfileVersions$ = exports.AttachProfileResource$ = exports.SmartAction$ = exports.ProfileResource$ = exports.PlaybookCompletionCriteria$ = exports.
|
|
6
|
-
exports.UpdateProfile$ = exports.UpdateIntent$ = exports.UpdateEvaluation$ = exports.UpdateAutomation$ = exports.UpdateAsset$ = exports.RestoreProfileVersionToDraft$ = exports.PublishProfileVersion$ = exports.ListSubscriptions$ = exports.ListProfileVersions$ = exports.ListProfiles$ = exports.ListIntents$ = exports.ListEvaluations$ = exports.ListAutomations$ = exports.ListAssets$ = exports.GetProfileVersion$ = exports.GetProfile$ = exports.GetIntent$ = exports.GetEvaluation$ = exports.GetAutomation$ =
|
|
5
|
+
exports.GetAsset$ = exports.DeleteProfileResource$ = exports.DeleteProfile$ = exports.DeleteIntent$ = exports.DeleteEvaluation$ = exports.DeleteAutomation$ = exports.DeleteAsset$ = exports.CreateProfile$ = exports.CreateIntent$ = exports.CreateEvaluation$ = exports.CreateAutomation$ = exports.CreateAsset$ = exports.CompareProfileVersions$ = exports.AttachProfileResource$ = exports.SmartAction$ = exports.ProfileResource$ = exports.PlaybookCompletionCriteria$ = exports.CopilotFieldParameter$ = exports.CopilotFeature$ = exports.CardContent$ = exports.AutomationHandler$ = exports.AssetContent$ = exports.UpdateProfileOutput$ = exports.UpdateProfileInput$ = exports.UpdateIntentOutput$ = exports.UpdateIntentInput$ = exports.UpdateEvaluationOutput$ = exports.UpdateEvaluationInput$ = exports.UpdateAutomationOutput$ = exports.UpdateAutomationInput$ = exports.UpdateAssetOutput$ = exports.UpdateAssetInput$ = exports.TopicsFeatureConfiguration$ = exports.TalkRatioFeatureConfiguration$ = exports.SmartActionTransfer$ = exports.SmartActionRunAgent$ = exports.SmartActionOpenUrl$ = exports.SmartActionItem$ = exports.SmartActionHandover$ = exports.SentimentFeatureConfiguration$ = exports.RestoreProfileVersionToDraftOutput$ = exports.RestoreProfileVersionToDraftInput$ = exports.PublishProfileVersionOutput$ = exports.PublishProfileVersionInput$ = exports.ProfileVersionInfo$ = exports.ProfileVersionChange$ = exports.ProfileVersion$ = exports.ProfileInfo$ = exports.ProfileDefinitionSnapshot$ = exports.Profile$ = void 0;
|
|
6
|
+
exports.UpdateProfile$ = exports.UpdateIntent$ = exports.UpdateEvaluation$ = exports.UpdateAutomation$ = exports.UpdateAsset$ = exports.RestoreProfileVersionToDraft$ = exports.PublishProfileVersion$ = exports.ListSubscriptions$ = exports.ListProfileVersions$ = exports.ListProfiles$ = exports.ListIntents$ = exports.ListEvaluations$ = exports.ListAutomations$ = exports.ListAssets$ = exports.GetProfileVersion$ = exports.GetProfile$ = exports.GetIntent$ = exports.GetEvaluation$ = exports.GetAutomation$ = void 0;
|
|
7
7
|
const _A = "Actor";
|
|
8
8
|
const _AAH = "AgentAutomationHandler";
|
|
9
9
|
const _AC = "AssetCard";
|
|
@@ -25,14 +25,15 @@ const _ASLu = "AutomationSnapshotsList";
|
|
|
25
25
|
const _ASu = "AutomationSnapshot";
|
|
26
26
|
const _As = "Asset";
|
|
27
27
|
const _Au = "Automation";
|
|
28
|
-
const _CA = "
|
|
28
|
+
const _CA = "CreateAsset";
|
|
29
29
|
const _CAC = "CardAgentContent";
|
|
30
|
+
const _CAE = "CopilotAudienceEntry";
|
|
30
31
|
const _CAI = "CreateAssetInput";
|
|
31
32
|
const _CAIr = "CreateAutomationInput";
|
|
33
|
+
const _CAL = "CopilotAudienceList";
|
|
32
34
|
const _CAO = "CreateAssetOutput";
|
|
33
35
|
const _CAOr = "CreateAutomationOutput";
|
|
34
|
-
const _CAr = "
|
|
35
|
-
const _CAre = "CreateAutomation";
|
|
36
|
+
const _CAr = "CreateAutomation";
|
|
36
37
|
const _CC = "CardContent";
|
|
37
38
|
const _CE = "ConflictException";
|
|
38
39
|
const _CEI = "CreateEvaluationInput";
|
|
@@ -44,8 +45,6 @@ const _CFL = "CopilotFeaturesList";
|
|
|
44
45
|
const _CFLo = "CopilotFieldsList";
|
|
45
46
|
const _CFP = "CopilotFieldParameter";
|
|
46
47
|
const _CFo = "CopilotFeature";
|
|
47
|
-
const _CGP = "CopilotGrantPrincipal";
|
|
48
|
-
const _CGPL = "CopilotGrantPrincipalList";
|
|
49
48
|
const _CI = "CreateIntent";
|
|
50
49
|
const _CII = "CreateIntentInput";
|
|
51
50
|
const _CIO = "CreateIntentOutput";
|
|
@@ -205,8 +204,7 @@ const _aIu = "automationId";
|
|
|
205
204
|
const _aM = "aiMatch";
|
|
206
205
|
const _aME = "aiMatchEnabled";
|
|
207
206
|
const _aO = "adaptiveOptions";
|
|
208
|
-
const _ac = "
|
|
209
|
-
const _act = "action";
|
|
207
|
+
const _ac = "action";
|
|
210
208
|
const _ad = "adaptive";
|
|
211
209
|
const _af = "after";
|
|
212
210
|
const _ag = "agent";
|
|
@@ -214,6 +212,7 @@ const _as = "asset";
|
|
|
214
212
|
const _ass = "assets";
|
|
215
213
|
const _assi = "assignee";
|
|
216
214
|
const _au = "automation";
|
|
215
|
+
const _aud = "audience";
|
|
217
216
|
const _aut = "automations";
|
|
218
217
|
const _b = "before";
|
|
219
218
|
const _c = "client";
|
|
@@ -226,8 +225,9 @@ const _cR = "currentRevision";
|
|
|
226
225
|
const _cT = "contentType";
|
|
227
226
|
const _ca = "card";
|
|
228
227
|
const _ch = "changes";
|
|
229
|
-
const _cha = "
|
|
230
|
-
const _chan = "
|
|
228
|
+
const _cha = "channels";
|
|
229
|
+
const _chan = "channel";
|
|
230
|
+
const _chang = "changelog";
|
|
231
231
|
const _co = "company";
|
|
232
232
|
const _con = "conditions";
|
|
233
233
|
const _cont = "content";
|
|
@@ -253,9 +253,7 @@ const _fea = "feature";
|
|
|
253
253
|
const _fi = "fields";
|
|
254
254
|
const _fr = "from";
|
|
255
255
|
const _g = "goal";
|
|
256
|
-
const
|
|
257
|
-
const _gr = "grants";
|
|
258
|
-
const _gro = "group";
|
|
256
|
+
const _gr = "group";
|
|
259
257
|
const _h = "handler";
|
|
260
258
|
const _hE = "httpError";
|
|
261
259
|
const _hQ = "httpQuery";
|
|
@@ -275,6 +273,7 @@ const _inte = "intents";
|
|
|
275
273
|
const _inter = "interval";
|
|
276
274
|
const _k = "key";
|
|
277
275
|
const _kBI = "knowledgeBaseIds";
|
|
276
|
+
const _ki = "kind";
|
|
278
277
|
const _kn = "knowledge";
|
|
279
278
|
const _l = "limit";
|
|
280
279
|
const _lV = "latestVersion";
|
|
@@ -318,6 +317,7 @@ const _re = "resource";
|
|
|
318
317
|
const _req = "required";
|
|
319
318
|
const _s = "smithy.ts.sdk.synthetic.wildix.wilma.copilot";
|
|
320
319
|
const _sA = "smartAction";
|
|
320
|
+
const _sB = "saidBy";
|
|
321
321
|
const _se = "selectors";
|
|
322
322
|
const _sea = "search";
|
|
323
323
|
const _sel = "selection";
|
|
@@ -328,8 +328,10 @@ const _sev = "severity";
|
|
|
328
328
|
const _so = "sources";
|
|
329
329
|
const _sou = "source";
|
|
330
330
|
const _st = "sticky";
|
|
331
|
-
const _sta = "
|
|
332
|
-
const
|
|
331
|
+
const _sta = "stages";
|
|
332
|
+
const _stag = "stage";
|
|
333
|
+
const _stat = "status";
|
|
334
|
+
const _stati = "static";
|
|
333
335
|
const _ste = "steps";
|
|
334
336
|
const _su = "subtitle";
|
|
335
337
|
const _sub = "subscriptions";
|
|
@@ -348,13 +350,12 @@ const _tra = "transfer";
|
|
|
348
350
|
const _u = "url";
|
|
349
351
|
const _uA = "updatedAt";
|
|
350
352
|
const _uB = "updatedBy";
|
|
351
|
-
const _uI = "userId";
|
|
352
353
|
const _v = "variables";
|
|
353
|
-
const _va = "
|
|
354
|
+
const _va = "values";
|
|
354
355
|
const _val = "value";
|
|
356
|
+
const _var = "variant";
|
|
355
357
|
const _ve = "version";
|
|
356
358
|
const _ver = "versions";
|
|
357
|
-
const _vi = "visibility";
|
|
358
359
|
const _w = "window";
|
|
359
360
|
const n0 = "smithy.framework";
|
|
360
361
|
const n1 = "wildix.wilma.common";
|
|
@@ -513,10 +514,10 @@ exports.ContextualKnowledgeAnswersFeatureConfiguration$ = [3, n2, _CKAFC,
|
|
|
513
514
|
[_sou, _mo, _kBI, _aI],
|
|
514
515
|
[0, 0, 64 | 0, 0], 2
|
|
515
516
|
];
|
|
516
|
-
exports.
|
|
517
|
+
exports.CopilotAudienceEntry$ = [3, n2, _CAE,
|
|
517
518
|
0,
|
|
518
|
-
[
|
|
519
|
-
[0,
|
|
519
|
+
[_ki, _va],
|
|
520
|
+
[0, 64 | 0], 2
|
|
520
521
|
];
|
|
521
522
|
exports.CopilotField$ = [3, n2, _CF,
|
|
522
523
|
0,
|
|
@@ -545,7 +546,7 @@ exports.CopilotTextParameter$ = [3, n2, _CTP,
|
|
|
545
546
|
];
|
|
546
547
|
exports.CopilotVariableBinding$ = [3, n2, _CVB,
|
|
547
548
|
0,
|
|
548
|
-
[_n,
|
|
549
|
+
[_n, _var, _t, _o, _d, _val],
|
|
549
550
|
[0, 0, 0, 2, 0, 0], 2
|
|
550
551
|
];
|
|
551
552
|
exports.CreateAssetInput$ = [3, n2, _CAI,
|
|
@@ -590,8 +591,8 @@ exports.CreateIntentOutput$ = [3, n2, _CIO,
|
|
|
590
591
|
];
|
|
591
592
|
exports.CreateProfileInput$ = [3, n2, _CPI,
|
|
592
593
|
0,
|
|
593
|
-
[_n,
|
|
594
|
-
[0, 0,
|
|
594
|
+
[_n, _d, _aud, _sta, _cha, _con, _fe, _ass, _inte, _eval, _aut, _co],
|
|
595
|
+
[0, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, [0, { [_hQ]: _co }]], 1
|
|
595
596
|
];
|
|
596
597
|
exports.CreateProfileOutput$ = [3, n2, _CPO,
|
|
597
598
|
0,
|
|
@@ -755,13 +756,13 @@ exports.Intent$ = [3, n2, _I,
|
|
|
755
756
|
];
|
|
756
757
|
exports.IntentAiMatch$ = [3, n2, _IAM,
|
|
757
758
|
0,
|
|
758
|
-
[
|
|
759
|
-
[
|
|
759
|
+
[_in, _fi],
|
|
760
|
+
[0, () => CopilotFieldsList]
|
|
760
761
|
];
|
|
761
762
|
exports.IntentHandlers$ = [3, n2, _IH,
|
|
762
763
|
0,
|
|
763
|
-
[_tM, _aM],
|
|
764
|
-
[() => exports.IntentTextMatch$, () => exports.IntentAiMatch
|
|
764
|
+
[_tM, _aM, _sB],
|
|
765
|
+
[() => exports.IntentTextMatch$, () => exports.IntentAiMatch$, 0]
|
|
765
766
|
];
|
|
766
767
|
exports.IntentInfo$ = [3, n2, _II,
|
|
767
768
|
0,
|
|
@@ -775,8 +776,8 @@ exports.IntentSnapshot$ = [3, n2, _IS,
|
|
|
775
776
|
];
|
|
776
777
|
exports.IntentTextMatch$ = [3, n2, _ITM,
|
|
777
778
|
0,
|
|
778
|
-
[
|
|
779
|
-
[
|
|
779
|
+
[_op],
|
|
780
|
+
[() => IntentTextMatchOptionsList]
|
|
780
781
|
];
|
|
781
782
|
exports.IntentTextMatchOption$ = [3, n2, _ITMO,
|
|
782
783
|
0,
|
|
@@ -805,8 +806,8 @@ exports.ListAutomationsOutput$ = [3, n2, _LAOi,
|
|
|
805
806
|
];
|
|
806
807
|
exports.ListEvaluationsInput$ = [3, n2, _LEI,
|
|
807
808
|
0,
|
|
808
|
-
[_co,
|
|
809
|
-
[[0, { [_hQ]: _co }], [0, { [_hQ]:
|
|
809
|
+
[_co, _gr, _sea, _l, _cu],
|
|
810
|
+
[[0, { [_hQ]: _co }], [0, { [_hQ]: _gr }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
|
|
810
811
|
];
|
|
811
812
|
exports.ListEvaluationsOutput$ = [3, n2, _LEO,
|
|
812
813
|
0,
|
|
@@ -825,8 +826,8 @@ exports.ListIntentsOutput$ = [3, n2, _LIO,
|
|
|
825
826
|
];
|
|
826
827
|
exports.ListProfilesInput$ = [3, n2, _LPI,
|
|
827
828
|
0,
|
|
828
|
-
[_co,
|
|
829
|
-
[[0, { [_hQ]: _co }], [0, { [_hQ]:
|
|
829
|
+
[_co, _stat, _chan, _stag, _sea, _l, _cu],
|
|
830
|
+
[[0, { [_hQ]: _co }], [0, { [_hQ]: _stat }], [0, { [_hQ]: _chan }], [0, { [_hQ]: _stag }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
|
|
830
831
|
];
|
|
831
832
|
exports.ListProfilesOutput$ = [3, n2, _LPO,
|
|
832
833
|
0,
|
|
@@ -870,22 +871,22 @@ exports.PlaybookStep$ = [3, n2, _PS,
|
|
|
870
871
|
];
|
|
871
872
|
exports.Profile$ = [3, n2, _P,
|
|
872
873
|
0,
|
|
873
|
-
[_n,
|
|
874
|
-
[0, 0,
|
|
874
|
+
[_n, _cA, _cB, _i, _stat, _r, _li, _d, _aud, _sta, _cha, _con, _fe, _ass, _inte, _eval, _aut, _uA, _uB, _lV, _dBV],
|
|
875
|
+
[0, 0, () => exports.Actor$, 0, 0, 1, 2, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, () => exports.Actor$, 1, 1], 7
|
|
875
876
|
];
|
|
876
877
|
exports.ProfileDefinitionSnapshot$ = [3, n2, _PDS,
|
|
877
878
|
0,
|
|
878
|
-
[_n,
|
|
879
|
-
[0,
|
|
879
|
+
[_n, _inte, _eval, _aut, _ass, _d, _aud, _sta, _cha, _con, _fe],
|
|
880
|
+
[0, () => IntentSnapshotsList, () => EvaluationSnapshotsList, () => AutomationSnapshotsList, () => AssetSnapshotsList, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, () => CopilotFeaturesList], 5
|
|
880
881
|
];
|
|
881
882
|
exports.ProfileInfo$ = [3, n2, _PI,
|
|
882
883
|
0,
|
|
883
|
-
[_cA, _cB, _i, _n,
|
|
884
|
-
[0, () => exports.Actor$, 0, 0, 0,
|
|
884
|
+
[_cA, _cB, _i, _n, _stat, _li, _uA, _uB, _d, _aud, _sta, _cha, _lV, _iC, _eC, _aCu, _aCs],
|
|
885
|
+
[0, () => exports.Actor$, 0, 0, 0, 2, 0, () => exports.Actor$, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 1, 1, 1, 1, 1], 6
|
|
885
886
|
];
|
|
886
887
|
exports.ProfileVersion$ = [3, n2, _PV,
|
|
887
888
|
0,
|
|
888
|
-
[_pI, _ve, _def, _pA, _pB,
|
|
889
|
+
[_pI, _ve, _def, _pA, _pB, _chang],
|
|
889
890
|
[0, 1, () => exports.ProfileDefinitionSnapshot$, 0, () => exports.Actor$, 0], 5
|
|
890
891
|
];
|
|
891
892
|
exports.ProfileVersionChange$ = [3, n2, _PVC,
|
|
@@ -895,12 +896,12 @@ exports.ProfileVersionChange$ = [3, n2, _PVC,
|
|
|
895
896
|
];
|
|
896
897
|
exports.ProfileVersionInfo$ = [3, n2, _PVI,
|
|
897
898
|
0,
|
|
898
|
-
[_pI, _ve, _pA, _pB,
|
|
899
|
+
[_pI, _ve, _pA, _pB, _chang, _la],
|
|
899
900
|
[0, 1, 0, () => exports.Actor$, 0, 2], 4
|
|
900
901
|
];
|
|
901
902
|
exports.PublishProfileVersionInput$ = [3, n2, _PPVI,
|
|
902
903
|
0,
|
|
903
|
-
[_pI, _r, _co,
|
|
904
|
+
[_pI, _r, _co, _chang],
|
|
904
905
|
[[0, 1], 1, [0, { [_hQ]: _co }], 0], 2
|
|
905
906
|
];
|
|
906
907
|
exports.PublishProfileVersionOutput$ = [3, n2, _PPVO,
|
|
@@ -930,7 +931,7 @@ exports.SmartActionHandover$ = [3, n2, _SAH,
|
|
|
930
931
|
];
|
|
931
932
|
exports.SmartActionItem$ = [3, n2, _SAI,
|
|
932
933
|
0,
|
|
933
|
-
[_i, _lab,
|
|
934
|
+
[_i, _lab, _ac, _d],
|
|
934
935
|
[0, 0, () => exports.SmartAction$, 0], 3
|
|
935
936
|
];
|
|
936
937
|
exports.SmartActionOpenUrl$ = [3, n2, _SAOU,
|
|
@@ -1000,8 +1001,8 @@ exports.UpdateIntentOutput$ = [3, n2, _UIO,
|
|
|
1000
1001
|
];
|
|
1001
1002
|
exports.UpdateProfileInput$ = [3, n2, _UPI,
|
|
1002
1003
|
0,
|
|
1003
|
-
[_n,
|
|
1004
|
-
[0,
|
|
1004
|
+
[_n, _pI, _r, _d, _aud, _sta, _cha, _con, _co],
|
|
1005
|
+
[0, [0, 1], 1, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, [0, { [_hQ]: _co }]], 3
|
|
1005
1006
|
];
|
|
1006
1007
|
exports.UpdateProfileOutput$ = [3, n2, _UPO,
|
|
1007
1008
|
0,
|
|
@@ -1028,15 +1029,17 @@ var AutomationInfoList = [1, n2, _AILu,
|
|
|
1028
1029
|
var AutomationSnapshotsList = [1, n2, _ASLu,
|
|
1029
1030
|
0, () => exports.AutomationSnapshot$
|
|
1030
1031
|
];
|
|
1032
|
+
var CopilotAudienceList = [1, n2, _CAL,
|
|
1033
|
+
0, () => exports.CopilotAudienceEntry$
|
|
1034
|
+
];
|
|
1035
|
+
var CopilotChannelList = 64 | 0;
|
|
1031
1036
|
var CopilotFeaturesList = [1, n2, _CFL,
|
|
1032
1037
|
0, () => exports.CopilotFeature$
|
|
1033
1038
|
];
|
|
1034
1039
|
var CopilotFieldsList = [1, n2, _CFLo,
|
|
1035
1040
|
0, () => exports.CopilotField$
|
|
1036
1041
|
];
|
|
1037
|
-
var
|
|
1038
|
-
0, () => exports.CopilotGrantPrincipal$
|
|
1039
|
-
];
|
|
1042
|
+
var CopilotStageList = 64 | 0;
|
|
1040
1043
|
var CopilotVariableBindingsList = [1, n2, _CVBL,
|
|
1041
1044
|
0, () => exports.CopilotVariableBinding$
|
|
1042
1045
|
];
|
|
@@ -1086,7 +1089,7 @@ exports.AutomationHandler$ = [4, n2, _AH,
|
|
|
1086
1089
|
];
|
|
1087
1090
|
exports.CardContent$ = [4, n2, _CC,
|
|
1088
1091
|
0,
|
|
1089
|
-
[
|
|
1092
|
+
[_stati, _ag],
|
|
1090
1093
|
[() => exports.CardStaticContent$, () => exports.CardAgentContent$]
|
|
1091
1094
|
];
|
|
1092
1095
|
exports.CopilotFeature$ = [4, n2, _CFo,
|
|
@@ -1099,11 +1102,6 @@ exports.CopilotFieldParameter$ = [4, n2, _CFP,
|
|
|
1099
1102
|
[_te, _mul, _nu, _sel],
|
|
1100
1103
|
[() => exports.CopilotTextParameter$, () => exports.CopilotMultilineParameter$, () => exports.CopilotNumberParameter$, () => exports.CopilotSelectionParameter$]
|
|
1101
1104
|
];
|
|
1102
|
-
exports.CopilotGrantPrincipal$ = [4, n2, _CGP,
|
|
1103
|
-
0,
|
|
1104
|
-
[_uI, _gI],
|
|
1105
|
-
[0, 0]
|
|
1106
|
-
];
|
|
1107
1105
|
exports.PlaybookCompletionCriteria$ = [4, n2, _PCC,
|
|
1108
1106
|
0,
|
|
1109
1107
|
[_man, _sem],
|
|
@@ -1125,10 +1123,10 @@ exports.AttachProfileResource$ = [9, n2, _APR,
|
|
|
1125
1123
|
exports.CompareProfileVersions$ = [9, n2, _CPV,
|
|
1126
1124
|
{ [_ht]: ["GET", "/v2/copilot/profiles/{profileId}/compare-versions", 200] }, () => exports.CompareProfileVersionsInput$, () => exports.CompareProfileVersionsOutput$
|
|
1127
1125
|
];
|
|
1128
|
-
exports.CreateAsset$ = [9, n2,
|
|
1126
|
+
exports.CreateAsset$ = [9, n2, _CA,
|
|
1129
1127
|
{ [_ht]: ["POST", "/v2/copilot/assets", 200] }, () => exports.CreateAssetInput$, () => exports.CreateAssetOutput$
|
|
1130
1128
|
];
|
|
1131
|
-
exports.CreateAutomation$ = [9, n2,
|
|
1129
|
+
exports.CreateAutomation$ = [9, n2, _CAr,
|
|
1132
1130
|
{ [_ht]: ["POST", "/v2/copilot/automations", 200] }, () => exports.CreateAutomationInput$, () => exports.CreateAutomationOutput$
|
|
1133
1131
|
];
|
|
1134
1132
|
exports.CreateEvaluation$ = [9, n2, _CEr,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -48,19 +48,34 @@ export const ContextualKnowledgeSource = {
|
|
|
48
48
|
AGENT: "agent",
|
|
49
49
|
KNOWLEDGE_BASES: "knowledge_bases",
|
|
50
50
|
};
|
|
51
|
-
export const
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
export const CopilotAudienceKind = {
|
|
52
|
+
AGENT: "agent",
|
|
53
|
+
DEPARTMENT: "department",
|
|
54
|
+
GROUP: "group",
|
|
55
|
+
QUEUE: "queue",
|
|
56
|
+
SERVICE: "service",
|
|
57
|
+
TRUNK: "trunk",
|
|
58
|
+
USER: "user",
|
|
54
59
|
};
|
|
55
60
|
export const CopilotChannel = {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
61
|
+
CALL: "call",
|
|
62
|
+
CHAT: "chat",
|
|
63
|
+
CONFERENCE: "conference",
|
|
64
|
+
};
|
|
65
|
+
export const CopilotStage = {
|
|
66
|
+
AFTER: "after",
|
|
67
|
+
BEFORE: "before",
|
|
68
|
+
DURING: "during",
|
|
59
69
|
};
|
|
60
70
|
export const ProfileStatus = {
|
|
61
71
|
ACTIVE: "active",
|
|
62
72
|
DRAFT: "draft",
|
|
63
73
|
};
|
|
74
|
+
export const CopilotSpeaker = {
|
|
75
|
+
AGENT: "agent",
|
|
76
|
+
ANYONE: "anyone",
|
|
77
|
+
CUSTOMER: "customer",
|
|
78
|
+
};
|
|
64
79
|
export const EvaluationWindow = {
|
|
65
80
|
FULL_TRANSCRIPT: "full_transcript",
|
|
66
81
|
NEW_TRANSCRIPT: "new_transcript",
|