@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
@@ -15,6 +15,8 @@ const DeleteEvaluationCommand_1 = require("./commands/DeleteEvaluationCommand");
15
15
  const DeleteIntentCommand_1 = require("./commands/DeleteIntentCommand");
16
16
  const DeleteProfileCommand_1 = require("./commands/DeleteProfileCommand");
17
17
  const DeleteProfileResourceCommand_1 = require("./commands/DeleteProfileResourceCommand");
18
+ const DisableProfileCommand_1 = require("./commands/DisableProfileCommand");
19
+ const EnableProfileCommand_1 = require("./commands/EnableProfileCommand");
18
20
  const GetAssetCommand_1 = require("./commands/GetAssetCommand");
19
21
  const GetAutomationCommand_1 = require("./commands/GetAutomationCommand");
20
22
  const GetEvaluationCommand_1 = require("./commands/GetEvaluationCommand");
@@ -50,6 +52,8 @@ const commands = {
50
52
  DeleteIntentCommand: DeleteIntentCommand_1.DeleteIntentCommand,
51
53
  DeleteProfileCommand: DeleteProfileCommand_1.DeleteProfileCommand,
52
54
  DeleteProfileResourceCommand: DeleteProfileResourceCommand_1.DeleteProfileResourceCommand,
55
+ DisableProfileCommand: DisableProfileCommand_1.DisableProfileCommand,
56
+ EnableProfileCommand: EnableProfileCommand_1.EnableProfileCommand,
53
57
  GetAssetCommand: GetAssetCommand_1.GetAssetCommand,
54
58
  GetAutomationCommand: GetAutomationCommand_1.GetAutomationCommand,
55
59
  GetEvaluationCommand: GetEvaluationCommand_1.GetEvaluationCommand,
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DisableProfileCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class DisableProfileCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "DisableProfile", {})
16
+ .n("WilmaCopilotClient", "DisableProfileCommand")
17
+ .sc(schemas_0_1.DisableProfile$)
18
+ .build() {
19
+ }
20
+ exports.DisableProfileCommand = DisableProfileCommand;
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EnableProfileCommand = exports.$Command = void 0;
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
6
+ const endpoints_1 = require("@smithy/core/endpoints");
7
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
8
+ const schemas_0_1 = require("../schemas/schemas_0");
9
+ class EnableProfileCommand extends client_1.Command
10
+ .classBuilder()
11
+ .ep(EndpointParameters_1.commonParams)
12
+ .m(function (Command, cs, config, o) {
13
+ return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
14
+ })
15
+ .s("WilmaCopilot", "EnableProfile", {})
16
+ .n("WilmaCopilotClient", "EnableProfileCommand")
17
+ .sc(schemas_0_1.EnableProfile$)
18
+ .build() {
19
+ }
20
+ exports.EnableProfileCommand = EnableProfileCommand;
@@ -14,6 +14,8 @@ tslib_1.__exportStar(require("./DeleteEvaluationCommand"), exports);
14
14
  tslib_1.__exportStar(require("./DeleteIntentCommand"), exports);
15
15
  tslib_1.__exportStar(require("./DeleteProfileCommand"), exports);
16
16
  tslib_1.__exportStar(require("./DeleteProfileResourceCommand"), exports);
17
+ tslib_1.__exportStar(require("./DisableProfileCommand"), exports);
18
+ tslib_1.__exportStar(require("./EnableProfileCommand"), exports);
17
19
  tslib_1.__exportStar(require("./GetAssetCommand"), exports);
18
20
  tslib_1.__exportStar(require("./GetAutomationCommand"), exports);
19
21
  tslib_1.__exportStar(require("./GetEvaluationCommand"), exports);
@@ -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.CopilotVisibility = exports.ContextualKnowledgeSource = exports.ContextualKnowledgeMode = exports.AssetContentType = exports.AssetSeverity = exports.AssetIcon = exports.SmartActionResultMode = exports.SmartActionHandoverVariant = exports.CopilotVariableMode = exports.AutomationOutputMode = exports.ActorType = void 0;
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.CopilotVisibility = {
55
- EXPLICIT: "explicit",
56
- ORGANIZATION: "organization",
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
- ANY: "any",
60
- CALLS: "calls",
61
- CHATS: "chats",
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.CopilotAccess$ = 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
- 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.CopilotGrantPrincipal$ = 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$ = exports.GetAsset$ = void 0;
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
+ 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.EnableProfileOutput$ = exports.EnableProfileInput$ = exports.DisableProfileOutput$ = exports.DisableProfileInput$ = exports.DeleteProfileResourceOutput$ = exports.DeleteProfileResourceInput$ = exports.DeleteProfileOutput$ = exports.DeleteProfileInput$ = exports.DeleteIntentOutput$ = exports.DeleteIntentInput$ = exports.DeleteEvaluationOutput$ = exports.DeleteEvaluationInput$ = exports.DeleteAutomationOutput$ = void 0;
5
+ 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$ = exports.PlaybookStep$ = exports.PlaybookSemanticCompletion$ = exports.PlaybookManualCompletion$ = exports.ListSubscriptionsOutput$ = 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$ = exports.GetAsset$ = exports.EnableProfile$ = exports.DisableProfile$ = exports.DeleteProfileResource$ = exports.DeleteProfile$ = exports.DeleteIntent$ = 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 = "CopilotAccess";
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 = "CreateAsset";
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";
@@ -77,14 +76,20 @@ const _DII = "DeleteIntentInput";
77
76
  const _DIO = "DeleteIntentOutput";
78
77
  const _DP = "DeleteProfile";
79
78
  const _DPI = "DeleteProfileInput";
79
+ const _DPIi = "DisableProfileInput";
80
80
  const _DPO = "DeleteProfileOutput";
81
+ const _DPOi = "DisableProfileOutput";
81
82
  const _DPR = "DeleteProfileResource";
82
83
  const _DPRI = "DeleteProfileResourceInput";
83
84
  const _DPRO = "DeleteProfileResourceOutput";
85
+ const _DPi = "DisableProfile";
84
86
  const _E = "Evaluation";
85
87
  const _EI = "EvaluationInfo";
86
88
  const _EIL = "EvaluationInfoList";
87
89
  const _EIT = "EvaluationIntervalTrigger";
90
+ const _EP = "EnableProfile";
91
+ const _EPI = "EnableProfileInput";
92
+ const _EPO = "EnableProfileOutput";
88
93
  const _ES = "EvaluationSnapshot";
89
94
  const _ESL = "EvaluationSnapshotsList";
90
95
  const _ET = "EvaluationTriggers";
@@ -205,8 +210,7 @@ const _aIu = "automationId";
205
210
  const _aM = "aiMatch";
206
211
  const _aME = "aiMatchEnabled";
207
212
  const _aO = "adaptiveOptions";
208
- const _ac = "access";
209
- const _act = "action";
213
+ const _ac = "action";
210
214
  const _ad = "adaptive";
211
215
  const _af = "after";
212
216
  const _ag = "agent";
@@ -214,6 +218,7 @@ const _as = "asset";
214
218
  const _ass = "assets";
215
219
  const _assi = "assignee";
216
220
  const _au = "automation";
221
+ const _aud = "audience";
217
222
  const _aut = "automations";
218
223
  const _b = "before";
219
224
  const _c = "client";
@@ -226,8 +231,9 @@ const _cR = "currentRevision";
226
231
  const _cT = "contentType";
227
232
  const _ca = "card";
228
233
  const _ch = "changes";
229
- const _cha = "channel";
230
- const _chan = "changelog";
234
+ const _cha = "channels";
235
+ const _chan = "channel";
236
+ const _chang = "changelog";
231
237
  const _co = "company";
232
238
  const _con = "conditions";
233
239
  const _cont = "content";
@@ -253,9 +259,7 @@ const _fea = "feature";
253
259
  const _fi = "fields";
254
260
  const _fr = "from";
255
261
  const _g = "goal";
256
- const _gI = "groupId";
257
- const _gr = "grants";
258
- const _gro = "group";
262
+ const _gr = "group";
259
263
  const _h = "handler";
260
264
  const _hE = "httpError";
261
265
  const _hQ = "httpQuery";
@@ -275,6 +279,7 @@ const _inte = "intents";
275
279
  const _inter = "interval";
276
280
  const _k = "key";
277
281
  const _kBI = "knowledgeBaseIds";
282
+ const _ki = "kind";
278
283
  const _kn = "knowledge";
279
284
  const _l = "limit";
280
285
  const _lV = "latestVersion";
@@ -318,6 +323,7 @@ const _re = "resource";
318
323
  const _req = "required";
319
324
  const _s = "smithy.ts.sdk.synthetic.wildix.wilma.copilot";
320
325
  const _sA = "smartAction";
326
+ const _sB = "saidBy";
321
327
  const _se = "selectors";
322
328
  const _sea = "search";
323
329
  const _sel = "selection";
@@ -328,8 +334,10 @@ const _sev = "severity";
328
334
  const _so = "sources";
329
335
  const _sou = "source";
330
336
  const _st = "sticky";
331
- const _sta = "status";
332
- const _stat = "static";
337
+ const _sta = "stages";
338
+ const _stag = "stage";
339
+ const _stat = "status";
340
+ const _stati = "static";
333
341
  const _ste = "steps";
334
342
  const _su = "subtitle";
335
343
  const _sub = "subscriptions";
@@ -348,13 +356,12 @@ const _tra = "transfer";
348
356
  const _u = "url";
349
357
  const _uA = "updatedAt";
350
358
  const _uB = "updatedBy";
351
- const _uI = "userId";
352
359
  const _v = "variables";
353
- const _va = "variant";
360
+ const _va = "values";
354
361
  const _val = "value";
362
+ const _var = "variant";
355
363
  const _ve = "version";
356
364
  const _ver = "versions";
357
- const _vi = "visibility";
358
365
  const _w = "window";
359
366
  const n0 = "smithy.framework";
360
367
  const n1 = "wildix.wilma.common";
@@ -513,10 +520,10 @@ exports.ContextualKnowledgeAnswersFeatureConfiguration$ = [3, n2, _CKAFC,
513
520
  [_sou, _mo, _kBI, _aI],
514
521
  [0, 0, 64 | 0, 0], 2
515
522
  ];
516
- exports.CopilotAccess$ = [3, n2, _CA,
523
+ exports.CopilotAudienceEntry$ = [3, n2, _CAE,
517
524
  0,
518
- [_vi, _gr],
519
- [0, () => CopilotGrantPrincipalList]
525
+ [_ki, _va],
526
+ [0, 64 | 0], 2
520
527
  ];
521
528
  exports.CopilotField$ = [3, n2, _CF,
522
529
  0,
@@ -545,7 +552,7 @@ exports.CopilotTextParameter$ = [3, n2, _CTP,
545
552
  ];
546
553
  exports.CopilotVariableBinding$ = [3, n2, _CVB,
547
554
  0,
548
- [_n, _va, _t, _o, _d, _val],
555
+ [_n, _var, _t, _o, _d, _val],
549
556
  [0, 0, 0, 2, 0, 0], 2
550
557
  ];
551
558
  exports.CreateAssetInput$ = [3, n2, _CAI,
@@ -590,8 +597,8 @@ exports.CreateIntentOutput$ = [3, n2, _CIO,
590
597
  ];
591
598
  exports.CreateProfileInput$ = [3, n2, _CPI,
592
599
  0,
593
- [_n, _cha, _d, _con, _ac, _fe, _ass, _inte, _eval, _aut, _co],
594
- [0, 0, 0, 15, () => exports.CopilotAccess$, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, [0, { [_hQ]: _co }]], 2
600
+ [_n, _d, _aud, _sta, _cha, _con, _fe, _ass, _inte, _eval, _aut, _co],
601
+ [0, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, [0, { [_hQ]: _co }]], 1
595
602
  ];
596
603
  exports.CreateProfileOutput$ = [3, n2, _CPO,
597
604
  0,
@@ -663,6 +670,26 @@ exports.DeleteProfileResourceOutput$ = [3, n2, _DPRO,
663
670
  [_pr],
664
671
  [() => exports.Profile$], 1
665
672
  ];
673
+ exports.DisableProfileInput$ = [3, n2, _DPIi,
674
+ 0,
675
+ [_pI, _co],
676
+ [[0, 1], [0, { [_hQ]: _co }]], 1
677
+ ];
678
+ exports.DisableProfileOutput$ = [3, n2, _DPOi,
679
+ 0,
680
+ [_pr],
681
+ [() => exports.Profile$], 1
682
+ ];
683
+ exports.EnableProfileInput$ = [3, n2, _EPI,
684
+ 0,
685
+ [_pI, _co],
686
+ [[0, 1], [0, { [_hQ]: _co }]], 1
687
+ ];
688
+ exports.EnableProfileOutput$ = [3, n2, _EPO,
689
+ 0,
690
+ [_pr],
691
+ [() => exports.Profile$], 1
692
+ ];
666
693
  exports.Evaluation$ = [3, n2, _E,
667
694
  0,
668
695
  [_n, _in, _tr, _w, _cA, _cB, _i, _r, _d, _fi, _mod, _con, _uA, _uB],
@@ -755,13 +782,13 @@ exports.Intent$ = [3, n2, _I,
755
782
  ];
756
783
  exports.IntentAiMatch$ = [3, n2, _IAM,
757
784
  0,
758
- [_en, _in, _fi],
759
- [2, 0, () => CopilotFieldsList], 1
785
+ [_in, _fi],
786
+ [0, () => CopilotFieldsList]
760
787
  ];
761
788
  exports.IntentHandlers$ = [3, n2, _IH,
762
789
  0,
763
- [_tM, _aM],
764
- [() => exports.IntentTextMatch$, () => exports.IntentAiMatch$], 2
790
+ [_tM, _aM, _sB],
791
+ [() => exports.IntentTextMatch$, () => exports.IntentAiMatch$, 0]
765
792
  ];
766
793
  exports.IntentInfo$ = [3, n2, _II,
767
794
  0,
@@ -775,8 +802,8 @@ exports.IntentSnapshot$ = [3, n2, _IS,
775
802
  ];
776
803
  exports.IntentTextMatch$ = [3, n2, _ITM,
777
804
  0,
778
- [_en, _op],
779
- [2, () => IntentTextMatchOptionsList], 1
805
+ [_op],
806
+ [() => IntentTextMatchOptionsList]
780
807
  ];
781
808
  exports.IntentTextMatchOption$ = [3, n2, _ITMO,
782
809
  0,
@@ -805,8 +832,8 @@ exports.ListAutomationsOutput$ = [3, n2, _LAOi,
805
832
  ];
806
833
  exports.ListEvaluationsInput$ = [3, n2, _LEI,
807
834
  0,
808
- [_co, _gro, _sea, _l, _cu],
809
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _gro }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
835
+ [_co, _gr, _sea, _l, _cu],
836
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _gr }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
810
837
  ];
811
838
  exports.ListEvaluationsOutput$ = [3, n2, _LEO,
812
839
  0,
@@ -825,8 +852,8 @@ exports.ListIntentsOutput$ = [3, n2, _LIO,
825
852
  ];
826
853
  exports.ListProfilesInput$ = [3, n2, _LPI,
827
854
  0,
828
- [_co, _sta, _cha, _sea, _l, _cu],
829
- [[0, { [_hQ]: _co }], [0, { [_hQ]: _sta }], [0, { [_hQ]: _cha }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
855
+ [_co, _stat, _chan, _stag, _sea, _l, _cu],
856
+ [[0, { [_hQ]: _co }], [0, { [_hQ]: _stat }], [0, { [_hQ]: _chan }], [0, { [_hQ]: _stag }], [0, { [_hQ]: _sea }], [1, { [_hQ]: _l }], [0, { [_hQ]: _cu }]]
830
857
  ];
831
858
  exports.ListProfilesOutput$ = [3, n2, _LPO,
832
859
  0,
@@ -870,22 +897,22 @@ exports.PlaybookStep$ = [3, n2, _PS,
870
897
  ];
871
898
  exports.Profile$ = [3, n2, _P,
872
899
  0,
873
- [_n, _cha, _cA, _cB, _i, _sta, _r, _li, _d, _con, _ac, _fe, _ass, _inte, _eval, _aut, _uA, _uB, _lV, _dBV],
874
- [0, 0, 0, () => exports.Actor$, 0, 0, 1, 2, 0, 15, () => exports.CopilotAccess$, () => CopilotFeaturesList, 64 | 0, 64 | 0, 64 | 0, 64 | 0, 0, () => exports.Actor$, 1, 1], 8
900
+ [_n, _cA, _cB, _i, _stat, _r, _li, _d, _aud, _sta, _cha, _con, _fe, _ass, _inte, _eval, _aut, _uA, _uB, _lV, _dBV],
901
+ [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
902
  ];
876
903
  exports.ProfileDefinitionSnapshot$ = [3, n2, _PDS,
877
904
  0,
878
- [_n, _cha, _inte, _eval, _aut, _ass, _d, _con, _ac, _fe],
879
- [0, 0, () => IntentSnapshotsList, () => EvaluationSnapshotsList, () => AutomationSnapshotsList, () => AssetSnapshotsList, 0, 15, () => exports.CopilotAccess$, () => CopilotFeaturesList], 6
905
+ [_n, _inte, _eval, _aut, _ass, _d, _aud, _sta, _cha, _con, _fe],
906
+ [0, () => IntentSnapshotsList, () => EvaluationSnapshotsList, () => AutomationSnapshotsList, () => AssetSnapshotsList, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, () => CopilotFeaturesList], 5
880
907
  ];
881
908
  exports.ProfileInfo$ = [3, n2, _PI,
882
909
  0,
883
- [_cA, _cB, _i, _n, _cha, _sta, _li, _uA, _uB, _d, _lV, _iC, _eC, _aCu, _aCs],
884
- [0, () => exports.Actor$, 0, 0, 0, 0, 2, 0, () => exports.Actor$, 0, 1, 1, 1, 1, 1], 7
910
+ [_cA, _cB, _i, _n, _stat, _li, _uA, _uB, _d, _aud, _sta, _cha, _lV, _iC, _eC, _aCu, _aCs],
911
+ [0, () => exports.Actor$, 0, 0, 0, 2, 0, () => exports.Actor$, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 1, 1, 1, 1, 1], 6
885
912
  ];
886
913
  exports.ProfileVersion$ = [3, n2, _PV,
887
914
  0,
888
- [_pI, _ve, _def, _pA, _pB, _chan],
915
+ [_pI, _ve, _def, _pA, _pB, _chang],
889
916
  [0, 1, () => exports.ProfileDefinitionSnapshot$, 0, () => exports.Actor$, 0], 5
890
917
  ];
891
918
  exports.ProfileVersionChange$ = [3, n2, _PVC,
@@ -895,12 +922,12 @@ exports.ProfileVersionChange$ = [3, n2, _PVC,
895
922
  ];
896
923
  exports.ProfileVersionInfo$ = [3, n2, _PVI,
897
924
  0,
898
- [_pI, _ve, _pA, _pB, _chan, _la],
925
+ [_pI, _ve, _pA, _pB, _chang, _la],
899
926
  [0, 1, 0, () => exports.Actor$, 0, 2], 4
900
927
  ];
901
928
  exports.PublishProfileVersionInput$ = [3, n2, _PPVI,
902
929
  0,
903
- [_pI, _r, _co, _chan],
930
+ [_pI, _r, _co, _chang],
904
931
  [[0, 1], 1, [0, { [_hQ]: _co }], 0], 2
905
932
  ];
906
933
  exports.PublishProfileVersionOutput$ = [3, n2, _PPVO,
@@ -930,7 +957,7 @@ exports.SmartActionHandover$ = [3, n2, _SAH,
930
957
  ];
931
958
  exports.SmartActionItem$ = [3, n2, _SAI,
932
959
  0,
933
- [_i, _lab, _act, _d],
960
+ [_i, _lab, _ac, _d],
934
961
  [0, 0, () => exports.SmartAction$, 0], 3
935
962
  ];
936
963
  exports.SmartActionOpenUrl$ = [3, n2, _SAOU,
@@ -1000,8 +1027,8 @@ exports.UpdateIntentOutput$ = [3, n2, _UIO,
1000
1027
  ];
1001
1028
  exports.UpdateProfileInput$ = [3, n2, _UPI,
1002
1029
  0,
1003
- [_n, _cha, _pI, _r, _d, _con, _ac, _co],
1004
- [0, 0, [0, 1], 1, 0, 15, () => exports.CopilotAccess$, [0, { [_hQ]: _co }]], 4
1030
+ [_n, _pI, _r, _d, _aud, _sta, _cha, _con, _co],
1031
+ [0, [0, 1], 1, 0, () => CopilotAudienceList, 64 | 0, 64 | 0, 15, [0, { [_hQ]: _co }]], 3
1005
1032
  ];
1006
1033
  exports.UpdateProfileOutput$ = [3, n2, _UPO,
1007
1034
  0,
@@ -1028,15 +1055,17 @@ var AutomationInfoList = [1, n2, _AILu,
1028
1055
  var AutomationSnapshotsList = [1, n2, _ASLu,
1029
1056
  0, () => exports.AutomationSnapshot$
1030
1057
  ];
1058
+ var CopilotAudienceList = [1, n2, _CAL,
1059
+ 0, () => exports.CopilotAudienceEntry$
1060
+ ];
1061
+ var CopilotChannelList = 64 | 0;
1031
1062
  var CopilotFeaturesList = [1, n2, _CFL,
1032
1063
  0, () => exports.CopilotFeature$
1033
1064
  ];
1034
1065
  var CopilotFieldsList = [1, n2, _CFLo,
1035
1066
  0, () => exports.CopilotField$
1036
1067
  ];
1037
- var CopilotGrantPrincipalList = [1, n2, _CGPL,
1038
- 0, () => exports.CopilotGrantPrincipal$
1039
- ];
1068
+ var CopilotStageList = 64 | 0;
1040
1069
  var CopilotVariableBindingsList = [1, n2, _CVBL,
1041
1070
  0, () => exports.CopilotVariableBinding$
1042
1071
  ];
@@ -1086,7 +1115,7 @@ exports.AutomationHandler$ = [4, n2, _AH,
1086
1115
  ];
1087
1116
  exports.CardContent$ = [4, n2, _CC,
1088
1117
  0,
1089
- [_stat, _ag],
1118
+ [_stati, _ag],
1090
1119
  [() => exports.CardStaticContent$, () => exports.CardAgentContent$]
1091
1120
  ];
1092
1121
  exports.CopilotFeature$ = [4, n2, _CFo,
@@ -1099,11 +1128,6 @@ exports.CopilotFieldParameter$ = [4, n2, _CFP,
1099
1128
  [_te, _mul, _nu, _sel],
1100
1129
  [() => exports.CopilotTextParameter$, () => exports.CopilotMultilineParameter$, () => exports.CopilotNumberParameter$, () => exports.CopilotSelectionParameter$]
1101
1130
  ];
1102
- exports.CopilotGrantPrincipal$ = [4, n2, _CGP,
1103
- 0,
1104
- [_uI, _gI],
1105
- [0, 0]
1106
- ];
1107
1131
  exports.PlaybookCompletionCriteria$ = [4, n2, _PCC,
1108
1132
  0,
1109
1133
  [_man, _sem],
@@ -1125,10 +1149,10 @@ exports.AttachProfileResource$ = [9, n2, _APR,
1125
1149
  exports.CompareProfileVersions$ = [9, n2, _CPV,
1126
1150
  { [_ht]: ["GET", "/v2/copilot/profiles/{profileId}/compare-versions", 200] }, () => exports.CompareProfileVersionsInput$, () => exports.CompareProfileVersionsOutput$
1127
1151
  ];
1128
- exports.CreateAsset$ = [9, n2, _CAr,
1152
+ exports.CreateAsset$ = [9, n2, _CA,
1129
1153
  { [_ht]: ["POST", "/v2/copilot/assets", 200] }, () => exports.CreateAssetInput$, () => exports.CreateAssetOutput$
1130
1154
  ];
1131
- exports.CreateAutomation$ = [9, n2, _CAre,
1155
+ exports.CreateAutomation$ = [9, n2, _CAr,
1132
1156
  { [_ht]: ["POST", "/v2/copilot/automations", 200] }, () => exports.CreateAutomationInput$, () => exports.CreateAutomationOutput$
1133
1157
  ];
1134
1158
  exports.CreateEvaluation$ = [9, n2, _CEr,
@@ -1158,6 +1182,12 @@ exports.DeleteProfile$ = [9, n2, _DP,
1158
1182
  exports.DeleteProfileResource$ = [9, n2, _DPR,
1159
1183
  { [_ht]: ["DELETE", "/v2/copilot/profiles/{profileId}/resources/{resourceType}/{resourceId}", 200] }, () => exports.DeleteProfileResourceInput$, () => exports.DeleteProfileResourceOutput$
1160
1184
  ];
1185
+ exports.DisableProfile$ = [9, n2, _DPi,
1186
+ { [_ht]: ["PATCH", "/v2/copilot/profiles/{profileId}/disable", 200] }, () => exports.DisableProfileInput$, () => exports.DisableProfileOutput$
1187
+ ];
1188
+ exports.EnableProfile$ = [9, n2, _EP,
1189
+ { [_ht]: ["PATCH", "/v2/copilot/profiles/{profileId}/enable", 200] }, () => exports.EnableProfileInput$, () => exports.EnableProfileOutput$
1190
+ ];
1161
1191
  exports.GetAsset$ = [9, n2, _GA,
1162
1192
  { [_ht]: ["GET", "/v2/copilot/assets/{assetId}", 200] }, () => exports.GetAssetInput$, () => exports.GetAssetOutput$
1163
1193
  ];
@@ -12,6 +12,8 @@ import { DeleteEvaluationCommand, } from "./commands/DeleteEvaluationCommand";
12
12
  import { DeleteIntentCommand, } from "./commands/DeleteIntentCommand";
13
13
  import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
14
14
  import { DeleteProfileResourceCommand, } from "./commands/DeleteProfileResourceCommand";
15
+ import { DisableProfileCommand, } from "./commands/DisableProfileCommand";
16
+ import { EnableProfileCommand, } from "./commands/EnableProfileCommand";
15
17
  import { GetAssetCommand } from "./commands/GetAssetCommand";
16
18
  import { GetAutomationCommand, } from "./commands/GetAutomationCommand";
17
19
  import { GetEvaluationCommand, } from "./commands/GetEvaluationCommand";
@@ -47,6 +49,8 @@ const commands = {
47
49
  DeleteIntentCommand,
48
50
  DeleteProfileCommand,
49
51
  DeleteProfileResourceCommand,
52
+ DisableProfileCommand,
53
+ EnableProfileCommand,
50
54
  GetAssetCommand,
51
55
  GetAutomationCommand,
52
56
  GetEvaluationCommand,
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { DisableProfile$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class DisableProfileCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "DisableProfile", {})
13
+ .n("WilmaCopilotClient", "DisableProfileCommand")
14
+ .sc(DisableProfile$)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { EnableProfile$ } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class EnableProfileCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("WilmaCopilot", "EnableProfile", {})
13
+ .n("WilmaCopilotClient", "EnableProfileCommand")
14
+ .sc(EnableProfile$)
15
+ .build() {
16
+ }
@@ -11,6 +11,8 @@ export * from "./DeleteEvaluationCommand";
11
11
  export * from "./DeleteIntentCommand";
12
12
  export * from "./DeleteProfileCommand";
13
13
  export * from "./DeleteProfileResourceCommand";
14
+ export * from "./DisableProfileCommand";
15
+ export * from "./EnableProfileCommand";
14
16
  export * from "./GetAssetCommand";
15
17
  export * from "./GetAutomationCommand";
16
18
  export * from "./GetEvaluationCommand";
@@ -48,19 +48,34 @@ export const ContextualKnowledgeSource = {
48
48
  AGENT: "agent",
49
49
  KNOWLEDGE_BASES: "knowledge_bases",
50
50
  };
51
- export const CopilotVisibility = {
52
- EXPLICIT: "explicit",
53
- ORGANIZATION: "organization",
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
- ANY: "any",
57
- CALLS: "calls",
58
- CHATS: "chats",
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",