@wildix/wim-wilma-client 0.0.3 → 0.0.5

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 (40) hide show
  1. package/dist-cjs/Wilma.js +14 -0
  2. package/dist-cjs/commands/CreateAgentCommand.js +21 -0
  3. package/dist-cjs/commands/DeleteAgentCommand.js +21 -0
  4. package/dist-cjs/commands/ExecuteAgentCommand.js +21 -0
  5. package/dist-cjs/commands/GetAgentCommand.js +21 -0
  6. package/dist-cjs/commands/ListAgentsCommand.js +21 -0
  7. package/dist-cjs/commands/ListAgentsNamesCommand.js +21 -0
  8. package/dist-cjs/commands/UpdateAgentCommand.js +21 -0
  9. package/dist-cjs/commands/index.js +7 -0
  10. package/dist-cjs/models/models_0.js +43 -14
  11. package/dist-cjs/protocols/Aws_restJson1.js +269 -6
  12. package/dist-es/Wilma.js +14 -0
  13. package/dist-es/commands/CreateAgentCommand.js +17 -0
  14. package/dist-es/commands/DeleteAgentCommand.js +17 -0
  15. package/dist-es/commands/ExecuteAgentCommand.js +17 -0
  16. package/dist-es/commands/GetAgentCommand.js +17 -0
  17. package/dist-es/commands/ListAgentsCommand.js +17 -0
  18. package/dist-es/commands/ListAgentsNamesCommand.js +17 -0
  19. package/dist-es/commands/UpdateAgentCommand.js +17 -0
  20. package/dist-es/commands/index.js +7 -0
  21. package/dist-es/models/models_0.js +41 -12
  22. package/dist-es/protocols/Aws_restJson1.js +254 -5
  23. package/dist-types/Wilma.d.ts +51 -0
  24. package/dist-types/WilmaClient.d.ts +9 -2
  25. package/dist-types/commands/CreateAgentCommand.d.ts +142 -0
  26. package/dist-types/commands/DeleteAgentCommand.d.ts +73 -0
  27. package/dist-types/commands/ExecuteAgentCommand.d.ts +84 -0
  28. package/dist-types/commands/GetAgentCommand.d.ts +113 -0
  29. package/dist-types/commands/GetChatCommand.d.ts +2 -0
  30. package/dist-types/commands/ListAgentsCommand.d.ts +112 -0
  31. package/dist-types/commands/ListAgentsNamesCommand.d.ts +80 -0
  32. package/dist-types/commands/ListChatsCommand.d.ts +2 -0
  33. package/dist-types/commands/UpdateAgentCommand.d.ts +145 -0
  34. package/dist-types/commands/index.d.ts +7 -0
  35. package/dist-types/models/models_0.d.ts +333 -5
  36. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  37. package/dist-types/runtimeConfig.browser.d.ts +6 -1
  38. package/dist-types/runtimeConfig.d.ts +6 -1
  39. package/dist-types/runtimeConfig.native.d.ts +6 -1
  40. package/package.json +1 -1
@@ -1,12 +1,27 @@
1
+ import { CreateAgentCommandInput, CreateAgentCommandOutput } from "../commands/CreateAgentCommand";
2
+ import { DeleteAgentCommandInput, DeleteAgentCommandOutput } from "../commands/DeleteAgentCommand";
1
3
  import { DeleteChatCommandInput, DeleteChatCommandOutput } from "../commands/DeleteChatCommand";
2
4
  import { DislikeAnswerCommandInput, DislikeAnswerCommandOutput } from "../commands/DislikeAnswerCommand";
5
+ import { ExecuteAgentCommandInput, ExecuteAgentCommandOutput } from "../commands/ExecuteAgentCommand";
6
+ import { GetAgentCommandInput, GetAgentCommandOutput } from "../commands/GetAgentCommand";
3
7
  import { GetChatCommandInput, GetChatCommandOutput } from "../commands/GetChatCommand";
4
8
  import { LikeAnswerCommandInput, LikeAnswerCommandOutput } from "../commands/LikeAnswerCommand";
5
9
  import { ListAgentFeedbacksCommandInput, ListAgentFeedbacksCommandOutput } from "../commands/ListAgentFeedbacksCommand";
10
+ import { ListAgentsCommandInput, ListAgentsCommandOutput } from "../commands/ListAgentsCommand";
11
+ import { ListAgentsNamesCommandInput, ListAgentsNamesCommandOutput } from "../commands/ListAgentsNamesCommand";
6
12
  import { ListChatsCommandInput, ListChatsCommandOutput } from "../commands/ListChatsCommand";
7
13
  import { ListFeedbacksCommandInput, ListFeedbacksCommandOutput } from "../commands/ListFeedbacksCommand";
14
+ import { UpdateAgentCommandInput, UpdateAgentCommandOutput } from "../commands/UpdateAgentCommand";
8
15
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
9
16
  import { SerdeContext as __SerdeContext } from "@smithy/types";
17
+ /**
18
+ * serializeAws_restJson1CreateAgentCommand
19
+ */
20
+ export declare const se_CreateAgentCommand: (input: CreateAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
21
+ /**
22
+ * serializeAws_restJson1DeleteAgentCommand
23
+ */
24
+ export declare const se_DeleteAgentCommand: (input: DeleteAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
10
25
  /**
11
26
  * serializeAws_restJson1DeleteChatCommand
12
27
  */
@@ -15,6 +30,14 @@ export declare const se_DeleteChatCommand: (input: DeleteChatCommandInput, conte
15
30
  * serializeAws_restJson1DislikeAnswerCommand
16
31
  */
17
32
  export declare const se_DislikeAnswerCommand: (input: DislikeAnswerCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
+ /**
34
+ * serializeAws_restJson1ExecuteAgentCommand
35
+ */
36
+ export declare const se_ExecuteAgentCommand: (input: ExecuteAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
37
+ /**
38
+ * serializeAws_restJson1GetAgentCommand
39
+ */
40
+ export declare const se_GetAgentCommand: (input: GetAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
18
41
  /**
19
42
  * serializeAws_restJson1GetChatCommand
20
43
  */
@@ -27,6 +50,14 @@ export declare const se_LikeAnswerCommand: (input: LikeAnswerCommandInput, conte
27
50
  * serializeAws_restJson1ListAgentFeedbacksCommand
28
51
  */
29
52
  export declare const se_ListAgentFeedbacksCommand: (input: ListAgentFeedbacksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
53
+ /**
54
+ * serializeAws_restJson1ListAgentsCommand
55
+ */
56
+ export declare const se_ListAgentsCommand: (input: ListAgentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
57
+ /**
58
+ * serializeAws_restJson1ListAgentsNamesCommand
59
+ */
60
+ export declare const se_ListAgentsNamesCommand: (input: ListAgentsNamesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
61
  /**
31
62
  * serializeAws_restJson1ListChatsCommand
32
63
  */
@@ -35,6 +66,18 @@ export declare const se_ListChatsCommand: (input: ListChatsCommandInput, context
35
66
  * serializeAws_restJson1ListFeedbacksCommand
36
67
  */
37
68
  export declare const se_ListFeedbacksCommand: (input: ListFeedbacksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
+ /**
70
+ * serializeAws_restJson1UpdateAgentCommand
71
+ */
72
+ export declare const se_UpdateAgentCommand: (input: UpdateAgentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
+ /**
74
+ * deserializeAws_restJson1CreateAgentCommand
75
+ */
76
+ export declare const de_CreateAgentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateAgentCommandOutput>;
77
+ /**
78
+ * deserializeAws_restJson1DeleteAgentCommand
79
+ */
80
+ export declare const de_DeleteAgentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteAgentCommandOutput>;
38
81
  /**
39
82
  * deserializeAws_restJson1DeleteChatCommand
40
83
  */
@@ -43,6 +86,14 @@ export declare const de_DeleteChatCommand: (output: __HttpResponse, context: __S
43
86
  * deserializeAws_restJson1DislikeAnswerCommand
44
87
  */
45
88
  export declare const de_DislikeAnswerCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DislikeAnswerCommandOutput>;
89
+ /**
90
+ * deserializeAws_restJson1ExecuteAgentCommand
91
+ */
92
+ export declare const de_ExecuteAgentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ExecuteAgentCommandOutput>;
93
+ /**
94
+ * deserializeAws_restJson1GetAgentCommand
95
+ */
96
+ export declare const de_GetAgentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAgentCommandOutput>;
46
97
  /**
47
98
  * deserializeAws_restJson1GetChatCommand
48
99
  */
@@ -55,6 +106,14 @@ export declare const de_LikeAnswerCommand: (output: __HttpResponse, context: __S
55
106
  * deserializeAws_restJson1ListAgentFeedbacksCommand
56
107
  */
57
108
  export declare const de_ListAgentFeedbacksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAgentFeedbacksCommandOutput>;
109
+ /**
110
+ * deserializeAws_restJson1ListAgentsCommand
111
+ */
112
+ export declare const de_ListAgentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAgentsCommandOutput>;
113
+ /**
114
+ * deserializeAws_restJson1ListAgentsNamesCommand
115
+ */
116
+ export declare const de_ListAgentsNamesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAgentsNamesCommandOutput>;
58
117
  /**
59
118
  * deserializeAws_restJson1ListChatsCommand
60
119
  */
@@ -63,3 +122,7 @@ export declare const de_ListChatsCommand: (output: __HttpResponse, context: __Se
63
122
  * deserializeAws_restJson1ListFeedbacksCommand
64
123
  */
65
124
  export declare const de_ListFeedbacksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListFeedbacksCommandOutput>;
125
+ /**
126
+ * deserializeAws_restJson1UpdateAgentCommand
127
+ */
128
+ export declare const de_UpdateAgentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAgentCommandOutput>;
@@ -15,8 +15,13 @@ export declare const getRuntimeConfig: (config: WilmaClientConfig) => {
15
15
  streamCollector: import("@smithy/types").StreamCollector;
16
16
  env?: "stage" | "stable" | "prod" | undefined;
17
17
  token: import("@wildix/smithy-utils").TokenProvider;
18
- apiVersion: string;
19
18
  cacheMiddleware?: boolean | undefined;
19
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
20
+ protocolSettings?: {
21
+ [setting: string]: unknown;
22
+ defaultNamespace?: string | undefined;
23
+ } | undefined;
24
+ apiVersion: string;
20
25
  urlParser: import("@smithy/types").UrlParser;
21
26
  base64Decoder: import("@smithy/types").Decoder;
22
27
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -16,8 +16,13 @@ export declare const getRuntimeConfig: (config: WilmaClientConfig) => {
16
16
  userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
17
17
  env?: "stage" | "stable" | "prod" | undefined;
18
18
  token: import("@wildix/smithy-utils").TokenProvider;
19
- apiVersion: string;
20
19
  cacheMiddleware?: boolean | undefined;
20
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
21
+ protocolSettings?: {
22
+ [setting: string]: unknown;
23
+ defaultNamespace?: string | undefined;
24
+ } | undefined;
25
+ apiVersion: string;
21
26
  urlParser: import("@smithy/types").UrlParser;
22
27
  base64Decoder: import("@smithy/types").Decoder;
23
28
  base64Encoder: (_input: string | Uint8Array) => string;
@@ -8,8 +8,13 @@ export declare const getRuntimeConfig: (config: WilmaClientConfig) => {
8
8
  env?: "stage" | "stable" | "prod" | undefined;
9
9
  token: import("@wildix/smithy-utils").TokenProvider;
10
10
  requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
11
- apiVersion: string;
12
11
  cacheMiddleware?: boolean | undefined;
12
+ protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
13
+ protocolSettings?: {
14
+ [setting: string]: unknown;
15
+ defaultNamespace?: string | undefined;
16
+ } | undefined;
17
+ apiVersion: string;
13
18
  urlParser: import("@smithy/types").UrlParser;
14
19
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
15
20
  streamCollector: import("@smithy/types").StreamCollector;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wim-wilma-client",
3
3
  "description": "@wildix/wim-wilma-client client",
4
- "version": "0.0.3",
4
+ "version": "0.0.5",
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",