Skip to content

Commit

Permalink
v5.0.2 (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
p-zielinski authored Nov 28, 2024
1 parent ea2640a commit ce9fab2
Show file tree
Hide file tree
Showing 126 changed files with 3,945 additions and 618 deletions.
124 changes: 64 additions & 60 deletions ENDPOINTS-COVERAGE.md

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ Remember that this SDK is auto generated (except of the tests) so changes made h

## 📅 Changelog

- **2024-11-26** - `5.0.2`
- Added support for `STANDALONE` campaign type.
- Added optional `metadata` in `OrderCalculatedItemSku`
- New possible value of `ParameterExpandListCampaigns`
- New optional `error` parameter in `Error`
- Updated `LoyaltyCardTransactionDetailsBalance`
- **2024-11-04** - `5.0.1`
- Added support for returning `campaign_id` and `campaign_name` in stackable validation endpoint, when `redeemable` option is expanded
- **2024-10-28** - `5.0.0`
Expand Down Expand Up @@ -592,6 +598,7 @@ Class | Method | HTTP request | Description
- [EarningRuleSegment](docs/Model/EarningRuleSegment.md)
- [EarningRuleSource](docs/Model/EarningRuleSource.md)
- [Error](docs/Model/Error.md)
- [ErrorError](docs/Model/ErrorError.md)
- [EventsCreateRequestBody](docs/Model/EventsCreateRequestBody.md)
- [EventsCreateRequestBodyLoyalty](docs/Model/EventsCreateRequestBodyLoyalty.md)
- [EventsCreateRequestBodyReferral](docs/Model/EventsCreateRequestBodyReferral.md)
Expand Down Expand Up @@ -871,6 +878,8 @@ Class | Method | HTTP request | Description
- [LoyaltyMemberLoyaltyCard](docs/Model/LoyaltyMemberLoyaltyCard.md)
- [LoyaltyMemberPublish](docs/Model/LoyaltyMemberPublish.md)
- [LoyaltyMemberRedemption](docs/Model/LoyaltyMemberRedemption.md)
- [LoyaltyPointsBucket](docs/Model/LoyaltyPointsBucket.md)
- [LoyaltyPointsBucketBucket](docs/Model/LoyaltyPointsBucketBucket.md)
- [LoyaltyTier](docs/Model/LoyaltyTier.md)
- [LoyaltyTierBase](docs/Model/LoyaltyTierBase.md)
- [LoyaltyTierBasePoints](docs/Model/LoyaltyTierBasePoints.md)
Expand Down Expand Up @@ -1486,6 +1495,8 @@ Class | Method | HTTP request | Description
- [VoucherAssets](docs/Model/VoucherAssets.md)
- [VoucherAssetsBarcode](docs/Model/VoucherAssetsBarcode.md)
- [VoucherAssetsQr](docs/Model/VoucherAssetsQr.md)
- [VoucherBalance](docs/Model/VoucherBalance.md)
- [VoucherBalanceRelatedObject](docs/Model/VoucherBalanceRelatedObject.md)
- [VoucherGift](docs/Model/VoucherGift.md)
- [VoucherLoyaltyCard](docs/Model/VoucherLoyaltyCard.md)
- [VoucherPublish](docs/Model/VoucherPublish.md)
Expand Down Expand Up @@ -1621,5 +1632,5 @@ [email protected]
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: `v2018-08-01`
- Package version: `5.0.1`
- Package version: `5.0.2`
- Build package: `org.openapitools.codegen.languages.PhpNextgenClientCodegen`
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rspective/voucherify",
"version": "5.0.1",
"version": "5.0.2",
"description": "Voucherify promotion engine REST API. Please see https://docs.voucherify.io/docs for more details.",
"keywords": [
"openapitools",
Expand Down
6 changes: 3 additions & 3 deletions docs/Api/CampaignsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ createCampaign($campaignsCreateRequestBody): \OpenAPI\Client\Model\CampaignsCrea

Create Campaign

Method to create a batch of vouchers aggregated in one campaign. You can choose a variety of voucher types and define a unique pattern for generating codes. 📘 Global uniqueness All campaign codes are unique across the whole project. Voucherify will not allow you to generate 2 campaigns with the same coupon code. 🚧 Code generation status This is an asynchronous action; you cant read or modify a newly created campaign until the code generation is completed. See the creation_status field in the campaign object description.
Method to create a batch of vouchers aggregated in one campaign. You can choose a variety of voucher types and define a unique pattern for generating codes. 📘 Global uniqueness All campaign codes are unique across the whole project. Voucherify will not allow you to generate 2 campaigns with the same coupon code. 🚧 Code generation status This is an asynchronous action; you cant read or modify a newly created campaign until the code generation is completed. See the creation_status field in the campaign object description. 🚧 Standalone Vouchers and Campaigns In version [v20241004](https://support.voucherify.io/article/23-whats-new-in-voucherify#v20241004), standalone vouchers created through the Voucherify dashboard create a campaign for that voucher. However, you cannot create a standalone discount or gift voucher campaign with the type: STANDALONE through the API. Voucherify developers work on adding that feature. Follow the [Voucherify Release Notes](https://support.voucherify.io/article/23-whats-new-in-voucherify#v20241004) for more details about released features.

### Example

Expand Down Expand Up @@ -671,7 +671,7 @@ $apiInstance = new OpenAPI\Client\Api\CampaignsApi(
$limit = 56; // int | Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items.
$page = 56; // int | Which page of results to return. The lowest value is 1.
$campaignType = new \OpenAPI\Client\Model\ParameterCampaignType(); // ParameterCampaignType | This attribute allows filtering by campaign type.
$expand = new \OpenAPI\Client\Model\ParameterExpandListCampaigns(); // ParameterExpandListCampaigns | Include an expanded categories object in the response.
$expand = new \OpenAPI\Client\Model\ParameterExpandListCampaigns(); // ParameterExpandListCampaigns | Includes an expanded categories object in the response. If the [Areas and Stores](https://support.voucherify.io/article/623-areas-and-stores) Enterprise feature is enabled, add access_settings_assignments to return assigned areas and stores.
$order = new \OpenAPI\Client\Model\ParameterOrderListCampaigns(); // ParameterOrderListCampaigns | Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order.
$filters = new \OpenAPI\Client\Model\ParameterFiltersListCampaigns(); // ParameterFiltersListCampaigns | Filters the results by campaign status or whether the campaign is a referral campaign.

Expand All @@ -690,7 +690,7 @@ try {
| **limit** | **int**| Limits the number of objects to be returned. The limit can range between 1 and 100 items. If no limit is set, it returns 10 items. | [optional] |
| **page** | **int**| Which page of results to return. The lowest value is 1. | [optional] |
| **campaignType** | [**ParameterCampaignType**](../Model/.md)| This attribute allows filtering by campaign type. | [optional] |
| **expand** | [**ParameterExpandListCampaigns**](../Model/.md)| Include an expanded categories object in the response. | [optional] |
| **expand** | [**ParameterExpandListCampaigns**](../Model/.md)| Includes an expanded categories object in the response. If the [Areas and Stores](https://support.voucherify.io/article/623-areas-and-stores) Enterprise feature is enabled, add access_settings_assignments to return assigned areas and stores. | [optional] |
| **order** | [**ParameterOrderListCampaigns**](../Model/.md)| Sorts the results using one of the filtering options, where the dash - preceding a sorting option means sorting in a descending order. | [optional] |
| **filters** | [**ParameterFiltersListCampaigns**](../Model/.md)| Filters the results by campaign status or whether the campaign is a referral campaign. | [optional] |

Expand Down
Loading

0 comments on commit ce9fab2

Please sign in to comment.