@wildix/wilma-copilot-client 1.0.2

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 (157) hide show
  1. package/dist-cjs/WilmaCopilot.js +75 -0
  2. package/dist-cjs/WilmaCopilotClient.js +49 -0
  3. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
  5. package/dist-cjs/commands/AttachProfileResourceCommand.js +20 -0
  6. package/dist-cjs/commands/CompareProfileVersionsCommand.js +20 -0
  7. package/dist-cjs/commands/CreateAssetCommand.js +20 -0
  8. package/dist-cjs/commands/CreateAutomationCommand.js +20 -0
  9. package/dist-cjs/commands/CreateEvaluationCommand.js +20 -0
  10. package/dist-cjs/commands/CreateIntentCommand.js +20 -0
  11. package/dist-cjs/commands/CreateProfileCommand.js +20 -0
  12. package/dist-cjs/commands/DeleteAssetCommand.js +20 -0
  13. package/dist-cjs/commands/DeleteAutomationCommand.js +20 -0
  14. package/dist-cjs/commands/DeleteEvaluationCommand.js +20 -0
  15. package/dist-cjs/commands/DeleteIntentCommand.js +20 -0
  16. package/dist-cjs/commands/DeleteProfileCommand.js +20 -0
  17. package/dist-cjs/commands/DeleteProfileResourceCommand.js +20 -0
  18. package/dist-cjs/commands/GetAssetCommand.js +20 -0
  19. package/dist-cjs/commands/GetAutomationCommand.js +20 -0
  20. package/dist-cjs/commands/GetEvaluationCommand.js +20 -0
  21. package/dist-cjs/commands/GetIntentCommand.js +20 -0
  22. package/dist-cjs/commands/GetProfileCommand.js +20 -0
  23. package/dist-cjs/commands/GetProfileVersionCommand.js +20 -0
  24. package/dist-cjs/commands/ListAssetsCommand.js +20 -0
  25. package/dist-cjs/commands/ListAutomationsCommand.js +20 -0
  26. package/dist-cjs/commands/ListEvaluationsCommand.js +20 -0
  27. package/dist-cjs/commands/ListIntentsCommand.js +20 -0
  28. package/dist-cjs/commands/ListProfileVersionsCommand.js +20 -0
  29. package/dist-cjs/commands/ListProfilesCommand.js +20 -0
  30. package/dist-cjs/commands/PublishProfileVersionCommand.js +20 -0
  31. package/dist-cjs/commands/RestoreProfileVersionToDraftCommand.js +20 -0
  32. package/dist-cjs/commands/UpdateAssetCommand.js +20 -0
  33. package/dist-cjs/commands/UpdateAutomationCommand.js +20 -0
  34. package/dist-cjs/commands/UpdateEvaluationCommand.js +20 -0
  35. package/dist-cjs/commands/UpdateIntentCommand.js +20 -0
  36. package/dist-cjs/commands/UpdateProfileCommand.js +20 -0
  37. package/dist-cjs/commands/index.js +35 -0
  38. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  39. package/dist-cjs/endpoint/bdd.js +28 -0
  40. package/dist-cjs/endpoint/endpointResolver.js +16 -0
  41. package/dist-cjs/extensionConfiguration.js +2 -0
  42. package/dist-cjs/index.js +13 -0
  43. package/dist-cjs/models/WilmaCopilotServiceException.js +12 -0
  44. package/dist-cjs/models/enums.js +95 -0
  45. package/dist-cjs/models/errors.js +287 -0
  46. package/dist-cjs/models/models_0.js +2 -0
  47. package/dist-cjs/runtimeConfig.browser.js +32 -0
  48. package/dist-cjs/runtimeConfig.js +41 -0
  49. package/dist-cjs/runtimeConfig.native.js +15 -0
  50. package/dist-cjs/runtimeConfig.shared.js +41 -0
  51. package/dist-cjs/runtimeExtensions.js +12 -0
  52. package/dist-cjs/schemas/schemas_0.js +1249 -0
  53. package/dist-es/WilmaCopilot.js +71 -0
  54. package/dist-es/WilmaCopilotClient.js +45 -0
  55. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  56. package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
  57. package/dist-es/commands/AttachProfileResourceCommand.js +16 -0
  58. package/dist-es/commands/CompareProfileVersionsCommand.js +16 -0
  59. package/dist-es/commands/CreateAssetCommand.js +16 -0
  60. package/dist-es/commands/CreateAutomationCommand.js +16 -0
  61. package/dist-es/commands/CreateEvaluationCommand.js +16 -0
  62. package/dist-es/commands/CreateIntentCommand.js +16 -0
  63. package/dist-es/commands/CreateProfileCommand.js +16 -0
  64. package/dist-es/commands/DeleteAssetCommand.js +16 -0
  65. package/dist-es/commands/DeleteAutomationCommand.js +16 -0
  66. package/dist-es/commands/DeleteEvaluationCommand.js +16 -0
  67. package/dist-es/commands/DeleteIntentCommand.js +16 -0
  68. package/dist-es/commands/DeleteProfileCommand.js +16 -0
  69. package/dist-es/commands/DeleteProfileResourceCommand.js +16 -0
  70. package/dist-es/commands/GetAssetCommand.js +16 -0
  71. package/dist-es/commands/GetAutomationCommand.js +16 -0
  72. package/dist-es/commands/GetEvaluationCommand.js +16 -0
  73. package/dist-es/commands/GetIntentCommand.js +16 -0
  74. package/dist-es/commands/GetProfileCommand.js +16 -0
  75. package/dist-es/commands/GetProfileVersionCommand.js +16 -0
  76. package/dist-es/commands/ListAssetsCommand.js +16 -0
  77. package/dist-es/commands/ListAutomationsCommand.js +16 -0
  78. package/dist-es/commands/ListEvaluationsCommand.js +16 -0
  79. package/dist-es/commands/ListIntentsCommand.js +16 -0
  80. package/dist-es/commands/ListProfileVersionsCommand.js +16 -0
  81. package/dist-es/commands/ListProfilesCommand.js +16 -0
  82. package/dist-es/commands/PublishProfileVersionCommand.js +16 -0
  83. package/dist-es/commands/RestoreProfileVersionToDraftCommand.js +16 -0
  84. package/dist-es/commands/UpdateAssetCommand.js +16 -0
  85. package/dist-es/commands/UpdateAutomationCommand.js +16 -0
  86. package/dist-es/commands/UpdateEvaluationCommand.js +16 -0
  87. package/dist-es/commands/UpdateIntentCommand.js +16 -0
  88. package/dist-es/commands/UpdateProfileCommand.js +16 -0
  89. package/dist-es/commands/index.js +32 -0
  90. package/dist-es/endpoint/EndpointParameters.js +12 -0
  91. package/dist-es/endpoint/bdd.js +25 -0
  92. package/dist-es/endpoint/endpointResolver.js +12 -0
  93. package/dist-es/extensionConfiguration.js +1 -0
  94. package/dist-es/index.js +8 -0
  95. package/dist-es/models/WilmaCopilotServiceException.js +8 -0
  96. package/dist-es/models/enums.js +92 -0
  97. package/dist-es/models/errors.js +265 -0
  98. package/dist-es/models/models_0.js +1 -0
  99. package/dist-es/runtimeConfig.browser.js +27 -0
  100. package/dist-es/runtimeConfig.js +36 -0
  101. package/dist-es/runtimeConfig.native.js +11 -0
  102. package/dist-es/runtimeConfig.shared.js +37 -0
  103. package/dist-es/runtimeExtensions.js +8 -0
  104. package/dist-es/schemas/schemas_0.js +1243 -0
  105. package/dist-types/WilmaCopilot.d.ts +254 -0
  106. package/dist-types/WilmaCopilotClient.d.ts +209 -0
  107. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  108. package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
  109. package/dist-types/commands/AttachProfileResourceCommand.d.ts +165 -0
  110. package/dist-types/commands/CompareProfileVersionsCommand.d.ts +91 -0
  111. package/dist-types/commands/CreateAssetCommand.d.ts +328 -0
  112. package/dist-types/commands/CreateAutomationCommand.d.ts +176 -0
  113. package/dist-types/commands/CreateEvaluationCommand.d.ts +196 -0
  114. package/dist-types/commands/CreateIntentCommand.d.ts +202 -0
  115. package/dist-types/commands/CreateProfileCommand.d.ts +181 -0
  116. package/dist-types/commands/DeleteAssetCommand.d.ts +83 -0
  117. package/dist-types/commands/DeleteAutomationCommand.d.ts +83 -0
  118. package/dist-types/commands/DeleteEvaluationCommand.d.ts +83 -0
  119. package/dist-types/commands/DeleteIntentCommand.d.ts +83 -0
  120. package/dist-types/commands/DeleteProfileCommand.d.ts +79 -0
  121. package/dist-types/commands/DeleteProfileResourceCommand.d.ts +147 -0
  122. package/dist-types/commands/GetAssetCommand.d.ts +213 -0
  123. package/dist-types/commands/GetAutomationCommand.d.ts +137 -0
  124. package/dist-types/commands/GetEvaluationCommand.d.ts +147 -0
  125. package/dist-types/commands/GetIntentCommand.d.ts +150 -0
  126. package/dist-types/commands/GetProfileCommand.d.ts +141 -0
  127. package/dist-types/commands/GetProfileVersionCommand.d.ts +82 -0
  128. package/dist-types/commands/ListAssetsCommand.d.ts +107 -0
  129. package/dist-types/commands/ListAutomationsCommand.d.ts +103 -0
  130. package/dist-types/commands/ListEvaluationsCommand.d.ts +104 -0
  131. package/dist-types/commands/ListIntentsCommand.d.ts +103 -0
  132. package/dist-types/commands/ListProfileVersionsCommand.d.ts +95 -0
  133. package/dist-types/commands/ListProfilesCommand.d.ts +110 -0
  134. package/dist-types/commands/PublishProfileVersionCommand.d.ts +87 -0
  135. package/dist-types/commands/RestoreProfileVersionToDraftCommand.d.ts +146 -0
  136. package/dist-types/commands/UpdateAssetCommand.d.ts +335 -0
  137. package/dist-types/commands/UpdateAutomationCommand.d.ts +183 -0
  138. package/dist-types/commands/UpdateEvaluationCommand.d.ts +203 -0
  139. package/dist-types/commands/UpdateIntentCommand.d.ts +209 -0
  140. package/dist-types/commands/UpdateProfileCommand.d.ts +160 -0
  141. package/dist-types/commands/index.d.ts +32 -0
  142. package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
  143. package/dist-types/endpoint/bdd.d.ts +2 -0
  144. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  145. package/dist-types/extensionConfiguration.d.ts +8 -0
  146. package/dist-types/index.d.ts +31 -0
  147. package/dist-types/models/WilmaCopilotServiceException.d.ts +14 -0
  148. package/dist-types/models/enums.d.ts +287 -0
  149. package/dist-types/models/errors.d.ts +239 -0
  150. package/dist-types/models/models_0.d.ts +2808 -0
  151. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  152. package/dist-types/runtimeConfig.d.ts +55 -0
  153. package/dist-types/runtimeConfig.native.d.ts +54 -0
  154. package/dist-types/runtimeConfig.shared.d.ts +32 -0
  155. package/dist-types/runtimeExtensions.d.ts +17 -0
  156. package/dist-types/schemas/schemas_0.d.ts +182 -0
  157. package/package.json +57 -0
@@ -0,0 +1,181 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateProfileInput, CreateProfileOutput } 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 CreateProfileCommand}.
14
+ */
15
+ export interface CreateProfileCommandInput extends CreateProfileInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateProfileCommand}.
21
+ */
22
+ export interface CreateProfileCommandOutput extends CreateProfileOutput, __MetadataBearer {
23
+ }
24
+ declare const CreateProfileCommand_base: {
25
+ new (input: CreateProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateProfileCommandInput, CreateProfileCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Creates a new profile draft. The profile is not applied to any conversation until its first version is published.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaCopilotClient, CreateProfileCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
35
+ * // const { WilmaCopilotClient, CreateProfileCommand } = 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 = { // CreateProfileInput
40
+ * name: "STRING_VALUE", // required
41
+ * description: "STRING_VALUE",
42
+ * channel: "calls" || "chats" || "any", // required
43
+ * 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
+ * features: [ // CopilotFeaturesList
54
+ * { // CopilotFeature Union: only one key present
55
+ * csat: {},
56
+ * sentiment: {},
57
+ * talkRatio: {},
58
+ * topics: {},
59
+ * contextualKnowledgeAnswers: { // ContextualKnowledgeAnswersFeatureConfiguration
60
+ * source: "knowledge_bases" || "agent", // required
61
+ * knowledgeBaseIds: [ // KnowledgeBaseIdList
62
+ * "STRING_VALUE",
63
+ * ],
64
+ * agentId: "STRING_VALUE",
65
+ * mode: "suggest_action" || "automatic_answer", // required
66
+ * },
67
+ * },
68
+ * ],
69
+ * assets: [ // AssetIdList
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * intents: [ // IntentIdList
73
+ * "STRING_VALUE",
74
+ * ],
75
+ * evaluations: [ // EvaluationIdList
76
+ * "STRING_VALUE",
77
+ * ],
78
+ * automations: [ // AutomationIdList
79
+ * "STRING_VALUE",
80
+ * ],
81
+ * company: "STRING_VALUE",
82
+ * };
83
+ * const command = new CreateProfileCommand(input);
84
+ * const response = await client.send(command);
85
+ * // { // CreateProfileOutput
86
+ * // profile: { // Profile
87
+ * // name: "STRING_VALUE", // required
88
+ * // description: "STRING_VALUE",
89
+ * // channel: "calls" || "chats" || "any", // required
90
+ * // 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
+ * // features: [ // CopilotFeaturesList
101
+ * // { // CopilotFeature Union: only one key present
102
+ * // csat: {},
103
+ * // sentiment: {},
104
+ * // talkRatio: {},
105
+ * // topics: {},
106
+ * // contextualKnowledgeAnswers: { // ContextualKnowledgeAnswersFeatureConfiguration
107
+ * // source: "knowledge_bases" || "agent", // required
108
+ * // knowledgeBaseIds: [ // KnowledgeBaseIdList
109
+ * // "STRING_VALUE",
110
+ * // ],
111
+ * // agentId: "STRING_VALUE",
112
+ * // mode: "suggest_action" || "automatic_answer", // required
113
+ * // },
114
+ * // },
115
+ * // ],
116
+ * // assets: [ // AssetIdList
117
+ * // "STRING_VALUE",
118
+ * // ],
119
+ * // intents: [ // IntentIdList
120
+ * // "STRING_VALUE",
121
+ * // ],
122
+ * // evaluations: [ // EvaluationIdList
123
+ * // "STRING_VALUE",
124
+ * // ],
125
+ * // automations: [ // AutomationIdList
126
+ * // "STRING_VALUE",
127
+ * // ],
128
+ * // createdAt: "STRING_VALUE", // required
129
+ * // createdBy: { // Actor
130
+ * // type: "user" || "api_key" || "service", // required
131
+ * // id: "STRING_VALUE", // required
132
+ * // name: "STRING_VALUE",
133
+ * // },
134
+ * // updatedAt: "STRING_VALUE",
135
+ * // updatedBy: {
136
+ * // type: "user" || "api_key" || "service", // required
137
+ * // id: "STRING_VALUE", // required
138
+ * // name: "STRING_VALUE",
139
+ * // },
140
+ * // id: "STRING_VALUE", // required
141
+ * // status: "draft" || "active", // required
142
+ * // revision: Number("int"), // required
143
+ * // latestVersion: Number("int"),
144
+ * // draftBaseVersion: Number("int"),
145
+ * // live: true || false, // required
146
+ * // },
147
+ * // };
148
+ *
149
+ * ```
150
+ *
151
+ * @param CreateProfileCommandInput - {@link CreateProfileCommandInput}
152
+ * @returns {@link CreateProfileCommandOutput}
153
+ * @see {@link CreateProfileCommandInput} for command's `input` shape.
154
+ * @see {@link CreateProfileCommandOutput} for command's `response` shape.
155
+ * @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
156
+ *
157
+ * @throws {@link ForbiddenException} (client fault)
158
+ *
159
+ * @throws {@link ValidationException} (client fault)
160
+ *
161
+ * @throws {@link ProfileNonUniqueNameException} (client fault)
162
+ *
163
+ * @throws {@link WilmaCopilotServiceException}
164
+ * <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
165
+ *
166
+ *
167
+ * @public
168
+ */
169
+ export declare class CreateProfileCommand extends CreateProfileCommand_base {
170
+ /** @internal type navigation helper, not in runtime. */
171
+ protected static __types: {
172
+ api: {
173
+ input: CreateProfileInput;
174
+ output: CreateProfileOutput;
175
+ };
176
+ sdk: {
177
+ input: CreateProfileCommandInput;
178
+ output: CreateProfileCommandOutput;
179
+ };
180
+ };
181
+ }
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteAssetInput, DeleteAssetOutput } 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 DeleteAssetCommand}.
14
+ */
15
+ export interface DeleteAssetCommandInput extends DeleteAssetInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteAssetCommand}.
21
+ */
22
+ export interface DeleteAssetCommandOutput extends DeleteAssetOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteAssetCommand_base: {
25
+ new (input: DeleteAssetCommandInput): import("@smithy/core/client").CommandImpl<DeleteAssetCommandInput, DeleteAssetCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteAssetCommandInput): import("@smithy/core/client").CommandImpl<DeleteAssetCommandInput, DeleteAssetCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Deletes an asset and removes it from every profile draft that references it. Fails with AssetInUseException when a profile draft still references it and detach is not allowed.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaCopilotClient, DeleteAssetCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
35
+ * // const { WilmaCopilotClient, DeleteAssetCommand } = 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 = { // DeleteAssetInput
40
+ * company: "STRING_VALUE",
41
+ * assetId: "STRING_VALUE", // required
42
+ * detach: true || false,
43
+ * };
44
+ * const command = new DeleteAssetCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteAssetCommandInput - {@link DeleteAssetCommandInput}
51
+ * @returns {@link DeleteAssetCommandOutput}
52
+ * @see {@link DeleteAssetCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteAssetCommandOutput} for command's `response` shape.
54
+ * @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
55
+ *
56
+ * @throws {@link ForbiddenException} (client fault)
57
+ *
58
+ * @throws {@link AssetNotFoundException} (client fault)
59
+ *
60
+ * @throws {@link AssetInUseException} (client fault)
61
+ * The asset cannot be deleted: it is still referenced by at least one profile draft. Retry with detach=true to remove the references.
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ *
65
+ * @throws {@link WilmaCopilotServiceException}
66
+ * <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
67
+ *
68
+ *
69
+ * @public
70
+ */
71
+ export declare class DeleteAssetCommand extends DeleteAssetCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: DeleteAssetInput;
76
+ output: {};
77
+ };
78
+ sdk: {
79
+ input: DeleteAssetCommandInput;
80
+ output: DeleteAssetCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteAutomationInput, DeleteAutomationOutput } 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 DeleteAutomationCommand}.
14
+ */
15
+ export interface DeleteAutomationCommandInput extends DeleteAutomationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteAutomationCommand}.
21
+ */
22
+ export interface DeleteAutomationCommandOutput extends DeleteAutomationOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteAutomationCommand_base: {
25
+ new (input: DeleteAutomationCommandInput): import("@smithy/core/client").CommandImpl<DeleteAutomationCommandInput, DeleteAutomationCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteAutomationCommandInput): import("@smithy/core/client").CommandImpl<DeleteAutomationCommandInput, DeleteAutomationCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Deletes an automation and removes it from every profile draft that references it. Fails with AutomationInUseException when a profile draft still references it and detach is not allowed.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaCopilotClient, DeleteAutomationCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
35
+ * // const { WilmaCopilotClient, DeleteAutomationCommand } = 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 = { // DeleteAutomationInput
40
+ * company: "STRING_VALUE",
41
+ * automationId: "STRING_VALUE", // required
42
+ * detach: true || false,
43
+ * };
44
+ * const command = new DeleteAutomationCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteAutomationCommandInput - {@link DeleteAutomationCommandInput}
51
+ * @returns {@link DeleteAutomationCommandOutput}
52
+ * @see {@link DeleteAutomationCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteAutomationCommandOutput} for command's `response` shape.
54
+ * @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
55
+ *
56
+ * @throws {@link ForbiddenException} (client fault)
57
+ *
58
+ * @throws {@link AutomationNotFoundException} (client fault)
59
+ *
60
+ * @throws {@link AutomationInUseException} (client fault)
61
+ * The automation cannot be deleted: it is still referenced by at least one profile draft. Retry with detach=true to remove the references.
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ *
65
+ * @throws {@link WilmaCopilotServiceException}
66
+ * <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
67
+ *
68
+ *
69
+ * @public
70
+ */
71
+ export declare class DeleteAutomationCommand extends DeleteAutomationCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: DeleteAutomationInput;
76
+ output: {};
77
+ };
78
+ sdk: {
79
+ input: DeleteAutomationCommandInput;
80
+ output: DeleteAutomationCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteEvaluationInput, DeleteEvaluationOutput } 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 DeleteEvaluationCommand}.
14
+ */
15
+ export interface DeleteEvaluationCommandInput extends DeleteEvaluationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteEvaluationCommand}.
21
+ */
22
+ export interface DeleteEvaluationCommandOutput extends DeleteEvaluationOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteEvaluationCommand_base: {
25
+ new (input: DeleteEvaluationCommandInput): import("@smithy/core/client").CommandImpl<DeleteEvaluationCommandInput, DeleteEvaluationCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteEvaluationCommandInput): import("@smithy/core/client").CommandImpl<DeleteEvaluationCommandInput, DeleteEvaluationCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Deletes an evaluation and removes it from every profile draft that references it. Fails with EvaluationInUseException when a profile draft still references it and detach is not allowed.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaCopilotClient, DeleteEvaluationCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
35
+ * // const { WilmaCopilotClient, DeleteEvaluationCommand } = 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 = { // DeleteEvaluationInput
40
+ * company: "STRING_VALUE",
41
+ * evaluationId: "STRING_VALUE", // required
42
+ * detach: true || false,
43
+ * };
44
+ * const command = new DeleteEvaluationCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteEvaluationCommandInput - {@link DeleteEvaluationCommandInput}
51
+ * @returns {@link DeleteEvaluationCommandOutput}
52
+ * @see {@link DeleteEvaluationCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteEvaluationCommandOutput} for command's `response` shape.
54
+ * @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
55
+ *
56
+ * @throws {@link ForbiddenException} (client fault)
57
+ *
58
+ * @throws {@link EvaluationNotFoundException} (client fault)
59
+ *
60
+ * @throws {@link EvaluationInUseException} (client fault)
61
+ * The evaluation cannot be deleted: it is still referenced by at least one profile draft. Retry with detach=true to remove the references.
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ *
65
+ * @throws {@link WilmaCopilotServiceException}
66
+ * <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
67
+ *
68
+ *
69
+ * @public
70
+ */
71
+ export declare class DeleteEvaluationCommand extends DeleteEvaluationCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: DeleteEvaluationInput;
76
+ output: {};
77
+ };
78
+ sdk: {
79
+ input: DeleteEvaluationCommandInput;
80
+ output: DeleteEvaluationCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -0,0 +1,83 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteIntentInput, DeleteIntentOutput } 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 DeleteIntentCommand}.
14
+ */
15
+ export interface DeleteIntentCommandInput extends DeleteIntentInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteIntentCommand}.
21
+ */
22
+ export interface DeleteIntentCommandOutput extends DeleteIntentOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteIntentCommand_base: {
25
+ new (input: DeleteIntentCommandInput): import("@smithy/core/client").CommandImpl<DeleteIntentCommandInput, DeleteIntentCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteIntentCommandInput): import("@smithy/core/client").CommandImpl<DeleteIntentCommandInput, DeleteIntentCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Deletes an intent and removes it from every profile draft that references it. Fails with IntentInUseException when a profile draft still references it and detach is not allowed.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaCopilotClient, DeleteIntentCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
35
+ * // const { WilmaCopilotClient, DeleteIntentCommand } = 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 = { // DeleteIntentInput
40
+ * company: "STRING_VALUE",
41
+ * intentId: "STRING_VALUE", // required
42
+ * detach: true || false,
43
+ * };
44
+ * const command = new DeleteIntentCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteIntentCommandInput - {@link DeleteIntentCommandInput}
51
+ * @returns {@link DeleteIntentCommandOutput}
52
+ * @see {@link DeleteIntentCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteIntentCommandOutput} for command's `response` shape.
54
+ * @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
55
+ *
56
+ * @throws {@link ForbiddenException} (client fault)
57
+ *
58
+ * @throws {@link IntentNotFoundException} (client fault)
59
+ *
60
+ * @throws {@link IntentInUseException} (client fault)
61
+ * The intent cannot be deleted: it is still referenced by at least one profile draft. Retry with detach=true to remove the references.
62
+ *
63
+ * @throws {@link ValidationException} (client fault)
64
+ *
65
+ * @throws {@link WilmaCopilotServiceException}
66
+ * <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
67
+ *
68
+ *
69
+ * @public
70
+ */
71
+ export declare class DeleteIntentCommand extends DeleteIntentCommand_base {
72
+ /** @internal type navigation helper, not in runtime. */
73
+ protected static __types: {
74
+ api: {
75
+ input: DeleteIntentInput;
76
+ output: {};
77
+ };
78
+ sdk: {
79
+ input: DeleteIntentCommandInput;
80
+ output: DeleteIntentCommandOutput;
81
+ };
82
+ };
83
+ }
@@ -0,0 +1,79 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteProfileInput, DeleteProfileOutput } 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 DeleteProfileCommand}.
14
+ */
15
+ export interface DeleteProfileCommandInput extends DeleteProfileInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteProfileCommand}.
21
+ */
22
+ export interface DeleteProfileCommandOutput extends DeleteProfileOutput, __MetadataBearer {
23
+ }
24
+ declare const DeleteProfileCommand_base: {
25
+ new (input: DeleteProfileCommandInput): import("@smithy/core/client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: DeleteProfileCommandInput): import("@smithy/core/client").CommandImpl<DeleteProfileCommandInput, DeleteProfileCommandOutput, WilmaCopilotClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Deletes a profile and its version history. Library resources referenced by the profile are not deleted.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WilmaCopilotClient, DeleteProfileCommand } from "@wildix/wilma-copilot-client"; // ES Modules import
35
+ * // const { WilmaCopilotClient, DeleteProfileCommand } = 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 = { // DeleteProfileInput
40
+ * company: "STRING_VALUE",
41
+ * profileId: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new DeleteProfileCommand(input);
44
+ * const response = await client.send(command);
45
+ * // {};
46
+ *
47
+ * ```
48
+ *
49
+ * @param DeleteProfileCommandInput - {@link DeleteProfileCommandInput}
50
+ * @returns {@link DeleteProfileCommandOutput}
51
+ * @see {@link DeleteProfileCommandInput} for command's `input` shape.
52
+ * @see {@link DeleteProfileCommandOutput} for command's `response` shape.
53
+ * @see {@link WilmaCopilotClientResolvedConfig | config} for WilmaCopilotClient's `config` shape.
54
+ *
55
+ * @throws {@link ForbiddenException} (client fault)
56
+ *
57
+ * @throws {@link ProfileNotFoundException} (client fault)
58
+ *
59
+ * @throws {@link ValidationException} (client fault)
60
+ *
61
+ * @throws {@link WilmaCopilotServiceException}
62
+ * <p>Base exception class for all service exceptions from WilmaCopilot service.</p>
63
+ *
64
+ *
65
+ * @public
66
+ */
67
+ export declare class DeleteProfileCommand extends DeleteProfileCommand_base {
68
+ /** @internal type navigation helper, not in runtime. */
69
+ protected static __types: {
70
+ api: {
71
+ input: DeleteProfileInput;
72
+ output: {};
73
+ };
74
+ sdk: {
75
+ input: DeleteProfileCommandInput;
76
+ output: DeleteProfileCommandOutput;
77
+ };
78
+ };
79
+ }