@aws-sdk/client-qapps 3.891.0 → 3.894.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.
Files changed (52) hide show
  1. package/dist-cjs/index.js +2912 -10
  2. package/package.json +19 -19
  3. package/dist-cjs/QApps.js +0 -81
  4. package/dist-cjs/QAppsClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/AssociateLibraryItemReviewCommand.js +0 -26
  7. package/dist-cjs/commands/AssociateQAppWithUserCommand.js +0 -26
  8. package/dist-cjs/commands/BatchCreateCategoryCommand.js +0 -26
  9. package/dist-cjs/commands/BatchDeleteCategoryCommand.js +0 -26
  10. package/dist-cjs/commands/BatchUpdateCategoryCommand.js +0 -26
  11. package/dist-cjs/commands/CreateLibraryItemCommand.js +0 -26
  12. package/dist-cjs/commands/CreatePresignedUrlCommand.js +0 -26
  13. package/dist-cjs/commands/CreateQAppCommand.js +0 -26
  14. package/dist-cjs/commands/DeleteLibraryItemCommand.js +0 -26
  15. package/dist-cjs/commands/DeleteQAppCommand.js +0 -26
  16. package/dist-cjs/commands/DescribeQAppPermissionsCommand.js +0 -26
  17. package/dist-cjs/commands/DisassociateLibraryItemReviewCommand.js +0 -26
  18. package/dist-cjs/commands/DisassociateQAppFromUserCommand.js +0 -26
  19. package/dist-cjs/commands/ExportQAppSessionDataCommand.js +0 -26
  20. package/dist-cjs/commands/GetLibraryItemCommand.js +0 -26
  21. package/dist-cjs/commands/GetQAppCommand.js +0 -26
  22. package/dist-cjs/commands/GetQAppSessionCommand.js +0 -26
  23. package/dist-cjs/commands/GetQAppSessionMetadataCommand.js +0 -26
  24. package/dist-cjs/commands/ImportDocumentCommand.js +0 -26
  25. package/dist-cjs/commands/ListCategoriesCommand.js +0 -26
  26. package/dist-cjs/commands/ListLibraryItemsCommand.js +0 -26
  27. package/dist-cjs/commands/ListQAppSessionDataCommand.js +0 -26
  28. package/dist-cjs/commands/ListQAppsCommand.js +0 -26
  29. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  30. package/dist-cjs/commands/PredictQAppCommand.js +0 -26
  31. package/dist-cjs/commands/StartQAppSessionCommand.js +0 -26
  32. package/dist-cjs/commands/StopQAppSessionCommand.js +0 -26
  33. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  34. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  35. package/dist-cjs/commands/UpdateLibraryItemCommand.js +0 -26
  36. package/dist-cjs/commands/UpdateLibraryItemMetadataCommand.js +0 -26
  37. package/dist-cjs/commands/UpdateQAppCommand.js +0 -26
  38. package/dist-cjs/commands/UpdateQAppPermissionsCommand.js +0 -26
  39. package/dist-cjs/commands/UpdateQAppSessionCommand.js +0 -26
  40. package/dist-cjs/commands/UpdateQAppSessionMetadataCommand.js +0 -26
  41. package/dist-cjs/commands/index.js +0 -38
  42. package/dist-cjs/endpoint/EndpointParameters.js +0 -17
  43. package/dist-cjs/extensionConfiguration.js +0 -2
  44. package/dist-cjs/models/QAppsServiceException.js +0 -12
  45. package/dist-cjs/models/index.js +0 -4
  46. package/dist-cjs/models/models_0.js +0 -284
  47. package/dist-cjs/pagination/Interfaces.js +0 -2
  48. package/dist-cjs/pagination/ListLibraryItemsPaginator.js +0 -7
  49. package/dist-cjs/pagination/ListQAppsPaginator.js +0 -7
  50. package/dist-cjs/pagination/index.js +0 -6
  51. package/dist-cjs/protocols/Aws_restJson1.js +0 -1685
  52. package/dist-cjs/runtimeExtensions.js +0 -13
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QAppsServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class QAppsServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, QAppsServiceException.prototype);
10
- }
11
- }
12
- exports.QAppsServiceException = QAppsServiceException;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
@@ -1,284 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CardInput = exports.Card = exports.PredictQAppInputOptions = exports.LibraryItemStatus = exports.UserType = exports.DocumentScope = exports.Sender = exports.ContentTooLargeException = exports.SubmissionMutationKind = exports.ExecutionStatus = exports.ValidationException = exports.UnauthorizedException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AppStatus = exports.AppRequiredCapability = exports.CardOutputSource = exports.DocumentAttributeValue = exports.PluginType = exports.InputCardComputeMode = exports.CardType = exports.Action = exports.AccessDeniedException = void 0;
4
- const QAppsServiceException_1 = require("./QAppsServiceException");
5
- class AccessDeniedException extends QAppsServiceException_1.QAppsServiceException {
6
- name = "AccessDeniedException";
7
- $fault = "client";
8
- constructor(opts) {
9
- super({
10
- name: "AccessDeniedException",
11
- $fault: "client",
12
- ...opts,
13
- });
14
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
15
- }
16
- }
17
- exports.AccessDeniedException = AccessDeniedException;
18
- exports.Action = {
19
- READ: "read",
20
- WRITE: "write",
21
- };
22
- exports.CardType = {
23
- FILE_UPLOAD: "file-upload",
24
- FORM_INPUT: "form-input",
25
- Q_PLUGIN: "q-plugin",
26
- Q_QUERY: "q-query",
27
- TEXT_INPUT: "text-input",
28
- };
29
- exports.InputCardComputeMode = {
30
- APPEND: "append",
31
- REPLACE: "replace",
32
- };
33
- exports.PluginType = {
34
- ASANA: "ASANA",
35
- ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE",
36
- CUSTOM: "CUSTOM",
37
- GOOGLE_CALENDAR: "GOOGLE_CALENDAR",
38
- JIRA: "JIRA",
39
- JIRA_CLOUD: "JIRA_CLOUD",
40
- MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE",
41
- MICROSOFT_TEAMS: "MICROSOFT_TEAMS",
42
- PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE",
43
- SALESFORCE: "SALESFORCE",
44
- SALESFORCE_CRM: "SALESFORCE_CRM",
45
- SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM",
46
- SERVICE_NOW: "SERVICE_NOW",
47
- SMARTSHEET: "SMARTSHEET",
48
- ZENDESK: "ZENDESK",
49
- ZENDESK_SUITE: "ZENDESK_SUITE",
50
- };
51
- var DocumentAttributeValue;
52
- (function (DocumentAttributeValue) {
53
- DocumentAttributeValue.visit = (value, visitor) => {
54
- if (value.stringValue !== undefined)
55
- return visitor.stringValue(value.stringValue);
56
- if (value.stringListValue !== undefined)
57
- return visitor.stringListValue(value.stringListValue);
58
- if (value.longValue !== undefined)
59
- return visitor.longValue(value.longValue);
60
- if (value.dateValue !== undefined)
61
- return visitor.dateValue(value.dateValue);
62
- return visitor._(value.$unknown[0], value.$unknown[1]);
63
- };
64
- })(DocumentAttributeValue || (exports.DocumentAttributeValue = DocumentAttributeValue = {}));
65
- exports.CardOutputSource = {
66
- APPROVED_SOURCES: "approved-sources",
67
- LLM: "llm",
68
- };
69
- exports.AppRequiredCapability = {
70
- CREATOR_MODE: "CreatorMode",
71
- FILE_UPLOAD: "FileUpload",
72
- PLUGIN_MODE: "PluginMode",
73
- RETRIEVAL_MODE: "RetrievalMode",
74
- };
75
- exports.AppStatus = {
76
- DELETED: "DELETED",
77
- DRAFT: "DRAFT",
78
- PUBLISHED: "PUBLISHED",
79
- };
80
- class ConflictException extends QAppsServiceException_1.QAppsServiceException {
81
- name = "ConflictException";
82
- $fault = "client";
83
- resourceId;
84
- resourceType;
85
- constructor(opts) {
86
- super({
87
- name: "ConflictException",
88
- $fault: "client",
89
- ...opts,
90
- });
91
- Object.setPrototypeOf(this, ConflictException.prototype);
92
- this.resourceId = opts.resourceId;
93
- this.resourceType = opts.resourceType;
94
- }
95
- }
96
- exports.ConflictException = ConflictException;
97
- class InternalServerException extends QAppsServiceException_1.QAppsServiceException {
98
- name = "InternalServerException";
99
- $fault = "server";
100
- $retryable = {};
101
- retryAfterSeconds;
102
- constructor(opts) {
103
- super({
104
- name: "InternalServerException",
105
- $fault: "server",
106
- ...opts,
107
- });
108
- Object.setPrototypeOf(this, InternalServerException.prototype);
109
- this.retryAfterSeconds = opts.retryAfterSeconds;
110
- }
111
- }
112
- exports.InternalServerException = InternalServerException;
113
- class ResourceNotFoundException extends QAppsServiceException_1.QAppsServiceException {
114
- name = "ResourceNotFoundException";
115
- $fault = "client";
116
- resourceId;
117
- resourceType;
118
- constructor(opts) {
119
- super({
120
- name: "ResourceNotFoundException",
121
- $fault: "client",
122
- ...opts,
123
- });
124
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
125
- this.resourceId = opts.resourceId;
126
- this.resourceType = opts.resourceType;
127
- }
128
- }
129
- exports.ResourceNotFoundException = ResourceNotFoundException;
130
- class ServiceQuotaExceededException extends QAppsServiceException_1.QAppsServiceException {
131
- name = "ServiceQuotaExceededException";
132
- $fault = "client";
133
- resourceId;
134
- resourceType;
135
- serviceCode;
136
- quotaCode;
137
- constructor(opts) {
138
- super({
139
- name: "ServiceQuotaExceededException",
140
- $fault: "client",
141
- ...opts,
142
- });
143
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
144
- this.resourceId = opts.resourceId;
145
- this.resourceType = opts.resourceType;
146
- this.serviceCode = opts.serviceCode;
147
- this.quotaCode = opts.quotaCode;
148
- }
149
- }
150
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
151
- class ThrottlingException extends QAppsServiceException_1.QAppsServiceException {
152
- name = "ThrottlingException";
153
- $fault = "client";
154
- $retryable = {
155
- throttling: true,
156
- };
157
- serviceCode;
158
- quotaCode;
159
- retryAfterSeconds;
160
- constructor(opts) {
161
- super({
162
- name: "ThrottlingException",
163
- $fault: "client",
164
- ...opts,
165
- });
166
- Object.setPrototypeOf(this, ThrottlingException.prototype);
167
- this.serviceCode = opts.serviceCode;
168
- this.quotaCode = opts.quotaCode;
169
- this.retryAfterSeconds = opts.retryAfterSeconds;
170
- }
171
- }
172
- exports.ThrottlingException = ThrottlingException;
173
- class UnauthorizedException extends QAppsServiceException_1.QAppsServiceException {
174
- name = "UnauthorizedException";
175
- $fault = "client";
176
- constructor(opts) {
177
- super({
178
- name: "UnauthorizedException",
179
- $fault: "client",
180
- ...opts,
181
- });
182
- Object.setPrototypeOf(this, UnauthorizedException.prototype);
183
- }
184
- }
185
- exports.UnauthorizedException = UnauthorizedException;
186
- class ValidationException extends QAppsServiceException_1.QAppsServiceException {
187
- name = "ValidationException";
188
- $fault = "client";
189
- constructor(opts) {
190
- super({
191
- name: "ValidationException",
192
- $fault: "client",
193
- ...opts,
194
- });
195
- Object.setPrototypeOf(this, ValidationException.prototype);
196
- }
197
- }
198
- exports.ValidationException = ValidationException;
199
- exports.ExecutionStatus = {
200
- COMPLETED: "COMPLETED",
201
- ERROR: "ERROR",
202
- IN_PROGRESS: "IN_PROGRESS",
203
- WAITING: "WAITING",
204
- };
205
- exports.SubmissionMutationKind = {
206
- add: "add",
207
- delete: "delete",
208
- edit: "edit",
209
- };
210
- class ContentTooLargeException extends QAppsServiceException_1.QAppsServiceException {
211
- name = "ContentTooLargeException";
212
- $fault = "client";
213
- resourceId;
214
- resourceType;
215
- constructor(opts) {
216
- super({
217
- name: "ContentTooLargeException",
218
- $fault: "client",
219
- ...opts,
220
- });
221
- Object.setPrototypeOf(this, ContentTooLargeException.prototype);
222
- this.resourceId = opts.resourceId;
223
- this.resourceType = opts.resourceType;
224
- }
225
- }
226
- exports.ContentTooLargeException = ContentTooLargeException;
227
- exports.Sender = {
228
- SYSTEM: "SYSTEM",
229
- USER: "USER",
230
- };
231
- exports.DocumentScope = {
232
- APPLICATION: "APPLICATION",
233
- SESSION: "SESSION",
234
- };
235
- exports.UserType = {
236
- OWNER: "owner",
237
- USER: "user",
238
- };
239
- exports.LibraryItemStatus = {
240
- DISABLED: "DISABLED",
241
- PUBLISHED: "PUBLISHED",
242
- };
243
- var PredictQAppInputOptions;
244
- (function (PredictQAppInputOptions) {
245
- PredictQAppInputOptions.visit = (value, visitor) => {
246
- if (value.conversation !== undefined)
247
- return visitor.conversation(value.conversation);
248
- if (value.problemStatement !== undefined)
249
- return visitor.problemStatement(value.problemStatement);
250
- return visitor._(value.$unknown[0], value.$unknown[1]);
251
- };
252
- })(PredictQAppInputOptions || (exports.PredictQAppInputOptions = PredictQAppInputOptions = {}));
253
- var Card;
254
- (function (Card) {
255
- Card.visit = (value, visitor) => {
256
- if (value.textInput !== undefined)
257
- return visitor.textInput(value.textInput);
258
- if (value.qQuery !== undefined)
259
- return visitor.qQuery(value.qQuery);
260
- if (value.qPlugin !== undefined)
261
- return visitor.qPlugin(value.qPlugin);
262
- if (value.fileUpload !== undefined)
263
- return visitor.fileUpload(value.fileUpload);
264
- if (value.formInput !== undefined)
265
- return visitor.formInput(value.formInput);
266
- return visitor._(value.$unknown[0], value.$unknown[1]);
267
- };
268
- })(Card || (exports.Card = Card = {}));
269
- var CardInput;
270
- (function (CardInput) {
271
- CardInput.visit = (value, visitor) => {
272
- if (value.textInput !== undefined)
273
- return visitor.textInput(value.textInput);
274
- if (value.qQuery !== undefined)
275
- return visitor.qQuery(value.qQuery);
276
- if (value.qPlugin !== undefined)
277
- return visitor.qPlugin(value.qPlugin);
278
- if (value.fileUpload !== undefined)
279
- return visitor.fileUpload(value.fileUpload);
280
- if (value.formInput !== undefined)
281
- return visitor.formInput(value.formInput);
282
- return visitor._(value.$unknown[0], value.$unknown[1]);
283
- };
284
- })(CardInput || (exports.CardInput = CardInput = {}));
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListLibraryItems = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListLibraryItemsCommand_1 = require("../commands/ListLibraryItemsCommand");
6
- const QAppsClient_1 = require("../QAppsClient");
7
- exports.paginateListLibraryItems = (0, core_1.createPaginator)(QAppsClient_1.QAppsClient, ListLibraryItemsCommand_1.ListLibraryItemsCommand, "nextToken", "nextToken", "limit");
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListQApps = void 0;
4
- const core_1 = require("@smithy/core");
5
- const ListQAppsCommand_1 = require("../commands/ListQAppsCommand");
6
- const QAppsClient_1 = require("../QAppsClient");
7
- exports.paginateListQApps = (0, core_1.createPaginator)(QAppsClient_1.QAppsClient, ListQAppsCommand_1.ListQAppsCommand, "nextToken", "nextToken", "limit");
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListLibraryItemsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListQAppsPaginator"), exports);