@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
@@ -0,0 +1,145 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DisableProfileInput, DisableProfileOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WilmaCopilotClientResolvedConfig } from "../WilmaCopilotClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DisableProfileCommand}.
14
+ */
15
+ export interface DisableProfileCommandInput extends DisableProfileInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DisableProfileCommand}.
21
+ */
22
+ export interface DisableProfileCommandOutput extends DisableProfileOutput, __MetadataBearer {
23
+ }
24
+ declare const DisableProfileCommand_base: {
25
+ new (input: DisableProfileCommandInput): import("@smithy/core/client").CommandImpl<DisableProfileCommandInput, DisableProfileCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DisableProfileCommandInput): import("@smithy/core/client").CommandImpl<DisableProfileCommandInput, DisableProfileCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Disables a profile so it is no longer applied to live conversations. Its draft and published versions are kept.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaCopilotClient, DisableProfileCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
35
+ * // const { WilmaCopilotClient, DisableProfileCommand } = require("@wildix/wilma-copilot-client"); // CommonJS import
36
+ * // import type { WilmaCopilotClientConfig } from "@wildix/wilma-copilot-client";
37
+ * const config = {}; // type is WilmaCopilotClientConfig
38
+ * const client = new WilmaCopilotClient(config);
39
+ * const input = { // DisableProfileInput
40
+ * company: "STRING_VALUE",
41
+ * profileId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DisableProfileCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // DisableProfileOutput
46
+ * // profile: { // Profile
47
+ * // name: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE",
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
+ * // ],
63
+ * // conditions: "DOCUMENT_VALUE",
64
+ * // features: [ // CopilotFeaturesList
65
+ * // { // CopilotFeature Union: only one key present
66
+ * // csat: {},
67
+ * // sentiment: {},
68
+ * // talkRatio: {},
69
+ * // topics: {},
70
+ * // contextualKnowledgeAnswers: { // ContextualKnowledgeAnswersFeatureConfiguration
71
+ * // source: "knowledge_bases" || "agent", // required
72
+ * // knowledgeBaseIds: [ // KnowledgeBaseIdList
73
+ * // "STRING_VALUE",
74
+ * // ],
75
+ * // agentId: "STRING_VALUE",
76
+ * // mode: "suggest_action" || "automatic_answer", // required
77
+ * // },
78
+ * // },
79
+ * // ],
80
+ * // assets: [ // AssetIdList
81
+ * // "STRING_VALUE",
82
+ * // ],
83
+ * // intents: [ // IntentIdList
84
+ * // "STRING_VALUE",
85
+ * // ],
86
+ * // evaluations: [ // EvaluationIdList
87
+ * // "STRING_VALUE",
88
+ * // ],
89
+ * // automations: [ // AutomationIdList
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // createdAt: "STRING_VALUE", // required
93
+ * // createdBy: { // Actor
94
+ * // type: "user" || "api_key" || "service", // required
95
+ * // id: "STRING_VALUE", // required
96
+ * // name: "STRING_VALUE",
97
+ * // },
98
+ * // updatedAt: "STRING_VALUE",
99
+ * // updatedBy: {
100
+ * // type: "user" || "api_key" || "service", // required
101
+ * // id: "STRING_VALUE", // required
102
+ * // name: "STRING_VALUE",
103
+ * // },
104
+ * // id: "STRING_VALUE", // required
105
+ * // status: "draft" || "active", // required
106
+ * // revision: Number("int"), // required
107
+ * // latestVersion: Number("int"),
108
+ * // draftBaseVersion: Number("int"),
109
+ * // live: true || false, // required
110
+ * // },
111
+ * // };
112
+ *
113
+ * ```
114
+ *
115
+ * @param DisableProfileCommandInput - {@link DisableProfileCommandInput}
116
+ * @returns {@link DisableProfileCommandOutput}
117
+ * @see {@link DisableProfileCommandInput} for command's `input` shape.
118
+ * @see {@link DisableProfileCommandOutput} for command's `response` shape.
119
+ * @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
120
+ *
121
+ * @throws {@link ForbiddenException} (client fault)
122
+ *
123
+ * @throws {@link NotFoundException} (client fault)
124
+ *
125
+ * @throws {@link ValidationException} (client fault)
126
+ *
127
+ * @throws {@link WilmaCopilotServiceException}
128
+ * <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
129
+ *
130
+ *
131
+ * @public
132
+ */
133
+ export declare class DisableProfileCommand extends DisableProfileCommand_base {
134
+ /** @internal type navigation helper, not in runtime. */
135
+ protected static __types: {
136
+ api: {
137
+ input: DisableProfileInput;
138
+ output: DisableProfileOutput;
139
+ };
140
+ sdk: {
141
+ input: DisableProfileCommandInput;
142
+ output: DisableProfileCommandOutput;
143
+ };
144
+ };
145
+ }
@@ -0,0 +1,145 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { EnableProfileInput, EnableProfileOutput } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WilmaCopilotClientResolvedConfig } from "../WilmaCopilotClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link EnableProfileCommand}.
14
+ */
15
+ export interface EnableProfileCommandInput extends EnableProfileInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link EnableProfileCommand}.
21
+ */
22
+ export interface EnableProfileCommandOutput extends EnableProfileOutput, __MetadataBearer {
23
+ }
24
+ declare const EnableProfileCommand_base: {
25
+ new (input: EnableProfileCommandInput): import("@smithy/core/client").CommandImpl<EnableProfileCommandInput, EnableProfileCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: EnableProfileCommandInput): import("@smithy/core/client").CommandImpl<EnableProfileCommandInput, EnableProfileCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Enables a published profile so its latest version is applied to live conversations.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaCopilotClient, EnableProfileCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
35
+ * // const { WilmaCopilotClient, EnableProfileCommand } = require("@wildix/wilma-copilot-client"); // CommonJS import
36
+ * // import type { WilmaCopilotClientConfig } from "@wildix/wilma-copilot-client";
37
+ * const config = {}; // type is WilmaCopilotClientConfig
38
+ * const client = new WilmaCopilotClient(config);
39
+ * const input = { // EnableProfileInput
40
+ * company: "STRING_VALUE",
41
+ * profileId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new EnableProfileCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // EnableProfileOutput
46
+ * // profile: { // Profile
47
+ * // name: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE",
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
+ * // ],
63
+ * // conditions: "DOCUMENT_VALUE",
64
+ * // features: [ // CopilotFeaturesList
65
+ * // { // CopilotFeature Union: only one key present
66
+ * // csat: {},
67
+ * // sentiment: {},
68
+ * // talkRatio: {},
69
+ * // topics: {},
70
+ * // contextualKnowledgeAnswers: { // ContextualKnowledgeAnswersFeatureConfiguration
71
+ * // source: "knowledge_bases" || "agent", // required
72
+ * // knowledgeBaseIds: [ // KnowledgeBaseIdList
73
+ * // "STRING_VALUE",
74
+ * // ],
75
+ * // agentId: "STRING_VALUE",
76
+ * // mode: "suggest_action" || "automatic_answer", // required
77
+ * // },
78
+ * // },
79
+ * // ],
80
+ * // assets: [ // AssetIdList
81
+ * // "STRING_VALUE",
82
+ * // ],
83
+ * // intents: [ // IntentIdList
84
+ * // "STRING_VALUE",
85
+ * // ],
86
+ * // evaluations: [ // EvaluationIdList
87
+ * // "STRING_VALUE",
88
+ * // ],
89
+ * // automations: [ // AutomationIdList
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // createdAt: "STRING_VALUE", // required
93
+ * // createdBy: { // Actor
94
+ * // type: "user" || "api_key" || "service", // required
95
+ * // id: "STRING_VALUE", // required
96
+ * // name: "STRING_VALUE",
97
+ * // },
98
+ * // updatedAt: "STRING_VALUE",
99
+ * // updatedBy: {
100
+ * // type: "user" || "api_key" || "service", // required
101
+ * // id: "STRING_VALUE", // required
102
+ * // name: "STRING_VALUE",
103
+ * // },
104
+ * // id: "STRING_VALUE", // required
105
+ * // status: "draft" || "active", // required
106
+ * // revision: Number("int"), // required
107
+ * // latestVersion: Number("int"),
108
+ * // draftBaseVersion: Number("int"),
109
+ * // live: true || false, // required
110
+ * // },
111
+ * // };
112
+ *
113
+ * ```
114
+ *
115
+ * @param EnableProfileCommandInput - {@link EnableProfileCommandInput}
116
+ * @returns {@link EnableProfileCommandOutput}
117
+ * @see {@link EnableProfileCommandInput} for command's `input` shape.
118
+ * @see {@link EnableProfileCommandOutput} for command's `response` shape.
119
+ * @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
120
+ *
121
+ * @throws {@link ForbiddenException} (client fault)
122
+ *
123
+ * @throws {@link NotFoundException} (client fault)
124
+ *
125
+ * @throws {@link ValidationException} (client fault)
126
+ *
127
+ * @throws {@link WilmaCopilotServiceException}
128
+ * <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
129
+ *
130
+ *
131
+ * @public
132
+ */
133
+ export declare class EnableProfileCommand extends EnableProfileCommand_base {
134
+ /** @internal type navigation helper, not in runtime. */
135
+ protected static __types: {
136
+ api: {
137
+ input: EnableProfileInput;
138
+ output: EnableProfileOutput;
139
+ };
140
+ sdk: {
141
+ input: EnableProfileCommandInput;
142
+ output: EnableProfileCommandOutput;
143
+ };
144
+ };
145
+ }
@@ -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
- * // channel: "calls" || "chats" || "any", // required
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
- * // channel: "calls" || "chats" || "any", // required
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: [ // StringList
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: "calls" || "chats" || "any",
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
- * // channel: "calls" || "chats" || "any", // required
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"),
@@ -52,17 +52,21 @@ declare const PublishProfileVersionCommand_base: {
52
52
  * // definition: { // ProfileDefinitionSnapshot
53
53
  * // name: "STRING_VALUE", // required
54
54
  * // description: "STRING_VALUE",
55
- * // channel: "calls" || "chats" || "any", // required
55
+ * // audience: [ // CopilotAudienceList
56
+ * // { // CopilotAudienceEntry
57
+ * // kind: "user" || "group" || "department" || "agent" || "queue" || "service" || "trunk", // required
58
+ * // values: [ // StringList // required
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // },
62
+ * // ],
63
+ * // stages: [ // CopilotStageList
64
+ * // "before" || "during" || "after",
65
+ * // ],
66
+ * // channels: [ // CopilotChannelList
67
+ * // "call" || "conference" || "chat",
68
+ * // ],
56
69
  * // conditions: "DOCUMENT_VALUE",
57
- * // access: { // CopilotAccess
58
- * // visibility: "explicit" || "organization",
59
- * // grants: [ // CopilotGrantPrincipalList
60
- * // { // CopilotGrantPrincipal Union: only one key present
61
- * // userId: "STRING_VALUE",
62
- * // groupId: "STRING_VALUE",
63
- * // },
64
- * // ],
65
- * // },
66
70
  * // features: [ // CopilotFeaturesList
67
71
  * // { // CopilotFeature Union: only one key present
68
72
  * // csat: {},
@@ -85,7 +89,6 @@ declare const PublishProfileVersionCommand_base: {
85
89
  * // description: "STRING_VALUE",
86
90
  * // handlers: { // IntentHandlers
87
91
  * // textMatch: { // IntentTextMatch
88
- * // enabled: true || false, // required
89
92
  * // options: [ // IntentTextMatchOptionsList
90
93
  * // { // IntentTextMatchOption
91
94
  * // id: "STRING_VALUE", // required
@@ -95,7 +98,6 @@ declare const PublishProfileVersionCommand_base: {
95
98
  * // ],
96
99
  * // },
97
100
  * // aiMatch: { // IntentAiMatch
98
- * // enabled: true || false, // required
99
101
  * // instructions: "STRING_VALUE",
100
102
  * // fields: [ // CopilotFieldsList
101
103
  * // { // CopilotField
@@ -105,7 +107,7 @@ declare const PublishProfileVersionCommand_base: {
105
107
  * // optional: true || false,
106
108
  * // parameter: { // CopilotFieldParameter Union: only one key present
107
109
  * // text: { // CopilotTextParameter
108
- * // examples: [ // StringList
110
+ * // examples: [
109
111
  * // "STRING_VALUE",
110
112
  * // ],
111
113
  * // },
@@ -132,6 +134,7 @@ declare const PublishProfileVersionCommand_base: {
132
134
  * // },
133
135
  * // ],
134
136
  * // },
137
+ * // saidBy: "anyone" || "agent" || "customer",
135
138
  * // },
136
139
  * // conditions: "DOCUMENT_VALUE",
137
140
  * // id: "STRING_VALUE", // required
@@ -150,9 +153,7 @@ declare const PublishProfileVersionCommand_base: {
150
153
  * // optional: true || false,
151
154
  * // parameter: {// Union: only one key present
152
155
  * // text: {
153
- * // examples: [
154
- * // "STRING_VALUE",
155
- * // ],
156
+ * // examples: "<StringList>",
156
157
  * // },
157
158
  * // multiline: {
158
159
  * // examples: "<StringList>",
@@ -48,17 +48,21 @@ declare const RestoreProfileVersionToDraftCommand_base: {
48
48
  * // profile: { // Profile
49
49
  * // name: "STRING_VALUE", // required
50
50
  * // description: "STRING_VALUE",
51
- * // channel: "calls" || "chats" || "any", // required
51
+ * // audience: [ // CopilotAudienceList
52
+ * // { // CopilotAudienceEntry
53
+ * // kind: "user" || "group" || "department" || "agent" || "queue" || "service" || "trunk", // required
54
+ * // values: [ // StringList // required
55
+ * // "STRING_VALUE",
56
+ * // ],
57
+ * // },
58
+ * // ],
59
+ * // stages: [ // CopilotStageList
60
+ * // "before" || "during" || "after",
61
+ * // ],
62
+ * // channels: [ // CopilotChannelList
63
+ * // "call" || "conference" || "chat",
64
+ * // ],
52
65
  * // conditions: "DOCUMENT_VALUE",
53
- * // access: { // CopilotAccess
54
- * // visibility: "explicit" || "organization",
55
- * // grants: [ // CopilotGrantPrincipalList
56
- * // { // CopilotGrantPrincipal Union: only one key present
57
- * // userId: "STRING_VALUE",
58
- * // groupId: "STRING_VALUE",
59
- * // },
60
- * // ],
61
- * // },
62
66
  * // features: [ // CopilotFeaturesList
63
67
  * // { // CopilotFeature Union: only one key present
64
68
  * // csat: {},
@@ -41,7 +41,6 @@ declare const UpdateIntentCommand_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 UpdateIntentCommand_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 UpdateIntentCommand_base: {
88
86
  * },
89
87
  * ],
90
88
  * },
89
+ * saidBy: "anyone" || "agent" || "customer",
91
90
  * },
92
91
  * conditions: "DOCUMENT_VALUE",
93
92
  * company: "STRING_VALUE",
@@ -102,7 +101,6 @@ declare const UpdateIntentCommand_base: {
102
101
  * // description: "STRING_VALUE",
103
102
  * // handlers: { // IntentHandlers
104
103
  * // textMatch: { // IntentTextMatch
105
- * // enabled: true || false, // required
106
104
  * // options: [ // IntentTextMatchOptionsList
107
105
  * // { // IntentTextMatchOption
108
106
  * // id: "STRING_VALUE", // required
@@ -112,7 +110,6 @@ declare const UpdateIntentCommand_base: {
112
110
  * // ],
113
111
  * // },
114
112
  * // aiMatch: { // IntentAiMatch
115
- * // enabled: true || false, // required
116
113
  * // instructions: "STRING_VALUE",
117
114
  * // fields: [ // CopilotFieldsList
118
115
  * // { // CopilotField
@@ -149,6 +146,7 @@ declare const UpdateIntentCommand_base: {
149
146
  * // },
150
147
  * // ],
151
148
  * // },
149
+ * // saidBy: "anyone" || "agent" || "customer",
152
150
  * // },
153
151
  * // conditions: "DOCUMENT_VALUE",
154
152
  * // createdAt: "STRING_VALUE", // required