@aws-amplify/predictions 5.5.25 → 5.5.26

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 (43) hide show
  1. package/lib/Predictions.d.ts +5 -0
  2. package/lib/Predictions.js +5 -0
  3. package/lib/Predictions.js.map +1 -1
  4. package/lib/Providers/AmazonAIConvertPredictionsProvider.d.ts +5 -0
  5. package/lib/Providers/AmazonAIConvertPredictionsProvider.js +5 -0
  6. package/lib/Providers/AmazonAIConvertPredictionsProvider.js.map +1 -1
  7. package/lib/Providers/AmazonAIIdentifyPredictionsProvider.d.ts +5 -0
  8. package/lib/Providers/AmazonAIIdentifyPredictionsProvider.js +5 -0
  9. package/lib/Providers/AmazonAIIdentifyPredictionsProvider.js.map +1 -1
  10. package/lib/Providers/AmazonAIInterpretPredictionsProvider.d.ts +5 -0
  11. package/lib/Providers/AmazonAIInterpretPredictionsProvider.js +5 -0
  12. package/lib/Providers/AmazonAIInterpretPredictionsProvider.js.map +1 -1
  13. package/lib/Providers/AmazonAIPredictionsProvider.d.ts +5 -0
  14. package/lib/Providers/AmazonAIPredictionsProvider.js +5 -0
  15. package/lib/Providers/AmazonAIPredictionsProvider.js.map +1 -1
  16. package/lib/types/Predictions.d.ts +281 -0
  17. package/lib/types/Predictions.js +63 -0
  18. package/lib/types/Predictions.js.map +1 -1
  19. package/lib-esm/Predictions.d.ts +5 -0
  20. package/lib-esm/Predictions.js +5 -0
  21. package/lib-esm/Predictions.js.map +1 -1
  22. package/lib-esm/Providers/AmazonAIConvertPredictionsProvider.d.ts +5 -0
  23. package/lib-esm/Providers/AmazonAIConvertPredictionsProvider.js +5 -0
  24. package/lib-esm/Providers/AmazonAIConvertPredictionsProvider.js.map +1 -1
  25. package/lib-esm/Providers/AmazonAIIdentifyPredictionsProvider.d.ts +5 -0
  26. package/lib-esm/Providers/AmazonAIIdentifyPredictionsProvider.js +5 -0
  27. package/lib-esm/Providers/AmazonAIIdentifyPredictionsProvider.js.map +1 -1
  28. package/lib-esm/Providers/AmazonAIInterpretPredictionsProvider.d.ts +5 -0
  29. package/lib-esm/Providers/AmazonAIInterpretPredictionsProvider.js +5 -0
  30. package/lib-esm/Providers/AmazonAIInterpretPredictionsProvider.js.map +1 -1
  31. package/lib-esm/Providers/AmazonAIPredictionsProvider.d.ts +5 -0
  32. package/lib-esm/Providers/AmazonAIPredictionsProvider.js +5 -0
  33. package/lib-esm/Providers/AmazonAIPredictionsProvider.js.map +1 -1
  34. package/lib-esm/types/Predictions.d.ts +281 -0
  35. package/lib-esm/types/Predictions.js +63 -0
  36. package/lib-esm/types/Predictions.js.map +1 -1
  37. package/package.json +4 -4
  38. package/src/Predictions.ts +5 -0
  39. package/src/Providers/AmazonAIConvertPredictionsProvider.ts +5 -0
  40. package/src/Providers/AmazonAIIdentifyPredictionsProvider.ts +5 -0
  41. package/src/Providers/AmazonAIInterpretPredictionsProvider.ts +5 -0
  42. package/src/Providers/AmazonAIPredictionsProvider.ts +5 -0
  43. package/src/types/Predictions.ts +281 -0
@@ -1,14 +1,25 @@
1
1
  /**
2
2
  * Base types
3
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
4
+ * See the migration guide:
5
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
3
6
  */
4
7
  export interface PredictionsOptions {
5
8
  [key: string]: any;
6
9
  }
10
+ /**
11
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
12
+ * See the migration guide:
13
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
14
+ */
7
15
  export interface ProviderOptions {
8
16
  providerName?: string;
9
17
  }
10
18
  /**
11
19
  * Convert types
20
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
21
+ * See the migration guide:
22
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
12
23
  */
13
24
  export declare enum InterpretTextCategories {
14
25
  ALL = "ALL",
@@ -18,15 +29,30 @@ export declare enum InterpretTextCategories {
18
29
  SYNTAX = "SYNTAX",
19
30
  KEY_PHRASES = "KEY_PHRASES"
20
31
  }
32
+ /**
33
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
34
+ * See the migration guide:
35
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
36
+ */
21
37
  export interface InterpretTextInput {
22
38
  text: InterpretTextInputLanguage | InterpretTextOthers | InterpretTextAll;
23
39
  }
40
+ /**
41
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
42
+ * See the migration guide:
43
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
44
+ */
24
45
  export interface InterpretTextInputLanguage {
25
46
  source: {
26
47
  text: string;
27
48
  };
28
49
  type: InterpretTextCategories.LANGUAGE;
29
50
  }
51
+ /**
52
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
53
+ * See the migration guide:
54
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
55
+ */
30
56
  export interface InterpretTextOthers {
31
57
  source: {
32
58
  text: string;
@@ -34,23 +60,48 @@ export interface InterpretTextOthers {
34
60
  };
35
61
  type: InterpretTextCategories.ENTITIES | InterpretTextCategories.SENTIMENT | InterpretTextCategories.SYNTAX | InterpretTextCategories.KEY_PHRASES;
36
62
  }
63
+ /**
64
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
65
+ * See the migration guide:
66
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
67
+ */
37
68
  export interface InterpretTextAll {
38
69
  source: {
39
70
  text: string;
40
71
  };
41
72
  type: InterpretTextCategories.ALL;
42
73
  }
74
+ /**
75
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
76
+ * See the migration guide:
77
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
78
+ */
43
79
  export interface TextEntities {
44
80
  type: string;
45
81
  text: string;
46
82
  }
83
+ /**
84
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
85
+ * See the migration guide:
86
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
87
+ */
47
88
  export interface KeyPhrases {
48
89
  text: string;
49
90
  }
91
+ /**
92
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
93
+ * See the migration guide:
94
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
95
+ */
50
96
  export interface TextSyntax {
51
97
  text: string;
52
98
  syntax: string;
53
99
  }
100
+ /**
101
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
102
+ * See the migration guide:
103
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
104
+ */
54
105
  export interface TextSentiment {
55
106
  predominant: string;
56
107
  positive: number;
@@ -58,6 +109,11 @@ export interface TextSentiment {
58
109
  neutral: number;
59
110
  mixed: number;
60
111
  }
112
+ /**
113
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
114
+ * See the migration guide:
115
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
116
+ */
61
117
  export interface InterpretTextOutput {
62
118
  textInterpretation: {
63
119
  language?: string;
@@ -67,6 +123,11 @@ export interface InterpretTextOutput {
67
123
  syntax?: Array<TextSyntax>;
68
124
  };
69
125
  }
126
+ /**
127
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
128
+ * See the migration guide:
129
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
130
+ */
70
131
  export interface TranslateTextInput {
71
132
  translateText: {
72
133
  source: {
@@ -76,10 +137,20 @@ export interface TranslateTextInput {
76
137
  targetLanguage?: string;
77
138
  };
78
139
  }
140
+ /**
141
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
142
+ * See the migration guide:
143
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
144
+ */
79
145
  export interface TranslateTextOutput {
80
146
  text: string;
81
147
  language: string;
82
148
  }
149
+ /**
150
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
151
+ * See the migration guide:
152
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
153
+ */
83
154
  export interface TextToSpeechInput {
84
155
  textToSpeech: {
85
156
  source: {
@@ -89,6 +160,11 @@ export interface TextToSpeechInput {
89
160
  voiceId?: string;
90
161
  };
91
162
  }
163
+ /**
164
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
165
+ * See the migration guide:
166
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
167
+ */
92
168
  export interface TextToSpeechOutput {
93
169
  speech: {
94
170
  url: string;
@@ -96,56 +172,116 @@ export interface TextToSpeechOutput {
96
172
  audioStream: Buffer;
97
173
  text: string;
98
174
  }
175
+ /**
176
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
177
+ * See the migration guide:
178
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
179
+ */
99
180
  export interface StorageSource {
100
181
  key: string;
101
182
  level?: 'public' | 'private' | 'protected';
102
183
  identityId?: string;
103
184
  }
185
+ /**
186
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
187
+ * See the migration guide:
188
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
189
+ */
104
190
  export interface FileSource {
105
191
  file: File;
106
192
  }
193
+ /**
194
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
195
+ * See the migration guide:
196
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
197
+ */
107
198
  export interface BytesSource {
108
199
  bytes: Buffer | ArrayBuffer | Blob | string;
109
200
  }
201
+ /**
202
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
203
+ * See the migration guide:
204
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
205
+ */
110
206
  export interface SpeechToTextInput {
111
207
  transcription: {
112
208
  source: BytesSource;
113
209
  language?: string;
114
210
  };
115
211
  }
212
+ /**
213
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
214
+ * See the migration guide:
215
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
216
+ */
116
217
  export interface SpeechToTextOutput {
117
218
  transcription: {
118
219
  fullText: string;
119
220
  };
120
221
  }
222
+ /**
223
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
224
+ * See the migration guide:
225
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
226
+ */
121
227
  export type IdentifySource = StorageSource | FileSource | BytesSource;
228
+ /**
229
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
230
+ * See the migration guide:
231
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
232
+ */
122
233
  export interface IdentifyTextInput {
123
234
  text: {
124
235
  source: IdentifySource;
125
236
  format?: 'PLAIN' | 'FORM' | 'TABLE' | 'ALL';
126
237
  };
127
238
  }
239
+ /**
240
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
241
+ * See the migration guide:
242
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
243
+ */
128
244
  export interface Word {
129
245
  text?: string;
130
246
  polygon?: Polygon;
131
247
  boundingBox?: BoundingBox;
132
248
  }
249
+ /**
250
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
251
+ * See the migration guide:
252
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
253
+ */
133
254
  export interface LineDetailed {
134
255
  text?: string;
135
256
  polygon?: Polygon;
136
257
  boundingBox?: BoundingBox;
137
258
  page?: number;
138
259
  }
260
+ /**
261
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
262
+ * See the migration guide:
263
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
264
+ */
139
265
  export interface Content {
140
266
  text?: string;
141
267
  selected?: boolean;
142
268
  }
269
+ /**
270
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
271
+ * See the migration guide:
272
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
273
+ */
143
274
  export interface TableCell extends Content {
144
275
  boundingBox?: BoundingBox;
145
276
  polygon?: Polygon;
146
277
  rowSpan?: Number;
147
278
  columnSpan?: Number;
148
279
  }
280
+ /**
281
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
282
+ * See the migration guide:
283
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
284
+ */
149
285
  export interface Table {
150
286
  size: {
151
287
  rows: number;
@@ -155,12 +291,22 @@ export interface Table {
155
291
  polygon: Polygon;
156
292
  boundingBox: BoundingBox;
157
293
  }
294
+ /**
295
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
296
+ * See the migration guide:
297
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
298
+ */
158
299
  export interface KeyValue {
159
300
  key: string;
160
301
  value: Content;
161
302
  polygon: Polygon;
162
303
  boundingBox: BoundingBox;
163
304
  }
305
+ /**
306
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
307
+ * See the migration guide:
308
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
309
+ */
164
310
  export interface IdentifyTextOutput {
165
311
  text: {
166
312
  fullText: string;
@@ -176,23 +322,48 @@ export interface IdentifyTextOutput {
176
322
  }[];
177
323
  };
178
324
  }
325
+ /**
326
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
327
+ * See the migration guide:
328
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
329
+ */
179
330
  export interface IdentifyLabelsInput {
180
331
  labels: {
181
332
  source: IdentifySource;
182
333
  type: 'LABELS' | 'UNSAFE' | 'ALL';
183
334
  };
184
335
  }
336
+ /**
337
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
338
+ * See the migration guide:
339
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
340
+ */
185
341
  export interface Point {
186
342
  x?: Number;
187
343
  y?: Number;
188
344
  }
345
+ /**
346
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
347
+ * See the migration guide:
348
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
349
+ */
189
350
  export type Polygon = Array<Point> | Iterable<Point>;
351
+ /**
352
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
353
+ * See the migration guide:
354
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
355
+ */
190
356
  export interface BoundingBox {
191
357
  width?: Number;
192
358
  height?: Number;
193
359
  left?: Number;
194
360
  top?: Number;
195
361
  }
362
+ /**
363
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
364
+ * See the migration guide:
365
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
366
+ */
196
367
  export interface IdentifyLabelsOutput {
197
368
  labels?: {
198
369
  name: string;
@@ -201,22 +372,47 @@ export interface IdentifyLabelsOutput {
201
372
  }[];
202
373
  unsafe?: 'YES' | 'NO' | 'UNKNOWN';
203
374
  }
375
+ /**
376
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
377
+ * See the migration guide:
378
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
379
+ */
204
380
  export interface IdentifyEntitiesInput {
205
381
  entities: IdentifyFromCollection | IdentifyCelebrities | IdentifyEntities;
206
382
  }
383
+ /**
384
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
385
+ * See the migration guide:
386
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
387
+ */
207
388
  export interface IdentifyFromCollection {
208
389
  source: IdentifySource;
209
390
  collection: true;
210
391
  collectionId?: string;
211
392
  maxEntities?: number;
212
393
  }
394
+ /**
395
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
396
+ * See the migration guide:
397
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
398
+ */
213
399
  export interface IdentifyCelebrities {
214
400
  source: IdentifySource;
215
401
  celebrityDetection: true;
216
402
  }
403
+ /**
404
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
405
+ * See the migration guide:
406
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
407
+ */
217
408
  export interface IdentifyEntities {
218
409
  source: IdentifySource;
219
410
  }
411
+ /**
412
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
413
+ * See the migration guide:
414
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
415
+ */
220
416
  export interface FaceAttributes {
221
417
  smile?: boolean;
222
418
  eyeglasses?: boolean;
@@ -228,6 +424,11 @@ export interface FaceAttributes {
228
424
  mouthOpen?: boolean;
229
425
  emotions?: string[];
230
426
  }
427
+ /**
428
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
429
+ * See the migration guide:
430
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
431
+ */
231
432
  export interface IdentifyEntitiesOutput {
232
433
  entities: {
233
434
  boundingBox?: BoundingBox;
@@ -244,18 +445,83 @@ export interface IdentifyEntitiesOutput {
244
445
  metadata?: object;
245
446
  }[];
246
447
  }
448
+ /**
449
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
450
+ * See the migration guide:
451
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
452
+ */
247
453
  export declare function isIdentifyFromCollection(obj: any): obj is IdentifyFromCollection;
454
+ /**
455
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
456
+ * See the migration guide:
457
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
458
+ */
248
459
  export declare function isIdentifyCelebrities(obj: any): obj is IdentifyCelebrities;
460
+ /**
461
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
462
+ * See the migration guide:
463
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
464
+ */
249
465
  export declare function isTranslateTextInput(obj: any): obj is TranslateTextInput;
466
+ /**
467
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
468
+ * See the migration guide:
469
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
470
+ */
250
471
  export declare function isTextToSpeechInput(obj: any): obj is TextToSpeechInput;
472
+ /**
473
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
474
+ * See the migration guide:
475
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
476
+ */
251
477
  export declare function isSpeechToTextInput(obj: any): obj is SpeechToTextInput;
478
+ /**
479
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
480
+ * See the migration guide:
481
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
482
+ */
252
483
  export declare function isStorageSource(obj: any): obj is StorageSource;
484
+ /**
485
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
486
+ * See the migration guide:
487
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
488
+ */
253
489
  export declare function isFileSource(obj: any): obj is FileSource;
490
+ /**
491
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
492
+ * See the migration guide:
493
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
494
+ */
254
495
  export declare function isBytesSource(obj: any): obj is BytesSource;
496
+ /**
497
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
498
+ * See the migration guide:
499
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
500
+ */
255
501
  export declare function isIdentifyTextInput(obj: any): obj is IdentifyTextInput;
502
+ /**
503
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
504
+ * See the migration guide:
505
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
506
+ */
256
507
  export declare function isIdentifyLabelsInput(obj: any): obj is IdentifyLabelsInput;
508
+ /**
509
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
510
+ * See the migration guide:
511
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
512
+ */
257
513
  export declare function isIdentifyEntitiesInput(obj: any): obj is IdentifyEntitiesInput;
514
+ /**
515
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
516
+ * See the migration guide:
517
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
518
+ */
258
519
  export declare function isInterpretTextInput(obj: any): obj is InterpretTextInput;
520
+ /**
521
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
522
+ * See the migration guide:
523
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
524
+ */
259
525
  export interface Geometry {
260
526
  /**
261
527
  * <p>An axis-aligned coarse representation of the detected text's location on the image.</p>
@@ -266,6 +532,11 @@ export interface Geometry {
266
532
  */
267
533
  Polygon?: Array<Point> | Iterable<Point>;
268
534
  }
535
+ /**
536
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
537
+ * See the migration guide:
538
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
539
+ */
269
540
  export interface Relationship {
270
541
  /**
271
542
  * <p>The type of relationship that the blocks in the IDs array have with the current block. The relationship can be <code>VALUE</code> or <code>CHILD</code>.</p>
@@ -276,5 +547,15 @@ export interface Relationship {
276
547
  */
277
548
  Ids?: Array<string> | Iterable<string>;
278
549
  }
550
+ /**
551
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
552
+ * See the migration guide:
553
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
554
+ */
279
555
  export type FeatureType = 'TABLES' | 'FORMS' | string;
556
+ /**
557
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
558
+ * See the migration guide:
559
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
560
+ */
280
561
  export type FeatureTypes = FeatureType[];
@@ -18,6 +18,9 @@ exports.isIdentifyEntitiesInput = isIdentifyEntitiesInput;
18
18
  exports.isInterpretTextInput = isInterpretTextInput;
19
19
  /**
20
20
  * Convert types
21
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
22
+ * See the migration guide:
23
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
21
24
  */
22
25
  var InterpretTextCategories;
23
26
  (function (InterpretTextCategories) {
@@ -28,51 +31,111 @@ var InterpretTextCategories;
28
31
  InterpretTextCategories["SYNTAX"] = "SYNTAX";
29
32
  InterpretTextCategories["KEY_PHRASES"] = "KEY_PHRASES";
30
33
  })(InterpretTextCategories || (exports.InterpretTextCategories = InterpretTextCategories = {}));
34
+ /**
35
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
36
+ * See the migration guide:
37
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
38
+ */
31
39
  function isIdentifyFromCollection(obj) {
32
40
  var key = 'collection';
33
41
  var keyId = 'collectionId';
34
42
  return obj && (obj.hasOwnProperty(key) || obj.hasOwnProperty(keyId));
35
43
  }
44
+ /**
45
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
46
+ * See the migration guide:
47
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
48
+ */
36
49
  function isIdentifyCelebrities(obj) {
37
50
  var key = 'celebrityDetection';
38
51
  return obj && obj.hasOwnProperty(key);
39
52
  }
53
+ /**
54
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
55
+ * See the migration guide:
56
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
57
+ */
40
58
  function isTranslateTextInput(obj) {
41
59
  var key = 'translateText';
42
60
  return obj && obj.hasOwnProperty(key);
43
61
  }
62
+ /**
63
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
64
+ * See the migration guide:
65
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
66
+ */
44
67
  function isTextToSpeechInput(obj) {
45
68
  var key = 'textToSpeech';
46
69
  return obj && obj.hasOwnProperty(key);
47
70
  }
71
+ /**
72
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
73
+ * See the migration guide:
74
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
75
+ */
48
76
  function isSpeechToTextInput(obj) {
49
77
  var key = 'transcription';
50
78
  return obj && obj.hasOwnProperty(key);
51
79
  }
80
+ /**
81
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
82
+ * See the migration guide:
83
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
84
+ */
52
85
  function isStorageSource(obj) {
53
86
  var key = 'key';
54
87
  return obj && obj.hasOwnProperty(key);
55
88
  }
89
+ /**
90
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
91
+ * See the migration guide:
92
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
93
+ */
56
94
  function isFileSource(obj) {
57
95
  var key = 'file';
58
96
  return obj && obj.hasOwnProperty(key);
59
97
  }
98
+ /**
99
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
100
+ * See the migration guide:
101
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
102
+ */
60
103
  function isBytesSource(obj) {
61
104
  var key = 'bytes';
62
105
  return obj && obj.hasOwnProperty(key);
63
106
  }
107
+ /**
108
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
109
+ * See the migration guide:
110
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
111
+ */
64
112
  function isIdentifyTextInput(obj) {
65
113
  var key = 'text';
66
114
  return obj && obj.hasOwnProperty(key);
67
115
  }
116
+ /**
117
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
118
+ * See the migration guide:
119
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
120
+ */
68
121
  function isIdentifyLabelsInput(obj) {
69
122
  var key = 'labels';
70
123
  return obj && obj.hasOwnProperty(key);
71
124
  }
125
+ /**
126
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
127
+ * See the migration guide:
128
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
129
+ */
72
130
  function isIdentifyEntitiesInput(obj) {
73
131
  var key = 'entities';
74
132
  return obj && obj.hasOwnProperty(key);
75
133
  }
134
+ /**
135
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
136
+ * See the migration guide:
137
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
138
+ */
76
139
  function isInterpretTextInput(obj) {
77
140
  var key = 'text';
78
141
  return obj && obj.hasOwnProperty(key);
@@ -1 +1 @@
1
- {"version":3,"file":"Predictions.js","sourceRoot":"","sources":["../../src/types/Predictions.ts"],"names":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ionsClass {
46
46
  private implementsIdentifyPluggable;
47
47
  private implementsInterpretPluggable;
48
48
  }
49
+ /**
50
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
51
+ * See the migration guide:
52
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
53
+ */
49
54
  export declare const Predictions: PredictionsClass;
@@ -130,6 +130,11 @@ var PredictionsClass = /** @class */ (function () {
130
130
  return PredictionsClass;
131
131
  }());
132
132
  export { PredictionsClass };
133
+ /**
134
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
135
+ * See the migration guide:
136
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
137
+ */
133
138
  export var Predictions = new PredictionsClass({});
134
139
  Amplify.register(Predictions);
135
140
  //# sourceMappingURL=Predictions.js.map