From b2b6a6c93e11706c53e065e894bfdc8a1304c97d Mon Sep 17 00:00:00 2001 From: Dmitriy Ignatenko Date: Tue, 25 Aug 2026 10:05:23 +0400 Subject: [PATCH] This is the first implementation for catalog.storeproduct methods --- .tasks/584/plan.md | 484 ++++++++++++++++++ CHANGELOG.md | 5 + Makefile | 4 + docs/open-api/openapi.json | 2 +- docs/testing.md | 1 + phpunit.xml.dist | 3 + rector.php | 3 +- .../Catalog/CatalogServiceBuilder.php | 12 + .../Result/StoreProductFieldsResult.php | 29 ++ .../Result/StoreProductItemResult.php | 27 + .../Result/StoreProductResult.php | 26 + .../Result/StoreProductsResult.php | 42 ++ .../StoreProduct/Service/StoreProduct.php | 92 ++++ .../Result/StoreProductItemResultTest.php | 71 +++ .../StoreProduct/Service/StoreProductTest.php | 98 ++++ .../StoreProduct/Service/StoreProductTest.php | 97 ++++ 16 files changed, 993 insertions(+), 3 deletions(-) create mode 100644 .tasks/584/plan.md create mode 100644 src/Services/Catalog/StoreProduct/Result/StoreProductFieldsResult.php create mode 100644 src/Services/Catalog/StoreProduct/Result/StoreProductItemResult.php create mode 100644 src/Services/Catalog/StoreProduct/Result/StoreProductResult.php create mode 100644 src/Services/Catalog/StoreProduct/Result/StoreProductsResult.php create mode 100644 src/Services/Catalog/StoreProduct/Service/StoreProduct.php create mode 100644 tests/Integration/Services/Catalog/StoreProduct/Result/StoreProductItemResultTest.php create mode 100644 tests/Integration/Services/Catalog/StoreProduct/Service/StoreProductTest.php create mode 100644 tests/Unit/Services/Catalog/StoreProduct/Service/StoreProductTest.php diff --git a/.tasks/584/plan.md b/.tasks/584/plan.md new file mode 100644 index 00000000..43376582 --- /dev/null +++ b/.tasks/584/plan.md @@ -0,0 +1,484 @@ +# Plan: Add `catalog.storeproduct.*` methods support (issue #584) + +## Context + +The `catalog.storeproduct` entity represents product stock/quantity records per warehouse +(store). It is a **read-only** entity in the Bitrix24 REST API — only three methods exist, +confirmed via `mcp__Bitrix24_REST_API__bitrix-method-details` and a live webhook call against +`https://ignatenko.bitrix24.com`: + +- `catalog.storeproduct.get(id)` — returns a single `storeProduct` record by its record id. + https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-get.html +- `catalog.storeproduct.list(select, filter, order)` — returns a filtered/ordered list of + `storeProduct` records plus `total`. The `order` parameter is not documented in the + "Parameters" table but works in practice (verified live) and is used in the official PHP + example, matching the `ProductPropertySection::list()` precedent. + https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-list.html +- `catalog.storeproduct.getFields()` — returns field metadata wrapped in a `storeProduct` key + (same envelope shape as `catalog.priceType.getFields`). + https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-get-fields.html + +No `add`/`update`/`delete` methods exist for this entity (verified against docs — stock is +managed via `catalog.document.*` warehouse accounting documents, not directly). + +### Confirmed field set (live response + docs match exactly) + +| Field | Bitrix type | PHP annotation | Nullable | +|---|---|---|---| +| `id` | integer | `int` | no | +| `productId` | integer | `int` | no | +| `storeId` | integer | `int` | no | +| `amount` | double | `float` | no | +| `quantityReserved` | double | `float\|null` | yes (observed `null` live) | + +All fields are `isReadOnly: true` per `getFields()`. + +### Response envelope keys + +- `get` → `result.storeProduct` (single object) +- `list` → `result.storeProducts` (array) + `result.total` (sibling key, not nested) +- `getFields` → `result.storeProduct` (field-description map, same key name as `get` but + different shape — this matches the `catalog.priceType.getFields` → `result.priceType` + precedent, so a dedicated `StoreProductFieldsResult` class is required; the generic + `Core\Result\FieldsResult` cannot be reused because it reads the top-level `result` directly) + +### Architectural decisions + +- **No Batch class.** The entity is read-only (`get`/`list`/`getFields` only, no + add/update/delete), matching the existing `ProductPropertySection` and `Measure` scopes in + this codebase, neither of which has a `Batch.php` or constructor-injected batch dependency. + No other read-only Catalog scope uses `Core\Batch::getTraversableList()` for bulk `list` + reading, so this plan does not introduce one either — consistent with precedent. +- **Result-item generator not used.** `docs/open-api/openapi.json` (rebuilt via + `make oa-schema-build`) has no `catalog_storeproduct` schema entry, so + `b24-dev:result-item-generator` has no source to run against. `StoreProductItemResult` is + written manually following the `PriceTypeItemResult` / `ProductPropertySectionItemResult` + pattern (5 flat scalar fields, no nested objects, no dates — no `SelectBuilder`/`ItemBuilder` + generator applies either, since those are for CRM smart-process-like entities with typed + builders and this scope's `list()`/`getFields()` are hand-rolled elsewhere in Catalog too). +- Field naming stays exactly as returned by the API (`productId`, `storeId`, `quantityReserved` + — camelCase, not the CRM `UPPER_SNAKE` convention), matching `PriceTypeItemResult`. + +--- + +## Files to Create + +### 1. `src/Services/Catalog/StoreProduct/Result/StoreProductItemResult.php` + +```php +getCoreResponse()->getResponseData()->getResult()['storeProduct'] + ); + } +} +``` + +### 3. `src/Services/Catalog/StoreProduct/Result/StoreProductsResult.php` + +```php +getCoreResponse()->getResponseData()->getResult()['storeProducts'] as $item) { + $res[] = new StoreProductItemResult($item); + } + + return $res; + } + + /** + * @throws BaseException + */ + public function getTotal(): int + { + return $this->getCoreResponse()->getResponseData()->getPagination()->getTotal() ?? 0; + } +} +``` + +Confirmed accessor by precedent: `Catalog\Measure\Result\MeasuresResult::getTotal()` and +`Catalog\Extra\Result\ExtrasResult` both read the top-level `total` via +`getResponseData()->getPagination()->getTotal()`, not via `getResult()['total']`. Follow the +same pattern here. + +### 4. `src/Services/Catalog/StoreProduct/Result/StoreProductFieldsResult.php` + +```php +> + * @throws BaseException + */ + public function getFieldsDescription(): array + { + return $this->getCoreResponse()->getResponseData()->getResult()['storeProduct']; + } +} +``` + +### 5. `src/Services/Catalog/StoreProduct/Service/StoreProduct.php` + +```php +guardPositiveId($id); + + return new StoreProductResult($this->core->call('catalog.storeproduct.get', ['id' => $id])); + } + + /** + * Returns a list of product stock records by filter. + * + * @link https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-list.html + * + * @param string[] $select + * @param array $filter + * @param array $order + * + * @throws BaseException + * @throws TransportException + */ + #[ApiEndpointMetadata( + 'catalog.storeproduct.list', + 'https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-list.html', + 'Returns a list of product stock records by filter.' + )] + public function list(array $select = [], array $filter = [], array $order = []): StoreProductsResult + { + return new StoreProductsResult($this->core->call('catalog.storeproduct.list', [ + 'select' => $select, + 'filter' => $filter, + 'order' => $order, + ])); + } + + /** + * Returns the fields of product stock records. + * + * @link https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-get-fields.html + * + * @throws BaseException + * @throws TransportException + */ + #[ApiEndpointMetadata( + 'catalog.storeproduct.getFields', + 'https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-get-fields.html', + 'Returns the fields of product stock records.' + )] + public function getFields(): StoreProductFieldsResult + { + return new StoreProductFieldsResult($this->core->call('catalog.storeproduct.getFields')); + } +} +``` + +### 6. `tests/Unit/Services/Catalog/StoreProduct/Service/StoreProductTest.php` + +Mirrors `tests/Unit/Services/Catalog/ProductPropertySection/Service/ProductPropertySectionTest.php`: +mock `CoreInterface::call` and assert exact method name + params for `get`, `list` (with args +and with defaults), `getFields`. + +### 7. `tests/Integration/Services/Catalog/StoreProduct/Service/StoreProductTest.php` + +```php +storeProductService->list()->getStoreProducts(); + $this->assertNotEmpty($items, 'integration portal must have at least one product with stock'); + $this->assertGreaterThan(0, $this->storeProductService->list()->getTotal()); + } + + #[TestDox('test StoreProduct::get returns the same record as list')] + public function testGet(): void + { + $listItem = $this->storeProductService->list()->getStoreProducts()[0]; + $getItem = $this->storeProductService->get($listItem->id)->storeProduct(); + $this->assertEquals($listItem->id, $getItem->id); + $this->assertEquals($listItem->productId, $getItem->productId); + $this->assertEquals($listItem->storeId, $getItem->storeId); + } + + #[TestDox('test StoreProduct::getFields')] + public function testGetFields(): void + { + $fields = $this->storeProductService->getFields()->getFieldsDescription(); + $this->assertArrayHasKey('id', $fields); + $this->assertArrayHasKey('productId', $fields); + $this->assertArrayHasKey('storeId', $fields); + $this->assertArrayHasKey('amount', $fields); + $this->assertArrayHasKey('quantityReserved', $fields); + } + + #[\Override] + protected function setUp(): void + { + $this->storeProductService = Factory::getServiceBuilder()->getCatalogScope()->storeProduct(); + } +} +``` + +Fixture strategy confirmed live: the integration portal already has 1 store (`id=1`, +`title=Warehouse`) and at least one `storeProduct` row (`productId=133`, `storeId=1`, +`amount=10`), so no `setUp()`/`tearDown()` fixture creation is needed — tests read existing +stock data directly via `list()`, consistent with the entity being read-only. + +### 8. `tests/Integration/Services/Catalog/StoreProduct/Result/StoreProductItemResultTest.php` + +Mandatory annotation/type-cast test, following the template in `SKILL.md`: + +```php +storeProductService->list()->getCoreResponse() + ->getResponseData()->getResult()['storeProducts'][0]; + + $this->assertBitrix24AllResultItemFieldsAnnotated( + array_keys($rawItem), + StoreProductItemResult::class + ); + } + + #[Test] + #[TestDox('all fields in StoreProductItemResult have valid type casting in magic getters')] + public function testAllFieldsHasValidTypeCastingInMagicGetters(): void + { + $item = $this->storeProductService->list()->getStoreProducts()[0]; + $this->assertBitrix24ResultItemFieldsTypeCastMatchAnnotations( + $item, + StoreProductItemResult::class + ); + } + + #[\Override] + protected function setUp(): void + { + $this->storeProductService = Factory::getServiceBuilder()->getCatalogScope()->storeProduct(); + } +} +``` + +Depends on the pre-existing `storeProduct` record on the integration portal (confirmed live: +portal returns one row for `productId=133`/`storeId=1`), so no setUp/tearDown fixture creation +is required for this file. + +--- + +## Files to Modify + +### 1. `src/Services/Catalog/CatalogServiceBuilder.php` + +Add, following the `productPropertySection()` pattern (no batch): + +```php +public function storeProduct(): Catalog\StoreProduct\Service\StoreProduct +{ + if (!isset($this->serviceCache[__METHOD__])) { + $this->serviceCache[__METHOD__] = new Catalog\StoreProduct\Service\StoreProduct( + $this->core, + $this->log + ); + } + + return $this->serviceCache[__METHOD__]; +} +``` + +### 2. `phpunit.xml.dist` + +Add after the `integration_tests_scope_catalog_product_property_section` suite block +(before `integration_tests_catalog_document`), around line 574: + +```xml + + ./tests/Integration/Services/Catalog/StoreProduct/ + +``` + +### 3. `Makefile` + +Add after the `test-integration-scope-catalog-product-property-section` target, before the +`test-integration-catalog-document` target: + +```makefile +.PHONY: test-integration-catalog-store-product +test-integration-catalog-store-product: + docker compose run --rm php-cli $(PHPUNIT) --testsuite integration_tests_catalog_store_product +``` + +Also add a doc-table row under the "Tests — integration (Catalog)" section in `docs/testing.md` +(existing table already lists `catalog-price`, `catalog-document`, etc.): + +```markdown +| `make test-integration-catalog-store-product` | Product stock by warehouse | +``` + +### 4. `CHANGELOG.md` + +Add under `## Unreleased` → `### Added`, as the first entry (top of the list): + +```markdown +- Added service `Services\Catalog\StoreProduct` with support methods, + see [catalog.storeproduct.* methods](https://apidocs.bitrix24.com/api-reference/catalog/store-product/index.html) ([#584](https://github.com/bitrix24/b24phpsdk/issues/584)): + - `get` returns product stock information by record identifier + - `list` returns a list of product stock records by filter + - `getFields` returns the description of product stock fields +``` + +--- + +## Deptrac compliance + +New code lives entirely in `Services\Catalog\StoreProduct\*` (a `Services` sub-namespace) and +only imports from `Core` (`AbstractAnnotatedItem`, `AbstractResult`, `CoreInterface` via +`AbstractService`, exceptions) and `Services\AbstractService`/`Services\Catalog` itself — same +dependency shape as every existing Catalog service. No new deptrac violation is introduced; no +`skip_violations` entry needed. + +--- + +## Verification + +```bash +make lint-cs-fixer +make lint-rector +make lint-phpstan +make lint-deptrac +make test-unit +make test-integration-catalog-store-product +``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 4196370d..4131c6c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ ### Added +- Added service `Services\Catalog\StoreProduct` with support methods, + see [catalog.storeproduct.* methods](https://apidocs.bitrix24.com/api-reference/catalog/store-product/index.html) ([#584](https://github.com/bitrix24/b24phpsdk/issues/584)): + - `get` returns product stock information by record identifier + - `list` returns a list of product stock records by filter + - `getFields` returns the description of product stock fields - Added service `Services\Catalog\Document` with support methods, see [catalog.document.* methods](https://apidocs.bitrix24.com/api-reference/catalog/document/index.html) ([#559](https://github.com/bitrix24/b24phpsdk/issues/559)): - `add` creates a new warehouse accounting document, with batch calls support diff --git a/Makefile b/Makefile index 3488eaf6..dc4cc1a8 100644 --- a/Makefile +++ b/Makefile @@ -943,6 +943,10 @@ test-integration-catalog-document-element: test-integration-catalog-document-element-annotations: docker compose run --rm php-cli $(PHPUNIT) --testsuite integration_tests_catalog_document_element_annotations +.PHONY: test-integration-catalog-store-product +test-integration-catalog-store-product: + docker compose run --rm php-cli $(PHPUNIT) --testsuite integration_tests_catalog_store_product + # work dev environment .PHONY: php-dev-server-up php-dev-server-up: diff --git a/docs/open-api/openapi.json b/docs/open-api/openapi.json index 7bd96ea4..5ca29431 100644 --- a/docs/open-api/openapi.json +++ b/docs/open-api/openapi.json @@ -1 +1 @@ -{"openapi":"3.0.0","info":{"title":"Bitrix24 REST V3 API","version":"1.0.0"},"servers":[],"tags":[{"name":"call","description":"call module methods"},{"name":"humanresources","description":"humanresources module methods"},{"name":"mail","description":"mail module methods"},{"name":"main","description":"main module methods"},{"name":"note","description":"note module methods"},{"name":"rest","description":"rest module methods"},{"name":"tasks","description":"tasks module methods"},{"name":"timeman","description":"timeman module methods"},{"name":"vibecodeconnector","description":"vibecodeconnector module methods"}],"paths":{"\/call.followup.get":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"callId":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["callId","callType","initiatorId","startDate","endDate","durationSeconds","uuid","language","version","participants","outcomes","createdAt","tracks","transcription","overview","summary","insights","evaluation"]},"mentionFormat":{"type":"string","example":"string"}},"required":["callId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/call.followup.list":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["callId","callType","initiatorId","startDate","endDate","durationSeconds","uuid","language","version","participants","outcomes","createdAt","tracks","transcription","overview","summary","insights","evaluation"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}},"mentionFormat":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.search":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["userId","name","workPosition","avatar","url","departments","teams"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.employeedto"}}}}}}}}}},"\/humanresources.employee.subordinates":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["userId","name","workPosition","avatar","url","departments","teams"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.count":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.multidepartment":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}}},"\/humanresources.node.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"name":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}},"\/humanresources.node.search":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"name":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}},"\/humanresources.node.count":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.children":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}},"\/humanresources.node.add":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.edit":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.move":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.communication.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.communication.edit":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.move":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.remove":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.add":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.set":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.mailbox.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}}},"\/mail.mailbox.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}},"\/mail.mailbox.senders":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}},"\/mail.message.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.mail.messagedto"}}}}}}}}}}},"\/mail.message.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.messagedto"}}}}}}}}}},"\/mail.message.send":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.reply":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.forward":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createcrmactivity":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/mail.message.removecrmactivity":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/mail.message.thread":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.movetofolder":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createtask":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createcalendarevent":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createchat":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createfeedpost":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.recipient.listcontacts":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","email","name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.recipientdto"}}}}}}}}}},"\/mail.recipient.listemployees":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","email","name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.recipientdto"}}}}}}}}}},"\/main.eventlog.list":{"post":{"summary":"Get record list","description":"Retrieves a list of specified records.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"timestampX":{"type":"string","example":"ASC"},"auditTypeId":{"type":"string","example":"ASC"},"userId":{"type":"string","example":"ASC"},"guestId":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}},"\/main.eventlog.get":{"post":{"summary":"Get record","description":"Retrieves a record by the specified ID.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}}},"\/main.eventlog.tail":{"post":{"summary":"Get recent records","description":"Retrieves the most recent records.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]},"filter":{"type":"array"},"cursor":{"type":"object","example":{"field":"id","value":0,"order":"ASC"}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}},"\/note.collection.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"afterCursor":{"type":"object","properties":{"position":{"type":"integer"},"id":{"type":"integer"}}}}}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}},"nextCursor":{"type":"object","nullable":true,"properties":{"position":{"type":"integer"},"id":{"type":"integer"}}}}}}}}}}}}},"\/note.collection.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","name","position","policyLevel","createdBy","createdAt","updatedBy","updatedAt"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"name":{"type":"string"},"position":{"type":"integer","format":"int64"}},"required":["name"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.update":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.archive":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.collection.delete":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","collectionId","parentId","title","markdown","position","createdBy","updatedBy","createdAt","updatedAt"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"collectionId":{"type":"integer","format":"int64"},"parentId":{"type":"integer","format":"int64"},"title":{"type":"string"},"markdown":{"type":"string"}},"required":["collectionId","title"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.update":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"overwrite":{"type":"boolean","example":true},"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"markdown":{"type":"string"}}},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.archive":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.delete":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.tree.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","required":["collectionId"],"properties":{"collectionId":{"type":"integer"}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.documenttreeitemdto"}},"truncated":{"type":"boolean"}}}}},"example":{"result":{"items":[{"id":10,"collectionId":123,"parentId":null,"title":"Введение","position":1,"children":[{"id":11,"collectionId":123,"parentId":10,"title":"Глава 1","position":1,"children":[]}]}],"truncated":false}}}}}}}},"\/note.document.search.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"}}}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.searchresultitemdto"}},"hasMore":{"type":"boolean"}}}}}}}}}}},"\/note.file.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"documentId":{"type":"integer","example":1},"fileName":{"type":"string","example":"string"},"fileContent":{"type":"string","example":"string"}},"required":["documentId","fileName","fileContent"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.fileitemdto"}}}}}}}}}}},"\/note.file.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"documentId":{"type":"integer","example":1}},"required":["id","documentId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.fileitemdto"}}}}}}}}}}},"\/rest.scope.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filterModule":{"type":"string","example":"string"},"filterController":{"type":"string","example":"string"},"filterMethod":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.documentation.openapi":{"post":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/call.followup.field.list":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/call.followup.field.get":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.employee.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/humanresources.employee.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.node.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/humanresources.node.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.node.member.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/humanresources.node.member.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.mailbox.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/mail.mailbox.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.message.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/mail.message.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.recipient.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/mail.recipient.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.eventlog.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/main.eventlog.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.collection.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.collection.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.document.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.tree.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.document.tree.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.search.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.document.search.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.file.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/note.file.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.app.scoperequest.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.app.scoperequest.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.incomingwebhook.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.incomingwebhook.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.access.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.access.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.embedding.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.embedding.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.local.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.local.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.personal.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.personal.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.placement.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/rest.application.placement.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/tasks.task.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.chat.message.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/tasks.task.chat.message.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.result.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/tasks.task.result.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/timeman.record.field.list":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/timeman.record.field.get":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.app.scoperequest.add":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"scopes":{"type":"array"},"comment":{"type":"string"}},"required":["scopes","comment"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}}},"\/rest.app.scoperequest.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","appId","scopes","status","currentState","comment","createdAt","history"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}}},"\/rest.app.scoperequest.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","appId","scopes","status","currentState","comment","createdAt","history"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}},"\/rest.application.getbyclientid":{"post":{"summary":"Returns the application by OAuth client ID","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"}}}}}}}}}}},"\/rest.application.list":{"post":{"summary":"Returns a list of installed applications","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"clientId":{"type":"string","example":"ASC"},"title":{"type":"string","example":"ASC"},"version":{"type":"string","example":"ASC"},"dateCreate":{"type":"string","example":"ASC"},"dateInstall":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}},"required":["attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"}}}}}}}}}},"\/rest.incomingwebhook.add":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"scopes":{"type":"array"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["url","scopes","title","active","userId","dateCreate","attributes"]}},"required":["title","scopes","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.incomingwebhookdto"}}}}}}}}}}},"\/rest.incomingwebhook.update":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"scopes":{"type":"array"},"title":{"type":"string"}}}},"required":["id","fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.incomingwebhook.delete":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.incomingwebhook.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["url","scopes","title","active","userId","dateCreate","attributes"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"dateCreate":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.incomingwebhookdto"}}}}}}}}}},"\/rest.application.access.set":{"post":{"summary":"Sets the application access codes","description":"Replaces all existing access codes for the application with the provided ones.\n\t\tFor personal applications, the owner user access code is always added to the saved access codes.\n\t\tAccess codes define which users or groups can use the application.\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tFor shared applications, if no access codes are set, the application is available to everyone.\n\t\tFor personal applications, if no access codes are set, only the owner and administrators have access.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022codes\u0022: [\u0022UA\u0022, \u0022D1\u0022]\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"codes":{"type":"array","items":{"type":"string"}}},"required":["clientId","codes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.delete":{"post":{"summary":"Deletes the application access codes","description":"Removes specified access codes from the application.\n\t\tOnly the provided codes are removed; other existing codes remain unchanged.\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022codes\u0022: [\u0022D1\u0022]\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"codes":{"type":"array","items":{"type":"string"}}},"required":["clientId","codes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.reset":{"post":{"summary":"Resets the application access to default values","description":"Removes all custom access codes and restores the default access settings for the application.\n\t\tFor personal applications, the default is the owner and administrators only.\n\t\tFor shared applications, the default is no restrictions (available to everyone).\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.get":{"post":{"summary":"Returns the application access codes","description":"Returns the current access codes assigned to the application,\n\t\tincluding detailed information about each code (provider and display name).\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tFor shared applications, if no access codes are set, the application is available to everyone.\n\t\tFor personal applications, if no access codes are set, only the owner and administrators have access.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["clientId","codes","codesDetails"]}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.accessdto"}}}}}}}}}}},"\/rest.application.embedding.list":{"post":{"summary":"Returns a list of application embedding areas","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["id","userId","placement","handler","title","description","groupName","additional","options","languages"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.embeddingdto"}}}}}}}}}},"\/rest.application.embedding.add":{"post":{"summary":"Adds a new application embedding area","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022placement\u0022: \u0022IM_CONTEXT_MENU\u0022,\n\t\t\t\u0022handler\u0022: \u0022https:\/\/example.com\/embed\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"placement":{"type":"string","example":"string"},"handler":{"type":"string","example":"string"},"userId":{"type":"integer","example":1},"title":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"groupName":{"type":"string","example":"string"},"settings":{"type":"array"},"languages":{"type":"array"}},"required":["clientId","placement","handler","userId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.embedding.delete":{"post":{"summary":"Deletes an existing embedding area","description":"If `handler` is provided, only the embedding with that handler will be deleted.\n\t\tIf `userId` is provided, only the embedding for that user will be deleted.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022placement\u0022:\u0022IM_CONTEXT_MENU\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"placement":{"type":"string","example":"string"},"handler":{"type":"string","example":"string"},"userId":{"type":"integer","example":1}},"required":["clientId","placement"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.application.local.install":{"post":{"summary":"Installs a local shared application","description":"Request example:\n\t\t{\n\t\t\t\u0022title\u0022: \u0022Test application\u0022,\n\t\t\t\u0022handlerUrl\u0022: \u0022https:\/\/example.com\u0022,\n\t\t\t\u0022scopes\u0022: [\u0022crm\u0022],\n\t\t\t\u0022mobile\u0022: false,\n\t\t\t\u0022menuTitles\u0022: {\n\t\t\t\t\u0022en\u0022: \u0022Test application\u0022\n\t\t\t}\n\t\t}\n\t\tIf `menuTitles` is omitted, the application is installed as API-only: \n\t\tit is not shown in the Bitrix24 interface, and its only way to access the portal is through the REST API, \n\t\tbut it can still add embeddings.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"handlerUrl":{"type":"string","example":"string"},"scopes":{"type":"array"},"mobile":{"type":"boolean","example":true},"menuTitles":{"type":"array"},"clientId":{"type":"string","example":"string"},"applicationToken":{"type":"string","example":"string"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["title","handlerUrl","scopes","mobile","menuTitles","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"},"oauthToken":{"$ref":"#\/components\/schemas\/bitrix.rest.oauthtokendto"}}}}}}}}}}},"\/rest.application.local.uninstall":{"post":{"summary":"Uninstalls an existing local shared application","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.personal.install":{"post":{"summary":"Installs a local personal application","description":"Request example:\n\t\t{\n\t\t\t\u0022title\u0022: \u0022Test application\u0022,\n\t\t\t\u0022handlerUrl\u0022: \u0022https:\/\/example.com\u0022,\n\t\t\t\u0022scopes\u0022: [\u0022crm\u0022],\n\t\t\t\u0022mobile\u0022: false,\n\t\t\t\u0022menuTitles\u0022: {\n\t\t\t\t\u0022en\u0022: \u0022Test application\u0022\n\t\t\t}\n\t\t}\n\t\tIf `menuTitles` is omitted, the application is installed as API-only: \n\t\tit is not shown in the Bitrix24 interface, and its only way to access the portal is through the REST API, \n\t\tbut it can still add embeddings.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"handlerUrl":{"type":"string","example":"string"},"scopes":{"type":"array"},"mobile":{"type":"boolean","example":true},"menuTitles":{"type":"array"},"clientId":{"type":"string","example":"string"},"applicationToken":{"type":"string","example":"string"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["title","handlerUrl","scopes","mobile","menuTitles","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"},"oauthToken":{"$ref":"#\/components\/schemas\/bitrix.rest.oauthtokendto"}}}}}}}}}}},"\/rest.application.personal.uninstall":{"post":{"summary":"Uninstalls an existing local personal application","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.placement.list":{"post":{"summary":"Returns a list of available embedding areas","description":"If `scope` is provided, only placements for that scope are returned, and other parameters are ignored.\n\t\tIf `showAll` is `true`, all available placements are returned.\n\t\tIf `clientId` is provided, only placements available to that application are returned.\n\t\tIf no parameters are provided, all available placements are returned.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"scope":{"type":"string","example":"string"},"showAll":{"type":"boolean","example":true}},"required":["showAll"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.portal.license.get":{"post":{"summary":"Gets portal license information","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Gets portal license information","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/tasks.task.update":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"responsibleId":{"type":"integer","format":"int64"},"deadline":{"type":"string","format":"date-time"},"needsControl":{"type":"boolean"},"startPlan":{"type":"string","format":"date-time"},"endPlan":{"type":"string","format":"date-time"},"fileIds":{"type":"array"},"checklist":{"type":"array"},"groupId":{"type":"integer","format":"int64"},"stageId":{"type":"integer","format":"int64"},"epicId":{"type":"integer","format":"int64"},"storyPoints":{"type":"integer","format":"int64"},"flowId":{"type":"integer","format":"int64"},"priority":{"type":"string"},"status":{"type":"string"},"statusChanged":{"type":"string","format":"date-time"},"parentId":{"type":"integer","format":"int64"},"containsChecklist":{"type":"boolean"},"containsSubTasks":{"type":"boolean"},"containsRelatedTasks":{"type":"boolean"},"containsGanttLinks":{"type":"boolean"},"containsPlacements":{"type":"boolean"},"containsResults":{"type":"boolean"},"numberOfReminders":{"type":"integer","format":"int64"},"chatId":{"type":"integer","format":"int64"},"plannedDuration":{"type":"integer","format":"int64"},"actualDuration":{"type":"integer","format":"int64"},"durationType":{"type":"string"},"started":{"type":"string","format":"date-time"},"estimatedTime":{"type":"integer","format":"int64"},"replicate":{"type":"boolean"},"changed":{"type":"string","format":"date-time"},"changedById":{"type":"integer","format":"int64"},"statusChangedById":{"type":"integer","format":"int64"},"closedById":{"type":"integer","format":"int64"},"closed":{"type":"string","format":"date-time"},"activity":{"type":"string","format":"date-time"},"guid":{"type":"string"},"xmlId":{"type":"string"},"exchangeId":{"type":"string"},"exchangeModified":{"type":"string"},"outlookVersion":{"type":"integer","format":"int64"},"mark":{"type":"string"},"allowsChangeDeadline":{"type":"boolean"},"allowsTimeTracking":{"type":"boolean"},"matchesWorkTime":{"type":"boolean"},"addInReport":{"type":"boolean"},"isMultitask":{"type":"boolean"},"siteId":{"type":"string"},"forkedByTemplateId":{"type":"integer","format":"int64"},"deadlineCount":{"type":"integer","format":"int64"},"declineReason":{"type":"string"},"forumTopicId":{"type":"integer","format":"int64"},"link":{"type":"string"},"rights":{"type":"array"},"archiveLink":{"type":"string"},"crmItemIds":{"type":"array"},"reminders":{"type":"array"},"requireResult":{"type":"boolean"},"matchesSubTasksTime":{"type":"boolean"},"autocompleteSubTasks":{"type":"boolean"},"allowsChangeDatePlan":{"type":"boolean"},"emailId":{"type":"integer","format":"int64"},"maxDeadlineChangeDate":{"type":"string","format":"date-time"},"maxDeadlineChanges":{"type":"integer","format":"int64"},"requireDeadlineChangeReason":{"type":"boolean"},"inFavorite":{"type":"array"},"inPin":{"type":"array"},"inGroupPin":{"type":"array"},"inMute":{"type":"array"},"dependsOn":{"type":"array"},"scenarios":{"type":"array"}}},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.delete":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.add":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"creatorId":{"type":"integer","format":"int64"},"responsibleId":{"type":"integer","format":"int64"},"deadline":{"type":"string","format":"date-time"},"needsControl":{"type":"boolean"},"startPlan":{"type":"string","format":"date-time"},"endPlan":{"type":"string","format":"date-time"},"fileIds":{"type":"array"},"checklist":{"type":"array"},"groupId":{"type":"integer","format":"int64"},"stageId":{"type":"integer","format":"int64"},"epicId":{"type":"integer","format":"int64"},"storyPoints":{"type":"integer","format":"int64"},"flowId":{"type":"integer","format":"int64"},"priority":{"type":"string"},"status":{"type":"string"},"statusChanged":{"type":"string","format":"date-time"},"parentId":{"type":"integer","format":"int64"},"containsChecklist":{"type":"boolean"},"containsSubTasks":{"type":"boolean"},"containsRelatedTasks":{"type":"boolean"},"containsGanttLinks":{"type":"boolean"},"containsPlacements":{"type":"boolean"},"containsResults":{"type":"boolean"},"numberOfReminders":{"type":"integer","format":"int64"},"chatId":{"type":"integer","format":"int64"},"plannedDuration":{"type":"integer","format":"int64"},"actualDuration":{"type":"integer","format":"int64"},"durationType":{"type":"string"},"started":{"type":"string","format":"date-time"},"estimatedTime":{"type":"integer","format":"int64"},"replicate":{"type":"boolean"},"changed":{"type":"string","format":"date-time"},"changedById":{"type":"integer","format":"int64"},"statusChangedById":{"type":"integer","format":"int64"},"closedById":{"type":"integer","format":"int64"},"closed":{"type":"string","format":"date-time"},"activity":{"type":"string","format":"date-time"},"guid":{"type":"string"},"xmlId":{"type":"string"},"exchangeId":{"type":"string"},"exchangeModified":{"type":"string"},"outlookVersion":{"type":"integer","format":"int64"},"mark":{"type":"string"},"allowsChangeDeadline":{"type":"boolean"},"allowsTimeTracking":{"type":"boolean"},"matchesWorkTime":{"type":"boolean"},"addInReport":{"type":"boolean"},"isMultitask":{"type":"boolean"},"siteId":{"type":"string"},"forkedByTemplateId":{"type":"integer","format":"int64"},"deadlineCount":{"type":"integer","format":"int64"},"declineReason":{"type":"string"},"forumTopicId":{"type":"integer","format":"int64"},"link":{"type":"string"},"rights":{"type":"array"},"archiveLink":{"type":"string"},"crmItemIds":{"type":"array"},"reminders":{"type":"array"},"requireResult":{"type":"boolean"},"matchesSubTasksTime":{"type":"boolean"},"autocompleteSubTasks":{"type":"boolean"},"allowsChangeDatePlan":{"type":"boolean"},"emailId":{"type":"integer","format":"int64"},"maxDeadlineChangeDate":{"type":"string","format":"date-time"},"maxDeadlineChanges":{"type":"integer","format":"int64"},"requireDeadlineChangeReason":{"type":"boolean"},"inFavorite":{"type":"array"},"inPin":{"type":"array"},"inGroupPin":{"type":"array"},"inMute":{"type":"array"},"dependsOn":{"type":"array"},"scenarios":{"type":"array"}},"required":["title","creatorId","responsibleId"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}}},"\/tasks.task.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["id","title","description","creatorId","created","responsibleId","deadline","needsControl","startPlan","endPlan","fileIds","checklist","groupId","stageId","epicId","storyPoints","flowId","priority","status","statusChanged","parentId","containsChecklist","containsSubTasks","containsRelatedTasks","containsGanttLinks","containsPlacements","containsResults","numberOfReminders","chatId","plannedDuration","actualDuration","durationType","started","estimatedTime","replicate","changed","changedById","statusChangedById","closedById","closed","activity","guid","xmlId","exchangeId","exchangeModified","outlookVersion","mark","allowsChangeDeadline","allowsTimeTracking","matchesWorkTime","addInReport","isMultitask","siteId","forkedByTemplateId","deadlineCount","declineReason","forumTopicId","link","rights","archiveLink","crmItemIds","crmItems","reminders","elapsedTime","requireResult","matchesSubTasksTime","autocompleteSubTasks","allowsChangeDatePlan","emailId","maxDeadlineChangeDate","maxDeadlineChanges","requireDeadlineChangeReason","inFavorite","inPin","inGroupPin","inMute","source","dependsOn","scenarios"]}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}}},"\/tasks.task.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","title","description","creatorId","created","responsibleId","deadline","needsControl","startPlan","endPlan","fileIds","checklist","groupId","stageId","epicId","storyPoints","flowId","priority","status","statusChanged","parentId","containsChecklist","containsSubTasks","containsRelatedTasks","containsGanttLinks","containsPlacements","containsResults","numberOfReminders","chatId","plannedDuration","actualDuration","durationType","started","estimatedTime","replicate","changed","changedById","statusChangedById","closedById","closed","activity","guid","xmlId","exchangeId","exchangeModified","outlookVersion","mark","allowsChangeDeadline","allowsTimeTracking","matchesWorkTime","addInReport","isMultitask","siteId","forkedByTemplateId","deadlineCount","declineReason","forumTopicId","link","rights","archiveLink","crmItemIds","crmItems","reminders","elapsedTime","requireResult","matchesSubTasksTime","autocompleteSubTasks","allowsChangeDatePlan","emailId","maxDeadlineChangeDate","maxDeadlineChanges","requireDeadlineChangeReason","inFavorite","inPin","inGroupPin","inMute","source","dependsOn","scenarios"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"title":{"type":"string","example":"ASC"},"creatorId":{"type":"string","example":"ASC"},"created":{"type":"string","example":"ASC"},"responsibleId":{"type":"string","example":"ASC"},"deadline":{"type":"string","example":"ASC"},"startPlan":{"type":"string","example":"ASC"},"endPlan":{"type":"string","example":"ASC"},"groupId":{"type":"string","example":"ASC"},"priority":{"type":"string","example":"ASC"},"status":{"type":"string","example":"ASC"},"started":{"type":"string","example":"ASC"},"estimatedTime":{"type":"string","example":"ASC"},"changed":{"type":"string","example":"ASC"},"closed":{"type":"string","example":"ASC"},"activity":{"type":"string","example":"ASC"},"mark":{"type":"string","example":"ASC"},"allowsChangeDeadline":{"type":"string","example":"ASC"},"allowsTimeTracking":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}},"\/tasks.task.access.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/tasks.task.file.attach":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"taskId":{"type":"integer","example":1},"fileIds":{"type":"array"}},"required":["taskId","fileIds"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.chat.message.send":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"taskId":{"type":"integer","format":"int64"},"text":{"type":"string"}},"required":["taskId","text"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.result.add":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"taskId":{"type":"integer","format":"int64"},"text":{"type":"string"}},"required":["taskId","text"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.addfromchatmessage":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"text":{"type":"string"},"messageId":{"type":"integer","format":"int64"}},"required":["messageId"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.update":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"text":{"type":"string"}},"required":["text"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.delete":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.result.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["id","taskId","text","authorId","createdAt","updatedAt","status","fileIds","rights","messageId"]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"authorId":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"},"updatedAt":{"type":"string","example":"ASC"},"status":{"type":"string","example":"ASC"},"messageId":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}},"\/timeman.record.list":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["id","userId","startTime","endTime","duration","breakLength","state","isApproved"]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"userId":{"type":"string","example":"ASC"},"startTime":{"type":"string","example":"ASC"},"endTime":{"type":"string","example":"ASC"},"duration":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.timeman.recorddto"}}}}}}}}}},"\/vibecodeconnector.catalog.item.add":{"post":{"description":"Creates a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"type":{"type":"string","example":"string"},"accessType":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"editUrl":{"type":"string","example":"string"},"viewUrl":{"type":"string","example":"string"},"iconUrl":{"type":"string","example":"string"},"chatId":{"type":"integer","example":1},"externalId":{"type":"string","example":"string"},"iss":{"type":"string","example":"string"}},"required":["title","type","accessType"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"id":{"type":"integer","format":"int64"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.update":{"post":{"description":"Updates editable fields of a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"accessType":{"type":"string"},"description":{"type":"string"},"editUrl":{"type":"string"},"viewUrl":{"type":"string"},"iconUrl":{"type":"string"},"chatId":{"type":"integer","format":"int64"},"externalId":{"type":"string"}}}},"required":["catalogItemId","fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.delete":{"post":{"description":"Deletes a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.set":{"post":{"description":"Replaces all ACL access codes for a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1},"accessCodes":{"type":"array"}},"required":["catalogItemId","accessCodes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.set":{"post":{"description":"Pins a catalog item for the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.delete":{"post":{"description":"Removes the current REST user pin from a catalog item","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/batch":{"post":{"tags":[],"requestBody":{"content":{"application\/json":{"schema":{"type":"object"}}}},"responses":[],"summary":"Batch call","description":"Executes a batch call of multiple methods inside a single request."}},"\/documentation":{"post":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/scopes":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filterModule":{"type":"string","example":"string"},"filterController":{"type":"string","example":"string"},"filterMethod":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}}},"components":{"schemas":{"bitrix.call.followupdto":{"type":"object","properties":{"callId":{"type":"integer","format":"int64","title":"callId","description":"Bitrix24 call identifier (b_call.ID). Always present."},"callType":{"type":"integer","format":"int64","title":"callType","description":"Call type: 1 = instant ad-hoc, 2 = permanent conference room, 3 = large room."},"initiatorId":{"type":"integer","format":"int64","title":"initiatorId","description":"User id of who initiated the call."},"startDate":{"type":"string","title":"startDate","description":"ISO 8601 UTC timestamp when the call started."},"endDate":{"type":"string","title":"endDate","description":"ISO 8601 UTC timestamp when the call ended. Null while the call is still in progress."},"durationSeconds":{"type":"integer","format":"int64","title":"durationSeconds","description":"Total call duration in seconds (endDate − startDate)."},"uuid":{"type":"string","title":"uuid","description":"Opaque UUID of the call session. Opt-in: list this in `select` to receive it."},"language":{"type":"string","title":"language","description":"Detected transcription language (BCP-47 \/ ISO 639-1, e.g. \u0022ru\u0022, \u0022en\u0022). Null when there is no transcription."},"version":{"type":"integer","format":"int64","title":"version","description":"Maximum schema version across all stored outcome blocks (transcription, overview, summary, insights, evaluation)."},"participants":{"type":"array","title":"participants","description":"Call participants, enriched with display data from Util::getUsers (name, avatar, work position). Opt-in via `select`."},"outcomes":{"type":"array","title":"outcomes","description":"Names of outcome blocks present for this call: any subset of [transcription, overview, summary, insights, evaluation]."},"createdAt":{"type":"string","title":"createdAt","description":"ISO 8601 UTC timestamp of the most recently stored outcome record for this call."},"tracks":{"type":"array","title":"tracks","description":"Call recordings \/ tracks with download URLs. Opt-in via `select`."},"transcription":{"$ref":"#\/components\/schemas\/bitrix.call.transcriptiondto","title":"transcription","description":"Time-ordered transcription of the call with per-segment speaker attribution."},"overview":{"$ref":"#\/components\/schemas\/bitrix.call.overviewdto","title":"overview","description":"AI overview of the meeting: topic, agenda, agreements, action items, takeaways."},"summary":{"$ref":"#\/components\/schemas\/bitrix.call.summarydto","title":"summary","description":"Segmented summary of the call by topic chunks."},"insights":{"$ref":"#\/components\/schemas\/bitrix.call.insightsdto","title":"insights","description":"AI insights: per-speaker analysis (CIS only), meeting strengths\/weaknesses, recommendations."},"evaluation":{"$ref":"#\/components\/schemas\/bitrix.call.evaluationdto","title":"evaluation","description":"Meeting efficiency evaluation: overall score and individual evaluation criteria."}}},"bitrix.call.transcriptiondto":{"type":"object","properties":{"language":{"type":"string","title":"language","description":"Detected transcription language as BCP-47 \/ ISO 639-1 code (e.g. \u0022ru\u0022, \u0022en\u0022). Null when the language could not be determined."},"segments":{"type":"array","title":"segments","description":"Time-ordered transcription segments. Each segment is one continuous utterance by a single speaker."}}},"bitrix.call.overviewdto":{"type":"object","properties":{"topic":{"type":"string","title":"topic","description":"AI-detected meeting topic in one short phrase."},"detailedTakeaways":{"type":"string","title":"detailedTakeaways","description":"Long-form summary of meeting outcomes (multiple sentences). @-mentions are rendered in the selected mentionFormat."},"meetingType":{"type":"array","title":"meetingType","description":"Meeting type. Shape: { explanation: string, typeTag: string (raw AI tag, e.g. \u0022planning\u0022), title: string (localized) }."},"agenda":{"type":"array","title":"agenda","description":"Agenda detection. Shape: { explanation: string (was an agenda announced and how it was set), quote: string (verbatim agenda quote from transcription) }."},"agreements":{"type":"array","title":"agreements","description":"List of explicit agreements. Each item: { agreement: string (AI-rephrased agreement, may contain @-mentions in selected mentionFormat), quote?: string (supporting transcription excerpt) }."},"actionItems":{"type":"array","title":"actionItems","description":"Action items. Each item: { actionItem: string (with @-mentions), actionItemMentionLess?: string (same text without markup), quote?: string }."},"meetings":{"type":"array","title":"meetings","description":"Planned follow-up meetings. Each item: { meeting: string (with @-mentions), meetingMentionLess?: string, quote?: string }."}}},"bitrix.call.summarydto":{"type":"object","properties":{"segments":{"type":"array","title":"segments","description":"Time-ordered segments of the meeting summary. Each segment covers a continuous topical chunk of the call."}}},"bitrix.call.insightsdto":{"type":"object","properties":{"speakerEvaluationAvailable":{"type":"boolean","title":"speakerEvaluationAvailable","description":"Whether per-speaker evaluation is available on this portal. False for non-CIS regions; speakerAnalysis is empty in that case."},"speakerAnalysis":{"type":"array","title":"speakerAnalysis","description":"Per-speaker analysis, sorted by talkPercentage DESC, efficiencyValue DESC. Each item: { userId, detailedInsight, efficiencyValue (0..100), evaluationCriteria (map of criterion-\u003E{value,criteria,title}), talkPercentage, duration (seconds), durationFormat (localized human label) }."},"meetingStrengths":{"type":"array","title":"meetingStrengths","description":"Meeting strengths. Each item: { strengthTitle: string (short label), strengthExplanation: string (detailed reasoning) }."},"meetingWeaknesses":{"type":"array","title":"meetingWeaknesses","description":"Meeting weaknesses. Each item: { weaknessTitle: string, weaknessExplanation: string }."},"speechStyleInfluence":{"type":"string","title":"speechStyleInfluence","description":"AI commentary on how speakers\u0027 communication style affected the meeting outcome."},"engagementLevel":{"type":"string","title":"engagementLevel","description":"Free-form AI assessment of overall meeting engagement."},"areasOfResponsibility":{"type":"string","title":"areasOfResponsibility","description":"AI-detected delegated areas of responsibility and ownership coming out of the meeting."},"finalRecommendations":{"type":"string","title":"finalRecommendations","description":"Final AI recommendations for future meetings of this team or topic."}}},"bitrix.call.evaluationdto":{"type":"object","properties":{"efficiencyValue":{"type":"integer","format":"int64","title":"efficiencyValue","description":"Overall meeting efficiency score in the range 0..100. Computed as the share of passed criteria, including the calendar overhead penalty."},"calendar":{"type":"array","title":"calendar","description":"Calendar booking quality. Shape: { overhead: bool } — whether the meeting ran past its scheduled end time."},"criteria":{"type":"array","title":"criteria","description":"Meeting evaluation criteria map. Keys are AI-driven criterion codes (e.g. agenda_clearly_stated). Each value has shape { value: bool (passed\/failed), criteria: string (raw code, mirrors the key), thoughts: string (AI commentary in selected mentionFormat), title: string (localized) }."}}},"bitrix.humanresources.employeedto":{"type":"object","properties":{"userId":{"type":"integer","format":"int64","title":"userId"},"name":{"type":"string","title":"name"},"workPosition":{"type":"string","title":"workPosition"},"avatar":{"type":"string","title":"avatar"},"url":{"type":"string","title":"url"},"departments":{"type":"array","title":"departments"},"teams":{"type":"array","title":"teams"}}},"bitrix.humanresources.nodedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"type":{"type":"string","title":"type"},"structureId":{"type":"integer","format":"int64","title":"structureId"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"description":{"type":"string","title":"description"},"accessCode":{"type":"string","title":"accessCode"},"userCount":{"type":"integer","format":"int64","title":"userCount"},"colorName":{"type":"string","title":"colorName"},"xmlId":{"type":"string","title":"xmlId"},"createdAt":{"type":"string","title":"createdAt"},"updatedAt":{"type":"string","title":"updatedAt"},"members":{"type":"array","title":"members"}}},"bitrix.humanresources.nodememberdto":{"type":"object","properties":{"userId":{"type":"integer","format":"int64","title":"userId"},"name":{"type":"string","title":"name"},"workPosition":{"type":"string","title":"workPosition"},"role":{"type":"string","title":"role"},"avatar":{"type":"string","title":"avatar"},"url":{"type":"string","title":"url"}}},"bitrix.mail.mailboxdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"email":{"type":"string","title":"email"},"senderName":{"type":"string","title":"senderName"}}},"bitrix.mail.messagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"mailboxId":{"type":"integer","format":"int64","title":"mailboxId"},"mailboxEmail":{"type":"string","title":"mailboxEmail"},"subject":{"type":"string","title":"subject"},"from":{"type":"string","title":"from"},"to":{"type":"string","title":"to"},"cc":{"type":"string","title":"cc"},"date":{"type":"string","title":"date"},"isSeen":{"type":"boolean","title":"isSeen"},"hasAttachments":{"type":"boolean","title":"hasAttachments"},"url":{"type":"string","title":"url"},"bindings":{"type":"array","title":"bindings"},"body":{"type":"string","title":"body"}}},"bitrix.mail.recipientdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"email":{"type":"string","title":"email"},"name":{"type":"string","title":"name"}}},"bitrix.main.eventlogdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"Record ID","description":"Unique event log entry ID."},"timestampX":{"type":"string","format":"date-time","title":"Event time","description":"Event date and time."},"severity":{"type":"string","title":"Severity","description":"Event severity level (INFO, WARNING, ERROR, etc.)"},"auditTypeId":{"type":"string","title":"Event type","description":"Audit event type ID."},"moduleId":{"type":"string","title":"Module","description":"The module that produced the event."},"itemId":{"type":"string","title":"Item ID","description":"The ID of an item associated with the event."},"remoteAddr":{"type":"string","title":"IP address","description":"The IP address of a user associated with the event."},"userAgent":{"type":"string","title":"User Agent","description":"The User Agent string: the user\u0027s browser and OS."},"requestUri":{"type":"string","title":"Request URL","description":"The URL that was used to initiate the request."},"siteId":{"type":"string","title":"Site ID","description":"The ID of a site associated with the event."},"userId":{"type":"integer","format":"int64","title":"User ID","description":"The ID of a user associated with the event."},"guestId":{"type":"integer","format":"int64","title":"Guest ID","description":"The ID of a guest (i.e. a user who didn\u0027t log in)."},"description":{"type":"string","title":"Event description","description":"Detailed event description."}}},"bitrix.note.collectionitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"position":{"type":"integer","format":"int64","title":"position"},"policyLevel":{"type":"string","title":"policyLevel"},"createdBy":{"type":"integer","format":"int64","title":"createdBy"},"createdAt":{"type":"string","title":"createdAt"},"updatedBy":{"type":"integer","format":"int64","title":"updatedBy"},"updatedAt":{"type":"string","title":"updatedAt"}}},"bitrix.note.documentitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"collectionId":{"type":"integer","format":"int64","title":"collectionId"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"title":{"type":"string","title":"title"},"markdown":{"type":"string","title":"markdown"},"position":{"type":"integer","format":"int64","title":"position"},"createdBy":{"type":"integer","format":"int64","title":"createdBy"},"updatedBy":{"type":"integer","format":"int64","title":"updatedBy"},"createdAt":{"type":"string","title":"createdAt"},"updatedAt":{"type":"string","title":"updatedAt"}}},"bitrix.note.documenttreeitemdto":{"type":"object","properties":{"id":{"type":"integer"},"collectionId":{"type":"integer"},"parentId":{"type":"integer","nullable":true},"title":{"type":"string"},"position":{"type":"integer"},"children":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.documenttreeitemdto"}}}},"bitrix.note.searchresultitemdto":{"type":"object","properties":{"documentId":{"type":"integer","format":"int64","title":"documentId"},"collectionId":{"type":"integer","format":"int64","title":"collectionId"},"title":{"type":"string","title":"title"},"score":{"type":"float","title":"score"},"snippet":{"type":"string","title":"snippet"},"sharedAccess":{"type":"boolean","title":"sharedAccess"}}},"bitrix.note.fileitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"documentId":{"type":"integer","format":"int64","title":"documentId"},"name":{"type":"string","title":"name"},"size":{"type":"integer","format":"int64","title":"size"},"mimeType":{"type":"string","title":"mimeType"},"assetType":{"type":"string","title":"assetType"},"assetMarkdown":{"type":"string","title":"assetMarkdown"}}},"bitrix.rest.dtofielddto":{"type":"object","properties":{"name":{"type":"string","title":"name"},"type":{"type":"string","title":"type"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"validationRules":{"type":"array","title":"validationRules"},"requiredGroups":{"type":"array","title":"requiredGroups"},"filterable":{"type":"boolean","title":"filterable"},"sortable":{"type":"boolean","title":"sortable"},"editable":{"type":"boolean","title":"editable"},"multiple":{"type":"boolean","title":"multiple"},"elementType":{"type":"string","title":"elementType"}}},"bitrix.rest.customdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"string","title":"entityId"},"name":{"type":"string","title":"name"},"userTypeId":{"type":"string","title":"userTypeId"},"xmlId":{"type":"string","title":"xmlId"},"sort":{"type":"integer","format":"int64","title":"sort"},"isMultiple":{"type":"boolean","title":"isMultiple"},"isMandatory":{"type":"boolean","title":"isMandatory"},"showFilter":{"type":"string","title":"showFilter"},"showInList":{"type":"boolean","title":"showInList"},"editInList":{"type":"boolean","title":"editInList"},"isSearchable":{"type":"boolean","title":"isSearchable"},"settings":{"type":"array","title":"settings"},"editFormLabel":{"title":"editFormLabel"},"listColumnLabel":{"title":"listColumnLabel"},"listFilterLabel":{"title":"listFilterLabel"},"errorMessage":{"title":"errorMessage"},"helpMessage":{"title":"helpMessage"}}},"bitrix.rest.enumdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"string","title":"entityId"},"fieldId":{"type":"integer","format":"int64","title":"fieldId"},"value":{"type":"string","title":"value"},"isDefault":{"type":"boolean","title":"isDefault"},"sort":{"type":"integer","format":"int64","title":"sort"},"xmlId":{"type":"string","title":"xmlId"}}},"bitrix.rest.scoperequestdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"appId":{"type":"integer","format":"int64","title":"appId"},"scopes":{"type":"array","title":"scopes"},"status":{"type":"string","title":"status"},"currentState":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequeststatusdto","title":"currentState"},"comment":{"type":"string","title":"comment"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"},"history":{"title":"history"}}},"bitrix.rest.scoperequeststatusdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"requestId":{"type":"integer","format":"int64","title":"requestId"},"status":{"type":"string","title":"status"},"comment":{"type":"string","title":"comment"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"}}},"bitrix.rest.appdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"Application inner identification"},"clientId":{"type":"string","title":"Application client ID"},"clientSecret":{"type":"string","title":"Application client secret"},"applicationToken":{"type":"string","title":"Application token (shared secret used to authenticate webhook callbacks from the portal)"},"scopes":{"type":"array","title":"Application scopes"},"title":{"type":"string","title":"Application title"},"url":{"type":"string","title":"Handler URL"},"urlInstall":{"type":"string","title":"Installation URL"},"urlSettings":{"type":"string","title":"Settings URL"},"mobile":{"type":"boolean","title":"Mobile application flag"},"version":{"type":"string","title":"Application version"},"active":{"type":"boolean","title":"Application active flag"},"installed":{"type":"boolean","title":"Application installed flag"},"dateCreate":{"type":"string","title":"Date of creation"},"dateInstall":{"type":"string","title":"Date of installation"},"attributes":{"type":"array","title":"Application external attributes"}}},"bitrix.rest.incomingwebhookdto":{"type":"object","properties":{"url":{"type":"string","title":"Webhook handler URL"},"scopes":{"type":"array","title":"Webhook scopes"},"title":{"type":"string","title":"Webhook title"},"active":{"type":"boolean","title":"Active flag"},"userId":{"type":"integer","format":"int64","title":"Owner user id"},"dateCreate":{"type":"string","title":"Date of creation"},"attributes":{"type":"array","title":"Incoming webhook external attributes"}}},"bitrix.rest.accessdto":{"type":"object","properties":{"clientId":{"type":"string","title":"Application client ID"},"codes":{"type":"array","title":"Application access codes"},"codesDetails":{"type":"array","title":"Access code details with provider and display name"}}},"bitrix.rest.embeddingdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"ID"},"userId":{"type":"integer","format":"int64","title":"User ID"},"placement":{"type":"string","title":"Placement name"},"handler":{"type":"string","title":"Placement Handler URI"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"groupName":{"type":"string","title":"groupName"},"additional":{"type":"string","title":"additional"},"options":{"type":"array","title":"options"},"languages":{"title":"languages"}}},"bitrix.rest.oauthtokendto":{"type":"object","properties":{"accessToken":{"type":"string","title":"OAuth access token"},"refreshToken":{"type":"string","title":"OAuth refresh token"},"expiresIn":{"type":"integer","format":"int64","title":"Access token lifetime in seconds"},"serverEndpoint":{"type":"string","title":"REST server endpoint"}}},"bitrix.rest.placementdto":{"type":"object","properties":{"placement":{"type":"string","title":"placement"}}},"bitrix.tasks.taskdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"creatorId":{"type":"integer","format":"int64","title":"creatorId"},"creator":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"creator"},"created":{"type":"string","format":"date-time","title":"created"},"responsibleId":{"type":"integer","format":"int64","title":"responsibleId"},"responsible":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"responsible"},"deadline":{"type":"string","format":"date-time","title":"deadline"},"needsControl":{"type":"boolean","title":"needsControl"},"startPlan":{"type":"string","format":"date-time","title":"startPlan"},"endPlan":{"type":"string","format":"date-time","title":"endPlan"},"fileIds":{"type":"array","title":"fileIds"},"checklist":{"type":"array","title":"checklist"},"groupId":{"type":"integer","format":"int64","title":"groupId"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"stageId":{"type":"integer","format":"int64","title":"stageId"},"stage":{"$ref":"#\/components\/schemas\/bitrix.tasks.stagedto","title":"stage"},"epicId":{"type":"integer","format":"int64","title":"epicId"},"storyPoints":{"type":"integer","format":"int64","title":"storyPoints"},"flowId":{"type":"integer","format":"int64","title":"flowId"},"flow":{"$ref":"#\/components\/schemas\/bitrix.tasks.flowdto","title":"flow"},"priority":{"type":"string","title":"priority"},"status":{"type":"string","title":"status"},"statusChanged":{"type":"string","format":"date-time","title":"statusChanged"},"accomplices":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto"},"title":"accomplices"},"auditors":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto"},"title":"auditors"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"parent":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"parent"},"containsChecklist":{"type":"boolean","title":"containsChecklist"},"containsSubTasks":{"type":"boolean","title":"containsSubTasks"},"containsRelatedTasks":{"type":"boolean","title":"containsRelatedTasks"},"containsGanttLinks":{"type":"boolean","title":"containsGanttLinks"},"containsPlacements":{"type":"boolean","title":"containsPlacements"},"containsResults":{"type":"boolean","title":"containsResults"},"numberOfReminders":{"type":"integer","format":"int64","title":"numberOfReminders"},"chatId":{"type":"integer","format":"int64","title":"chatId"},"chat":{"$ref":"#\/components\/schemas\/bitrix.tasks.chatdto","title":"chat"},"plannedDuration":{"type":"integer","format":"int64","title":"plannedDuration"},"actualDuration":{"type":"integer","format":"int64","title":"actualDuration"},"durationType":{"type":"string","title":"durationType"},"started":{"type":"string","format":"date-time","title":"started"},"estimatedTime":{"type":"integer","format":"int64","title":"estimatedTime"},"replicate":{"type":"boolean","title":"replicate"},"changed":{"type":"string","format":"date-time","title":"changed"},"changedById":{"type":"integer","format":"int64","title":"changedById"},"changedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"changedBy"},"statusChangedById":{"type":"integer","format":"int64","title":"statusChangedById"},"statusChangedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"statusChangedBy"},"closedById":{"type":"integer","format":"int64","title":"closedById"},"closedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"closedBy"},"closed":{"type":"string","format":"date-time","title":"closed"},"activity":{"type":"string","format":"date-time","title":"activity"},"guid":{"type":"string","title":"guid"},"xmlId":{"type":"string","title":"xmlId"},"exchangeId":{"type":"string","title":"exchangeId"},"exchangeModified":{"type":"string","title":"exchangeModified"},"outlookVersion":{"type":"integer","format":"int64","title":"outlookVersion"},"mark":{"type":"string","title":"mark"},"allowsChangeDeadline":{"type":"boolean","title":"allowsChangeDeadline"},"allowsTimeTracking":{"type":"boolean","title":"allowsTimeTracking"},"matchesWorkTime":{"type":"boolean","title":"matchesWorkTime"},"addInReport":{"type":"boolean","title":"addInReport"},"isMultitask":{"type":"boolean","title":"isMultitask"},"siteId":{"type":"string","title":"siteId"},"forkedByTemplateId":{"type":"integer","format":"int64","title":"forkedByTemplateId"},"forkedByTemplate":{"$ref":"#\/components\/schemas\/bitrix.tasks.templatedto","title":"forkedByTemplate"},"deadlineCount":{"type":"integer","format":"int64","title":"deadlineCount"},"declineReason":{"type":"string","title":"declineReason"},"forumTopicId":{"type":"integer","format":"int64","title":"forumTopicId"},"tags":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.tagdto"},"title":"tags"},"link":{"type":"string","title":"link"},"userFields":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userfielddto"},"title":"userFields"},"rights":{"type":"array","title":"rights"},"archiveLink":{"type":"string","title":"archiveLink"},"crmItemIds":{"type":"array","title":"crmItemIds"},"crmItems":{"$ref":"#\/components\/schemas\/bitrix.tasks.crmitemdto","title":"crmItems"},"reminders":{"type":"array","title":"reminders"},"elapsedTime":{"$ref":"#\/components\/schemas\/bitrix.tasks.elapsedtimedto","title":"elapsedTime"},"requireResult":{"type":"boolean","title":"requireResult"},"matchesSubTasksTime":{"type":"boolean","title":"matchesSubTasksTime"},"autocompleteSubTasks":{"type":"boolean","title":"autocompleteSubTasks"},"allowsChangeDatePlan":{"type":"boolean","title":"allowsChangeDatePlan"},"emailId":{"type":"integer","format":"int64","title":"emailId"},"email":{"$ref":"#\/components\/schemas\/bitrix.tasks.emaildto","title":"email"},"maxDeadlineChangeDate":{"type":"string","format":"date-time","title":"maxDeadlineChangeDate"},"maxDeadlineChanges":{"type":"integer","format":"int64","title":"maxDeadlineChanges"},"requireDeadlineChangeReason":{"type":"boolean","title":"requireDeadlineChangeReason"},"inFavorite":{"type":"array","title":"inFavorite"},"inPin":{"type":"array","title":"inPin"},"inGroupPin":{"type":"array","title":"inGroupPin"},"inMute":{"type":"array","title":"inMute"},"source":{"$ref":"#\/components\/schemas\/bitrix.tasks.sourcedto","title":"source"},"dependsOn":{"type":"array","title":"dependsOn"},"scenarios":{"type":"array","title":"scenarios"}}},"bitrix.tasks.userdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"role":{"type":"string","title":"role"},"image":{"$ref":"#\/components\/schemas\/bitrix.tasks.filedto","title":"image"},"gender":{"type":"string","title":"gender"},"email":{"type":"string","title":"email"},"externalAuthId":{"type":"string","title":"externalAuthId"},"rights":{"type":"array","title":"rights"}}},"bitrix.tasks.filedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"src":{"type":"string","title":"src"},"name":{"type":"string","title":"name"},"width":{"type":"integer","format":"int64","title":"width"},"height":{"type":"integer","format":"int64","title":"height"},"size":{"type":"integer","format":"int64","title":"size"},"subDir":{"type":"string","title":"subDir"},"contentType":{"type":"string","title":"contentType"},"file":{"type":"array","title":"file"}}},"bitrix.tasks.groupdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"image":{"$ref":"#\/components\/schemas\/bitrix.tasks.filedto","title":"image"},"type":{"type":"string","title":"type"},"isVisible":{"type":"boolean","title":"isVisible"}}},"bitrix.tasks.stagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"title":{"type":"string","title":"title"},"color":{"type":"string","title":"color"}}},"bitrix.tasks.flowdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"}}},"bitrix.tasks.chatdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"integer","format":"int64","title":"entityId"},"entityType":{"type":"string","title":"entityType"}}},"bitrix.tasks.templatedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"task":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"task"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"creator":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"creator"},"responsibleCollection":{"type":"array","title":"responsibleCollection"},"deadlineAfterTs":{"type":"integer","format":"int64","title":"deadlineAfterTs"},"startDatePlanTs":{"type":"integer","format":"int64","title":"startDatePlanTs"},"endDatePlanTs":{"type":"integer","format":"int64","title":"endDatePlanTs"},"replicate":{"type":"boolean","title":"replicate"},"fileIds":{"type":"array","title":"fileIds"},"checklist":{"type":"array","title":"checklist"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"priority":{"type":"string","title":"priority"},"accomplices":{"type":"array","title":"accomplices"},"auditors":{"type":"array","title":"auditors"},"parent":{"$ref":"#\/components\/schemas\/bitrix.tasks.templatedto","title":"parent"},"replicateParams":{"$ref":"#\/components\/schemas\/bitrix.tasks.replicateparamsdto","title":"replicateParams"}}},"bitrix.tasks.replicateparamsdto":{"type":"object","properties":{"period":{"type":"string","title":"period"},"everyDay":{"type":"string","title":"everyDay"},"workdayOnly":{"type":"string","title":"workdayOnly"},"dailyMonthInterval":{"type":"string","title":"dailyMonthInterval"},"everyWeek":{"type":"string","title":"everyWeek"},"monthlyType":{"type":"string","title":"monthlyType"},"monthlyDayNum":{"type":"string","title":"monthlyDayNum"},"monthlyMonthNum1":{"type":"string","title":"monthlyMonthNum1"},"monthlyWeekDayNum":{"type":"string","title":"monthlyWeekDayNum"},"monthlyWeekDay":{"type":"string","title":"monthlyWeekDay"},"monthlyMonthNum2":{"type":"string","title":"monthlyMonthNum2"},"yearlyType":{"type":"string","title":"yearlyType"},"yearlyDayNum":{"type":"string","title":"yearlyDayNum"},"yearlyMonth1":{"type":"string","title":"yearlyMonth1"},"yearlyWeekDayNum":{"type":"string","title":"yearlyWeekDayNum"},"yearlyWeekDay":{"type":"string","title":"yearlyWeekDay"},"yearlyMonth2":{"type":"string","title":"yearlyMonth2"},"time":{"type":"string","title":"time"},"timezoneOffset":{"type":"string","title":"timezoneOffset"},"startDate":{"type":"string","title":"startDate"},"repeatTill":{"type":"string","title":"repeatTill"},"endDate":{"type":"string","title":"endDate"},"times":{"type":"string","title":"times"}}},"bitrix.tasks.tagdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"ownerId":{"type":"integer","format":"int64","title":"ownerId"},"owner":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"owner"},"groupId":{"type":"integer","format":"int64","title":"groupId"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"task":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"task"}}},"bitrix.tasks.userfielddto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"key":{"type":"string","title":"key"},"value":{"title":"value"}}},"bitrix.tasks.crmitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"type":{"type":"string","title":"type"},"title":{"type":"string","title":"title"}}},"bitrix.tasks.elapsedtimedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"userId":{"type":"integer","format":"int64","title":"userId"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"minutes":{"type":"integer","format":"int64","title":"minutes"},"seconds":{"type":"integer","format":"int64","title":"seconds"},"source":{"type":"string","title":"source"},"text":{"type":"string","title":"text"},"createdAtTs":{"type":"integer","format":"int64","title":"createdAtTs"},"startTs":{"type":"integer","format":"int64","title":"startTs"},"stopTs":{"type":"integer","format":"int64","title":"stopTs"}}},"bitrix.tasks.emaildto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"mailboxId":{"type":"integer","format":"int64","title":"mailboxId"},"title":{"type":"string","title":"title"},"body":{"type":"string","title":"body"},"from":{"type":"string","title":"from"},"dateTs":{"type":"integer","format":"int64","title":"dateTs"},"link":{"type":"string","title":"link"}}},"bitrix.tasks.sourcedto":{"type":"object","properties":{"type":{"type":"string","title":"type"},"data":{"type":"array","title":"data"}}},"bitrix.tasks.messagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"text":{"type":"string","title":"text"}}},"bitrix.tasks.resultdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"text":{"type":"string","title":"text"},"authorId":{"type":"integer","format":"int64","title":"authorId"},"author":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"author"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"},"updatedAt":{"type":"string","format":"date-time","title":"updatedAt"},"status":{"type":"string","title":"status"},"fileIds":{"type":"array","title":"fileIds"},"rights":{"type":"array","title":"rights"},"messageId":{"type":"integer","format":"int64","title":"messageId"}}},"bitrix.timeman.recorddto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"userId":{"type":"integer","format":"int64","title":"userId"},"startTime":{"type":"string","format":"date-time","title":"startTime"},"endTime":{"type":"string","format":"date-time","title":"endTime"},"duration":{"type":"integer","format":"int64","title":"duration"},"breakLength":{"type":"integer","format":"int64","title":"breakLength"},"state":{"$ref":"#\/components\/schemas\/bitrix.timeman.recordstatedto","title":"state"},"isApproved":{"type":"boolean","title":"isApproved"}}},"bitrix.timeman.recordstatedto":{"type":"object","properties":{"status":{"type":"string","title":"status"},"recommendedCloseTime":{"type":"integer","format":"int64","title":"recommendedCloseTime"}}},"bitrix.vibecodeconnector.catalogitemdto":{"type":"object","properties":{"catalogItemId":{"type":"integer","format":"int64","title":"Catalog item identifier"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Item type"},"accessType":{"type":"string","title":"Access type"},"description":{"type":"string","title":"Description"},"editUrl":{"type":"string","title":"Edit URL"},"viewUrl":{"type":"string","title":"View URL"},"iconUrl":{"type":"string","title":"Icon URL"},"chatId":{"type":"integer","format":"int64","title":"Chat identifier"},"externalId":{"type":"string","title":"External identifier"},"ownerId":{"type":"integer","format":"int64","title":"Owner user identifier"},"color":{"type":"string","title":"Color"},"createdAt":{"type":"string","title":"Date of creation (ISO-8601)"},"updatedAt":{"type":"string","title":"Date of last update (ISO-8601)"}}},"bitrix.vibecodeconnector.accessdto":{"type":"object","properties":{"catalogItemId":{"type":"integer","format":"int64","title":"Catalog item identifier"},"accessCodes":{"type":"array","title":"Catalog item access codes"}}}}}} \ No newline at end of file +{"openapi":"3.0.0","info":{"title":"Bitrix24 REST V3 API","version":"1.0.0"},"servers":[],"tags":[{"name":"bizprocdesigner","description":"bizprocdesigner module methods"},{"name":"call","description":"call module methods"},{"name":"crm","description":"crm module methods"},{"name":"humanresources","description":"humanresources module methods"},{"name":"mail","description":"mail module methods"},{"name":"main","description":"main module methods"},{"name":"note","description":"note module methods"},{"name":"rest","description":"rest module methods"},{"name":"tasks","description":"tasks module methods"},{"name":"timeman","description":"timeman module methods"},{"name":"vibecodeconnector","description":"vibecodeconnector module methods"}],"paths":{"\/bizprocdesigner.agent.connect":{"post":{"tags":["bizprocdesigner"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"templateId":{"type":"integer","example":1}},"required":["templateId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/bizprocdesigner.catalog.list":{"post":{"tags":["bizprocdesigner"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"templateId":{"type":"integer","example":1},"blockType":{"type":"string","example":""},"presetId":{"type":"string","example":""}},"required":["templateId","blockType","presetId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/bizprocdesigner.document.fields":{"post":{"tags":["bizprocdesigner"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"templateId":{"type":"integer","example":1},"search":{"type":"string","example":""}},"required":["templateId","search"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/bizprocdesigner.template.list":{"post":{"tags":["bizprocdesigner"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"moduleId":{"type":"string","example":""},"entity":{"type":"string","example":""}},"required":["moduleId","entity"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/bizprocdesigner.template.get":{"post":{"tags":["bizprocdesigner"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"templateId":{"type":"integer","example":1}},"required":["templateId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/bizprocdesigner.template.validate":{"post":{"tags":["bizprocdesigner"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"templateId":{"type":"integer","example":1},"blocks":{"type":"array","example":[]},"connections":{"type":"array","example":[]}},"required":["templateId","blocks","connections"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/bizprocdesigner.template.draft.push":{"post":{"tags":["bizprocdesigner"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"templateId":{"type":"integer","example":1},"blocks":{"type":"array","example":[]},"connections":{"type":"array","example":[]}},"required":["templateId","blocks","connections"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/call.followup.get":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"callId":{"type":"integer","example":1},"select":{"type":"array","items":{"type":"string"},"example":["callId","callType","initiatorId","startDate","endDate","durationSeconds","uuid","language","version","participants","outcomes","createdAt","tracks","transcription","overview","summary","insights","evaluation"]},"mentionFormat":{"type":"string","example":"string"}},"required":["callId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/call.followup.list":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["callId","callType","initiatorId","startDate","endDate","durationSeconds","uuid","language","version","participants","outcomes","createdAt","tracks","transcription","overview","summary","insights","evaluation"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}},"mentionFormat":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.activity.mail.getContent":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"activityId":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.activity.mail.getThread":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"activityId":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.activity.mail.reply":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"activityId":{"type":"integer","example":1},"body":{"type":"string","example":"string"},"cc":{"type":"array"},"bcc":{"type":"array"},"from":{"type":"string","example":"string"},"senderId":{"type":"integer","example":1},"mailboxId":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.deal.timeline.activity.email.list":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"isIncoming":{"type":"boolean","example":true},"limit":{"type":"integer","example":1},"offset":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.deal.timeline.activity.email.send":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"to":{"type":"array"},"cc":{"type":"array"},"bcc":{"type":"array"},"subject":{"type":"string","example":"string"},"body":{"type":"string","example":"string"},"from":{"type":"string","example":"string"},"senderId":{"type":"integer","example":1},"mailboxId":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.lead.timeline.activity.email.list":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"isIncoming":{"type":"boolean","example":true},"limit":{"type":"integer","example":1},"offset":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.lead.timeline.activity.email.send":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"to":{"type":"array"},"cc":{"type":"array"},"bcc":{"type":"array"},"subject":{"type":"string","example":"string"},"body":{"type":"string","example":"string"},"from":{"type":"string","example":"string"},"senderId":{"type":"integer","example":1},"mailboxId":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.contact.timeline.activity.email.list":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"isIncoming":{"type":"boolean","example":true},"limit":{"type":"integer","example":1},"offset":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.contact.timeline.activity.email.send":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"to":{"type":"array"},"cc":{"type":"array"},"bcc":{"type":"array"},"subject":{"type":"string","example":"string"},"body":{"type":"string","example":"string"},"from":{"type":"string","example":"string"},"senderId":{"type":"integer","example":1},"mailboxId":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.company.timeline.activity.email.list":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"isIncoming":{"type":"boolean","example":true},"limit":{"type":"integer","example":1},"offset":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/crm.company.timeline.activity.email.send":{"post":{"tags":["crm"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"to":{"type":"array"},"cc":{"type":"array"},"bcc":{"type":"array"},"subject":{"type":"string","example":"string"},"body":{"type":"string","example":"string"},"from":{"type":"string","example":"string"},"senderId":{"type":"integer","example":1},"mailboxId":{"type":"integer","example":1}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.search":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["userId","name","workPosition","avatar","url","departments","teams"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.employeedto"}}}}}}}}}}}},"\/humanresources.employee.subordinates":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["userId","name","workPosition","avatar","url","departments","teams"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.count":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.employee.multidepartment":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}}},"\/humanresources.node.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"name":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}}}},"\/humanresources.node.search":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"name":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}}}},"\/humanresources.node.count":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.children":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","type","structureId","parentId","description","accessCode","userCount","colorName","xmlId","createdAt","updatedAt","members"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.humanresources.nodedto"}}}}}}}}}}}},"\/humanresources.node.add":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.edit":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.move":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.communication.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.communication.edit":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.move":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.remove":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.add":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/humanresources.node.member.set":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["humanresources"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.mailbox.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}}},"\/mail.mailbox.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}}}},"\/mail.mailbox.senders":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","email","senderName"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.mailboxdto"}}}}}}}}}}}},"\/mail.message.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.mail.messagedto"}}}}}}}}}}},"\/mail.message.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.messagedto"}}}}}}}}}}}},"\/mail.message.send":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.reply":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.forward":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createcrmactivity":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/mail.message.removecrmactivity":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/mail.message.thread":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","mailboxId","mailboxEmail","subject","from","to","cc","date","isSeen","hasAttachments","url","bindings","body"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.movetofolder":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createtask":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createcalendarevent":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createchat":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.message.createfeedpost":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"tags":["mail"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/mail.recipient.listcontacts":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","email","name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.recipientdto"}}}}}}}}}}}},"\/mail.recipient.listemployees":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","email","name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.mail.recipientdto"}}}}}}}}}}}},"\/main.smile.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fullTypings":{"type":"boolean","example":true},"select":{"type":"array","items":{"type":"string"},"example":["id","setId","name","image","typing","width","height","definition"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.smiledto"}}}}}}}}}}}},"\/main.userfieldconfig.gettypes":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"moduleId":{"type":"string","example":"string"}},"required":["moduleId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/main.userfieldconfig.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","entityId","fieldName","userTypeId","xmlId","sort","multiple","mandatory","showFilter","showInList","editInList","isSearchable","settings","editFormLabel","listColumnLabel","listFilterLabel","errorMessage","helpMessage","enum"]},"id":{"type":"integer","example":1},"moduleId":{"type":"string","example":"string"}},"required":["id","moduleId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.main.userfieldconfigdto"}}}}}}}}}}},"\/main.userfieldconfig.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","entityId","fieldName","userTypeId","xmlId","sort","multiple","mandatory","showFilter","showInList","editInList","isSearchable","settings","editFormLabel","listColumnLabel","listFilterLabel","errorMessage","helpMessage","enum"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"entityId":{"type":"string","example":"ASC"},"fieldName":{"type":"string","example":"ASC"},"userTypeId":{"type":"string","example":"ASC"},"xmlId":{"type":"string","example":"ASC"},"sort":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}},"moduleId":{"type":"string","example":"string"}},"required":["moduleId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.userfieldconfigdto"}}}}}}}}}}}},"\/main.userfieldconfig.add":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"entityId":{"type":"string"},"fieldName":{"type":"string"},"userTypeId":{"type":"string"},"xmlId":{"type":"string"},"sort":{"type":"integer","format":"int64"},"multiple":{"type":"boolean"},"mandatory":{"type":"boolean"},"showFilter":{"type":"string"},"editInList":{"type":"boolean"},"isSearchable":{"type":"boolean"},"settings":[],"editFormLabel":{"type":"array"},"helpMessage":{"type":"array"},"enum":{"type":"array"}}},"moduleId":{"type":"string","example":"string"}},"required":["fields","moduleId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.main.userfieldconfigdto"}}}}}}}}}}},"\/main.userfieldconfig.update":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"entityId":{"type":"string"},"fieldName":{"type":"string"},"userTypeId":{"type":"string"},"xmlId":{"type":"string"},"sort":{"type":"integer","format":"int64"},"multiple":{"type":"boolean"},"mandatory":{"type":"boolean"},"showFilter":{"type":"string"},"editInList":{"type":"boolean"},"isSearchable":{"type":"boolean"},"settings":[],"editFormLabel":{"type":"array"},"helpMessage":{"type":"array"},"enum":{"type":"array"}}},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"moduleId":{"type":"string","example":"string"}},"required":["fields","moduleId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.main.userfieldconfigdto"}}}}}}}}}}},"\/main.userfieldconfig.delete":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"moduleId":{"type":"string","example":"string"}},"required":["moduleId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/main.smileset.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","parentId","name","type"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.smilesetdto"}}}}}}}}}}}},"\/main.like.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["entityTypeId","entityId","pathToUserProfile","reaction","userId","voteValue","photo","photoSrc","fullName","url","userType"]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.likeitemdto"}},"total":{"type":"integer","format":"int64"}}}}}}}}}}},"\/main.like.reactions":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"entityTypeId":{"type":"string","example":"string"},"entityId":{"type":"integer","example":1}},"required":["entityTypeId","entityId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/main.user.consent.add":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"agreementId":{"type":"integer","format":"int64"},"userId":{"type":"integer","format":"int64"},"ip":{"type":"string"},"url":{"type":"string"},"originId":{"type":"string"},"originatorId":{"type":"string"}},"required":["agreementId","ip"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.main.consentdto"}}}}}}}}}}},"\/main.user.agreement.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","active","languageId","label","text","replace"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.agreementdto"}}}}}}}}}}}},"\/main.user.agreement.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","active","languageId","label","text","replace"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.main.agreementdto"}}}}}}}}}}},"\/main.user.history.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["id","userId","eventType","dateInsert","remoteAddr","userAgent","requestUri","updatedById","field"]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.historydto"}}}}}}}}}}}},"\/main.user.history.tail":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","userId","eventType","dateInsert","remoteAddr","userAgent","requestUri","updatedById","field"]},"cursor":{"type":"object","example":{"field":"id","value":0,"order":"ASC"}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.historydto"}},"hasMore":{"type":"boolean"},"cursor":{"$ref":"#\/components\/schemas\/bitrix.rest.cursorresponsedto"}}}}}}}}}}},"\/main.user.history.fields.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["id","historyId","field","data"]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.historyfielddto"}}}}}}}}}}}},"\/main.eventlog.list":{"post":{"summary":"Get record list","description":"Retrieves a list of specified records.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"timestampX":{"type":"string","example":"ASC"},"auditTypeId":{"type":"string","example":"ASC"},"userId":{"type":"string","example":"ASC"},"guestId":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}}}},"\/main.eventlog.get":{"post":{"summary":"Get record","description":"Retrieves a record by the specified ID.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}}},"\/main.eventlog.tail":{"post":{"summary":"Get recent records","description":"Retrieves the most recent records.","tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","timestampX","severity","auditTypeId","moduleId","itemId","remoteAddr","userAgent","requestUri","siteId","userId","guestId","description"]},"filter":{"type":"array"},"cursor":{"type":"object","example":{"field":"id","value":0,"order":"ASC"}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.main.eventlogdto"}}}}}}}}}}}},"\/note.collection.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"pagination":{"type":"object","properties":{"limit":{"type":"integer"},"afterCursor":{"type":"object","properties":{"position":{"type":"integer"},"id":{"type":"integer"}}}}}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}},"nextCursor":{"type":"object","nullable":true,"properties":{"position":{"type":"integer"},"id":{"type":"integer"}}}}}}}}}}}}},"\/note.collection.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","name","position","policyLevel","createdBy","createdAt","updatedBy","updatedAt"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"name":{"type":"string"},"position":{"type":"integer","format":"int64"}},"required":["name"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.update":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.collectionitemdto"}}}}}}}}}}},"\/note.collection.archive":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.collection.delete":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","collectionId","parentId","title","markdown","position","createdBy","updatedBy","createdAt","updatedAt"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"collectionId":{"type":"integer","format":"int64"},"parentId":{"type":"integer","format":"int64"},"title":{"type":"string"},"markdown":{"type":"string"}},"required":["collectionId","title"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.update":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"overwrite":{"type":"boolean","example":true},"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"markdown":{"type":"string"}}},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.documentitemdto"}}}}}}}}}}},"\/note.document.archive":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.delete":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/note.document.tree.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","required":["collectionId"],"properties":{"collectionId":{"type":"integer"}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.documenttreeitemdto"}},"truncated":{"type":"boolean"}}}}},"example":{"result":{"items":[{"id":10,"collectionId":123,"parentId":null,"title":"Введение","position":1,"children":[{"id":11,"collectionId":123,"parentId":10,"title":"Глава 1","position":1,"children":[]}]}],"truncated":false}}}}}}}},"\/note.document.search.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","required":["query"],"properties":{"query":{"type":"string"},"pagination":{"type":"object","properties":{"limit":{"type":"integer"}}}}}}}},"responses":{"200":{"content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.searchresultitemdto"}},"hasMore":{"type":"boolean"}}}}}}}}}}},"\/note.file.add":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"documentId":{"type":"integer","example":1},"fileName":{"type":"string","example":"string"},"fileContent":{"type":"string","example":"string"}},"required":["documentId","fileName","fileContent"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.fileitemdto"}}}}}}}}}}},"\/note.file.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"documentId":{"type":"integer","example":1}},"required":["id","documentId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.note.fileitemdto"}}}}}}}}}}},"\/rest.scope.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filterModule":{"type":"string","example":"string"},"filterController":{"type":"string","example":"string"},"filterMethod":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.documentation.openapi":{"post":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/call.followup.field.list":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/call.followup.field.get":{"post":{"tags":["call"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.employee.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/humanresources.employee.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.node.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/humanresources.node.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/humanresources.node.member.field.list":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/humanresources.node.member.field.get":{"post":{"tags":["humanresources"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.mailbox.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/mail.mailbox.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.message.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/mail.message.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/mail.recipient.field.list":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/mail.recipient.field.get":{"post":{"tags":["mail"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.smile.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/main.smile.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.userfieldconfig.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/main.userfieldconfig.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.smileset.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/main.smileset.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.like.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/main.like.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.user.consent.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/main.user.consent.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.user.agreement.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/main.user.agreement.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.user.history.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/main.user.history.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.user.history.fields.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/main.user.history.fields.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/main.eventlog.field.list":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/main.eventlog.field.get":{"post":{"tags":["main"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.collection.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/note.collection.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/note.document.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.tree.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/note.document.tree.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.document.search.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/note.document.search.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/note.file.field.list":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/note.file.field.get":{"post":{"tags":["note"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.app.scoperequest.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/rest.app.scoperequest.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.deferredbatch.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/rest.deferredbatch.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/rest.application.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.incomingwebhook.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/rest.incomingwebhook.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.access.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/rest.application.access.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.embedding.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/rest.application.embedding.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.local.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/rest.application.local.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.personal.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/rest.application.personal.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.application.placement.field.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/rest.application.placement.field.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/tasks.task.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.chat.message.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/tasks.task.chat.message.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.result.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/tasks.task.result.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/tasks.task.gantt.link.field.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/tasks.task.gantt.link.field.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/timeman.record.field.list":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/timeman.record.field.get":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/vibecodeconnector.catalog.item.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.field.list":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.field.get":{"post":{"tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["name","type","title","description","validationRules","requiredGroups","filterable","sortable","editable","multiple","elementType"]}},"required":["name"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.dtofielddto"}}}}}}}}}}},"\/rest.app.scoperequest.add":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"scopes":{"type":"array"},"comment":{"type":"string"}},"required":["scopes","comment"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}}},"\/rest.app.scoperequest.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","appId","scopes","status","currentState","comment","createdAt","history"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}}},"\/rest.app.scoperequest.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","appId","scopes","status","currentState","comment","createdAt","history"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequestdto"}}}}}}}}}}}},"\/rest.deferredbatch.add":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"commands":{"type":"array"}},"required":["commands"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.deferredbatchdto"}}}}}}}}}}},"\/rest.deferredbatch.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","status","commands","createdAt","updatedAt","resultFileId","errorMessage"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"status":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"},"updatedAt":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.deferredbatchdto"}}}}}}}}}}}},"\/rest.deferredbatch.get":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","status","commands","createdAt","updatedAt","resultFileId","errorMessage"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.deferredbatchdto"}}}}}}}}}}},"\/rest.deferredbatch.downloadresult":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"downloadUrl":{"type":"string"}}}}}}}}}}},"\/rest.deferredbatch.delete":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.getbyclientid":{"post":{"summary":"Returns the application by OAuth client ID","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"}}}}}}}}}}},"\/rest.application.list":{"post":{"summary":"Returns a list of installed applications","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"clientId":{"type":"string","example":"ASC"},"title":{"type":"string","example":"ASC"},"version":{"type":"string","example":"ASC"},"dateCreate":{"type":"string","example":"ASC"},"dateInstall":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}},"required":["attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"}}}}}}}}}}}},"\/rest.incomingwebhook.add":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"scopes":{"type":"array"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["url","scopes","title","active","userId","dateCreate","attributes","dateExpire"]},"dateExpire":{"type":"string","example":"string"}},"required":["title","scopes","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.incomingwebhookdto"}}}}}}}}}}},"\/rest.incomingwebhook.update":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"scopes":{"type":"array"},"title":{"type":"string"}}}},"required":["id","fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.incomingwebhook.prolong":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"dateExpire":{"type":"string","example":"string"}},"required":["id","dateExpire"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.incomingwebhook.delete":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.incomingwebhook.list":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["url","scopes","title","active","userId","dateCreate","attributes","dateExpire"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"dateCreate":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.incomingwebhookdto"}}}}}}}}}}}},"\/rest.application.access.set":{"post":{"summary":"Sets the application access codes","description":"Replaces all existing access codes for the application with the provided ones.\n\t\tFor personal applications, the owner user access code is always added to the saved access codes.\n\t\tAccess codes define which users or groups can use the application.\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tFor shared applications, if no access codes are set, the application is available to everyone.\n\t\tFor personal applications, if no access codes are set, only the owner and administrators have access.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022codes\u0022: [\u0022UA\u0022, \u0022D1\u0022]\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"codes":{"type":"array","items":{"type":"string"}}},"required":["clientId","codes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.delete":{"post":{"summary":"Deletes the application access codes","description":"Removes specified access codes from the application.\n\t\tOnly the provided codes are removed; other existing codes remain unchanged.\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022codes\u0022: [\u0022D1\u0022]\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"codes":{"type":"array","items":{"type":"string"}}},"required":["clientId","codes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.reset":{"post":{"summary":"Resets the application access to default values","description":"Removes all custom access codes and restores the default access settings for the application.\n\t\tFor personal applications, the default is the owner and administrators only.\n\t\tFor shared applications, the default is no restrictions (available to everyone).\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.access.get":{"post":{"summary":"Returns the application access codes","description":"Returns the current access codes assigned to the application,\n\t\tincluding detailed information about each code (provider and display name).\n\t\tAdministrators and personal application owners always have access regardless of access codes.\n\t\tFor shared applications, if no access codes are set, the application is available to everyone.\n\t\tFor personal applications, if no access codes are set, only the owner and administrators have access.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["clientId","codes","codesDetails"]}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.accessdto"}}}}}}}}}}},"\/rest.application.embedding.list":{"post":{"summary":"Returns a list of application embedding areas","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"select":{"type":"array","items":{"type":"string"},"example":["id","userId","placement","handler","title","description","groupName","additional","options","languages"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.rest.embeddingdto"}}}}}}}}}}}},"\/rest.application.embedding.add":{"post":{"summary":"Adds a new application embedding area","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022placement\u0022: \u0022IM_CONTEXT_MENU\u0022,\n\t\t\t\u0022handler\u0022: \u0022https:\/\/example.com\/embed\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"placement":{"type":"string","example":"string"},"handler":{"type":"string","example":"string"},"userId":{"type":"integer","example":1},"title":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"groupName":{"type":"string","example":"string"},"settings":{"type":"array"},"languages":{"type":"array"}},"required":["clientId","placement","handler","userId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.embedding.delete":{"post":{"summary":"Deletes an existing embedding area","description":"If `handler` is provided, only the embedding with that handler will be deleted.\n\t\tIf `userId` is provided, only the embedding for that user will be deleted.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022,\n\t\t\t\u0022placement\u0022:\u0022IM_CONTEXT_MENU\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"placement":{"type":"string","example":"string"},"handler":{"type":"string","example":"string"},"userId":{"type":"integer","example":1}},"required":["clientId","placement"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.application.local.install":{"post":{"summary":"Installs a local shared application","description":"Request example:\n\t\t{\n\t\t\t\u0022title\u0022: \u0022Test application\u0022,\n\t\t\t\u0022handlerUrl\u0022: \u0022https:\/\/example.com\u0022,\n\t\t\t\u0022scopes\u0022: [\u0022crm\u0022],\n\t\t\t\u0022mobile\u0022: false,\n\t\t\t\u0022menuTitles\u0022: {\n\t\t\t\t\u0022en\u0022: \u0022Test application\u0022\n\t\t\t}\n\t\t}\n\t\tIf `menuTitles` is omitted, the application is installed as API-only: \n\t\tit is not shown in the Bitrix24 interface, and its only way to access the portal is through the REST API, \n\t\tbut it can still add embeddings.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"handlerUrl":{"type":"string","example":"string"},"scopes":{"type":"array"},"mobile":{"type":"boolean","example":true},"menuTitles":{"type":"array"},"clientId":{"type":"string","example":"string"},"applicationToken":{"type":"string","example":"string"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["title","handlerUrl","scopes","mobile","menuTitles","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"},"oauthToken":{"$ref":"#\/components\/schemas\/bitrix.rest.oauthtokendto"}}}}}}}}}}},"\/rest.application.local.uninstall":{"post":{"summary":"Uninstalls an existing local shared application","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.personal.install":{"post":{"summary":"Installs a local personal application","description":"Request example:\n\t\t{\n\t\t\t\u0022title\u0022: \u0022Test application\u0022,\n\t\t\t\u0022handlerUrl\u0022: \u0022https:\/\/example.com\u0022,\n\t\t\t\u0022scopes\u0022: [\u0022crm\u0022],\n\t\t\t\u0022mobile\u0022: false,\n\t\t\t\u0022menuTitles\u0022: {\n\t\t\t\t\u0022en\u0022: \u0022Test application\u0022\n\t\t\t}\n\t\t}\n\t\tIf `menuTitles` is omitted, the application is installed as API-only: \n\t\tit is not shown in the Bitrix24 interface, and its only way to access the portal is through the REST API, \n\t\tbut it can still add embeddings.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"handlerUrl":{"type":"string","example":"string"},"scopes":{"type":"array"},"mobile":{"type":"boolean","example":true},"menuTitles":{"type":"array"},"clientId":{"type":"string","example":"string"},"applicationToken":{"type":"string","example":"string"},"attributes":{"type":"array"},"select":{"type":"array","items":{"type":"string"},"example":["id","clientId","clientSecret","applicationToken","scopes","title","url","urlInstall","urlSettings","mobile","version","active","installed","dateCreate","dateInstall","attributes"]}},"required":["title","handlerUrl","scopes","mobile","menuTitles","attributes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.rest.appdto"},"oauthToken":{"$ref":"#\/components\/schemas\/bitrix.rest.oauthtokendto"}}}}}}}}}}},"\/rest.application.personal.uninstall":{"post":{"summary":"Uninstalls an existing local personal application","description":"Request example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"}},"required":["clientId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/rest.application.placement.list":{"post":{"summary":"Returns a list of available embedding areas","description":"If `scope` is provided, only placements for that scope are returned, and other parameters are ignored.\n\t\tIf `showAll` is `true`, all available placements are returned.\n\t\tIf `clientId` is provided, only placements available to that application are returned.\n\t\tIf no parameters are provided, all available placements are returned.\n\t\tRequest example:\n\t\t{\n\t\t\t\u0022clientId\u0022: \u0022local.69b9196bdbd793.03286491\u0022\n\t\t}","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","example":"string"},"scope":{"type":"string","example":"string"},"showAll":{"type":"boolean","example":true}},"required":["showAll"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/rest.portal.license.get":{"post":{"summary":"Gets portal license information","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Gets portal license information","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/tasks.task.update":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"responsibleId":{"type":"integer","format":"int64"},"deadline":{"type":"string","format":"date-time"},"needsControl":{"type":"boolean"},"startPlan":{"type":"string","format":"date-time"},"endPlan":{"type":"string","format":"date-time"},"fileIds":{"type":"array"},"checklist":{"type":"array"},"groupId":{"type":"integer","format":"int64"},"stageId":{"type":"integer","format":"int64"},"epicId":{"type":"integer","format":"int64"},"storyPoints":{"type":"integer","format":"int64"},"flowId":{"type":"integer","format":"int64"},"priority":{"type":"string"},"status":{"type":"string"},"statusChanged":{"type":"string","format":"date-time"},"parentId":{"type":"integer","format":"int64"},"containsChecklist":{"type":"boolean"},"containsSubTasks":{"type":"boolean"},"containsRelatedTasks":{"type":"boolean"},"containsGanttLinks":{"type":"boolean"},"containsPlacements":{"type":"boolean"},"containsResults":{"type":"boolean"},"numberOfReminders":{"type":"integer","format":"int64"},"chatId":{"type":"integer","format":"int64"},"plannedDuration":{"type":"integer","format":"int64"},"actualDuration":{"type":"integer","format":"int64"},"durationType":{"type":"string"},"started":{"type":"string","format":"date-time"},"estimatedTime":{"type":"integer","format":"int64"},"replicate":{"type":"boolean"},"changed":{"type":"string","format":"date-time"},"changedById":{"type":"integer","format":"int64"},"statusChangedById":{"type":"integer","format":"int64"},"closedById":{"type":"integer","format":"int64"},"closed":{"type":"string","format":"date-time"},"activity":{"type":"string","format":"date-time"},"guid":{"type":"string"},"xmlId":{"type":"string"},"exchangeId":{"type":"string"},"exchangeModified":{"type":"string"},"outlookVersion":{"type":"integer","format":"int64"},"mark":{"type":"string"},"allowsChangeDeadline":{"type":"boolean"},"allowsTimeTracking":{"type":"boolean"},"matchesWorkTime":{"type":"boolean"},"addInReport":{"type":"boolean"},"isMultitask":{"type":"boolean"},"siteId":{"type":"string"},"forkedByTemplateId":{"type":"integer","format":"int64"},"deadlineCount":{"type":"integer","format":"int64"},"declineReason":{"type":"string"},"forumTopicId":{"type":"integer","format":"int64"},"link":{"type":"string"},"rights":{"type":"array"},"archiveLink":{"type":"string"},"crmItemIds":{"type":"array"},"reminders":{"type":"array"},"requireResult":{"type":"boolean"},"matchesSubTasksTime":{"type":"boolean"},"autocompleteSubTasks":{"type":"boolean"},"allowsChangeDatePlan":{"type":"boolean"},"emailId":{"type":"integer","format":"int64"},"maxDeadlineChangeDate":{"type":"string","format":"date-time"},"maxDeadlineChanges":{"type":"integer","format":"int64"},"requireDeadlineChangeReason":{"type":"boolean"},"inFavorite":{"type":"array"},"inPin":{"type":"array"},"inGroupPin":{"type":"array"},"inMute":{"type":"array"},"dependsOn":{"type":"array"},"scenarios":{"type":"array"}}},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.delete":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.add":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"creatorId":{"type":"integer","format":"int64"},"responsibleId":{"type":"integer","format":"int64"},"deadline":{"type":"string","format":"date-time"},"needsControl":{"type":"boolean"},"startPlan":{"type":"string","format":"date-time"},"endPlan":{"type":"string","format":"date-time"},"fileIds":{"type":"array"},"checklist":{"type":"array"},"groupId":{"type":"integer","format":"int64"},"stageId":{"type":"integer","format":"int64"},"epicId":{"type":"integer","format":"int64"},"storyPoints":{"type":"integer","format":"int64"},"flowId":{"type":"integer","format":"int64"},"priority":{"type":"string"},"status":{"type":"string"},"statusChanged":{"type":"string","format":"date-time"},"parentId":{"type":"integer","format":"int64"},"containsChecklist":{"type":"boolean"},"containsSubTasks":{"type":"boolean"},"containsRelatedTasks":{"type":"boolean"},"containsGanttLinks":{"type":"boolean"},"containsPlacements":{"type":"boolean"},"containsResults":{"type":"boolean"},"numberOfReminders":{"type":"integer","format":"int64"},"chatId":{"type":"integer","format":"int64"},"plannedDuration":{"type":"integer","format":"int64"},"actualDuration":{"type":"integer","format":"int64"},"durationType":{"type":"string"},"started":{"type":"string","format":"date-time"},"estimatedTime":{"type":"integer","format":"int64"},"replicate":{"type":"boolean"},"changed":{"type":"string","format":"date-time"},"changedById":{"type":"integer","format":"int64"},"statusChangedById":{"type":"integer","format":"int64"},"closedById":{"type":"integer","format":"int64"},"closed":{"type":"string","format":"date-time"},"activity":{"type":"string","format":"date-time"},"guid":{"type":"string"},"xmlId":{"type":"string"},"exchangeId":{"type":"string"},"exchangeModified":{"type":"string"},"outlookVersion":{"type":"integer","format":"int64"},"mark":{"type":"string"},"allowsChangeDeadline":{"type":"boolean"},"allowsTimeTracking":{"type":"boolean"},"matchesWorkTime":{"type":"boolean"},"addInReport":{"type":"boolean"},"isMultitask":{"type":"boolean"},"siteId":{"type":"string"},"forkedByTemplateId":{"type":"integer","format":"int64"},"deadlineCount":{"type":"integer","format":"int64"},"declineReason":{"type":"string"},"forumTopicId":{"type":"integer","format":"int64"},"link":{"type":"string"},"rights":{"type":"array"},"archiveLink":{"type":"string"},"crmItemIds":{"type":"array"},"reminders":{"type":"array"},"requireResult":{"type":"boolean"},"matchesSubTasksTime":{"type":"boolean"},"autocompleteSubTasks":{"type":"boolean"},"allowsChangeDatePlan":{"type":"boolean"},"emailId":{"type":"integer","format":"int64"},"maxDeadlineChangeDate":{"type":"string","format":"date-time"},"maxDeadlineChanges":{"type":"integer","format":"int64"},"requireDeadlineChangeReason":{"type":"boolean"},"inFavorite":{"type":"array"},"inPin":{"type":"array"},"inGroupPin":{"type":"array"},"inMute":{"type":"array"},"dependsOn":{"type":"array"},"scenarios":{"type":"array"}},"required":["title","creatorId","responsibleId"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}}},"\/tasks.task.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","title","description","creatorId","created","responsibleId","deadline","needsControl","startPlan","endPlan","fileIds","checklist","groupId","stageId","epicId","storyPoints","flowId","priority","status","statusChanged","parentId","containsChecklist","containsSubTasks","containsRelatedTasks","containsGanttLinks","containsPlacements","containsResults","numberOfReminders","chatId","plannedDuration","actualDuration","durationType","started","estimatedTime","replicate","changed","changedById","statusChangedById","closedById","closed","activity","guid","xmlId","exchangeId","exchangeModified","outlookVersion","mark","allowsChangeDeadline","allowsTimeTracking","matchesWorkTime","addInReport","isMultitask","siteId","forkedByTemplateId","deadlineCount","declineReason","forumTopicId","link","rights","archiveLink","crmItemIds","crmItems","reminders","elapsedTime","requireResult","matchesSubTasksTime","autocompleteSubTasks","allowsChangeDatePlan","emailId","maxDeadlineChangeDate","maxDeadlineChanges","requireDeadlineChangeReason","inFavorite","inPin","inGroupPin","inMute","source","dependsOn","scenarios"]},"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}}},"\/tasks.task.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"select":{"type":"array","items":{"type":"string"},"example":["id","title","description","creatorId","created","responsibleId","deadline","needsControl","startPlan","endPlan","fileIds","checklist","groupId","stageId","epicId","storyPoints","flowId","priority","status","statusChanged","parentId","containsChecklist","containsSubTasks","containsRelatedTasks","containsGanttLinks","containsPlacements","containsResults","numberOfReminders","chatId","plannedDuration","actualDuration","durationType","started","estimatedTime","replicate","changed","changedById","statusChangedById","closedById","closed","activity","guid","xmlId","exchangeId","exchangeModified","outlookVersion","mark","allowsChangeDeadline","allowsTimeTracking","matchesWorkTime","addInReport","isMultitask","siteId","forkedByTemplateId","deadlineCount","declineReason","forumTopicId","link","rights","archiveLink","crmItemIds","crmItems","reminders","elapsedTime","requireResult","matchesSubTasksTime","autocompleteSubTasks","allowsChangeDatePlan","emailId","maxDeadlineChangeDate","maxDeadlineChanges","requireDeadlineChangeReason","inFavorite","inPin","inGroupPin","inMute","source","dependsOn","scenarios"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"title":{"type":"string","example":"ASC"},"creatorId":{"type":"string","example":"ASC"},"created":{"type":"string","example":"ASC"},"responsibleId":{"type":"string","example":"ASC"},"deadline":{"type":"string","example":"ASC"},"startPlan":{"type":"string","example":"ASC"},"endPlan":{"type":"string","example":"ASC"},"groupId":{"type":"string","example":"ASC"},"priority":{"type":"string","example":"ASC"},"status":{"type":"string","example":"ASC"},"started":{"type":"string","example":"ASC"},"estimatedTime":{"type":"string","example":"ASC"},"changed":{"type":"string","example":"ASC"},"closed":{"type":"string","example":"ASC"},"activity":{"type":"string","example":"ASC"},"mark":{"type":"string","example":"ASC"},"allowsChangeDeadline":{"type":"string","example":"ASC"},"allowsTimeTracking":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto"}}}}}}}}}}}},"\/tasks.task.access.get":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1}},"required":["id"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/tasks.task.file.attach":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"taskId":{"type":"integer","example":1},"fileIds":{"type":"array"}},"required":["taskId","fileIds"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.chat.message.send":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"taskId":{"type":"integer","format":"int64"},"text":{"type":"string"}},"required":["taskId","text"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.result.add":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"taskId":{"type":"integer","format":"int64"},"text":{"type":"string"}},"required":["taskId","text"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.addfromchatmessage":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"fields":{"type":"object","properties":{"text":{"type":"string"},"messageId":{"type":"integer","format":"int64"}},"required":["messageId"]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.update":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"fields":{"type":"object","properties":{"text":{"type":"string"}},"required":["text"]},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}},"required":["fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"item":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}},"\/tasks.task.result.delete":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"id":{"type":"integer","example":1},"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/tasks.task.result.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["id","taskId","text","authorId","createdAt","updatedAt","status","fileIds","rights","messageId"]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"authorId":{"type":"string","example":"ASC"},"createdAt":{"type":"string","example":"ASC"},"updatedAt":{"type":"string","example":"ASC"},"status":{"type":"string","example":"ASC"},"messageId":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.resultdto"}}}}}}}}}}}},"\/tasks.task.gantt.link.list":{"post":{"tags":["tasks"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["taskId","dependentId","type","creatorId"]},"order":{"type":"object"},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.ganttlinkdto"}}}}}}}}}}}},"\/timeman.record.list":{"post":{"tags":["timeman"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filter":{"type":"array","example":[["id","\u003E=",1],["id",1],["id","in",[1,2,3]]]},"select":{"type":"array","items":{"type":"string"},"example":["id","userId","startTime","endTime","duration","breakLength","state","isApproved"]},"order":{"type":"object","properties":{"id":{"type":"string","example":"ASC"},"userId":{"type":"string","example":"ASC"},"startTime":{"type":"string","example":"ASC"},"endTime":{"type":"string","example":"ASC"},"duration":{"type":"string","example":"ASC"}}},"pagination":{"type":"object","properties":{"page":{"type":"integer","example":2},"limit":{"type":"integer","example":20},"offset":{"type":"integer","example":0}}}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.timeman.recorddto"}}}}}}}}}}}},"\/vibecodeconnector.catalog.item.add":{"post":{"description":"Creates a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"title":{"type":"string","example":"string"},"type":{"type":"string","example":"string"},"accessType":{"type":"string","example":"string"},"description":{"type":"string","example":"string"},"editUrl":{"type":"string","example":"string"},"viewUrl":{"type":"string","example":"string"},"iconUrl":{"type":"string","example":"string"},"chatId":{"type":"integer","example":1},"externalId":{"type":"string","example":"string"},"iss":{"type":"string","example":"string"}},"required":["title","type","accessType"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"id":{"type":"integer","format":"int64"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.update":{"post":{"description":"Updates editable fields of a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1},"fields":{"type":"object","properties":{"title":{"type":"string"},"accessType":{"type":"string"},"description":{"type":"string"},"editUrl":{"type":"string"},"viewUrl":{"type":"string"},"iconUrl":{"type":"string"},"chatId":{"type":"integer","format":"int64"},"externalId":{"type":"string"}}}},"required":["catalogItemId","fields"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.delete":{"post":{"description":"Deletes a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.access.set":{"post":{"description":"Replaces all ACL access codes for a catalog item owned by the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1},"accessCodes":{"type":"array"}},"required":["catalogItemId","accessCodes"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.set":{"post":{"description":"Pins a catalog item for the current REST user","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/vibecodeconnector.catalog.item.pin.delete":{"post":{"description":"Removes the current REST user pin from a catalog item","tags":["vibecodeconnector"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"catalogItemId":{"type":"integer","example":1}},"required":["catalogItemId"]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object","properties":{"result":{"type":"boolean"}}}}}}}}}}},"\/batch":{"post":{"tags":[],"requestBody":{"content":{"application\/json":{"schema":{"type":"object"}}}},"responses":[],"summary":"Batch call","description":"Executes a batch call of multiple methods inside a single request."}},"\/documentation":{"post":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":[]}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}},"get":{"summary":"Open API Documentation","description":"Retrieves documentation in Open API format.","tags":["rest"],"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}},"\/scopes":{"post":{"tags":["rest"],"requestBody":{"content":{"application\/json":{"schema":{"type":"object","properties":{"filterModule":{"type":"string","example":"string"},"filterController":{"type":"string","example":"string"},"filterMethod":{"type":"string","example":"string"}}}}}},"responses":{"200":{"description":"Success response","content":{"application\/json":{"schema":{"type":"object","properties":{"result":{"type":"object"}}}}}}}}}},"components":{"schemas":{"bitrix.call.followupdto":{"type":"object","properties":{"callId":{"type":"integer","format":"int64","title":"callId","description":"Bitrix24 call identifier (b_call.ID). Always present."},"callType":{"type":"integer","format":"int64","title":"callType","description":"Call type: 1 = instant ad-hoc, 2 = permanent conference room, 3 = large room."},"initiatorId":{"type":"integer","format":"int64","title":"initiatorId","description":"User id of who initiated the call."},"startDate":{"type":"string","title":"startDate","description":"ISO 8601 UTC timestamp when the call started."},"endDate":{"type":"string","title":"endDate","description":"ISO 8601 UTC timestamp when the call ended. Null while the call is still in progress."},"durationSeconds":{"type":"integer","format":"int64","title":"durationSeconds","description":"Total call duration in seconds (endDate − startDate)."},"uuid":{"type":"string","title":"uuid","description":"Opaque UUID of the call session. Opt-in: list this in `select` to receive it."},"language":{"type":"string","title":"language","description":"Detected transcription language (BCP-47 \/ ISO 639-1, e.g. \u0022ru\u0022, \u0022en\u0022). Null when there is no transcription."},"version":{"type":"integer","format":"int64","title":"version","description":"Maximum schema version across all stored outcome blocks (transcription, overview, summary, insights, evaluation)."},"participants":{"type":"array","title":"participants","description":"Call participants, enriched with display data from Util::getUsers (name, avatar, work position). Opt-in via `select`."},"outcomes":{"type":"array","title":"outcomes","description":"Names of outcome blocks present for this call: any subset of [transcription, overview, summary, insights, evaluation]."},"createdAt":{"type":"string","title":"createdAt","description":"ISO 8601 UTC timestamp of the most recently stored outcome record for this call."},"tracks":{"type":"array","title":"tracks","description":"Call recordings \/ tracks with download URLs. Opt-in via `select`."},"transcription":{"$ref":"#\/components\/schemas\/bitrix.call.transcriptiondto","title":"transcription","description":"Time-ordered transcription of the call with per-segment speaker attribution."},"overview":{"$ref":"#\/components\/schemas\/bitrix.call.overviewdto","title":"overview","description":"AI overview of the meeting: topic, agenda, agreements, action items, takeaways."},"summary":{"$ref":"#\/components\/schemas\/bitrix.call.summarydto","title":"summary","description":"Segmented summary of the call by topic chunks."},"insights":{"$ref":"#\/components\/schemas\/bitrix.call.insightsdto","title":"insights","description":"AI insights: per-speaker analysis (CIS only), meeting strengths\/weaknesses, recommendations."},"evaluation":{"$ref":"#\/components\/schemas\/bitrix.call.evaluationdto","title":"evaluation","description":"Meeting efficiency evaluation: overall score and individual evaluation criteria."}}},"bitrix.call.transcriptiondto":{"type":"object","properties":{"language":{"type":"string","title":"language","description":"Detected transcription language as BCP-47 \/ ISO 639-1 code (e.g. \u0022ru\u0022, \u0022en\u0022). Null when the language could not be determined."},"segments":{"type":"array","title":"segments","description":"Time-ordered transcription segments. Each segment is one continuous utterance by a single speaker."}}},"bitrix.call.overviewdto":{"type":"object","properties":{"topic":{"type":"string","title":"topic","description":"AI-detected meeting topic in one short phrase."},"detailedTakeaways":{"type":"string","title":"detailedTakeaways","description":"Long-form summary of meeting outcomes (multiple sentences). @-mentions are rendered in the selected mentionFormat."},"meetingType":{"type":"array","title":"meetingType","description":"Meeting type. Shape: { explanation: string, typeTag: string (raw AI tag, e.g. \u0022planning\u0022), title: string (localized) }."},"agenda":{"type":"array","title":"agenda","description":"Agenda detection. Shape: { explanation: string (was an agenda announced and how it was set), quote: string (verbatim agenda quote from transcription) }."},"agreements":{"type":"array","title":"agreements","description":"List of explicit agreements. Each item: { agreement: string (AI-rephrased agreement, may contain @-mentions in selected mentionFormat), quote?: string (supporting transcription excerpt) }."},"actionItems":{"type":"array","title":"actionItems","description":"Action items. Each item: { actionItem: string (with @-mentions), actionItemMentionLess?: string (same text without markup), quote?: string }."},"meetings":{"type":"array","title":"meetings","description":"Planned follow-up meetings. Each item: { meeting: string (with @-mentions), meetingMentionLess?: string, quote?: string }."}}},"bitrix.call.summarydto":{"type":"object","properties":{"segments":{"type":"array","title":"segments","description":"Time-ordered segments of the meeting summary. Each segment covers a continuous topical chunk of the call."}}},"bitrix.call.insightsdto":{"type":"object","properties":{"speakerEvaluationAvailable":{"type":"boolean","title":"speakerEvaluationAvailable","description":"Whether per-speaker evaluation is available on this portal. False for non-CIS regions; speakerAnalysis is empty in that case."},"speakerAnalysis":{"type":"array","title":"speakerAnalysis","description":"Per-speaker analysis, sorted by talkPercentage DESC, efficiencyValue DESC. Each item: { userId, detailedInsight, efficiencyValue (0..100), evaluationCriteria (map of criterion-\u003E{value,criteria,title}), talkPercentage, duration (seconds), durationFormat (localized human label) }."},"meetingStrengths":{"type":"array","title":"meetingStrengths","description":"Meeting strengths. Each item: { strengthTitle: string (short label), strengthExplanation: string (detailed reasoning) }."},"meetingWeaknesses":{"type":"array","title":"meetingWeaknesses","description":"Meeting weaknesses. Each item: { weaknessTitle: string, weaknessExplanation: string }."},"speechStyleInfluence":{"type":"string","title":"speechStyleInfluence","description":"AI commentary on how speakers\u0027 communication style affected the meeting outcome."},"engagementLevel":{"type":"string","title":"engagementLevel","description":"Free-form AI assessment of overall meeting engagement."},"areasOfResponsibility":{"type":"string","title":"areasOfResponsibility","description":"AI-detected delegated areas of responsibility and ownership coming out of the meeting."},"finalRecommendations":{"type":"string","title":"finalRecommendations","description":"Final AI recommendations for future meetings of this team or topic."}}},"bitrix.call.evaluationdto":{"type":"object","properties":{"efficiencyValue":{"type":"integer","format":"int64","title":"efficiencyValue","description":"Overall meeting efficiency score in the range 0..100. Computed as the share of passed criteria, including the calendar overhead penalty."},"calendar":{"type":"array","title":"calendar","description":"Calendar booking quality. Shape: { overhead: bool } — whether the meeting ran past its scheduled end time."},"criteria":{"type":"array","title":"criteria","description":"Meeting evaluation criteria map. Keys are AI-driven criterion codes (e.g. agenda_clearly_stated). Each value has shape { value: bool (passed\/failed), criteria: string (raw code, mirrors the key), thoughts: string (AI commentary in selected mentionFormat), title: string (localized) }."}}},"bitrix.crm.emailactivitydto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"integer","format":"int64","title":"entityId"},"subject":{"type":"string","title":"subject"},"dateTime":{"type":"string","title":"dateTime"},"isIncoming":{"type":"boolean","title":"isIncoming"},"from":{"type":"string","title":"from"},"to":{"type":"array","title":"to"},"cc":{"type":"array","title":"cc"},"bcc":{"type":"array","title":"bcc"},"bindings":{"type":"array","title":"bindings"},"body":{"type":"string","title":"body"},"isBodyTruncated":{"type":"boolean","title":"isBodyTruncated"},"isHidden":{"type":"boolean","title":"isHidden"},"activityId":{"type":"integer","format":"int64","title":"activityId"},"parentActivityId":{"type":"integer","format":"int64","title":"parentActivityId"},"isSyncedToImap":{"type":"boolean","title":"isSyncedToImap"},"warnings":{"type":"array","title":"warnings"}}},"bitrix.humanresources.employeedto":{"type":"object","properties":{"userId":{"type":"integer","format":"int64","title":"userId"},"name":{"type":"string","title":"name"},"workPosition":{"type":"string","title":"workPosition"},"avatar":{"type":"string","title":"avatar"},"url":{"type":"string","title":"url"},"departments":{"type":"array","title":"departments"},"teams":{"type":"array","title":"teams"}}},"bitrix.humanresources.nodedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"type":{"type":"string","title":"type"},"structureId":{"type":"integer","format":"int64","title":"structureId"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"description":{"type":"string","title":"description"},"accessCode":{"type":"string","title":"accessCode"},"userCount":{"type":"integer","format":"int64","title":"userCount"},"colorName":{"type":"string","title":"colorName"},"xmlId":{"type":"string","title":"xmlId"},"createdAt":{"type":"string","title":"createdAt"},"updatedAt":{"type":"string","title":"updatedAt"},"members":{"type":"array","title":"members"}}},"bitrix.humanresources.nodememberdto":{"type":"object","properties":{"userId":{"type":"integer","format":"int64","title":"userId"},"name":{"type":"string","title":"name"},"workPosition":{"type":"string","title":"workPosition"},"role":{"type":"string","title":"role"},"avatar":{"type":"string","title":"avatar"},"url":{"type":"string","title":"url"}}},"bitrix.mail.mailboxdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"email":{"type":"string","title":"email"},"senderName":{"type":"string","title":"senderName"}}},"bitrix.mail.messagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"mailboxId":{"type":"integer","format":"int64","title":"mailboxId"},"mailboxEmail":{"type":"string","title":"mailboxEmail"},"subject":{"type":"string","title":"subject"},"from":{"type":"string","title":"from"},"to":{"type":"string","title":"to"},"cc":{"type":"string","title":"cc"},"date":{"type":"string","title":"date"},"isSeen":{"type":"boolean","title":"isSeen"},"hasAttachments":{"type":"boolean","title":"hasAttachments"},"url":{"type":"string","title":"url"},"bindings":{"type":"array","title":"bindings"},"body":{"type":"string","title":"body"}}},"bitrix.mail.recipientdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"email":{"type":"string","title":"email"},"name":{"type":"string","title":"name"}}},"bitrix.main.smiledto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"setId":{"type":"integer","format":"int64","title":"setId"},"name":{"type":"string","title":"name"},"image":{"type":"string","title":"image"},"typing":{"type":"string","title":"typing"},"width":{"type":"integer","format":"int64","title":"width"},"height":{"type":"integer","format":"int64","title":"height"},"definition":{"type":"string","title":"definition"}}},"bitrix.main.userfieldconfigdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"string","title":"entityId"},"fieldName":{"type":"string","title":"fieldName"},"userTypeId":{"type":"string","title":"userTypeId"},"xmlId":{"type":"string","title":"xmlId"},"sort":{"type":"integer","format":"int64","title":"sort"},"multiple":{"type":"boolean","title":"multiple"},"mandatory":{"type":"boolean","title":"mandatory"},"showFilter":{"type":"string","title":"showFilter"},"showInList":{"type":"boolean","title":"showInList"},"editInList":{"type":"boolean","title":"editInList"},"isSearchable":{"type":"boolean","title":"isSearchable"},"settings":{"title":"settings"},"editFormLabel":{"type":"array","title":"editFormLabel"},"listColumnLabel":{"type":"array","title":"listColumnLabel"},"listFilterLabel":{"type":"array","title":"listFilterLabel"},"errorMessage":{"type":"array","title":"errorMessage"},"helpMessage":{"type":"array","title":"helpMessage"},"enum":{"type":"array","title":"enum"}}},"bitrix.main.smilesetdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"name":{"type":"string","title":"name"},"type":{"type":"string","title":"type"}}},"bitrix.main.likeitemdto":{"type":"object","properties":{"entityTypeId":{"type":"string","title":"entityTypeId"},"entityId":{"type":"integer","format":"int64","title":"entityId"},"pathToUserProfile":{"type":"string","title":"pathToUserProfile"},"reaction":{"type":"string","title":"reaction"},"userId":{"type":"integer","format":"int64","title":"userId"},"voteValue":{"type":"integer","format":"int64","title":"voteValue"},"photo":{"type":"string","title":"photo"},"photoSrc":{"type":"string","title":"photoSrc"},"fullName":{"type":"string","title":"fullName"},"url":{"type":"string","title":"url"},"userType":{"type":"string","title":"userType"}}},"bitrix.main.consentdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"agreementId":{"type":"integer","format":"int64","title":"agreementId"},"userId":{"type":"integer","format":"int64","title":"userId"},"ip":{"type":"string","title":"ip"},"url":{"type":"string","title":"url"},"originId":{"type":"string","title":"originId"},"originatorId":{"type":"string","title":"originatorId"}}},"bitrix.main.agreementdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"active":{"type":"boolean","title":"active"},"languageId":{"type":"string","title":"languageId"},"label":{"type":"string","title":"label"},"text":{"type":"string","title":"text"},"replace":{"type":"array","title":"replace"}}},"bitrix.main.historydto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"userId":{"type":"integer","format":"int64","title":"userId"},"eventType":{"type":"integer","format":"int64","title":"eventType"},"dateInsert":{"type":"string","format":"date-time","title":"dateInsert"},"remoteAddr":{"type":"string","title":"remoteAddr"},"userAgent":{"type":"string","title":"userAgent"},"requestUri":{"type":"string","title":"requestUri"},"updatedById":{"type":"integer","format":"int64","title":"updatedById"},"field":{"type":"string","title":"field"}}},"bitrix.rest.cursorresponsedto":{"type":"object","properties":{"field":{"type":"string","title":"field"},"value":{"type":"string","title":"value"}}},"bitrix.main.historyfielddto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"historyId":{"type":"integer","format":"int64","title":"historyId"},"field":{"type":"string","title":"field"},"data":{"title":"data"}}},"bitrix.main.eventlogdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"Record ID","description":"Unique event log entry ID."},"timestampX":{"type":"string","format":"date-time","title":"Event time","description":"Event date and time."},"severity":{"type":"string","title":"Severity","description":"Event severity level (INFO, WARNING, ERROR, etc.)"},"auditTypeId":{"type":"string","title":"Event type","description":"Audit event type ID."},"moduleId":{"type":"string","title":"Module","description":"The module that produced the event."},"itemId":{"type":"string","title":"Item ID","description":"The ID of an item associated with the event."},"remoteAddr":{"type":"string","title":"IP address","description":"The IP address of a user associated with the event."},"userAgent":{"type":"string","title":"User Agent","description":"The User Agent string: the user\u0027s browser and OS."},"requestUri":{"type":"string","title":"Request URL","description":"The URL that was used to initiate the request."},"siteId":{"type":"string","title":"Site ID","description":"The ID of a site associated with the event."},"userId":{"type":"integer","format":"int64","title":"User ID","description":"The ID of a user associated with the event."},"guestId":{"type":"integer","format":"int64","title":"Guest ID","description":"The ID of a guest (i.e. a user who didn\u0027t log in)."},"description":{"type":"string","title":"Event description","description":"Detailed event description."}}},"bitrix.note.collectionitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"position":{"type":"integer","format":"int64","title":"position"},"policyLevel":{"type":"string","title":"policyLevel"},"createdBy":{"type":"integer","format":"int64","title":"createdBy"},"createdAt":{"type":"string","title":"createdAt"},"updatedBy":{"type":"integer","format":"int64","title":"updatedBy"},"updatedAt":{"type":"string","title":"updatedAt"}}},"bitrix.note.documentitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"collectionId":{"type":"integer","format":"int64","title":"collectionId"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"title":{"type":"string","title":"title"},"markdown":{"type":"string","title":"markdown"},"position":{"type":"integer","format":"int64","title":"position"},"createdBy":{"type":"integer","format":"int64","title":"createdBy"},"updatedBy":{"type":"integer","format":"int64","title":"updatedBy"},"createdAt":{"type":"string","title":"createdAt"},"updatedAt":{"type":"string","title":"updatedAt"}}},"bitrix.note.documenttreeitemdto":{"type":"object","properties":{"id":{"type":"integer"},"collectionId":{"type":"integer"},"parentId":{"type":"integer","nullable":true},"title":{"type":"string"},"position":{"type":"integer"},"children":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.note.documenttreeitemdto"}}}},"bitrix.note.searchresultitemdto":{"type":"object","properties":{"documentId":{"type":"integer","format":"int64","title":"documentId"},"collectionId":{"type":"integer","format":"int64","title":"collectionId"},"title":{"type":"string","title":"title"},"score":{"type":"float","title":"score"},"snippet":{"type":"string","title":"snippet"},"sharedAccess":{"type":"boolean","title":"sharedAccess"}}},"bitrix.note.fileitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"documentId":{"type":"integer","format":"int64","title":"documentId"},"name":{"type":"string","title":"name"},"size":{"type":"integer","format":"int64","title":"size"},"mimeType":{"type":"string","title":"mimeType"},"assetType":{"type":"string","title":"assetType"},"assetMarkdown":{"type":"string","title":"assetMarkdown"}}},"bitrix.rest.dtofielddto":{"type":"object","properties":{"name":{"type":"string","title":"name"},"type":{"type":"string","title":"type"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"validationRules":{"type":"array","title":"validationRules"},"requiredGroups":{"type":"array","title":"requiredGroups"},"filterable":{"type":"boolean","title":"filterable"},"sortable":{"type":"boolean","title":"sortable"},"editable":{"type":"boolean","title":"editable"},"multiple":{"type":"boolean","title":"multiple"},"elementType":{"type":"string","title":"elementType"}}},"bitrix.rest.customdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"string","title":"entityId"},"name":{"type":"string","title":"name"},"userTypeId":{"type":"string","title":"userTypeId"},"xmlId":{"type":"string","title":"xmlId"},"sort":{"type":"integer","format":"int64","title":"sort"},"isMultiple":{"type":"boolean","title":"isMultiple"},"isMandatory":{"type":"boolean","title":"isMandatory"},"showFilter":{"type":"string","title":"showFilter"},"showInList":{"type":"boolean","title":"showInList"},"editInList":{"type":"boolean","title":"editInList"},"isSearchable":{"type":"boolean","title":"isSearchable"},"settings":{"type":"array","title":"settings"},"editFormLabel":{"title":"editFormLabel"},"listColumnLabel":{"title":"listColumnLabel"},"listFilterLabel":{"title":"listFilterLabel"},"errorMessage":{"title":"errorMessage"},"helpMessage":{"title":"helpMessage"}}},"bitrix.rest.enumdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"string","title":"entityId"},"fieldId":{"type":"integer","format":"int64","title":"fieldId"},"value":{"type":"string","title":"value"},"isDefault":{"type":"boolean","title":"isDefault"},"sort":{"type":"integer","format":"int64","title":"sort"},"xmlId":{"type":"string","title":"xmlId"}}},"bitrix.rest.scoperequestdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"appId":{"type":"integer","format":"int64","title":"appId"},"scopes":{"type":"array","title":"scopes"},"status":{"type":"string","title":"status"},"currentState":{"$ref":"#\/components\/schemas\/bitrix.rest.scoperequeststatusdto","title":"currentState"},"comment":{"type":"string","title":"comment"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"},"history":{"title":"history"}}},"bitrix.rest.scoperequeststatusdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"requestId":{"type":"integer","format":"int64","title":"requestId"},"status":{"type":"string","title":"status"},"comment":{"type":"string","title":"comment"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"}}},"bitrix.rest.deferredbatchdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"status":{"type":"string","title":"status"},"commands":{"type":"array","title":"commands"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"},"updatedAt":{"type":"string","format":"date-time","title":"updatedAt"},"resultFileId":{"type":"integer","format":"int64","title":"resultFileId"},"errorMessage":{"type":"string","title":"errorMessage"}}},"bitrix.rest.appdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"Application inner identification"},"clientId":{"type":"string","title":"Application client ID"},"clientSecret":{"type":"string","title":"Application client secret"},"applicationToken":{"type":"string","title":"Application token (shared secret used to authenticate webhook callbacks from the portal)"},"scopes":{"type":"array","title":"Application scopes"},"title":{"type":"string","title":"Application title"},"url":{"type":"string","title":"Handler URL"},"urlInstall":{"type":"string","title":"Installation URL"},"urlSettings":{"type":"string","title":"Settings URL"},"mobile":{"type":"boolean","title":"Mobile application flag"},"version":{"type":"string","title":"Application version"},"active":{"type":"boolean","title":"Application active flag"},"installed":{"type":"boolean","title":"Application installed flag"},"dateCreate":{"type":"string","title":"Date of creation"},"dateInstall":{"type":"string","title":"Date of installation"},"attributes":{"type":"array","title":"Application external attributes"}}},"bitrix.rest.incomingwebhookdto":{"type":"object","properties":{"url":{"type":"string","title":"Webhook handler URL"},"scopes":{"type":"array","title":"Webhook scopes"},"title":{"type":"string","title":"Webhook title"},"active":{"type":"boolean","title":"Active flag"},"userId":{"type":"integer","format":"int64","title":"Owner user id"},"dateCreate":{"type":"string","title":"Date of creation"},"attributes":{"type":"array","title":"Incoming webhook external attributes"},"dateExpire":{"type":"string","title":"Webhook expiration date"}}},"bitrix.rest.accessdto":{"type":"object","properties":{"clientId":{"type":"string","title":"Application client ID"},"codes":{"type":"array","title":"Application access codes"},"codesDetails":{"type":"array","title":"Access code details with provider and display name"}}},"bitrix.rest.embeddingdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"ID"},"userId":{"type":"integer","format":"int64","title":"User ID"},"placement":{"type":"string","title":"Placement name"},"handler":{"type":"string","title":"Placement Handler URI"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"groupName":{"type":"string","title":"groupName"},"additional":{"type":"string","title":"additional"},"options":{"type":"array","title":"options"},"languages":{"title":"languages"}}},"bitrix.rest.oauthtokendto":{"type":"object","properties":{"accessToken":{"type":"string","title":"OAuth access token"},"refreshToken":{"type":"string","title":"OAuth refresh token"},"expiresIn":{"type":"integer","format":"int64","title":"Access token lifetime in seconds"},"serverEndpoint":{"type":"string","title":"REST server endpoint"}}},"bitrix.rest.placementdto":{"type":"object","properties":{"placement":{"type":"string","title":"placement"}}},"bitrix.tasks.taskdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"creatorId":{"type":"integer","format":"int64","title":"creatorId"},"creator":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"creator"},"created":{"type":"string","format":"date-time","title":"created"},"responsibleId":{"type":"integer","format":"int64","title":"responsibleId"},"responsible":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"responsible"},"deadline":{"type":"string","format":"date-time","title":"deadline"},"needsControl":{"type":"boolean","title":"needsControl"},"startPlan":{"type":"string","format":"date-time","title":"startPlan"},"endPlan":{"type":"string","format":"date-time","title":"endPlan"},"fileIds":{"type":"array","title":"fileIds"},"checklist":{"type":"array","title":"checklist"},"groupId":{"type":"integer","format":"int64","title":"groupId"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"stageId":{"type":"integer","format":"int64","title":"stageId"},"stage":{"$ref":"#\/components\/schemas\/bitrix.tasks.stagedto","title":"stage"},"epicId":{"type":"integer","format":"int64","title":"epicId"},"storyPoints":{"type":"integer","format":"int64","title":"storyPoints"},"flowId":{"type":"integer","format":"int64","title":"flowId"},"flow":{"$ref":"#\/components\/schemas\/bitrix.tasks.flowdto","title":"flow"},"priority":{"type":"string","title":"priority"},"status":{"type":"string","title":"status"},"statusChanged":{"type":"string","format":"date-time","title":"statusChanged"},"accomplices":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto"},"title":"accomplices"},"auditors":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto"},"title":"auditors"},"parentId":{"type":"integer","format":"int64","title":"parentId"},"parent":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"parent"},"containsChecklist":{"type":"boolean","title":"containsChecklist"},"containsSubTasks":{"type":"boolean","title":"containsSubTasks"},"containsRelatedTasks":{"type":"boolean","title":"containsRelatedTasks"},"containsGanttLinks":{"type":"boolean","title":"containsGanttLinks"},"containsPlacements":{"type":"boolean","title":"containsPlacements"},"containsResults":{"type":"boolean","title":"containsResults"},"numberOfReminders":{"type":"integer","format":"int64","title":"numberOfReminders"},"chatId":{"type":"integer","format":"int64","title":"chatId"},"chat":{"$ref":"#\/components\/schemas\/bitrix.tasks.chatdto","title":"chat"},"plannedDuration":{"type":"integer","format":"int64","title":"plannedDuration"},"actualDuration":{"type":"integer","format":"int64","title":"actualDuration"},"durationType":{"type":"string","title":"durationType"},"started":{"type":"string","format":"date-time","title":"started"},"estimatedTime":{"type":"integer","format":"int64","title":"estimatedTime"},"replicate":{"type":"boolean","title":"replicate"},"changed":{"type":"string","format":"date-time","title":"changed"},"changedById":{"type":"integer","format":"int64","title":"changedById"},"changedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"changedBy"},"statusChangedById":{"type":"integer","format":"int64","title":"statusChangedById"},"statusChangedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"statusChangedBy"},"closedById":{"type":"integer","format":"int64","title":"closedById"},"closedBy":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"closedBy"},"closed":{"type":"string","format":"date-time","title":"closed"},"activity":{"type":"string","format":"date-time","title":"activity"},"guid":{"type":"string","title":"guid"},"xmlId":{"type":"string","title":"xmlId"},"exchangeId":{"type":"string","title":"exchangeId"},"exchangeModified":{"type":"string","title":"exchangeModified"},"outlookVersion":{"type":"integer","format":"int64","title":"outlookVersion"},"mark":{"type":"string","title":"mark"},"allowsChangeDeadline":{"type":"boolean","title":"allowsChangeDeadline"},"allowsTimeTracking":{"type":"boolean","title":"allowsTimeTracking"},"matchesWorkTime":{"type":"boolean","title":"matchesWorkTime"},"addInReport":{"type":"boolean","title":"addInReport"},"isMultitask":{"type":"boolean","title":"isMultitask"},"siteId":{"type":"string","title":"siteId"},"forkedByTemplateId":{"type":"integer","format":"int64","title":"forkedByTemplateId"},"forkedByTemplate":{"$ref":"#\/components\/schemas\/bitrix.tasks.templatedto","title":"forkedByTemplate"},"deadlineCount":{"type":"integer","format":"int64","title":"deadlineCount"},"declineReason":{"type":"string","title":"declineReason"},"forumTopicId":{"type":"integer","format":"int64","title":"forumTopicId"},"tags":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.tagdto"},"title":"tags"},"link":{"type":"string","title":"link"},"userFields":{"type":"array","items":{"$ref":"#\/components\/schemas\/bitrix.tasks.userfielddto"},"title":"userFields"},"rights":{"type":"array","title":"rights"},"archiveLink":{"type":"string","title":"archiveLink"},"crmItemIds":{"type":"array","title":"crmItemIds"},"crmItems":{"$ref":"#\/components\/schemas\/bitrix.tasks.crmitemdto","title":"crmItems"},"reminders":{"type":"array","title":"reminders"},"elapsedTime":{"$ref":"#\/components\/schemas\/bitrix.tasks.elapsedtimedto","title":"elapsedTime"},"requireResult":{"type":"boolean","title":"requireResult"},"matchesSubTasksTime":{"type":"boolean","title":"matchesSubTasksTime"},"autocompleteSubTasks":{"type":"boolean","title":"autocompleteSubTasks"},"allowsChangeDatePlan":{"type":"boolean","title":"allowsChangeDatePlan"},"emailId":{"type":"integer","format":"int64","title":"emailId"},"email":{"$ref":"#\/components\/schemas\/bitrix.tasks.emaildto","title":"email"},"maxDeadlineChangeDate":{"type":"string","format":"date-time","title":"maxDeadlineChangeDate"},"maxDeadlineChanges":{"type":"integer","format":"int64","title":"maxDeadlineChanges"},"requireDeadlineChangeReason":{"type":"boolean","title":"requireDeadlineChangeReason"},"inFavorite":{"type":"array","title":"inFavorite"},"inPin":{"type":"array","title":"inPin"},"inGroupPin":{"type":"array","title":"inGroupPin"},"inMute":{"type":"array","title":"inMute"},"source":{"$ref":"#\/components\/schemas\/bitrix.tasks.sourcedto","title":"source"},"dependsOn":{"type":"array","title":"dependsOn"},"scenarios":{"type":"array","title":"scenarios"}}},"bitrix.tasks.userdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"role":{"type":"string","title":"role"},"image":{"$ref":"#\/components\/schemas\/bitrix.tasks.filedto","title":"image"},"gender":{"type":"string","title":"gender"},"email":{"type":"string","title":"email"},"externalAuthId":{"type":"string","title":"externalAuthId"},"rights":{"type":"array","title":"rights"}}},"bitrix.tasks.filedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"src":{"type":"string","title":"src"},"name":{"type":"string","title":"name"},"width":{"type":"integer","format":"int64","title":"width"},"height":{"type":"integer","format":"int64","title":"height"},"size":{"type":"integer","format":"int64","title":"size"},"subDir":{"type":"string","title":"subDir"},"contentType":{"type":"string","title":"contentType"},"file":{"type":"array","title":"file"}}},"bitrix.tasks.groupdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"image":{"$ref":"#\/components\/schemas\/bitrix.tasks.filedto","title":"image"},"type":{"type":"string","title":"type"},"isVisible":{"type":"boolean","title":"isVisible"}}},"bitrix.tasks.stagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"title":{"type":"string","title":"title"},"color":{"type":"string","title":"color"}}},"bitrix.tasks.flowdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"}}},"bitrix.tasks.chatdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"entityId":{"type":"integer","format":"int64","title":"entityId"},"entityType":{"type":"string","title":"entityType"}}},"bitrix.tasks.templatedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"task":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"task"},"title":{"type":"string","title":"title"},"description":{"type":"string","title":"description"},"creator":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"creator"},"responsibleCollection":{"type":"array","title":"responsibleCollection"},"deadlineAfterTs":{"type":"integer","format":"int64","title":"deadlineAfterTs"},"startDatePlanTs":{"type":"integer","format":"int64","title":"startDatePlanTs"},"endDatePlanTs":{"type":"integer","format":"int64","title":"endDatePlanTs"},"replicate":{"type":"boolean","title":"replicate"},"fileIds":{"type":"array","title":"fileIds"},"checklist":{"type":"array","title":"checklist"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"priority":{"type":"string","title":"priority"},"accomplices":{"type":"array","title":"accomplices"},"auditors":{"type":"array","title":"auditors"},"parent":{"$ref":"#\/components\/schemas\/bitrix.tasks.templatedto","title":"parent"},"replicateParams":{"$ref":"#\/components\/schemas\/bitrix.tasks.replicateparamsdto","title":"replicateParams"}}},"bitrix.tasks.replicateparamsdto":{"type":"object","properties":{"period":{"type":"string","title":"period"},"everyDay":{"type":"string","title":"everyDay"},"workdayOnly":{"type":"string","title":"workdayOnly"},"dailyMonthInterval":{"type":"string","title":"dailyMonthInterval"},"everyWeek":{"type":"string","title":"everyWeek"},"monthlyType":{"type":"string","title":"monthlyType"},"monthlyDayNum":{"type":"string","title":"monthlyDayNum"},"monthlyMonthNum1":{"type":"string","title":"monthlyMonthNum1"},"monthlyWeekDayNum":{"type":"string","title":"monthlyWeekDayNum"},"monthlyWeekDay":{"type":"string","title":"monthlyWeekDay"},"monthlyMonthNum2":{"type":"string","title":"monthlyMonthNum2"},"yearlyType":{"type":"string","title":"yearlyType"},"yearlyDayNum":{"type":"string","title":"yearlyDayNum"},"yearlyMonth1":{"type":"string","title":"yearlyMonth1"},"yearlyWeekDayNum":{"type":"string","title":"yearlyWeekDayNum"},"yearlyWeekDay":{"type":"string","title":"yearlyWeekDay"},"yearlyMonth2":{"type":"string","title":"yearlyMonth2"},"time":{"type":"string","title":"time"},"timezoneOffset":{"type":"string","title":"timezoneOffset"},"startDate":{"type":"string","title":"startDate"},"repeatTill":{"type":"string","title":"repeatTill"},"endDate":{"type":"string","title":"endDate"},"times":{"type":"string","title":"times"}}},"bitrix.tasks.tagdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"name":{"type":"string","title":"name"},"ownerId":{"type":"integer","format":"int64","title":"ownerId"},"owner":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"owner"},"groupId":{"type":"integer","format":"int64","title":"groupId"},"group":{"$ref":"#\/components\/schemas\/bitrix.tasks.groupdto","title":"group"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"task":{"$ref":"#\/components\/schemas\/bitrix.tasks.taskdto","title":"task"}}},"bitrix.tasks.userfielddto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"key":{"type":"string","title":"key"},"value":{"title":"value"}}},"bitrix.tasks.crmitemdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"type":{"type":"string","title":"type"},"title":{"type":"string","title":"title"}}},"bitrix.tasks.elapsedtimedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"userId":{"type":"integer","format":"int64","title":"userId"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"minutes":{"type":"integer","format":"int64","title":"minutes"},"seconds":{"type":"integer","format":"int64","title":"seconds"},"source":{"type":"string","title":"source"},"text":{"type":"string","title":"text"},"createdAtTs":{"type":"integer","format":"int64","title":"createdAtTs"},"startTs":{"type":"integer","format":"int64","title":"startTs"},"stopTs":{"type":"integer","format":"int64","title":"stopTs"}}},"bitrix.tasks.emaildto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"mailboxId":{"type":"integer","format":"int64","title":"mailboxId"},"title":{"type":"string","title":"title"},"body":{"type":"string","title":"body"},"from":{"type":"string","title":"from"},"dateTs":{"type":"integer","format":"int64","title":"dateTs"},"link":{"type":"string","title":"link"}}},"bitrix.tasks.sourcedto":{"type":"object","properties":{"type":{"type":"string","title":"type"},"data":{"type":"array","title":"data"}}},"bitrix.tasks.messagedto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"text":{"type":"string","title":"text"}}},"bitrix.tasks.resultdto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"taskId":{"type":"integer","format":"int64","title":"taskId"},"text":{"type":"string","title":"text"},"authorId":{"type":"integer","format":"int64","title":"authorId"},"author":{"$ref":"#\/components\/schemas\/bitrix.tasks.userdto","title":"author"},"createdAt":{"type":"string","format":"date-time","title":"createdAt"},"updatedAt":{"type":"string","format":"date-time","title":"updatedAt"},"status":{"type":"string","title":"status"},"fileIds":{"type":"array","title":"fileIds"},"rights":{"type":"array","title":"rights"},"messageId":{"type":"integer","format":"int64","title":"messageId"}}},"bitrix.tasks.ganttlinkdto":{"type":"object","properties":{"taskId":{"type":"integer","format":"int64","title":"taskId"},"dependentId":{"type":"integer","format":"int64","title":"dependentId"},"type":{"type":"string","title":"type"},"creatorId":{"type":"integer","format":"int64","title":"creatorId"}}},"bitrix.timeman.recorddto":{"type":"object","properties":{"id":{"type":"integer","format":"int64","title":"id"},"userId":{"type":"integer","format":"int64","title":"userId"},"startTime":{"type":"string","format":"date-time","title":"startTime"},"endTime":{"type":"string","format":"date-time","title":"endTime"},"duration":{"type":"integer","format":"int64","title":"duration"},"breakLength":{"type":"integer","format":"int64","title":"breakLength"},"state":{"$ref":"#\/components\/schemas\/bitrix.timeman.recordstatedto","title":"state"},"isApproved":{"type":"boolean","title":"isApproved"}}},"bitrix.timeman.recordstatedto":{"type":"object","properties":{"status":{"type":"string","title":"status"},"recommendedCloseTime":{"type":"integer","format":"int64","title":"recommendedCloseTime"}}},"bitrix.vibecodeconnector.catalogitemdto":{"type":"object","properties":{"catalogItemId":{"type":"integer","format":"int64","title":"Catalog item identifier"},"title":{"type":"string","title":"Title"},"type":{"type":"string","title":"Item type"},"accessType":{"type":"string","title":"Access type"},"description":{"type":"string","title":"Description"},"editUrl":{"type":"string","title":"Edit URL"},"viewUrl":{"type":"string","title":"View URL"},"iconUrl":{"type":"string","title":"Icon URL"},"chatId":{"type":"integer","format":"int64","title":"Chat identifier"},"externalId":{"type":"string","title":"External identifier"},"ownerId":{"type":"integer","format":"int64","title":"Owner user identifier"},"color":{"type":"string","title":"Color"},"createdAt":{"type":"string","title":"Date of creation (ISO-8601)"},"updatedAt":{"type":"string","title":"Date of last update (ISO-8601)"}}},"bitrix.vibecodeconnector.accessdto":{"type":"object","properties":{"catalogItemId":{"type":"integer","format":"int64","title":"Catalog item identifier"},"accessCodes":{"type":"array","title":"Catalog item access codes"}}}}}} \ No newline at end of file diff --git a/docs/testing.md b/docs/testing.md index ad30f84f..21486382 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -302,6 +302,7 @@ skip_violations: | `make test-integration-catalog-document-annotations` | Warehouse accounting document result annotations | | `make test-integration-catalog-document-element` | Warehouse accounting document line items | | `make test-integration-catalog-document-element-annotations` | Warehouse accounting document line item result annotations | +| `make test-integration-catalog-store-product` | Product stock by warehouse (`catalog.storeproduct.*`) | ### Tests — integration (Tasks) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 193fc046..ee631c15 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -584,6 +584,9 @@ ./tests/Integration/Services/Catalog/DocumentElement/Result/DocumentElementItemResultTest.php + + ./tests/Integration/Services/Catalog/StoreProduct/ + diff --git a/rector.php b/rector.php index 0564321f..77f8ba1c 100644 --- a/rector.php +++ b/rector.php @@ -100,7 +100,7 @@ ->withSets( [ LevelSetList::UP_TO_PHP_84, - PHPUnitSetList::PHPUNIT_110 + PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES ] ) ->withImportNames( @@ -142,7 +142,6 @@ \Rector\Naming\Rector\Foreach_\RenameForeachValueVariableToMatchExprVariableRector::class, \Rector\Naming\Rector\Foreach_\RenameForeachValueVariableToMatchMethodCallReturnTypeRector::class, \Rector\Php83\Rector\ClassConst\AddTypeToConstRector::class, - \Rector\Php84\Rector\Class_\DeprecatedAnnotationToDeprecatedAttributeRector::class, \Rector\Php84\Rector\Foreach_\ForeachToArrayAnyRector::class, \Rector\Php84\Rector\Foreach_\ForeachToArrayFindRector::class, \Rector\Php84\Rector\MethodCall\NewMethodCallWithoutParenthesesRector::class, diff --git a/src/Services/Catalog/CatalogServiceBuilder.php b/src/Services/Catalog/CatalogServiceBuilder.php index 01219dae..fcb71bfc 100644 --- a/src/Services/Catalog/CatalogServiceBuilder.php +++ b/src/Services/Catalog/CatalogServiceBuilder.php @@ -290,4 +290,16 @@ public function documentElement(): Catalog\DocumentElement\Service\DocumentEleme return $this->serviceCache[__METHOD__]; } + + public function storeProduct(): Catalog\StoreProduct\Service\StoreProduct + { + if (!isset($this->serviceCache[__METHOD__])) { + $this->serviceCache[__METHOD__] = new Catalog\StoreProduct\Service\StoreProduct( + $this->core, + $this->log + ); + } + + return $this->serviceCache[__METHOD__]; + } } diff --git a/src/Services/Catalog/StoreProduct/Result/StoreProductFieldsResult.php b/src/Services/Catalog/StoreProduct/Result/StoreProductFieldsResult.php new file mode 100644 index 00000000..7e1cb9a6 --- /dev/null +++ b/src/Services/Catalog/StoreProduct/Result/StoreProductFieldsResult.php @@ -0,0 +1,29 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Services\Catalog\StoreProduct\Result; + +use Bitrix24\SDK\Core\Exceptions\BaseException; +use Bitrix24\SDK\Core\Result\AbstractResult; + +class StoreProductFieldsResult extends AbstractResult +{ + /** + * @return array> + * @throws BaseException + */ + public function getFieldsDescription(): array + { + return $this->getCoreResponse()->getResponseData()->getResult()['storeProduct']; + } +} diff --git a/src/Services/Catalog/StoreProduct/Result/StoreProductItemResult.php b/src/Services/Catalog/StoreProduct/Result/StoreProductItemResult.php new file mode 100644 index 00000000..588533e9 --- /dev/null +++ b/src/Services/Catalog/StoreProduct/Result/StoreProductItemResult.php @@ -0,0 +1,27 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Services\Catalog\StoreProduct\Result; + +use Bitrix24\SDK\Core\Result\AbstractAnnotatedItem; + +/** + * @property-read int $id + * @property-read int $productId + * @property-read int $storeId + * @property-read float $amount + * @property-read float|null $quantityReserved + */ +class StoreProductItemResult extends AbstractAnnotatedItem +{ +} diff --git a/src/Services/Catalog/StoreProduct/Result/StoreProductResult.php b/src/Services/Catalog/StoreProduct/Result/StoreProductResult.php new file mode 100644 index 00000000..aa25f818 --- /dev/null +++ b/src/Services/Catalog/StoreProduct/Result/StoreProductResult.php @@ -0,0 +1,26 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Services\Catalog\StoreProduct\Result; + +use Bitrix24\SDK\Core\Result\AbstractResult; + +class StoreProductResult extends AbstractResult +{ + public function storeProduct(): StoreProductItemResult + { + return new StoreProductItemResult( + $this->getCoreResponse()->getResponseData()->getResult()['storeProduct'] + ); + } +} diff --git a/src/Services/Catalog/StoreProduct/Result/StoreProductsResult.php b/src/Services/Catalog/StoreProduct/Result/StoreProductsResult.php new file mode 100644 index 00000000..6d2ec270 --- /dev/null +++ b/src/Services/Catalog/StoreProduct/Result/StoreProductsResult.php @@ -0,0 +1,42 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Services\Catalog\StoreProduct\Result; + +use Bitrix24\SDK\Core\Exceptions\BaseException; +use Bitrix24\SDK\Core\Result\AbstractResult; + +class StoreProductsResult extends AbstractResult +{ + /** + * @return StoreProductItemResult[] + * @throws BaseException + */ + public function getStoreProducts(): array + { + $res = []; + foreach ($this->getCoreResponse()->getResponseData()->getResult()['storeProducts'] as $item) { + $res[] = new StoreProductItemResult($item); + } + + return $res; + } + + /** + * @throws BaseException + */ + public function getTotal(): int + { + return $this->getCoreResponse()->getResponseData()->getPagination()->getTotal() ?? 0; + } +} diff --git a/src/Services/Catalog/StoreProduct/Service/StoreProduct.php b/src/Services/Catalog/StoreProduct/Service/StoreProduct.php new file mode 100644 index 00000000..129320b5 --- /dev/null +++ b/src/Services/Catalog/StoreProduct/Service/StoreProduct.php @@ -0,0 +1,92 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Services\Catalog\StoreProduct\Service; + +use Bitrix24\SDK\Attributes\ApiEndpointMetadata; +use Bitrix24\SDK\Attributes\ApiServiceMetadata; +use Bitrix24\SDK\Core\Credentials\Scope; +use Bitrix24\SDK\Core\Exceptions\BaseException; +use Bitrix24\SDK\Core\Exceptions\TransportException; +use Bitrix24\SDK\Services\AbstractService; +use Bitrix24\SDK\Services\Catalog\StoreProduct\Result\StoreProductFieldsResult; +use Bitrix24\SDK\Services\Catalog\StoreProduct\Result\StoreProductResult; +use Bitrix24\SDK\Services\Catalog\StoreProduct\Result\StoreProductsResult; + +#[ApiServiceMetadata(new Scope(['catalog']))] +class StoreProduct extends AbstractService +{ + /** + * Returns information about product stock by record identifier. + * + * @link https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-get.html + * + * @throws BaseException + * @throws TransportException + */ + #[ApiEndpointMetadata( + 'catalog.storeproduct.get', + 'https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-get.html', + 'Returns information about product stock by record identifier.' + )] + public function get(int $id): StoreProductResult + { + $this->guardPositiveId($id); + + return new StoreProductResult($this->core->call('catalog.storeproduct.get', ['id' => $id])); + } + + /** + * Returns a list of product stock records by filter. + * + * @link https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-list.html + * + * @param string[] $select + * @param array $filter + * @param array $order + * + * @throws BaseException + * @throws TransportException + */ + #[ApiEndpointMetadata( + 'catalog.storeproduct.list', + 'https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-list.html', + 'Returns a list of product stock records by filter.' + )] + public function list(array $select = [], array $filter = [], array $order = []): StoreProductsResult + { + return new StoreProductsResult($this->core->call('catalog.storeproduct.list', [ + 'select' => $select, + 'filter' => $filter, + 'order' => $order, + ])); + } + + /** + * Returns the fields of product stock records. + * + * @link https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-get-fields.html + * + * @throws BaseException + * @throws TransportException + */ + #[ApiEndpointMetadata( + 'catalog.storeproduct.getFields', + 'https://apidocs.bitrix24.com/api-reference/catalog/store-product/catalog-store-product-get-fields.html', + 'Returns the fields of product stock records.' + )] + public function getFields(): StoreProductFieldsResult + { + return new StoreProductFieldsResult($this->core->call('catalog.storeproduct.getFields')); + } +} diff --git a/tests/Integration/Services/Catalog/StoreProduct/Result/StoreProductItemResultTest.php b/tests/Integration/Services/Catalog/StoreProduct/Result/StoreProductItemResultTest.php new file mode 100644 index 00000000..58ee4df6 --- /dev/null +++ b/tests/Integration/Services/Catalog/StoreProduct/Result/StoreProductItemResultTest.php @@ -0,0 +1,71 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Tests\Integration\Services\Catalog\StoreProduct\Result; + +use Bitrix24\SDK\Core\Exceptions\BaseException; +use Bitrix24\SDK\Core\Exceptions\TransportException; +use Bitrix24\SDK\Services\Catalog\StoreProduct\Result\StoreProductItemResult; +use Bitrix24\SDK\Services\Catalog\StoreProduct\Service\StoreProduct; +use Bitrix24\SDK\Tests\CustomAssertions\CustomBitrix24Assertions; +use Bitrix24\SDK\Tests\Integration\Factory; +use PHPUnit\Framework\Attributes\CoversClass; +use PHPUnit\Framework\Attributes\Test; +use PHPUnit\Framework\Attributes\TestDox; +use PHPUnit\Framework\TestCase; + +#[CoversClass(StoreProductItemResult::class)] +class StoreProductItemResultTest extends TestCase +{ + use CustomBitrix24Assertions; + + private StoreProduct $storeProductService; + + /** + * @throws BaseException + * @throws TransportException + */ + #[Test] + #[TestDox('all fields in StoreProductItemResult are annotated in phpdoc and match with raw api response')] + public function testAllFieldsAreAnnotated(): void + { + $rawItem = $this->storeProductService->list()->getCoreResponse() + ->getResponseData()->getResult()['storeProducts'][0]; + + $this->assertBitrix24AllResultItemFieldsAnnotated( + array_keys($rawItem), + StoreProductItemResult::class + ); + } + + /** + * @throws BaseException + * @throws TransportException + */ + #[Test] + #[TestDox('all fields in StoreProductItemResult have valid type casting in magic getters')] + public function testAllFieldsHasValidTypeCastingInMagicGetters(): void + { + $item = $this->storeProductService->list()->getStoreProducts()[0]; + $this->assertBitrix24ResultItemFieldsTypeCastMatchAnnotations( + $item, + StoreProductItemResult::class + ); + } + + #[\Override] + protected function setUp(): void + { + $this->storeProductService = Factory::getServiceBuilder()->getCatalogScope()->storeProduct(); + } +} diff --git a/tests/Integration/Services/Catalog/StoreProduct/Service/StoreProductTest.php b/tests/Integration/Services/Catalog/StoreProduct/Service/StoreProductTest.php new file mode 100644 index 00000000..dddb1e74 --- /dev/null +++ b/tests/Integration/Services/Catalog/StoreProduct/Service/StoreProductTest.php @@ -0,0 +1,98 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Tests\Integration\Services\Catalog\StoreProduct\Service; + +use Bitrix24\SDK\Core\Exceptions\BaseException; +use Bitrix24\SDK\Core\Exceptions\TransportException; +use Bitrix24\SDK\Services\Catalog\StoreProduct\Service\StoreProduct; +use Bitrix24\SDK\Tests\Integration\Factory; +use PHPUnit\Framework\Attributes\CoversClass; +use PHPUnit\Framework\Attributes\TestDox; +use PHPUnit\Framework\TestCase; + +#[CoversClass(StoreProduct::class)] +class StoreProductTest extends TestCase +{ + private StoreProduct $storeProductService; + + /** + * @throws BaseException + * @throws TransportException + */ + #[TestDox('test StoreProduct::list finds existing storeProduct records')] + public function testList(): void + { + $items = $this->storeProductService->list()->getStoreProducts(); + $this->assertNotEmpty($items, 'integration portal must have at least one product with stock'); + $this->assertGreaterThan(0, $this->storeProductService->list()->getTotal()); + } + + /** + * @throws BaseException + * @throws TransportException + */ + #[TestDox('test StoreProduct::list with select, filter and order')] + public function testListWithSelectFilterOrder(): void + { + $anyItem = $this->storeProductService->list()->getStoreProducts()[0]; + + $items = $this->storeProductService->list( + ['id', 'productId', 'storeId', 'amount'], + ['productId' => $anyItem->productId], + ['id' => 'ASC'] + )->getStoreProducts(); + + $this->assertNotEmpty($items); + foreach ($items as $item) { + $this->assertEquals($anyItem->productId, $item->productId); + } + } + + /** + * @throws BaseException + * @throws TransportException + */ + #[TestDox('test StoreProduct::get returns the same record as list')] + public function testGet(): void + { + $listItem = $this->storeProductService->list()->getStoreProducts()[0]; + $getItem = $this->storeProductService->get($listItem->id)->storeProduct(); + + $this->assertEquals($listItem->id, $getItem->id); + $this->assertEquals($listItem->productId, $getItem->productId); + $this->assertEquals($listItem->storeId, $getItem->storeId); + } + + /** + * @throws BaseException + * @throws TransportException + */ + #[TestDox('test StoreProduct::getFields')] + public function testGetFields(): void + { + $fields = $this->storeProductService->getFields()->getFieldsDescription(); + + $this->assertArrayHasKey('id', $fields); + $this->assertArrayHasKey('productId', $fields); + $this->assertArrayHasKey('storeId', $fields); + $this->assertArrayHasKey('amount', $fields); + $this->assertArrayHasKey('quantityReserved', $fields); + } + + #[\Override] + protected function setUp(): void + { + $this->storeProductService = Factory::getServiceBuilder()->getCatalogScope()->storeProduct(); + } +} diff --git a/tests/Unit/Services/Catalog/StoreProduct/Service/StoreProductTest.php b/tests/Unit/Services/Catalog/StoreProduct/Service/StoreProductTest.php new file mode 100644 index 00000000..5ac8b630 --- /dev/null +++ b/tests/Unit/Services/Catalog/StoreProduct/Service/StoreProductTest.php @@ -0,0 +1,97 @@ + + * + * For the full copyright and license information, please view the MIT-LICENSE.txt + * file that was distributed with this source code. + */ + +declare(strict_types=1); + +namespace Bitrix24\SDK\Tests\Unit\Services\Catalog\StoreProduct\Service; + +use Bitrix24\SDK\Core\Contracts\CoreInterface; +use Bitrix24\SDK\Core\Exceptions\InvalidArgumentException; +use Bitrix24\SDK\Core\Response\Response; +use Bitrix24\SDK\Services\Catalog\StoreProduct\Service\StoreProduct; +use PHPUnit\Framework\Attributes\CoversClass; +use PHPUnit\Framework\Attributes\Test; +use PHPUnit\Framework\TestCase; +use Psr\Log\NullLogger; + +#[CoversClass(StoreProduct::class)] +class StoreProductTest extends TestCase +{ + #[Test] + public function getThrowsOnNonPositiveId(): void + { + $core = $this->createMock(CoreInterface::class); + $core->expects($this->never())->method('call'); + + $this->expectException(InvalidArgumentException::class); + (new StoreProduct($core, new NullLogger()))->get(0); + } + + #[Test] + public function getCallsCoreWithId(): void + { + $core = $this->createMock(CoreInterface::class); + $core->expects($this->once()) + ->method('call') + ->with('catalog.storeproduct.get', ['id' => 13]) + ->willReturn($this->createStub(Response::class)); + + (new StoreProduct($core, new NullLogger()))->get(13); + } + + #[Test] + public function listCallsCoreWithSelectFilterOrder(): void + { + $core = $this->createMock(CoreInterface::class); + $core->expects($this->once()) + ->method('call') + ->with('catalog.storeproduct.list', [ + 'select' => ['id', 'productId', 'storeId', 'amount'], + 'filter' => ['productId' => 6973], + 'order' => ['id' => 'ASC'], + ]) + ->willReturn($this->createStub(Response::class)); + + (new StoreProduct($core, new NullLogger()))->list( + ['id', 'productId', 'storeId', 'amount'], + ['productId' => 6973], + ['id' => 'ASC'] + ); + } + + #[Test] + public function listCallsCoreWithDefaultEmptyArguments(): void + { + $core = $this->createMock(CoreInterface::class); + $core->expects($this->once()) + ->method('call') + ->with('catalog.storeproduct.list', [ + 'select' => [], + 'filter' => [], + 'order' => [], + ]) + ->willReturn($this->createStub(Response::class)); + + (new StoreProduct($core, new NullLogger()))->list(); + } + + #[Test] + public function getFieldsCallsCoreWithoutArguments(): void + { + $core = $this->createMock(CoreInterface::class); + $core->expects($this->once()) + ->method('call') + ->with('catalog.storeproduct.getFields') + ->willReturn($this->createStub(Response::class)); + + (new StoreProduct($core, new NullLogger()))->getFields(); + } +}