@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.
- 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
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const Action: {
|
|
6
|
+
readonly READ: "read";
|
|
7
|
+
readonly WRITE: "write";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type Action = (typeof Action)[keyof typeof Action];
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
* @enum
|
|
16
|
+
*/
|
|
17
|
+
export declare const CardType: {
|
|
18
|
+
readonly FILE_UPLOAD: "file-upload";
|
|
19
|
+
readonly FORM_INPUT: "form-input";
|
|
20
|
+
readonly Q_PLUGIN: "q-plugin";
|
|
21
|
+
readonly Q_QUERY: "q-query";
|
|
22
|
+
readonly TEXT_INPUT: "text-input";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type CardType = (typeof CardType)[keyof typeof CardType];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const InputCardComputeMode: {
|
|
33
|
+
readonly APPEND: "append";
|
|
34
|
+
readonly REPLACE: "replace";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type InputCardComputeMode = (typeof InputCardComputeMode)[keyof typeof InputCardComputeMode];
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* @enum
|
|
43
|
+
*/
|
|
44
|
+
export declare const PluginType: {
|
|
45
|
+
readonly ASANA: "ASANA";
|
|
46
|
+
readonly ATLASSIAN_CONFLUENCE: "ATLASSIAN_CONFLUENCE";
|
|
47
|
+
readonly CUSTOM: "CUSTOM";
|
|
48
|
+
readonly GOOGLE_CALENDAR: "GOOGLE_CALENDAR";
|
|
49
|
+
readonly JIRA: "JIRA";
|
|
50
|
+
readonly JIRA_CLOUD: "JIRA_CLOUD";
|
|
51
|
+
readonly MICROSOFT_EXCHANGE: "MICROSOFT_EXCHANGE";
|
|
52
|
+
readonly MICROSOFT_TEAMS: "MICROSOFT_TEAMS";
|
|
53
|
+
readonly PAGERDUTY_ADVANCE: "PAGERDUTY_ADVANCE";
|
|
54
|
+
readonly SALESFORCE: "SALESFORCE";
|
|
55
|
+
readonly SALESFORCE_CRM: "SALESFORCE_CRM";
|
|
56
|
+
readonly SERVICENOW_NOW_PLATFORM: "SERVICENOW_NOW_PLATFORM";
|
|
57
|
+
readonly SERVICE_NOW: "SERVICE_NOW";
|
|
58
|
+
readonly SMARTSHEET: "SMARTSHEET";
|
|
59
|
+
readonly ZENDESK: "ZENDESK";
|
|
60
|
+
readonly ZENDESK_SUITE: "ZENDESK_SUITE";
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
export type PluginType = (typeof PluginType)[keyof typeof PluginType];
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @enum
|
|
69
|
+
*/
|
|
70
|
+
export declare const CardOutputSource: {
|
|
71
|
+
readonly APPROVED_SOURCES: "approved-sources";
|
|
72
|
+
readonly LLM: "llm";
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export type CardOutputSource = (typeof CardOutputSource)[keyof typeof CardOutputSource];
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* @enum
|
|
81
|
+
*/
|
|
82
|
+
export declare const AppRequiredCapability: {
|
|
83
|
+
readonly CREATOR_MODE: "CreatorMode";
|
|
84
|
+
readonly FILE_UPLOAD: "FileUpload";
|
|
85
|
+
readonly PLUGIN_MODE: "PluginMode";
|
|
86
|
+
readonly RETRIEVAL_MODE: "RetrievalMode";
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export type AppRequiredCapability = (typeof AppRequiredCapability)[keyof typeof AppRequiredCapability];
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
* @enum
|
|
95
|
+
*/
|
|
96
|
+
export declare const AppStatus: {
|
|
97
|
+
readonly DELETED: "DELETED";
|
|
98
|
+
readonly DRAFT: "DRAFT";
|
|
99
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export type AppStatus = (typeof AppStatus)[keyof typeof AppStatus];
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
* @enum
|
|
108
|
+
*/
|
|
109
|
+
export declare const ExecutionStatus: {
|
|
110
|
+
readonly COMPLETED: "COMPLETED";
|
|
111
|
+
readonly ERROR: "ERROR";
|
|
112
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
113
|
+
readonly WAITING: "WAITING";
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
* @enum
|
|
122
|
+
*/
|
|
123
|
+
export declare const SubmissionMutationKind: {
|
|
124
|
+
readonly add: "add";
|
|
125
|
+
readonly delete: "delete";
|
|
126
|
+
readonly edit: "edit";
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* @public
|
|
130
|
+
*/
|
|
131
|
+
export type SubmissionMutationKind = (typeof SubmissionMutationKind)[keyof typeof SubmissionMutationKind];
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
* @enum
|
|
135
|
+
*/
|
|
136
|
+
export declare const Sender: {
|
|
137
|
+
readonly SYSTEM: "SYSTEM";
|
|
138
|
+
readonly USER: "USER";
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export type Sender = (typeof Sender)[keyof typeof Sender];
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
* @enum
|
|
147
|
+
*/
|
|
148
|
+
export declare const DocumentScope: {
|
|
149
|
+
readonly APPLICATION: "APPLICATION";
|
|
150
|
+
readonly SESSION: "SESSION";
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export type DocumentScope = (typeof DocumentScope)[keyof typeof DocumentScope];
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
* @enum
|
|
159
|
+
*/
|
|
160
|
+
export declare const UserType: {
|
|
161
|
+
readonly OWNER: "owner";
|
|
162
|
+
readonly USER: "user";
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export type UserType = (typeof UserType)[keyof typeof UserType];
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
* @enum
|
|
171
|
+
*/
|
|
172
|
+
export declare const LibraryItemStatus: {
|
|
173
|
+
readonly DISABLED: "DISABLED";
|
|
174
|
+
readonly PUBLISHED: "PUBLISHED";
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
export type LibraryItemStatus = (typeof LibraryItemStatus)[keyof typeof LibraryItemStatus];
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { QAppsServiceException as __BaseException } from "./QAppsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The client is not authorized to perform the requested operation.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
readonly name: "AccessDeniedException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* <p>The requested operation could not be completed due to a conflict with the current state of the resource.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export declare class ConflictException extends __BaseException {
|
|
20
|
+
readonly name: "ConflictException";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
/**
|
|
23
|
+
* <p>The unique identifier of the resource</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
resourceId: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The type of the resource</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
resourceType: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* <p>An internal service error occurred while processing the request.</p>
|
|
39
|
+
* @public
|
|
40
|
+
*/
|
|
41
|
+
export declare class InternalServerException extends __BaseException {
|
|
42
|
+
readonly name: "InternalServerException";
|
|
43
|
+
readonly $fault: "server";
|
|
44
|
+
$retryable: {};
|
|
45
|
+
/**
|
|
46
|
+
* <p>The number of seconds to wait before retrying the operation</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
retryAfterSeconds?: number | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* <p>The requested resource could not be found.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
60
|
+
readonly name: "ResourceNotFoundException";
|
|
61
|
+
readonly $fault: "client";
|
|
62
|
+
/**
|
|
63
|
+
* <p>The unique identifier of the resource</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
resourceId: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>The type of the resource</p>
|
|
69
|
+
* @public
|
|
70
|
+
*/
|
|
71
|
+
resourceType: string | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* <p>The requested operation could not be completed because it would exceed the service's quota or limit.</p>
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
82
|
+
readonly name: "ServiceQuotaExceededException";
|
|
83
|
+
readonly $fault: "client";
|
|
84
|
+
/**
|
|
85
|
+
* <p>The unique identifier of the resource</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
resourceId: string | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The type of the resource</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
resourceType: string | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>The code for the service where the quota was exceeded</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
serviceCode: string | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The code of the quota that was exceeded</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
quotaCode: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* <p>The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export declare class ThrottlingException extends __BaseException {
|
|
114
|
+
readonly name: "ThrottlingException";
|
|
115
|
+
readonly $fault: "client";
|
|
116
|
+
$retryable: {
|
|
117
|
+
throttling: boolean;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* <p>The code for the service where the quota was exceeded</p>
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
serviceCode: string | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* <p>The code of the quota that was exceeded</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
quotaCode: string | undefined;
|
|
129
|
+
/**
|
|
130
|
+
* <p>The number of seconds to wait before retrying the operation</p>
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
retryAfterSeconds?: number | undefined;
|
|
134
|
+
/**
|
|
135
|
+
* @internal
|
|
136
|
+
*/
|
|
137
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* <p>The client is not authenticated or authorized to perform the requested operation.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
144
|
+
readonly name: "UnauthorizedException";
|
|
145
|
+
readonly $fault: "client";
|
|
146
|
+
/**
|
|
147
|
+
* @internal
|
|
148
|
+
*/
|
|
149
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* <p>The input failed to satisfy the constraints specified by the service.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export declare class ValidationException extends __BaseException {
|
|
156
|
+
readonly name: "ValidationException";
|
|
157
|
+
readonly $fault: "client";
|
|
158
|
+
/**
|
|
159
|
+
* @internal
|
|
160
|
+
*/
|
|
161
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* <p>The requested operation could not be completed because the content exceeds the maximum allowed size.</p>
|
|
165
|
+
* @public
|
|
166
|
+
*/
|
|
167
|
+
export declare class ContentTooLargeException extends __BaseException {
|
|
168
|
+
readonly name: "ContentTooLargeException";
|
|
169
|
+
readonly $fault: "client";
|
|
170
|
+
/**
|
|
171
|
+
* <p>The unique identifier of the resource</p>
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
resourceId: string | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* <p>The type of the resource</p>
|
|
177
|
+
* @public
|
|
178
|
+
*/
|
|
179
|
+
resourceType: string | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
constructor(opts: __ExceptionOptionType<ContentTooLargeException, __BaseException>);
|
|
184
|
+
}
|