@wildix/wilma-copilot-client 1.0.19 → 1.0.21

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.
Files changed (33) hide show
  1. package/dist-cjs/WilmaCopilot.js +4 -0
  2. package/dist-cjs/commands/DisableProfileCommand.js +20 -0
  3. package/dist-cjs/commands/EnableProfileCommand.js +20 -0
  4. package/dist-cjs/commands/index.js +2 -0
  5. package/dist-cjs/models/enums.js +22 -7
  6. package/dist-cjs/schemas/schemas_0.js +90 -60
  7. package/dist-es/WilmaCopilot.js +4 -0
  8. package/dist-es/commands/DisableProfileCommand.js +16 -0
  9. package/dist-es/commands/EnableProfileCommand.js +16 -0
  10. package/dist-es/commands/index.js +2 -0
  11. package/dist-es/models/enums.js +21 -6
  12. package/dist-es/schemas/schemas_0.js +86 -56
  13. package/dist-types/WilmaCopilot.d.ts +14 -0
  14. package/dist-types/WilmaCopilotClient.d.ts +4 -2
  15. package/dist-types/commands/AttachProfileResourceCommand.d.ts +14 -10
  16. package/dist-types/commands/CreateIntentCommand.d.ts +2 -4
  17. package/dist-types/commands/CreateProfileCommand.d.ts +28 -20
  18. package/dist-types/commands/DeleteProfileResourceCommand.d.ts +14 -10
  19. package/dist-types/commands/DisableProfileCommand.d.ts +145 -0
  20. package/dist-types/commands/EnableProfileCommand.d.ts +145 -0
  21. package/dist-types/commands/GetIntentCommand.d.ts +1 -2
  22. package/dist-types/commands/GetProfileCommand.d.ts +14 -10
  23. package/dist-types/commands/GetProfileVersionCommand.d.ts +17 -16
  24. package/dist-types/commands/ListProfilesCommand.d.ts +16 -2
  25. package/dist-types/commands/PublishProfileVersionCommand.d.ts +17 -16
  26. package/dist-types/commands/RestoreProfileVersionToDraftCommand.d.ts +14 -10
  27. package/dist-types/commands/UpdateIntentCommand.d.ts +2 -4
  28. package/dist-types/commands/UpdateProfileCommand.d.ts +28 -20
  29. package/dist-types/commands/index.d.ts +2 -0
  30. package/dist-types/models/enums.d.ts +40 -9
  31. package/dist-types/models/models_0.d.ts +178 -79
  32. package/dist-types/schemas/schemas_0.d.ts +7 -2
  33. 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 = "CopilotAccess";
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 = "CreateAsset";
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";
@@ -71,14 +70,20 @@ const _DII = "DeleteIntentInput";
71
70
  const _DIO = "DeleteIntentOutput";
72
71
  const _DP = "DeleteProfile";
73
72
  const _DPI = "DeleteProfileInput";
73
+ const _DPIi = "DisableProfileInput";
74
74
  const _DPO = "DeleteProfileOutput";
75
+ const _DPOi = "DisableProfileOutput";
75
76
  const _DPR = "DeleteProfileResource";
76
77
  const _DPRI = "DeleteProfileResourceInput";
77
78
  const _DPRO = "DeleteProfileResourceOutput";
79
+ const _DPi = "DisableProfile";
78
80
  const _E = "Evaluation";
79
81
  const _EI = "EvaluationInfo";
80
82
  const _EIL = "EvaluationInfoList";
81
83
  const _EIT = "EvaluationIntervalTrigger";
84
+ const _EP = "EnableProfile";
85
+ const _EPI = "EnableProfileInput";
86
+ const _EPO = "EnableProfileOutput";
82
87
  const _ES = "EvaluationSnapshot";
83
88
  const _ESL = "EvaluationSnapshotsList";
84
89
  const _ET = "EvaluationTriggers";
@@ -199,8 +204,7 @@ const _aIu = "automationId";
199
204
  const _aM = "aiMatch";
200
205
  const _aME = "aiMatchEnabled";
201
206
  const _aO = "adaptiveOptions";
202
- const _ac = "access";
203
- const _act = "action";
207
+ const _ac = "action";
204
208
  const _ad = "adaptive";
205
209
  const _af = "after";
206
210
  const _ag = "agent";
@@ -208,6 +212,7 @@ const _as = "asset";
208
212
  const _ass = "assets";
209
213
  const _assi = "assignee";
210
214
  const _au = "automation";
215
+ const _aud = "audience";
211
216
  const _aut = "automations";
212
217
  const _b = "before";
213
218
  const _c = "client";
@@ -220,8 +225,9 @@ const _cR = "currentRevision";
220
225
  const _cT = "contentType";
221
226
  const _ca = "card";
222
227
  const _ch = "changes";
223
- const _cha = "channel";
224
- const _chan = "changelog";
228
+ const _cha = "channels";
229
+ const _chan = "channel";
230
+ const _chang = "changelog";
225
231
  const _co = "company";
226
232
  const _con = "conditions";
227
233
  const _cont = "content";
@@ -247,9 +253,7 @@ const _fea = "feature";
247
253
  const _fi = "fields";
248
254
  const _fr = "from";
249
255
  const _g = "goal";
250
- const _gI = "groupId";
251
- const _gr = "grants";
252
- const _gro = "group";
256
+ const _gr = "group";
253
257
  const _h = "handler";
254
258
  const _hE = "httpError";
255
259
  const _hQ = "httpQuery";
@@ -269,6 +273,7 @@ const _inte = "intents";
269
273
  const _inter = "interval";
270
274
  const _k = "key";
271
275
  const _kBI = "knowledgeBaseIds";
276
+ const _ki = "kind";
272
277
  const _kn = "knowledge";
273
278
  const _l = "limit";
274
279
  const _lV = "latestVersion";
@@ -312,6 +317,7 @@ const _re = "resource";
312
317
  const _req = "required";
313
318
  const _s = "smithy.ts.sdk.synthetic.wildix.wilma.copilot";
314
319
  const _sA = "smartAction";
320
+ const _sB = "saidBy";
315
321
  const _se = "selectors";
316
322
  const _sea = "search";
317
323
  const _sel = "selection";
@@ -322,8 +328,10 @@ const _sev = "severity";
322
328
  const _so = "sources";
323
329
  const _sou = "source";
324
330
  const _st = "sticky";
325
- const _sta = "status";
326
- const _stat = "static";
331
+ const _sta = "stages";
332
+ const _stag = "stage";
333
+ const _stat = "status";
334
+ const _stati = "static";
327
335
  const _ste = "steps";
328
336
  const _su = "subtitle";
329
337
  const _sub = "subscriptions";
@@ -342,13 +350,12 @@ const _tra = "transfer";
342
350
  const _u = "url";
343
351
  const _uA = "updatedAt";
344
352
  const _uB = "updatedBy";
345
- const _uI = "userId";
346
353
  const _v = "variables";
347
- const _va = "variant";
354
+ const _va = "values";
348
355
  const _val = "value";
356
+ const _var = "variant";
349
357
  const _ve = "version";
350
358
  const _ver = "versions";
351
- const _vi = "visibility";
352
359
  const _w = "window";
353
360
  const n0 = "smithy.framework";
354
361
  const n1 = "wildix.wilma.common";
@@ -507,10 +514,10 @@ export var ContextualKnowledgeAnswersFeatureConfiguration$ = [3, n2, _CKAFC,
507
514
  [_sou, _mo, _kBI, _aI],
508
515
  [0, 0, 64 | 0, 0], 2
509
516
  ];
510
- export var CopilotAccess$ = [3, n2, _CA,
517
+ export var CopilotAudienceEntry$ = [3, n2, _CAE,
511
518
  0,
512
- [_vi, _gr],
513
- [0, () => CopilotGrantPrincipalList]
519
+ [_ki, _va],
520
+ [0, 64 | 0], 2
514
521
  ];
515
522
  export var CopilotField$ = [3, n2, _CF,
516
523
  0,
@@ -539,7 +546,7 @@ export var CopilotTextParameter$ = [3, n2, _CTP,
539
546
  ];
540
547
  export var CopilotVariableBinding$ = [3, n2, _CVB,
541
548
  0,
542
- [_n, _va, _t, _o, _d, _val],
549
+ [_n, _var, _t, _o, _d, _val],
543
550
  [0, 0, 0, 2, 0, 0], 2
544
551
  ];
545
552
  export var CreateAssetInput$ = [3, n2, _CAI,
@@ -584,8 +591,8 @@ export var CreateIntentOutput$ = [3, n2, _CIO,
584
591
  ];
585
592
  export var CreateProfileInput$ = [3, n2, _CPI,
586
593
  0,
587
- [_n, _cha, _d, _con, _ac, _fe, _ass, _inte, _eval, _aut, _co],
588
- [0, 0, 0, 15, () => CopilotAccess$, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, [0, { [_hQ]: _co }]], 2
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
589
596
  ];
590
597
  export var CreateProfileOutput$ = [3, n2, _CPO,
591
598
  0,
@@ -657,6 +664,26 @@ export var DeleteProfileResourceOutput$ = [3, n2, _DPRO,
657
664
  [_pr],
658
665
  [() => Profile$], 1
659
666
  ];
667
+ export var DisableProfileInput$ = [3, n2, _DPIi,
668
+ 0,
669
+ [_pI, _co],
670
+ [[0, 1], [0, { [_hQ]: _co }]], 1
671
+ ];
672
+ export var DisableProfileOutput$ = [3, n2, _DPOi,
673
+ 0,
674
+ [_pr],
675
+ [() => Profile$], 1
676
+ ];
677
+ export var EnableProfileInput$ = [3, n2, _EPI,
678
+ 0,
679
+ [_pI, _co],
680
+ [[0, 1], [0, { [_hQ]: _co }]], 1
681
+ ];
682
+ export var EnableProfileOutput$ = [3, n2, _EPO,
683
+ 0,
684
+ [_pr],
685
+ [() => Profile$], 1
686
+ ];
660
687
  export var Evaluation$ = [3, n2, _E,
661
688
  0,
662
689
  [_n, _in, _tr, _w, _cA, _cB, _i, _r, _d, _fi, _mod, _con, _uA, _uB],
@@ -749,13 +776,13 @@ export var Intent$ = [3, n2, _I,
749
776
  ];
750
777
  export var IntentAiMatch$ = [3, n2, _IAM,
751
778
  0,
752
- [_en, _in, _fi],
753
- [2, 0, () => CopilotFieldsList], 1
779
+ [_in, _fi],
780
+ [0, () => CopilotFieldsList]
754
781
  ];
755
782
  export var IntentHandlers$ = [3, n2, _IH,
756
783
  0,
757
- [_tM, _aM],
758
- [() => IntentTextMatch$, () => IntentAiMatch$], 2
784
+ [_tM, _aM, _sB],
785
+ [() => IntentTextMatch$, () => IntentAiMatch$, 0]
759
786
  ];
760
787
  export var IntentInfo$ = [3, n2, _II,
761
788
  0,
@@ -769,8 +796,8 @@ export var IntentSnapshot$ = [3, n2, _IS,
769
796
  ];
770
797
  export var IntentTextMatch$ = [3, n2, _ITM,
771
798
  0,
772
- [_en, _op],
773
- [2, () => IntentTextMatchOptionsList], 1
799
+ [_op],
800
+ [() => IntentTextMatchOptionsList]
774
801
  ];
775
802
  export var IntentTextMatchOption$ = [3, n2, _ITMO,
776
803
  0,
@@ -799,8 +826,8 @@ export var ListAutomationsOutput$ = [3, n2, _LAOi,
799
826
  ];
800
827
  export var ListEvaluationsInput$ = [3, n2, _LEI,
801
828
  0,
802
- [_co, _gro, _sea, _l, _cu],
803
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _gro }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
829
+ [_co, _gr, _sea, _l, _cu],
830
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _gr }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
804
831
  ];
805
832
  export var ListEvaluationsOutput$ = [3, n2, _LEO,
806
833
  0,
@@ -819,8 +846,8 @@ export var ListIntentsOutput$ = [3, n2, _LIO,
819
846
  ];
820
847
  export var ListProfilesInput$ = [3, n2, _LPI,
821
848
  0,
822
- [_co, _sta, _cha, _sea, _l, _cu],
823
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _sta }], [0, { [_hQ]: _cha }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
849
+ [_co, _stat, _chan, _stag, _sea, _l, _cu],
850
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _stat }], [0, { [_hQ]: _chan }], [0, { [_hQ]: _stag }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
824
851
  ];
825
852
  export var ListProfilesOutput$ = [3, n2, _LPO,
826
853
  0,
@@ -864,22 +891,22 @@ export var PlaybookStep$ = [3, n2, _PS,
864
891
  ];
865
892
  export var Profile$ = [3, n2, _P,
866
893
  0,
867
- [_n, _cha, _cA, _cB, _i, _sta, _r, _li, _d, _con, _ac, _fe, _ass, _inte, _eval, _aut, _uA, _uB, _lV, _dBV],
868
- [0, 0, 0, () => Actor$, 0, 0, 1, 2, 0, 15, () => CopilotAccess$, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, () => Actor$, 1, 1], 8
894
+ [_n, _cA, _cB, _i, _stat, _r, _li, _d, _aud, _sta, _cha, _con, _fe, _ass, _inte, _eval, _aut, _uA, _uB, _lV, _dBV],
895
+ [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
896
  ];
870
897
  export var ProfileDefinitionSnapshot$ = [3, n2, _PDS,
871
898
  0,
872
- [_n, _cha, _inte, _eval, _aut, _ass, _d, _con, _ac, _fe],
873
- [0, 0, () => IntentSnapshotsList, () => EvaluationSnapshotsList, () => AutomationSnapshotsList, () => AssetSnapshotsList, 0, 15, () => CopilotAccess$, () => CopilotFeaturesList], 6
899
+ [_n, _inte, _eval, _aut, _ass, _d, _aud, _sta, _cha, _con, _fe],
900
+ [0, () => IntentSnapshotsList, () => EvaluationSnapshotsList, () => AutomationSnapshotsList, () => AssetSnapshotsList, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, () => CopilotFeaturesList], 5
874
901
  ];
875
902
  export var ProfileInfo$ = [3, n2, _PI,
876
903
  0,
877
- [_cA, _cB, _i, _n, _cha, _sta, _li, _uA, _uB, _d, _lV, _iC, _eC, _aCu, _aCs],
878
- [0, () => Actor$, 0, 0, 0, 0, 2, 0, () => Actor$, 0, 1, 1, 1, 1, 1], 7
904
+ [_cA, _cB, _i, _n, _stat, _li, _uA, _uB, _d, _aud, _sta, _cha, _lV, _iC, _eC, _aCu, _aCs],
905
+ [0, () => Actor$, 0, 0, 0, 2, 0, () => Actor$, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 1, 1, 1, 1, 1], 6
879
906
  ];
880
907
  export var ProfileVersion$ = [3, n2, _PV,
881
908
  0,
882
- [_pI, _ve, _def, _pA, _pB, _chan],
909
+ [_pI, _ve, _def, _pA, _pB, _chang],
883
910
  [0, 1, () => ProfileDefinitionSnapshot$, 0, () => Actor$, 0], 5
884
911
  ];
885
912
  export var ProfileVersionChange$ = [3, n2, _PVC,
@@ -889,12 +916,12 @@ export var ProfileVersionChange$ = [3, n2, _PVC,
889
916
  ];
890
917
  export var ProfileVersionInfo$ = [3, n2, _PVI,
891
918
  0,
892
- [_pI, _ve, _pA, _pB, _chan, _la],
919
+ [_pI, _ve, _pA, _pB, _chang, _la],
893
920
  [0, 1, 0, () => Actor$, 0, 2], 4
894
921
  ];
895
922
  export var PublishProfileVersionInput$ = [3, n2, _PPVI,
896
923
  0,
897
- [_pI, _r, _co, _chan],
924
+ [_pI, _r, _co, _chang],
898
925
  [[0, 1], 1, [0, { [_hQ]: _co }], 0], 2
899
926
  ];
900
927
  export var PublishProfileVersionOutput$ = [3, n2, _PPVO,
@@ -924,7 +951,7 @@ export var SmartActionHandover$ = [3, n2, _SAH,
924
951
  ];
925
952
  export var SmartActionItem$ = [3, n2, _SAI,
926
953
  0,
927
- [_i, _lab, _act, _d],
954
+ [_i, _lab, _ac, _d],
928
955
  [0, 0, () => SmartAction$, 0], 3
929
956
  ];
930
957
  export var SmartActionOpenUrl$ = [3, n2, _SAOU,
@@ -994,8 +1021,8 @@ export var UpdateIntentOutput$ = [3, n2, _UIO,
994
1021
  ];
995
1022
  export var UpdateProfileInput$ = [3, n2, _UPI,
996
1023
  0,
997
- [_n, _cha, _pI, _r, _d, _con, _ac, _co],
998
- [0, 0, [0, 1], 1, 0, 15, () => CopilotAccess$, [0, { [_hQ]: _co }]], 4
1024
+ [_n, _pI, _r, _d, _aud, _sta, _cha, _con, _co],
1025
+ [0, [0, 1], 1, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, [0, { [_hQ]: _co }]], 3
999
1026
  ];
1000
1027
  export var UpdateProfileOutput$ = [3, n2, _UPO,
1001
1028
  0,
@@ -1022,15 +1049,17 @@ var AutomationInfoList = [1, n2, _AILu,
1022
1049
  var AutomationSnapshotsList = [1, n2, _ASLu,
1023
1050
  0, () => AutomationSnapshot$
1024
1051
  ];
1052
+ var CopilotAudienceList = [1, n2, _CAL,
1053
+ 0, () => CopilotAudienceEntry$
1054
+ ];
1055
+ var CopilotChannelList = 64 | 0;
1025
1056
  var CopilotFeaturesList = [1, n2, _CFL,
1026
1057
  0, () => CopilotFeature$
1027
1058
  ];
1028
1059
  var CopilotFieldsList = [1, n2, _CFLo,
1029
1060
  0, () => CopilotField$
1030
1061
  ];
1031
- var CopilotGrantPrincipalList = [1, n2, _CGPL,
1032
- 0, () => CopilotGrantPrincipal$
1033
- ];
1062
+ var CopilotStageList = 64 | 0;
1034
1063
  var CopilotVariableBindingsList = [1, n2, _CVBL,
1035
1064
  0, () => CopilotVariableBinding$
1036
1065
  ];
@@ -1080,7 +1109,7 @@ export var AutomationHandler$ = [4, n2, _AH,
1080
1109
  ];
1081
1110
  export var CardContent$ = [4, n2, _CC,
1082
1111
  0,
1083
- [_stat, _ag],
1112
+ [_stati, _ag],
1084
1113
  [() => CardStaticContent$, () => CardAgentContent$]
1085
1114
  ];
1086
1115
  export var CopilotFeature$ = [4, n2, _CFo,
@@ -1093,11 +1122,6 @@ export var CopilotFieldParameter$ = [4, n2, _CFP,
1093
1122
  [_te, _mul, _nu, _sel],
1094
1123
  [() => CopilotTextParameter$, () => CopilotMultilineParameter$, () => CopilotNumberParameter$, () => CopilotSelectionParameter$]
1095
1124
  ];
1096
- export var CopilotGrantPrincipal$ = [4, n2, _CGP,
1097
- 0,
1098
- [_uI, _gI],
1099
- [0, 0]
1100
- ];
1101
1125
  export var PlaybookCompletionCriteria$ = [4, n2, _PCC,
1102
1126
  0,
1103
1127
  [_man, _sem],
@@ -1119,10 +1143,10 @@ export var AttachProfileResource$ = [9, n2, _APR,
1119
1143
  export var CompareProfileVersions$ = [9, n2, _CPV,
1120
1144
  { [_ht]: ["GET", "/v2/copilot/profiles/{profileId}/compare-versions", 200] }, () => CompareProfileVersionsInput$, () => CompareProfileVersionsOutput$
1121
1145
  ];
1122
- export var CreateAsset$ = [9, n2, _CAr,
1146
+ export var CreateAsset$ = [9, n2, _CA,
1123
1147
  { [_ht]: ["POST", "/v2/copilot/assets", 200] }, () => CreateAssetInput$, () => CreateAssetOutput$
1124
1148
  ];
1125
- export var CreateAutomation$ = [9, n2, _CAre,
1149
+ export var CreateAutomation$ = [9, n2, _CAr,
1126
1150
  { [_ht]: ["POST", "/v2/copilot/automations", 200] }, () => CreateAutomationInput$, () => CreateAutomationOutput$
1127
1151
  ];
1128
1152
  export var CreateEvaluation$ = [9, n2, _CEr,
@@ -1152,6 +1176,12 @@ export var DeleteProfile$ = [9, n2, _DP,
1152
1176
  export var DeleteProfileResource$ = [9, n2, _DPR,
1153
1177
  { [_ht]: ["DELETE", "/v2/copilot/profiles/{profileId}/resources/{resourceType}/{resourceId}", 200] }, () => DeleteProfileResourceInput$, () => DeleteProfileResourceOutput$
1154
1178
  ];
1179
+ export var DisableProfile$ = [9, n2, _DPi,
1180
+ { [_ht]: ["PATCH", "/v2/copilot/profiles/{profileId}/disable", 200] }, () => DisableProfileInput$, () => DisableProfileOutput$
1181
+ ];
1182
+ export var EnableProfile$ = [9, n2, _EP,
1183
+ { [_ht]: ["PATCH", "/v2/copilot/profiles/{profileId}/enable", 200] }, () => EnableProfileInput$, () => EnableProfileOutput$
1184
+ ];
1155
1185
  export var GetAsset$ = [9, n2, _GA,
1156
1186
  { [_ht]: ["GET", "/v2/copilot/assets/{assetId}", 200] }, () => GetAssetInput$, () => GetAssetOutput$
1157
1187
  ];
@@ -12,6 +12,8 @@ import { type DeleteEvaluationCommandInput, type DeleteEvaluationCommandOutput }
12
12
  import { type DeleteIntentCommandInput, type DeleteIntentCommandOutput } from "./commands/DeleteIntentCommand";
13
13
  import { type DeleteProfileCommandInput, type DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
14
14
  import { type DeleteProfileResourceCommandInput, type DeleteProfileResourceCommandOutput } from "./commands/DeleteProfileResourceCommand";
15
+ import { type DisableProfileCommandInput, type DisableProfileCommandOutput } from "./commands/DisableProfileCommand";
16
+ import { type EnableProfileCommandInput, type EnableProfileCommandOutput } from "./commands/EnableProfileCommand";
15
17
  import { type GetAssetCommandInput, type GetAssetCommandOutput } from "./commands/GetAssetCommand";
16
18
  import { type GetAutomationCommandInput, type GetAutomationCommandOutput } from "./commands/GetAutomationCommand";
17
19
  import { type GetEvaluationCommandInput, type GetEvaluationCommandOutput } from "./commands/GetEvaluationCommand";
@@ -112,6 +114,18 @@ export interface WilmaCopilot {
112
114
  deleteProfileResource(args: DeleteProfileResourceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfileResourceCommandOutput>;
113
115
  deleteProfileResource(args: DeleteProfileResourceCommandInput, cb: (err: any, data?: DeleteProfileResourceCommandOutput) => void): void;
114
116
  deleteProfileResource(args: DeleteProfileResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileResourceCommandOutput) => void): void;
117
+ /**
118
+ * @see {@link DisableProfileCommand}
119
+ */
120
+ disableProfile(args: DisableProfileCommandInput, options?: __HttpHandlerOptions): Promise<DisableProfileCommandOutput>;
121
+ disableProfile(args: DisableProfileCommandInput, cb: (err: any, data?: DisableProfileCommandOutput) => void): void;
122
+ disableProfile(args: DisableProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableProfileCommandOutput) => void): void;
123
+ /**
124
+ * @see {@link EnableProfileCommand}
125
+ */
126
+ enableProfile(args: EnableProfileCommandInput, options?: __HttpHandlerOptions): Promise<EnableProfileCommandOutput>;
127
+ enableProfile(args: EnableProfileCommandInput, cb: (err: any, data?: EnableProfileCommandOutput) => void): void;
128
+ enableProfile(args: EnableProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableProfileCommandOutput) => void): void;
115
129
  /**
116
130
  * @see {@link GetAssetCommand}
117
131
  */
@@ -18,6 +18,8 @@ import type { DeleteEvaluationCommandInput, DeleteEvaluationCommandOutput } from
18
18
  import type { DeleteIntentCommandInput, DeleteIntentCommandOutput } from "./commands/DeleteIntentCommand";
19
19
  import type { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
20
20
  import type { DeleteProfileResourceCommandInput, DeleteProfileResourceCommandOutput } from "./commands/DeleteProfileResourceCommand";
21
+ import type { DisableProfileCommandInput, DisableProfileCommandOutput } from "./commands/DisableProfileCommand";
22
+ import type { EnableProfileCommandInput, EnableProfileCommandOutput } from "./commands/EnableProfileCommand";
21
23
  import type { GetAssetCommandInput, GetAssetCommandOutput } from "./commands/GetAssetCommand";
22
24
  import type { GetAutomationCommandInput, GetAutomationCommandOutput } from "./commands/GetAutomationCommand";
23
25
  import type { GetEvaluationCommandInput, GetEvaluationCommandOutput } from "./commands/GetEvaluationCommand";
@@ -44,11 +46,11 @@ export { __Client };
44
46
  /**
45
47
  * @public
46
48
  */
47
- export type ServiceInputTypes = AttachProfileResourceCommandInput | CompareProfileVersionsCommandInput | CreateAssetCommandInput | CreateAutomationCommandInput | CreateEvaluationCommandInput | CreateIntentCommandInput | CreateProfileCommandInput | DeleteAssetCommandInput | DeleteAutomationCommandInput | DeleteEvaluationCommandInput | DeleteIntentCommandInput | DeleteProfileCommandInput | DeleteProfileResourceCommandInput | GetAssetCommandInput | GetAutomationCommandInput | GetEvaluationCommandInput | GetIntentCommandInput | GetProfileCommandInput | GetProfileVersionCommandInput | ListAssetsCommandInput | ListAutomationsCommandInput | ListEvaluationsCommandInput | ListIntentsCommandInput | ListProfileVersionsCommandInput | ListProfilesCommandInput | ListSubscriptionsCommandInput | PublishProfileVersionCommandInput | RestoreProfileVersionToDraftCommandInput | UpdateAssetCommandInput | UpdateAutomationCommandInput | UpdateEvaluationCommandInput | UpdateIntentCommandInput | UpdateProfileCommandInput;
49
+ export type ServiceInputTypes = AttachProfileResourceCommandInput | CompareProfileVersionsCommandInput | CreateAssetCommandInput | CreateAutomationCommandInput | CreateEvaluationCommandInput | CreateIntentCommandInput | CreateProfileCommandInput | DeleteAssetCommandInput | DeleteAutomationCommandInput | DeleteEvaluationCommandInput | DeleteIntentCommandInput | DeleteProfileCommandInput | DeleteProfileResourceCommandInput | DisableProfileCommandInput | EnableProfileCommandInput | GetAssetCommandInput | GetAutomationCommandInput | GetEvaluationCommandInput | GetIntentCommandInput | GetProfileCommandInput | GetProfileVersionCommandInput | ListAssetsCommandInput | ListAutomationsCommandInput | ListEvaluationsCommandInput | ListIntentsCommandInput | ListProfileVersionsCommandInput | ListProfilesCommandInput | ListSubscriptionsCommandInput | PublishProfileVersionCommandInput | RestoreProfileVersionToDraftCommandInput | UpdateAssetCommandInput | UpdateAutomationCommandInput | UpdateEvaluationCommandInput | UpdateIntentCommandInput | UpdateProfileCommandInput;
48
50
  /**
49
51
  * @public
50
52
  */
51
- export type ServiceOutputTypes = AttachProfileResourceCommandOutput | CompareProfileVersionsCommandOutput | CreateAssetCommandOutput | CreateAutomationCommandOutput | CreateEvaluationCommandOutput | CreateIntentCommandOutput | CreateProfileCommandOutput | DeleteAssetCommandOutput | DeleteAutomationCommandOutput | DeleteEvaluationCommandOutput | DeleteIntentCommandOutput | DeleteProfileCommandOutput | DeleteProfileResourceCommandOutput | GetAssetCommandOutput | GetAutomationCommandOutput | GetEvaluationCommandOutput | GetIntentCommandOutput | GetProfileCommandOutput | GetProfileVersionCommandOutput | ListAssetsCommandOutput | ListAutomationsCommandOutput | ListEvaluationsCommandOutput | ListIntentsCommandOutput | ListProfileVersionsCommandOutput | ListProfilesCommandOutput | ListSubscriptionsCommandOutput | PublishProfileVersionCommandOutput | RestoreProfileVersionToDraftCommandOutput | UpdateAssetCommandOutput | UpdateAutomationCommandOutput | UpdateEvaluationCommandOutput | UpdateIntentCommandOutput | UpdateProfileCommandOutput;
53
+ export type ServiceOutputTypes = AttachProfileResourceCommandOutput | CompareProfileVersionsCommandOutput | CreateAssetCommandOutput | CreateAutomationCommandOutput | CreateEvaluationCommandOutput | CreateIntentCommandOutput | CreateProfileCommandOutput | DeleteAssetCommandOutput | DeleteAutomationCommandOutput | DeleteEvaluationCommandOutput | DeleteIntentCommandOutput | DeleteProfileCommandOutput | DeleteProfileResourceCommandOutput | DisableProfileCommandOutput | EnableProfileCommandOutput | GetAssetCommandOutput | GetAutomationCommandOutput | GetEvaluationCommandOutput | GetIntentCommandOutput | GetProfileCommandOutput | GetProfileVersionCommandOutput | ListAssetsCommandOutput | ListAutomationsCommandOutput | ListEvaluationsCommandOutput | ListIntentsCommandOutput | ListProfileVersionsCommandOutput | ListProfilesCommandOutput | ListSubscriptionsCommandOutput | PublishProfileVersionCommandOutput | RestoreProfileVersionToDraftCommandOutput | UpdateAssetCommandOutput | UpdateAutomationCommandOutput | UpdateEvaluationCommandOutput | UpdateIntentCommandOutput | UpdateProfileCommandOutput;
52
54
  /**
53
55
  * @public
54
56
  */
@@ -67,17 +67,21 @@ declare const AttachProfileResourceCommand_base: {
67
67
  * // profile: { // Profile
68
68
  * // name: "STRING_VALUE", // required
69
69
  * // description: "STRING_VALUE",
70
- * // channel: "calls" || "chats" || "any", // required
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
- * channel: "calls" || "chats" || "any", // required
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
- * // channel: "calls" || "chats" || "any", // required
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
- * // channel: "calls" || "chats" || "any", // required
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: {},