Skip to content

Commit

Permalink
chore: Publish fraudPreventionV2 [1.4.0] SDK (#168)
Browse files Browse the repository at this point in the history
* chore: Bump up core

* chore: Publish fraudPreventionV2 [1.4.0] SDK

---------

Co-authored-by: Mohammad Noor Abu Khleif <moh.noor94@gmail.com>
Co-authored-by: Expedia Group Open Source <oss@expediagroup.com>
  • Loading branch information
3 people authored Jul 25, 2023
1 parent f6e7699 commit 0231cf9
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ uri~=2.0.1
requests~=2.28.1
pydantic~=1.10.4
furl~=2.1.3
openworld-sdk-python-core~=0.3.0
openworld-sdk-python-core~=0.10.0
orjson~=3.8.6
2 changes: 1 addition & 1 deletion openworld/sdk/core/core.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[sdk-properties]
version=0.9.0
version=0.10.0
2 changes: 1 addition & 1 deletion openworld/sdk/generator/resources/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
uri~=2.0.1
furl~=2.1.3
openworld-sdk-python-core~=0.9.0
openworld-sdk-python-core~=0.10.0
pydantic[email]==1.10.7
email-validator~=2.0.0.post2
python-dateutil~=2.8.2
2 changes: 1 addition & 1 deletion release/fraudPreventionV2/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, client_config: ClientConfig):
"""
python_version = platform.python_version()
os_name, os_version, *_ = platform.platform().split('-')
sdk_metadata = f'open-world-sdk-python-fraudpreventionv2/1.3.0'
sdk_metadata = f'open-world-sdk-python-fraudpreventionv2/1.4.0'

self.__api_client = ApiClient(client_config, _OpenWorldAuthClient)

Expand Down
10 changes: 5 additions & 5 deletions release/fraudPreventionV2/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ class Brand(
* `BITCOIN`
'brand' with 'DirectDebit' payment_type is an enum value with following:
* `EVL`
* `ELV`
* `INTER_COMPANY`
Attributes:
Expand Down Expand Up @@ -967,7 +967,7 @@ class Brand(
WEB_MONEY(Any): --
QIWI(Any): --
BITCOIN(Any): --
EVL(Any): --
ELV(Any): --
INTER_COMPANY(Any): --
"""
Expand Down Expand Up @@ -1016,7 +1016,7 @@ class Brand(
WEB_MONEY: Any = 'WEB_MONEY'
QIWI: Any = 'QIWI'
BITCOIN: Any = 'BITCOIN'
EVL: Any = 'EVL'
ELV: Any = 'ELV'
INTER_COMPANY: Any = 'INTER_COMPANY'


Expand Down Expand Up @@ -2207,7 +2207,7 @@ class PaymentGeneric(
* `DIRECT_DEBIT`: `DirectDebit`
Attributes:
brand(Brand): The `brand` field value is the payment brand used for payment on this transaction. For credit card payment method ensure attributes mentioned in dictionary below are set to corresponding values only. Ensure to comply with the naming standards provided in below dictionary. For example, some Payment processors use “Japan Credit Bureau” but “JCB” should be used when calling Fraud API. Incorrect `brand` - `card_type` combination will result in data quality issues and result in degraded risk recommendation. 'brand' is an enum value with the following mapping with CreditCard 'card_type' attribute: * brand : card_type * ------------------------------------------------------- * `AMERICAN_EXPRESS` : `AMERICAN_EXPRESS` * `DINERS_CLUB_INTERNATIONAL` : `DINERS_CLUB` * `BC_CARD` : `DINERS_CLUB` * `DISCOVER` : `DISCOVER` * `BC_CARD` : `DISCOVER` * `DINERS_CLUB_INTERNATIONAL` : `DISCOVER` * `JCB` : `DISCOVER` * `JCB` : `JCB` * `MASTER_CARD` : `MASTER_CARD` * `MAESTRO` : `MASTER_CARD` * `POSTEPAY_MASTERCARD` : `MASTER_CARD` * `SOLO` : `SOLO` * `SWITCH` : `SWITCH` * `MAESTRO` : `MAESTRO` * `CHINA_UNION_PAY` : `CHINA_UNION_PAY` * `VISA` : `VISA` * `VISA_DELTA` : `VISA` * `VISA_ELECTRON` : `VISA` * `CARTA_SI` : `VISA` * `CARTE_BLEUE` : `VISA` * `VISA_DANKORT` : `VISA` * `POSTEPAY_VISA_ELECTRON` : `VISA` * `PAYPAL` : 'brand' with 'Points' payment_type is an enum value with following: * `EXPEDIA_REWARDS` * `AMEX_POINTS` * `BANK_OF_AMERICA_REWARDS` * `DISCOVER_POINTS` * `MASTER_CARD_POINTS` * `CITI_THANK_YOU_POINTS` * `MERRILL_LYNCH_REWARDS` * `WELLS_FARGO_POINTS` * `DELTA_SKY_MILES` * `UNITED_POINTS` * `DISCOVER_MILES` * `ALASKA_MILES` * `RBC_REWARDS` * `BILT_REWARDS` * `ORBUCKS` * `CHEAP_CASH` * `BONUS_PLUS` * `ULTIMATE_REWARDS` 'brand' with 'GiftCard' payment_type is an enum value with following: * `GIFT_CARD` 'brand' with 'InternetBankPayment' payment_type is an enum value with following: * `IBP` * `LOCAL_DEBIT_CARD` * `SOFORT` * `YANDEX` * `WEB_MONEY` * `QIWI` * `BITCOIN` 'brand' with 'DirectDebit' payment_type is an enum value with following: * `EVL` * `INTER_COMPANY`
brand(Brand): The `brand` field value is the payment brand used for payment on this transaction. For credit card payment method ensure attributes mentioned in dictionary below are set to corresponding values only. Ensure to comply with the naming standards provided in below dictionary. For example, some Payment processors use “Japan Credit Bureau” but “JCB” should be used when calling Fraud API. Incorrect `brand` - `card_type` combination will result in data quality issues and result in degraded risk recommendation. 'brand' is an enum value with the following mapping with CreditCard 'card_type' attribute: * brand : card_type * ------------------------------------------------------- * `AMERICAN_EXPRESS` : `AMERICAN_EXPRESS` * `DINERS_CLUB_INTERNATIONAL` : `DINERS_CLUB` * `BC_CARD` : `DINERS_CLUB` * `DISCOVER` : `DISCOVER` * `BC_CARD` : `DISCOVER` * `DINERS_CLUB_INTERNATIONAL` : `DISCOVER` * `JCB` : `DISCOVER` * `JCB` : `JCB` * `MASTER_CARD` : `MASTER_CARD` * `MAESTRO` : `MASTER_CARD` * `POSTEPAY_MASTERCARD` : `MASTER_CARD` * `SOLO` : `SOLO` * `SWITCH` : `SWITCH` * `MAESTRO` : `MAESTRO` * `CHINA_UNION_PAY` : `CHINA_UNION_PAY` * `VISA` : `VISA` * `VISA_DELTA` : `VISA` * `VISA_ELECTRON` : `VISA` * `CARTA_SI` : `VISA` * `CARTE_BLEUE` : `VISA` * `VISA_DANKORT` : `VISA` * `POSTEPAY_VISA_ELECTRON` : `VISA` * `PAYPAL` : 'brand' with 'Points' payment_type is an enum value with following: * `EXPEDIA_REWARDS` * `AMEX_POINTS` * `BANK_OF_AMERICA_REWARDS` * `DISCOVER_POINTS` * `MASTER_CARD_POINTS` * `CITI_THANK_YOU_POINTS` * `MERRILL_LYNCH_REWARDS` * `WELLS_FARGO_POINTS` * `DELTA_SKY_MILES` * `UNITED_POINTS` * `DISCOVER_MILES` * `ALASKA_MILES` * `RBC_REWARDS` * `BILT_REWARDS` * `ORBUCKS` * `CHEAP_CASH` * `BONUS_PLUS` * `ULTIMATE_REWARDS` 'brand' with 'GiftCard' payment_type is an enum value with following: * `GIFT_CARD` 'brand' with 'InternetBankPayment' payment_type is an enum value with following: * `IBP` * `LOCAL_DEBIT_CARD` * `SOFORT` * `YANDEX` * `WEB_MONEY` * `QIWI` * `BITCOIN` 'brand' with 'DirectDebit' payment_type is an enum value with following: * `ELV` * `INTER_COMPANY`
method(PaymentMethod): --
reason(Optional[PaymentReason], optional): --
billing_name(Name): --
Expand Down Expand Up @@ -2285,7 +2285,7 @@ class PaymentGeneric(
* `BITCOIN`
'brand' with 'DirectDebit' payment_type is an enum value with following:
* `EVL`
* `ELV`
* `INTER_COMPANY`
"""
Expand Down
2 changes: 1 addition & 1 deletion release/fraudPreventionV2/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='openworld-sdk-python-fraudpreventionv2',
version='1.3.0',
version='1.4.0',
packages=['openworld.sdk.fraudpreventionv2'],
package_dir={'openworld-sdk-python-fraudpreventionv2': '.'},
license='Apache License, Version 2.0',
Expand Down
4 changes: 2 additions & 2 deletions release/fraudPreventionV2/specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,7 @@ components:
'brand' with 'DirectDebit' payment_type is an enum value with following:
* `EVL`
* `ELV`
* `INTER_COMPANY`
type: string
Expand Down Expand Up @@ -1845,7 +1845,7 @@ components:
- WEB_MONEY
- QIWI
- BITCOIN
- EVL
- ELV
- INTER_COMPANY
method:
$ref: "#/components/schemas/PaymentMethod"
Expand Down

0 comments on commit 0231cf9

Please sign in to comment.