Skip to content

Commit a536a63

Browse files
author
regula-bot
committed
Merge remote-tracking branch 'origin/stable'
2 parents 7196cb0 + c394ac1 commit a536a63

File tree

8 files changed

+85
-28
lines changed

8 files changed

+85
-28
lines changed

.github/workflows/update-clients.yml

Lines changed: 52 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,21 @@ jobs:
5757
git checkout -b ${GITHUB_SHA::8}
5858
git config --local user.email "[email protected]"
5959
git config --local user.name "GitHub Action"
60+
61+
if git diff-index --quiet HEAD --; then
62+
echo "No changes to commit."
63+
exit 0
64+
fi
65+
6066
git add --all
6167
git commit -m "Commit: ${{ needs.title.outputs.title }}" -a
62-
git push --set-upstream origin ${GITHUB_SHA::8}
63-
gh pr create --fill --base develop
68+
69+
if [ $? -eq 0 ]; then
70+
git push --set-upstream origin ${GITHUB_SHA::8}
71+
gh pr create --fill --base develop
72+
else
73+
echo "Nothing to commit."
74+
fi
6475
env:
6576
GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
6677

@@ -100,10 +111,21 @@ jobs:
100111
git checkout -b ${GITHUB_SHA::8}
101112
git config --local user.email "[email protected]"
102113
git config --local user.name "GitHub Action"
114+
115+
if git diff-index --quiet HEAD --; then
116+
echo "No changes to commit."
117+
exit 0
118+
fi
119+
103120
git add --all
104121
git commit -m "Commit: ${{ needs.title.outputs.title }}" -a
105-
git push --set-upstream origin ${GITHUB_SHA::8}
106-
gh pr create --fill --base develop
122+
123+
if [ $? -eq 0 ]; then
124+
git push --set-upstream origin ${GITHUB_SHA::8}
125+
gh pr create --fill --base develop
126+
else
127+
echo "Nothing to commit."
128+
fi
107129
env:
108130
GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
109131

@@ -136,10 +158,21 @@ jobs:
136158
git checkout -b ${GITHUB_SHA::8}
137159
git config --local user.email "[email protected]"
138160
git config --local user.name "GitHub Action"
161+
162+
if git diff-index --quiet HEAD --; then
163+
echo "No changes to commit."
164+
exit 0
165+
fi
166+
139167
git add --all
140168
git commit -m "Commit: ${{ needs.title.outputs.title }}" -a
141-
git push --set-upstream origin ${GITHUB_SHA::8}
142-
gh pr create --fill --base develop
169+
170+
if [ $? -eq 0 ]; then
171+
git push --set-upstream origin ${GITHUB_SHA::8}
172+
gh pr create --fill --base develop
173+
else
174+
echo "Nothing to commit."
175+
fi
143176
env:
144177
GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}
145178

@@ -172,10 +205,20 @@ jobs:
172205
git checkout -b ${GITHUB_SHA::8}
173206
git config --local user.email "[email protected]"
174207
git config --local user.name "GitHub Action"
175-
git checkout src/Regula.DocumentReader.WebClient/Api/DefaultApi.cs src/Regula.DocumentReader.WebClient/Api/ProcessApi.cs
208+
209+
if git diff-index --quiet HEAD --; then
210+
echo "No changes to commit."
211+
exit 0
212+
fi
213+
176214
git add --all
177215
git commit -m "Commit: ${{ needs.title.outputs.title }}" -a
178-
git push --set-upstream origin ${GITHUB_SHA::8}
179-
gh pr create --fill --base develop
216+
217+
if [ $? -eq 0 ]; then
218+
git push --set-upstream origin ${GITHUB_SHA::8}
219+
gh pr create --fill --base develop
220+
else
221+
echo "Nothing to commit."
222+
fi
180223
env:
181224
GITHUB_TOKEN: ${{ secrets.REGULA_GITHUB_PUSH_TOKEN }}

e-lcid.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ components:
228228
- "ENGLISH_US"
229229
- "ENGLISH_ZIMBABWE"
230230
- "ESTONIAN"
231-
- "FAEROESE"
231+
- "FAROESE"
232232
- "FARSI"
233233
- "FINNISH"
234234
- "FRENCH_BELGIUM"
@@ -395,7 +395,7 @@ components:
395395
- "English (United States)"
396396
- "English (Zimbabwe)"
397397
- "Estonian"
398-
- "Faeroese"
398+
- "Faroese"
399399
- "Farsi"
400400
- "Finnish"
401401
- "French (Belgium)"

e-rfid-pkd-resourcetype.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ components:
1414
- 5
1515
- 6
1616
- 7
17+
- 8
18+
- 9
1719
x-enum-varnames:
1820
- "CERTIFICATE_PA"
1921
- "CERTIFICATE_TA"
@@ -23,6 +25,8 @@ components:
2325
- "DEFL"
2426
- "DEVL"
2527
- "BL"
28+
- "LDIF_TA"
29+
- "ML_TA"
2630
x-enum-descriptions:
2731
- "Certificate file contents (.pem, .cer, .crt, .der)"
2832
- "Certificate file contents (.cvcert) and private key file contents (.pkcs8)"
@@ -32,3 +36,5 @@ components:
3236
- "Defect List (.dl, .dls, .dfl)"
3337
- "Deviance List (.dl, .dls, .dvl)"
3438
- "Black List (.bl, .bls)"
39+
- "LDIF file contents for TA"
40+
- "Master List with CV certificates for TA"

e-text-field-type.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,8 @@ components:
652652
- 695
653653
- 696
654654
- 697
655+
- 698
656+
- 699
655657
x-enum-descriptions:
656658
- "Document class code"
657659
- "Issuing state code"
@@ -1300,6 +1302,8 @@ components:
13001302
- "MVC Agency"
13011303
- "Issuing state code (Alpha-2)"
13021304
- "Nationality code (Alpha-2)"
1305+
- "First issue date check digit"
1306+
- "First issue date checksum"
13031307
x-enum-varnames:
13041308
- "DOCUMENT_CLASS_CODE"
13051309
- "ISSUING_STATE_CODE"
@@ -1948,3 +1952,5 @@ components:
19481952
- "FT_MVC_AGENCY"
19491953
- "FT_ISSUING_STATE_CODE_ALPHA2"
19501954
- "FT_NATIONALITY_CODE_ALPHA2"
1955+
- "FT_FIRST_ISSUE_DATE_CHECK_DIGIT"
1956+
- "FT_FIRST_ISSUE_DATE_CHECKSUM"

p-process.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,10 @@ components:
460460
pdfPagesLimit:
461461
description: "Limits the number of pages to be processed from a PDF file."
462462
type: integer
463+
disableAuthResolutionFilter:
464+
description: "This parameter if enabled will ignore the minimum barcode resolution needed to start processing."
465+
type: boolean
466+
# default: false
463467

464468
MRZFormat:
465469
title: "MRZFormat"

p-transaction.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,9 @@ components:
198198
title: "TransactionProcessResult"
199199
type: object
200200
properties:
201-
OutData:
201+
outData:
202202
$ref: '#/components/schemas/OutData'
203-
InData:
203+
inData:
204204
$ref: '#/components/schemas/InData'
205205
tag:
206206
type: string

rt-doc-type-old.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,9 @@ components:
109109
type: object
110110
required:
111111
- ICAOCode
112-
- Count
113-
- List
114112
- dType
115113
- dFormat
116114
- dMRZ
117-
- dYear
118115
- dCountryName
119116
- isDeprecated
120117
properties:

rt-rfid-binary-data.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ components:
310310
VirtualMode:
311311
description: "Sign of virtual session when working with loaded data from a previous communication session
312312
with the electronic document"
313-
type: string
313+
type: boolean
314314
SDKVersion:
315315
description: "Text SDKVersion value in format A.B (e.g. 3.1)"
316316
type: string
@@ -384,10 +384,10 @@ components:
384384
description: "Reference to the source file of the security object data"
385385
type: number
386386
Notifications:
387-
description: "List of remarks arisen during the analysis of SO data structure."
387+
description: "List of remarks arisen during the analysis of SO data structure. Can be ParsingErrorCodes or ParsingNotificationCodes enum."
388388
type: array
389389
items:
390-
$ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes"
390+
type: integer
391391
SignerInfos:
392392
description: "List of containers to store information about digital signature objects contained in the SO"
393393
type: array
@@ -447,9 +447,10 @@ components:
447447
description: "Binary data array used to calculate the hash value for digital signature verification. Base64 encoded."
448448
type: string
449449
Notifications:
450+
description: "Can be ParsingErrorCodes or ParsingNotificationCodes enum."
450451
type: array
451452
items:
452-
$ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes"
453+
type: integer
453454

454455
RfidCertificateEx:
455456
title: "RfidCertificateEx"
@@ -498,10 +499,10 @@ components:
498499
$ref: "#/components/schemas/RfidPkiExtension"
499500
Notifications:
500501
description: "List of remarks arisen during the analysis of the certificate data
501-
structure and its validity verification."
502+
structure and its validity verification. Can be ParsingErrorCodes or ParsingNotificationCodes enum."
502503
type: array
503504
items:
504-
$ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes"
505+
type: integer
505506
Origin:
506507
$ref: "#/components/schemas/RfidCertificateOrigin"
507508
Type:
@@ -711,10 +712,11 @@ components:
711712
PA_Status:
712713
$ref: "./e-rfid-error-codes.yml#/components/schemas/RFIDErrorCodes"
713714
Notifications:
714-
description: "List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure."
715+
description: "List of remarks arisen when reading data from the memory of the chip and analysing their ASN.1-structure.
716+
Can be ParsingErrorCodes or ParsingNotificationCodes enum."
715717
type: array
716718
items:
717-
$ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes"
719+
type: integer
718720
DocFields_Text:
719721
description: "List of document text fields formed on the basis of the file contents"
720722
type: array
@@ -760,8 +762,7 @@ components:
760762
ParsingNotifications:
761763
type: array
762764
items:
763-
type: integer
764-
format: int64
765+
$ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes"
765766

766767
TrfFtBytes:
767768
title: "TrfFtBytes"
@@ -806,10 +807,10 @@ components:
806807
description: "Index of the active variant of the procedure"
807808
type: number
808809
Notifications:
809-
description: "List of remarks arisen during the procedure."
810+
description: "List of remarks arisen during the procedure. Can be ParsingErrorCodes or ParsingNotificationCodes enum."
810811
type: array
811812
items:
812-
$ref: "./e-parsing-notification-codes.yml#/components/schemas/ParsingNotificationCodes"
813+
type: integer
813814
AccessControlOptions:
814815
description: "List of structures with are used to describe the variants of the authentication or secure data access procedure
815816
performance within the context of the communication session with electronic document"

0 commit comments

Comments
 (0)