Skip to content

Commit 3ce21b6

Browse files
committed
Model discriminator corrected
1 parent 15dea74 commit 3ce21b6

File tree

172 files changed

+80
-629
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+80
-629
lines changed

src/model/ai-bcr-image-storage-file.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export class AiBcrImageStorageFile extends model.AiBcrImage {
5252
* Image location
5353
*/
5454
public file: model.StorageFileLocation;
55-
5655

5756
/**
5857
* Image from storage for recognition

src/model/ai-bcr-image.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export class AiBcrImage {
5252
* Determines that image contains single VCard or more.
5353
*/
5454
public isSingle: boolean;
55-
5655

5756
/**
5857
* Image for recognition

src/model/ai-bcr-options.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,10 @@ export class AiBcrOptions {
5757
* Comma-separated ISO-639 codes of languages (either 639-1 or 639-3; i.e. \"it\" or \"ita\" for Italian); it's \"\" by default.
5858
*/
5959
public languages: string;
60-
6160
/**
6261
* Comma-separated codes of countries.
6362
*/
6463
public countries: string;
65-
6664

6765
/**
6866
* Recognition options.

src/model/ai-bcr-parse-storage-request.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,14 @@ export class AiBcrParseStorageRequest {
6262
* Parse output folder location on storage
6363
*/
6464
public outFolder: model.StorageFolderLocation;
65-
6665
/**
6766
* Images to parse.
6867
*/
6968
public images: Array< model.AiBcrImageStorageFile >;
70-
7169
/**
7270
* Recognition options.
7371
*/
7472
public options: model.AiBcrOptions;
75-
7673

7774
/**
7875
* Parse business card images from Storage request

src/model/ai-name-component.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,22 +67,18 @@ export class AiNameComponent {
6767
* Component value
6868
*/
6969
public value: string;
70-
7170
/**
7271
* Name component category. Enum, available values: Unknown, Mononym, Score, Format, FirstInitial, FirstName, MiddleInitial, MiddleName, MiddleNickname, MiddleSobriquet, MiddleMaidenName, MiddlePatronym, MiddleMatronym, LastInitial, LastName, LastNobiliaryParticle, LastNominalConjunction, LastPaternalSurname, LastMaternalSurname, PrefixTitle, PostfixGenerationalTitle, PostfixPostnominalLetters, ArabicIsm, ArabicKunya, ArabicNasab, ArabicSlaqab, ArabicNisbah
7372
*/
7473
public category: string;
75-
7674
/**
7775
* Score from 0.0 to 1.0
7876
*/
7977
public score: number;
80-
8178
/**
8279
* Component position from 0
8380
*/
8481
public position: number;
85-
8682

8783
/**
8884
* Parsed name component

src/model/ai-name-cultural-context.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,27 +72,22 @@ export class AiNameCulturalContext {
7272
* An ISO-639 code of the language; either 639-1 or 639-3 (e.g. \"it\" or \"ita\" for Italian)
7373
*/
7474
public language: string;
75-
7675
/**
7776
* A geographic code such as an ISO-3166 two letter country code, for example \"FR\" for France
7877
*/
7978
public location: string;
80-
8179
/**
8280
* A writing system code; starts with the ISO-15924 script name
8381
*/
8482
public script: string;
85-
8683
/**
8784
* A character encoding name
8885
*/
8986
public encoding: string;
90-
9187
/**
9288
* Name writing style. Enum, available values: Formal, Informal, Legal, Academic
9389
*/
9490
public style: string;
95-
9691

9792
/**
9893
* AiName cultural context

src/model/ai-name-extracted-component.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,10 @@ export class AiNameExtractedComponent {
5757
* Extracted from email address name component category. Enum, available values: Unknown, GivenName, Surname, SomeName, NoName, Initial
5858
*/
5959
public category: string;
60-
6160
/**
6261
* Extracted value
6362
*/
6463
public value: string;
65-
6664

6765
/**
6866
* Extracted name component

src/model/ai-name-extracted.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,10 @@ export class AiNameExtracted {
5757
* Extracted name components
5858
*/
5959
public name: Array< model.AiNameExtractedComponent >;
60-
6160
/**
6261
* Extracted name score
6362
*/
6463
public score: number;
65-
6664

6765
/**
6866
* Extracted name

src/model/ai-name-formatted.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,10 @@ export class AiNameFormatted {
5757
* Formatted name value
5858
*/
5959
public name: string;
60-
6160
/**
6261
* Usually empty; can contain extra message describing some issue occurred during the formatting
6362
*/
6463
public comments: string;
65-
6664

6765
/**
6866
* Formatted name

src/model/ai-name-gender-hypothesis.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,10 @@ export class AiNameGenderHypothesis {
5757
* Recognized name gender. Enum, available values: Male, Female, Unknown
5858
*/
5959
public gender: string;
60-
6160
/**
6261
* Hypothesis score
6362
*/
6463
public score: number;
65-
6664

6765
/**
6866
* Name gender hypothesis

0 commit comments

Comments
 (0)