Skip to content

Commit

Permalink
Release 6.0.4 (#260)
Browse files Browse the repository at this point in the history
* 6.0.4 changes

* configuration and api mustaches
  • Loading branch information
fcarrero authored Dec 26, 2023
1 parent 7467077 commit 117eac3
Show file tree
Hide file tree
Showing 267 changed files with 14,304 additions and 3,710 deletions.
4 changes: 4 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ docs/Model/OrderFiscalEntityAddressResponse.md
docs/Model/OrderFiscalEntityAddressResponseAllOf.md
docs/Model/OrderFiscalEntityRequest.md
docs/Model/OrderFiscalEntityResponse.md
docs/Model/OrderNextActionResponse.md
docs/Model/OrderNextActionResponseRedirectToUrl.md
docs/Model/OrderRefundRequest.md
docs/Model/OrderRequest.md
docs/Model/OrderRequestCustomerInfo.md
Expand Down Expand Up @@ -383,6 +385,8 @@ lib/Model/OrderFiscalEntityAddressResponse.php
lib/Model/OrderFiscalEntityAddressResponseAllOf.php
lib/Model/OrderFiscalEntityRequest.php
lib/Model/OrderFiscalEntityResponse.php
lib/Model/OrderNextActionResponse.php
lib/Model/OrderNextActionResponseRedirectToUrl.php
lib/Model/OrderRefundRequest.php
lib/Model/OrderRequest.php
lib/Model/OrderRequestCustomerInfo.php
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.6.0
7.2.0
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
php-test:
vendor/bin/phpunit test/Api
phpstan:
vendor/bin/phpstan analyse lib --level 7
vendor/bin/phpstan analyse lib --level 7
php:
rm -rf docs && \
rm -rf lib/Model && \
docker run --rm \
-v ${PWD}:/local openapitools/openapi-generator-cli:v7.2.0 generate \
-i https://raw.githubusercontent.com/conekta/openapi/main/_build/api.yaml \
-g php \
-o /local \
-c /local/config-php.json \
--global-property modelTests=false
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,8 @@ Class | Method | HTTP request | Description
- [OrderFiscalEntityAddressResponseAllOf](docs/Model/OrderFiscalEntityAddressResponseAllOf.md)
- [OrderFiscalEntityRequest](docs/Model/OrderFiscalEntityRequest.md)
- [OrderFiscalEntityResponse](docs/Model/OrderFiscalEntityResponse.md)
- [OrderNextActionResponse](docs/Model/OrderNextActionResponse.md)
- [OrderNextActionResponseRedirectToUrl](docs/Model/OrderNextActionResponseRedirectToUrl.md)
- [OrderRefundRequest](docs/Model/OrderRefundRequest.md)
- [OrderRequest](docs/Model/OrderRequest.md)
- [OrderRequestCustomerInfo](docs/Model/OrderRequestCustomerInfo.md)
Expand Down Expand Up @@ -405,5 +407,5 @@ [email protected]
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: `2.1.0`
- Package version: `6.0.3`
- Package version: `6.0.4`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.3
6.0.4
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "conekta/conekta-php",
"version": "6.0.3",
"version": "6.0.4",
"description": "Conekta PHP Library",
"type": "library",
"keywords": [
Expand Down
33 changes: 33 additions & 0 deletions config-php.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"packageName": "conekta",
"generateSourceCodeOnly": "false",
"artifactVersion": "6.0.4",
"packageUrl": "https://developers.conekta.com/",
"projectName": "conekta-php",
"appDescriptionV2" : "Conekta PHP Library",
"useOneOfDiscriminatorLookup" : true,
"nonCompliantUseDiscriminatorIfCompositionFails" : false,
"httpUserAgent": "Conekta/v2 PhpBindings/6.0.4",
"packageAuthors" : "[email protected]",
"files": {
"/local/CODE_OF_CONDUCT.md" : {},
"/local/AUTHORS.md" : {},
"/local/CONTRIBUTING.md" : {},
"/local/LICENSE" : {},
"/local/conekta.png" : {},
"VERSION.mustache" : {
"templateType": "SupportingFiles",
"destinationFilename": "VERSION"
},
"/local/ssl_data/ca_bundle.crt": {
"destinationFilename": "lib/ssl_data/ca_bundle.crt"
}
},
"gitUserId": "conekta",
"gitRepoId": "conekta-php",
"modern" : true,
"disallowAdditionalPropertiesIfNotPresent" : true,
"invokerPackage" : "Conekta",
"templateDir": "/local/templates/php",
"legacyDiscriminatorBehavior" : false
}
2 changes: 1 addition & 1 deletion docs/Api/PaymentMethodsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ $apiInstance = new Conekta\Api\PaymentMethodsApi(
$config
);
$id = 6307a60c41de27127515a575; // string | Identifier of the resource
$create_customer_payment_methods_request = {type=card, token_id=tok_test_visa_4242}; // \Conekta\Model\CreateCustomerPaymentMethodsRequest | requested field for customer payment methods
$create_customer_payment_methods_request = {"type":"card","token_id":"tok_test_visa_4242"}; // \Conekta\Model\CreateCustomerPaymentMethodsRequest | requested field for customer payment methods
$accept_language = es; // string | Use for knowing which language to use
$x_child_company_id = 6441b6376b60c3a638da80af; // string | In the case of a holding company, the company id of the child company to which will process the request.

Expand Down
4 changes: 2 additions & 2 deletions docs/Model/ChargeOrderResponsePaymentMethod.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Name | Type | Description | Notes
**country** | **string** | | [optional]
**exp_month** | **string** | | [optional]
**exp_year** | **string** | | [optional]
**fraud_indicators** | **mixed[]** | | [optional]
**fraud_indicators** | **object[]** | | [optional]
**issuer** | **string** | | [optional]
**last4** | **string** | | [optional]
**name** | **string** | | [optional]
Expand All @@ -32,7 +32,7 @@ Name | Type | Description | Notes
**issuing_account_number** | **string** | | [optional]
**issuing_account_holder_name** | **string** | | [optional]
**issuing_account_tax_id** | **string** | | [optional]
**payment_attempts** | **mixed[]** | | [optional]
**payment_attempts** | **object[]** | | [optional]
**receiving_account_holder_name** | **string** | | [optional]
**receiving_account_number** | **string** | | [optional]
**receiving_account_bank** | **string** | | [optional]
Expand Down
4 changes: 2 additions & 2 deletions docs/Model/ChargeResponsePaymentMethod.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Name | Type | Description | Notes
**country** | **string** | | [optional]
**exp_month** | **string** | | [optional]
**exp_year** | **string** | | [optional]
**fraud_indicators** | **mixed[]** | | [optional]
**fraud_indicators** | **object[]** | | [optional]
**issuer** | **string** | | [optional]
**last4** | **string** | | [optional]
**name** | **string** | | [optional]
Expand All @@ -32,7 +32,7 @@ Name | Type | Description | Notes
**issuing_account_number** | **string** | | [optional]
**issuing_account_holder_name** | **string** | | [optional]
**issuing_account_tax_id** | **string** | | [optional]
**payment_attempts** | **mixed[]** | | [optional]
**payment_attempts** | **object[]** | | [optional]
**receiving_account_holder_name** | **string** | | [optional]
**receiving_account_number** | **string** | | [optional]
**receiving_account_bank** | **string** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/Model/CustomerAddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**city** | **string** | |
**state** | **string** | | [optional]
**country** | **string** | this field follows the [ISO 3166-1 alpha-2 standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) | [optional]
**residential** | **bool** | | [optional]
**residential** | **bool** | | [optional] [default to false]
**external_number** | **string** | | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
2 changes: 1 addition & 1 deletion docs/Model/CustomerFiscalEntitiesRequestAddress.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**city** | **string** | |
**state** | **string** | | [optional]
**country** | **string** | this field follows the [ISO 3166-1 alpha-2 standard](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) | [optional]
**residential** | **bool** | | [optional]
**residential** | **bool** | | [optional] [default to false]
**external_number** | **string** | | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
14 changes: 0 additions & 14 deletions docs/Model/CustomerInfoResponse.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# # OrderResponseFiscalEntityAddressAllOf
# # OrderNextActionResponse

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**object** | **string** | | [optional]
**redirect_to_url** | [**\Conekta\Model\OrderNextActionResponseRedirectToUrl**](OrderNextActionResponseRedirectToUrl.md) | | [optional]
**type** | **string** | Indicates the type of action to be taken | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
10 changes: 10 additions & 0 deletions docs/Model/OrderNextActionResponseRedirectToUrl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# # OrderNextActionResponseRedirectToUrl

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**url** | **string** | pay.conekta.com/{id} Indicates the url of the Conekta component to authenticate the flow through 3DS2. | [optional]
**return_url** | **string** | Indicates the url to which the 3DS2 flow returns at the end, when the integration is redirected. | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
2 changes: 2 additions & 0 deletions docs/Model/OrderRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ Name | Type | Description | Notes
**needs_shipping_contact** | **bool** | Allows you to fill out the shipping information at checkout | [optional]
**pre_authorize** | **bool** | Indicates whether the order charges must be preauthorized | [optional] [default to false]
**processing_mode** | **string** | Indicates the processing mode for the order, either ecommerce, recurrent or validation. | [optional]
**return_url** | **string** | Indicates the redirection callback upon completion of the 3DS2 flow. | [optional]
**shipping_contact** | [**\Conekta\Model\CustomerShippingContacts**](CustomerShippingContacts.md) | | [optional]
**shipping_lines** | [**\Conekta\Model\ShippingRequest[]**](ShippingRequest.md) | List of [shipping costs](https://developers.conekta.com/v2.1.0/reference/orderscreateshipping). If the online store offers digital products. | [optional]
**tax_lines** | [**\Conekta\Model\OrderTaxRequest[]**](OrderTaxRequest.md) | List of [taxes](https://developers.conekta.com/v2.1.0/reference/orderscreatetaxes) that are applied to the order. | [optional]
**three_ds_mode** | **string** | Indicates the 3DS2 mode for the order, either smart or strict. | [optional]

[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
1 change: 1 addition & 0 deletions docs/Model/OrderResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Name | Type | Description | Notes
**line_items** | [**\Conekta\Model\OrderResponseProducts**](OrderResponseProducts.md) | | [optional]
**livemode** | **bool** | Whether the object exists in live mode or test mode | [optional]
**metadata** | **array<string,mixed>** | Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. | [optional]
**next_action** | [**\Conekta\Model\OrderNextActionResponse**](OrderNextActionResponse.md) | | [optional]
**object** | **string** | String representing the object’s type. Objects of the same type share the same value. | [optional]
**payment_status** | **string** | The payment status of the order. | [optional]
**processing_mode** | **string** | Indicates the processing mode for the order, either ecommerce, recurrent or validation. | [optional]
Expand Down
12 changes: 0 additions & 12 deletions docs/Model/OrderResponseFiscalEntity.md

This file was deleted.

17 changes: 0 additions & 17 deletions docs/Model/OrderResponseFiscalEntityAddress.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/Model/PaymentMethodBankTransfer.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**issuing_account_number** | **string** | | [optional]
**issuing_account_holder_name** | **string** | | [optional]
**issuing_account_tax_id** | **string** | | [optional]
**payment_attempts** | **mixed[]** | | [optional]
**payment_attempts** | **object[]** | | [optional]
**receiving_account_holder_name** | **string** | | [optional]
**receiving_account_number** | **string** | | [optional]
**receiving_account_bank** | **string** | | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/Model/PaymentMethodCard.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Name | Type | Description | Notes
**country** | **string** | | [optional]
**exp_month** | **string** | | [optional]
**exp_year** | **string** | | [optional]
**fraud_indicators** | **mixed[]** | | [optional]
**fraud_indicators** | **object[]** | | [optional]
**issuer** | **string** | | [optional]
**last4** | **string** | | [optional]
**name** | **string** | | [optional]
Expand Down
Loading

0 comments on commit 117eac3

Please sign in to comment.