docs/PublicationsCreateResponseBody.md in voucherify-5.0.0 vs docs/PublicationsCreateResponseBody.md in voucherify-6.0.0
- old
+ new
@@ -1,49 +1,20 @@
# VoucherifySdk::PublicationsCreateResponseBody
-## Class instance methods
+## Properties
-### `openapi_one_of`
-
-Returns the list of classes defined in oneOf.
-
-#### Example
-
-```ruby
-require 'VoucherifySdk'
-
-VoucherifySdk::PublicationsCreateResponseBody.openapi_one_of
-# =>
-# [
-# :'PublicationsCreateVoucherResponseBody',
-# :'PublicationsCreateVouchersResponseBody'
-# ]
-```
-
-### build
-
-Find the appropriate object from the `openapi_one_of` list and casts the data into it.
-
-#### Example
-
-```ruby
-require 'VoucherifySdk'
-
-VoucherifySdk::PublicationsCreateResponseBody.build(data)
-# => #<PublicationsCreateVoucherResponseBody:0x00007fdd4aab02a0>
-
-VoucherifySdk::PublicationsCreateResponseBody.build(data_that_doesnt_match)
-# => nil
-```
-
-#### Parameters
-
-| Name | Type | Description |
-| ---- | ---- | ----------- |
-| **data** | **Mixed** | data to be matched against the list of oneOf items |
-
-#### Return type
-
-- `PublicationsCreateVoucherResponseBody`
-- `PublicationsCreateVouchersResponseBody`
-- `nil` (if no type matches)
+| Name | Type | Description | Notes |
+| ---- | ---- | ----------- | ----- |
+| **id** | **String** | Unique publication ID, assigned by Voucherify. | [optional] |
+| **object** | **String** | The type of the object represented by the JSON. This object stores information about the `publication`. | [optional][default to 'publication'] |
+| **created_at** | **Time** | Timestamp representing the date and time when the publication was created. The value is shown in the ISO 8601 format. | [optional] |
+| **customer_id** | **String** | Unique customer ID of the customer receiving the publication. | [optional] |
+| **tracking_id** | **String** | Customer's `source_id`. | [optional] |
+| **metadata** | **Object** | | [optional] |
+| **channel** | **String** | How the publication was originated. It can be your own custom channel or an example value provided here. | [optional][default to 'API'] |
+| **source_id** | **String** | The merchant's publication ID if it is different from the Voucherify publication ID. It's an optional tracking identifier of a publication. It is really useful in case of an integration between multiple systems. It can be a publication ID from a CRM system, database or 3rd-party service. | [optional] |
+| **result** | **String** | Status of the publication attempt. | [optional][default to 'SUCCESS'] |
+| **customer** | [**CustomerWithSummaryLoyaltyReferrals**](CustomerWithSummaryLoyaltyReferrals.md) | | [optional] |
+| **vouchers_id** | **Array<String>** | Contains the unique internal voucher ID that was assigned by Voucherify. | [optional] |
+| **voucher** | [**Voucher**](Voucher.md) | | [optional] |
+| **vouchers** | **Array<String>** | Contains the unique voucher codes that was assigned by Voucherify. | [optional] |