@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
|
@@ -19,14 +19,15 @@ const _ASLu = "AutomationSnapshotsList";
|
|
|
19
19
|
const _ASu = "AutomationSnapshot";
|
|
20
20
|
const _As = "Asset";
|
|
21
21
|
const _Au = "Automation";
|
|
22
|
-
const _CA = "
|
|
22
|
+
const _CA = "CreateAsset";
|
|
23
23
|
const _CAC = "CardAgentContent";
|
|
24
|
+
const _CAE = "CopilotAudienceEntry";
|
|
24
25
|
const _CAI = "CreateAssetInput";
|
|
25
26
|
const _CAIr = "CreateAutomationInput";
|
|
27
|
+
const _CAL = "CopilotAudienceList";
|
|
26
28
|
const _CAO = "CreateAssetOutput";
|
|
27
29
|
const _CAOr = "CreateAutomationOutput";
|
|
28
|
-
const _CAr = "
|
|
29
|
-
const _CAre = "CreateAutomation";
|
|
30
|
+
const _CAr = "CreateAutomation";
|
|
30
31
|
const _CC = "CardContent";
|
|
31
32
|
const _CE = "ConflictException";
|
|
32
33
|
const _CEI = "CreateEvaluationInput";
|
|
@@ -38,8 +39,6 @@ const _CFL = "CopilotFeaturesList";
|
|
|
38
39
|
const _CFLo = "CopilotFieldsList";
|
|
39
40
|
const _CFP = "CopilotFieldParameter";
|
|
40
41
|
const _CFo = "CopilotFeature";
|
|
41
|
-
const _CGP = "CopilotGrantPrincipal";
|
|
42
|
-
const _CGPL = "CopilotGrantPrincipalList";
|
|
43
42
|
const _CI = "CreateIntent";
|
|
44
43
|
const _CII = "CreateIntentInput";
|
|
45
44
|
const _CIO = "CreateIntentOutput";
|
|
@@ -199,8 +198,7 @@ const _aIu = "automationId";
|
|
|
199
198
|
const _aM = "aiMatch";
|
|
200
199
|
const _aME = "aiMatchEnabled";
|
|
201
200
|
const _aO = "adaptiveOptions";
|
|
202
|
-
const _ac = "
|
|
203
|
-
const _act = "action";
|
|
201
|
+
const _ac = "action";
|
|
204
202
|
const _ad = "adaptive";
|
|
205
203
|
const _af = "after";
|
|
206
204
|
const _ag = "agent";
|
|
@@ -208,6 +206,7 @@ const _as = "asset";
|
|
|
208
206
|
const _ass = "assets";
|
|
209
207
|
const _assi = "assignee";
|
|
210
208
|
const _au = "automation";
|
|
209
|
+
const _aud = "audience";
|
|
211
210
|
const _aut = "automations";
|
|
212
211
|
const _b = "before";
|
|
213
212
|
const _c = "client";
|
|
@@ -220,8 +219,9 @@ const _cR = "currentRevision";
|
|
|
220
219
|
const _cT = "contentType";
|
|
221
220
|
const _ca = "card";
|
|
222
221
|
const _ch = "changes";
|
|
223
|
-
const _cha = "
|
|
224
|
-
const _chan = "
|
|
222
|
+
const _cha = "channels";
|
|
223
|
+
const _chan = "channel";
|
|
224
|
+
const _chang = "changelog";
|
|
225
225
|
const _co = "company";
|
|
226
226
|
const _con = "conditions";
|
|
227
227
|
const _cont = "content";
|
|
@@ -247,9 +247,7 @@ const _fea = "feature";
|
|
|
247
247
|
const _fi = "fields";
|
|
248
248
|
const _fr = "from";
|
|
249
249
|
const _g = "goal";
|
|
250
|
-
const
|
|
251
|
-
const _gr = "grants";
|
|
252
|
-
const _gro = "group";
|
|
250
|
+
const _gr = "group";
|
|
253
251
|
const _h = "handler";
|
|
254
252
|
const _hE = "httpError";
|
|
255
253
|
const _hQ = "httpQuery";
|
|
@@ -269,6 +267,7 @@ const _inte = "intents";
|
|
|
269
267
|
const _inter = "interval";
|
|
270
268
|
const _k = "key";
|
|
271
269
|
const _kBI = "knowledgeBaseIds";
|
|
270
|
+
const _ki = "kind";
|
|
272
271
|
const _kn = "knowledge";
|
|
273
272
|
const _l = "limit";
|
|
274
273
|
const _lV = "latestVersion";
|
|
@@ -312,6 +311,7 @@ const _re = "resource";
|
|
|
312
311
|
const _req = "required";
|
|
313
312
|
const _s = "smithy.ts.sdk.synthetic.wildix.wilma.copilot";
|
|
314
313
|
const _sA = "smartAction";
|
|
314
|
+
const _sB = "saidBy";
|
|
315
315
|
const _se = "selectors";
|
|
316
316
|
const _sea = "search";
|
|
317
317
|
const _sel = "selection";
|
|
@@ -322,8 +322,10 @@ const _sev = "severity";
|
|
|
322
322
|
const _so = "sources";
|
|
323
323
|
const _sou = "source";
|
|
324
324
|
const _st = "sticky";
|
|
325
|
-
const _sta = "
|
|
326
|
-
const
|
|
325
|
+
const _sta = "stages";
|
|
326
|
+
const _stag = "stage";
|
|
327
|
+
const _stat = "status";
|
|
328
|
+
const _stati = "static";
|
|
327
329
|
const _ste = "steps";
|
|
328
330
|
const _su = "subtitle";
|
|
329
331
|
const _sub = "subscriptions";
|
|
@@ -342,13 +344,12 @@ const _tra = "transfer";
|
|
|
342
344
|
const _u = "url";
|
|
343
345
|
const _uA = "updatedAt";
|
|
344
346
|
const _uB = "updatedBy";
|
|
345
|
-
const _uI = "userId";
|
|
346
347
|
const _v = "variables";
|
|
347
|
-
const _va = "
|
|
348
|
+
const _va = "values";
|
|
348
349
|
const _val = "value";
|
|
350
|
+
const _var = "variant";
|
|
349
351
|
const _ve = "version";
|
|
350
352
|
const _ver = "versions";
|
|
351
|
-
const _vi = "visibility";
|
|
352
353
|
const _w = "window";
|
|
353
354
|
const n0 = "smithy.framework";
|
|
354
355
|
const n1 = "wildix.wilma.common";
|
|
@@ -507,10 +508,10 @@ export var ContextualKnowledgeAnswersFeatureConfiguration$ = [3, n2, _CKAFC,
|
|
|
507
508
|
[_sou, _mo, _kBI, _aI],
|
|
508
509
|
[0, 0, 64 | 0, 0], 2
|
|
509
510
|
];
|
|
510
|
-
export var
|
|
511
|
+
export var CopilotAudienceEntry$ = [3, n2, _CAE,
|
|
511
512
|
0,
|
|
512
|
-
[
|
|
513
|
-
[0,
|
|
513
|
+
[_ki, _va],
|
|
514
|
+
[0, 64 | 0], 2
|
|
514
515
|
];
|
|
515
516
|
export var CopilotField$ = [3, n2, _CF,
|
|
516
517
|
0,
|
|
@@ -539,7 +540,7 @@ export var CopilotTextParameter$ = [3, n2, _CTP,
|
|
|
539
540
|
];
|
|
540
541
|
export var CopilotVariableBinding$ = [3, n2, _CVB,
|
|
541
542
|
0,
|
|
542
|
-
[_n,
|
|
543
|
+
[_n, _var, _t, _o, _d, _val],
|
|
543
544
|
[0, 0, 0, 2, 0, 0], 2
|
|
544
545
|
];
|
|
545
546
|
export var CreateAssetInput$ = [3, n2, _CAI,
|
|
@@ -584,8 +585,8 @@ export var CreateIntentOutput$ = [3, n2, _CIO,
|
|
|
584
585
|
];
|
|
585
586
|
export var CreateProfileInput$ = [3, n2, _CPI,
|
|
586
587
|
0,
|
|
587
|
-
[_n,
|
|
588
|
-
[0, 0,
|
|
588
|
+
[_n, _d, _aud, _sta, _cha, _con, _fe, _ass, _inte, _eval, _aut, _co],
|
|
589
|
+
[0, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, [0, { [_hQ]: _co }]], 1
|
|
589
590
|
];
|
|
590
591
|
export var CreateProfileOutput$ = [3, n2, _CPO,
|
|
591
592
|
0,
|
|
@@ -749,13 +750,13 @@ export var Intent$ = [3, n2, _I,
|
|
|
749
750
|
];
|
|
750
751
|
export var IntentAiMatch$ = [3, n2, _IAM,
|
|
751
752
|
0,
|
|
752
|
-
[
|
|
753
|
-
[
|
|
753
|
+
[_in, _fi],
|
|
754
|
+
[0, () => CopilotFieldsList]
|
|
754
755
|
];
|
|
755
756
|
export var IntentHandlers$ = [3, n2, _IH,
|
|
756
757
|
0,
|
|
757
|
-
[_tM, _aM],
|
|
758
|
-
[() => IntentTextMatch$, () => IntentAiMatch
|
|
758
|
+
[_tM, _aM, _sB],
|
|
759
|
+
[() => IntentTextMatch$, () => IntentAiMatch$, 0]
|
|
759
760
|
];
|
|
760
761
|
export var IntentInfo$ = [3, n2, _II,
|
|
761
762
|
0,
|
|
@@ -769,8 +770,8 @@ export var IntentSnapshot$ = [3, n2, _IS,
|
|
|
769
770
|
];
|
|
770
771
|
export var IntentTextMatch$ = [3, n2, _ITM,
|
|
771
772
|
0,
|
|
772
|
-
[
|
|
773
|
-
[
|
|
773
|
+
[_op],
|
|
774
|
+
[() => IntentTextMatchOptionsList]
|
|
774
775
|
];
|
|
775
776
|
export var IntentTextMatchOption$ = [3, n2, _ITMO,
|
|
776
777
|
0,
|
|
@@ -799,8 +800,8 @@ export var ListAutomationsOutput$ = [3, n2, _LAOi,
|
|
|
799
800
|
];
|
|
800
801
|
export var ListEvaluationsInput$ = [3, n2, _LEI,
|
|
801
802
|
0,
|
|
802
|
-
[_co,
|
|
803
|
-
[[0, { [_hQ]: _co }], [0, { [_hQ]:
|
|
803
|
+
[_co, _gr, _sea, _l, _cu],
|
|
804
|
+
[[0, { [_hQ]: _co }], [0, { [_hQ]: _gr }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
|
|
804
805
|
];
|
|
805
806
|
export var ListEvaluationsOutput$ = [3, n2, _LEO,
|
|
806
807
|
0,
|
|
@@ -819,8 +820,8 @@ export var ListIntentsOutput$ = [3, n2, _LIO,
|
|
|
819
820
|
];
|
|
820
821
|
export var ListProfilesInput$ = [3, n2, _LPI,
|
|
821
822
|
0,
|
|
822
|
-
[_co,
|
|
823
|
-
[[0, { [_hQ]: _co }], [0, { [_hQ]:
|
|
823
|
+
[_co, _stat, _chan, _stag, _sea, _l, _cu],
|
|
824
|
+
[[0, { [_hQ]: _co }], [0, { [_hQ]: _stat }], [0, { [_hQ]: _chan }], [0, { [_hQ]: _stag }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
|
|
824
825
|
];
|
|
825
826
|
export var ListProfilesOutput$ = [3, n2, _LPO,
|
|
826
827
|
0,
|
|
@@ -864,22 +865,22 @@ export var PlaybookStep$ = [3, n2, _PS,
|
|
|
864
865
|
];
|
|
865
866
|
export var Profile$ = [3, n2, _P,
|
|
866
867
|
0,
|
|
867
|
-
[_n,
|
|
868
|
-
[0, 0,
|
|
868
|
+
[_n, _cA, _cB, _i, _stat, _r, _li, _d, _aud, _sta, _cha, _con, _fe, _ass, _inte, _eval, _aut, _uA, _uB, _lV, _dBV],
|
|
869
|
+
[0, 0, () => Actor$, 0, 0, 1, 2, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, () => Actor$, 1, 1], 7
|
|
869
870
|
];
|
|
870
871
|
export var ProfileDefinitionSnapshot$ = [3, n2, _PDS,
|
|
871
872
|
0,
|
|
872
|
-
[_n,
|
|
873
|
-
[0,
|
|
873
|
+
[_n, _inte, _eval, _aut, _ass, _d, _aud, _sta, _cha, _con, _fe],
|
|
874
|
+
[0, () => IntentSnapshotsList, () => EvaluationSnapshotsList, () => AutomationSnapshotsList, () => AssetSnapshotsList, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, () => CopilotFeaturesList], 5
|
|
874
875
|
];
|
|
875
876
|
export var ProfileInfo$ = [3, n2, _PI,
|
|
876
877
|
0,
|
|
877
|
-
[_cA, _cB, _i, _n,
|
|
878
|
-
[0, () => Actor$, 0, 0, 0,
|
|
878
|
+
[_cA, _cB, _i, _n, _stat, _li, _uA, _uB, _d, _aud, _sta, _cha, _lV, _iC, _eC, _aCu, _aCs],
|
|
879
|
+
[0, () => Actor$, 0, 0, 0, 2, 0, () => Actor$, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 1, 1, 1, 1, 1], 6
|
|
879
880
|
];
|
|
880
881
|
export var ProfileVersion$ = [3, n2, _PV,
|
|
881
882
|
0,
|
|
882
|
-
[_pI, _ve, _def, _pA, _pB,
|
|
883
|
+
[_pI, _ve, _def, _pA, _pB, _chang],
|
|
883
884
|
[0, 1, () => ProfileDefinitionSnapshot$, 0, () => Actor$, 0], 5
|
|
884
885
|
];
|
|
885
886
|
export var ProfileVersionChange$ = [3, n2, _PVC,
|
|
@@ -889,12 +890,12 @@ export var ProfileVersionChange$ = [3, n2, _PVC,
|
|
|
889
890
|
];
|
|
890
891
|
export var ProfileVersionInfo$ = [3, n2, _PVI,
|
|
891
892
|
0,
|
|
892
|
-
[_pI, _ve, _pA, _pB,
|
|
893
|
+
[_pI, _ve, _pA, _pB, _chang, _la],
|
|
893
894
|
[0, 1, 0, () => Actor$, 0, 2], 4
|
|
894
895
|
];
|
|
895
896
|
export var PublishProfileVersionInput$ = [3, n2, _PPVI,
|
|
896
897
|
0,
|
|
897
|
-
[_pI, _r, _co,
|
|
898
|
+
[_pI, _r, _co, _chang],
|
|
898
899
|
[[0, 1], 1, [0, { [_hQ]: _co }], 0], 2
|
|
899
900
|
];
|
|
900
901
|
export var PublishProfileVersionOutput$ = [3, n2, _PPVO,
|
|
@@ -924,7 +925,7 @@ export var SmartActionHandover$ = [3, n2, _SAH,
|
|
|
924
925
|
];
|
|
925
926
|
export var SmartActionItem$ = [3, n2, _SAI,
|
|
926
927
|
0,
|
|
927
|
-
[_i, _lab,
|
|
928
|
+
[_i, _lab, _ac, _d],
|
|
928
929
|
[0, 0, () => SmartAction$, 0], 3
|
|
929
930
|
];
|
|
930
931
|
export var SmartActionOpenUrl$ = [3, n2, _SAOU,
|
|
@@ -994,8 +995,8 @@ export var UpdateIntentOutput$ = [3, n2, _UIO,
|
|
|
994
995
|
];
|
|
995
996
|
export var UpdateProfileInput$ = [3, n2, _UPI,
|
|
996
997
|
0,
|
|
997
|
-
[_n,
|
|
998
|
-
[0,
|
|
998
|
+
[_n, _pI, _r, _d, _aud, _sta, _cha, _con, _co],
|
|
999
|
+
[0, [0, 1], 1, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, [0, { [_hQ]: _co }]], 3
|
|
999
1000
|
];
|
|
1000
1001
|
export var UpdateProfileOutput$ = [3, n2, _UPO,
|
|
1001
1002
|
0,
|
|
@@ -1022,15 +1023,17 @@ var AutomationInfoList = [1, n2, _AILu,
|
|
|
1022
1023
|
var AutomationSnapshotsList = [1, n2, _ASLu,
|
|
1023
1024
|
0, () => AutomationSnapshot$
|
|
1024
1025
|
];
|
|
1026
|
+
var CopilotAudienceList = [1, n2, _CAL,
|
|
1027
|
+
0, () => CopilotAudienceEntry$
|
|
1028
|
+
];
|
|
1029
|
+
var CopilotChannelList = 64 | 0;
|
|
1025
1030
|
var CopilotFeaturesList = [1, n2, _CFL,
|
|
1026
1031
|
0, () => CopilotFeature$
|
|
1027
1032
|
];
|
|
1028
1033
|
var CopilotFieldsList = [1, n2, _CFLo,
|
|
1029
1034
|
0, () => CopilotField$
|
|
1030
1035
|
];
|
|
1031
|
-
var
|
|
1032
|
-
0, () => CopilotGrantPrincipal$
|
|
1033
|
-
];
|
|
1036
|
+
var CopilotStageList = 64 | 0;
|
|
1034
1037
|
var CopilotVariableBindingsList = [1, n2, _CVBL,
|
|
1035
1038
|
0, () => CopilotVariableBinding$
|
|
1036
1039
|
];
|
|
@@ -1080,7 +1083,7 @@ export var AutomationHandler$ = [4, n2, _AH,
|
|
|
1080
1083
|
];
|
|
1081
1084
|
export var CardContent$ = [4, n2, _CC,
|
|
1082
1085
|
0,
|
|
1083
|
-
[
|
|
1086
|
+
[_stati, _ag],
|
|
1084
1087
|
[() => CardStaticContent$, () => CardAgentContent$]
|
|
1085
1088
|
];
|
|
1086
1089
|
export var CopilotFeature$ = [4, n2, _CFo,
|
|
@@ -1093,11 +1096,6 @@ export var CopilotFieldParameter$ = [4, n2, _CFP,
|
|
|
1093
1096
|
[_te, _mul, _nu, _sel],
|
|
1094
1097
|
[() => CopilotTextParameter$, () => CopilotMultilineParameter$, () => CopilotNumberParameter$, () => CopilotSelectionParameter$]
|
|
1095
1098
|
];
|
|
1096
|
-
export var CopilotGrantPrincipal$ = [4, n2, _CGP,
|
|
1097
|
-
0,
|
|
1098
|
-
[_uI, _gI],
|
|
1099
|
-
[0, 0]
|
|
1100
|
-
];
|
|
1101
1099
|
export var PlaybookCompletionCriteria$ = [4, n2, _PCC,
|
|
1102
1100
|
0,
|
|
1103
1101
|
[_man, _sem],
|
|
@@ -1119,10 +1117,10 @@ export var AttachProfileResource$ = [9, n2, _APR,
|
|
|
1119
1117
|
export var CompareProfileVersions$ = [9, n2, _CPV,
|
|
1120
1118
|
{ [_ht]: ["GET", "/v2/copilot/profiles/{profileId}/compare-versions", 200] }, () => CompareProfileVersionsInput$, () => CompareProfileVersionsOutput$
|
|
1121
1119
|
];
|
|
1122
|
-
export var CreateAsset$ = [9, n2,
|
|
1120
|
+
export var CreateAsset$ = [9, n2, _CA,
|
|
1123
1121
|
{ [_ht]: ["POST", "/v2/copilot/assets", 200] }, () => CreateAssetInput$, () => CreateAssetOutput$
|
|
1124
1122
|
];
|
|
1125
|
-
export var CreateAutomation$ = [9, n2,
|
|
1123
|
+
export var CreateAutomation$ = [9, n2, _CAr,
|
|
1126
1124
|
{ [_ht]: ["POST", "/v2/copilot/automations", 200] }, () => CreateAutomationInput$, () => CreateAutomationOutput$
|
|
1127
1125
|
];
|
|
1128
1126
|
export var CreateEvaluation$ = [9, n2, _CEr,
|
|
@@ -67,17 +67,21 @@ declare const AttachProfileResourceCommand_base: {
|
|
|
67
67
|
* // profile: { // Profile
|
|
68
68
|
* // name: "STRING_VALUE", // required
|
|
69
69
|
* // description: "STRING_VALUE",
|
|
70
|
-
* //
|
|
70
|
+
* // audience: [ // CopilotAudienceList
|
|
71
|
+
* // { // CopilotAudienceEntry
|
|
72
|
+
* // kind: "user" || "group" || "department" || "agent" || "queue" || "service" || "trunk", // required
|
|
73
|
+
* // values: [ // StringList // required
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // stages: [ // CopilotStageList
|
|
79
|
+
* // "before" || "during" || "after",
|
|
80
|
+
* // ],
|
|
81
|
+
* // channels: [ // CopilotChannelList
|
|
82
|
+
* // "call" || "conference" || "chat",
|
|
83
|
+
* // ],
|
|
71
84
|
* // conditions: "DOCUMENT_VALUE",
|
|
72
|
-
* // access: { // CopilotAccess
|
|
73
|
-
* // visibility: "explicit" || "organization",
|
|
74
|
-
* // grants: [ // CopilotGrantPrincipalList
|
|
75
|
-
* // { // CopilotGrantPrincipal Union: only one key present
|
|
76
|
-
* // userId: "STRING_VALUE",
|
|
77
|
-
* // groupId: "STRING_VALUE",
|
|
78
|
-
* // },
|
|
79
|
-
* // ],
|
|
80
|
-
* // },
|
|
81
85
|
* // features: [ // CopilotFeaturesList
|
|
82
86
|
* // { // CopilotFeature Union: only one key present
|
|
83
87
|
* // csat: {},
|
|
@@ -41,7 +41,6 @@ declare const CreateIntentCommand_base: {
|
|
|
41
41
|
* description: "STRING_VALUE",
|
|
42
42
|
* handlers: { // IntentHandlers
|
|
43
43
|
* textMatch: { // IntentTextMatch
|
|
44
|
-
* enabled: true || false, // required
|
|
45
44
|
* options: [ // IntentTextMatchOptionsList
|
|
46
45
|
* { // IntentTextMatchOption
|
|
47
46
|
* id: "STRING_VALUE", // required
|
|
@@ -51,7 +50,6 @@ declare const CreateIntentCommand_base: {
|
|
|
51
50
|
* ],
|
|
52
51
|
* },
|
|
53
52
|
* aiMatch: { // IntentAiMatch
|
|
54
|
-
* enabled: true || false, // required
|
|
55
53
|
* instructions: "STRING_VALUE",
|
|
56
54
|
* fields: [ // CopilotFieldsList
|
|
57
55
|
* { // CopilotField
|
|
@@ -88,6 +86,7 @@ declare const CreateIntentCommand_base: {
|
|
|
88
86
|
* },
|
|
89
87
|
* ],
|
|
90
88
|
* },
|
|
89
|
+
* saidBy: "anyone" || "agent" || "customer",
|
|
91
90
|
* },
|
|
92
91
|
* conditions: "DOCUMENT_VALUE",
|
|
93
92
|
* company: "STRING_VALUE",
|
|
@@ -100,7 +99,6 @@ declare const CreateIntentCommand_base: {
|
|
|
100
99
|
* // description: "STRING_VALUE",
|
|
101
100
|
* // handlers: { // IntentHandlers
|
|
102
101
|
* // textMatch: { // IntentTextMatch
|
|
103
|
-
* // enabled: true || false, // required
|
|
104
102
|
* // options: [ // IntentTextMatchOptionsList
|
|
105
103
|
* // { // IntentTextMatchOption
|
|
106
104
|
* // id: "STRING_VALUE", // required
|
|
@@ -110,7 +108,6 @@ declare const CreateIntentCommand_base: {
|
|
|
110
108
|
* // ],
|
|
111
109
|
* // },
|
|
112
110
|
* // aiMatch: { // IntentAiMatch
|
|
113
|
-
* // enabled: true || false, // required
|
|
114
111
|
* // instructions: "STRING_VALUE",
|
|
115
112
|
* // fields: [ // CopilotFieldsList
|
|
116
113
|
* // { // CopilotField
|
|
@@ -147,6 +144,7 @@ declare const CreateIntentCommand_base: {
|
|
|
147
144
|
* // },
|
|
148
145
|
* // ],
|
|
149
146
|
* // },
|
|
147
|
+
* // saidBy: "anyone" || "agent" || "customer",
|
|
150
148
|
* // },
|
|
151
149
|
* // conditions: "DOCUMENT_VALUE",
|
|
152
150
|
* // createdAt: "STRING_VALUE", // required
|
|
@@ -39,17 +39,21 @@ declare const CreateProfileCommand_base: {
|
|
|
39
39
|
* const input = { // CreateProfileInput
|
|
40
40
|
* name: "STRING_VALUE", // required
|
|
41
41
|
* description: "STRING_VALUE",
|
|
42
|
-
*
|
|
42
|
+
* audience: [ // CopilotAudienceList
|
|
43
|
+
* { // CopilotAudienceEntry
|
|
44
|
+
* kind: "user" || "group" || "department" || "agent" || "queue" || "service" || "trunk", // required
|
|
45
|
+
* values: [ // StringList // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* stages: [ // CopilotStageList
|
|
51
|
+
* "before" || "during" || "after",
|
|
52
|
+
* ],
|
|
53
|
+
* channels: [ // CopilotChannelList
|
|
54
|
+
* "call" || "conference" || "chat",
|
|
55
|
+
* ],
|
|
43
56
|
* conditions: "DOCUMENT_VALUE",
|
|
44
|
-
* access: { // CopilotAccess
|
|
45
|
-
* visibility: "explicit" || "organization",
|
|
46
|
-
* grants: [ // CopilotGrantPrincipalList
|
|
47
|
-
* { // CopilotGrantPrincipal Union: only one key present
|
|
48
|
-
* userId: "STRING_VALUE",
|
|
49
|
-
* groupId: "STRING_VALUE",
|
|
50
|
-
* },
|
|
51
|
-
* ],
|
|
52
|
-
* },
|
|
53
57
|
* features: [ // CopilotFeaturesList
|
|
54
58
|
* { // CopilotFeature Union: only one key present
|
|
55
59
|
* csat: {},
|
|
@@ -86,17 +90,21 @@ declare const CreateProfileCommand_base: {
|
|
|
86
90
|
* // profile: { // Profile
|
|
87
91
|
* // name: "STRING_VALUE", // required
|
|
88
92
|
* // description: "STRING_VALUE",
|
|
89
|
-
* //
|
|
93
|
+
* // audience: [ // CopilotAudienceList
|
|
94
|
+
* // { // CopilotAudienceEntry
|
|
95
|
+
* // kind: "user" || "group" || "department" || "agent" || "queue" || "service" || "trunk", // required
|
|
96
|
+
* // values: [ // StringList // required
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // },
|
|
100
|
+
* // ],
|
|
101
|
+
* // stages: [ // CopilotStageList
|
|
102
|
+
* // "before" || "during" || "after",
|
|
103
|
+
* // ],
|
|
104
|
+
* // channels: [ // CopilotChannelList
|
|
105
|
+
* // "call" || "conference" || "chat",
|
|
106
|
+
* // ],
|
|
90
107
|
* // conditions: "DOCUMENT_VALUE",
|
|
91
|
-
* // access: { // CopilotAccess
|
|
92
|
-
* // visibility: "explicit" || "organization",
|
|
93
|
-
* // grants: [ // CopilotGrantPrincipalList
|
|
94
|
-
* // { // CopilotGrantPrincipal Union: only one key present
|
|
95
|
-
* // userId: "STRING_VALUE",
|
|
96
|
-
* // groupId: "STRING_VALUE",
|
|
97
|
-
* // },
|
|
98
|
-
* // ],
|
|
99
|
-
* // },
|
|
100
108
|
* // features: [ // CopilotFeaturesList
|
|
101
109
|
* // { // CopilotFeature Union: only one key present
|
|
102
110
|
* // csat: {},
|
|
@@ -49,17 +49,21 @@ declare const DeleteProfileResourceCommand_base: {
|
|
|
49
49
|
* // profile: { // Profile
|
|
50
50
|
* // name: "STRING_VALUE", // required
|
|
51
51
|
* // description: "STRING_VALUE",
|
|
52
|
-
* //
|
|
52
|
+
* // audience: [ // CopilotAudienceList
|
|
53
|
+
* // { // CopilotAudienceEntry
|
|
54
|
+
* // kind: "user" || "group" || "department" || "agent" || "queue" || "service" || "trunk", // required
|
|
55
|
+
* // values: [ // StringList // required
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // ],
|
|
60
|
+
* // stages: [ // CopilotStageList
|
|
61
|
+
* // "before" || "during" || "after",
|
|
62
|
+
* // ],
|
|
63
|
+
* // channels: [ // CopilotChannelList
|
|
64
|
+
* // "call" || "conference" || "chat",
|
|
65
|
+
* // ],
|
|
53
66
|
* // conditions: "DOCUMENT_VALUE",
|
|
54
|
-
* // access: { // CopilotAccess
|
|
55
|
-
* // visibility: "explicit" || "organization",
|
|
56
|
-
* // grants: [ // CopilotGrantPrincipalList
|
|
57
|
-
* // { // CopilotGrantPrincipal Union: only one key present
|
|
58
|
-
* // userId: "STRING_VALUE",
|
|
59
|
-
* // groupId: "STRING_VALUE",
|
|
60
|
-
* // },
|
|
61
|
-
* // ],
|
|
62
|
-
* // },
|
|
63
67
|
* // features: [ // CopilotFeaturesList
|
|
64
68
|
* // { // CopilotFeature Union: only one key present
|
|
65
69
|
* // csat: {},
|
|
@@ -48,7 +48,6 @@ declare const GetIntentCommand_base: {
|
|
|
48
48
|
* // description: "STRING_VALUE",
|
|
49
49
|
* // handlers: { // IntentHandlers
|
|
50
50
|
* // textMatch: { // IntentTextMatch
|
|
51
|
-
* // enabled: true || false, // required
|
|
52
51
|
* // options: [ // IntentTextMatchOptionsList
|
|
53
52
|
* // { // IntentTextMatchOption
|
|
54
53
|
* // id: "STRING_VALUE", // required
|
|
@@ -58,7 +57,6 @@ declare const GetIntentCommand_base: {
|
|
|
58
57
|
* // ],
|
|
59
58
|
* // },
|
|
60
59
|
* // aiMatch: { // IntentAiMatch
|
|
61
|
-
* // enabled: true || false, // required
|
|
62
60
|
* // instructions: "STRING_VALUE",
|
|
63
61
|
* // fields: [ // CopilotFieldsList
|
|
64
62
|
* // { // CopilotField
|
|
@@ -95,6 +93,7 @@ declare const GetIntentCommand_base: {
|
|
|
95
93
|
* // },
|
|
96
94
|
* // ],
|
|
97
95
|
* // },
|
|
96
|
+
* // saidBy: "anyone" || "agent" || "customer",
|
|
98
97
|
* // },
|
|
99
98
|
* // conditions: "DOCUMENT_VALUE",
|
|
100
99
|
* // createdAt: "STRING_VALUE", // required
|
|
@@ -46,17 +46,21 @@ declare const GetProfileCommand_base: {
|
|
|
46
46
|
* // profile: { // Profile
|
|
47
47
|
* // name: "STRING_VALUE", // required
|
|
48
48
|
* // description: "STRING_VALUE",
|
|
49
|
-
* //
|
|
49
|
+
* // audience: [ // CopilotAudienceList
|
|
50
|
+
* // { // CopilotAudienceEntry
|
|
51
|
+
* // kind: "user" || "group" || "department" || "agent" || "queue" || "service" || "trunk", // required
|
|
52
|
+
* // values: [ // StringList // required
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // stages: [ // CopilotStageList
|
|
58
|
+
* // "before" || "during" || "after",
|
|
59
|
+
* // ],
|
|
60
|
+
* // channels: [ // CopilotChannelList
|
|
61
|
+
* // "call" || "conference" || "chat",
|
|
62
|
+
* // ],
|
|
50
63
|
* // conditions: "DOCUMENT_VALUE",
|
|
51
|
-
* // access: { // CopilotAccess
|
|
52
|
-
* // visibility: "explicit" || "organization",
|
|
53
|
-
* // grants: [ // CopilotGrantPrincipalList
|
|
54
|
-
* // { // CopilotGrantPrincipal Union: only one key present
|
|
55
|
-
* // userId: "STRING_VALUE",
|
|
56
|
-
* // groupId: "STRING_VALUE",
|
|
57
|
-
* // },
|
|
58
|
-
* // ],
|
|
59
|
-
* // },
|
|
60
64
|
* // features: [ // CopilotFeaturesList
|
|
61
65
|
* // { // CopilotFeature Union: only one key present
|
|
62
66
|
* // csat: {},
|
|
@@ -51,17 +51,21 @@ declare const GetProfileVersionCommand_base: {
|
|
|
51
51
|
* // definition: { // ProfileDefinitionSnapshot
|
|
52
52
|
* // name: "STRING_VALUE", // required
|
|
53
53
|
* // description: "STRING_VALUE",
|
|
54
|
-
* //
|
|
54
|
+
* // audience: [ // CopilotAudienceList
|
|
55
|
+
* // { // CopilotAudienceEntry
|
|
56
|
+
* // kind: "user" || "group" || "department" || "agent" || "queue" || "service" || "trunk", // required
|
|
57
|
+
* // values: [ // StringList // required
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // stages: [ // CopilotStageList
|
|
63
|
+
* // "before" || "during" || "after",
|
|
64
|
+
* // ],
|
|
65
|
+
* // channels: [ // CopilotChannelList
|
|
66
|
+
* // "call" || "conference" || "chat",
|
|
67
|
+
* // ],
|
|
55
68
|
* // conditions: "DOCUMENT_VALUE",
|
|
56
|
-
* // access: { // CopilotAccess
|
|
57
|
-
* // visibility: "explicit" || "organization",
|
|
58
|
-
* // grants: [ // CopilotGrantPrincipalList
|
|
59
|
-
* // { // CopilotGrantPrincipal Union: only one key present
|
|
60
|
-
* // userId: "STRING_VALUE",
|
|
61
|
-
* // groupId: "STRING_VALUE",
|
|
62
|
-
* // },
|
|
63
|
-
* // ],
|
|
64
|
-
* // },
|
|
65
69
|
* // features: [ // CopilotFeaturesList
|
|
66
70
|
* // { // CopilotFeature Union: only one key present
|
|
67
71
|
* // csat: {},
|
|
@@ -84,7 +88,6 @@ declare const GetProfileVersionCommand_base: {
|
|
|
84
88
|
* // description: "STRING_VALUE",
|
|
85
89
|
* // handlers: { // IntentHandlers
|
|
86
90
|
* // textMatch: { // IntentTextMatch
|
|
87
|
-
* // enabled: true || false, // required
|
|
88
91
|
* // options: [ // IntentTextMatchOptionsList
|
|
89
92
|
* // { // IntentTextMatchOption
|
|
90
93
|
* // id: "STRING_VALUE", // required
|
|
@@ -94,7 +97,6 @@ declare const GetProfileVersionCommand_base: {
|
|
|
94
97
|
* // ],
|
|
95
98
|
* // },
|
|
96
99
|
* // aiMatch: { // IntentAiMatch
|
|
97
|
-
* // enabled: true || false, // required
|
|
98
100
|
* // instructions: "STRING_VALUE",
|
|
99
101
|
* // fields: [ // CopilotFieldsList
|
|
100
102
|
* // { // CopilotField
|
|
@@ -104,7 +106,7 @@ declare const GetProfileVersionCommand_base: {
|
|
|
104
106
|
* // optional: true || false,
|
|
105
107
|
* // parameter: { // CopilotFieldParameter Union: only one key present
|
|
106
108
|
* // text: { // CopilotTextParameter
|
|
107
|
-
* // examples: [
|
|
109
|
+
* // examples: [
|
|
108
110
|
* // "STRING_VALUE",
|
|
109
111
|
* // ],
|
|
110
112
|
* // },
|
|
@@ -131,6 +133,7 @@ declare const GetProfileVersionCommand_base: {
|
|
|
131
133
|
* // },
|
|
132
134
|
* // ],
|
|
133
135
|
* // },
|
|
136
|
+
* // saidBy: "anyone" || "agent" || "customer",
|
|
134
137
|
* // },
|
|
135
138
|
* // conditions: "DOCUMENT_VALUE",
|
|
136
139
|
* // id: "STRING_VALUE", // required
|
|
@@ -149,9 +152,7 @@ declare const GetProfileVersionCommand_base: {
|
|
|
149
152
|
* // optional: true || false,
|
|
150
153
|
* // parameter: {// Union: only one key present
|
|
151
154
|
* // text: {
|
|
152
|
-
* // examples:
|
|
153
|
-
* // "STRING_VALUE",
|
|
154
|
-
* // ],
|
|
155
|
+
* // examples: "<StringList>",
|
|
155
156
|
* // },
|
|
156
157
|
* // multiline: {
|
|
157
158
|
* // examples: "<StringList>",
|
|
@@ -39,7 +39,8 @@ declare const ListProfilesCommand_base: {
|
|
|
39
39
|
* const input = { // ListProfilesInput
|
|
40
40
|
* company: "STRING_VALUE",
|
|
41
41
|
* status: "draft" || "active",
|
|
42
|
-
* channel: "
|
|
42
|
+
* channel: "call" || "conference" || "chat",
|
|
43
|
+
* stage: "before" || "during" || "after",
|
|
43
44
|
* search: "STRING_VALUE",
|
|
44
45
|
* limit: Number("int"),
|
|
45
46
|
* cursor: "STRING_VALUE",
|
|
@@ -64,7 +65,20 @@ declare const ListProfilesCommand_base: {
|
|
|
64
65
|
* // id: "STRING_VALUE", // required
|
|
65
66
|
* // name: "STRING_VALUE", // required
|
|
66
67
|
* // description: "STRING_VALUE",
|
|
67
|
-
* //
|
|
68
|
+
* // audience: [ // CopilotAudienceList
|
|
69
|
+
* // { // CopilotAudienceEntry
|
|
70
|
+
* // kind: "user" || "group" || "department" || "agent" || "queue" || "service" || "trunk", // required
|
|
71
|
+
* // values: [ // StringList // required
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // ],
|
|
76
|
+
* // stages: [ // CopilotStageList
|
|
77
|
+
* // "before" || "during" || "after",
|
|
78
|
+
* // ],
|
|
79
|
+
* // channels: [ // CopilotChannelList
|
|
80
|
+
* // "call" || "conference" || "chat",
|
|
81
|
+
* // ],
|
|
68
82
|
* // status: "draft" || "active", // required
|
|
69
83
|
* // live: true || false, // required
|
|
70
84
|
* // latestVersion: Number("int"),
|