@bitrix24/b24jssdk
Version:
Bitrix24 REST API JavaScript SDK
33 lines (30 loc) • 923 B
JavaScript
/**
* @package @bitrix24/b24jssdk
* @version 1.0.5
* @copyright (c) 2026 Bitrix24
* @license MIT
* @see https://github.com/bitrix24/b24jssdk
* @see https://bitrix24.github.io/b24jssdk/
*/
import { AbstractProcessingV2 } from './abstract-processing.mjs';
import { ParseRow } from '../../parse-row.mjs';
var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
class ProcessingAsArrayV2 extends AbstractProcessingV2 {
static {
__name(this, "ProcessingAsArrayV2");
}
prepareCommands(calls, options) {
const result = [];
calls.forEach((row) => {
const command = ParseRow.getBatchCommand(row, options);
result.push(command);
});
return result;
}
_processResponseError(result, ajaxError, _index) {
result.addError(ajaxError);
}
}
export { ProcessingAsArrayV2 };
//# sourceMappingURL=as-array.mjs.map