Skip to content

Commit 35be020

Browse files
committed
SDK version 19.12.0 generated
1 parent 72f4cc8 commit 35be020

File tree

10 files changed

+5
-271
lines changed

10 files changed

+5
-271
lines changed

doc/AiBcrImage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**isSingle** | **boolean** | Determines that image contains single VCard or more | [default to undefined]
7+
**isSingle** | **boolean** | Determines that image contains single VCard or more. Ignored in current version. Multiple cards on image support will be added soon | [default to undefined]
88

99

1010

doc/AiBcrParseOcrDataRq.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/AiBcrParseOcrDataStorageRq.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

doc/EmailAccountRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
**host** | **string** | Email account host | [default to undefined]
88
**port** | **number** | Email account port | [default to undefined]
99
**login** | **string** | Email account login | [default to undefined]
10-
**securityOptions** | **string** | Security mode for a mail client Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto | [default to undefined]
10+
**securityOptions** | **string** | Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto | [default to undefined]
1111
**protocolType** | **string** | Type of connection protocol. Enum, available values: IMAP, POP3, SMTP, EWS, WebDav | [default to undefined]
1212
**description** | **string** | Email account description | [optional] [default to undefined]
1313
**storageFile** | [**StorageFileLocation**](StorageFileLocation.md) | A storage file location info to store email account | [default to undefined]

doc/EmailApi.md

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -194,56 +194,6 @@ Name | Type | Description | Notes
194194

195195
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
196196

197-
<a name="aibcrparseocrdata"></a>
198-
# **aiBcrParseOcrData**
199-
200-
```typescript
201-
public async aiBcrParseOcrData(requestObj: AiBcrParseOcrDataRequest) : Promise<{response: RequestResponse, body: ListResponseOfHierarchicalObject; }>
202-
```
203-
204-
Parse OCR data to vCard properties
205-
206-
### Return type
207-
208-
`Promise<{response: RequestResponse, body: ListResponseOfHierarchicalObject; }>`
209-
210-
### Request Parameters
211-
```typescript
212-
new AiBcrParseOcrDataRequest(
213-
rq)
214-
```
215-
216-
Name | Type | Description | Notes
217-
------------- | ------------- | ------------- | -------------
218-
**rq** | [**AiBcrParseOcrDataRq**](AiBcrParseOcrDataRq.md)| |
219-
220-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
221-
222-
<a name="aibcrparseocrdatastorage"></a>
223-
# **aiBcrParseOcrDataStorage**
224-
225-
```typescript
226-
public async aiBcrParseOcrDataStorage(requestObj: AiBcrParseOcrDataStorageRequest) : Promise<{response: RequestResponse, body: ListResponseOfStorageFileLocation; }>
227-
```
228-
229-
Parse vCards from OCR data and save them to Storage
230-
231-
### Return type
232-
233-
`Promise<{response: RequestResponse, body: ListResponseOfStorageFileLocation; }>`
234-
235-
### Request Parameters
236-
```typescript
237-
new AiBcrParseOcrDataStorageRequest(
238-
rq)
239-
```
240-
241-
Name | Type | Description | Notes
242-
------------- | ------------- | ------------- | -------------
243-
**rq** | [**AiBcrParseOcrDataStorageRq**](AiBcrParseOcrDataStorageRq.md)| |
244-
245-
[[Back to top]](#) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to Model list]](README.md#documentation-for-models) [[Back to README]](README.md)
246-
247197
<a name="aibcrparsestorage"></a>
248198
# **aiBcrParseStorage**
249199

doc/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ Class | Method | HTTP request | Description
1212
*EmailApi* | [**aiBcrOcr**](EmailApi.md#aibcrocr) | **POST** /email/AiBcr/ocr | Ocr images
1313
*EmailApi* | [**aiBcrOcrStorage**](EmailApi.md#aibcrocrstorage) | **POST** /email/AiBcr/ocr-storage | Ocr images from storage
1414
*EmailApi* | [**aiBcrParse**](EmailApi.md#aibcrparse) | **POST** /email/AiBcr/parse | Parse images to vCard properties
15-
*EmailApi* | [**aiBcrParseOcrData**](EmailApi.md#aibcrparseocrdata) | **POST** /email/AiBcr/parse-ocr-data | Parse OCR data to vCard properties
16-
*EmailApi* | [**aiBcrParseOcrDataStorage**](EmailApi.md#aibcrparseocrdatastorage) | **POST** /email/AiBcr/parse-ocr-data-storage | Parse vCards from OCR data and save them to Storage
1715
*EmailApi* | [**aiBcrParseStorage**](EmailApi.md#aibcrparsestorage) | **POST** /email/AiBcr/parse-storage | Parse images from storage to vCard files
1816
*EmailApi* | [**aiNameComplete**](EmailApi.md#ainamecomplete) | **GET** /email/AiName/complete | The call proposes k most probable names for given starting characters
1917
*EmailApi* | [**aiNameExpand**](EmailApi.md#ainameexpand) | **GET** /email/AiName/expand | Expands a person&#39;s name into a list of possible alternatives using options for expanding instructions
@@ -137,7 +135,6 @@ Class | Method | HTTP request | Description
137135
- [AiBcrBase64Image](AiBcrBase64Image.md)
138136
- [AiBcrBase64Rq](AiBcrBase64Rq.md)
139137
- [AiBcrImageStorageFile](AiBcrImageStorageFile.md)
140-
- [AiBcrParseOcrDataRq](AiBcrParseOcrDataRq.md)
141138
- [AiBcrStorageImageRq](AiBcrStorageImageRq.md)
142139
- [AiNameParsedMatchRq](AiNameParsedMatchRq.md)
143140
- [AppendEmailAccountBaseRequest](AppendEmailAccountBaseRequest.md)
@@ -155,7 +152,6 @@ Class | Method | HTTP request | Description
155152
- [SendEmailMimeBaseRequest](SendEmailMimeBaseRequest.md)
156153
- [SetMessageReadFlagAccountBaseRequest](SetMessageReadFlagAccountBaseRequest.md)
157154
- [StorageFileLocation](StorageFileLocation.md)
158-
- [AiBcrParseOcrDataStorageRq](AiBcrParseOcrDataStorageRq.md)
159155
- [AiBcrParseStorageRq](AiBcrParseStorageRq.md)
160156
- [AppendEmailBaseRequest](AppendEmailBaseRequest.md)
161157
- [AppendEmailMimeBaseRequest](AppendEmailMimeBaseRequest.md)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asposecloud/aspose-email-cloud",
3-
"version": "19.11.1",
3+
"version": "19.12.0",
44
"description": "Aspose.Email Cloud Node.js SDK",
55
"homepage": "https://products.aspose.cloud/email",
66
"author": {

src/api.ts

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -381,86 +381,6 @@ export class EmailApi {
381381
return Promise.resolve({body: result, response});
382382
}
383383

384-
/**
385-
* Parse OCR data to vCard properties
386-
* @param requestObj contains request parameters
387-
*/
388-
public async aiBcrParseOcrData(requestObj: requestModels.AiBcrParseOcrDataRequest): Promise<{response: request.RequestResponse, body: model.ListResponseOfHierarchicalObject}> {
389-
const localVarPath = this.configuration.getApiBaseUrl() + "/email/AiBcr/parse-ocr-data";
390-
const queryParameters: any = {};
391-
const headerParams: any = {};
392-
const formParams: any = {};
393-
394-
// verify required parameter 'requestObj.rq' is not null or undefined
395-
if (requestObj.rq === null || requestObj.rq === undefined) {
396-
throw new Error('Required parameter "requestObj.rq" was null or undefined when calling aiBcrParseOcrData.');
397-
}
398-
399-
// tslint:disable-next-line:prefer-const
400-
let useFormData = false;
401-
402-
const requestOptions: request.Options = {
403-
method: "POST",
404-
qs: queryParameters,
405-
headers: headerParams,
406-
uri: localVarPath,
407-
json: true,
408-
body: ObjectSerializer.serialize(requestObj.rq, "AiBcrParseOcrDataRq"),
409-
};
410-
411-
if (Object.keys(formParams).length) {
412-
if (useFormData) {
413-
(requestOptions as any).formData = formParams;
414-
} else {
415-
requestOptions.form = formParams;
416-
}
417-
}
418-
419-
const response = await invokeApiMethod(requestOptions, this.configuration);
420-
const result = ObjectSerializer.deserialize(response.body, "ListResponseOfHierarchicalObject");
421-
return Promise.resolve({body: result, response});
422-
}
423-
424-
/**
425-
* Parse vCards from OCR data and save them to Storage
426-
* @param requestObj contains request parameters
427-
*/
428-
public async aiBcrParseOcrDataStorage(requestObj: requestModels.AiBcrParseOcrDataStorageRequest): Promise<{response: request.RequestResponse, body: model.ListResponseOfStorageFileLocation}> {
429-
const localVarPath = this.configuration.getApiBaseUrl() + "/email/AiBcr/parse-ocr-data-storage";
430-
const queryParameters: any = {};
431-
const headerParams: any = {};
432-
const formParams: any = {};
433-
434-
// verify required parameter 'requestObj.rq' is not null or undefined
435-
if (requestObj.rq === null || requestObj.rq === undefined) {
436-
throw new Error('Required parameter "requestObj.rq" was null or undefined when calling aiBcrParseOcrDataStorage.');
437-
}
438-
439-
// tslint:disable-next-line:prefer-const
440-
let useFormData = false;
441-
442-
const requestOptions: request.Options = {
443-
method: "POST",
444-
qs: queryParameters,
445-
headers: headerParams,
446-
uri: localVarPath,
447-
json: true,
448-
body: ObjectSerializer.serialize(requestObj.rq, "AiBcrParseOcrDataStorageRq"),
449-
};
450-
451-
if (Object.keys(formParams).length) {
452-
if (useFormData) {
453-
(requestOptions as any).formData = formParams;
454-
} else {
455-
requestOptions.form = formParams;
456-
}
457-
}
458-
459-
const response = await invokeApiMethod(requestOptions, this.configuration);
460-
const result = ObjectSerializer.deserialize(response.body, "ListResponseOfStorageFileLocation");
461-
return Promise.resolve({body: result, response});
462-
}
463-
464384
/**
465385
* Parse images from storage to vCard files
466386
* @param requestObj contains request parameters

src/model/model.ts

Lines changed: 2 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export class AiBcrImage {
152152
}
153153

154154
/**
155-
* Determines that image contains single VCard or more
155+
* Determines that image contains single VCard or more. Ignored in current version. Multiple cards on image support will be added soon
156156
*/
157157
public isSingle: boolean;
158158

@@ -1229,7 +1229,7 @@ export class EmailAccountRequest {
12291229
public login: string;
12301230

12311231
/**
1232-
* Security mode for a mail client Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto
1232+
* Enum, available values: None, SSLExplicit, SSLImplicit, SSLAuto, Auto
12331233
*/
12341234
public securityOptions: string;
12351235

@@ -2639,43 +2639,6 @@ export class AiBcrImageStorageFile extends AiBcrImage {
26392639
}
26402640
}
26412641

2642-
/**
2643-
* Parse ocr data request
2644-
*/
2645-
export class AiBcrParseOcrDataRq extends AiBcrRq {
2646-
2647-
/**
2648-
* Attribute type map
2649-
*/
2650-
public static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
2651-
{
2652-
name: "data",
2653-
baseName: "data",
2654-
type: "Array<AiBcrOcrData>",
2655-
} ];
2656-
2657-
/**
2658-
* Returns attribute type map
2659-
*/
2660-
public static getAttributeTypeMap() {
2661-
return super.getAttributeTypeMap().concat(AiBcrParseOcrDataRq.attributeTypeMap);
2662-
}
2663-
2664-
/**
2665-
* OCR data
2666-
*/
2667-
public data: Array<AiBcrOcrData>;
2668-
2669-
2670-
public constructor(
2671-
options?: AiBcrOptions,
2672-
data?: Array<AiBcrOcrData>) {
2673-
super();
2674-
this.options = options;
2675-
this.data = data;
2676-
}
2677-
}
2678-
26792642
/**
26802643
* Business card images from storage for recognition
26812644
*/
@@ -3499,45 +3462,6 @@ export class StorageFileLocation extends StorageFolderLocation {
34993462
}
35003463
}
35013464

3502-
/**
3503-
* Parse ocr data request with storage output location
3504-
*/
3505-
export class AiBcrParseOcrDataStorageRq extends AiBcrParseOcrDataRq {
3506-
3507-
/**
3508-
* Attribute type map
3509-
*/
3510-
public static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
3511-
{
3512-
name: "outFolder",
3513-
baseName: "outFolder",
3514-
type: "StorageFolderLocation",
3515-
} ];
3516-
3517-
/**
3518-
* Returns attribute type map
3519-
*/
3520-
public static getAttributeTypeMap() {
3521-
return super.getAttributeTypeMap().concat(AiBcrParseOcrDataStorageRq.attributeTypeMap);
3522-
}
3523-
3524-
/**
3525-
* Output folder location on storage
3526-
*/
3527-
public outFolder: StorageFolderLocation;
3528-
3529-
3530-
public constructor(
3531-
options?: AiBcrOptions,
3532-
data?: Array<AiBcrOcrData>,
3533-
outFolder?: StorageFolderLocation) {
3534-
super();
3535-
this.options = options;
3536-
this.data = data;
3537-
this.outFolder = outFolder;
3538-
}
3539-
}
3540-
35413465
/**
35423466
* Parse business card images from Storage request
35433467
*/
@@ -3726,7 +3650,6 @@ const typeMap = {
37263650
AiBcrBase64Image,
37273651
AiBcrBase64Rq,
37283652
AiBcrImageStorageFile,
3729-
AiBcrParseOcrDataRq,
37303653
AiBcrStorageImageRq,
37313654
AiNameParsedMatchRq,
37323655
AppendEmailAccountBaseRequest,
@@ -3744,7 +3667,6 @@ const typeMap = {
37443667
SendEmailMimeBaseRequest,
37453668
SetMessageReadFlagAccountBaseRequest,
37463669
StorageFileLocation,
3747-
AiBcrParseOcrDataStorageRq,
37483670
AiBcrParseStorageRq,
37493671
AppendEmailBaseRequest,
37503672
AppendEmailMimeBaseRequest,

src/model/requests/requests.ts

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -177,38 +177,6 @@ export class AiBcrParseRequest {
177177
}
178178
}
179179

180-
/**
181-
* Request model for aiBcrParseOcrData operation.
182-
*/
183-
export class AiBcrParseOcrDataRequest {
184-
/**
185-
* Gets or sets rq
186-
*/
187-
public rq: model.AiBcrParseOcrDataRq;
188-
189-
public constructor(
190-
rq?: model.AiBcrParseOcrDataRq) {
191-
192-
this.rq = rq;
193-
}
194-
}
195-
196-
/**
197-
* Request model for aiBcrParseOcrDataStorage operation.
198-
*/
199-
export class AiBcrParseOcrDataStorageRequest {
200-
/**
201-
* Gets or sets rq
202-
*/
203-
public rq: model.AiBcrParseOcrDataStorageRq;
204-
205-
public constructor(
206-
rq?: model.AiBcrParseOcrDataStorageRq) {
207-
208-
this.rq = rq;
209-
}
210-
}
211-
212180
/**
213181
* Request model for aiBcrParseStorage operation.
214182
*/

0 commit comments

Comments
 (0)