docs/AddLibraryItemRequest.md in ultracart_api-3.10.220 vs docs/AddLibraryItemRequest.md in ultracart_api-4.0.32.rc

- old
+ new

@@ -1,18 +1,38 @@ -# UltracartClient::AddLibraryItemRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attributes** | [**Array<LibraryItemAttribute>**](LibraryItemAttribute.md) | Attributes associated with the library item to contain additional configuration. | [optional] -**cjson** | **String** | Cjson to be added to library | [optional] -**content_type** | **String** | flow, campaign, cjson, email, transactional_email, postcard or upsell | [optional] -**description** | **String** | description of library item | [optional] -**email_name** | **String** | Required if content_type is transactional_email. This is the name of the email template (html, not text). This name should have a .vm file extension. An example is auto_order_cancel_html.vm | [optional] -**email_path** | **String** | Required if content_type is transactional_email. This is the full path to the email template stored in the file system. This defines which StoreFront contains the desired email template. An example is /themes/Elements/core/emails/auto_order_cancel_html.vm | [optional] -**screenshots** | [**Array<LibraryItemScreenshot>**](LibraryItemScreenshot.md) | Screenshot urls for display | [optional] -**storefront_oid** | **Integer** | StoreFront oid where content originates necessary for tracking down relative assets | [optional] -**title** | **String** | title of library item, usually the name of the flow or campaign, or description of cjson | [optional] -**upsell_offer_oid** | **Integer** | Required if content_type is upsell. This is object identifier of a StoreFront Upsell Offer. | [optional] -**uuid** | **String** | UUID of communication flow, campaign, email, postcard, or null if this item is something else. transactional_email do not have a uuid because they are singleton objects within a storefront and easily identifiable by name | [optional] - - +# UltracartClient::AddLibraryItemRequest + +## Properties + +| Name | Type | Description | Notes | +| ---- | ---- | ----------- | ----- | +| **attributes** | [**Array<LibraryItemAttribute>**](LibraryItemAttribute.md) | Attributes associated with the library item to contain additional configuration. | [optional] | +| **cjson** | **String** | Cjson to be added to library | [optional] | +| **content_type** | **String** | flow, campaign, cjson, email, transactional_email, postcard or upsell | [optional] | +| **description** | **String** | description of library item | [optional] | +| **email_name** | **String** | Required if content_type is transactional_email. This is the name of the email template (html, not text). This name should have a .vm file extension. An example is auto_order_cancel_html.vm | [optional] | +| **email_path** | **String** | Required if content_type is transactional_email. This is the full path to the email template stored in the file system. This defines which StoreFront contains the desired email template. An example is /themes/Elements/core/emails/auto_order_cancel_html.vm | [optional] | +| **screenshots** | [**Array<LibraryItemScreenshot>**](LibraryItemScreenshot.md) | Screenshot urls for display | [optional] | +| **storefront_oid** | **Integer** | StoreFront oid where content originates necessary for tracking down relative assets | [optional] | +| **title** | **String** | title of library item, usually the name of the flow or campaign, or description of cjson | [optional] | +| **upsell_offer_oid** | **Integer** | Required if content_type is upsell. This is object identifier of a StoreFront Upsell Offer. | [optional] | +| **uuid** | **String** | UUID of communication flow, campaign, email, postcard, or null if this item is something else. transactional_email do not have a uuid because they are singleton objects within a storefront and easily identifiable by name | [optional] | + +## Example + +```ruby +require 'ultracart_api' + +instance = UltracartClient::AddLibraryItemRequest.new( + attributes: null, + cjson: null, + content_type: null, + description: null, + email_name: null, + email_path: null, + screenshots: null, + storefront_oid: null, + title: null, + upsell_offer_oid: null, + uuid: null +) +``` +