Skip to content

Commit 38ae3c8

Browse files
Update OpenAPI Specification (#31)
* Update OpenAPI Specification (swagger.json) * Regenerate SDKs * Update submodule references --------- Co-authored-by: konfig-bot[bot] <121480725+konfig-bot[bot]@users.noreply.github.com> Co-authored-by: konfig-publisher <[email protected]>
1 parent 37bde66 commit 38ae3c8

23 files changed

+69
-27
lines changed
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
java: patch
3+
python: patch
4+
typescript: patch
5+
csharp: patch
6+
php: patch
7+
go: patch
8+
phpGuzzle6: patch
9+
---
10+
11+
Regenerate SDKs

STATISTICS.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
| SDK Name | Lines of Code |
44
| -------- | ------------- |
5-
| java | 43416 |
6-
| python | 41831 |
5+
| java | 43422 |
6+
| python | 41840 |
77
| typescript | 12443 |
8-
| csharp | 26563 |
9-
| php | 44052 |
10-
| go | 31151 |
11-
| phpGuzzle6 | 44052 |
12-
| **Total** | 243508 |
8+
| csharp | 26569 |
9+
| php | 44055 |
10+
| go | 31157 |
11+
| phpGuzzle6 | 44055 |
12+
| **Total** | 243541 |

csharp/.konfig/generate-id.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e2fd9cd0-8689-49e2-a430-21652259ee2a
1+
63b2a5d9-218f-4899-8540-5dddcffebe87

csharp/Splitit.Web.Net.sln

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net", "src\Splitit.Web.Net\Splitit.Web.Net.csproj", "{59091680-A9AB-4EF8-95BA-5F563AC8B2E1}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net", "src\Splitit.Web.Net\Splitit.Web.Net.csproj", "{BF757228-AAAE-4F34-A7AB-1702DEF6B58B}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Splitit.Web.Net.Test", "src\Splitit.Web.Net.Test\Splitit.Web.Net.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{59091680-A9AB-4EF8-95BA-5F563AC8B2E1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{59091680-A9AB-4EF8-95BA-5F563AC8B2E1}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{59091680-A9AB-4EF8-95BA-5F563AC8B2E1}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{59091680-A9AB-4EF8-95BA-5F563AC8B2E1}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{BF757228-AAAE-4F34-A7AB-1702DEF6B58B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{BF757228-AAAE-4F34-A7AB-1702DEF6B58B}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{BF757228-AAAE-4F34-A7AB-1702DEF6B58B}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{BF757228-AAAE-4F34-A7AB-1702DEF6B58B}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

csharp/src/Splitit.Web.Net/Model/GwAuthorizationStatus.cs

+7-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,13 @@ public enum GwAuthorizationStatus
5959
/// Enum Canceled for value: Canceled
6060
/// </summary>
6161
[EnumMember(Value = "Canceled")]
62-
Canceled = 5
62+
Canceled = 5,
63+
64+
/// <summary>
65+
/// Enum Voided for value: Voided
66+
/// </summary>
67+
[EnumMember(Value = "Voided")]
68+
Voided = 6
6369

6470
}
6571

go/.konfig/generate-id.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e2fd9cd0-8689-49e2-a430-21652259ee2a
1+
63b2a5d9-218f-4899-8540-5dddcffebe87

go/api/openapi.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1489,13 +1489,15 @@ components:
14891489
- Pending3DS
14901490
- Failed
14911491
- Canceled
1492+
- Voided
14921493
type: string
14931494
x-enumNames:
14941495
- NA
14951496
- Succeeded
14961497
- Pending3DS
14971498
- Failed
14981499
- Canceled
1500+
- Voided
14991501
ThreeDsRedirectDataV3:
15001502
example:
15011503
Verb: Verb

go/docs/GwAuthorizationStatus.md

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
* `CANCELED` (value: `"Canceled"`)
1515

16+
* `VOIDED` (value: `"Voided"`)
17+
1618

1719
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1820

go/model_gw_authorization_status.go

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java/.konfig/generate-id.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e2fd9cd0-8689-49e2-a430-21652259ee2a
1+
63b2a5d9-218f-4899-8540-5dddcffebe87

java/api/openapi.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1550,13 +1550,15 @@ components:
15501550
- Pending3DS
15511551
- Failed
15521552
- Canceled
1553+
- Voided
15531554
type: string
15541555
x-enumNames:
15551556
- NA
15561557
- Succeeded
15571558
- Pending3DS
15581559
- Failed
15591560
- Canceled
1561+
- Voided
15601562
ThreeDsRedirectDataV3:
15611563
example:
15621564
Verb: Verb

java/docs/GwAuthorizationStatus.md

+2
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,7 @@
1515

1616
* `CANCELED` (value: `"Canceled"`)
1717

18+
* `VOIDED` (value: `"Voided"`)
19+
1820

1921

java/src/main/java/com/konfigthis/splitit/client/model/GwAuthorizationStatus.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636

3737
FAILED("Failed"),
3838

39-
CANCELED("Canceled");
39+
CANCELED("Canceled"),
40+
41+
VOIDED("Voided");
4042

4143
private String value;
4244

python/.konfig/generate-id.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e2fd9cd0-8689-49e2-a430-21652259ee2a
1+
63b2a5d9-218f-4899-8540-5dddcffebe87

python/splitit_client/model/gw_authorization_status.py

+5
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class MetaOapg:
3939
"Pending3DS": "PENDING3DS",
4040
"Failed": "FAILED",
4141
"Canceled": "CANCELED",
42+
"Voided": "VOIDED",
4243
}
4344

4445
@schemas.classproperty
@@ -60,3 +61,7 @@ def FAILED(cls):
6061
@schemas.classproperty
6162
def CANCELED(cls):
6263
return cls("Canceled")
64+
65+
@schemas.classproperty
66+
def VOIDED(cls):
67+
return cls("Voided")

python/splitit_client/model/gw_authorization_status.pyi

+4
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,7 @@ class GwAuthorizationStatus(
5050
@schemas.classproperty
5151
def CANCELED(cls):
5252
return cls("Canceled")
53+
54+
@schemas.classproperty
55+
def VOIDED(cls):
56+
return cls("Voided")

python/splitit_client/type/gw_authorization_status.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
from typing_extensions import TypedDict, Literal, TYPE_CHECKING
1616

1717

18-
GwAuthorizationStatus = Literal["NA", "Succeeded", "Pending3DS", "Failed", "Canceled"]
18+
GwAuthorizationStatus = Literal["NA", "Succeeded", "Pending3DS", "Failed", "Canceled", "Voided"]

swagger-fixed.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -2012,14 +2012,16 @@
20122012
"Succeeded",
20132013
"Pending3DS",
20142014
"Failed",
2015-
"Canceled"
2015+
"Canceled",
2016+
"Voided"
20162017
],
20172018
"enum": [
20182019
"NA",
20192020
"Succeeded",
20202021
"Pending3DS",
20212022
"Failed",
2022-
"Canceled"
2023+
"Canceled",
2024+
"Voided"
20232025
]
20242026
},
20252027
"ThreeDsRedirectDataV3": {

swagger.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1218,14 +1218,16 @@
12181218
"Succeeded",
12191219
"Pending3DS",
12201220
"Failed",
1221-
"Canceled"
1221+
"Canceled",
1222+
"Voided"
12221223
],
12231224
"enum": [
12241225
"NA",
12251226
"Succeeded",
12261227
"Pending3DS",
12271228
"Failed",
1228-
"Canceled"
1229+
"Canceled",
1230+
"Voided"
12291231
]
12301232
},
12311233
"ThreeDsRedirectDataV3": {

typescript/.konfig/generate-id.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e2fd9cd0-8689-49e2-a430-21652259ee2a
1+
63b2a5d9-218f-4899-8540-5dddcffebe87

typescript/models/gw-authorization-status.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ import type * as buffer from "buffer"
1616
* @export
1717
* @enum {string}
1818
*/
19-
export type GwAuthorizationStatus = 'NA' | 'Succeeded' | 'Pending3DS' | 'Failed' | 'Canceled'
19+
export type GwAuthorizationStatus = 'NA' | 'Succeeded' | 'Pending3DS' | 'Failed' | 'Canceled' | 'Voided'
2020

0 commit comments

Comments
 (0)