[{"data":1,"prerenderedAt":2201},["ShallowReactive",2],{"navigation":3,"-docs-working-with-the-rest-api-tools-text":459,"-docs-working-with-the-rest-api-tools-text-description":2176},[4],{"title":5,"path":6,"stem":7,"children":8,"page":47},"Docs","\u002Fdocs","docs",[9,78,351],{"title":10,"path":11,"stem":12,"children":13,"restApiVersion":15,"category":15,"description":15,"badge":15},"Get Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[14,17,48,63],{"title":10,"path":11,"stem":12,"restApiVersion":15,"category":15,"description":16,"badge":15},null,"Quick start guide for working with the SDK for Bitrix24 REST API",{"title":18,"path":19,"stem":20,"children":21,"page":47},"Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation",[22,27,32,37,42],{"title":23,"path":24,"stem":25,"restApiVersion":15,"category":15,"description":26,"badge":15},"Vue","\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Fvue","docs\u002F1.getting-started\u002F2.installation\u002F1.vue","Guide for installing Bitrix24 JS SDK in Vue applications.",{"title":28,"path":29,"stem":30,"restApiVersion":15,"category":15,"description":31,"badge":15},"Nuxt","\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Fnuxt","docs\u002F1.getting-started\u002F2.installation\u002F2.nuxt","Guide for installing Bitrix24 JS SDK in Nuxt applications.",{"title":33,"path":34,"stem":35,"restApiVersion":15,"category":15,"description":36,"badge":15},"React","\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Freact","docs\u002F1.getting-started\u002F2.installation\u002F3.react","Guide for installing Bitrix24 JS SDK in React applications.",{"title":38,"path":39,"stem":40,"restApiVersion":15,"category":15,"description":41,"badge":15},"Node.js","\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Fnodejs","docs\u002F1.getting-started\u002F2.installation\u002F4.nodejs","Guide for installing Bitrix24 JS SDK in Node.js applications.",{"title":43,"path":44,"stem":45,"restApiVersion":15,"category":15,"description":46,"badge":15},"UMD","\u002Fdocs\u002Fgetting-started\u002Finstallation\u002Fumd","docs\u002F1.getting-started\u002F2.installation\u002F5.umd","Guide for using UMD version Bitrix24 JS SDK in you applications.",false,{"title":49,"restApiVersion":15,"category":15,"description":15,"badge":15,"shadow":47,"path":50,"stem":51,"children":52,"page":47},"Migration","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F3.migration",[53,58],{"title":54,"path":55,"stem":56,"restApiVersion":15,"category":15,"description":57,"badge":15},"v0 to v1","\u002Fdocs\u002Fgetting-started\u002Fmigration\u002Fv1","docs\u002F1.getting-started\u002F3.migration\u002F1.v1","A comprehensive guide to migrate your application from Bitrix24 JS SDK v0 to Bitrix24 JS SDK v1.",{"title":59,"path":60,"stem":61,"restApiVersion":15,"category":15,"description":62,"badge":15},"v2 to v3","\u002Fdocs\u002Fgetting-started\u002Fmigration\u002Fv3","docs\u002F1.getting-started\u002F3.migration\u002F2.v3","How to migrate off the deprecated REST surface that is removed in Bitrix24 JS SDK 3.0.0.",{"title":64,"restApiVersion":15,"category":15,"description":15,"badge":15,"path":65,"stem":66,"children":67,"page":47},"AI Tools","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002F7.ai",[68,73],{"title":69,"path":70,"stem":71,"restApiVersion":15,"category":15,"description":72,"badge":15},"Skills","\u002Fdocs\u002Fgetting-started\u002Fai\u002Fskills","docs\u002F1.getting-started\u002F7.ai\u002F1.skills","Task-focused skill files for AI coding agents working with @bitrix24\u002Fb24jssdk.",{"title":74,"path":75,"stem":76,"restApiVersion":15,"category":15,"description":77,"badge":15},"LLMs.txt","\u002Fdocs\u002Fgetting-started\u002Fai\u002Fllms-txt","docs\u002F1.getting-started\u002F7.ai\u002F2.llms-txt","How to get AI tools like Cursor, Windsurf, GitHub Copilot, ChatGPT, and Claude to understand Bitrix24 JS SDK methods, tools, and best practices.",{"title":79,"path":80,"stem":81,"children":82,"restApiVersion":15,"category":15,"description":15,"badge":15},"Working with the REST API","\u002Fdocs\u002Fworking-with-the-rest-api","docs\u002F2.working-with-the-rest-api\u002F0.index",[83,86,93,98,103,107,112,116,121,126,130,135,140,145,150,155,160,165,170,175,179,184,189,194,200,205,210,215,220,225,230,235,240,245,251,256,261,267,272,277,282,287,293,299,305,310,315,320,326,331,336,341,346],{"title":84,"path":80,"stem":81,"restApiVersion":15,"category":15,"description":85,"badge":15},"Introduction","Overview of SDK capabilities for working with Bitrix24 REST API",{"title":87,"path":88,"stem":89,"restApiVersion":90,"category":91,"description":92,"badge":15},"Call","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcall-rest-api-ver2","docs\u002F2.working-with-the-rest-api\u002F1.call-rest-api-ver2","rest-api-ver2","actions","A method for making Bitrix24 REST API version 2 calls.",{"title":87,"path":94,"stem":95,"restApiVersion":96,"category":91,"description":97,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcall-rest-api-ver3","docs\u002F2.working-with-the-rest-api\u002F1.call-rest-api-ver3","rest-api-ver3","Method for making Bitrix24 REST API version 3 calls.",{"title":99,"path":100,"stem":101,"restApiVersion":90,"category":91,"description":102,"badge":15},"CallList","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcall-list-rest-api-ver2","docs\u002F2.working-with-the-rest-api\u002F2.call-list-rest-api-ver2","Method for quickly retrieving all data from list methods of Bitrix24 REST API version 2.",{"title":99,"path":104,"stem":105,"restApiVersion":96,"category":91,"description":106,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcall-list-rest-api-ver3","docs\u002F2.working-with-the-rest-api\u002F2.call-list-rest-api-ver3","Method for quickly retrieving all data from list methods of Bitrix24 REST API version 3.",{"title":108,"path":109,"stem":110,"restApiVersion":90,"category":91,"description":111,"badge":15},"FetchList","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ffetch-list-rest-api-ver2","docs\u002F2.working-with-the-rest-api\u002F2.fetch-list-rest-api-ver2","Returns an AsyncGenerator that allows processing data from list methods of Bitrix24 REST API version 2 as it is received without loading the entire array into memory at once. This is especially useful when working with very large volumes of data.",{"title":108,"path":113,"stem":114,"restApiVersion":96,"category":91,"description":115,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Ffetch-list-rest-api-ver3","docs\u002F2.working-with-the-rest-api\u002F2.fetch-list-rest-api-ver3","Returns an AsyncGenerator that allows processing data from list methods of Bitrix24 REST API version 3 as it is received without loading the entire array into memory at once. This is especially useful when working with very large volumes of data.",{"title":117,"path":118,"stem":119,"restApiVersion":15,"category":117,"description":120,"badge":15},"B24Hook","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhook","docs\u002F2.working-with-the-rest-api\u002F20.hook","Server-side entry point for talking to the Bitrix24 REST API through an inbound webhook (permanent token).",{"title":122,"path":123,"stem":124,"restApiVersion":90,"category":91,"description":125,"badge":15},"Batch","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fbatch-rest-api-ver2","docs\u002F2.working-with-the-rest-api\u002F3.batch-rest-api-ver2","Method for executing batch requests to Bitrix24 REST API version 2. Allows executing up to 50 commands in a single API call.",{"title":122,"path":127,"stem":128,"restApiVersion":96,"category":91,"description":129,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fbatch-rest-api-ver3","docs\u002F2.working-with-the-rest-api\u002F3.batch-rest-api-ver3","Method for executing batch requests to Bitrix24 REST API version 3. Allows executing up to 50 commands in a single API call.",{"title":84,"path":131,"stem":132,"restApiVersion":15,"category":133,"description":134,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe","docs\u002F2.working-with-the-rest-api\u002F30.frame","B24Frame","Designed for managing Bitrix24 applications running inside a placement iframe. Inherits from AbstractB24 and exposes managers for authentication, parent-window messaging, sliders, dialogs, placements, and options.",{"title":136,"path":137,"stem":138,"restApiVersion":15,"category":133,"description":139,"badge":15},"Initialization","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-initialize-b24-frame","docs\u002F2.working-with-the-rest-api\u002F30.frame-initialize-b24-frame","Function is designed to initialize a B24Frame",{"title":141,"path":142,"stem":143,"restApiVersion":15,"category":133,"description":144,"badge":15},"Auth","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-auth","docs\u002F2.working-with-the-rest-api\u002F31.frame-auth","Designed for managing authentication in Bitrix24 applications. It handles authentication data received from the parent window and provides methods for updating and retrieving this data.",{"title":146,"path":147,"stem":148,"restApiVersion":15,"category":133,"description":149,"badge":15},"Dialog","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-dialog","docs\u002F2.working-with-the-rest-api\u002F31.frame-dialog","Wraps the BX24 system dialogs (user picker, access permission picker, CRM entity picker) so they can be opened from inside a Bitrix24 application iframe.",{"title":151,"path":152,"stem":153,"restApiVersion":15,"category":133,"description":154,"badge":15},"Options","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-options","docs\u002F2.working-with-the-rest-api\u002F31.frame-options","Used for managing application and user settings in the Bitrix24 application. It allows initializing data, getting, and setting options through messages to the parent window.",{"title":156,"path":157,"stem":158,"restApiVersion":15,"category":133,"description":159,"badge":15},"Parent","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-parent","docs\u002F2.working-with-the-rest-api\u002F31.frame-parent","Provides methods for managing the parent application window in Bitrix24, including resizing the window, managing scroll, initiating calls, and opening the messenger.",{"title":161,"path":162,"stem":163,"restApiVersion":15,"category":133,"description":164,"badge":15},"Placement","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-placement","docs\u002F2.working-with-the-rest-api\u002F31.frame-placement","Used for managing the placement of widgets in the Bitrix24 application.",{"title":166,"path":167,"stem":168,"restApiVersion":15,"category":133,"description":169,"badge":15},"Slider","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fframe-slider","docs\u002F2.working-with-the-rest-api\u002F31.frame-slider","Provides methods for working with sliders in the Bitrix24 application. It allows opening and closing sliders, as well as managing their content.",{"title":171,"path":172,"stem":173,"restApiVersion":90,"category":91,"description":174,"badge":15},"BatchByChunk","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fbatch-by-chunk-rest-api-ver2","docs\u002F2.working-with-the-rest-api\u002F4.batch-by-chunk-rest-api-ver2","Method for executing batch requests with automatic chunking for any number of commands. Automatically splits large command sets into batches of 50 and executes them sequentially. Use only arrays of tuples or arrays of objects.",{"title":171,"path":176,"stem":177,"restApiVersion":96,"category":91,"description":178,"badge":15},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Fbatch-by-chunk-rest-api-ver3","docs\u002F2.working-with-the-rest-api\u002F4.batch-by-chunk-rest-api-ver3","Method for executing batch requests to Bitrix24 REST API version 3 with automatic chunking for any number of commands. Automatically splits large command sets into batches of 50 and executes them sequentially. Use only arrays of tuples or arrays of objects.",{"title":180,"path":181,"stem":182,"restApiVersion":15,"category":180,"description":183,"badge":15},"B24OAuth","\u002Fdocs\u002Fworking-with-the-rest-api\u002Foauth","docs\u002F2.working-with-the-rest-api\u002F40.oauth","Server-side entry point for talking to the Bitrix24 REST API with an OAuth 2.0 access token (and automatic refresh).",{"title":185,"path":186,"stem":187,"restApiVersion":15,"category":15,"description":188,"badge":15},"Choosing the method","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fchoosing-the-right-method","docs\u002F2.working-with-the-rest-api\u002F5.choosing-the-right-method","Decision guide for picking between Call, CallList, FetchList, Batch and BatchByChunk in REST API v2 and v3.",{"title":190,"path":191,"stem":192,"restApiVersion":15,"category":15,"description":193,"badge":15},"Filtering","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ffiltering","docs\u002F2.working-with-the-rest-api\u002F5.filtering","Reference for building filter parameters in Bitrix24 REST API v2 (prefix operators) and v3 (array-of-triples), including date formatting and the order-stripping rule.",{"title":195,"path":196,"stem":197,"restApiVersion":15,"category":198,"description":199,"badge":15},"B24HelperManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper","docs\u002F2.working-with-the-rest-api\u002F50.helper","Helper","Aggregate manager that loads profile, app, payment, license, currency, and options data with one batched REST call, plus wires the Pull client.",{"title":201,"path":202,"stem":203,"restApiVersion":15,"category":198,"description":204,"badge":15},"useB24Helper","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-use-b24-helper","docs\u002F2.working-with-the-rest-api\u002F51.helper-use-b24-helper","Closure-based composable that owns a single B24HelperManager instance and exposes lifecycle helpers (init \u002F destroy \u002F Pull client glue).",{"title":206,"path":207,"stem":208,"restApiVersion":15,"category":198,"description":209,"badge":15},"ProfileManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-profile-manager","docs\u002F2.working-with-the-rest-api\u002F52.helper-profile-manager","Parsed `profile` REST response: id, name, last name, gender, photo, time zone, admin flag.",{"title":211,"path":212,"stem":213,"restApiVersion":15,"category":198,"description":214,"badge":15},"AppManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-app-manager","docs\u002F2.working-with-the-rest-api\u002F53.helper-app-manager","Parsed `app.info` REST response: app id, code, version, status, install flag.",{"title":216,"path":217,"stem":218,"restApiVersion":15,"category":198,"description":219,"badge":15},"PaymentManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-payment-manager","docs\u002F2.working-with-the-rest-api\u002F54.helper-payment-manager","Payment status of a Bitrix24 application — extracted from `app.info`.",{"title":221,"path":222,"stem":223,"restApiVersion":15,"category":198,"description":224,"badge":15},"LicenseManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-license-manager","docs\u002F2.working-with-the-rest-api\u002F55.helper-license-manager","Bitrix24 license info from `app.info` — and an automatic restriction-manager retune for the matching tariff plan.",{"title":226,"path":227,"stem":228,"restApiVersion":15,"category":198,"description":229,"badge":15},"CurrencyManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-currency-manager","docs\u002F2.working-with-the-rest-api\u002F56.helper-currency-manager","Currency catalogue cached in memory — base currency, per-currency formatters, and number-to-string formatter.",{"title":231,"path":232,"stem":233,"restApiVersion":15,"category":198,"description":234,"badge":15},"OptionsManager","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fhelper-options-manager","docs\u002F2.working-with-the-rest-api\u002F57.helper-options-manager","Typed access to `app.option.get` \u002F `user.option.get`, plus a save() that batches `*.option.set` with an optional Pull notification.",{"title":236,"path":237,"stem":238,"restApiVersion":15,"category":15,"description":239,"badge":15},"Errors","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ferrors","docs\u002F2.working-with-the-rest-api\u002F6.errors","Reference for SdkError and AjaxError codes raised by the SDK, plus the Bitrix24 REST error codes that surface through them.",{"title":241,"path":242,"stem":243,"restApiVersion":15,"category":241,"description":244,"badge":15},"Pull","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fpull","docs\u002F2.working-with-the-rest-api\u002F60.pull","Real-time message stream from Bitrix24 to your application — WebSocket primary, long-polling fallback. Frame-only.",{"title":246,"path":247,"stem":248,"restApiVersion":15,"category":249,"description":250,"badge":15},"Logger","\u002Fdocs\u002Fworking-with-the-rest-api\u002Flogger","docs\u002F2.working-with-the-rest-api\u002F66.logger","logger","Logger inspired by PHP Monolog, provides a structured logging system with support for channels, handlers, processors, and formatters. Implementation follows PSR-3 principles and the chain of responsibility pattern.",{"title":252,"path":253,"stem":254,"restApiVersion":15,"category":249,"description":255,"badge":15},"Telegram","\u002Fdocs\u002Fworking-with-the-rest-api\u002Flogger-telegram","docs\u002F2.working-with-the-rest-api\u002F66.logger-telegram","Sending logs to Telegram",{"title":257,"path":258,"stem":259,"restApiVersion":15,"category":15,"description":260,"badge":15},"Discovering v3 methods","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fdiscovering-v3-methods","docs\u002F2.working-with-the-rest-api\u002F7.discovering-v3-methods","Use rest.documentation.openapi to fetch the portal's own machine-readable list of every available REST API v3 method — the source of truth the SDK relies on instead of a hardcoded allowlist. Especially useful for AI agents and codegen.",{"title":262,"path":263,"stem":264,"restApiVersion":15,"category":265,"description":266,"badge":15},"AjaxResult","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcore-ajax-result","docs\u002F2.working-with-the-rest-api\u002F70.core-ajax-result","Core","Specialised Result returned by every REST helper. Provides `isMore() \u002F getNext() \u002F getTotal() \u002F getStatus()` for paged responses, and immutable data.",{"title":268,"path":269,"stem":270,"restApiVersion":15,"category":265,"description":271,"badge":15},"Http","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcore-http","docs\u002F2.working-with-the-rest-api\u002F70.core-http","Low-level transport interface returned by `b24.getHttpClient(version)`. Direct access to the axios-based clients, restriction params, statistics, and reset.",{"title":273,"path":274,"stem":275,"restApiVersion":15,"category":265,"description":276,"badge":15},"B24LangList","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcore-lang-list","docs\u002F2.working-with-the-rest-api\u002F70.core-lang-list","Enum of Bitrix24 cloud interface languages plus the BCP-47 locale map.",{"title":278,"path":279,"stem":280,"restApiVersion":15,"category":265,"description":281,"badge":15},"RequestIdGenerator","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcore-request-id-generator","docs\u002F2.working-with-the-rest-api\u002F70.core-request-id-generator","Default `IRequestIdGenerator` implementation. Generates UUID v7 request ids and exposes the header \u002F query parameter names used by the SDK.",{"title":283,"path":284,"stem":285,"restApiVersion":15,"category":265,"description":286,"badge":15},"Result","\u002Fdocs\u002Fworking-with-the-rest-api\u002Fcore-result","docs\u002F2.working-with-the-rest-api\u002F70.core-result","Generic operation result with success flag, data, and an error map. Analogue of \\\\Bitrix\\\\Main\\\\Result from the Bitrix Framework.",{"title":288,"path":289,"stem":290,"restApiVersion":15,"category":291,"description":292,"badge":15},"Limiters","\u002Fdocs\u002Fworking-with-the-rest-api\u002Flimiters","docs\u002F2.working-with-the-rest-api\u002F77.limiters","limiters","The restrictions system provides a comprehensive mechanism for managing request frequency, operation execution time, and adaptive delays.",{"title":294,"path":295,"stem":296,"restApiVersion":15,"category":297,"description":298,"badge":15},"Logging & Redaction","\u002Fdocs\u002Fworking-with-the-rest-api\u002Flogging","docs\u002F2.working-with-the-rest-api\u002F78.logging","logging","What the SDK redacts automatically before any request information enters the logger or an AjaxError, what it does not redact, and how to wire a custom logger via setLogger(...) without re-introducing credential leaks.",{"title":300,"path":301,"stem":302,"restApiVersion":15,"category":303,"description":304,"badge":15},"Browser","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-browser","docs\u002F2.working-with-the-rest-api\u002F80.tools-browser","tools","Cheap user-agent \u002F platform \u002F capability detector. Useful for runtime branches in front-end code.",{"title":306,"path":307,"stem":308,"restApiVersion":15,"category":303,"description":309,"badge":15},"Text","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-text","docs\u002F2.working-with-the-rest-api\u002F80.tools-text","Text and date utilities — UUID v4 \u002F v7, encode \u002F decode HTML entities, type conversions, case helpers, Luxon-backed `toDateTime` \u002F `toB24Format`, number formatting, and query-string builder.",{"title":311,"path":312,"stem":313,"restApiVersion":15,"category":303,"description":314,"badge":15},"Type","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-type","docs\u002F2.working-with-the-rest-api\u002F80.tools-type","Runtime type guards — strings, numbers, plain objects, arrays, DOM nodes, Blobs, FormData, JSON-RPC message shapes.",{"title":316,"path":317,"stem":318,"restApiVersion":15,"category":303,"description":319,"badge":15},"useFormatter","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-use-formatters","docs\u002F2.working-with-the-rest-api\u002F80.tools-use-formatters","Composable that returns shared `FormatterNumbers` and `FormatterIban` instances pre-configured with country specifications.",{"title":321,"path":322,"stem":323,"restApiVersion":15,"category":324,"description":325,"badge":15},"IResult","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftypes-iresult","docs\u002F2.working-with-the-rest-api\u002F90.types-iresult","Types","Generic operation-result interface. Implemented by `Result\u003CT>` and (transitively) by `AjaxResult\u003CT>`.",{"title":327,"path":328,"stem":329,"restApiVersion":15,"category":324,"description":330,"badge":15},"TypeB24","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftypes-type-b24","docs\u002F2.working-with-the-rest-api\u002F90.types-type-b24","Public contract implemented by every entry-point class (B24Frame, B24Hook, B24OAuth). Single source of truth for the SDK surface.",{"title":332,"path":333,"stem":334,"restApiVersion":15,"category":265,"description":335,"badge":15},"Telemetry","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftelemetry","docs\u002F2.working-with-the-rest-api\u002F95.telemetry","Request id, SDK version, and SDK type query parameters added to every Bitrix24 REST call.",{"title":337,"path":338,"stem":339,"restApiVersion":15,"category":265,"description":340,"badge":15},"Error Codes","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ferror-codes","docs\u002F2.working-with-the-rest-api\u002F96.error-codes","Catalogue of error codes the SDK recognises — split into \"hard\" (thrown) and \"soft\" (returned as AjaxError inside AjaxResult).",{"title":342,"path":343,"stem":344,"restApiVersion":15,"category":303,"description":345,"badge":15},"HealthCheck","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-health-check","docs\u002F2.working-with-the-rest-api\u002Ftools-health-check","Method for checking the availability of Bitrix24 REST API. Performs a simple request to the REST API to verify service health.",{"title":347,"path":348,"stem":349,"restApiVersion":15,"category":303,"description":350,"badge":15},"Ping","\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-ping","docs\u002F2.working-with-the-rest-api\u002Ftools-ping","Method for measuring Bitrix24 REST API response speed. Performs a test request and returns response time in milliseconds.",{"title":352,"path":353,"stem":354,"children":355,"restApiVersion":15,"category":15,"description":15,"badge":15},"Examples","\u002Fdocs\u002Fexamples","docs\u002F99.examples\u002F0.index",[356,358,364,369,374,379,384,389,394,399,404,409,414,419,424,429,434,439,444,449,454],{"title":84,"path":353,"stem":354,"restApiVersion":15,"category":15,"description":357,"badge":15},"Recipes that pair the SDK with realistic scenarios — CRM analytics, mass messaging, AI assistants, OAuth installs, and more. Each recipe is a single, copy-paste-friendly file.",{"title":359,"path":360,"stem":361,"restApiVersion":15,"category":362,"description":363,"badge":15},"CRM analytics","\u002Fdocs\u002Fexamples\u002Fcrm-analytics","docs\u002F99.examples\u002F1.crm-analytics","examples","Stream all deals via actions.v2.fetchList.make, group by stage, print a funnel report (counts, conversion %, avg ticket, win rate).",{"title":365,"path":366,"stem":367,"restApiVersion":15,"category":362,"description":368,"badge":15},"Deals → CSV","\u002Fdocs\u002Fexamples\u002Fdashboard-deals-csv","docs\u002F99.examples\u002F1.dashboard-deals-csv","Stream every CRM deal that matches a date filter into a CSV file using a webhook and FetchListV2.",{"title":370,"path":371,"stem":372,"restApiVersion":15,"category":15,"description":373,"badge":15},"Entity List","\u002Fdocs\u002Fexamples\u002Fentity-list","docs\u002F99.examples\u002F10.entity-list","Render a paged Bitrix24 entity list with B24UI components and the SDK callList action.",{"title":375,"path":376,"stem":377,"restApiVersion":15,"category":362,"description":378,"badge":15},"Error handling","\u002Fdocs\u002Fexamples\u002Ferror-handling","docs\u002F99.examples\u002F10.error-handling","Demonstrates the four error layers (SdkError \u002F AjaxError \u002F network \u002F soft) and the hardErrorCodes \u002F softErrorCodes \u002F retryOnNetworkError knobs on the restriction manager.",{"title":380,"path":381,"stem":382,"restApiVersion":15,"category":362,"description":383,"badge":15},"Event registration","\u002Fdocs\u002Fexamples\u002Fevent-registration","docs\u002F99.examples\u002F11.event-registration","CLI tool — list, bind, and unbind Bitrix24 outbound webhook events via event.get \u002F event.bind \u002F event.unbind. Pairs with the webhook handler recipe.",{"title":385,"path":386,"stem":387,"restApiVersion":15,"category":362,"description":388,"badge":15},"OAuth install","\u002Fdocs\u002Fexamples\u002Foauth-install","docs\u002F99.examples\u002F12.oauth-install","Express server that handles ONAPPINSTALL \u002F ONAPPUPDATE \u002F ONAPPUNINSTALL events for a Bitrix24 marketplace app, persists tokens per portal, and builds a B24OAuth client on demand with a refresh callback wired to storage.",{"title":390,"path":391,"stem":392,"restApiVersion":15,"category":362,"description":393,"badge":15},"Frame app skeleton","\u002Fdocs\u002Fexamples\u002Fframe-app-skeleton","docs\u002F99.examples\u002F2.frame-app-skeleton","Minimum viable Bitrix24 iframe app: init handshake, set title, persist app state, open a slider, close cleanly.",{"title":395,"path":396,"stem":397,"restApiVersion":15,"category":362,"description":398,"badge":15},"Mass messaging","\u002Fdocs\u002Fexamples\u002Fmass-messaging","docs\u002F99.examples\u002F2.mass-messaging","Filter contacts in CRM, personalise a template, send IM notifications to assigned managers.",{"title":400,"path":401,"stem":402,"restApiVersion":15,"category":15,"description":403,"badge":15},"Installation Wizard","\u002Fdocs\u002Fexamples\u002Fapp-installation-wizard","docs\u002F99.examples\u002F20.app-installation-wizard","Multi-step install flow that creates user fields, registers placements, finalises the installation, and celebrates with confetti.",{"title":405,"path":406,"stem":407,"restApiVersion":15,"category":362,"description":408,"badge":15},"Task automation","\u002Fdocs\u002Fexamples\u002Ftask-automation","docs\u002F99.examples\u002F3.task-automation","Poll deal stages every 60 s. When a watched transition fires, create a task with description, deadline and priority.",{"title":410,"path":411,"stem":412,"restApiVersion":15,"category":362,"description":413,"badge":15},"Webhook CLI","\u002Fdocs\u002Fexamples\u002Fwebhook-cli-node","docs\u002F99.examples\u002F3.webhook-cli-node","A 30-line Node script that authenticates against a Bitrix24 portal via inbound webhook and prints the calling user — useful as the first thing you run after creating a webhook.",{"title":415,"path":416,"stem":417,"restApiVersion":15,"category":15,"description":418,"badge":15},"Node + Hook Export","\u002Fdocs\u002Fexamples\u002Fnode-hook-company-export","docs\u002F99.examples\u002F30.node-hook-company-export","Export Bitrix24 companies into a CSV file from a pure Node.js script using B24Hook.",{"title":420,"path":421,"stem":422,"restApiVersion":15,"category":362,"description":423,"badge":15},"Bulk update","\u002Fdocs\u002Fexamples\u002Fbulk-update-deals","docs\u002F99.examples\u002F4.bulk-update-deals","Migrate thousands of CRM deals to a new stage using BatchByChunkV2 — automatic chunking, partial-error handling, and a single progress line.",{"title":425,"path":426,"stem":427,"restApiVersion":15,"category":362,"description":428,"badge":15},"ERP sync","\u002Fdocs\u002Fexamples\u002Ferp-sync","docs\u002F99.examples\u002F4.erp-sync","Two-way contact sync between Bitrix24 and an external ERP. Match by INN (primary) or email (fallback). Cron every hour.",{"title":430,"path":431,"stem":432,"restApiVersion":15,"category":362,"description":433,"badge":15},"Disk files","\u002Fdocs\u002Fexamples\u002Fdisk-files","docs\u002F99.examples\u002F5.disk-files","List storages and folder children, create subfolders, inspect files. File upload (multipart) is intentionally out of scope.",{"title":435,"path":436,"stem":437,"restApiVersion":15,"category":362,"description":438,"badge":15},"Pull subscribe","\u002Fdocs\u002Fexamples\u002Fpull-subscribe-frame","docs\u002F99.examples\u002F5.pull-subscribe-frame","Open a live channel from a Bitrix24 frame app and react to push events using useB24Helper + the Pull client.",{"title":440,"path":441,"stem":442,"restApiVersion":15,"category":362,"description":443,"badge":15},"Telegram bot","\u002Fdocs\u002Fexamples\u002Ftelegram-bot","docs\u002F99.examples\u002F6.telegram-bot","Poll new CRM deals every two minutes; notify a Telegram chat with an HTML-formatted card.",{"title":445,"path":446,"stem":447,"restApiVersion":15,"category":362,"description":448,"badge":15},"Webhook handler","\u002Fdocs\u002Fexamples\u002Fwebhook-handler","docs\u002F99.examples\u002F7.webhook-handler","Express server that receives Bitrix24 outbound events, fetches details via REST, dispatches by event name. Always returns 200.",{"title":450,"path":451,"stem":452,"restApiVersion":15,"category":362,"description":453,"badge":15},"AI assistant","\u002Fdocs\u002Fexamples\u002Fai-assistant","docs\u002F99.examples\u002F8.ai-assistant","Load a deal and its activities, ask GPT-4o for the next-best action, create a task bound to the deal with priority and deadline.",{"title":455,"path":456,"stem":457,"restApiVersion":15,"category":362,"description":458,"badge":15},"Web search + LLM","\u002Fdocs\u002Fexamples\u002Fweb-search-llm","docs\u002F99.examples\u002F9.web-search-llm","Two-step RAG: ask any web-search provider, run the result through your LLM with [N] citations, post the answer as a CRM timeline comment on a deal.",{"id":460,"title":306,"audited":461,"badge":15,"body":462,"category":303,"cookbookOrder":15,"description":309,"extension":2167,"featured":47,"links":2168,"meta":2172,"navigation":2173,"path":307,"restApiVersion":15,"scopes":15,"seo":2174,"stack":15,"stem":308,"__hash__":2175},"docs\u002Fdocs\u002F2.working-with-the-rest-api\u002F80.tools-text.md","2026-07-01",{"type":463,"value":464,"toc":2151},"minimark",[465,470,492,576,706,710,714,766,770,806,809,867,870,928,931,1005,1009,1094,1098,1124,1128,1173,1205,1328,1332,1378,1380,1383,1470,1473,1654,1657,1831,1834,2053,2057,2147],[466,467,469],"h2",{"id":468},"overview","Overview",[471,472,473,483,484,487,488,491],"p",{},[474,475,479],"code",{"className":476,"language":477,"style":478},"language-ts-type shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","ts-type","",[480,481,306],"span",{"class":482},"sBMFI"," is a singleton (",[474,485,486],{},"new TextManager()",") exported from ",[474,489,490],{},"@bitrix24\u002Fb24jssdk",". It bundles the small text- and date-related helpers the SDK relies on internally and exposes them for application code:",[493,494,495,503,517,523,543,549,566],"ul",{},[496,497,498,502],"li",{},[499,500,501],"strong",{},"Identifiers"," — random strings, a locally-generated UUID v4, and a time-ordered UUID v7 (the SDK's default request id).",[496,504,505,508,509,512,513,516],{},[499,506,507],{},"HTML entity encoding"," — ",[474,510,511],{},"encode"," \u002F ",[474,514,515],{},"decode"," in the legacy Bitrix Framework style.",[496,518,519,522],{},[499,520,521],{},"Type conversion"," — coerce arbitrary values to numbers, integers, and booleans.",[496,524,525,508,528,531,532,531,535,538,539,542],{},[499,526,527],{},"Case helpers",[474,529,530],{},"camelCase",", ",[474,533,534],{},"PascalCase",[474,536,537],{},"kebab-case",", and ",[474,540,541],{},"capitalize",".",[496,544,545,548],{},[499,546,547],{},"Number formatting"," — grouped thousands with a fixed number of decimals.",[496,550,551,508,554,561,562,565],{},[499,552,553],{},"Date helpers",[555,556,560],"a",{"href":557,"rel":558},"https:\u002F\u002Fmoment.github.io\u002Fluxon\u002F",[559],"nofollow","Luxon","-backed parsing and the ",[474,563,564],{},"yyyy-MM-dd'T'HH:mm:ssZZ"," format Bitrix24 expects in REST payloads.",[496,567,568,571,572,575],{},[499,569,570],{},"Query strings"," — build an ",[474,573,574],{},"application\u002Fx-www-form-urlencoded"," string from a plain object.",[577,578,582],"pre",{"className":579,"code":580,"language":581,"meta":478,"style":478},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { Text } from '@bitrix24\u002Fb24jssdk'\n\nconsole.log(Text.getUuidRfc4122())          \u002F\u002F '019323ac-8ace-725b-a3dc-6a7c333da066'\nconsole.log(Text.getDateForLog())           \u002F\u002F '2026-05-04 09:53:51'\nconsole.log(Text.numberFormat(1234.567, 2)) \u002F\u002F '1,234.57'\n","ts",[474,583,584,615,622,649,671],{"__ignoreMap":478},[480,585,588,592,596,600,603,606,609,612],{"class":586,"line":587},"line",1,[480,589,591],{"class":590},"s7zQu","import",[480,593,595],{"class":594},"sMK4o"," {",[480,597,599],{"class":598},"sTEyZ"," Text",[480,601,602],{"class":594}," }",[480,604,605],{"class":590}," from",[480,607,608],{"class":594}," '",[480,610,490],{"class":611},"sfazB",[480,613,614],{"class":594},"'\n",[480,616,618],{"class":586,"line":617},2,[480,619,621],{"emptyLinePlaceholder":620},true,"\n",[480,623,625,628,630,634,637,639,642,645],{"class":586,"line":624},3,[480,626,627],{"class":598},"console",[480,629,542],{"class":594},[480,631,633],{"class":632},"s2Zo4","log",[480,635,636],{"class":598},"(Text",[480,638,542],{"class":594},[480,640,641],{"class":632},"getUuidRfc4122",[480,643,644],{"class":598},"())          ",[480,646,648],{"class":647},"sHwdD","\u002F\u002F '019323ac-8ace-725b-a3dc-6a7c333da066'\n",[480,650,652,654,656,658,660,662,665,668],{"class":586,"line":651},4,[480,653,627],{"class":598},[480,655,542],{"class":594},[480,657,633],{"class":632},[480,659,636],{"class":598},[480,661,542],{"class":594},[480,663,664],{"class":632},"getDateForLog",[480,666,667],{"class":598},"())           ",[480,669,670],{"class":647},"\u002F\u002F '2026-05-04 09:53:51'\n",[480,672,674,676,678,680,682,684,687,690,694,697,700,703],{"class":586,"line":673},5,[480,675,627],{"class":598},[480,677,542],{"class":594},[480,679,633],{"class":632},[480,681,636],{"class":598},[480,683,542],{"class":594},[480,685,686],{"class":632},"numberFormat",[480,688,689],{"class":598},"(",[480,691,693],{"class":692},"sbssI","1234.567",[480,695,696],{"class":594},",",[480,698,699],{"class":692}," 2",[480,701,702],{"class":598},")) ",[480,704,705],{"class":647},"\u002F\u002F '1,234.57'\n",[466,707,709],{"id":708},"method-signature","Method Signature",[711,712,501],"h3",{"id":713},"identifiers",[577,715,717],{"className":476,"code":716,"language":477,"meta":478,"style":478},"getRandom(length?: number): string          \u002F\u002F random [a-z0-9], default length 8\ngetUniqId(): string                          \u002F\u002F UUID v4 (best-effort, local)\ngetUuidRfc4122(): string                     \u002F\u002F UUID v7 (time-ordered) — SDK default request id\n",[474,718,719,745,756],{"__ignoreMap":478},[480,720,721,724,726,730,733,736,739,742],{"class":586,"line":587},[480,722,723],{"class":482},"getRandom",[480,725,689],{"class":594},[480,727,729],{"class":728},"sHdIc","length",[480,731,732],{"class":594},"?:",[480,734,735],{"class":482}," number",[480,737,738],{"class":594},"):",[480,740,741],{"class":482}," string",[480,743,744],{"class":647},"          \u002F\u002F random [a-z0-9], default length 8\n",[480,746,747,750,753],{"class":586,"line":617},[480,748,749],{"class":632},"getUniqId",[480,751,752],{"class":598},"(): string                          ",[480,754,755],{"class":647},"\u002F\u002F UUID v4 (best-effort, local)\n",[480,757,758,760,763],{"class":586,"line":624},[480,759,641],{"class":632},[480,761,762],{"class":598},"(): string                     ",[480,764,765],{"class":647},"\u002F\u002F UUID v7 (time-ordered) — SDK default request id\n",[711,767,769],{"id":768},"entity-encoding","Entity encoding",[577,771,773],{"className":476,"code":772,"language":477,"meta":478,"style":478},"encode(value: string): string                \u002F\u002F & \u003C > ' \"  → entity codes (no trailing ;)\ndecode(value: string): string                \u002F\u002F inverse of encode, also numeric entities\n",[474,774,775,796],{"__ignoreMap":478},[480,776,777,779,781,784,787,789,791,793],{"class":586,"line":587},[480,778,511],{"class":482},[480,780,689],{"class":594},[480,782,783],{"class":728},"value",[480,785,786],{"class":594},":",[480,788,741],{"class":482},[480,790,738],{"class":594},[480,792,741],{"class":482},[480,794,795],{"class":647},"                \u002F\u002F & \u003C > ' \"  → entity codes (no trailing ;)\n",[480,797,798,800,803],{"class":586,"line":617},[480,799,515],{"class":632},[480,801,802],{"class":598},"(value: string): string                ",[480,804,805],{"class":647},"\u002F\u002F inverse of encode, also numeric entities\n",[711,807,521],{"id":808},"type-conversion",[577,810,812],{"className":476,"code":811,"language":477,"meta":478,"style":478},"toNumber(value: any): number                 \u002F\u002F 0 on parse failure\ntoInteger(value: any): number                \u002F\u002F toNumber(parseInt(value, 10))\ntoBoolean(value: any, trueValues?: string[]): boolean \u002F\u002F 'true'\u002F'y'\u002F'1'\u002F1\u002Ftrue → true\n",[474,813,814,835,846],{"__ignoreMap":478},[480,815,816,819,821,823,825,828,830,832],{"class":586,"line":587},[480,817,818],{"class":482},"toNumber",[480,820,689],{"class":594},[480,822,783],{"class":728},[480,824,786],{"class":594},[480,826,827],{"class":482}," any",[480,829,738],{"class":594},[480,831,735],{"class":482},[480,833,834],{"class":647},"                 \u002F\u002F 0 on parse failure\n",[480,836,837,840,843],{"class":586,"line":617},[480,838,839],{"class":632},"toInteger",[480,841,842],{"class":598},"(value: any): number                ",[480,844,845],{"class":647},"\u002F\u002F toNumber(parseInt(value, 10))\n",[480,847,848,851,854,856,859,861,864],{"class":586,"line":624},[480,849,850],{"class":632},"toBoolean",[480,852,853],{"class":598},"(value: any",[480,855,696],{"class":594},[480,857,858],{"class":598}," trueValues",[480,860,732],{"class":594},[480,862,863],{"class":598}," string[]): boolean ",[480,865,866],{"class":647},"\u002F\u002F 'true'\u002F'y'\u002F'1'\u002F1\u002Ftrue → true\n",[711,868,527],{"id":869},"case-helpers",[577,871,873],{"className":476,"code":872,"language":477,"meta":478,"style":478},"toCamelCase(str: string): string\ntoPascalCase(str: string): string            \u002F\u002F capitalize(toCamelCase(str))\ntoKebabCase(str: string): string\ncapitalize(str: string): string\n",[474,874,875,894,914,922],{"__ignoreMap":478},[480,876,877,880,882,885,887,889,891],{"class":586,"line":587},[480,878,879],{"class":482},"toCamelCase",[480,881,689],{"class":594},[480,883,884],{"class":728},"str",[480,886,786],{"class":594},[480,888,741],{"class":482},[480,890,738],{"class":594},[480,892,893],{"class":482}," string\n",[480,895,896,899,901,903,905,907,909,911],{"class":586,"line":617},[480,897,898],{"class":482},"toPascalCase",[480,900,689],{"class":594},[480,902,884],{"class":728},[480,904,786],{"class":594},[480,906,741],{"class":482},[480,908,738],{"class":594},[480,910,741],{"class":482},[480,912,913],{"class":647},"            \u002F\u002F capitalize(toCamelCase(str))\n",[480,915,916,919],{"class":586,"line":624},[480,917,918],{"class":632},"toKebabCase",[480,920,921],{"class":598},"(str: string): string\n",[480,923,924,926],{"class":586,"line":651},[480,925,541],{"class":632},[480,927,921],{"class":598},[711,929,547],{"id":930},"number-formatting",[577,932,934],{"className":476,"code":933,"language":477,"meta":478,"style":478},"numberFormat(\n  number: number,\n  decimals?: number,        \u002F\u002F default 0\n  decPoint?: string,        \u002F\u002F default '.'\n  thousandsSep?: string     \u002F\u002F default ','\n): string\n",[474,935,936,943,955,969,983,995],{"__ignoreMap":478},[480,937,938,940],{"class":586,"line":587},[480,939,686],{"class":482},[480,941,942],{"class":598},"(\n",[480,944,945,948,950,952],{"class":586,"line":617},[480,946,947],{"class":728},"  number",[480,949,786],{"class":594},[480,951,735],{"class":482},[480,953,954],{"class":594},",\n",[480,956,957,960,962,964,966],{"class":586,"line":624},[480,958,959],{"class":728},"  decimals",[480,961,732],{"class":594},[480,963,735],{"class":482},[480,965,696],{"class":594},[480,967,968],{"class":647},"        \u002F\u002F default 0\n",[480,970,971,974,976,978,980],{"class":586,"line":651},[480,972,973],{"class":728},"  decPoint",[480,975,732],{"class":594},[480,977,741],{"class":482},[480,979,696],{"class":594},[480,981,982],{"class":647},"        \u002F\u002F default '.'\n",[480,984,985,988,990,992],{"class":586,"line":673},[480,986,987],{"class":728},"  thousandsSep",[480,989,732],{"class":594},[480,991,741],{"class":482},[480,993,994],{"class":647},"     \u002F\u002F default ','\n",[480,996,998,1001,1003],{"class":586,"line":997},6,[480,999,1000],{"class":598},")",[480,1002,786],{"class":594},[480,1004,893],{"class":482},[711,1006,1008],{"id":1007},"date-helpers-luxon","Date helpers (Luxon)",[577,1010,1012],{"className":476,"code":1011,"language":477,"meta":478,"style":478},"toDateTime(dateString: string, template?: string, opts?: DateTimeOptions): DateTime\ntoB24Format(date: string | Date | DateTime): string   \u002F\u002F yyyy-MM-dd'T'HH:mm:ssZZ\ngetDateForLog(): string                                \u002F\u002F 'yyyy-MM-dd HH:mm:ss'\n",[474,1013,1014,1052,1084],{"__ignoreMap":478},[480,1015,1016,1019,1021,1024,1026,1028,1030,1033,1035,1037,1039,1042,1044,1047,1049],{"class":586,"line":587},[480,1017,1018],{"class":482},"toDateTime",[480,1020,689],{"class":594},[480,1022,1023],{"class":728},"dateString",[480,1025,786],{"class":594},[480,1027,741],{"class":482},[480,1029,696],{"class":594},[480,1031,1032],{"class":728}," template",[480,1034,732],{"class":594},[480,1036,741],{"class":482},[480,1038,696],{"class":594},[480,1040,1041],{"class":728}," opts",[480,1043,732],{"class":594},[480,1045,1046],{"class":482}," DateTimeOptions",[480,1048,738],{"class":594},[480,1050,1051],{"class":482}," DateTime\n",[480,1053,1054,1057,1059,1062,1064,1066,1069,1072,1074,1077,1079,1081],{"class":586,"line":617},[480,1055,1056],{"class":482},"toB24Format",[480,1058,689],{"class":594},[480,1060,1061],{"class":728},"date",[480,1063,786],{"class":594},[480,1065,741],{"class":482},[480,1067,1068],{"class":594}," |",[480,1070,1071],{"class":482}," Date",[480,1073,1068],{"class":594},[480,1075,1076],{"class":482}," DateTime",[480,1078,738],{"class":594},[480,1080,741],{"class":482},[480,1082,1083],{"class":647},"   \u002F\u002F yyyy-MM-dd'T'HH:mm:ssZZ\n",[480,1085,1086,1088,1091],{"class":586,"line":624},[480,1087,664],{"class":632},[480,1089,1090],{"class":598},"(): string                                ",[480,1092,1093],{"class":647},"\u002F\u002F 'yyyy-MM-dd HH:mm:ss'\n",[711,1095,1097],{"id":1096},"query-string","Query string",[577,1099,1101],{"className":476,"code":1100,"language":477,"meta":478,"style":478},"buildQueryString(params: any): string        \u002F\u002F application\u002Fx-www-form-urlencoded, no leading '?'\n",[474,1102,1103],{"__ignoreMap":478},[480,1104,1105,1108,1110,1113,1115,1117,1119,1121],{"class":586,"line":587},[480,1106,1107],{"class":482},"buildQueryString",[480,1109,689],{"class":594},[480,1111,1112],{"class":728},"params",[480,1114,786],{"class":594},[480,1116,827],{"class":482},[480,1118,738],{"class":594},[480,1120,741],{"class":482},[480,1122,1123],{"class":647},"        \u002F\u002F application\u002Fx-www-form-urlencoded, no leading '?'\n",[466,1125,1127],{"id":1126},"key-concepts","Key Concepts",[1129,1130,1131],"note",{},[471,1132,1133,512,1135,1137,1138,1141,1142,1145,1146,1149,1150,1152,1153,531,1156,1159,1160,1162,1163,1165,1166,1168,1169,1172],{},[474,1134,511],{},[474,1136,515],{}," deliberately omit the trailing ",[474,1139,1140],{},";"," (e.g. ",[474,1143,1144],{},"&amp"," instead of ",[474,1147,1148],{},"&amp;","). This matches the legacy Bitrix Framework behaviour. ",[474,1151,515],{}," reverses that output and also recognises the numeric entities (",[474,1154,1155],{},"&#38",[474,1157,1158],{},"&#60",", …). Because the tokens carry no ",[474,1161,1140],{},", a trailing ",[474,1164,1140],{}," in the input is left in place (",[474,1167,1148],{}," → ",[474,1170,1171],{},"&;",").",[1174,1175,1176],"caution",{},[471,1177,1178,1180,1181,1184,1185,531,1188,531,1191,531,1194,538,1197,1200,1201,1204],{},[474,1179,511],{}," is ",[499,1182,1183],{},"not"," a general-purpose HTML sanitizer. It only escapes ",[474,1186,1187],{},"&",[474,1189,1190],{},"\u003C",[474,1192,1193],{},">",[474,1195,1196],{},"'",[474,1198,1199],{},"\""," and is not context-aware — it will not stop attribute-breakout, ",[474,1202,1203],{},"javascript:"," URLs, or markup outside those five characters. Do not use it as the sole XSS defence for untrusted input rendered as HTML.",[493,1206,1207,1221,1242,1272,1288,1316],{},[496,1208,1209,1216,1217,1220],{},[499,1210,1211,512,1213,1215],{},[474,1212,723],{},[474,1214,749],{}," are not cryptographically secure."," Both are built from ",[474,1218,1219],{},"Math.random()"," — use them for cache-busting keys and disposable ids, never for tokens or secrets.",[496,1222,1223,1228,1229,531,1232,1235,1236,1168,1239,1172],{},[499,1224,1225,1227],{},[474,1226,879],{}," separators."," ",[474,1230,1231],{},"-",[474,1233,1234],{},"_",", and whitespace are treated as word boundaries; a fully uppercase input is lowercased (",[474,1237,1238],{},"'ABC'",[474,1240,1241],{},"'abc'",[496,1243,1244,1228,1249,1168,1252,1255,1256,1168,1259,1262,1263,1265,1266,1168,1269,1172],{},[499,1245,1246,1248],{},[474,1247,918],{}," splits on case boundaries.",[474,1250,1251],{},"getUserId",[474,1253,1254],{},"get-user-id"," and ",[474,1257,1258],{},"XMLHttpRequest",[474,1260,1261],{},"xml-http-request",", so ",[474,1264,530],{}," and mixed-case acronyms are handled. One edge: an uppercase run directly followed by a digit is split letter-by-letter (",[474,1267,1268],{},"parseHTML5",[474,1270,1271],{},"parse-h-t-m-l-5",[496,1273,1274,1279,1280,1283,1284,1287],{},[499,1275,1276,1278],{},[474,1277,686],{}," matches the server."," Non-finite values become ",[474,1281,1282],{},"0",", the fractional part is rounded to ",[474,1285,1286],{},"decimals"," places, and the thousands separator is inserted every three digits left of the decimal point.",[496,1289,1290,1299,1300,1303,1304,1307,1308,1311,1312,1315],{},[499,1291,1292,1294,1295,1298],{},[474,1293,1018],{}," returns a ",[474,1296,1297],{},"DateTime"," even for invalid input."," When ",[474,1301,1302],{},"template"," is provided it uses ",[474,1305,1306],{},"DateTime.fromFormat",", otherwise ",[474,1309,1310],{},"DateTime.fromISO",". Check ",[474,1313,1314],{},"result.isValid"," before use.",[496,1317,1318,1323,1324,1327],{},[499,1319,1320,1322],{},[474,1321,1056],{}," passes strings through unchanged"," (assumed already formatted); a JS ",[474,1325,1326],{},"Date"," is normalised through Luxon first.",[466,1329,1331],{"id":1330},"error-handling","Error Handling",[471,1333,1334,1335,1337,1338,512,1340,1342,1343,531,1345,1347,1348,531,1351,1347,1354,538,1357,512,1359,1361,1362,1364,1365,1367,1368,1371,1372,1374,1375,1377],{},"The ",[474,1336,306],{}," helpers do not throw for unexpected input — they degrade gracefully: ",[474,1339,818],{},[474,1341,839],{}," return ",[474,1344,1282],{},[474,1346,850],{}," returns ",[474,1349,1350],{},"false",[474,1352,1353],{},"buildQueryString(null)",[474,1355,1356],{},"''",[474,1358,511],{},[474,1360,515],{}," return non-string values untouched. ",[474,1363,1018],{}," never throws either — it returns a ",[474,1366,1297],{}," whose ",[474,1369,1370],{},"isValid"," flag is ",[474,1373,1350],{}," for unparseable input, so check ",[474,1376,1314],{}," before using the value.",[466,1379,352],{"id":362},[471,1381,1382],{},"Identifiers and request ids:",[577,1384,1386],{"className":579,"code":1385,"language":581,"meta":478,"style":478},"import { Text } from '@bitrix24\u002Fb24jssdk'\n\nText.getRandom()          \u002F\u002F 'a7f3k1z9'\nText.getRandom(4)         \u002F\u002F 'p2x8'\nText.getUniqId()          \u002F\u002F 'd2b8a1f0-3c4e-4a9b-8f7c-1e2d3a4b5c6d'  (UUID v4)\nText.getUuidRfc4122()     \u002F\u002F '019323ac-8ace-725b-a3dc-6a7c333da066'  (UUID v7)\n",[474,1387,1388,1406,1410,1424,1443,1456],{"__ignoreMap":478},[480,1389,1390,1392,1394,1396,1398,1400,1402,1404],{"class":586,"line":587},[480,1391,591],{"class":590},[480,1393,595],{"class":594},[480,1395,599],{"class":598},[480,1397,602],{"class":594},[480,1399,605],{"class":590},[480,1401,608],{"class":594},[480,1403,490],{"class":611},[480,1405,614],{"class":594},[480,1407,1408],{"class":586,"line":617},[480,1409,621],{"emptyLinePlaceholder":620},[480,1411,1412,1414,1416,1418,1421],{"class":586,"line":624},[480,1413,306],{"class":598},[480,1415,542],{"class":594},[480,1417,723],{"class":632},[480,1419,1420],{"class":598},"()          ",[480,1422,1423],{"class":647},"\u002F\u002F 'a7f3k1z9'\n",[480,1425,1426,1428,1430,1432,1434,1437,1440],{"class":586,"line":651},[480,1427,306],{"class":598},[480,1429,542],{"class":594},[480,1431,723],{"class":632},[480,1433,689],{"class":598},[480,1435,1436],{"class":692},"4",[480,1438,1439],{"class":598},")         ",[480,1441,1442],{"class":647},"\u002F\u002F 'p2x8'\n",[480,1444,1445,1447,1449,1451,1453],{"class":586,"line":673},[480,1446,306],{"class":598},[480,1448,542],{"class":594},[480,1450,749],{"class":632},[480,1452,1420],{"class":598},[480,1454,1455],{"class":647},"\u002F\u002F 'd2b8a1f0-3c4e-4a9b-8f7c-1e2d3a4b5c6d'  (UUID v4)\n",[480,1457,1458,1460,1462,1464,1467],{"class":586,"line":997},[480,1459,306],{"class":598},[480,1461,542],{"class":594},[480,1463,641],{"class":632},[480,1465,1466],{"class":598},"()     ",[480,1468,1469],{"class":647},"\u002F\u002F '019323ac-8ace-725b-a3dc-6a7c333da066'  (UUID v7)\n",[471,1471,1472],{},"Encoding and type conversion:",[577,1474,1476],{"className":579,"code":1475,"language":581,"meta":478,"style":478},"import { Text } from '@bitrix24\u002Fb24jssdk'\n\nText.encode('\u003Cb>Tom & Jerry\u003C\u002Fb>') \u002F\u002F '&ltb&gtTom &amp Jerry&lt\u002Fb&gt'\nText.decode('&ltb&gtTom &amp Jerry&lt\u002Fb&gt') \u002F\u002F '\u003Cb>Tom & Jerry\u003C\u002Fb>'\n\nText.toNumber('12.5')     \u002F\u002F 12.5\nText.toInteger('42.9')    \u002F\u002F 42\nText.toBoolean('Y')       \u002F\u002F true\nText.toBoolean('on', ['on']) \u002F\u002F true\n",[474,1477,1478,1496,1500,1523,1545,1549,1572,1596,1620],{"__ignoreMap":478},[480,1479,1480,1482,1484,1486,1488,1490,1492,1494],{"class":586,"line":587},[480,1481,591],{"class":590},[480,1483,595],{"class":594},[480,1485,599],{"class":598},[480,1487,602],{"class":594},[480,1489,605],{"class":590},[480,1491,608],{"class":594},[480,1493,490],{"class":611},[480,1495,614],{"class":594},[480,1497,1498],{"class":586,"line":617},[480,1499,621],{"emptyLinePlaceholder":620},[480,1501,1502,1504,1506,1508,1510,1512,1515,1517,1520],{"class":586,"line":624},[480,1503,306],{"class":598},[480,1505,542],{"class":594},[480,1507,511],{"class":632},[480,1509,689],{"class":598},[480,1511,1196],{"class":594},[480,1513,1514],{"class":611},"\u003Cb>Tom & Jerry\u003C\u002Fb>",[480,1516,1196],{"class":594},[480,1518,1519],{"class":598},") ",[480,1521,1522],{"class":647},"\u002F\u002F '&ltb&gtTom &amp Jerry&lt\u002Fb&gt'\n",[480,1524,1525,1527,1529,1531,1533,1535,1538,1540,1542],{"class":586,"line":651},[480,1526,306],{"class":598},[480,1528,542],{"class":594},[480,1530,515],{"class":632},[480,1532,689],{"class":598},[480,1534,1196],{"class":594},[480,1536,1537],{"class":611},"&ltb&gtTom &amp Jerry&lt\u002Fb&gt",[480,1539,1196],{"class":594},[480,1541,1519],{"class":598},[480,1543,1544],{"class":647},"\u002F\u002F '\u003Cb>Tom & Jerry\u003C\u002Fb>'\n",[480,1546,1547],{"class":586,"line":673},[480,1548,621],{"emptyLinePlaceholder":620},[480,1550,1551,1553,1555,1557,1559,1561,1564,1566,1569],{"class":586,"line":997},[480,1552,306],{"class":598},[480,1554,542],{"class":594},[480,1556,818],{"class":632},[480,1558,689],{"class":598},[480,1560,1196],{"class":594},[480,1562,1563],{"class":611},"12.5",[480,1565,1196],{"class":594},[480,1567,1568],{"class":598},")     ",[480,1570,1571],{"class":647},"\u002F\u002F 12.5\n",[480,1573,1575,1577,1579,1581,1583,1585,1588,1590,1593],{"class":586,"line":1574},7,[480,1576,306],{"class":598},[480,1578,542],{"class":594},[480,1580,839],{"class":632},[480,1582,689],{"class":598},[480,1584,1196],{"class":594},[480,1586,1587],{"class":611},"42.9",[480,1589,1196],{"class":594},[480,1591,1592],{"class":598},")    ",[480,1594,1595],{"class":647},"\u002F\u002F 42\n",[480,1597,1599,1601,1603,1605,1607,1609,1612,1614,1617],{"class":586,"line":1598},8,[480,1600,306],{"class":598},[480,1602,542],{"class":594},[480,1604,850],{"class":632},[480,1606,689],{"class":598},[480,1608,1196],{"class":594},[480,1610,1611],{"class":611},"Y",[480,1613,1196],{"class":594},[480,1615,1616],{"class":598},")       ",[480,1618,1619],{"class":647},"\u002F\u002F true\n",[480,1621,1623,1625,1627,1629,1631,1633,1636,1638,1640,1643,1645,1647,1649,1652],{"class":586,"line":1622},9,[480,1624,306],{"class":598},[480,1626,542],{"class":594},[480,1628,850],{"class":632},[480,1630,689],{"class":598},[480,1632,1196],{"class":594},[480,1634,1635],{"class":611},"on",[480,1637,1196],{"class":594},[480,1639,696],{"class":594},[480,1641,1642],{"class":598}," [",[480,1644,1196],{"class":594},[480,1646,1635],{"class":611},[480,1648,1196],{"class":594},[480,1650,1651],{"class":598},"]) ",[480,1653,1619],{"class":647},[471,1655,1656],{},"Case helpers and number formatting:",[577,1658,1660],{"className":579,"code":1659,"language":581,"meta":478,"style":478},"import { Text } from '@bitrix24\u002Fb24jssdk'\n\nText.toCamelCase('get_user_id')  \u002F\u002F 'getUserId'\nText.toPascalCase('get_user_id') \u002F\u002F 'GetUserId'\nText.toKebabCase('getUserId')    \u002F\u002F 'get-user-id'\nText.capitalize('hello')         \u002F\u002F 'Hello'\n\nText.numberFormat(1234.567, 2)           \u002F\u002F '1,234.57'\nText.numberFormat(1234.567, 2, ',', ' ') \u002F\u002F '1 234,57'\n",[474,1661,1662,1680,1684,1707,1728,1749,1771,1775,1796],{"__ignoreMap":478},[480,1663,1664,1666,1668,1670,1672,1674,1676,1678],{"class":586,"line":587},[480,1665,591],{"class":590},[480,1667,595],{"class":594},[480,1669,599],{"class":598},[480,1671,602],{"class":594},[480,1673,605],{"class":590},[480,1675,608],{"class":594},[480,1677,490],{"class":611},[480,1679,614],{"class":594},[480,1681,1682],{"class":586,"line":617},[480,1683,621],{"emptyLinePlaceholder":620},[480,1685,1686,1688,1690,1692,1694,1696,1699,1701,1704],{"class":586,"line":624},[480,1687,306],{"class":598},[480,1689,542],{"class":594},[480,1691,879],{"class":632},[480,1693,689],{"class":598},[480,1695,1196],{"class":594},[480,1697,1698],{"class":611},"get_user_id",[480,1700,1196],{"class":594},[480,1702,1703],{"class":598},")  ",[480,1705,1706],{"class":647},"\u002F\u002F 'getUserId'\n",[480,1708,1709,1711,1713,1715,1717,1719,1721,1723,1725],{"class":586,"line":651},[480,1710,306],{"class":598},[480,1712,542],{"class":594},[480,1714,898],{"class":632},[480,1716,689],{"class":598},[480,1718,1196],{"class":594},[480,1720,1698],{"class":611},[480,1722,1196],{"class":594},[480,1724,1519],{"class":598},[480,1726,1727],{"class":647},"\u002F\u002F 'GetUserId'\n",[480,1729,1730,1732,1734,1736,1738,1740,1742,1744,1746],{"class":586,"line":673},[480,1731,306],{"class":598},[480,1733,542],{"class":594},[480,1735,918],{"class":632},[480,1737,689],{"class":598},[480,1739,1196],{"class":594},[480,1741,1251],{"class":611},[480,1743,1196],{"class":594},[480,1745,1592],{"class":598},[480,1747,1748],{"class":647},"\u002F\u002F 'get-user-id'\n",[480,1750,1751,1753,1755,1757,1759,1761,1764,1766,1768],{"class":586,"line":997},[480,1752,306],{"class":598},[480,1754,542],{"class":594},[480,1756,541],{"class":632},[480,1758,689],{"class":598},[480,1760,1196],{"class":594},[480,1762,1763],{"class":611},"hello",[480,1765,1196],{"class":594},[480,1767,1439],{"class":598},[480,1769,1770],{"class":647},"\u002F\u002F 'Hello'\n",[480,1772,1773],{"class":586,"line":1574},[480,1774,621],{"emptyLinePlaceholder":620},[480,1776,1777,1779,1781,1783,1785,1787,1789,1791,1794],{"class":586,"line":1598},[480,1778,306],{"class":598},[480,1780,542],{"class":594},[480,1782,686],{"class":632},[480,1784,689],{"class":598},[480,1786,693],{"class":692},[480,1788,696],{"class":594},[480,1790,699],{"class":692},[480,1792,1793],{"class":598},")           ",[480,1795,705],{"class":647},[480,1797,1798,1800,1802,1804,1806,1808,1810,1812,1814,1816,1818,1820,1822,1824,1826,1828],{"class":586,"line":1622},[480,1799,306],{"class":598},[480,1801,542],{"class":594},[480,1803,686],{"class":632},[480,1805,689],{"class":598},[480,1807,693],{"class":692},[480,1809,696],{"class":594},[480,1811,699],{"class":692},[480,1813,696],{"class":594},[480,1815,608],{"class":594},[480,1817,696],{"class":611},[480,1819,1196],{"class":594},[480,1821,696],{"class":594},[480,1823,608],{"class":594},[480,1825,608],{"class":594},[480,1827,1519],{"class":598},[480,1829,1830],{"class":647},"\u002F\u002F '1 234,57'\n",[471,1832,1833],{},"Dates and query strings:",[577,1835,1837],{"className":579,"code":1836,"language":581,"meta":478,"style":478},"import { Text } from '@bitrix24\u002Fb24jssdk'\n\n\u002F\u002F Format a date for a REST payload\nText.toB24Format(new Date()) \u002F\u002F '2026-05-04T09:53:51+03:00'\n\n\u002F\u002F Parse an ISO string or a custom template\nconst dt = Text.toDateTime('04.05.2026', 'dd.MM.yyyy')\nif (dt.isValid) {\n  console.log(dt.toISODate()) \u002F\u002F '2026-05-04'\n}\n\n\u002F\u002F Build a query string (leading '?' is not included)\nText.buildQueryString({ id: 7, tag: ['a', 'b'] })\n\u002F\u002F 'id=7&tag%5B0%5D=a&tag%5B1%5D=b'\n",[474,1838,1839,1857,1861,1866,1887,1891,1896,1935,1951,1976,1982,1987,1993,2047],{"__ignoreMap":478},[480,1840,1841,1843,1845,1847,1849,1851,1853,1855],{"class":586,"line":587},[480,1842,591],{"class":590},[480,1844,595],{"class":594},[480,1846,599],{"class":598},[480,1848,602],{"class":594},[480,1850,605],{"class":590},[480,1852,608],{"class":594},[480,1854,490],{"class":611},[480,1856,614],{"class":594},[480,1858,1859],{"class":586,"line":617},[480,1860,621],{"emptyLinePlaceholder":620},[480,1862,1863],{"class":586,"line":624},[480,1864,1865],{"class":647},"\u002F\u002F Format a date for a REST payload\n",[480,1867,1868,1870,1872,1874,1876,1879,1881,1884],{"class":586,"line":651},[480,1869,306],{"class":598},[480,1871,542],{"class":594},[480,1873,1056],{"class":632},[480,1875,689],{"class":598},[480,1877,1878],{"class":594},"new",[480,1880,1071],{"class":632},[480,1882,1883],{"class":598},"()) ",[480,1885,1886],{"class":647},"\u002F\u002F '2026-05-04T09:53:51+03:00'\n",[480,1888,1889],{"class":586,"line":673},[480,1890,621],{"emptyLinePlaceholder":620},[480,1892,1893],{"class":586,"line":997},[480,1894,1895],{"class":647},"\u002F\u002F Parse an ISO string or a custom template\n",[480,1897,1898,1902,1905,1908,1910,1912,1914,1916,1918,1921,1923,1925,1927,1930,1932],{"class":586,"line":1574},[480,1899,1901],{"class":1900},"spNyl","const",[480,1903,1904],{"class":598}," dt ",[480,1906,1907],{"class":594},"=",[480,1909,599],{"class":598},[480,1911,542],{"class":594},[480,1913,1018],{"class":632},[480,1915,689],{"class":598},[480,1917,1196],{"class":594},[480,1919,1920],{"class":611},"04.05.2026",[480,1922,1196],{"class":594},[480,1924,696],{"class":594},[480,1926,608],{"class":594},[480,1928,1929],{"class":611},"dd.MM.yyyy",[480,1931,1196],{"class":594},[480,1933,1934],{"class":598},")\n",[480,1936,1937,1940,1943,1945,1948],{"class":586,"line":1598},[480,1938,1939],{"class":590},"if",[480,1941,1942],{"class":598}," (dt",[480,1944,542],{"class":594},[480,1946,1947],{"class":598},"isValid) ",[480,1949,1950],{"class":594},"{\n",[480,1952,1953,1956,1958,1960,1963,1966,1968,1971,1973],{"class":586,"line":1622},[480,1954,1955],{"class":598},"  console",[480,1957,542],{"class":594},[480,1959,633],{"class":632},[480,1961,689],{"class":1962},"swJcz",[480,1964,1965],{"class":598},"dt",[480,1967,542],{"class":594},[480,1969,1970],{"class":632},"toISODate",[480,1972,1883],{"class":1962},[480,1974,1975],{"class":647},"\u002F\u002F '2026-05-04'\n",[480,1977,1979],{"class":586,"line":1978},10,[480,1980,1981],{"class":594},"}\n",[480,1983,1985],{"class":586,"line":1984},11,[480,1986,621],{"emptyLinePlaceholder":620},[480,1988,1990],{"class":586,"line":1989},12,[480,1991,1992],{"class":647},"\u002F\u002F Build a query string (leading '?' is not included)\n",[480,1994,1996,1998,2000,2002,2004,2007,2010,2012,2015,2017,2020,2022,2024,2026,2028,2030,2032,2034,2037,2039,2042,2045],{"class":586,"line":1995},13,[480,1997,306],{"class":598},[480,1999,542],{"class":594},[480,2001,1107],{"class":632},[480,2003,689],{"class":598},[480,2005,2006],{"class":594},"{",[480,2008,2009],{"class":1962}," id",[480,2011,786],{"class":594},[480,2013,2014],{"class":692}," 7",[480,2016,696],{"class":594},[480,2018,2019],{"class":1962}," tag",[480,2021,786],{"class":594},[480,2023,1642],{"class":598},[480,2025,1196],{"class":594},[480,2027,555],{"class":611},[480,2029,1196],{"class":594},[480,2031,696],{"class":594},[480,2033,608],{"class":594},[480,2035,2036],{"class":611},"b",[480,2038,1196],{"class":594},[480,2040,2041],{"class":598},"] ",[480,2043,2044],{"class":594},"}",[480,2046,1934],{"class":598},[480,2048,2050],{"class":586,"line":2049},14,[480,2051,2052],{"class":647},"\u002F\u002F 'id=7&tag%5B0%5D=a&tag%5B1%5D=b'\n",[466,2054,2056],{"id":2055},"alternatives-and-recommendations","Alternatives and Recommendations",[493,2058,2059,2075,2091,2114,2127],{},[496,2060,2061,2071,2072,2074],{},[499,2062,2063,2064,2067,2068,542],{},"Prefer ",[474,2065,2066],{},"getUuidRfc4122()"," over ",[474,2069,2070],{},"getUniqId()"," The v7 identifier is time-ordered and RFC 4122-compliant, which is why the SDK uses it as the default request id. Reach for ",[474,2073,2070],{}," (UUID v4) only when you specifically need a random, non-sortable id, and for neither when you need cryptographic randomness.",[496,2076,2077,2083,2084,2086,2087,2090],{},[499,2078,2079,2080,2082],{},"Use ",[474,2081,1056],{}," for every date you send to the REST API."," Passing a raw ",[474,2085,1326],{}," or ISO string with the wrong offset is the most common cause of filter mismatches — see ",[555,2088,190],{"href":2089},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Ffiltering\u002F"," for date-range filter examples.",[496,2092,2093,1228,2101,2103,2104,2106,2107,531,2110,2113],{},[499,2094,2095,2096,542],{},"Runtime type checks live in ",[555,2097,2099],{"href":2098},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-type\u002F",[474,2100,311],{},[474,2102,306],{}," focuses on transformation; use ",[474,2105,311],{},"'s guards (",[474,2108,2109],{},"isStringFilled",[474,2111,2112],{},"isArrayFilled",", …) when you need to branch on a value's shape first.",[496,2115,2116,1228,2124,2126],{},[499,2117,2118,2119,542],{},"Locale-aware currency \u002F IBAN formatting lives in ",[555,2120,2122],{"href":2121},"\u002Fdocs\u002Fworking-with-the-rest-api\u002Ftools-use-formatters\u002F",[474,2123,316],{},[474,2125,686],{}," is a lightweight thousands-and-decimals helper; for currency, percent, or IBAN output use the dedicated formatters.",[496,2128,2129,1228,2132,2134,2135,512,2137,2139,2140,2142,2143,2146],{},[499,2130,2131],{},"Work with Luxon directly for anything richer than parsing.",[474,2133,1018],{}," is a thin wrapper over ",[474,2136,1310],{},[474,2138,1306],{},"; for arithmetic, zones, and durations import ",[474,2141,1297],{}," from ",[474,2144,2145],{},"luxon"," and operate on the returned value.",[2148,2149,2150],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":478,"searchDepth":617,"depth":617,"links":2152},[2153,2154,2163,2164,2165,2166],{"id":468,"depth":617,"text":469},{"id":708,"depth":617,"text":709,"children":2155},[2156,2157,2158,2159,2160,2161,2162],{"id":713,"depth":624,"text":501},{"id":768,"depth":624,"text":769},{"id":808,"depth":624,"text":521},{"id":869,"depth":624,"text":527},{"id":930,"depth":624,"text":547},{"id":1007,"depth":624,"text":1008},{"id":1096,"depth":624,"text":1097},{"id":1126,"depth":617,"text":1127},{"id":1330,"depth":617,"text":1331},{"id":362,"depth":617,"text":352},{"id":2055,"depth":617,"text":2056},"md",[2169],{"label":306,"iconName":2170,"to":2171},"GitHubIcon","https:\u002F\u002Fgithub.com\u002Fbitrix24\u002Fb24jssdk\u002Fblob\u002Fmain\u002Fpackages\u002Fjssdk\u002Fsrc\u002Ftools\u002Ftext.ts",{},{"title":306},{"title":306,"description":309},"8bu2k91FUSOhcrKtldG78z_VZxbvL474t0y7iPga4Ns",{"data":2177,"body":2178},{},{"type":2179,"children":2180},"root",[2181],{"type":2182,"tag":471,"props":2183,"children":2184},"element",{},[2185,2188,2193,2194,2199],{"type":2186,"value":2187},"text","Text and date utilities — UUID v4 \u002F v7, encode \u002F decode HTML entities, type conversions, case helpers, Luxon-backed ",{"type":2182,"tag":474,"props":2189,"children":2191},{"className":2190},[],[2192],{"type":2186,"value":1018},{"type":2186,"value":512},{"type":2182,"tag":474,"props":2195,"children":2197},{"className":2196},[],[2198],{"type":2186,"value":1056},{"type":2186,"value":2200},", number formatting, and query-string builder.",1782910952904]