Skip to content

Commit

Permalink
Преобразование OPI -> OInt (workflow)
Browse files Browse the repository at this point in the history
  • Loading branch information
VitalyTheAlpaca committed Jul 15, 2024
1 parent 0004baa commit f53d861
Show file tree
Hide file tree
Showing 8 changed files with 776 additions and 775 deletions.
1,480 changes: 740 additions & 740 deletions service/dictionaries/en.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/en/OInt/core/Modules/OPI_Airtable.os
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ EndFunction
// Token - String - Token - token
// Base - String - Base identifier - base
// Table - String - Table identifier - table
// FieldStructure - Structure of Key-Value - Description of the new field - fielddata
// FieldStructure - Structure of KeyAndValue - Description of the new field - fielddata
//
// Returns:
// Map Of KeyAndValue - serialized JSON response from Airtable
Expand Down
18 changes: 9 additions & 9 deletions src/en/OInt/core/Modules/OPI_Bitrix24.os
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ EndFunction
//
// Parameters:
// URL - String - URL of webhook or a Bitrix24 domain, when token used - url
// Filter - Structure of Key-Value - Structure of task filter (see GetTaskFieldsStructure) - filter
// Filter - Structure of KeyAndValue - Structure of task filter (see GetTaskFieldsStructure) - filter
// Indent - Number, String - Offset of tasks list - offset
// Token - String - Access token, when app auth method used - token
//
Expand All @@ -443,7 +443,7 @@ EndFunction
//
// Parameters:
// URL - String - URL of webhook or a Bitrix24 domain, when token used - url
// FieldsStructure - Structure of Key-Value - Task fields structure (see GetTaskFieldsStructure) - fields
// FieldsStructure - Structure of KeyAndValue - Task fields structure (see GetTaskFieldsStructure) - fields
// Token - String - Access token, when app auth method used - token
//
// Returns:
Expand All @@ -468,7 +468,7 @@ EndFunction
// Parameters:
// URL - String - URL of webhook or a Bitrix24 domain, when token used - url
// TaskID - Number, String - Task ID - task
// FieldsStructure - Structure of Key-Value - Task fields structure - fields
// FieldsStructure - Structure of KeyAndValue - Task fields structure - fields
// Token - String - Access token, when app auth method used - token
//
// Returns:
Expand Down Expand Up @@ -973,7 +973,7 @@ EndFunction
// Clear - Boolean - True > structure with empty valuse, False > field descriptions at values - empty
//
// Returns:
// Structure of Key-Value - Fields structure
// Structure of KeyAndValue - Fields structure
Function GetTasksFilterStructure(Val Clear = False) Export

// More
Expand Down Expand Up @@ -1423,7 +1423,7 @@ EndFunction
// Clear - Boolean - True > structure with empty valuse, False > field descriptions at values - empty
//
// Returns:
// Structure of Key-Value - Fields structure
// Structure of KeyAndValue - Fields structure
Function GetCommentStructure(Val Clear = False) Export

// More
Expand Down Expand Up @@ -2123,7 +2123,7 @@ EndFunction
// Parameters:
// URL - String - URL of webhook or a Bitrix24 domain, when token used - url
// FolderID - String, Number - Folder identifier - folderid
// Filter - Structure of Key-Value - Items filter (see GetFolderFilterStructure) - filter
// Filter - Structure of KeyAndValue - Items filter (see GetFolderFilterStructure) - filter
// Token - String - Access token, when app auth method used - token
//
// Returns:
Expand Down Expand Up @@ -2219,7 +2219,7 @@ EndFunction
// Token - String - Access token, when app auth method used - token
//
// Returns:
// Structure of Key-Value - Fields structure
// Structure of KeyAndValue - Fields structure
Function GetFolderFilterStructure(Val URL, Val Clear = False, Val Token = "") Export

Parameters = NormalizeAuth(URL, Token, "disk.folder.getfields");
Expand Down Expand Up @@ -2542,7 +2542,7 @@ EndFunction
//
// Parameters:
// URL - String - URL of webhook or a Bitrix24 domain, when token used - url
// ChatStructure - Structure of Key-Value - Chat fields structure. See GetChatStructure - fields
// ChatStructure - Structure of KeyAndValue - Chat fields structure. See GetChatStructure - fields
// Token - String - Access token, when app auth method used - token
//
// Returns:
Expand Down Expand Up @@ -2976,7 +2976,7 @@ EndFunction
// Clear - Boolean - True > structure with empty values, False > field types at values - empty
//
// Returns:
// Structure of Key-Value - Fields structure
// Structure of KeyAndValue - Fields structure
Function GetChatStructure(Val Clear = False) Export

OPI_TypeConversion.GetBoolean(Clear);
Expand Down
3 changes: 1 addition & 2 deletions src/en/OPI/DT-INF/PROJECT.PMF
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Manifest-Version: 1.0
Runtime-Version: 8.3.15
Base-Project: OpenIntegrations_Eng
Manifest-Version: 1.0
Base-Project: OpenIntegrations_ENG
2 changes: 1 addition & 1 deletion src/en/OPI/src/CommonModules/OPI_Airtable/Module.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ EndFunction
// Token - String - Token - token
// Base - String - Base identifier - base
// Table - String - Table identifier - table
// FieldStructure - Structure of Key-Value - Description of the new field - fielddata
// FieldStructure - Structure of KeyAndValue - Description of the new field - fielddata
//
// Returns:
// Map Of KeyAndValue - serialized JSON response from Airtable
Expand Down
18 changes: 9 additions & 9 deletions src/en/OPI/src/CommonModules/OPI_Bitrix24/Module.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ EndFunction
//
// Parameters:
// URL - String - URL of webhook or a Bitrix24 domain, when token used - url
// Filter - Structure of Key-Value - Structure of task filter (see GetTaskFieldsStructure) - filter
// Filter - Structure of KeyAndValue - Structure of task filter (see GetTaskFieldsStructure) - filter
// Indent - Number, String - Offset of tasks list - offset
// Token - String - Access token, when app auth method used - token
//
Expand All @@ -443,7 +443,7 @@ EndFunction
//
// Parameters:
// URL - String - URL of webhook or a Bitrix24 domain, when token used - url
// FieldsStructure - Structure of Key-Value - Task fields structure (see GetTaskFieldsStructure) - fields
// FieldsStructure - Structure of KeyAndValue - Task fields structure (see GetTaskFieldsStructure) - fields
// Token - String - Access token, when app auth method used - token
//
// Returns:
Expand All @@ -468,7 +468,7 @@ EndFunction
// Parameters:
// URL - String - URL of webhook or a Bitrix24 domain, when token used - url
// TaskID - Number, String - Task ID - task
// FieldsStructure - Structure of Key-Value - Task fields structure - fields
// FieldsStructure - Structure of KeyAndValue - Task fields structure - fields
// Token - String - Access token, when app auth method used - token
//
// Returns:
Expand Down Expand Up @@ -973,7 +973,7 @@ EndFunction
// Clear - Boolean - True > structure with empty valuse, False > field descriptions at values - empty
//
// Returns:
// Structure of Key-Value - Fields structure
// Structure of KeyAndValue - Fields structure
Function GetTasksFilterStructure(Val Clear = False) Export

// More
Expand Down Expand Up @@ -1423,7 +1423,7 @@ EndFunction
// Clear - Boolean - True > structure with empty valuse, False > field descriptions at values - empty
//
// Returns:
// Structure of Key-Value - Fields structure
// Structure of KeyAndValue - Fields structure
Function GetCommentStructure(Val Clear = False) Export

// More
Expand Down Expand Up @@ -2123,7 +2123,7 @@ EndFunction
// Parameters:
// URL - String - URL of webhook or a Bitrix24 domain, when token used - url
// FolderID - String, Number - Folder identifier - folderid
// Filter - Structure of Key-Value - Items filter (see GetFolderFilterStructure) - filter
// Filter - Structure of KeyAndValue - Items filter (see GetFolderFilterStructure) - filter
// Token - String - Access token, when app auth method used - token
//
// Returns:
Expand Down Expand Up @@ -2219,7 +2219,7 @@ EndFunction
// Token - String - Access token, when app auth method used - token
//
// Returns:
// Structure of Key-Value - Fields structure
// Structure of KeyAndValue - Fields structure
Function GetFolderFilterStructure(Val URL, Val Clear = False, Val Token = "") Export

Parameters = NormalizeAuth(URL, Token, "disk.folder.getfields");
Expand Down Expand Up @@ -2542,7 +2542,7 @@ EndFunction
//
// Parameters:
// URL - String - URL of webhook or a Bitrix24 domain, when token used - url
// ChatStructure - Structure of Key-Value - Chat fields structure. See GetChatStructure - fields
// ChatStructure - Structure of KeyAndValue - Chat fields structure. See GetChatStructure - fields
// Token - String - Access token, when app auth method used - token
//
// Returns:
Expand Down Expand Up @@ -2976,7 +2976,7 @@ EndFunction
// Clear - Boolean - True > structure with empty values, False > field types at values - empty
//
// Returns:
// Structure of Key-Value - Fields structure
// Structure of KeyAndValue - Fields structure
Function GetChatStructure(Val Clear = False) Export

OPI_TypeConversion.GetBoolean(Clear);
Expand Down
8 changes: 5 additions & 3 deletions src/en/cli/data/Classes/internal/Classes/airtable.os
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@
NewLine.Параметр = "--token";
NewLine.Описание = "Token";
NewLine.Область = "Working with fields";
NewLine.ОписаниеМетода = "Creates a new field in the table";
NewLine.ОписаниеМетода = "Creates a new field in the table
|Functions for generating field descriptions: GetStringField, GetNumberField, GetAttachmentField, GetCheckboxField, GetDateField, GetEmailField, GetPhoneField, GetLinkField
|";


NewLine = CompositionTable.Add();
Expand Down Expand Up @@ -260,8 +262,8 @@
NewLine.Модуль = "OPI_Airtable";
NewLine.Метод = "CreateField";
NewLine.МетодПоиска = "CREATEFIELD";
NewLine.Параметр = "--Description of the new field";
NewLine.Описание = "fielddata";
NewLine.Параметр = "--fielddata";
NewLine.Описание = "Description of the new field";
NewLine.Область = "Working with fields";


Expand Down
20 changes: 10 additions & 10 deletions src/en/cli/data/Classes/internal/Classes/bitrix24.os
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,8 @@
NewLine.Модуль = "OPI_Bitrix24";
NewLine.Метод = "GetTasksList";
NewLine.МетодПоиска = "GETTASKSLIST";
NewLine.Параметр = "--Structure of task filter (see GetTaskFieldsStructure)";
NewLine.Описание = "filter (optional, def. val. - Empty value)";
NewLine.Параметр = "--filter";
NewLine.Описание = "Structure of task filter (see GetTaskFieldsStructure) (optional, def. val. - Empty value)";
NewLine.Область = "Tasks managment";


Expand Down Expand Up @@ -529,8 +529,8 @@
NewLine.Модуль = "OPI_Bitrix24";
NewLine.Метод = "CreateTask";
NewLine.МетодПоиска = "CREATETASK";
NewLine.Параметр = "--Task fields structure (see GetTaskFieldsStructure)";
NewLine.Описание = "fields";
NewLine.Параметр = "--fields";
NewLine.Описание = "Task fields structure (see GetTaskFieldsStructure)";
NewLine.Область = "Tasks managment";


Expand Down Expand Up @@ -570,8 +570,8 @@
NewLine.Модуль = "OPI_Bitrix24";
NewLine.Метод = "UpdateTask";
NewLine.МетодПоиска = "UPDATETASK";
NewLine.Параметр = "--Task fields structure";
NewLine.Описание = "fields";
NewLine.Параметр = "--fields";
NewLine.Описание = "Task fields structure";
NewLine.Область = "Tasks managment";


Expand Down Expand Up @@ -2902,8 +2902,8 @@
NewLine.Модуль = "OPI_Bitrix24";
NewLine.Метод = "GetFolderItems";
NewLine.МетодПоиска = "GETFOLDERITEMS";
NewLine.Параметр = "--Items filter (see GetFolderFilterStructure)";
NewLine.Описание = "filter (optional, def. val. - Empty value)";
NewLine.Параметр = "--filter";
NewLine.Описание = "Items filter (see GetFolderFilterStructure) (optional, def. val. - Empty value)";
NewLine.Область = "Catalogs managment";


Expand Down Expand Up @@ -3457,8 +3457,8 @@
NewLine.Модуль = "OPI_Bitrix24";
NewLine.Метод = "CreateChat";
NewLine.МетодПоиска = "CREATECHAT";
NewLine.Параметр = "--Chat fields structure. See GetChatStructure";
NewLine.Описание = "fields";
NewLine.Параметр = "--fields";
NewLine.Описание = "Chat fields structure. See GetChatStructure";
NewLine.Область = "Chats and dialogs managment";


Expand Down

0 comments on commit f53d861

Please sign in to comment.