@bitrix24/b24jssdk
Version:
Bitrix24 REST API JavaScript SDK
35 lines (31 loc) • 991 B
JavaScript
/**
* @package @bitrix24/b24jssdk
* @version 2.0.0
* @copyright (c) 2026 Bitrix24
* @license MIT
* @see https://github.com/bitrix24/b24jssdk
* @see https://bitrix24.github.io/b24jssdk/
*/
;
const abstractProcessing = require('./abstract-processing.cjs');
const parseRow = require('../../parse-row.cjs');
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
class ProcessingAsArrayV3 extends abstractProcessing.AbstractProcessingV3 {
static {
__name(this, "ProcessingAsArrayV3");
}
prepareCommands(calls, options) {
const result = [];
calls.forEach((row) => {
const command = parseRow.ParseRow.getBatchCommand(row, options);
result.push(command);
});
return result;
}
_processResponseError(result, ajaxError, index) {
result.addError(ajaxError, index);
}
}
exports.ProcessingAsArrayV3 = ProcessingAsArrayV3;
//# sourceMappingURL=as-array.cjs.map