@wildix/wilma-agents-client 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/WilmaAgents.js +4 -8
- package/dist-cjs/commands/{CreateAgentDeploymentCommand.js → PutAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/{ListAgentDeploymentsCommand.js → ResetAgentDeploymentCommand.js} +6 -6
- package/dist-cjs/commands/index.js +2 -4
- package/dist-cjs/models/enums.js +7 -5
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-cjs/schemas/schemas_0.js +66 -111
- package/dist-es/WilmaAgents.js +4 -8
- package/dist-es/commands/{ListAgentDeploymentsCommand.js → PutAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/{CreateAgentDeploymentCommand.js → ResetAgentDeploymentCommand.js} +5 -5
- package/dist-es/commands/index.js +2 -4
- package/dist-es/models/enums.js +6 -4
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-es/schemas/schemas_0.js +63 -108
- package/dist-types/WilmaAgents.d.ts +19 -38
- package/dist-types/WilmaAgentsClient.d.ts +9 -16
- package/dist-types/commands/CreateAgentCommand.d.ts +13 -38
- package/dist-types/commands/DeleteAgentCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentCommand.d.ts +8 -31
- package/dist-types/commands/GetAgentDeploymentCommand.d.ts +6 -26
- package/dist-types/commands/GetAgentVersionCommand.d.ts +4 -6
- package/dist-types/commands/ListAgentVersionsCommand.d.ts +0 -3
- package/dist-types/commands/ListAgentsCommand.d.ts +8 -31
- package/dist-types/commands/PublishAgentVersionCommand.d.ts +5 -7
- package/dist-types/commands/PutAgentDeploymentCommand.d.ts +90 -0
- package/dist-types/commands/ResetAgentDeploymentCommand.d.ts +87 -0
- package/dist-types/commands/RestoreAgentVersionToDraftCommand.d.ts +9 -32
- package/dist-types/commands/UpdateAgentCommand.d.ts +12 -37
- package/dist-types/commands/index.d.ts +2 -4
- package/dist-types/index.d.ts +5 -10
- package/dist-types/models/enums.d.ts +27 -19
- package/dist-types/models/models_0.d.ts +91 -196
- package/dist-types/schemas/schemas_0.d.ts +6 -13
- package/package.json +1 -1
- package/dist-cjs/commands/DeleteAgentDeploymentCommand.js +0 -20
- package/dist-cjs/commands/UpdateAgentDeploymentCommand.js +0 -20
- package/dist-es/commands/DeleteAgentDeploymentCommand.js +0 -16
- package/dist-es/commands/UpdateAgentDeploymentCommand.js +0 -16
- package/dist-types/commands/CreateAgentDeploymentCommand.d.ts +0 -115
- package/dist-types/commands/DeleteAgentDeploymentCommand.d.ts +0 -81
- package/dist-types/commands/ListAgentDeploymentsCommand.d.ts +0 -105
- package/dist-types/commands/UpdateAgentDeploymentCommand.d.ts +0 -116
|
@@ -21,7 +21,6 @@ export declare var AgentChannels$: StaticStructureSchema;
|
|
|
21
21
|
export declare var AgentConnectorCapability$: StaticStructureSchema;
|
|
22
22
|
export declare var AgentDefinitionSnapshot$: StaticStructureSchema;
|
|
23
23
|
export declare var AgentDelegationCapability$: StaticStructureSchema;
|
|
24
|
-
export declare var AgentDeployment$: StaticStructureSchema;
|
|
25
24
|
export declare var AgentDeploymentRoute$: StaticStructureSchema;
|
|
26
25
|
export declare var AgentHandoverCapability$: StaticStructureSchema;
|
|
27
26
|
export declare var AgentHandoverPipeline$: StaticStructureSchema;
|
|
@@ -64,14 +63,10 @@ export declare var CompareAgentVersionsInput$: StaticStructureSchema;
|
|
|
64
63
|
export declare var CompareAgentVersionsOutput$: StaticStructureSchema;
|
|
65
64
|
export declare var CreateAgentApiKeyInput$: StaticStructureSchema;
|
|
66
65
|
export declare var CreateAgentApiKeyOutput$: StaticStructureSchema;
|
|
67
|
-
export declare var CreateAgentDeploymentInput$: StaticStructureSchema;
|
|
68
|
-
export declare var CreateAgentDeploymentOutput$: StaticStructureSchema;
|
|
69
66
|
export declare var CreateAgentInput$: StaticStructureSchema;
|
|
70
67
|
export declare var CreateAgentOutput$: StaticStructureSchema;
|
|
71
68
|
export declare var DeleteAgentApiKeyInput$: StaticStructureSchema;
|
|
72
69
|
export declare var DeleteAgentApiKeyOutput$: StaticStructureSchema;
|
|
73
|
-
export declare var DeleteAgentDeploymentInput$: StaticStructureSchema;
|
|
74
|
-
export declare var DeleteAgentDeploymentOutput$: StaticStructureSchema;
|
|
75
70
|
export declare var DeleteAgentInput$: StaticStructureSchema;
|
|
76
71
|
export declare var DeleteAgentOutput$: StaticStructureSchema;
|
|
77
72
|
export declare var GetAgentDeploymentInput$: StaticStructureSchema;
|
|
@@ -82,8 +77,6 @@ export declare var GetAgentVersionInput$: StaticStructureSchema;
|
|
|
82
77
|
export declare var GetAgentVersionOutput$: StaticStructureSchema;
|
|
83
78
|
export declare var ListAgentApiKeysInput$: StaticStructureSchema;
|
|
84
79
|
export declare var ListAgentApiKeysOutput$: StaticStructureSchema;
|
|
85
|
-
export declare var ListAgentDeploymentsInput$: StaticStructureSchema;
|
|
86
|
-
export declare var ListAgentDeploymentsOutput$: StaticStructureSchema;
|
|
87
80
|
export declare var ListAgentsInput$: StaticStructureSchema;
|
|
88
81
|
export declare var ListAgentsNamesInput$: StaticStructureSchema;
|
|
89
82
|
export declare var ListAgentsNamesOutput$: StaticStructureSchema;
|
|
@@ -92,10 +85,12 @@ export declare var ListAgentVersionsInput$: StaticStructureSchema;
|
|
|
92
85
|
export declare var ListAgentVersionsOutput$: StaticStructureSchema;
|
|
93
86
|
export declare var PublishAgentVersionInput$: StaticStructureSchema;
|
|
94
87
|
export declare var PublishAgentVersionOutput$: StaticStructureSchema;
|
|
88
|
+
export declare var PutAgentDeploymentInput$: StaticStructureSchema;
|
|
89
|
+
export declare var PutAgentDeploymentOutput$: StaticStructureSchema;
|
|
90
|
+
export declare var ResetAgentDeploymentInput$: StaticStructureSchema;
|
|
91
|
+
export declare var ResetAgentDeploymentOutput$: StaticStructureSchema;
|
|
95
92
|
export declare var RestoreAgentVersionToDraftInput$: StaticStructureSchema;
|
|
96
93
|
export declare var RestoreAgentVersionToDraftOutput$: StaticStructureSchema;
|
|
97
|
-
export declare var UpdateAgentDeploymentInput$: StaticStructureSchema;
|
|
98
|
-
export declare var UpdateAgentDeploymentOutput$: StaticStructureSchema;
|
|
99
94
|
export declare var UpdateAgentInput$: StaticStructureSchema;
|
|
100
95
|
export declare var UpdateAgentOutput$: StaticStructureSchema;
|
|
101
96
|
export declare var VoiceCallerMetadataSettings$: StaticStructureSchema;
|
|
@@ -122,19 +117,17 @@ export declare var VoiceTerminateAction$: StaticUnionSchema;
|
|
|
122
117
|
export declare var CompareAgentVersions$: StaticOperationSchema;
|
|
123
118
|
export declare var CreateAgent$: StaticOperationSchema;
|
|
124
119
|
export declare var CreateAgentApiKey$: StaticOperationSchema;
|
|
125
|
-
export declare var CreateAgentDeployment$: StaticOperationSchema;
|
|
126
120
|
export declare var DeleteAgent$: StaticOperationSchema;
|
|
127
121
|
export declare var DeleteAgentApiKey$: StaticOperationSchema;
|
|
128
|
-
export declare var DeleteAgentDeployment$: StaticOperationSchema;
|
|
129
122
|
export declare var GetAgent$: StaticOperationSchema;
|
|
130
123
|
export declare var GetAgentDeployment$: StaticOperationSchema;
|
|
131
124
|
export declare var GetAgentVersion$: StaticOperationSchema;
|
|
132
125
|
export declare var ListAgentApiKeys$: StaticOperationSchema;
|
|
133
|
-
export declare var ListAgentDeployments$: StaticOperationSchema;
|
|
134
126
|
export declare var ListAgents$: StaticOperationSchema;
|
|
135
127
|
export declare var ListAgentsNames$: StaticOperationSchema;
|
|
136
128
|
export declare var ListAgentVersions$: StaticOperationSchema;
|
|
137
129
|
export declare var PublishAgentVersion$: StaticOperationSchema;
|
|
130
|
+
export declare var PutAgentDeployment$: StaticOperationSchema;
|
|
131
|
+
export declare var ResetAgentDeployment$: StaticOperationSchema;
|
|
138
132
|
export declare var RestoreAgentVersionToDraft$: StaticOperationSchema;
|
|
139
133
|
export declare var UpdateAgent$: StaticOperationSchema;
|
|
140
|
-
export declare var UpdateAgentDeployment$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wilma-agents-client",
|
|
3
3
|
"description": "@wildix/wilma-agents-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.16",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteAgentDeploymentCommand = 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 DeleteAgentDeploymentCommand 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("WilmaAgents", "DeleteAgentDeployment", {})
|
|
16
|
-
.n("WilmaAgentsClient", "DeleteAgentDeploymentCommand")
|
|
17
|
-
.sc(schemas_0_1.DeleteAgentDeployment$)
|
|
18
|
-
.build() {
|
|
19
|
-
}
|
|
20
|
-
exports.DeleteAgentDeploymentCommand = DeleteAgentDeploymentCommand;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateAgentDeploymentCommand = 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 UpdateAgentDeploymentCommand 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("WilmaAgents", "UpdateAgentDeployment", {})
|
|
16
|
-
.n("WilmaAgentsClient", "UpdateAgentDeploymentCommand")
|
|
17
|
-
.sc(schemas_0_1.UpdateAgentDeployment$)
|
|
18
|
-
.build() {
|
|
19
|
-
}
|
|
20
|
-
exports.UpdateAgentDeploymentCommand = UpdateAgentDeploymentCommand;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DeleteAgentDeployment$ } from "../schemas/schemas_0";
|
|
5
|
-
export { $Command };
|
|
6
|
-
export class DeleteAgentDeploymentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("WilmaAgents", "DeleteAgentDeployment", {})
|
|
13
|
-
.n("WilmaAgentsClient", "DeleteAgentDeploymentCommand")
|
|
14
|
-
.sc(DeleteAgentDeployment$)
|
|
15
|
-
.build() {
|
|
16
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateAgentDeployment$ } from "../schemas/schemas_0";
|
|
5
|
-
export { $Command };
|
|
6
|
-
export class UpdateAgentDeploymentCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("WilmaAgents", "UpdateAgentDeployment", {})
|
|
13
|
-
.n("WilmaAgentsClient", "UpdateAgentDeploymentCommand")
|
|
14
|
-
.sc(UpdateAgentDeployment$)
|
|
15
|
-
.build() {
|
|
16
|
-
}
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
-
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CreateAgentDeploymentInput, CreateAgentDeploymentOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link CreateAgentDeploymentCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface CreateAgentDeploymentCommandInput extends CreateAgentDeploymentInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link CreateAgentDeploymentCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface CreateAgentDeploymentCommandOutput extends CreateAgentDeploymentOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const CreateAgentDeploymentCommand_base: {
|
|
25
|
-
new (input: CreateAgentDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentDeploymentCommandInput, CreateAgentDeploymentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: CreateAgentDeploymentCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentDeploymentCommandInput, CreateAgentDeploymentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Creates a named deployment routing new sessions to published agent versions. Route percentages must total 100.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { WilmaAgentsClient, CreateAgentDeploymentCommand } from "@wildix/wilma-agents-client"; // ES Modules import
|
|
35
|
-
* // const { WilmaAgentsClient, CreateAgentDeploymentCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
|
|
36
|
-
* // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
|
|
37
|
-
* const config = {}; // type is WilmaAgentsClientConfig
|
|
38
|
-
* const client = new WilmaAgentsClient(config);
|
|
39
|
-
* const input = { // CreateAgentDeploymentInput
|
|
40
|
-
* company: "STRING_VALUE",
|
|
41
|
-
* agentId: "STRING_VALUE", // required
|
|
42
|
-
* name: "STRING_VALUE", // required
|
|
43
|
-
* description: "STRING_VALUE",
|
|
44
|
-
* status: "active" || "paused", // required
|
|
45
|
-
* routing: [ // AgentDeploymentRoutesList // required
|
|
46
|
-
* { // AgentDeploymentRoute
|
|
47
|
-
* version: Number("int"), // required
|
|
48
|
-
* percentage: Number("int"), // required
|
|
49
|
-
* },
|
|
50
|
-
* ],
|
|
51
|
-
* };
|
|
52
|
-
* const command = new CreateAgentDeploymentCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* // { // CreateAgentDeploymentOutput
|
|
55
|
-
* // deployment: { // AgentDeployment
|
|
56
|
-
* // createdAt: "STRING_VALUE", // required
|
|
57
|
-
* // createdBy: { // Actor
|
|
58
|
-
* // type: "user" || "api_key" || "service", // required
|
|
59
|
-
* // id: "STRING_VALUE", // required
|
|
60
|
-
* // name: "STRING_VALUE",
|
|
61
|
-
* // },
|
|
62
|
-
* // updatedAt: "STRING_VALUE",
|
|
63
|
-
* // updatedBy: {
|
|
64
|
-
* // type: "user" || "api_key" || "service", // required
|
|
65
|
-
* // id: "STRING_VALUE", // required
|
|
66
|
-
* // name: "STRING_VALUE",
|
|
67
|
-
* // },
|
|
68
|
-
* // agentId: "STRING_VALUE", // required
|
|
69
|
-
* // name: "STRING_VALUE", // required
|
|
70
|
-
* // description: "STRING_VALUE",
|
|
71
|
-
* // status: "active" || "paused", // required
|
|
72
|
-
* // routing: [ // AgentDeploymentRoutesList // required
|
|
73
|
-
* // { // AgentDeploymentRoute
|
|
74
|
-
* // version: Number("int"), // required
|
|
75
|
-
* // percentage: Number("int"), // required
|
|
76
|
-
* // },
|
|
77
|
-
* // ],
|
|
78
|
-
* // revision: Number("int"), // required
|
|
79
|
-
* // },
|
|
80
|
-
* // };
|
|
81
|
-
*
|
|
82
|
-
* ```
|
|
83
|
-
*
|
|
84
|
-
* @param CreateAgentDeploymentCommandInput - {@link CreateAgentDeploymentCommandInput}
|
|
85
|
-
* @returns {@link CreateAgentDeploymentCommandOutput}
|
|
86
|
-
* @see {@link CreateAgentDeploymentCommandInput} for command's `input` shape.
|
|
87
|
-
* @see {@link CreateAgentDeploymentCommandOutput} for command's `response` shape.
|
|
88
|
-
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
89
|
-
*
|
|
90
|
-
* @throws {@link NotFoundException} (client fault)
|
|
91
|
-
*
|
|
92
|
-
* @throws {@link ConflictException} (client fault)
|
|
93
|
-
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
94
|
-
*
|
|
95
|
-
* @throws {@link ValidationException} (client fault)
|
|
96
|
-
*
|
|
97
|
-
* @throws {@link WilmaAgentsServiceException}
|
|
98
|
-
* <p>Base exception class for all service exceptions from WilmaAgents service.</p>
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
* @public
|
|
102
|
-
*/
|
|
103
|
-
export declare class CreateAgentDeploymentCommand extends CreateAgentDeploymentCommand_base {
|
|
104
|
-
/** @internal type navigation helper, not in runtime. */
|
|
105
|
-
protected static __types: {
|
|
106
|
-
api: {
|
|
107
|
-
input: CreateAgentDeploymentInput;
|
|
108
|
-
output: CreateAgentDeploymentOutput;
|
|
109
|
-
};
|
|
110
|
-
sdk: {
|
|
111
|
-
input: CreateAgentDeploymentCommandInput;
|
|
112
|
-
output: CreateAgentDeploymentCommandOutput;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
-
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DeleteAgentDeploymentInput, DeleteAgentDeploymentOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link DeleteAgentDeploymentCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface DeleteAgentDeploymentCommandInput extends DeleteAgentDeploymentInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link DeleteAgentDeploymentCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface DeleteAgentDeploymentCommandOutput extends DeleteAgentDeploymentOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const DeleteAgentDeploymentCommand_base: {
|
|
25
|
-
new (input: DeleteAgentDeploymentCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentDeploymentCommandInput, DeleteAgentDeploymentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: DeleteAgentDeploymentCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentDeploymentCommandInput, DeleteAgentDeploymentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Deletes a deployment that is not required as the 'production' deployment for an enabled channel and is not referenced by another agent.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { WilmaAgentsClient, DeleteAgentDeploymentCommand } from "@wildix/wilma-agents-client"; // ES Modules import
|
|
35
|
-
* // const { WilmaAgentsClient, DeleteAgentDeploymentCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
|
|
36
|
-
* // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
|
|
37
|
-
* const config = {}; // type is WilmaAgentsClientConfig
|
|
38
|
-
* const client = new WilmaAgentsClient(config);
|
|
39
|
-
* const input = { // DeleteAgentDeploymentInput
|
|
40
|
-
* company: "STRING_VALUE",
|
|
41
|
-
* agentId: "STRING_VALUE", // required
|
|
42
|
-
* deploymentName: "STRING_VALUE", // required
|
|
43
|
-
* };
|
|
44
|
-
* const command = new DeleteAgentDeploymentCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* // {};
|
|
47
|
-
*
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @param DeleteAgentDeploymentCommandInput - {@link DeleteAgentDeploymentCommandInput}
|
|
51
|
-
* @returns {@link DeleteAgentDeploymentCommandOutput}
|
|
52
|
-
* @see {@link DeleteAgentDeploymentCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link DeleteAgentDeploymentCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
55
|
-
*
|
|
56
|
-
* @throws {@link NotFoundException} (client fault)
|
|
57
|
-
*
|
|
58
|
-
* @throws {@link ConflictException} (client fault)
|
|
59
|
-
* The request conflicts with the current state of the resource, e.g. a duplicate name, a resource still in use, or an unmet precondition.
|
|
60
|
-
*
|
|
61
|
-
* @throws {@link ValidationException} (client fault)
|
|
62
|
-
*
|
|
63
|
-
* @throws {@link WilmaAgentsServiceException}
|
|
64
|
-
* <p>Base exception class for all service exceptions from WilmaAgents service.</p>
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
* @public
|
|
68
|
-
*/
|
|
69
|
-
export declare class DeleteAgentDeploymentCommand extends DeleteAgentDeploymentCommand_base {
|
|
70
|
-
/** @internal type navigation helper, not in runtime. */
|
|
71
|
-
protected static __types: {
|
|
72
|
-
api: {
|
|
73
|
-
input: DeleteAgentDeploymentInput;
|
|
74
|
-
output: {};
|
|
75
|
-
};
|
|
76
|
-
sdk: {
|
|
77
|
-
input: DeleteAgentDeploymentCommandInput;
|
|
78
|
-
output: DeleteAgentDeploymentCommandOutput;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
-
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { ListAgentDeploymentsInput, ListAgentDeploymentsOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link ListAgentDeploymentsCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface ListAgentDeploymentsCommandInput extends ListAgentDeploymentsInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link ListAgentDeploymentsCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface ListAgentDeploymentsCommandOutput extends ListAgentDeploymentsOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const ListAgentDeploymentsCommand_base: {
|
|
25
|
-
new (input: ListAgentDeploymentsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentDeploymentsCommandInput, ListAgentDeploymentsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: ListAgentDeploymentsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentDeploymentsCommandInput, ListAgentDeploymentsCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Lists the named deployment configurations of an agent.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { WilmaAgentsClient, ListAgentDeploymentsCommand } from "@wildix/wilma-agents-client"; // ES Modules import
|
|
35
|
-
* // const { WilmaAgentsClient, ListAgentDeploymentsCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
|
|
36
|
-
* // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
|
|
37
|
-
* const config = {}; // type is WilmaAgentsClientConfig
|
|
38
|
-
* const client = new WilmaAgentsClient(config);
|
|
39
|
-
* const input = { // ListAgentDeploymentsInput
|
|
40
|
-
* company: "STRING_VALUE",
|
|
41
|
-
* agentId: "STRING_VALUE", // required
|
|
42
|
-
* };
|
|
43
|
-
* const command = new ListAgentDeploymentsCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* // { // ListAgentDeploymentsOutput
|
|
46
|
-
* // deployments: [ // AgentDeploymentsList // required
|
|
47
|
-
* // { // AgentDeployment
|
|
48
|
-
* // createdAt: "STRING_VALUE", // required
|
|
49
|
-
* // createdBy: { // Actor
|
|
50
|
-
* // type: "user" || "api_key" || "service", // required
|
|
51
|
-
* // id: "STRING_VALUE", // required
|
|
52
|
-
* // name: "STRING_VALUE",
|
|
53
|
-
* // },
|
|
54
|
-
* // updatedAt: "STRING_VALUE",
|
|
55
|
-
* // updatedBy: {
|
|
56
|
-
* // type: "user" || "api_key" || "service", // required
|
|
57
|
-
* // id: "STRING_VALUE", // required
|
|
58
|
-
* // name: "STRING_VALUE",
|
|
59
|
-
* // },
|
|
60
|
-
* // agentId: "STRING_VALUE", // required
|
|
61
|
-
* // name: "STRING_VALUE", // required
|
|
62
|
-
* // description: "STRING_VALUE",
|
|
63
|
-
* // status: "active" || "paused", // required
|
|
64
|
-
* // routing: [ // AgentDeploymentRoutesList // required
|
|
65
|
-
* // { // AgentDeploymentRoute
|
|
66
|
-
* // version: Number("int"), // required
|
|
67
|
-
* // percentage: Number("int"), // required
|
|
68
|
-
* // },
|
|
69
|
-
* // ],
|
|
70
|
-
* // revision: Number("int"), // required
|
|
71
|
-
* // },
|
|
72
|
-
* // ],
|
|
73
|
-
* // };
|
|
74
|
-
*
|
|
75
|
-
* ```
|
|
76
|
-
*
|
|
77
|
-
* @param ListAgentDeploymentsCommandInput - {@link ListAgentDeploymentsCommandInput}
|
|
78
|
-
* @returns {@link ListAgentDeploymentsCommandOutput}
|
|
79
|
-
* @see {@link ListAgentDeploymentsCommandInput} for command's `input` shape.
|
|
80
|
-
* @see {@link ListAgentDeploymentsCommandOutput} for command's `response` shape.
|
|
81
|
-
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
82
|
-
*
|
|
83
|
-
* @throws {@link NotFoundException} (client fault)
|
|
84
|
-
*
|
|
85
|
-
* @throws {@link ValidationException} (client fault)
|
|
86
|
-
*
|
|
87
|
-
* @throws {@link WilmaAgentsServiceException}
|
|
88
|
-
* <p>Base exception class for all service exceptions from WilmaAgents service.</p>
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
* @public
|
|
92
|
-
*/
|
|
93
|
-
export declare class ListAgentDeploymentsCommand extends ListAgentDeploymentsCommand_base {
|
|
94
|
-
/** @internal type navigation helper, not in runtime. */
|
|
95
|
-
protected static __types: {
|
|
96
|
-
api: {
|
|
97
|
-
input: ListAgentDeploymentsInput;
|
|
98
|
-
output: ListAgentDeploymentsOutput;
|
|
99
|
-
};
|
|
100
|
-
sdk: {
|
|
101
|
-
input: ListAgentDeploymentsCommandInput;
|
|
102
|
-
output: ListAgentDeploymentsCommandOutput;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
}
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
-
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { UpdateAgentDeploymentInput, UpdateAgentDeploymentOutput } from "../models/models_0";
|
|
4
|
-
import type { ServiceInputTypes, ServiceOutputTypes, WilmaAgentsClientResolvedConfig } from "../WilmaAgentsClient";
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
|
-
/**
|
|
11
|
-
* @public
|
|
12
|
-
*
|
|
13
|
-
* The input for {@link UpdateAgentDeploymentCommand}.
|
|
14
|
-
*/
|
|
15
|
-
export interface UpdateAgentDeploymentCommandInput extends UpdateAgentDeploymentInput {
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*
|
|
20
|
-
* The output of {@link UpdateAgentDeploymentCommand}.
|
|
21
|
-
*/
|
|
22
|
-
export interface UpdateAgentDeploymentCommandOutput extends UpdateAgentDeploymentOutput, __MetadataBearer {
|
|
23
|
-
}
|
|
24
|
-
declare const UpdateAgentDeploymentCommand_base: {
|
|
25
|
-
new (input: UpdateAgentDeploymentCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentDeploymentCommandInput, UpdateAgentDeploymentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (input: UpdateAgentDeploymentCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentDeploymentCommandInput, UpdateAgentDeploymentCommandOutput, WilmaAgentsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Atomically updates deployment status or traffic allocation for new sessions. Existing sessions remain pinned to their resolved version.
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { WilmaAgentsClient, UpdateAgentDeploymentCommand } from "@wildix/wilma-agents-client"; // ES Modules import
|
|
35
|
-
* // const { WilmaAgentsClient, UpdateAgentDeploymentCommand } = require("@wildix/wilma-agents-client"); // CommonJS import
|
|
36
|
-
* // import type { WilmaAgentsClientConfig } from "@wildix/wilma-agents-client";
|
|
37
|
-
* const config = {}; // type is WilmaAgentsClientConfig
|
|
38
|
-
* const client = new WilmaAgentsClient(config);
|
|
39
|
-
* const input = { // UpdateAgentDeploymentInput
|
|
40
|
-
* company: "STRING_VALUE",
|
|
41
|
-
* agentId: "STRING_VALUE", // required
|
|
42
|
-
* deploymentName: "STRING_VALUE", // required
|
|
43
|
-
* description: "STRING_VALUE",
|
|
44
|
-
* status: "active" || "paused", // required
|
|
45
|
-
* routing: [ // AgentDeploymentRoutesList // required
|
|
46
|
-
* { // AgentDeploymentRoute
|
|
47
|
-
* version: Number("int"), // required
|
|
48
|
-
* percentage: Number("int"), // required
|
|
49
|
-
* },
|
|
50
|
-
* ],
|
|
51
|
-
* revision: Number("int"), // required
|
|
52
|
-
* };
|
|
53
|
-
* const command = new UpdateAgentDeploymentCommand(input);
|
|
54
|
-
* const response = await client.send(command);
|
|
55
|
-
* // { // UpdateAgentDeploymentOutput
|
|
56
|
-
* // deployment: { // AgentDeployment
|
|
57
|
-
* // createdAt: "STRING_VALUE", // required
|
|
58
|
-
* // createdBy: { // Actor
|
|
59
|
-
* // type: "user" || "api_key" || "service", // required
|
|
60
|
-
* // id: "STRING_VALUE", // required
|
|
61
|
-
* // name: "STRING_VALUE",
|
|
62
|
-
* // },
|
|
63
|
-
* // updatedAt: "STRING_VALUE",
|
|
64
|
-
* // updatedBy: {
|
|
65
|
-
* // type: "user" || "api_key" || "service", // required
|
|
66
|
-
* // id: "STRING_VALUE", // required
|
|
67
|
-
* // name: "STRING_VALUE",
|
|
68
|
-
* // },
|
|
69
|
-
* // agentId: "STRING_VALUE", // required
|
|
70
|
-
* // name: "STRING_VALUE", // required
|
|
71
|
-
* // description: "STRING_VALUE",
|
|
72
|
-
* // status: "active" || "paused", // required
|
|
73
|
-
* // routing: [ // AgentDeploymentRoutesList // required
|
|
74
|
-
* // { // AgentDeploymentRoute
|
|
75
|
-
* // version: Number("int"), // required
|
|
76
|
-
* // percentage: Number("int"), // required
|
|
77
|
-
* // },
|
|
78
|
-
* // ],
|
|
79
|
-
* // revision: Number("int"), // required
|
|
80
|
-
* // },
|
|
81
|
-
* // };
|
|
82
|
-
*
|
|
83
|
-
* ```
|
|
84
|
-
*
|
|
85
|
-
* @param UpdateAgentDeploymentCommandInput - {@link UpdateAgentDeploymentCommandInput}
|
|
86
|
-
* @returns {@link UpdateAgentDeploymentCommandOutput}
|
|
87
|
-
* @see {@link UpdateAgentDeploymentCommandInput} for command's `input` shape.
|
|
88
|
-
* @see {@link UpdateAgentDeploymentCommandOutput} for command's `response` shape.
|
|
89
|
-
* @see {@link WilmaAgentsClientResolvedConfig | config} for WilmaAgentsClient's `config` shape.
|
|
90
|
-
*
|
|
91
|
-
* @throws {@link NotFoundException} (client fault)
|
|
92
|
-
*
|
|
93
|
-
* @throws {@link RevisionConflictException} (client fault)
|
|
94
|
-
* The resource was modified concurrently; re-read it and retry with the latest revision.
|
|
95
|
-
*
|
|
96
|
-
* @throws {@link ValidationException} (client fault)
|
|
97
|
-
*
|
|
98
|
-
* @throws {@link WilmaAgentsServiceException}
|
|
99
|
-
* <p>Base exception class for all service exceptions from WilmaAgents service.</p>
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* @public
|
|
103
|
-
*/
|
|
104
|
-
export declare class UpdateAgentDeploymentCommand extends UpdateAgentDeploymentCommand_base {
|
|
105
|
-
/** @internal type navigation helper, not in runtime. */
|
|
106
|
-
protected static __types: {
|
|
107
|
-
api: {
|
|
108
|
-
input: UpdateAgentDeploymentInput;
|
|
109
|
-
output: UpdateAgentDeploymentOutput;
|
|
110
|
-
};
|
|
111
|
-
sdk: {
|
|
112
|
-
input: UpdateAgentDeploymentCommandInput;
|
|
113
|
-
output: UpdateAgentDeploymentCommandOutput;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
|
-
}
|