@aws-sdk/client-qapps 3.929.0 → 3.930.0
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/index.js
CHANGED
|
@@ -162,20 +162,6 @@ const PluginType = {
|
|
|
162
162
|
ZENDESK: "ZENDESK",
|
|
163
163
|
ZENDESK_SUITE: "ZENDESK_SUITE",
|
|
164
164
|
};
|
|
165
|
-
exports.DocumentAttributeValue = void 0;
|
|
166
|
-
(function (DocumentAttributeValue) {
|
|
167
|
-
DocumentAttributeValue.visit = (value, visitor) => {
|
|
168
|
-
if (value.stringValue !== undefined)
|
|
169
|
-
return visitor.stringValue(value.stringValue);
|
|
170
|
-
if (value.stringListValue !== undefined)
|
|
171
|
-
return visitor.stringListValue(value.stringListValue);
|
|
172
|
-
if (value.longValue !== undefined)
|
|
173
|
-
return visitor.longValue(value.longValue);
|
|
174
|
-
if (value.dateValue !== undefined)
|
|
175
|
-
return visitor.dateValue(value.dateValue);
|
|
176
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
177
|
-
};
|
|
178
|
-
})(exports.DocumentAttributeValue || (exports.DocumentAttributeValue = {}));
|
|
179
165
|
const CardOutputSource = {
|
|
180
166
|
APPROVED_SOURCES: "approved-sources",
|
|
181
167
|
LLM: "llm",
|
|
@@ -346,48 +332,6 @@ const LibraryItemStatus = {
|
|
|
346
332
|
DISABLED: "DISABLED",
|
|
347
333
|
PUBLISHED: "PUBLISHED",
|
|
348
334
|
};
|
|
349
|
-
exports.PredictQAppInputOptions = void 0;
|
|
350
|
-
(function (PredictQAppInputOptions) {
|
|
351
|
-
PredictQAppInputOptions.visit = (value, visitor) => {
|
|
352
|
-
if (value.conversation !== undefined)
|
|
353
|
-
return visitor.conversation(value.conversation);
|
|
354
|
-
if (value.problemStatement !== undefined)
|
|
355
|
-
return visitor.problemStatement(value.problemStatement);
|
|
356
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
357
|
-
};
|
|
358
|
-
})(exports.PredictQAppInputOptions || (exports.PredictQAppInputOptions = {}));
|
|
359
|
-
exports.Card = void 0;
|
|
360
|
-
(function (Card) {
|
|
361
|
-
Card.visit = (value, visitor) => {
|
|
362
|
-
if (value.textInput !== undefined)
|
|
363
|
-
return visitor.textInput(value.textInput);
|
|
364
|
-
if (value.qQuery !== undefined)
|
|
365
|
-
return visitor.qQuery(value.qQuery);
|
|
366
|
-
if (value.qPlugin !== undefined)
|
|
367
|
-
return visitor.qPlugin(value.qPlugin);
|
|
368
|
-
if (value.fileUpload !== undefined)
|
|
369
|
-
return visitor.fileUpload(value.fileUpload);
|
|
370
|
-
if (value.formInput !== undefined)
|
|
371
|
-
return visitor.formInput(value.formInput);
|
|
372
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
373
|
-
};
|
|
374
|
-
})(exports.Card || (exports.Card = {}));
|
|
375
|
-
exports.CardInput = void 0;
|
|
376
|
-
(function (CardInput) {
|
|
377
|
-
CardInput.visit = (value, visitor) => {
|
|
378
|
-
if (value.textInput !== undefined)
|
|
379
|
-
return visitor.textInput(value.textInput);
|
|
380
|
-
if (value.qQuery !== undefined)
|
|
381
|
-
return visitor.qQuery(value.qQuery);
|
|
382
|
-
if (value.qPlugin !== undefined)
|
|
383
|
-
return visitor.qPlugin(value.qPlugin);
|
|
384
|
-
if (value.fileUpload !== undefined)
|
|
385
|
-
return visitor.fileUpload(value.fileUpload);
|
|
386
|
-
if (value.formInput !== undefined)
|
|
387
|
-
return visitor.formInput(value.formInput);
|
|
388
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
389
|
-
};
|
|
390
|
-
})(exports.CardInput || (exports.CardInput = {}));
|
|
391
335
|
|
|
392
336
|
const _AD = "AppDefinition";
|
|
393
337
|
const _ADE = "AccessDeniedException";
|
|
@@ -44,20 +44,6 @@ export const PluginType = {
|
|
|
44
44
|
ZENDESK: "ZENDESK",
|
|
45
45
|
ZENDESK_SUITE: "ZENDESK_SUITE",
|
|
46
46
|
};
|
|
47
|
-
export var DocumentAttributeValue;
|
|
48
|
-
(function (DocumentAttributeValue) {
|
|
49
|
-
DocumentAttributeValue.visit = (value, visitor) => {
|
|
50
|
-
if (value.stringValue !== undefined)
|
|
51
|
-
return visitor.stringValue(value.stringValue);
|
|
52
|
-
if (value.stringListValue !== undefined)
|
|
53
|
-
return visitor.stringListValue(value.stringListValue);
|
|
54
|
-
if (value.longValue !== undefined)
|
|
55
|
-
return visitor.longValue(value.longValue);
|
|
56
|
-
if (value.dateValue !== undefined)
|
|
57
|
-
return visitor.dateValue(value.dateValue);
|
|
58
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
59
|
-
};
|
|
60
|
-
})(DocumentAttributeValue || (DocumentAttributeValue = {}));
|
|
61
47
|
export const CardOutputSource = {
|
|
62
48
|
APPROVED_SOURCES: "approved-sources",
|
|
63
49
|
LLM: "llm",
|
|
@@ -228,45 +214,3 @@ export const LibraryItemStatus = {
|
|
|
228
214
|
DISABLED: "DISABLED",
|
|
229
215
|
PUBLISHED: "PUBLISHED",
|
|
230
216
|
};
|
|
231
|
-
export var PredictQAppInputOptions;
|
|
232
|
-
(function (PredictQAppInputOptions) {
|
|
233
|
-
PredictQAppInputOptions.visit = (value, visitor) => {
|
|
234
|
-
if (value.conversation !== undefined)
|
|
235
|
-
return visitor.conversation(value.conversation);
|
|
236
|
-
if (value.problemStatement !== undefined)
|
|
237
|
-
return visitor.problemStatement(value.problemStatement);
|
|
238
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
239
|
-
};
|
|
240
|
-
})(PredictQAppInputOptions || (PredictQAppInputOptions = {}));
|
|
241
|
-
export var Card;
|
|
242
|
-
(function (Card) {
|
|
243
|
-
Card.visit = (value, visitor) => {
|
|
244
|
-
if (value.textInput !== undefined)
|
|
245
|
-
return visitor.textInput(value.textInput);
|
|
246
|
-
if (value.qQuery !== undefined)
|
|
247
|
-
return visitor.qQuery(value.qQuery);
|
|
248
|
-
if (value.qPlugin !== undefined)
|
|
249
|
-
return visitor.qPlugin(value.qPlugin);
|
|
250
|
-
if (value.fileUpload !== undefined)
|
|
251
|
-
return visitor.fileUpload(value.fileUpload);
|
|
252
|
-
if (value.formInput !== undefined)
|
|
253
|
-
return visitor.formInput(value.formInput);
|
|
254
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
255
|
-
};
|
|
256
|
-
})(Card || (Card = {}));
|
|
257
|
-
export var CardInput;
|
|
258
|
-
(function (CardInput) {
|
|
259
|
-
CardInput.visit = (value, visitor) => {
|
|
260
|
-
if (value.textInput !== undefined)
|
|
261
|
-
return visitor.textInput(value.textInput);
|
|
262
|
-
if (value.qQuery !== undefined)
|
|
263
|
-
return visitor.qQuery(value.qQuery);
|
|
264
|
-
if (value.qPlugin !== undefined)
|
|
265
|
-
return visitor.qPlugin(value.qPlugin);
|
|
266
|
-
if (value.fileUpload !== undefined)
|
|
267
|
-
return visitor.fileUpload(value.fileUpload);
|
|
268
|
-
if (value.formInput !== undefined)
|
|
269
|
-
return visitor.formInput(value.formInput);
|
|
270
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
271
|
-
};
|
|
272
|
-
})(CardInput || (CardInput = {}));
|
|
@@ -275,6 +275,10 @@ export declare namespace DocumentAttributeValue {
|
|
|
275
275
|
dateValue?: never;
|
|
276
276
|
$unknown: [string, any];
|
|
277
277
|
}
|
|
278
|
+
/**
|
|
279
|
+
* @deprecated unused in schema-serde mode.
|
|
280
|
+
*
|
|
281
|
+
*/
|
|
278
282
|
interface Visitor<T> {
|
|
279
283
|
stringValue: (value: string) => T;
|
|
280
284
|
stringListValue: (value: string[]) => T;
|
|
@@ -282,7 +286,6 @@ export declare namespace DocumentAttributeValue {
|
|
|
282
286
|
dateValue: (value: Date) => T;
|
|
283
287
|
_: (name: string, value: any) => T;
|
|
284
288
|
}
|
|
285
|
-
const visit: <T>(value: DocumentAttributeValue, visitor: Visitor<T>) => T;
|
|
286
289
|
}
|
|
287
290
|
/**
|
|
288
291
|
* <p>A document attribute or metadata field.</p>
|
|
@@ -2010,12 +2013,15 @@ export declare namespace PredictQAppInputOptions {
|
|
|
2010
2013
|
problemStatement?: never;
|
|
2011
2014
|
$unknown: [string, any];
|
|
2012
2015
|
}
|
|
2016
|
+
/**
|
|
2017
|
+
* @deprecated unused in schema-serde mode.
|
|
2018
|
+
*
|
|
2019
|
+
*/
|
|
2013
2020
|
interface Visitor<T> {
|
|
2014
2021
|
conversation: (value: ConversationMessage[]) => T;
|
|
2015
2022
|
problemStatement: (value: string) => T;
|
|
2016
2023
|
_: (name: string, value: any) => T;
|
|
2017
2024
|
}
|
|
2018
|
-
const visit: <T>(value: PredictQAppInputOptions, visitor: Visitor<T>) => T;
|
|
2019
2025
|
}
|
|
2020
2026
|
/**
|
|
2021
2027
|
* @public
|
|
@@ -2665,6 +2671,10 @@ export declare namespace Card {
|
|
|
2665
2671
|
formInput?: never;
|
|
2666
2672
|
$unknown: [string, any];
|
|
2667
2673
|
}
|
|
2674
|
+
/**
|
|
2675
|
+
* @deprecated unused in schema-serde mode.
|
|
2676
|
+
*
|
|
2677
|
+
*/
|
|
2668
2678
|
interface Visitor<T> {
|
|
2669
2679
|
textInput: (value: TextInputCard) => T;
|
|
2670
2680
|
qQuery: (value: QQueryCard) => T;
|
|
@@ -2673,7 +2683,6 @@ export declare namespace Card {
|
|
|
2673
2683
|
formInput: (value: FormInputCard) => T;
|
|
2674
2684
|
_: (name: string, value: any) => T;
|
|
2675
2685
|
}
|
|
2676
|
-
const visit: <T>(value: Card, visitor: Visitor<T>) => T;
|
|
2677
2686
|
}
|
|
2678
2687
|
/**
|
|
2679
2688
|
* <p>The properties defining an input card in an Amazon Q App.</p>
|
|
@@ -2755,6 +2764,10 @@ export declare namespace CardInput {
|
|
|
2755
2764
|
formInput?: never;
|
|
2756
2765
|
$unknown: [string, any];
|
|
2757
2766
|
}
|
|
2767
|
+
/**
|
|
2768
|
+
* @deprecated unused in schema-serde mode.
|
|
2769
|
+
*
|
|
2770
|
+
*/
|
|
2758
2771
|
interface Visitor<T> {
|
|
2759
2772
|
textInput: (value: TextInputCardInput) => T;
|
|
2760
2773
|
qQuery: (value: QQueryCardInput) => T;
|
|
@@ -2763,7 +2776,6 @@ export declare namespace CardInput {
|
|
|
2763
2776
|
formInput: (value: FormInputCardInput) => T;
|
|
2764
2777
|
_: (name: string, value: any) => T;
|
|
2765
2778
|
}
|
|
2766
|
-
const visit: <T>(value: CardInput, visitor: Visitor<T>) => T;
|
|
2767
2779
|
}
|
|
2768
2780
|
/**
|
|
2769
2781
|
* <p>The definition of the Q App, specifying the cards and flow.</p>
|
|
@@ -125,7 +125,6 @@ export declare namespace DocumentAttributeValue {
|
|
|
125
125
|
dateValue: (value: Date) => T;
|
|
126
126
|
_: (name: string, value: any) => T;
|
|
127
127
|
}
|
|
128
|
-
const visit: <T>(value: DocumentAttributeValue, visitor: Visitor<T>) => T;
|
|
129
128
|
}
|
|
130
129
|
export interface DocumentAttribute {
|
|
131
130
|
name: string | undefined;
|
|
@@ -616,7 +615,6 @@ export declare namespace PredictQAppInputOptions {
|
|
|
616
615
|
problemStatement: (value: string) => T;
|
|
617
616
|
_: (name: string, value: any) => T;
|
|
618
617
|
}
|
|
619
|
-
const visit: <T>(value: PredictQAppInputOptions, visitor: Visitor<T>) => T;
|
|
620
618
|
}
|
|
621
619
|
export interface PredictQAppInput {
|
|
622
620
|
instanceId: string | undefined;
|
|
@@ -814,7 +812,6 @@ export declare namespace Card {
|
|
|
814
812
|
formInput: (value: FormInputCard) => T;
|
|
815
813
|
_: (name: string, value: any) => T;
|
|
816
814
|
}
|
|
817
|
-
const visit: <T>(value: Card, visitor: Visitor<T>) => T;
|
|
818
815
|
}
|
|
819
816
|
export type CardInput =
|
|
820
817
|
| CardInput.FileUploadMember
|
|
@@ -880,7 +877,6 @@ export declare namespace CardInput {
|
|
|
880
877
|
formInput: (value: FormInputCardInput) => T;
|
|
881
878
|
_: (name: string, value: any) => T;
|
|
882
879
|
}
|
|
883
|
-
const visit: <T>(value: CardInput, visitor: Visitor<T>) => T;
|
|
884
880
|
}
|
|
885
881
|
export interface AppDefinition {
|
|
886
882
|
appDefinitionVersion: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qapps",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qapps Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.930.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-qapps",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.4.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.930.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.930.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.930.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.930.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
|
+
"@aws-sdk/types": "3.930.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.930.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.930.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.930.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
+
"@smithy/core": "^3.18.2",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
|
+
"@smithy/hash-node": "^4.2.5",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.9",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.9",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.5",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.5",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.5",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.5",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
+
"@smithy/smithy-client": "^4.9.5",
|
|
48
|
+
"@smithy/types": "^4.9.0",
|
|
49
|
+
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.8",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.11",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.5",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.5",
|
|
57
|
+
"@smithy/util-retry": "^4.2.5",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"tslib": "^2.6.2"
|
|
60
60
|
},
|