@aws-sdk/client-voice-id 3.300.0 → 3.303.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 (34) hide show
  1. package/dist-cjs/models/models_0.js +86 -100
  2. package/dist-es/models/models_0.js +86 -100
  3. package/dist-types/commands/AssociateFraudsterCommand.d.ts +1 -1
  4. package/dist-types/commands/CreateDomainCommand.d.ts +4 -4
  5. package/dist-types/commands/CreateWatchlistCommand.d.ts +1 -1
  6. package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
  7. package/dist-types/commands/DeleteFraudsterCommand.d.ts +1 -1
  8. package/dist-types/commands/DeleteSpeakerCommand.d.ts +1 -1
  9. package/dist-types/commands/DeleteWatchlistCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  11. package/dist-types/commands/DescribeFraudsterCommand.d.ts +1 -1
  12. package/dist-types/commands/DescribeFraudsterRegistrationJobCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeSpeakerCommand.d.ts +1 -1
  14. package/dist-types/commands/DescribeSpeakerEnrollmentJobCommand.d.ts +1 -1
  15. package/dist-types/commands/DescribeWatchlistCommand.d.ts +1 -1
  16. package/dist-types/commands/DisassociateFraudsterCommand.d.ts +1 -1
  17. package/dist-types/commands/EvaluateSessionCommand.d.ts +1 -1
  18. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  19. package/dist-types/commands/ListFraudsterRegistrationJobsCommand.d.ts +1 -1
  20. package/dist-types/commands/ListFraudstersCommand.d.ts +1 -1
  21. package/dist-types/commands/ListSpeakerEnrollmentJobsCommand.d.ts +1 -1
  22. package/dist-types/commands/ListSpeakersCommand.d.ts +1 -1
  23. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/ListWatchlistsCommand.d.ts +1 -1
  25. package/dist-types/commands/OptOutSpeakerCommand.d.ts +1 -1
  26. package/dist-types/commands/StartFraudsterRegistrationJobCommand.d.ts +5 -5
  27. package/dist-types/commands/StartSpeakerEnrollmentJobCommand.d.ts +6 -6
  28. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  29. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  30. package/dist-types/commands/UpdateDomainCommand.d.ts +2 -2
  31. package/dist-types/commands/UpdateWatchlistCommand.d.ts +1 -1
  32. package/dist-types/models/models_0.d.ts +156 -86
  33. package/dist-types/ts3.4/models/models_0.d.ts +110 -86
  34. package/package.json +34 -34
@@ -22,18 +22,19 @@ export interface Fraudster {
22
22
  export interface AssociateFraudsterResponse {
23
23
  Fraudster?: Fraudster;
24
24
  }
25
- export declare enum ConflictType {
26
- ANOTHER_ACTIVE_STREAM = "ANOTHER_ACTIVE_STREAM",
27
- CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT = "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT",
28
- CANNOT_DELETE_NON_EMPTY_WATCHLIST = "CANNOT_DELETE_NON_EMPTY_WATCHLIST",
29
- CONCURRENT_CHANGES = "CONCURRENT_CHANGES",
30
- DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES = "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES",
31
- DOMAIN_NOT_ACTIVE = "DOMAIN_NOT_ACTIVE",
32
- ENROLLMENT_ALREADY_EXISTS = "ENROLLMENT_ALREADY_EXISTS",
33
- FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST = "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST",
34
- SPEAKER_NOT_SET = "SPEAKER_NOT_SET",
35
- SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT",
36
- }
25
+ export declare const ConflictType: {
26
+ readonly ANOTHER_ACTIVE_STREAM: "ANOTHER_ACTIVE_STREAM";
27
+ readonly CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT: "CANNOT_CHANGE_SPEAKER_AFTER_ENROLLMENT";
28
+ readonly CANNOT_DELETE_NON_EMPTY_WATCHLIST: "CANNOT_DELETE_NON_EMPTY_WATCHLIST";
29
+ readonly CONCURRENT_CHANGES: "CONCURRENT_CHANGES";
30
+ readonly DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES: "DOMAIN_LOCKED_FROM_ENCRYPTION_UPDATES";
31
+ readonly DOMAIN_NOT_ACTIVE: "DOMAIN_NOT_ACTIVE";
32
+ readonly ENROLLMENT_ALREADY_EXISTS: "ENROLLMENT_ALREADY_EXISTS";
33
+ readonly FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST: "FRAUDSTER_MUST_BELONG_TO_AT_LEAST_ONE_WATCHLIST";
34
+ readonly SPEAKER_NOT_SET: "SPEAKER_NOT_SET";
35
+ readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
36
+ };
37
+ export type ConflictType = (typeof ConflictType)[keyof typeof ConflictType];
37
38
  export declare class ConflictException extends __BaseException {
38
39
  readonly name: "ConflictException";
39
40
  readonly $fault: "client";
@@ -49,15 +50,16 @@ export declare class InternalServerException extends __BaseException {
49
50
  opts: __ExceptionOptionType<InternalServerException, __BaseException>
50
51
  );
51
52
  }
52
- export declare enum ResourceType {
53
- BATCH_JOB = "BATCH_JOB",
54
- COMPLIANCE_CONSENT = "COMPLIANCE_CONSENT",
55
- DOMAIN = "DOMAIN",
56
- FRAUDSTER = "FRAUDSTER",
57
- SESSION = "SESSION",
58
- SPEAKER = "SPEAKER",
59
- WATCHLIST = "WATCHLIST",
60
- }
53
+ export declare const ResourceType: {
54
+ readonly BATCH_JOB: "BATCH_JOB";
55
+ readonly COMPLIANCE_CONSENT: "COMPLIANCE_CONSENT";
56
+ readonly DOMAIN: "DOMAIN";
57
+ readonly FRAUDSTER: "FRAUDSTER";
58
+ readonly SESSION: "SESSION";
59
+ readonly SPEAKER: "SPEAKER";
60
+ readonly WATCHLIST: "WATCHLIST";
61
+ };
62
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
61
63
  export declare class ResourceNotFoundException extends __BaseException {
62
64
  readonly name: "ResourceNotFoundException";
63
65
  readonly $fault: "client";
@@ -94,15 +96,17 @@ export declare class ValidationException extends __BaseException {
94
96
  export interface AuthenticationConfiguration {
95
97
  AcceptanceThreshold: number | undefined;
96
98
  }
97
- export declare enum AuthenticationDecision {
98
- ACCEPT = "ACCEPT",
99
- NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH",
100
- REJECT = "REJECT",
101
- SPEAKER_EXPIRED = "SPEAKER_EXPIRED",
102
- SPEAKER_ID_NOT_PROVIDED = "SPEAKER_ID_NOT_PROVIDED",
103
- SPEAKER_NOT_ENROLLED = "SPEAKER_NOT_ENROLLED",
104
- SPEAKER_OPTED_OUT = "SPEAKER_OPTED_OUT",
105
- }
99
+ export declare const AuthenticationDecision: {
100
+ readonly ACCEPT: "ACCEPT";
101
+ readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
102
+ readonly REJECT: "REJECT";
103
+ readonly SPEAKER_EXPIRED: "SPEAKER_EXPIRED";
104
+ readonly SPEAKER_ID_NOT_PROVIDED: "SPEAKER_ID_NOT_PROVIDED";
105
+ readonly SPEAKER_NOT_ENROLLED: "SPEAKER_NOT_ENROLLED";
106
+ readonly SPEAKER_OPTED_OUT: "SPEAKER_OPTED_OUT";
107
+ };
108
+ export type AuthenticationDecision =
109
+ (typeof AuthenticationDecision)[keyof typeof AuthenticationDecision];
106
110
  export interface AuthenticationResult {
107
111
  AuthenticationResultId?: string;
108
112
  AudioAggregationStartedAt?: Date;
@@ -129,16 +133,19 @@ export interface CreateDomainRequest {
129
133
  ClientToken?: string;
130
134
  Tags?: Tag[];
131
135
  }
132
- export declare enum DomainStatus {
133
- ACTIVE = "ACTIVE",
134
- PENDING = "PENDING",
135
- SUSPENDED = "SUSPENDED",
136
- }
137
- export declare enum ServerSideEncryptionUpdateStatus {
138
- COMPLETED = "COMPLETED",
139
- FAILED = "FAILED",
140
- IN_PROGRESS = "IN_PROGRESS",
141
- }
136
+ export declare const DomainStatus: {
137
+ readonly ACTIVE: "ACTIVE";
138
+ readonly PENDING: "PENDING";
139
+ readonly SUSPENDED: "SUSPENDED";
140
+ };
141
+ export type DomainStatus = (typeof DomainStatus)[keyof typeof DomainStatus];
142
+ export declare const ServerSideEncryptionUpdateStatus: {
143
+ readonly COMPLETED: "COMPLETED";
144
+ readonly FAILED: "FAILED";
145
+ readonly IN_PROGRESS: "IN_PROGRESS";
146
+ };
147
+ export type ServerSideEncryptionUpdateStatus =
148
+ (typeof ServerSideEncryptionUpdateStatus)[keyof typeof ServerSideEncryptionUpdateStatus];
142
149
  export interface ServerSideEncryptionUpdateDetails {
143
150
  OldKmsKeyId?: string;
144
151
  UpdateStatus?: ServerSideEncryptionUpdateStatus | string;
@@ -222,21 +229,25 @@ export interface InputDataConfig {
222
229
  export interface JobProgress {
223
230
  PercentComplete?: number;
224
231
  }
225
- export declare enum FraudsterRegistrationJobStatus {
226
- COMPLETED = "COMPLETED",
227
- COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
228
- FAILED = "FAILED",
229
- IN_PROGRESS = "IN_PROGRESS",
230
- SUBMITTED = "SUBMITTED",
231
- }
232
+ export declare const FraudsterRegistrationJobStatus: {
233
+ readonly COMPLETED: "COMPLETED";
234
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
235
+ readonly FAILED: "FAILED";
236
+ readonly IN_PROGRESS: "IN_PROGRESS";
237
+ readonly SUBMITTED: "SUBMITTED";
238
+ };
239
+ export type FraudsterRegistrationJobStatus =
240
+ (typeof FraudsterRegistrationJobStatus)[keyof typeof FraudsterRegistrationJobStatus];
232
241
  export interface OutputDataConfig {
233
242
  S3Uri: string | undefined;
234
243
  KmsKeyId?: string;
235
244
  }
236
- export declare enum DuplicateRegistrationAction {
237
- REGISTER_AS_NEW = "REGISTER_AS_NEW",
238
- SKIP = "SKIP",
239
- }
245
+ export declare const DuplicateRegistrationAction: {
246
+ readonly REGISTER_AS_NEW: "REGISTER_AS_NEW";
247
+ readonly SKIP: "SKIP";
248
+ };
249
+ export type DuplicateRegistrationAction =
250
+ (typeof DuplicateRegistrationAction)[keyof typeof DuplicateRegistrationAction];
240
251
  export interface RegistrationConfig {
241
252
  DuplicateRegistrationAction?: DuplicateRegistrationAction | string;
242
253
  FraudsterSimilarityThreshold?: number;
@@ -263,12 +274,13 @@ export interface DescribeSpeakerRequest {
263
274
  DomainId: string | undefined;
264
275
  SpeakerId: string | undefined;
265
276
  }
266
- export declare enum SpeakerStatus {
267
- ENROLLED = "ENROLLED",
268
- EXPIRED = "EXPIRED",
269
- OPTED_OUT = "OPTED_OUT",
270
- PENDING = "PENDING",
271
- }
277
+ export declare const SpeakerStatus: {
278
+ readonly ENROLLED: "ENROLLED";
279
+ readonly EXPIRED: "EXPIRED";
280
+ readonly OPTED_OUT: "OPTED_OUT";
281
+ readonly PENDING: "PENDING";
282
+ };
283
+ export type SpeakerStatus = (typeof SpeakerStatus)[keyof typeof SpeakerStatus];
272
284
  export interface Speaker {
273
285
  DomainId?: string;
274
286
  CustomerSpeakerId?: string;
@@ -285,14 +297,18 @@ export interface DescribeSpeakerEnrollmentJobRequest {
285
297
  DomainId: string | undefined;
286
298
  JobId: string | undefined;
287
299
  }
288
- export declare enum ExistingEnrollmentAction {
289
- OVERWRITE = "OVERWRITE",
290
- SKIP = "SKIP",
291
- }
292
- export declare enum FraudDetectionAction {
293
- FAIL = "FAIL",
294
- IGNORE = "IGNORE",
295
- }
300
+ export declare const ExistingEnrollmentAction: {
301
+ readonly OVERWRITE: "OVERWRITE";
302
+ readonly SKIP: "SKIP";
303
+ };
304
+ export type ExistingEnrollmentAction =
305
+ (typeof ExistingEnrollmentAction)[keyof typeof ExistingEnrollmentAction];
306
+ export declare const FraudDetectionAction: {
307
+ readonly FAIL: "FAIL";
308
+ readonly IGNORE: "IGNORE";
309
+ };
310
+ export type FraudDetectionAction =
311
+ (typeof FraudDetectionAction)[keyof typeof FraudDetectionAction];
296
312
  export interface EnrollmentJobFraudDetectionConfig {
297
313
  FraudDetectionAction?: FraudDetectionAction | string;
298
314
  RiskThreshold?: number;
@@ -302,13 +318,15 @@ export interface EnrollmentConfig {
302
318
  ExistingEnrollmentAction?: ExistingEnrollmentAction | string;
303
319
  FraudDetectionConfig?: EnrollmentJobFraudDetectionConfig;
304
320
  }
305
- export declare enum SpeakerEnrollmentJobStatus {
306
- COMPLETED = "COMPLETED",
307
- COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
308
- FAILED = "FAILED",
309
- IN_PROGRESS = "IN_PROGRESS",
310
- SUBMITTED = "SUBMITTED",
311
- }
321
+ export declare const SpeakerEnrollmentJobStatus: {
322
+ readonly COMPLETED: "COMPLETED";
323
+ readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
324
+ readonly FAILED: "FAILED";
325
+ readonly IN_PROGRESS: "IN_PROGRESS";
326
+ readonly SUBMITTED: "SUBMITTED";
327
+ };
328
+ export type SpeakerEnrollmentJobStatus =
329
+ (typeof SpeakerEnrollmentJobStatus)[keyof typeof SpeakerEnrollmentJobStatus];
312
330
  export interface SpeakerEnrollmentJob {
313
331
  JobName?: string;
314
332
  JobId?: string;
@@ -380,15 +398,19 @@ export interface FraudDetectionConfiguration {
380
398
  RiskThreshold?: number;
381
399
  WatchlistId?: string;
382
400
  }
383
- export declare enum FraudDetectionDecision {
384
- HIGH_RISK = "HIGH_RISK",
385
- LOW_RISK = "LOW_RISK",
386
- NOT_ENOUGH_SPEECH = "NOT_ENOUGH_SPEECH",
387
- }
388
- export declare enum FraudDetectionReason {
389
- KNOWN_FRAUDSTER = "KNOWN_FRAUDSTER",
390
- VOICE_SPOOFING = "VOICE_SPOOFING",
391
- }
401
+ export declare const FraudDetectionDecision: {
402
+ readonly HIGH_RISK: "HIGH_RISK";
403
+ readonly LOW_RISK: "LOW_RISK";
404
+ readonly NOT_ENOUGH_SPEECH: "NOT_ENOUGH_SPEECH";
405
+ };
406
+ export type FraudDetectionDecision =
407
+ (typeof FraudDetectionDecision)[keyof typeof FraudDetectionDecision];
408
+ export declare const FraudDetectionReason: {
409
+ readonly KNOWN_FRAUDSTER: "KNOWN_FRAUDSTER";
410
+ readonly VOICE_SPOOFING: "VOICE_SPOOFING";
411
+ };
412
+ export type FraudDetectionReason =
413
+ (typeof FraudDetectionReason)[keyof typeof FraudDetectionReason];
392
414
  export interface KnownFraudsterRisk {
393
415
  RiskScore: number | undefined;
394
416
  GeneratedFraudsterId?: string;
@@ -409,11 +431,13 @@ export interface FraudDetectionResult {
409
431
  Reasons?: (FraudDetectionReason | string)[];
410
432
  RiskDetails?: FraudRiskDetails;
411
433
  }
412
- export declare enum StreamingStatus {
413
- ENDED = "ENDED",
414
- ONGOING = "ONGOING",
415
- PENDING_CONFIGURATION = "PENDING_CONFIGURATION",
416
- }
434
+ export declare const StreamingStatus: {
435
+ readonly ENDED: "ENDED";
436
+ readonly ONGOING: "ONGOING";
437
+ readonly PENDING_CONFIGURATION: "PENDING_CONFIGURATION";
438
+ };
439
+ export type StreamingStatus =
440
+ (typeof StreamingStatus)[keyof typeof StreamingStatus];
417
441
  export interface EvaluateSessionResponse {
418
442
  DomainId?: string;
419
443
  SessionId?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-voice-id",
3
3
  "description": "AWS SDK for JavaScript Voice Id Client for Node.js, Browser and React Native",
4
- "version": "3.300.0",
4
+ "version": "3.303.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,43 +21,43 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0",
57
57
  "uuid": "^8.3.2"
58
58
  },
59
59
  "devDependencies": {
60
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
60
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
61
61
  "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^14.14.31",
63
63
  "@types/uuid": "^8.3.0",