You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-08-10 22:41:43 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -46,4 +46,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
@@ -46,4 +46,6 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
NOT JSON: AddIn.OPI_MSSQL.Main
|
||||
```
|
||||
|
@@ -106,4 +106,23 @@ Without specifying the `ForcifyResult` flag, result data is returned only for qu
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"Age": 20,
|
||||
"BirthDate": "2025-07-14",
|
||||
"CreatedAt": "2025-07-14T11:12:52",
|
||||
"Data": {
|
||||
"BYTES": "Base64"
|
||||
},
|
||||
"FirstName": "Vitaly",
|
||||
"IsEmployed": 1,
|
||||
"LastName": "Alpaca",
|
||||
"RowGuid": "35c4b71e-4095-4209-9594-0bcc03934e4f",
|
||||
"Salary": 10.3
|
||||
}
|
||||
],
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
@@ -46,4 +46,6 @@ This function allows you to quickly assemble a basic connection string. In case
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
"Server=127.0.0.1;User Id=bayselonarrend;Password=***;"
|
||||
```
|
||||
|
@@ -42,4 +42,9 @@ Tls settings can also be passed in the connection string
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"use_tls": true,
|
||||
"accept_invalid_certs": true
|
||||
}
|
||||
```
|
||||
|
@@ -48,4 +48,6 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
true
|
||||
```
|
||||
|
11
docs/en/md/MSSQL/Orm/Add-records.mdx
vendored
11
docs/en/md/MSSQL/Orm/Add-records.mdx
vendored
@@ -96,4 +96,13 @@ List of available types is described on the initial page of the MSSQL library do
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"commit": {
|
||||
"result": true
|
||||
},
|
||||
"result": true,
|
||||
"rows": 1,
|
||||
"errors": []
|
||||
}
|
||||
```
|
||||
|
6
docs/en/md/MSSQL/Orm/Add-table-column.mdx
vendored
6
docs/en/md/MSSQL/Orm/Add-table-column.mdx
vendored
@@ -53,4 +53,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
6
docs/en/md/MSSQL/Orm/Clear-table.mdx
vendored
6
docs/en/md/MSSQL/Orm/Clear-table.mdx
vendored
@@ -49,4 +49,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
6
docs/en/md/MSSQL/Orm/Create-database.mdx
vendored
6
docs/en/md/MSSQL/Orm/Create-database.mdx
vendored
@@ -48,4 +48,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
6
docs/en/md/MSSQL/Orm/Create-table.mdx
vendored
6
docs/en/md/MSSQL/Orm/Create-table.mdx
vendored
@@ -72,4 +72,8 @@ List of available types is described on the initial page of the MSSQL library do
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
6
docs/en/md/MSSQL/Orm/Delete-database.mdx
vendored
6
docs/en/md/MSSQL/Orm/Delete-database.mdx
vendored
@@ -48,4 +48,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
6
docs/en/md/MSSQL/Orm/Delete-records.mdx
vendored
6
docs/en/md/MSSQL/Orm/Delete-records.mdx
vendored
@@ -69,4 +69,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
6
docs/en/md/MSSQL/Orm/Delete-table-column.mdx
vendored
6
docs/en/md/MSSQL/Orm/Delete-table-column.mdx
vendored
@@ -51,4 +51,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
6
docs/en/md/MSSQL/Orm/Delete-table.mdx
vendored
6
docs/en/md/MSSQL/Orm/Delete-table.mdx
vendored
@@ -49,4 +49,8 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
9
docs/en/md/MSSQL/Orm/Ensure-table.mdx
vendored
9
docs/en/md/MSSQL/Orm/Ensure-table.mdx
vendored
@@ -62,4 +62,11 @@ This function does not update the data type of existing columns
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true,
|
||||
"commit": {
|
||||
"result": true
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@@ -39,4 +39,12 @@ In such a case, you must use `raw:true` to set the condition directly in the que
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"field": "<filtering field name>",
|
||||
"type": "<comparison type>",
|
||||
"value": "<comparison value>",
|
||||
"union": "<connection with the following condition: AND, OR, etc..>",
|
||||
"raw": "<true - the value will be inserted by text as it is, false - through the parameter>"
|
||||
}
|
||||
```
|
||||
|
28
docs/en/md/MSSQL/Orm/Get-records.mdx
vendored
28
docs/en/md/MSSQL/Orm/Get-records.mdx
vendored
@@ -91,4 +91,30 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"bigint_field": 20000000000,
|
||||
"bit_field": 1,
|
||||
"date_field": "2025-07-14",
|
||||
"datetime_field": "2025-07-14T11:12:57",
|
||||
"dto_field": "2025-07-14T01:12:57.073372100+00:00",
|
||||
"float24_field": 10.1234569549561,
|
||||
"float53_field": 10.1234567891235,
|
||||
"int_field": 200000,
|
||||
"numeric_field": 5.333,
|
||||
"nvarchar_field": "Some text",
|
||||
"smallint_field": 2000,
|
||||
"time_field": "11:12:57",
|
||||
"tinyint_field": 5,
|
||||
"uid_field": "68c5ab79-8481-4983-ab04-45558c8f1baa",
|
||||
"varbinary_field": {
|
||||
"BYTES": "/9j/4VTBRX..."
|
||||
},
|
||||
"xml_field": "<root><element><name>Example</name><value>123</value></element><element><name>Test</name><value>456</value></element></root>"
|
||||
}
|
||||
],
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
120
docs/en/md/MSSQL/Orm/Get-table-information.mdx
vendored
120
docs/en/md/MSSQL/Orm/Get-table-information.mdx
vendored
@@ -49,4 +49,122 @@ import TabItem from '@theme/TabItem';
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "tinyint_field",
|
||||
"data_type": "tinyint",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "smallint_field",
|
||||
"data_type": "smallint",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "int_field",
|
||||
"data_type": "int",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "bigint_field",
|
||||
"data_type": "bigint",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "float24_field",
|
||||
"data_type": "real",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "float53_field",
|
||||
"data_type": "float",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "bit_field",
|
||||
"data_type": "bit",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": 4000,
|
||||
"column_default": null,
|
||||
"column_name": "nvarchar_field",
|
||||
"data_type": "nvarchar",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": -1,
|
||||
"column_default": null,
|
||||
"column_name": "varbinary_field",
|
||||
"data_type": "varbinary",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "uid_field",
|
||||
"data_type": "uniqueidentifier",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "numeric_field",
|
||||
"data_type": "numeric",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": -1,
|
||||
"column_default": null,
|
||||
"column_name": "xml_field",
|
||||
"data_type": "xml",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "date_field",
|
||||
"data_type": "date",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "time_field",
|
||||
"data_type": "time",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "dto_field",
|
||||
"data_type": "datetimeoffset",
|
||||
"is_nullable": "YES"
|
||||
},
|
||||
{
|
||||
"character_maximum_length": null,
|
||||
"column_default": null,
|
||||
"column_name": "datetime_field",
|
||||
"data_type": "datetime",
|
||||
"is_nullable": "YES"
|
||||
}
|
||||
],
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
6
docs/en/md/MSSQL/Orm/Update-records.mdx
vendored
6
docs/en/md/MSSQL/Orm/Update-records.mdx
vendored
@@ -71,4 +71,8 @@ List of available types is described on the initial page of the MSSQL library do
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"result": true
|
||||
}
|
||||
```
|
||||
|
@@ -37,4 +37,9 @@ Is a shorthand for the function `GetMessageStructure`
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"role": "assistant",
|
||||
"content": "What is 1C:Enterprise?"
|
||||
}
|
||||
```
|
||||
|
@@ -37,4 +37,9 @@ Is a shorthand for the function `GetMessageStructure`
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"role": "system",
|
||||
"content": "What is 1C:Enterprise?"
|
||||
}
|
||||
```
|
||||
|
@@ -38,4 +38,10 @@ Is a shorthand for the function `GetMessageStructure`
|
||||
|
||||
|
||||
|
||||
|
||||
```json title="Result"
|
||||
{
|
||||
"role": "user",
|
||||
"content": "What is 1C:Enterprise?",
|
||||
"name": "Vitaly"
|
||||
}
|
||||
```
|
||||
|
16740
service/dictionaries/en.json
vendored
16740
service/dictionaries/en.json
vendored
File diff suppressed because it is too large
Load Diff
12
src/en/cli/data/Classes/LibraryComposition.os
vendored
12
src/en/cli/data/Classes/LibraryComposition.os
vendored
@@ -118,7 +118,8 @@ Function GetFullComposition() Export
|
||||
|
||||
EndFunction
|
||||
|
||||
Function FormMethodCallString(Val PassedParameters, Val Command, Val Method) Export
|
||||
|
||||
Function FormMethodCallString(Val PassedParameters, Val Command, Val Method, Val Дandtoмandчеwithtoand = True) Export
|
||||
|
||||
Module = GetCommandModuleMapping().Get(Command);
|
||||
IndexObject = GetIndexData(Command);
|
||||
@@ -129,7 +130,12 @@ Function FormMethodCallString(Val PassedParameters, Val Command, Val Method) Exp
|
||||
|
||||
CommandSelection = New Structure("SearchMethod", Upper(Method));
|
||||
MethodParameters = IndexObject["Composition"].FindRows(CommandSelection);
|
||||
|
||||
If Дandtoмandчеwithtoand Then
|
||||
ExecutionText = StrTemplate(IndexObject["ConnectionString"], PackagesDirectory);
|
||||
Else
|
||||
ExecutionText = "";
|
||||
EndIf;
|
||||
|
||||
If Not ValueIsFilled(MethodParameters) Then
|
||||
Return New Structure("Error,Result", True, "Method");
|
||||
@@ -229,8 +235,8 @@ Function ПолучитьПолныйСостав() Export
|
||||
Return GetFullComposition();
|
||||
EndFunction
|
||||
|
||||
Function СформироватьСтрокуВызоваМетода(Val ПереданныеПараметры, Val Команда, Val Метод) Export
|
||||
Return FormMethodCallString(ПереданныеПараметры, Команда, Метод);
|
||||
Function СформироватьСтрокуВызоваМетода(Val ПереданныеПараметры, Val Команда, Val Метод, Val Динамически = True) Export
|
||||
Return FormMethodCallString(ПереданныеПараметры, Команда, Метод, Динамически);
|
||||
EndFunction
|
||||
|
||||
Procedure ДополнитьКэшСостава(Val Библиотека, Val ТаблицаПараметров, Команда = "") Export
|
||||
|
@@ -118,7 +118,8 @@
|
||||
|
||||
КонецФункции
|
||||
|
||||
Функция СформироватьСтрокуВызоваМетода(Знач ПереданныеПараметры, Знач Команда, Знач Метод) Экспорт
|
||||
|
||||
Функция СформироватьСтрокуВызоваМетода(Знач ПереданныеПараметры, Знач Команда, Знач Метод, Знач Динамически = Истина) Экспорт
|
||||
|
||||
Модуль = ПолучитьСоответствиеКомандМодулей().Получить(Команда);
|
||||
ОбъектИндекса = ПолучитьИнформациюИндекса(Команда);
|
||||
@@ -129,7 +130,12 @@
|
||||
|
||||
ОтборКоманды = Новый Структура("МетодПоиска", вРег(Метод));
|
||||
ПараметрыМетода = ОбъектИндекса["Состав"].НайтиСтроки(ОтборКоманды);
|
||||
|
||||
Если Динамически Тогда
|
||||
ТекстВыполнения = СтрШаблон(ОбъектИндекса["СтрокаПодключения"], КаталогПакетов);
|
||||
Иначе
|
||||
ТекстВыполнения = "";
|
||||
КонецЕсли;
|
||||
|
||||
Если Не ЗначениеЗаполнено(ПараметрыМетода) Тогда
|
||||
Возврат Новый Структура("Ошибка,Результат", Истина, "Метод");
|
||||
@@ -229,8 +235,8 @@ Function GetFullComposition() Export
|
||||
Return ПолучитьПолныйСостав();
|
||||
EndFunction
|
||||
|
||||
Function FormMethodCallString(Val PassedParameters, Val Command, Val Method) Export
|
||||
Return СформироватьСтрокуВызоваМетода(PassedParameters, Command, Method);
|
||||
Function FormMethodCallString(Val PassedParameters, Val Command, Val Method, Val Дandtoмandчеwithtoand = True) Export
|
||||
Return СформироватьСтрокуВызоваМетода(PassedParameters, Command, Method, Дandtoмandчеwithtoand);
|
||||
EndFunction
|
||||
|
||||
Procedure CompleteCompositionCache(Val Library, Val ParametersTable, Command = "") Export
|
||||
|
Reference in New Issue
Block a user