docs/PublicationsApi.md in voucherify-6.0.0 vs docs/PublicationsApi.md in voucherify-7.0.0
- old
+ new
@@ -176,11 +176,11 @@
customer: 'customer_example', # String | Filters by a unique customer ID.
voucher: 'voucher_example', # String | Filters by a given voucher code.
result: VoucherifySdk::ParameterResultListPublications::SUCCESS, # ParameterResultListPublications | Filters by a publication result.
voucher_type: VoucherifySdk::ParameterVoucherTypeListPublications::DISCOUNT, # ParameterVoucherTypeListPublications | Filters by a voucher type.
is_referral_code: true, # Boolean | This filter works only for the true option. If set to true, the query returns only publications of codes from referral campaigns.
- filters: 'filters_example', # String | Allows for combining the filters mentioned in the endpoint description.
+ filters: VoucherifySdk::ParameterFiltersListPublications.new, # ParameterFiltersListPublications | Filters for listing publications.
source_id: 'source_id_example' # String | Using this endpoint with a particular publication source_id, which was sent with the original request to create a publication, returns in the response, exactly the same code published initially because the code was assigned to the given publication. As a result, you can use this endpoint as a reference and return a code that was assigned in a publication by using a particular source_id.
}
begin
# List Publications
@@ -202,10 +202,10 @@
| **customer** | **String** | Filters by a unique customer ID. | [optional] |
| **voucher** | **String** | Filters by a given voucher code. | [optional] |
| **result** | [**ParameterResultListPublications**](.md) | Filters by a publication result. | [optional] |
| **voucher_type** | [**ParameterVoucherTypeListPublications**](.md) | Filters by a voucher type. | [optional] |
| **is_referral_code** | **Boolean** | This filter works only for the true option. If set to true, the query returns only publications of codes from referral campaigns. | [optional] |
-| **filters** | **String** | Allows for combining the filters mentioned in the endpoint description. | [optional] |
+| **filters** | [**ParameterFiltersListPublications**](.md) | Filters for listing publications. | [optional] |
| **source_id** | **String** | Using this endpoint with a particular publication source_id, which was sent with the original request to create a publication, returns in the response, exactly the same code published initially because the code was assigned to the given publication. As a result, you can use this endpoint as a reference and return a code that was assigned in a publication by using a particular source_id. | [optional] |
### Return type
[**PublicationsListResponseBody**](PublicationsListResponseBody.md)