@zeplin/sdk
Version:
Zeplin API client for JavaScript
39 lines (36 loc) • 1.46 kB
JavaScript
;
require("core-js/modules/es.object.define-property.js");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.transformWorkspaceOrganizationMemberEventContextToJSON = exports.transformJSONToWorkspaceOrganizationMemberEventContext = void 0;
var _organizationSummary = require("./organization-summary");
/* tslint:disable */
/* eslint-disable */
/**
* 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.
*/
var transformWorkspaceOrganizationMemberEventContextToJSON = function transformWorkspaceOrganizationMemberEventContextToJSON(value) {
return {
organization: (0, _organizationSummary.transformOrganizationSummaryToJSON)(value.organization)
};
};
exports.transformWorkspaceOrganizationMemberEventContextToJSON = transformWorkspaceOrganizationMemberEventContextToJSON;
var transformJSONToWorkspaceOrganizationMemberEventContext = function transformJSONToWorkspaceOrganizationMemberEventContext(value) {
return {
organization: (0, _organizationSummary.transformJSONToOrganizationSummary)(value.organization)
};
};
/**
*
* @export
* @interface WorkspaceOrganizationMemberEventContext
*/
exports.transformJSONToWorkspaceOrganizationMemberEventContext = transformJSONToWorkspaceOrganizationMemberEventContext;