@aws-sdk/client-qapps 3.933.0 → 3.935.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.
@@ -1,26 +1,19 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
1
  import { DocumentType as __DocumentType } from "@smithy/types";
3
- import { QAppsServiceException as __BaseException } from "./QAppsServiceException";
4
- export declare class AccessDeniedException extends __BaseException {
5
- readonly name: "AccessDeniedException";
6
- readonly $fault: "client";
7
- constructor(
8
- opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
- );
10
- }
11
- export declare const Action: {
12
- readonly READ: "read";
13
- readonly WRITE: "write";
14
- };
15
- export type Action = (typeof Action)[keyof typeof Action];
16
- export declare const CardType: {
17
- readonly FILE_UPLOAD: "file-upload";
18
- readonly FORM_INPUT: "form-input";
19
- readonly Q_PLUGIN: "q-plugin";
20
- readonly Q_QUERY: "q-query";
21
- readonly TEXT_INPUT: "text-input";
22
- };
23
- export type CardType = (typeof CardType)[keyof typeof CardType];
2
+ import {
3
+ Action,
4
+ AppRequiredCapability,
5
+ AppStatus,
6
+ CardOutputSource,
7
+ CardType,
8
+ DocumentScope,
9
+ ExecutionStatus,
10
+ InputCardComputeMode,
11
+ LibraryItemStatus,
12
+ PluginType,
13
+ Sender,
14
+ SubmissionMutationKind,
15
+ UserType,
16
+ } from "./enums";
24
17
  export interface FileUploadCard {
25
18
  id: string | undefined;
26
19
  title: string | undefined;
@@ -30,12 +23,6 @@ export interface FileUploadCard {
30
23
  fileId?: string | undefined;
31
24
  allowOverride?: boolean | undefined;
32
25
  }
33
- export declare const InputCardComputeMode: {
34
- readonly APPEND: "append";
35
- readonly REPLACE: "replace";
36
- };
37
- export type InputCardComputeMode =
38
- (typeof InputCardComputeMode)[keyof typeof InputCardComputeMode];
39
26
  export interface FormInputCardMetadata {
40
27
  schema: __DocumentType | undefined;
41
28
  }
@@ -47,25 +34,6 @@ export interface FormInputCard {
47
34
  metadata: FormInputCardMetadata | undefined;
48
35
  computeMode?: InputCardComputeMode | undefined;
49
36
  }
50
- export declare const PluginType: {
51
- readonly ASANA: "ASANA";
52
- readonly ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE";
53
- readonly CUSTOM: "CUSTOM";
54
- readonly GOOGLE_CALENDAR: "GOOGLE_CALENDAR";
55
- readonly JIRA: "JIRA";
56
- readonly JIRA_CLOUD: "JIRA_CLOUD";
57
- readonly MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE";
58
- readonly MICROSOFT_TEAMS: "MICROSOFT_TEAMS";
59
- readonly PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE";
60
- readonly SALESFORCE: "SALESFORCE";
61
- readonly SALESFORCE_CRM: "SALESFORCE_CRM";
62
- readonly SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM";
63
- readonly SERVICE_NOW: "SERVICE_NOW";
64
- readonly SMARTSHEET: "SMARTSHEET";
65
- readonly ZENDESK: "ZENDESK";
66
- readonly ZENDESK_SUITE: "ZENDESK_SUITE";
67
- };
68
- export type PluginType = (typeof PluginType)[keyof typeof PluginType];
69
37
  export interface QPluginCard {
70
38
  id: string | undefined;
71
39
  title: string | undefined;
@@ -130,12 +98,6 @@ export interface DocumentAttribute {
130
98
  name: string | undefined;
131
99
  value: DocumentAttributeValue | undefined;
132
100
  }
133
- export declare const CardOutputSource: {
134
- readonly APPROVED_SOURCES: "approved-sources";
135
- readonly LLM: "llm";
136
- };
137
- export type CardOutputSource =
138
- (typeof CardOutputSource)[keyof typeof CardOutputSource];
139
101
  export interface TextInputCard {
140
102
  id: string | undefined;
141
103
  title: string | undefined;
@@ -174,87 +136,10 @@ export interface TextInputCardInput {
174
136
  placeholder?: string | undefined;
175
137
  defaultValue?: string | undefined;
176
138
  }
177
- export declare const AppRequiredCapability: {
178
- readonly CREATOR_MODE: "CreatorMode";
179
- readonly FILE_UPLOAD: "FileUpload";
180
- readonly PLUGIN_MODE: "PluginMode";
181
- readonly RETRIEVAL_MODE: "RetrievalMode";
182
- };
183
- export type AppRequiredCapability =
184
- (typeof AppRequiredCapability)[keyof typeof AppRequiredCapability];
185
- export declare const AppStatus: {
186
- readonly DELETED: "DELETED";
187
- readonly DRAFT: "DRAFT";
188
- readonly PUBLISHED: "PUBLISHED";
189
- };
190
- export type AppStatus = (typeof AppStatus)[keyof typeof AppStatus];
191
139
  export interface AssociateLibraryItemReviewInput {
192
140
  instanceId: string | undefined;
193
141
  libraryItemId: string | undefined;
194
142
  }
195
- export declare class ConflictException extends __BaseException {
196
- readonly name: "ConflictException";
197
- readonly $fault: "client";
198
- resourceId: string | undefined;
199
- resourceType: string | undefined;
200
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
201
- }
202
- export declare class InternalServerException extends __BaseException {
203
- readonly name: "InternalServerException";
204
- readonly $fault: "server";
205
- $retryable: {};
206
- retryAfterSeconds?: number | undefined;
207
- constructor(
208
- opts: __ExceptionOptionType<InternalServerException, __BaseException>
209
- );
210
- }
211
- export declare class ResourceNotFoundException extends __BaseException {
212
- readonly name: "ResourceNotFoundException";
213
- readonly $fault: "client";
214
- resourceId: string | undefined;
215
- resourceType: string | undefined;
216
- constructor(
217
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
218
- );
219
- }
220
- export declare class ServiceQuotaExceededException extends __BaseException {
221
- readonly name: "ServiceQuotaExceededException";
222
- readonly $fault: "client";
223
- resourceId: string | undefined;
224
- resourceType: string | undefined;
225
- serviceCode: string | undefined;
226
- quotaCode: string | undefined;
227
- constructor(
228
- opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
229
- );
230
- }
231
- export declare class ThrottlingException extends __BaseException {
232
- readonly name: "ThrottlingException";
233
- readonly $fault: "client";
234
- $retryable: {
235
- throttling: boolean;
236
- };
237
- serviceCode: string | undefined;
238
- quotaCode: string | undefined;
239
- retryAfterSeconds?: number | undefined;
240
- constructor(
241
- opts: __ExceptionOptionType<ThrottlingException, __BaseException>
242
- );
243
- }
244
- export declare class UnauthorizedException extends __BaseException {
245
- readonly name: "UnauthorizedException";
246
- readonly $fault: "client";
247
- constructor(
248
- opts: __ExceptionOptionType<UnauthorizedException, __BaseException>
249
- );
250
- }
251
- export declare class ValidationException extends __BaseException {
252
- readonly name: "ValidationException";
253
- readonly $fault: "client";
254
- constructor(
255
- opts: __ExceptionOptionType<ValidationException, __BaseException>
256
- );
257
- }
258
143
  export interface AssociateQAppWithUserInput {
259
144
  instanceId: string | undefined;
260
145
  appId: string | undefined;
@@ -281,14 +166,6 @@ export interface BatchUpdateCategoryInput {
281
166
  instanceId: string | undefined;
282
167
  categories: CategoryInput[] | undefined;
283
168
  }
284
- export declare const ExecutionStatus: {
285
- readonly COMPLETED: "COMPLETED";
286
- readonly ERROR: "ERROR";
287
- readonly IN_PROGRESS: "IN_PROGRESS";
288
- readonly WAITING: "WAITING";
289
- };
290
- export type ExecutionStatus =
291
- (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
292
169
  export interface Submission {
293
170
  value?: __DocumentType | undefined;
294
171
  submissionId?: string | undefined;
@@ -299,13 +176,6 @@ export interface CardStatus {
299
176
  currentValue: string | undefined;
300
177
  submissions?: Submission[] | undefined;
301
178
  }
302
- export declare const SubmissionMutationKind: {
303
- readonly add: "add";
304
- readonly delete: "delete";
305
- readonly edit: "edit";
306
- };
307
- export type SubmissionMutationKind =
308
- (typeof SubmissionMutationKind)[keyof typeof SubmissionMutationKind];
309
179
  export interface SubmissionMutation {
310
180
  submissionId: string | undefined;
311
181
  mutationType: SubmissionMutationKind | undefined;
@@ -321,20 +191,6 @@ export interface Category {
321
191
  color?: string | undefined;
322
192
  appCount?: number | undefined;
323
193
  }
324
- export declare class ContentTooLargeException extends __BaseException {
325
- readonly name: "ContentTooLargeException";
326
- readonly $fault: "client";
327
- resourceId: string | undefined;
328
- resourceType: string | undefined;
329
- constructor(
330
- opts: __ExceptionOptionType<ContentTooLargeException, __BaseException>
331
- );
332
- }
333
- export declare const Sender: {
334
- readonly SYSTEM: "SYSTEM";
335
- readonly USER: "USER";
336
- };
337
- export type Sender = (typeof Sender)[keyof typeof Sender];
338
194
  export interface ConversationMessage {
339
195
  body: string | undefined;
340
196
  type: Sender | undefined;
@@ -355,11 +211,6 @@ export interface CreateLibraryItemOutput {
355
211
  ratingCount: number | undefined;
356
212
  isVerified?: boolean | undefined;
357
213
  }
358
- export declare const DocumentScope: {
359
- readonly APPLICATION: "APPLICATION";
360
- readonly SESSION: "SESSION";
361
- };
362
- export type DocumentScope = (typeof DocumentScope)[keyof typeof DocumentScope];
363
214
  export interface CreatePresignedUrlInput {
364
215
  instanceId: string | undefined;
365
216
  cardId: string | undefined;
@@ -401,11 +252,6 @@ export interface DescribeQAppPermissionsInput {
401
252
  instanceId: string | undefined;
402
253
  appId: string | undefined;
403
254
  }
404
- export declare const UserType: {
405
- readonly OWNER: "owner";
406
- readonly USER: "user";
407
- };
408
- export type UserType = (typeof UserType)[keyof typeof UserType];
409
255
  export interface PrincipalOutput {
410
256
  userId?: string | undefined;
411
257
  userType?: UserType | undefined;
@@ -519,12 +365,6 @@ export interface LibraryItemMember {
519
365
  userCount?: number | undefined;
520
366
  isVerified?: boolean | undefined;
521
367
  }
522
- export declare const LibraryItemStatus: {
523
- readonly DISABLED: "DISABLED";
524
- readonly PUBLISHED: "PUBLISHED";
525
- };
526
- export type LibraryItemStatus =
527
- (typeof LibraryItemStatus)[keyof typeof LibraryItemStatus];
528
368
  export interface ListCategoriesInput {
529
369
  instanceId: string | undefined;
530
370
  }
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.933.0",
4
+ "version": "3.935.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,38 +20,38 @@
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.932.0",
24
- "@aws-sdk/credential-provider-node": "3.933.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.932.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.932.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
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",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
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.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";