|
| 1 | +/* tslint:disable */ |
| 2 | +/* eslint-disable */ |
| 3 | +/** |
| 4 | + * Zeplin API |
| 5 | + * Access your resources in Zeplin |
| 6 | + * |
| 7 | + * Contact: support@zeplin.io |
| 8 | + * |
| 9 | + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). |
| 10 | + * https://openapi-generator.tech |
| 11 | + * Do not edit the class manually. |
| 12 | + */ |
| 13 | + |
| 14 | + |
| 15 | +import { |
| 16 | + ProjectNoteCommentReactionCreatedEventResource, |
| 17 | + transformProjectNoteCommentReactionCreatedEventResourceToJSON, |
| 18 | + transformJSONToProjectNoteCommentReactionCreatedEventResource |
| 19 | +} from './project-note-comment-reaction-created-event-resource'; |
| 20 | +import { |
| 21 | + ProjectNoteCommentReactionEventContext, |
| 22 | + transformProjectNoteCommentReactionEventContextToJSON, |
| 23 | + transformJSONToProjectNoteCommentReactionEventContext |
| 24 | +} from './project-note-comment-reaction-event-context'; |
| 25 | +import { |
| 26 | + WebhookEventActor, |
| 27 | + transformWebhookEventActorToJSON, |
| 28 | + transformJSONToWebhookEventActor |
| 29 | +} from './webhook-event-actor'; |
| 30 | + |
| 31 | + |
| 32 | +export const transformProjectNoteCommentReactionCreatedEventToJSON = function (value: ProjectNoteCommentReactionCreatedEvent): any { |
| 33 | + return { |
| 34 | + event: value.event, |
| 35 | + action: value.action, |
| 36 | + timestamp: value.timestamp, |
| 37 | + resource: transformProjectNoteCommentReactionCreatedEventResourceToJSON(value.resource), |
| 38 | + context: transformProjectNoteCommentReactionEventContextToJSON(value.context), |
| 39 | + actor: transformWebhookEventActorToJSON(value.actor) |
| 40 | + } |
| 41 | +} |
| 42 | + |
| 43 | +export const transformJSONToProjectNoteCommentReactionCreatedEvent = function (value: any): ProjectNoteCommentReactionCreatedEvent { |
| 44 | + return { |
| 45 | + event: value.event, |
| 46 | + action: value.action, |
| 47 | + timestamp: value.timestamp, |
| 48 | + resource: transformJSONToProjectNoteCommentReactionCreatedEventResource(value.resource), |
| 49 | + context: transformJSONToProjectNoteCommentReactionEventContext(value.context), |
| 50 | + actor: transformJSONToWebhookEventActor(value.actor) |
| 51 | + } |
| 52 | +} |
| 53 | + |
| 54 | +/** |
| 55 | + * |
| 56 | + * @export |
| 57 | + * @interface ProjectNoteCommentReactionCreatedEvent |
| 58 | + */ |
| 59 | +export interface ProjectNoteCommentReactionCreatedEvent { |
| 60 | + /** |
| 61 | + * |
| 62 | + * @type {string} |
| 63 | + * @memberof ProjectNoteCommentReactionCreatedEvent |
| 64 | + */ |
| 65 | + event: 'project.note.comment.reaction'; |
| 66 | + /** |
| 67 | + * |
| 68 | + * @type {string} |
| 69 | + * @memberof ProjectNoteCommentReactionCreatedEvent |
| 70 | + */ |
| 71 | + action: 'created'; |
| 72 | + /** |
| 73 | + * |
| 74 | + * @type {number} |
| 75 | + * @memberof ProjectNoteCommentReactionCreatedEvent |
| 76 | + */ |
| 77 | + timestamp: number; |
| 78 | + /** |
| 79 | + * |
| 80 | + * @type {ProjectNoteCommentReactionCreatedEventResource} |
| 81 | + * @memberof ProjectNoteCommentReactionCreatedEvent |
| 82 | + */ |
| 83 | + resource: ProjectNoteCommentReactionCreatedEventResource; |
| 84 | + /** |
| 85 | + * |
| 86 | + * @type {ProjectNoteCommentReactionEventContext} |
| 87 | + * @memberof ProjectNoteCommentReactionCreatedEvent |
| 88 | + */ |
| 89 | + context: ProjectNoteCommentReactionEventContext; |
| 90 | + /** |
| 91 | + * |
| 92 | + * @type {WebhookEventActor} |
| 93 | + * @memberof ProjectNoteCommentReactionCreatedEvent |
| 94 | + */ |
| 95 | + actor: WebhookEventActor; |
| 96 | +} |
| 97 | + |
| 98 | + |
0 commit comments