@zeplin/sdk
Version:
Zeplin API client for JavaScript
38 lines (37 loc) • 1.26 kB
TypeScript
/**
* Zeplin API
* Access your resources in Zeplin
*
* Contact: support@zeplin.io
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export declare const transformNotificationResourceToJSON: (value: NotificationResource) => any;
export declare const transformJSONToNotificationResource: (value: any) => NotificationResource;
/**
* The main object that this notification is related. It contains the ID of the object along with its type and partial data. The content of this object varies between notification types.
* @export
* @interface NotificationResource
*/
export interface NotificationResource {
/**
* The unique id of the resource (e.g. `\"5ed05ecf3356a7967b21f12b\"`)
* @type {string}
* @memberof NotificationResource
*/
id: string;
/**
* Type of the object, which is one of the API models (e.g. `\"ScreenVersion\"`)
* @type {string}
* @memberof NotificationResource
*/
type: string;
/**
* Partial data of the resource, whose content changes depending on the `type` field
* @type {object}
* @memberof NotificationResource
*/
extra: object;
}