1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-04-02 22:05:37 +02:00

Test data update (Jenkins)

This commit is contained in:
Vitaly the Alpaca (bot) 2025-02-03 23:48:45 +03:00
parent aec7eb08bf
commit ecde009f10
716 changed files with 1084 additions and 902 deletions
data.json.gpg
docs
en/results/IntegrationProxy
ru/cli
airtable
CreateComment
CreateField
CreatePosts
CreateTable
DeleteComment
DeletePosts
EditComment
GetComments
GetDatabaseTables
GetListOfRecords
GetNumberField
GetRecord
ModifyField
ModifyTable
bitrix24
AddKanbanStage
AddPostComment
AddPostRecipients
AddTaskComment
AddTaskTimeAccounting
AddTaskToFavorites
AddTasksChecklistElement
AddUsersToChat
ApproveTask
AttachFileToTopic
ChangeChatColor
ChangeChatOwner
ChangeChatPicture
ChangeChatTitle
ChangeUserStatus
CheckTaskAccesses
CompleteTask
CompleteTasksChecklistElement
CreateCalendar
CreateDepartment
CreatePersonalNotification
CreatePost
CreateResultFromComment
CreateSubfolder
CreateTask
CreateTasksDependencies
CreateUser
DeferTask
DelegateTask

Binary file not shown.

@ -0,0 +1,5 @@
 {
"result": true,
"key": "3e23d9587",
"url_example": "localhost:port/3e23d9587"
}

@ -0,0 +1,5 @@
 {
"result": true,
"message": "The project file was created successfully",
"path": "C:\\Users\\Administrator\\AppData\\Local\\Temp\\new_project_4.oint"
}

@ -0,0 +1,4 @@
 {
"result": false,
"message": "Handler not found"
}

@ -0,0 +1,4 @@
 {
"data": [],
"result": true
}

@ -0,0 +1,7 @@
 {
"result": true,
"tables": {
"handlers": true,
"arguments": true
}
}

@ -0,0 +1,11 @@
 {
"data": {
"active": 0,
"function": "CreateFolder",
"key": "3e23d9587",
"library": "dropbox",
"method": "POST",
"args": []
},
"result": true
}

@ -0,0 +1,3 @@
 {
"result": true
}

@ -0,0 +1,11 @@
 {
"data": {
"active": 1,
"function": "CreateFolder",
"key": "3e23d9587",
"library": "dropbox",
"method": "POST",
"args": []
},
"result": true
}

@ -0,0 +1,3 @@
 {
"result": true
}

@ -0,0 +1,12 @@
 {
"data": [
{
"active": 1,
"function": "SendTextMessage",
"key": "3e23d9587",
"library": "telegram",
"method": "GET"
}
],
"result": true
}

@ -0,0 +1,11 @@
 {
"data": {
"active": 1,
"function": "SendTextMessage",
"key": "3e23d9587",
"library": "telegram",
"method": "GET",
"args": []
},
"result": true
}

@ -0,0 +1,11 @@
 {
"data": {
"active": 1,
"function": "CreateFolder",
"key": "3e23d9587",
"library": "dropbox",
"method": "POST",
"args": []
},
"result": true
}

@ -0,0 +1,3 @@
 {
"result": true
}

@ -1,6 +1,6 @@
oint airtable CreateComment \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--table "tbl2y2JCiK1G12Wvn" \
--record "recyTdmrhhFBE9qWM" \
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T" \
--record "recrJxMHkvcaCb2js" \
--text "TestComment"

@ -1,6 +1,6 @@
oint airtable CreateComment ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--table "tbl2y2JCiK1G12Wvn" ^
--record "recyTdmrhhFBE9qWM" ^
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T" ^
--record "recrJxMHkvcaCb2js" ^
--text "TestComment"

@ -2,7 +2,7 @@
oint airtable CreateField \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--table "tbl2y2JCiK1G12Wvn" \
--title "8b5c2519-9c68-4ef7-99c4-6a689bc5599b" \
--fielddata "{'name':'8b5c2519-9c68-4ef7-99c4-6a689bc5599b','type':'number','options':{'precision':0}}"
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T" \
--title "103a550b-c38e-4d56-ba49-b1a8ba7d9156" \
--fielddata "{'name':'103a550b-c38e-4d56-ba49-b1a8ba7d9156','type':'number','options':{'precision':0}}"

@ -2,7 +2,7 @@
oint airtable CreateField ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--table "tbl2y2JCiK1G12Wvn" ^
--title "8b5c2519-9c68-4ef7-99c4-6a689bc5599b" ^
--fielddata "{'name':'8b5c2519-9c68-4ef7-99c4-6a689bc5599b','type':'number','options':{'precision':0}}"
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T" ^
--title "103a550b-c38e-4d56-ba49-b1a8ba7d9156" ^
--fielddata "{'name':'103a550b-c38e-4d56-ba49-b1a8ba7d9156','type':'number','options':{'precision':0}}"

@ -1,5 +1,7 @@
# JSON data can also be passed as a path to a .json file
oint airtable CreatePosts \
--token "***" \
--base "appCCG0gKDROyducY" \
--table "tblWR7E22PIGCoAWU" \
--data "[{'Number':10,'String':'Hello'},{'Number':10,'String':'Hello'}]"
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T" \
--data "{'Number':10,'String':'Hello'}"

@ -1,5 +1,7 @@
:: JSON data can also be passed as a path to a .json file
oint airtable CreatePosts ^
--token "***" ^
--base "appCCG0gKDROyducY" ^
--table "tblWR7E22PIGCoAWU" ^
--data "[{'Number':10,'String':'Hello'},{'Number':10,'String':'Hello'}]"
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T" ^
--data "{'Number':10,'String':'Hello'}"

@ -1,6 +1,6 @@
oint airtable CreateTable \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--base "appZkGOt9EUN42uDW" \
--title "TestTable2" \
--fieldsdata "[{'name':'Number','type':'number','options':{'precision':0}},{'name':'String','type':'richText'},{'name':'Attachment','type':'multipleAttachments'},{'name':'Checkbox','type':'checkbox','options':{'icon':'check','color':'yellowBright'}},{'name':'Date','type':'date','options':{'dateFormat':{'format':'YYYY-MM-DD','name':'iso'}}},{'name':'Phone','type':'phoneNumber'},{'name':'Email','type':'email'},{'name':'Link','type':'url'}]" \
--description "NewTable"

@ -1,6 +1,6 @@
oint airtable CreateTable ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--base "appZkGOt9EUN42uDW" ^
--title "TestTable2" ^
--fieldsdata "[{'name':'Number','type':'number','options':{'precision':0}},{'name':'String','type':'richText'},{'name':'Attachment','type':'multipleAttachments'},{'name':'Checkbox','type':'checkbox','options':{'icon':'check','color':'yellowBright'}},{'name':'Date','type':'date','options':{'dateFormat':{'format':'YYYY-MM-DD','name':'iso'}}},{'name':'Phone','type':'phoneNumber'},{'name':'Email','type':'email'},{'name':'Link','type':'url'}]" ^
--description "NewTable"

@ -1,6 +1,6 @@
oint airtable DeleteComment \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--table "tbl2y2JCiK1G12Wvn" \
--record "recyTdmrhhFBE9qWM" \
--comment "comuqSdAJt734iqEt"
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T" \
--record "recrJxMHkvcaCb2js" \
--comment "comJAvoWeUaFQYQzJ"

@ -1,6 +1,6 @@
oint airtable DeleteComment ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--table "tbl2y2JCiK1G12Wvn" ^
--record "recyTdmrhhFBE9qWM" ^
--comment "comuqSdAJt734iqEt"
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T" ^
--record "recrJxMHkvcaCb2js" ^
--comment "comJAvoWeUaFQYQzJ"

@ -1,5 +1,5 @@
oint airtable DeletePosts \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--table "tbl2y2JCiK1G12Wvn" \
--records "recyTdmrhhFBE9qWM"
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T" \
--records "recrJxMHkvcaCb2js"

@ -1,5 +1,5 @@
oint airtable DeletePosts ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--table "tbl2y2JCiK1G12Wvn" ^
--records "recyTdmrhhFBE9qWM"
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T" ^
--records "recrJxMHkvcaCb2js"

@ -1,7 +1,7 @@
oint airtable EditComment \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--table "tbl2y2JCiK1G12Wvn" \
--record "recyTdmrhhFBE9qWM" \
--comment "comuqSdAJt734iqEt" \
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T" \
--record "recrJxMHkvcaCb2js" \
--comment "comJAvoWeUaFQYQzJ" \
--text "Test comment (change.)"

@ -1,7 +1,7 @@
oint airtable EditComment ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--table "tbl2y2JCiK1G12Wvn" ^
--record "recyTdmrhhFBE9qWM" ^
--comment "comuqSdAJt734iqEt" ^
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T" ^
--record "recrJxMHkvcaCb2js" ^
--comment "comJAvoWeUaFQYQzJ" ^
--text "Test comment (change.)"

@ -1,5 +1,5 @@
oint airtable GetComments \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--table "tbl2y2JCiK1G12Wvn" \
--record "recyTdmrhhFBE9qWM"
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T" \
--record "recrJxMHkvcaCb2js"

@ -1,5 +1,5 @@
oint airtable GetComments ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--table "tbl2y2JCiK1G12Wvn" ^
--record "recyTdmrhhFBE9qWM"
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T" ^
--record "recrJxMHkvcaCb2js"

@ -1,3 +1,3 @@
oint airtable GetDatabaseTables \
--token "***" \
--base "appQJvhyPf6wsMLGd"
--base "appZkGOt9EUN42uDW"

@ -1,3 +1,3 @@
oint airtable GetDatabaseTables ^
--token "***" ^
--base "appQJvhyPf6wsMLGd"
--base "appZkGOt9EUN42uDW"

@ -1,4 +1,4 @@
oint airtable GetListOfRecords \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--table "tbl2y2JCiK1G12Wvn"
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T"

@ -1,4 +1,4 @@
oint airtable GetListOfRecords ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--table "tbl2y2JCiK1G12Wvn"
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T"

@ -1,2 +1,2 @@
oint airtable GetNumberField \
--title "b013261d-d06d-47b3-aa31-0043e305fccb"
--title "103a550b-c38e-4d56-ba49-b1a8ba7d9156"

@ -1,2 +1,2 @@
oint airtable GetNumberField ^
--title "b013261d-d06d-47b3-aa31-0043e305fccb"
--title "103a550b-c38e-4d56-ba49-b1a8ba7d9156"

@ -1,5 +1,5 @@
oint airtable GetRecord \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--table "tbl2y2JCiK1G12Wvn" \
--record "recyTdmrhhFBE9qWM"
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T" \
--record "recrJxMHkvcaCb2js"

@ -1,5 +1,5 @@
oint airtable GetRecord ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--table "tbl2y2JCiK1G12Wvn" ^
--record "recyTdmrhhFBE9qWM"
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T" ^
--record "recrJxMHkvcaCb2js"

@ -1,7 +1,7 @@
oint airtable ModifyField \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--table "tbl2y2JCiK1G12Wvn" \
--field "fldNswluKy2TuDxlS" \
--title "b779fc4d-877e-439f-8a9f-cccd469c7b21(change.)" \
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T" \
--field "fldiop5sc00LldOUK" \
--title "e99a1e31-9188-4c9c-86f5-ea7ab5203566(change.)" \
--description "New description"

@ -1,7 +1,7 @@
oint airtable ModifyField ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--table "tbl2y2JCiK1G12Wvn" ^
--field "fldNswluKy2TuDxlS" ^
--title "b779fc4d-877e-439f-8a9f-cccd469c7b21(change.)" ^
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T" ^
--field "fldiop5sc00LldOUK" ^
--title "e99a1e31-9188-4c9c-86f5-ea7ab5203566(change.)" ^
--description "New description"

@ -1,6 +1,6 @@
oint airtable ModifyTable \
--token "***" \
--base "appQJvhyPf6wsMLGd" \
--table "tbl2y2JCiK1G12Wvn" \
--base "appZkGOt9EUN42uDW" \
--table "tblLMMRignyA8QM6T" \
--title "Test table 2 (change.)" \
--description "New table (change.)"

@ -1,6 +1,6 @@
oint airtable ModifyTable ^
--token "***" ^
--base "appQJvhyPf6wsMLGd" ^
--table "tbl2y2JCiK1G12Wvn" ^
--base "appZkGOt9EUN42uDW" ^
--table "tblLMMRignyA8QM6T" ^
--title "Test table 2 (change.)" ^
--description "New table (change.)"

@ -1,5 +1,7 @@
oint bitrix24 AddKanbanStage \
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" \
--title "New stage" \
--url "b24-ar17wx.bitrix24.by" \
--title "New stage 2" \
--color "0026FF" \
--prevstage 6
--prevstage 1784 \
--admin true \
--token "***"

@ -1,5 +1,7 @@
oint bitrix24 AddKanbanStage ^
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" ^
--title "New stage" ^
--url "b24-ar17wx.bitrix24.by" ^
--title "New stage 2" ^
--color "0026FF" ^
--prevstage 6
--prevstage 1784 ^
--admin true ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 AddPostComment \
--url "b24-ar17wx.bitrix24.by" \
--postid 1856 \
--postid 1886 \
--text "Another comment" \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 AddPostComment ^
--url "b24-ar17wx.bitrix24.by" ^
--postid 1856 ^
--postid 1886 ^
--text "Another comment" ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 AddPostRecipients \
--url "b24-ar17wx.bitrix24.by" \
--postid 1856 \
--postid 1886 \
--vision "UA" \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 AddPostRecipients ^
--url "b24-ar17wx.bitrix24.by" ^
--postid 1856 ^
--postid 1886 ^
--vision "UA" ^
--token "***"

@ -1,4 +1,5 @@
oint bitrix24 AddTaskComment \
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" \
--task "4818" \
--text "Task impossible, let's split up"
--url "b24-ar17wx.bitrix24.by" \
--task "4828" \
--text "Task uninpossible, don't split up" \
--token "***"

@ -1,4 +1,5 @@
oint bitrix24 AddTaskComment ^
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" ^
--task "4818" ^
--text "Task impossible, let's split up"
--url "b24-ar17wx.bitrix24.by" ^
--task "4828" ^
--text "Task uninpossible, don't split up" ^
--token "***"

@ -1,4 +1,8 @@
oint bitrix24 AddTaskTimeAccounting \
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" \
--task "4822" \
--amount 3600
--url "b24-ar17wx.bitrix24.by" \
--task "4832" \
--amount 7200 \
--user 10 \
--text "Time spent on work" \
--date "2025-01-03T23:28:13.0943336" \
--token "***"

@ -1,4 +1,8 @@
oint bitrix24 AddTaskTimeAccounting ^
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" ^
--task "4822" ^
--amount 3600
--url "b24-ar17wx.bitrix24.by" ^
--task "4832" ^
--amount 7200 ^
--user 10 ^
--text "Time spent on work" ^
--date "2025-01-03T23:28:13.0943336" ^
--token "***"

@ -1,4 +1,4 @@
oint bitrix24 AddTaskToFavorites \
--url "b24-ar17wx.bitrix24.by" \
--task "4736" \
--task "4826" \
--token "***"

@ -1,4 +1,4 @@
oint bitrix24 AddTaskToFavorites ^
--url "b24-ar17wx.bitrix24.by" ^
--task "4736" ^
--task "4826" ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 AddTasksChecklistElement \
--url "b24-ar17wx.bitrix24.by" \
--task "4736" \
--task "4826" \
--text "Checklist element" \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 AddTasksChecklistElement ^
--url "b24-ar17wx.bitrix24.by" ^
--task "4736" ^
--task "4826" ^
--text "Checklist element" ^
--token "***"

@ -1,6 +1,6 @@
oint bitrix24 AddUsersToChat \
--url "b24-ar17wx.bitrix24.by" \
--chat 1896 \
--chat 1926 \
--users "[10,12]" \
--hide true \
--token "***"

@ -1,6 +1,6 @@
oint bitrix24 AddUsersToChat ^
--url "b24-ar17wx.bitrix24.by" ^
--chat 1896 ^
--chat 1926 ^
--users "[10,12]" ^
--hide true ^
--token "***"

@ -1,4 +1,4 @@
oint bitrix24 ApproveTask \
--url "b24-ar17wx.bitrix24.by" \
--task "4736" \
--task "4826" \
--token "***"

@ -1,4 +1,4 @@
oint bitrix24 ApproveTask ^
--url "b24-ar17wx.bitrix24.by" ^
--task "4736" ^
--task "4826" ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 AttachFileToTopic \
--url "b24-ar17wx.bitrix24.by" \
--task "4736" \
--fileid 26130 \
--task "4826" \
--fileid 26608 \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 AttachFileToTopic ^
--url "b24-ar17wx.bitrix24.by" ^
--task "4736" ^
--fileid 26130 ^
--task "4826" ^
--fileid 26608 ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 ChangeChatColor \
--url "b24-ar17wx.bitrix24.by" \
--chat 1894 \
--chat 1924 \
--color "PURPLE" \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 ChangeChatColor ^
--url "b24-ar17wx.bitrix24.by" ^
--chat 1894 ^
--chat 1924 ^
--color "PURPLE" ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 ChangeChatOwner \
--url "b24-ar17wx.bitrix24.by" \
--chat 1896 \
--chat 1926 \
--user 10 \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 ChangeChatOwner ^
--url "b24-ar17wx.bitrix24.by" ^
--chat 1896 ^
--chat 1926 ^
--user 10 ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 ChangeChatPicture \
--url "b24-ar17wx.bitrix24.by" \
--chat 1896 \
--chat 1926 \
--picture "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg" \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 ChangeChatPicture ^
--url "b24-ar17wx.bitrix24.by" ^
--chat 1896 ^
--chat 1926 ^
--picture "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg" ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 ChangeChatTitle \
--url "b24-ar17wx.bitrix24.by" \
--chat 1896 \
--chat 1926 \
--title "Another title" \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 ChangeChatTitle ^
--url "b24-ar17wx.bitrix24.by" ^
--chat 1896 ^
--chat 1926 ^
--title "Another title" ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 ChangeUserStatus \
--url "b24-ar17wx.bitrix24.by" \
--userid 1514 \
--userid 1544 \
--fire true \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 ChangeUserStatus ^
--url "b24-ar17wx.bitrix24.by" ^
--userid 1514 ^
--userid 1544 ^
--fire true ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 CheckTaskAccesses \
--url "b24-ar17wx.bitrix24.by" \
--task "4736" \
--task "4826" \
--users "['1','10']" \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 CheckTaskAccesses ^
--url "b24-ar17wx.bitrix24.by" ^
--task "4736" ^
--task "4826" ^
--users "['1','10']" ^
--token "***"

@ -1,4 +1,4 @@
oint bitrix24 CompleteTask \
--url "b24-ar17wx.bitrix24.by" \
--task "4736" \
--task "4826" \
--token "***"

@ -1,4 +1,4 @@
oint bitrix24 CompleteTask ^
--url "b24-ar17wx.bitrix24.by" ^
--task "4736" ^
--task "4826" ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 CompleteTasksChecklistElement \
--url "b24-ar17wx.bitrix24.by" \
--task "4736" \
--element 3276 \
--task "4826" \
--element 3338 \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 CompleteTasksChecklistElement ^
--url "b24-ar17wx.bitrix24.by" ^
--task "4736" ^
--element 3276 ^
--task "4826" ^
--element 3338 ^
--token "***"

@ -1,5 +1,6 @@
# JSON data can also be passed as a path to a .json file
oint bitrix24 CreateCalendar \
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" \
--fields "{'type':'user','ownerId':1,'name':'new calendar','description':'My new calendar','color':'#FFFFFF','text_color':'#000000','export':{'ALLOW':'True','SET':'all'}}"
--url "b24-ar17wx.bitrix24.by" \
--fields "{'type':'user','ownerId':1,'name':'Another calendar','description':'My other new calendar','color':'#FFFFFF','text_color':'#000000','export':{'ALLOW':'True','SET':'all'}}" \
--token "***"

@ -1,5 +1,6 @@
:: JSON data can also be passed as a path to a .json file
oint bitrix24 CreateCalendar ^
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" ^
--fields "{'type':'user','ownerId':1,'name':'new calendar','description':'My new calendar','color':'#FFFFFF','text_color':'#000000','export':{'ALLOW':'True','SET':'all'}}"
--url "b24-ar17wx.bitrix24.by" ^
--fields "{'type':'user','ownerId':1,'name':'Another calendar','description':'My other new calendar','color':'#FFFFFF','text_color':'#000000','export':{'ALLOW':'True','SET':'all'}}" ^
--token "***"

@ -1,4 +1,6 @@
oint bitrix24 CreateDepartment \
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" \
--title "Main department" \
--parentid 1
--url "b24-ar17wx.bitrix24.by" \
--title "Subordinate department" \
--parentid 1536 \
--headid 1 \
--token "***"

@ -1,4 +1,6 @@
oint bitrix24 CreateDepartment ^
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" ^
--title "Main department" ^
--parentid 1
--url "b24-ar17wx.bitrix24.by" ^
--title "Subordinate department" ^
--parentid 1536 ^
--headid 1 ^
--token "***"

@ -1,5 +1,6 @@
oint bitrix24 CreatePersonalNotification \
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" \
--user 1 \
--url "b24-ar17wx.bitrix24.by" \
--user 10 \
--text "Message text" \
--blocks "[{'IMAGE':{'NAME':'Image1','LINK':'https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg'}},{'FILE':{'NAME':'File1.docx','LINK':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx'}}]"
--tag "New" \
--token "***"

@ -1,5 +1,6 @@
oint bitrix24 CreatePersonalNotification ^
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" ^
--user 1 ^
--url "b24-ar17wx.bitrix24.by" ^
--user 10 ^
--text "Message text" ^
--blocks "[{'IMAGE':{'NAME':'Image1','LINK':'https://raw.githubusercontent.com/Bayselonarrend/OpenIntegrations/main/service/test_data/picture.jpg'}},{'FILE':{'NAME':'File1.docx','LINK':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/document.docx'}}]"
--tag "New" ^
--token "***"

@ -1,8 +1,8 @@
# JSON data can also be passed as a path to a .json file
oint bitrix24 CreatePost \
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" \
--url "b24-ar17wx.bitrix24.by" \
--text "Text of post" \
--files "{'1.png':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg','2.png':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg'}" \
--title "Post title" \
--important true
--token "***"

@ -1,8 +1,8 @@
:: JSON data can also be passed as a path to a .json file
oint bitrix24 CreatePost ^
--url "https://b24-ar17wx.bitrix24.by/rest/1/ps56vdxg63nq8fek" ^
--url "b24-ar17wx.bitrix24.by" ^
--text "Text of post" ^
--files "{'1.png':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg','2.png':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture2.jpg'}" ^
--title "Post title" ^
--important true
--token "***"

@ -1,4 +1,4 @@
oint bitrix24 CreateResultFromComment \
--url "b24-ar17wx.bitrix24.by" \
--comment 11168 \
--comment 11372 \
--token "***"

@ -1,4 +1,4 @@
oint bitrix24 CreateResultFromComment ^
--url "b24-ar17wx.bitrix24.by" ^
--comment 11168 ^
--comment 11372 ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 CreateSubfolder \
--url "b24-ar17wx.bitrix24.by" \
--folderid 26140 \
--folderid 26618 \
--title "New subfolder" \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 CreateSubfolder ^
--url "b24-ar17wx.bitrix24.by" ^
--folderid 26140 ^
--folderid 26618 ^
--title "New subfolder" ^
--token "***"

@ -2,5 +2,5 @@
oint bitrix24 CreateTask \
--url "b24-ar17wx.bitrix24.by" \
--fields "{'TITLE':'New task','DESCRIPTION':'New task description','PRIORITY':'2','DEADLINE':'2025-01-21T20:54:27.0295802Z','RESPONSIBLE_ID':1}" \
--fields "{'TITLE':'New task','DESCRIPTION':'New task description','PRIORITY':'2','DEADLINE':'2025-02-04T23:23:46.7963831Z','RESPONSIBLE_ID':1}" \
--token "***"

@ -2,5 +2,5 @@
oint bitrix24 CreateTask ^
--url "b24-ar17wx.bitrix24.by" ^
--fields "{'TITLE':'New task','DESCRIPTION':'New task description','PRIORITY':'2','DEADLINE':'2025-01-21T20:54:27.0295802Z','RESPONSIBLE_ID':1}" ^
--fields "{'TITLE':'New task','DESCRIPTION':'New task description','PRIORITY':'2','DEADLINE':'2025-02-04T23:23:46.7963831Z','RESPONSIBLE_ID':1}" ^
--token "***"

@ -1,6 +1,6 @@
oint bitrix24 CreateTasksDependencies \
--url "b24-ar17wx.bitrix24.by" \
--taskfrom "4736" \
--taskto "4734" \
--taskfrom "4826" \
--taskto "4824" \
--linktype 2 \
--token "***"

@ -1,6 +1,6 @@
oint bitrix24 CreateTasksDependencies ^
--url "b24-ar17wx.bitrix24.by" ^
--taskfrom "4736" ^
--taskto "4734" ^
--taskfrom "4826" ^
--taskto "4824" ^
--linktype 2 ^
--token "***"

@ -2,5 +2,5 @@
oint bitrix24 CreateUser \
--url "b24-ar17wx.bitrix24.by" \
--fields "{'EMAIL':'9e25791a-6a0d-4bcc-a17d-9723933f8680@exepmple.org','NAME':'Vitaly','LAST_NAME':'Alpaca','PERSONAL_MOBILE':'88003553535','UF_DEPARTMENT':1}" \
--fields "{'EMAIL':'b5a4f671-da9b-4518-ab10-cf3169947c40@exepmple.org','NAME':'Vitaly','LAST_NAME':'Alpaca','PERSONAL_MOBILE':'88003553535','UF_DEPARTMENT':1}" \
--token "***"

@ -2,5 +2,5 @@
oint bitrix24 CreateUser ^
--url "b24-ar17wx.bitrix24.by" ^
--fields "{'EMAIL':'9e25791a-6a0d-4bcc-a17d-9723933f8680@exepmple.org','NAME':'Vitaly','LAST_NAME':'Alpaca','PERSONAL_MOBILE':'88003553535','UF_DEPARTMENT':1}" ^
--fields "{'EMAIL':'b5a4f671-da9b-4518-ab10-cf3169947c40@exepmple.org','NAME':'Vitaly','LAST_NAME':'Alpaca','PERSONAL_MOBILE':'88003553535','UF_DEPARTMENT':1}" ^
--token "***"

@ -1,4 +1,4 @@
oint bitrix24 DeferTask \
--url "b24-ar17wx.bitrix24.by" \
--task "4736" \
--task "4826" \
--token "***"

@ -1,4 +1,4 @@
oint bitrix24 DeferTask ^
--url "b24-ar17wx.bitrix24.by" ^
--task "4736" ^
--task "4826" ^
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 DelegateTask \
--url "b24-ar17wx.bitrix24.by" \
--task "4736" \
--user 1510 \
--task "4826" \
--user 1540 \
--token "***"

@ -1,5 +1,5 @@
oint bitrix24 DelegateTask ^
--url "b24-ar17wx.bitrix24.by" ^
--task "4736" ^
--user 1510 ^
--task "4826" ^
--user 1540 ^
--token "***"

Some files were not shown because too many files have changed in this diff Show More