Skip to content

Commit 253932e

Browse files
Merge pull request #164 from regulaforensics/4a9f5da2
update-clients
2 parents 358ce15 + 0b1f680 commit 253932e

File tree

5 files changed

+56
-10
lines changed

5 files changed

+56
-10
lines changed

src/.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ models/lexical-analysis-result.ts
8585
models/license-result-all-of.ts
8686
models/license-result.ts
8787
models/light.ts
88+
models/list-transactions-by-tag-response.ts
8889
models/list-verified-fields.ts
8990
models/liveness-params.ts
9091
models/log-level.ts

src/api/transaction-api.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ import { Configuration } from '../configuration';
1919
// @ts-ignore
2020
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
2121
// @ts-ignore
22-
import { GetTransactionsByTagResponse } from '../models';
23-
// @ts-ignore
2422
import { InlineResponse200 } from '../models';
2523
// @ts-ignore
2624
import { InlineResponse2001 } from '../models';
2725
// @ts-ignore
26+
import { ListTransactionsByTagResponse } from '../models';
27+
// @ts-ignore
2828
import { TransactionProcessGetResponse } from '../models';
2929
// @ts-ignore
3030
import { TransactionProcessRequest } from '../models';
@@ -80,11 +80,11 @@ export const TransactionApiAxiosParamCreator = function (configuration?: Configu
8080
/**
8181
*
8282
* @summary Get transactions by tag
83-
* @param {number} tagId Tag id
83+
* @param {string} tagId Tag id
8484
* @param {*} [options] Override http request option.
8585
* @throws {RequiredError}
8686
*/
87-
apiV2TagTagIdTransactionsGet: async (tagId: number, options: any = {}): Promise<RequestArgs> => {
87+
apiV2TagTagIdTransactionsGet: async (tagId: string, options: any = {}): Promise<RequestArgs> => {
8888
// verify required parameter 'tagId' is not null or undefined
8989
if (tagId === null || tagId === undefined) {
9090
throw new RequiredError('tagId','Required parameter tagId was null or undefined when calling apiV2TagTagIdTransactionsGet.');
@@ -346,11 +346,11 @@ export const TransactionApiFp = function(configuration?: Configuration) {
346346
/**
347347
*
348348
* @summary Get transactions by tag
349-
* @param {number} tagId Tag id
349+
* @param {string} tagId Tag id
350350
* @param {*} [options] Override http request option.
351351
* @throws {RequiredError}
352352
*/
353-
async apiV2TagTagIdTransactionsGet(tagId: number, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GetTransactionsByTagResponse>>> {
353+
async apiV2TagTagIdTransactionsGet(tagId: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTransactionsByTagResponse>> {
354354
const localVarAxiosArgs = await TransactionApiAxiosParamCreator(configuration).apiV2TagTagIdTransactionsGet(tagId, options);
355355
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
356356
const axiosRequestArgs = {...localVarAxiosArgs.options, url: (configuration?.basePath || basePath) + localVarAxiosArgs.url};
@@ -438,11 +438,11 @@ export const TransactionApiFactory = function (configuration?: Configuration, ba
438438
/**
439439
*
440440
* @summary Get transactions by tag
441-
* @param {number} tagId Tag id
441+
* @param {string} tagId Tag id
442442
* @param {*} [options] Override http request option.
443443
* @throws {RequiredError}
444444
*/
445-
apiV2TagTagIdTransactionsGet(tagId: number, options?: any): AxiosPromise<Array<GetTransactionsByTagResponse>> {
445+
apiV2TagTagIdTransactionsGet(tagId: string, options?: any): AxiosPromise<ListTransactionsByTagResponse> {
446446
return TransactionApiFp(configuration).apiV2TagTagIdTransactionsGet(tagId, options).then((request) => request(axios, basePath));
447447
},
448448
/**
@@ -513,12 +513,12 @@ export class TransactionApi extends BaseAPI {
513513
/**
514514
*
515515
* @summary Get transactions by tag
516-
* @param {number} tagId Tag id
516+
* @param {string} tagId Tag id
517517
* @param {*} [options] Override http request option.
518518
* @throws {RequiredError}
519519
* @memberof TransactionApi
520520
*/
521-
public apiV2TagTagIdTransactionsGet(tagId: number, options?: any) {
521+
public apiV2TagTagIdTransactionsGet(tagId: string, options?: any) {
522522
return TransactionApiFp(this.configuration).apiV2TagTagIdTransactionsGet(tagId, options).then((request) => request(this.axios, this.basePath));
523523
}
524524

src/models/authenticity-check-result-item.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ export interface AuthenticityCheckResultItem {
4545
* @memberof AuthenticityCheckResultItem
4646
*/
4747
ElementDiagnose?: CheckDiagnose;
48+
/**
49+
*
50+
* @type {number}
51+
* @memberof AuthenticityCheckResultItem
52+
*/
53+
PercentValue?: number;
4854
}
4955

5056

src/models/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export * from './lexical-analysis-result-all-of';
7979
export * from './license-result';
8080
export * from './license-result-all-of';
8181
export * from './light';
82+
export * from './list-transactions-by-tag-response';
8283
export * from './list-verified-fields';
8384
export * from './liveness-params';
8485
export * from './log-level';
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/* tslint:disable */
2+
/* eslint-disable */
3+
/**
4+
* Regula Document Reader Web API
5+
* Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
6+
*
7+
* The version of the OpenAPI document: 7.2.0
8+
*
9+
*
10+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+
* https://openapi-generator.tech
12+
* Do not edit the class manually.
13+
*/
14+
15+
16+
import { GetTransactionsByTagResponse } from './get-transactions-by-tag-response';
17+
18+
/**
19+
*
20+
* @export
21+
* @interface ListTransactionsByTagResponse
22+
*/
23+
export interface ListTransactionsByTagResponse {
24+
/**
25+
*
26+
* @type {Array<GetTransactionsByTagResponse>}
27+
* @memberof ListTransactionsByTagResponse
28+
*/
29+
items?: Array<GetTransactionsByTagResponse>;
30+
/**
31+
*
32+
* @type {{ [key: string]: object; }}
33+
* @memberof ListTransactionsByTagResponse
34+
*/
35+
metadata?: { [key: string]: object; };
36+
}
37+
38+

0 commit comments

Comments
 (0)