@aws-sdk/client-qapps 3.934.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.
- package/dist-cjs/index.js +76 -75
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +75 -0
- package/dist-es/models/errors.js +141 -0
- package/dist-es/models/models_0.js +1 -216
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +179 -0
- package/dist-types/models/errors.d.ts +184 -0
- package/dist-types/models/models_0.d.ts +1 -363
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +94 -0
- package/dist-types/ts3.4/models/errors.d.ts +81 -0
- package/dist-types/ts3.4/models/models_0.d.ts +15 -175
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js
CHANGED
|
@@ -129,54 +129,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends QAppsServiceEx
|
|
|
129
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
|
-
const Action = {
|
|
133
|
-
READ: "read",
|
|
134
|
-
WRITE: "write",
|
|
135
|
-
};
|
|
136
|
-
const CardType = {
|
|
137
|
-
FILE_UPLOAD: "file-upload",
|
|
138
|
-
FORM_INPUT: "form-input",
|
|
139
|
-
Q_PLUGIN: "q-plugin",
|
|
140
|
-
Q_QUERY: "q-query",
|
|
141
|
-
TEXT_INPUT: "text-input",
|
|
142
|
-
};
|
|
143
|
-
const InputCardComputeMode = {
|
|
144
|
-
APPEND: "append",
|
|
145
|
-
REPLACE: "replace",
|
|
146
|
-
};
|
|
147
|
-
const PluginType = {
|
|
148
|
-
ASANA: "ASANA",
|
|
149
|
-
ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE",
|
|
150
|
-
CUSTOM: "CUSTOM",
|
|
151
|
-
GOOGLE_CALENDAR: "GOOGLE_CALENDAR",
|
|
152
|
-
JIRA: "JIRA",
|
|
153
|
-
JIRA_CLOUD: "JIRA_CLOUD",
|
|
154
|
-
MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE",
|
|
155
|
-
MICROSOFT_TEAMS: "MICROSOFT_TEAMS",
|
|
156
|
-
PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE",
|
|
157
|
-
SALESFORCE: "SALESFORCE",
|
|
158
|
-
SALESFORCE_CRM: "SALESFORCE_CRM",
|
|
159
|
-
SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM",
|
|
160
|
-
SERVICE_NOW: "SERVICE_NOW",
|
|
161
|
-
SMARTSHEET: "SMARTSHEET",
|
|
162
|
-
ZENDESK: "ZENDESK",
|
|
163
|
-
ZENDESK_SUITE: "ZENDESK_SUITE",
|
|
164
|
-
};
|
|
165
|
-
const CardOutputSource = {
|
|
166
|
-
APPROVED_SOURCES: "approved-sources",
|
|
167
|
-
LLM: "llm",
|
|
168
|
-
};
|
|
169
|
-
const AppRequiredCapability = {
|
|
170
|
-
CREATOR_MODE: "CreatorMode",
|
|
171
|
-
FILE_UPLOAD: "FileUpload",
|
|
172
|
-
PLUGIN_MODE: "PluginMode",
|
|
173
|
-
RETRIEVAL_MODE: "RetrievalMode",
|
|
174
|
-
};
|
|
175
|
-
const AppStatus = {
|
|
176
|
-
DELETED: "DELETED",
|
|
177
|
-
DRAFT: "DRAFT",
|
|
178
|
-
PUBLISHED: "PUBLISHED",
|
|
179
|
-
};
|
|
180
132
|
let ConflictException$1 = class ConflictException extends QAppsServiceException$1 {
|
|
181
133
|
name = "ConflictException";
|
|
182
134
|
$fault = "client";
|
|
@@ -289,17 +241,6 @@ let ValidationException$1 = class ValidationException extends QAppsServiceExcept
|
|
|
289
241
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
290
242
|
}
|
|
291
243
|
};
|
|
292
|
-
const ExecutionStatus = {
|
|
293
|
-
COMPLETED: "COMPLETED",
|
|
294
|
-
ERROR: "ERROR",
|
|
295
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
296
|
-
WAITING: "WAITING",
|
|
297
|
-
};
|
|
298
|
-
const SubmissionMutationKind = {
|
|
299
|
-
add: "add",
|
|
300
|
-
delete: "delete",
|
|
301
|
-
edit: "edit",
|
|
302
|
-
};
|
|
303
244
|
let ContentTooLargeException$1 = class ContentTooLargeException extends QAppsServiceException$1 {
|
|
304
245
|
name = "ContentTooLargeException";
|
|
305
246
|
$fault = "client";
|
|
@@ -316,22 +257,6 @@ let ContentTooLargeException$1 = class ContentTooLargeException extends QAppsSer
|
|
|
316
257
|
this.resourceType = opts.resourceType;
|
|
317
258
|
}
|
|
318
259
|
};
|
|
319
|
-
const Sender = {
|
|
320
|
-
SYSTEM: "SYSTEM",
|
|
321
|
-
USER: "USER",
|
|
322
|
-
};
|
|
323
|
-
const DocumentScope = {
|
|
324
|
-
APPLICATION: "APPLICATION",
|
|
325
|
-
SESSION: "SESSION",
|
|
326
|
-
};
|
|
327
|
-
const UserType = {
|
|
328
|
-
OWNER: "owner",
|
|
329
|
-
USER: "user",
|
|
330
|
-
};
|
|
331
|
-
const LibraryItemStatus = {
|
|
332
|
-
DISABLED: "DISABLED",
|
|
333
|
-
PUBLISHED: "PUBLISHED",
|
|
334
|
-
};
|
|
335
260
|
|
|
336
261
|
const _AD = "AppDefinition";
|
|
337
262
|
const _ADE = "AccessDeniedException";
|
|
@@ -2499,6 +2424,82 @@ const paginateListLibraryItems = core.createPaginator(QAppsClient, ListLibraryIt
|
|
|
2499
2424
|
|
|
2500
2425
|
const paginateListQApps = core.createPaginator(QAppsClient, ListQAppsCommand, "nextToken", "nextToken", "limit");
|
|
2501
2426
|
|
|
2427
|
+
const Action = {
|
|
2428
|
+
READ: "read",
|
|
2429
|
+
WRITE: "write",
|
|
2430
|
+
};
|
|
2431
|
+
const CardType = {
|
|
2432
|
+
FILE_UPLOAD: "file-upload",
|
|
2433
|
+
FORM_INPUT: "form-input",
|
|
2434
|
+
Q_PLUGIN: "q-plugin",
|
|
2435
|
+
Q_QUERY: "q-query",
|
|
2436
|
+
TEXT_INPUT: "text-input",
|
|
2437
|
+
};
|
|
2438
|
+
const InputCardComputeMode = {
|
|
2439
|
+
APPEND: "append",
|
|
2440
|
+
REPLACE: "replace",
|
|
2441
|
+
};
|
|
2442
|
+
const PluginType = {
|
|
2443
|
+
ASANA: "ASANA",
|
|
2444
|
+
ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE",
|
|
2445
|
+
CUSTOM: "CUSTOM",
|
|
2446
|
+
GOOGLE_CALENDAR: "GOOGLE_CALENDAR",
|
|
2447
|
+
JIRA: "JIRA",
|
|
2448
|
+
JIRA_CLOUD: "JIRA_CLOUD",
|
|
2449
|
+
MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE",
|
|
2450
|
+
MICROSOFT_TEAMS: "MICROSOFT_TEAMS",
|
|
2451
|
+
PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE",
|
|
2452
|
+
SALESFORCE: "SALESFORCE",
|
|
2453
|
+
SALESFORCE_CRM: "SALESFORCE_CRM",
|
|
2454
|
+
SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM",
|
|
2455
|
+
SERVICE_NOW: "SERVICE_NOW",
|
|
2456
|
+
SMARTSHEET: "SMARTSHEET",
|
|
2457
|
+
ZENDESK: "ZENDESK",
|
|
2458
|
+
ZENDESK_SUITE: "ZENDESK_SUITE",
|
|
2459
|
+
};
|
|
2460
|
+
const CardOutputSource = {
|
|
2461
|
+
APPROVED_SOURCES: "approved-sources",
|
|
2462
|
+
LLM: "llm",
|
|
2463
|
+
};
|
|
2464
|
+
const AppRequiredCapability = {
|
|
2465
|
+
CREATOR_MODE: "CreatorMode",
|
|
2466
|
+
FILE_UPLOAD: "FileUpload",
|
|
2467
|
+
PLUGIN_MODE: "PluginMode",
|
|
2468
|
+
RETRIEVAL_MODE: "RetrievalMode",
|
|
2469
|
+
};
|
|
2470
|
+
const AppStatus = {
|
|
2471
|
+
DELETED: "DELETED",
|
|
2472
|
+
DRAFT: "DRAFT",
|
|
2473
|
+
PUBLISHED: "PUBLISHED",
|
|
2474
|
+
};
|
|
2475
|
+
const ExecutionStatus = {
|
|
2476
|
+
COMPLETED: "COMPLETED",
|
|
2477
|
+
ERROR: "ERROR",
|
|
2478
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
2479
|
+
WAITING: "WAITING",
|
|
2480
|
+
};
|
|
2481
|
+
const SubmissionMutationKind = {
|
|
2482
|
+
add: "add",
|
|
2483
|
+
delete: "delete",
|
|
2484
|
+
edit: "edit",
|
|
2485
|
+
};
|
|
2486
|
+
const Sender = {
|
|
2487
|
+
SYSTEM: "SYSTEM",
|
|
2488
|
+
USER: "USER",
|
|
2489
|
+
};
|
|
2490
|
+
const DocumentScope = {
|
|
2491
|
+
APPLICATION: "APPLICATION",
|
|
2492
|
+
SESSION: "SESSION",
|
|
2493
|
+
};
|
|
2494
|
+
const UserType = {
|
|
2495
|
+
OWNER: "owner",
|
|
2496
|
+
USER: "user",
|
|
2497
|
+
};
|
|
2498
|
+
const LibraryItemStatus = {
|
|
2499
|
+
DISABLED: "DISABLED",
|
|
2500
|
+
PUBLISHED: "PUBLISHED",
|
|
2501
|
+
};
|
|
2502
|
+
|
|
2502
2503
|
Object.defineProperty(exports, "$Command", {
|
|
2503
2504
|
enumerable: true,
|
|
2504
2505
|
get: function () { return smithyClient.Command; }
|
package/dist-es/index.js
CHANGED
|
@@ -2,5 +2,6 @@ export * from "./QAppsClient";
|
|
|
2
2
|
export * from "./QApps";
|
|
3
3
|
export * from "./commands";
|
|
4
4
|
export * from "./pagination";
|
|
5
|
-
export * from "./models";
|
|
5
|
+
export * from "./models/enums";
|
|
6
|
+
export * from "./models/errors";
|
|
6
7
|
export { QAppsServiceException } from "./models/QAppsServiceException";
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export const Action = {
|
|
2
|
+
READ: "read",
|
|
3
|
+
WRITE: "write",
|
|
4
|
+
};
|
|
5
|
+
export const CardType = {
|
|
6
|
+
FILE_UPLOAD: "file-upload",
|
|
7
|
+
FORM_INPUT: "form-input",
|
|
8
|
+
Q_PLUGIN: "q-plugin",
|
|
9
|
+
Q_QUERY: "q-query",
|
|
10
|
+
TEXT_INPUT: "text-input",
|
|
11
|
+
};
|
|
12
|
+
export const InputCardComputeMode = {
|
|
13
|
+
APPEND: "append",
|
|
14
|
+
REPLACE: "replace",
|
|
15
|
+
};
|
|
16
|
+
export const PluginType = {
|
|
17
|
+
ASANA: "ASANA",
|
|
18
|
+
ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE",
|
|
19
|
+
CUSTOM: "CUSTOM",
|
|
20
|
+
GOOGLE_CALENDAR: "GOOGLE_CALENDAR",
|
|
21
|
+
JIRA: "JIRA",
|
|
22
|
+
JIRA_CLOUD: "JIRA_CLOUD",
|
|
23
|
+
MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE",
|
|
24
|
+
MICROSOFT_TEAMS: "MICROSOFT_TEAMS",
|
|
25
|
+
PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE",
|
|
26
|
+
SALESFORCE: "SALESFORCE",
|
|
27
|
+
SALESFORCE_CRM: "SALESFORCE_CRM",
|
|
28
|
+
SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM",
|
|
29
|
+
SERVICE_NOW: "SERVICE_NOW",
|
|
30
|
+
SMARTSHEET: "SMARTSHEET",
|
|
31
|
+
ZENDESK: "ZENDESK",
|
|
32
|
+
ZENDESK_SUITE: "ZENDESK_SUITE",
|
|
33
|
+
};
|
|
34
|
+
export const CardOutputSource = {
|
|
35
|
+
APPROVED_SOURCES: "approved-sources",
|
|
36
|
+
LLM: "llm",
|
|
37
|
+
};
|
|
38
|
+
export const AppRequiredCapability = {
|
|
39
|
+
CREATOR_MODE: "CreatorMode",
|
|
40
|
+
FILE_UPLOAD: "FileUpload",
|
|
41
|
+
PLUGIN_MODE: "PluginMode",
|
|
42
|
+
RETRIEVAL_MODE: "RetrievalMode",
|
|
43
|
+
};
|
|
44
|
+
export const AppStatus = {
|
|
45
|
+
DELETED: "DELETED",
|
|
46
|
+
DRAFT: "DRAFT",
|
|
47
|
+
PUBLISHED: "PUBLISHED",
|
|
48
|
+
};
|
|
49
|
+
export const ExecutionStatus = {
|
|
50
|
+
COMPLETED: "COMPLETED",
|
|
51
|
+
ERROR: "ERROR",
|
|
52
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
53
|
+
WAITING: "WAITING",
|
|
54
|
+
};
|
|
55
|
+
export const SubmissionMutationKind = {
|
|
56
|
+
add: "add",
|
|
57
|
+
delete: "delete",
|
|
58
|
+
edit: "edit",
|
|
59
|
+
};
|
|
60
|
+
export const Sender = {
|
|
61
|
+
SYSTEM: "SYSTEM",
|
|
62
|
+
USER: "USER",
|
|
63
|
+
};
|
|
64
|
+
export const DocumentScope = {
|
|
65
|
+
APPLICATION: "APPLICATION",
|
|
66
|
+
SESSION: "SESSION",
|
|
67
|
+
};
|
|
68
|
+
export const UserType = {
|
|
69
|
+
OWNER: "owner",
|
|
70
|
+
USER: "user",
|
|
71
|
+
};
|
|
72
|
+
export const LibraryItemStatus = {
|
|
73
|
+
DISABLED: "DISABLED",
|
|
74
|
+
PUBLISHED: "PUBLISHED",
|
|
75
|
+
};
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { QAppsServiceException as __BaseException } from "./QAppsServiceException";
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
name = "AccessDeniedException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "AccessDeniedException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts,
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
name = "ConflictException";
|
|
16
|
+
$fault = "client";
|
|
17
|
+
resourceId;
|
|
18
|
+
resourceType;
|
|
19
|
+
constructor(opts) {
|
|
20
|
+
super({
|
|
21
|
+
name: "ConflictException",
|
|
22
|
+
$fault: "client",
|
|
23
|
+
...opts,
|
|
24
|
+
});
|
|
25
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
26
|
+
this.resourceId = opts.resourceId;
|
|
27
|
+
this.resourceType = opts.resourceType;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export class InternalServerException extends __BaseException {
|
|
31
|
+
name = "InternalServerException";
|
|
32
|
+
$fault = "server";
|
|
33
|
+
$retryable = {};
|
|
34
|
+
retryAfterSeconds;
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "InternalServerException",
|
|
38
|
+
$fault: "server",
|
|
39
|
+
...opts,
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
42
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
46
|
+
name = "ResourceNotFoundException";
|
|
47
|
+
$fault = "client";
|
|
48
|
+
resourceId;
|
|
49
|
+
resourceType;
|
|
50
|
+
constructor(opts) {
|
|
51
|
+
super({
|
|
52
|
+
name: "ResourceNotFoundException",
|
|
53
|
+
$fault: "client",
|
|
54
|
+
...opts,
|
|
55
|
+
});
|
|
56
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
57
|
+
this.resourceId = opts.resourceId;
|
|
58
|
+
this.resourceType = opts.resourceType;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
62
|
+
name = "ServiceQuotaExceededException";
|
|
63
|
+
$fault = "client";
|
|
64
|
+
resourceId;
|
|
65
|
+
resourceType;
|
|
66
|
+
serviceCode;
|
|
67
|
+
quotaCode;
|
|
68
|
+
constructor(opts) {
|
|
69
|
+
super({
|
|
70
|
+
name: "ServiceQuotaExceededException",
|
|
71
|
+
$fault: "client",
|
|
72
|
+
...opts,
|
|
73
|
+
});
|
|
74
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
75
|
+
this.resourceId = opts.resourceId;
|
|
76
|
+
this.resourceType = opts.resourceType;
|
|
77
|
+
this.serviceCode = opts.serviceCode;
|
|
78
|
+
this.quotaCode = opts.quotaCode;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
export class ThrottlingException extends __BaseException {
|
|
82
|
+
name = "ThrottlingException";
|
|
83
|
+
$fault = "client";
|
|
84
|
+
$retryable = {
|
|
85
|
+
throttling: true,
|
|
86
|
+
};
|
|
87
|
+
serviceCode;
|
|
88
|
+
quotaCode;
|
|
89
|
+
retryAfterSeconds;
|
|
90
|
+
constructor(opts) {
|
|
91
|
+
super({
|
|
92
|
+
name: "ThrottlingException",
|
|
93
|
+
$fault: "client",
|
|
94
|
+
...opts,
|
|
95
|
+
});
|
|
96
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
97
|
+
this.serviceCode = opts.serviceCode;
|
|
98
|
+
this.quotaCode = opts.quotaCode;
|
|
99
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
export class UnauthorizedException extends __BaseException {
|
|
103
|
+
name = "UnauthorizedException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
constructor(opts) {
|
|
106
|
+
super({
|
|
107
|
+
name: "UnauthorizedException",
|
|
108
|
+
$fault: "client",
|
|
109
|
+
...opts,
|
|
110
|
+
});
|
|
111
|
+
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
export class ValidationException extends __BaseException {
|
|
115
|
+
name = "ValidationException";
|
|
116
|
+
$fault = "client";
|
|
117
|
+
constructor(opts) {
|
|
118
|
+
super({
|
|
119
|
+
name: "ValidationException",
|
|
120
|
+
$fault: "client",
|
|
121
|
+
...opts,
|
|
122
|
+
});
|
|
123
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
export class ContentTooLargeException extends __BaseException {
|
|
127
|
+
name = "ContentTooLargeException";
|
|
128
|
+
$fault = "client";
|
|
129
|
+
resourceId;
|
|
130
|
+
resourceType;
|
|
131
|
+
constructor(opts) {
|
|
132
|
+
super({
|
|
133
|
+
name: "ContentTooLargeException",
|
|
134
|
+
$fault: "client",
|
|
135
|
+
...opts,
|
|
136
|
+
});
|
|
137
|
+
Object.setPrototypeOf(this, ContentTooLargeException.prototype);
|
|
138
|
+
this.resourceId = opts.resourceId;
|
|
139
|
+
this.resourceType = opts.resourceType;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -1,216 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export class AccessDeniedException extends __BaseException {
|
|
3
|
-
name = "AccessDeniedException";
|
|
4
|
-
$fault = "client";
|
|
5
|
-
constructor(opts) {
|
|
6
|
-
super({
|
|
7
|
-
name: "AccessDeniedException",
|
|
8
|
-
$fault: "client",
|
|
9
|
-
...opts,
|
|
10
|
-
});
|
|
11
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export const Action = {
|
|
15
|
-
READ: "read",
|
|
16
|
-
WRITE: "write",
|
|
17
|
-
};
|
|
18
|
-
export const CardType = {
|
|
19
|
-
FILE_UPLOAD: "file-upload",
|
|
20
|
-
FORM_INPUT: "form-input",
|
|
21
|
-
Q_PLUGIN: "q-plugin",
|
|
22
|
-
Q_QUERY: "q-query",
|
|
23
|
-
TEXT_INPUT: "text-input",
|
|
24
|
-
};
|
|
25
|
-
export const InputCardComputeMode = {
|
|
26
|
-
APPEND: "append",
|
|
27
|
-
REPLACE: "replace",
|
|
28
|
-
};
|
|
29
|
-
export const PluginType = {
|
|
30
|
-
ASANA: "ASANA",
|
|
31
|
-
ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE",
|
|
32
|
-
CUSTOM: "CUSTOM",
|
|
33
|
-
GOOGLE_CALENDAR: "GOOGLE_CALENDAR",
|
|
34
|
-
JIRA: "JIRA",
|
|
35
|
-
JIRA_CLOUD: "JIRA_CLOUD",
|
|
36
|
-
MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE",
|
|
37
|
-
MICROSOFT_TEAMS: "MICROSOFT_TEAMS",
|
|
38
|
-
PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE",
|
|
39
|
-
SALESFORCE: "SALESFORCE",
|
|
40
|
-
SALESFORCE_CRM: "SALESFORCE_CRM",
|
|
41
|
-
SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM",
|
|
42
|
-
SERVICE_NOW: "SERVICE_NOW",
|
|
43
|
-
SMARTSHEET: "SMARTSHEET",
|
|
44
|
-
ZENDESK: "ZENDESK",
|
|
45
|
-
ZENDESK_SUITE: "ZENDESK_SUITE",
|
|
46
|
-
};
|
|
47
|
-
export const CardOutputSource = {
|
|
48
|
-
APPROVED_SOURCES: "approved-sources",
|
|
49
|
-
LLM: "llm",
|
|
50
|
-
};
|
|
51
|
-
export const AppRequiredCapability = {
|
|
52
|
-
CREATOR_MODE: "CreatorMode",
|
|
53
|
-
FILE_UPLOAD: "FileUpload",
|
|
54
|
-
PLUGIN_MODE: "PluginMode",
|
|
55
|
-
RETRIEVAL_MODE: "RetrievalMode",
|
|
56
|
-
};
|
|
57
|
-
export const AppStatus = {
|
|
58
|
-
DELETED: "DELETED",
|
|
59
|
-
DRAFT: "DRAFT",
|
|
60
|
-
PUBLISHED: "PUBLISHED",
|
|
61
|
-
};
|
|
62
|
-
export class ConflictException extends __BaseException {
|
|
63
|
-
name = "ConflictException";
|
|
64
|
-
$fault = "client";
|
|
65
|
-
resourceId;
|
|
66
|
-
resourceType;
|
|
67
|
-
constructor(opts) {
|
|
68
|
-
super({
|
|
69
|
-
name: "ConflictException",
|
|
70
|
-
$fault: "client",
|
|
71
|
-
...opts,
|
|
72
|
-
});
|
|
73
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
74
|
-
this.resourceId = opts.resourceId;
|
|
75
|
-
this.resourceType = opts.resourceType;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
export class InternalServerException extends __BaseException {
|
|
79
|
-
name = "InternalServerException";
|
|
80
|
-
$fault = "server";
|
|
81
|
-
$retryable = {};
|
|
82
|
-
retryAfterSeconds;
|
|
83
|
-
constructor(opts) {
|
|
84
|
-
super({
|
|
85
|
-
name: "InternalServerException",
|
|
86
|
-
$fault: "server",
|
|
87
|
-
...opts,
|
|
88
|
-
});
|
|
89
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
90
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
export class ResourceNotFoundException extends __BaseException {
|
|
94
|
-
name = "ResourceNotFoundException";
|
|
95
|
-
$fault = "client";
|
|
96
|
-
resourceId;
|
|
97
|
-
resourceType;
|
|
98
|
-
constructor(opts) {
|
|
99
|
-
super({
|
|
100
|
-
name: "ResourceNotFoundException",
|
|
101
|
-
$fault: "client",
|
|
102
|
-
...opts,
|
|
103
|
-
});
|
|
104
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
105
|
-
this.resourceId = opts.resourceId;
|
|
106
|
-
this.resourceType = opts.resourceType;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
export class ServiceQuotaExceededException extends __BaseException {
|
|
110
|
-
name = "ServiceQuotaExceededException";
|
|
111
|
-
$fault = "client";
|
|
112
|
-
resourceId;
|
|
113
|
-
resourceType;
|
|
114
|
-
serviceCode;
|
|
115
|
-
quotaCode;
|
|
116
|
-
constructor(opts) {
|
|
117
|
-
super({
|
|
118
|
-
name: "ServiceQuotaExceededException",
|
|
119
|
-
$fault: "client",
|
|
120
|
-
...opts,
|
|
121
|
-
});
|
|
122
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
123
|
-
this.resourceId = opts.resourceId;
|
|
124
|
-
this.resourceType = opts.resourceType;
|
|
125
|
-
this.serviceCode = opts.serviceCode;
|
|
126
|
-
this.quotaCode = opts.quotaCode;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
export class ThrottlingException extends __BaseException {
|
|
130
|
-
name = "ThrottlingException";
|
|
131
|
-
$fault = "client";
|
|
132
|
-
$retryable = {
|
|
133
|
-
throttling: true,
|
|
134
|
-
};
|
|
135
|
-
serviceCode;
|
|
136
|
-
quotaCode;
|
|
137
|
-
retryAfterSeconds;
|
|
138
|
-
constructor(opts) {
|
|
139
|
-
super({
|
|
140
|
-
name: "ThrottlingException",
|
|
141
|
-
$fault: "client",
|
|
142
|
-
...opts,
|
|
143
|
-
});
|
|
144
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
145
|
-
this.serviceCode = opts.serviceCode;
|
|
146
|
-
this.quotaCode = opts.quotaCode;
|
|
147
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
export class UnauthorizedException extends __BaseException {
|
|
151
|
-
name = "UnauthorizedException";
|
|
152
|
-
$fault = "client";
|
|
153
|
-
constructor(opts) {
|
|
154
|
-
super({
|
|
155
|
-
name: "UnauthorizedException",
|
|
156
|
-
$fault: "client",
|
|
157
|
-
...opts,
|
|
158
|
-
});
|
|
159
|
-
Object.setPrototypeOf(this, UnauthorizedException.prototype);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
export class ValidationException extends __BaseException {
|
|
163
|
-
name = "ValidationException";
|
|
164
|
-
$fault = "client";
|
|
165
|
-
constructor(opts) {
|
|
166
|
-
super({
|
|
167
|
-
name: "ValidationException",
|
|
168
|
-
$fault: "client",
|
|
169
|
-
...opts,
|
|
170
|
-
});
|
|
171
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
export const ExecutionStatus = {
|
|
175
|
-
COMPLETED: "COMPLETED",
|
|
176
|
-
ERROR: "ERROR",
|
|
177
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
178
|
-
WAITING: "WAITING",
|
|
179
|
-
};
|
|
180
|
-
export const SubmissionMutationKind = {
|
|
181
|
-
add: "add",
|
|
182
|
-
delete: "delete",
|
|
183
|
-
edit: "edit",
|
|
184
|
-
};
|
|
185
|
-
export class ContentTooLargeException extends __BaseException {
|
|
186
|
-
name = "ContentTooLargeException";
|
|
187
|
-
$fault = "client";
|
|
188
|
-
resourceId;
|
|
189
|
-
resourceType;
|
|
190
|
-
constructor(opts) {
|
|
191
|
-
super({
|
|
192
|
-
name: "ContentTooLargeException",
|
|
193
|
-
$fault: "client",
|
|
194
|
-
...opts,
|
|
195
|
-
});
|
|
196
|
-
Object.setPrototypeOf(this, ContentTooLargeException.prototype);
|
|
197
|
-
this.resourceId = opts.resourceId;
|
|
198
|
-
this.resourceType = opts.resourceType;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
export const Sender = {
|
|
202
|
-
SYSTEM: "SYSTEM",
|
|
203
|
-
USER: "USER",
|
|
204
|
-
};
|
|
205
|
-
export const DocumentScope = {
|
|
206
|
-
APPLICATION: "APPLICATION",
|
|
207
|
-
SESSION: "SESSION",
|
|
208
|
-
};
|
|
209
|
-
export const UserType = {
|
|
210
|
-
OWNER: "owner",
|
|
211
|
-
USER: "user",
|
|
212
|
-
};
|
|
213
|
-
export const LibraryItemStatus = {
|
|
214
|
-
DISABLED: "DISABLED",
|
|
215
|
-
PUBLISHED: "PUBLISHED",
|
|
216
|
-
};
|
|
1
|
+
export {};
|
|
@@ -289,7 +289,7 @@ const _v = "value";
|
|
|
289
289
|
const _va = "values";
|
|
290
290
|
const n0 = "com.amazonaws.qapps";
|
|
291
291
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
292
|
-
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, ContentTooLargeException as __ContentTooLargeException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, UnauthorizedException as __UnauthorizedException, ValidationException as __ValidationException, } from "../models/
|
|
292
|
+
import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, ContentTooLargeException as __ContentTooLargeException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, UnauthorizedException as __UnauthorizedException, ValidationException as __ValidationException, } from "../models/errors";
|
|
293
293
|
import { QAppsServiceException as __QAppsServiceException } from "../models/QAppsServiceException";
|
|
294
294
|
export var AccessDeniedException = [
|
|
295
295
|
-3,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -10,5 +10,7 @@ export type { RuntimeExtension } from "./runtimeExtensions";
|
|
|
10
10
|
export type { QAppsExtensionConfiguration } from "./extensionConfiguration";
|
|
11
11
|
export * from "./commands";
|
|
12
12
|
export * from "./pagination";
|
|
13
|
-
export * from "./models";
|
|
13
|
+
export * from "./models/enums";
|
|
14
|
+
export * from "./models/errors";
|
|
15
|
+
export type * from "./models/models_0";
|
|
14
16
|
export { QAppsServiceException } from "./models/QAppsServiceException";
|