@wildix/wilma-copilot-sessions-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.
- package/dist-cjs/WilmaCopilotSessions.js +15 -0
- package/dist-cjs/WilmaCopilotSessionsClient.js +49 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +58 -0
- package/dist-cjs/commands/GetCopilotSessionEventsCommand.js +20 -0
- package/dist-cjs/commands/StreamCopilotSessionEventsCommand.js +20 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +13 -0
- package/dist-cjs/models/WilmaCopilotSessionsServiceException.js +12 -0
- package/dist-cjs/models/enums.js +130 -0
- package/dist-cjs/models/errors.js +43 -0
- package/dist-cjs/models/models_0.js +2 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +41 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +42 -0
- package/dist-cjs/runtimeExtensions.js +12 -0
- package/dist-cjs/schemas/schemas_0.js +424 -0
- package/dist-es/WilmaCopilotSessions.js +11 -0
- package/dist-es/WilmaCopilotSessionsClient.js +45 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +52 -0
- package/dist-es/commands/GetCopilotSessionEventsCommand.js +16 -0
- package/dist-es/commands/StreamCopilotSessionEventsCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +8 -0
- package/dist-es/models/WilmaCopilotSessionsServiceException.js +8 -0
- package/dist-es/models/enums.js +127 -0
- package/dist-es/models/errors.js +37 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +36 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +38 -0
- package/dist-es/runtimeExtensions.js +8 -0
- package/dist-es/schemas/schemas_0.js +421 -0
- package/dist-types/WilmaCopilotSessions.d.ts +33 -0
- package/dist-types/WilmaCopilotSessionsClient.d.ts +178 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/GetCopilotSessionEventsCommand.d.ts +379 -0
- package/dist-types/commands/StreamCopilotSessionEventsCommand.d.ts +88 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +8 -0
- package/dist-types/index.d.ts +25 -0
- package/dist-types/models/WilmaCopilotSessionsServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +275 -0
- package/dist-types/models/errors.d.ts +35 -0
- package/dist-types/models/models_0.d.ts +757 -0
- package/dist-types/runtimeConfig.browser.d.ts +56 -0
- package/dist-types/runtimeConfig.d.ts +56 -0
- package/dist-types/runtimeConfig.native.d.ts +55 -0
- package/dist-types/runtimeConfig.shared.d.ts +33 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +50 -0
- package/package.json +57 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/core/client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from WilmaCopilotSessions service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class WilmaCopilotSessionsServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const License: {
|
|
6
|
+
readonly UC: "uc";
|
|
7
|
+
readonly XBEES: "x-bees";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type License = (typeof License)[keyof typeof License];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const CallParticipantRole: {
|
|
18
|
+
readonly AGENT: "AGENT";
|
|
19
|
+
readonly CLIENT: "CLIENT";
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type CallParticipantRole = (typeof CallParticipantRole)[keyof typeof CallParticipantRole];
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @enum
|
|
28
|
+
*/
|
|
29
|
+
export declare const CallParticipantType: {
|
|
30
|
+
readonly LOCAL: "LOCAL";
|
|
31
|
+
readonly REMOTE: "REMOTE";
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type CallParticipantType = (typeof CallParticipantType)[keyof typeof CallParticipantType];
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @enum
|
|
40
|
+
*/
|
|
41
|
+
export declare const CallDevice: {
|
|
42
|
+
readonly COLLABORATION7_ANDROID: "COLLABORATION7_ANDROID";
|
|
43
|
+
readonly COLLABORATION7_IOS: "COLLABORATION7_IOS";
|
|
44
|
+
readonly COLLABORATION7_WEB: "COLLABORATION7_WEB";
|
|
45
|
+
readonly COLLABORATION_ANDROID: "COLLABORATION_ANDROID";
|
|
46
|
+
readonly COLLABORATION_IOS: "COLLABORATION_IOS";
|
|
47
|
+
readonly COLLABORATION_WEB: "COLLABORATION_WEB";
|
|
48
|
+
readonly TEAMS4WILDIX: "TEAMS4WILDIX";
|
|
49
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
50
|
+
readonly VOICEBOT: "VOICEBOT";
|
|
51
|
+
readonly WILDIX_DEVICE: "WILDIX_DEVICE";
|
|
52
|
+
readonly WILDIX_PHONE: "WILDIX_PHONE";
|
|
53
|
+
readonly XBEES_ANDROID: "XBEES_ANDROID";
|
|
54
|
+
readonly XBEES_IOS: "XBEES_IOS";
|
|
55
|
+
readonly XBEES_WEB: "XBEES_WEB";
|
|
56
|
+
readonly XHOPPERS_ANDROID: "XHOPPERS_ANDROID";
|
|
57
|
+
readonly XHOPPERS_IOS: "XHOPPERS_IOS";
|
|
58
|
+
readonly XHOPPERS_WEB: "XHOPPERS_WEB";
|
|
59
|
+
};
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
export type CallDevice = (typeof CallDevice)[keyof typeof CallDevice];
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
* @enum
|
|
67
|
+
*/
|
|
68
|
+
export declare const CallTranscriptionSpeaker: {
|
|
69
|
+
readonly CALLEE: "callee";
|
|
70
|
+
readonly CALLER: "caller";
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export type CallTranscriptionSpeaker = (typeof CallTranscriptionSpeaker)[keyof typeof CallTranscriptionSpeaker];
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
* @enum
|
|
79
|
+
*/
|
|
80
|
+
export declare const TranscriptionSentiment: {
|
|
81
|
+
readonly MIXED: "MIXED";
|
|
82
|
+
readonly NEGATIVE: "NEGATIVE";
|
|
83
|
+
readonly NEUTRAL: "NEUTRAL";
|
|
84
|
+
readonly POSITIVE: "POSITIVE";
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export type TranscriptionSentiment = (typeof TranscriptionSentiment)[keyof typeof TranscriptionSentiment];
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
* @enum
|
|
93
|
+
*/
|
|
94
|
+
export declare const ButtonVariant: {
|
|
95
|
+
readonly CONTAINED: "contained";
|
|
96
|
+
readonly OUTLINED: "outlined";
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
export type ButtonVariant = (typeof ButtonVariant)[keyof typeof ButtonVariant];
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
* @enum
|
|
105
|
+
*/
|
|
106
|
+
export declare const MessageSmsStatus: {
|
|
107
|
+
readonly DELIVERED: "delivered";
|
|
108
|
+
readonly ERROR: "error";
|
|
109
|
+
readonly SENT: "sent";
|
|
110
|
+
readonly TRYING: "trying";
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export type MessageSmsStatus = (typeof MessageSmsStatus)[keyof typeof MessageSmsStatus];
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
* @enum
|
|
119
|
+
*/
|
|
120
|
+
export declare const MessageType: {
|
|
121
|
+
readonly DELETED: "deleted";
|
|
122
|
+
readonly REGULAR: "regular";
|
|
123
|
+
readonly SYSTEM: "system";
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export type MessageType = (typeof MessageType)[keyof typeof MessageType];
|
|
129
|
+
/**
|
|
130
|
+
* @public
|
|
131
|
+
* @enum
|
|
132
|
+
*/
|
|
133
|
+
export declare const MessageWhatsAppStatus: {
|
|
134
|
+
readonly DELIVERED: "delivered";
|
|
135
|
+
readonly ERROR: "error";
|
|
136
|
+
readonly SENT: "sent";
|
|
137
|
+
readonly TRYING: "trying";
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export type MessageWhatsAppStatus = (typeof MessageWhatsAppStatus)[keyof typeof MessageWhatsAppStatus];
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
* @enum
|
|
146
|
+
*/
|
|
147
|
+
export declare const PbxLicenseType: {
|
|
148
|
+
readonly BASIC: "basic";
|
|
149
|
+
readonly BUSINESS: "business";
|
|
150
|
+
readonly ESSENTIAL: "essential";
|
|
151
|
+
readonly PREMIUM: "premium";
|
|
152
|
+
readonly WIZYCONF: "wizyconf";
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export type PbxLicenseType = (typeof PbxLicenseType)[keyof typeof PbxLicenseType];
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
* @enum
|
|
161
|
+
*/
|
|
162
|
+
export declare const ConferenceParticipantRole: {
|
|
163
|
+
readonly AGENT: "AGENT";
|
|
164
|
+
readonly CLIENT: "CLIENT";
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* @public
|
|
168
|
+
*/
|
|
169
|
+
export type ConferenceParticipantRole = (typeof ConferenceParticipantRole)[keyof typeof ConferenceParticipantRole];
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
* @enum
|
|
173
|
+
*/
|
|
174
|
+
export declare const ConferenceParticipantType: {
|
|
175
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
176
|
+
readonly EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN";
|
|
177
|
+
readonly PBX: "PBX";
|
|
178
|
+
readonly PBX_SIP: "PBX_SIP";
|
|
179
|
+
readonly XBS: "XBS";
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* @public
|
|
183
|
+
*/
|
|
184
|
+
export type ConferenceParticipantType = (typeof ConferenceParticipantType)[keyof typeof ConferenceParticipantType];
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
* @enum
|
|
188
|
+
*/
|
|
189
|
+
export declare const LiveEventType: {
|
|
190
|
+
readonly CALL: "call";
|
|
191
|
+
readonly CALL_ANNOTATION: "call_annotation";
|
|
192
|
+
readonly CALL_COMPLETE: "call_complete";
|
|
193
|
+
readonly CALL_INTERRUPTED: "call_interrupted";
|
|
194
|
+
readonly CALL_TRANSCRIPTION: "call_transcription";
|
|
195
|
+
readonly CHAT: "chat";
|
|
196
|
+
readonly CHAT_ANNOTATION: "chat_annotation";
|
|
197
|
+
readonly CHAT_COMPLETE: "chat_complete";
|
|
198
|
+
readonly CHAT_COST: "call_cost";
|
|
199
|
+
readonly CHAT_INTERRUPTED: "chat_interrupted";
|
|
200
|
+
readonly CHAT_MISSED: "chat_missed";
|
|
201
|
+
readonly CHAT_TRANSCRIPTION: "chat_transcription";
|
|
202
|
+
readonly CONFERENCE: "conference";
|
|
203
|
+
readonly CONFERENCE_ANNOTATION: "conference_annotation";
|
|
204
|
+
readonly CONFERENCE_COMPLETE: "conference_complete";
|
|
205
|
+
readonly CONFERENCE_INTERRUPTED: "conference_interrupted";
|
|
206
|
+
readonly CONFERENCE_JOIN: "conference_join";
|
|
207
|
+
readonly CONFERENCE_LEAVE: "conference_leave";
|
|
208
|
+
readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
|
|
209
|
+
readonly SERVICE: "service";
|
|
210
|
+
readonly SERVICE_AGENT: "service_agent";
|
|
211
|
+
readonly SERVICE_AGENT_STATUS: "service_agent_status";
|
|
212
|
+
readonly SERVICE_CALL: "service_call";
|
|
213
|
+
readonly SERVICE_CALL_COMPLETE: "service_call_complete";
|
|
214
|
+
readonly SERVICE_COMPLETE: "service_complete";
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export type LiveEventType = (typeof LiveEventType)[keyof typeof LiveEventType];
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
* @enum
|
|
223
|
+
*/
|
|
224
|
+
export declare const AssetIcon: {
|
|
225
|
+
readonly ALERT: "alert";
|
|
226
|
+
readonly BOOK_OPEN: "book_open";
|
|
227
|
+
readonly INFO: "info";
|
|
228
|
+
readonly LIGHTBULB: "lightbulb";
|
|
229
|
+
readonly SHIELD: "shield";
|
|
230
|
+
readonly SPARKLES: "sparkles";
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
export type AssetIcon = (typeof AssetIcon)[keyof typeof AssetIcon];
|
|
236
|
+
/**
|
|
237
|
+
* @public
|
|
238
|
+
* @enum
|
|
239
|
+
*/
|
|
240
|
+
export declare const AssetSeverity: {
|
|
241
|
+
readonly DANGER: "danger";
|
|
242
|
+
readonly NEUTRAL: "neutral";
|
|
243
|
+
readonly SUCCESS: "success";
|
|
244
|
+
readonly WARNING: "warning";
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
export type AssetSeverity = (typeof AssetSeverity)[keyof typeof AssetSeverity];
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
* @enum
|
|
253
|
+
*/
|
|
254
|
+
export declare const CopilotSessionStatus: {
|
|
255
|
+
/**
|
|
256
|
+
* The conversation is live and being assisted.
|
|
257
|
+
*/
|
|
258
|
+
readonly ACTIVE: "active";
|
|
259
|
+
/**
|
|
260
|
+
* The conversation ended normally.
|
|
261
|
+
*/
|
|
262
|
+
readonly ENDED: "ended";
|
|
263
|
+
/**
|
|
264
|
+
* Assistance failed with an unrecoverable error.
|
|
265
|
+
*/
|
|
266
|
+
readonly FAILED: "failed";
|
|
267
|
+
/**
|
|
268
|
+
* Assistance was stopped before the conversation ended.
|
|
269
|
+
*/
|
|
270
|
+
readonly STOPPED: "stopped";
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* @public
|
|
274
|
+
*/
|
|
275
|
+
export type CopilotSessionStatus = (typeof CopilotSessionStatus)[keyof typeof CopilotSessionStatus];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
+
import { WilmaCopilotSessionsServiceException as __BaseException } from "./WilmaCopilotSessionsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare class ForbiddenException extends __BaseException {
|
|
7
|
+
readonly name: "ForbiddenException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export declare class NotFoundException extends __BaseException {
|
|
18
|
+
readonly name: "NotFoundException";
|
|
19
|
+
readonly $fault: "client";
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
*/
|
|
23
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export declare class ValidationException extends __BaseException {
|
|
29
|
+
readonly name: "ValidationException";
|
|
30
|
+
readonly $fault: "client";
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
35
|
+
}
|