Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function AddRecordRequest(appID, recordHashTableData) {
_classCallCheck(this, AddRecordRequest);
this.app = appID;
this.record = recordHashTableData;
}
/**
function GetFormFieldsRequest(appID, lang) {
_classCallCheck(this, GetFormFieldsRequest);
this.appID = appID;
this.lang = lang;
}
/**
function Connection() {
var _this;
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
auth = _ref.auth,
guestSpaceID = _ref.guestSpaceID;
_classCallCheck(this, Connection);
if (auth instanceof kintoneBaseJSSDK.Auth) {
var domain = window.location.host;
_this = _possibleConstructorReturn(this, _getPrototypeOf(Connection).call(this, {
domain: domain,
auth: auth,
guestSpaceID: guestSpaceID
}));
_this.kintoneAuth = auth;
} else {
var _domain = window.location.host;
var basicAuth = new kintoneBaseJSSDK.Auth();
_this = _possibleConstructorReturn(this, _getPrototypeOf(Connection).call(this, {
domain: _domain,
auth: basicAuth,
guestSpaceID: guestSpaceID
function QueryRenderer(props) {
var _this;
_classCallCheck(this, QueryRenderer);
_this = _possibleConstructorReturn(this, _getPrototypeOf(QueryRenderer).call(this, props));
_this.state = {};
_this.mutexObj = {};
return _this;
}
function CommentContent(text, mentions) {
_classCallCheck(this, CommentContent);
this.text = text;
this.mentions = mentions;
}
/**
function KintoneAPIException(httpErrCode, errorResponse) {
_classCallCheck(this, KintoneAPIException);
this.httpErrorCode = httpErrCode;
this.errorResponse = errorResponse;
}
/**
function BulkRequest() {
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
conn = _ref.connection;
_classCallCheck(this, BulkRequest);
var connection = conn;
if (!connection) {
connection = new Connection();
}
return _possibleConstructorReturn(this, _getPrototypeOf(BulkRequest).call(this, {
connection: connection
}));
}
function GetRecordRequest(appID, recordID) {
_classCallCheck(this, GetRecordRequest);
this.app = appID;
this.id = recordID;
}
/**
function UpdateRecordStatusItem(recordID, actionName, assignee, revision) {
_classCallCheck(this, UpdateRecordStatusItem);
this.recordID = recordID;
this.action = actionName;
this.assignee = assignee;
this.revision = revision;
}
/**
function BulkRequestItem(method, api, payload) {
_classCallCheck(this, BulkRequestItem);
this.method = method;
this.api = api;
this.payload = payload.toJSON ? payload.toJSON() : payload;
}
/**