n8n-nodes-getcourse 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +38 -0
- package/README.md +359 -0
- package/dist/credentials/GetCourseApi.credentials.d.ts +10 -0
- package/dist/credentials/GetCourseApi.credentials.js +58 -0
- package/dist/credentials/GetCourseApi.credentials.js.map +1 -0
- package/dist/credentials/GetCourseTechApi.credentials.d.ts +11 -0
- package/dist/credentials/GetCourseTechApi.credentials.js +63 -0
- package/dist/credentials/GetCourseTechApi.credentials.js.map +1 -0
- package/dist/credentials/accountAddress.d.ts +11 -0
- package/dist/credentials/accountAddress.js +116 -0
- package/dist/credentials/accountAddress.js.map +1 -0
- package/dist/icons/getcourse.dark.svg +15 -0
- package/dist/icons/getcourse.svg +11 -0
- package/dist/nodes/GetCourse/GetCourse.node.d.ts +9 -0
- package/dist/nodes/GetCourse/GetCourse.node.js +48 -0
- package/dist/nodes/GetCourse/GetCourse.node.js.map +1 -0
- package/dist/nodes/GetCourse/GetCourse.node.json +40 -0
- package/dist/nodes/GetCourse/v1/actions/call/index.d.ts +3 -0
- package/dist/nodes/GetCourse/v1/actions/call/index.js +98 -0
- package/dist/nodes/GetCourse/v1/actions/call/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/deal/description.d.ts +2 -0
- package/dist/nodes/GetCourse/v1/actions/deal/description.js +261 -0
- package/dist/nodes/GetCourse/v1/actions/deal/description.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/deal/execute.d.ts +2 -0
- package/dist/nodes/GetCourse/v1/actions/deal/execute.js +181 -0
- package/dist/nodes/GetCourse/v1/actions/deal/execute.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/deal/index.d.ts +2 -0
- package/dist/nodes/GetCourse/v1/actions/deal/index.js +8 -0
- package/dist/nodes/GetCourse/v1/actions/deal/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/dialog/index.d.ts +3 -0
- package/dist/nodes/GetCourse/v1/actions/dialog/index.js +262 -0
- package/dist/nodes/GetCourse/v1/actions/dialog/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/helpdesk/index.d.ts +3 -0
- package/dist/nodes/GetCourse/v1/actions/helpdesk/index.js +305 -0
- package/dist/nodes/GetCourse/v1/actions/helpdesk/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/index.d.ts +5 -0
- package/dist/nodes/GetCourse/v1/actions/index.js +119 -0
- package/dist/nodes/GetCourse/v1/actions/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/lesson/index.d.ts +3 -0
- package/dist/nodes/GetCourse/v1/actions/lesson/index.js +180 -0
- package/dist/nodes/GetCourse/v1/actions/lesson/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/offer/index.d.ts +3 -0
- package/dist/nodes/GetCourse/v1/actions/offer/index.js +98 -0
- package/dist/nodes/GetCourse/v1/actions/offer/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/school/index.d.ts +3 -0
- package/dist/nodes/GetCourse/v1/actions/school/index.js +139 -0
- package/dist/nodes/GetCourse/v1/actions/school/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/user/description.d.ts +2 -0
- package/dist/nodes/GetCourse/v1/actions/user/description.js +499 -0
- package/dist/nodes/GetCourse/v1/actions/user/description.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/user/execute.d.ts +2 -0
- package/dist/nodes/GetCourse/v1/actions/user/execute.js +270 -0
- package/dist/nodes/GetCourse/v1/actions/user/execute.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/user/index.d.ts +2 -0
- package/dist/nodes/GetCourse/v1/actions/user/index.js +8 -0
- package/dist/nodes/GetCourse/v1/actions/user/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/webhook/index.d.ts +4 -0
- package/dist/nodes/GetCourse/v1/actions/webhook/index.js +179 -0
- package/dist/nodes/GetCourse/v1/actions/webhook/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/actions/webinar/index.d.ts +3 -0
- package/dist/nodes/GetCourse/v1/actions/webinar/index.js +376 -0
- package/dist/nodes/GetCourse/v1/actions/webinar/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/descriptions/common.d.ts +7 -0
- package/dist/nodes/GetCourse/v1/descriptions/common.js +142 -0
- package/dist/nodes/GetCourse/v1/descriptions/common.js.map +1 -0
- package/dist/nodes/GetCourse/v1/helpers/errors.d.ts +11 -0
- package/dist/nodes/GetCourse/v1/helpers/errors.js +90 -0
- package/dist/nodes/GetCourse/v1/helpers/errors.js.map +1 -0
- package/dist/nodes/GetCourse/v1/helpers/request.d.ts +7 -0
- package/dist/nodes/GetCourse/v1/helpers/request.js +79 -0
- package/dist/nodes/GetCourse/v1/helpers/request.js.map +1 -0
- package/dist/nodes/GetCourse/v1/methods/index.d.ts +2 -0
- package/dist/nodes/GetCourse/v1/methods/index.js +39 -0
- package/dist/nodes/GetCourse/v1/methods/index.js.map +1 -0
- package/dist/nodes/GetCourse/v1/methods/loadOptions.d.ts +7 -0
- package/dist/nodes/GetCourse/v1/methods/loadOptions.js +76 -0
- package/dist/nodes/GetCourse/v1/methods/loadOptions.js.map +1 -0
- package/dist/nodes/GetCourse/v1/transport/index.d.ts +18 -0
- package/dist/nodes/GetCourse/v1/transport/index.js +165 -0
- package/dist/nodes/GetCourse/v1/transport/index.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/GetCourseLegacy.node.d.ts +9 -0
- package/dist/nodes/GetCourseLegacy/GetCourseLegacy.node.js +48 -0
- package/dist/nodes/GetCourseLegacy/GetCourseLegacy.node.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/GetCourseLegacy.node.json +35 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/deal/description.d.ts +2 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/deal/description.js +287 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/deal/description.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/deal/execute.d.ts +2 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/deal/execute.js +150 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/deal/execute.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/deal/index.d.ts +2 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/deal/index.js +8 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/deal/index.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/export/description.d.ts +2 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/export/description.js +487 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/export/description.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/export/execute.d.ts +2 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/export/execute.js +252 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/export/execute.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/export/index.d.ts +2 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/export/index.js +8 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/export/index.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/field/index.d.ts +3 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/field/index.js +61 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/field/index.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/group/index.d.ts +3 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/group/index.js +42 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/group/index.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/index.d.ts +5 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/index.js +84 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/index.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/user/description.d.ts +2 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/user/description.js +87 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/user/description.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/user/execute.d.ts +5 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/user/execute.js +129 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/user/execute.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/user/index.d.ts +2 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/user/index.js +8 -0
- package/dist/nodes/GetCourseLegacy/v1/actions/user/index.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/descriptions/common.d.ts +14 -0
- package/dist/nodes/GetCourseLegacy/v1/descriptions/common.js +198 -0
- package/dist/nodes/GetCourseLegacy/v1/descriptions/common.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/descriptions/constants.d.ts +7 -0
- package/dist/nodes/GetCourseLegacy/v1/descriptions/constants.js +116 -0
- package/dist/nodes/GetCourseLegacy/v1/descriptions/constants.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/helpers/errors.d.ts +18 -0
- package/dist/nodes/GetCourseLegacy/v1/helpers/errors.js +141 -0
- package/dist/nodes/GetCourseLegacy/v1/helpers/errors.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/helpers/exportRows.d.ts +8 -0
- package/dist/nodes/GetCourseLegacy/v1/helpers/exportRows.js +100 -0
- package/dist/nodes/GetCourseLegacy/v1/helpers/exportRows.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/methods/index.d.ts +2 -0
- package/dist/nodes/GetCourseLegacy/v1/methods/index.js +39 -0
- package/dist/nodes/GetCourseLegacy/v1/methods/index.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/methods/loadOptions.d.ts +5 -0
- package/dist/nodes/GetCourseLegacy/v1/methods/loadOptions.js +92 -0
- package/dist/nodes/GetCourseLegacy/v1/methods/loadOptions.js.map +1 -0
- package/dist/nodes/GetCourseLegacy/v1/transport/index.d.ts +13 -0
- package/dist/nodes/GetCourseLegacy/v1/transport/index.js +204 -0
- package/dist/nodes/GetCourseLegacy/v1/transport/index.js.map +1 -0
- package/dist/nodes/GetCourseTrigger/GetCourseTrigger.node.d.ts +12 -0
- package/dist/nodes/GetCourseTrigger/GetCourseTrigger.node.js +339 -0
- package/dist/nodes/GetCourseTrigger/GetCourseTrigger.node.js.map +1 -0
- package/dist/nodes/GetCourseTrigger/GetCourseTrigger.node.json +32 -0
- package/dist/nodes/GetCourseTrigger/payload.d.ts +14 -0
- package/dist/nodes/GetCourseTrigger/payload.js +66 -0
- package/dist/nodes/GetCourseTrigger/payload.js.map +1 -0
- package/dist/utils/cache.d.ts +2 -0
- package/dist/utils/cache.js +27 -0
- package/dist/utils/cache.js.map +1 -0
- package/dist/utils/dates.d.ts +3 -0
- package/dist/utils/dates.js +70 -0
- package/dist/utils/dates.js.map +1 -0
- package/dist/utils/events.d.ts +14 -0
- package/dist/utils/events.js +92 -0
- package/dist/utils/events.js.map +1 -0
- package/dist/utils/httpError.d.ts +4 -0
- package/dist/utils/httpError.js +46 -0
- package/dist/utils/httpError.js.map +1 -0
- package/dist/utils/query.d.ts +4 -0
- package/dist/utils/query.js +42 -0
- package/dist/utils/query.js.map +1 -0
- package/dist/utils/rateLimiter.d.ts +3 -0
- package/dist/utils/rateLimiter.js +44 -0
- package/dist/utils/rateLimiter.js.map +1 -0
- package/dist/utils/router.d.ts +8 -0
- package/dist/utils/router.js +40 -0
- package/dist/utils/router.js.map +1 -0
- package/index.js +0 -0
- package/package.json +68 -0
|
@@ -0,0 +1,499 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
const common_1 = require("../../descriptions/common");
|
|
5
|
+
const showFor = (operations) => ({
|
|
6
|
+
show: { resource: ['user'], operation: operations },
|
|
7
|
+
});
|
|
8
|
+
const IDENTIFIED = [
|
|
9
|
+
'addBalance',
|
|
10
|
+
'addToGroups',
|
|
11
|
+
'createDiploma',
|
|
12
|
+
'get',
|
|
13
|
+
'getBalance',
|
|
14
|
+
'getCustomFields',
|
|
15
|
+
'getDeals',
|
|
16
|
+
'getDialogs',
|
|
17
|
+
'getDiplomas',
|
|
18
|
+
'getGoals',
|
|
19
|
+
'getGroups',
|
|
20
|
+
'getHelpdeskDialogs',
|
|
21
|
+
'getLessonAnswers',
|
|
22
|
+
'getPurchases',
|
|
23
|
+
'getSchedule',
|
|
24
|
+
'getSurveyAnswers',
|
|
25
|
+
'getTrainings',
|
|
26
|
+
'removeFromGroups',
|
|
27
|
+
'setGroups',
|
|
28
|
+
'setPersonalManager',
|
|
29
|
+
'update',
|
|
30
|
+
'updateCustomFields',
|
|
31
|
+
];
|
|
32
|
+
const PAGED = ['getDialogs', 'getHelpdeskDialogs'];
|
|
33
|
+
const GROUP_WRITES = ['addToGroups', 'removeFromGroups', 'setGroups'];
|
|
34
|
+
const operation = {
|
|
35
|
+
displayName: 'Operation',
|
|
36
|
+
name: 'operation',
|
|
37
|
+
type: 'options',
|
|
38
|
+
noDataExpression: true,
|
|
39
|
+
default: 'get',
|
|
40
|
+
displayOptions: { show: { resource: ['user'] } },
|
|
41
|
+
options: [
|
|
42
|
+
{
|
|
43
|
+
name: 'Add Balance',
|
|
44
|
+
value: 'addBalance',
|
|
45
|
+
action: 'Add to a user balance',
|
|
46
|
+
description: 'Пополнить баланс — начислить виртуальные рубли или баллы. The money balance can be read but not topped up here: the write side of the API accepts only the other two.',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'Add Comment',
|
|
50
|
+
value: 'addComment',
|
|
51
|
+
action: 'Add a comment to a user',
|
|
52
|
+
description: 'Добавить комментарий к пользователю от имени сотрудника. This is one of two endpoints in the API that insist on a numeric user ID — an e-mail will not do.',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'Add to Groups',
|
|
56
|
+
value: 'addToGroups',
|
|
57
|
+
action: 'Add a user to groups',
|
|
58
|
+
description: 'Добавить пользователя в группы, не трогая остальные привязки. Answers with the groups the person belongs to afterwards.',
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'Create Diploma',
|
|
62
|
+
value: 'createDiploma',
|
|
63
|
+
action: 'Create a diploma for a user',
|
|
64
|
+
description: 'Выдать пользователю диплом по шаблону. Nothing in the API lists diploma templates, so the template ID has to come from the account itself.',
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
name: 'Get',
|
|
68
|
+
value: 'get',
|
|
69
|
+
action: 'Get a user',
|
|
70
|
+
description: 'Получить информацию по пользователю. Answers with one user, or with several when the lookup matches more than one — the node emits an item per user either way.',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'Get Balance',
|
|
74
|
+
value: 'getBalance',
|
|
75
|
+
action: 'Get a user balance',
|
|
76
|
+
description: 'Баланс пользователя — деньги, виртуальный счёт или баллы',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
name: 'Get by Chat ID',
|
|
80
|
+
value: 'getByChatId',
|
|
81
|
+
action: 'Get a user by messenger chat ID',
|
|
82
|
+
description: 'Найти пользователя по переписке в мессенджере — Telegram, ВКонтакте или Max',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'Get by Telegram Chat ID',
|
|
86
|
+
value: 'getByTelegramChatId',
|
|
87
|
+
action: 'Get a user by telegram chat ID',
|
|
88
|
+
description: 'Найти пользователя по чату в Telegram — то же, что Get by Chat ID с типом «tg», но без выбора мессенджера',
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
name: 'Get Custom Fields',
|
|
92
|
+
value: 'getCustomFields',
|
|
93
|
+
action: 'Get the custom fields of a user',
|
|
94
|
+
description: 'Дополнительные поля пользователя со значениями. They come back keyed by name and never by ID, so this list cannot be fed straight back into Update Custom Fields.',
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: 'Get Deals',
|
|
98
|
+
value: 'getDeals',
|
|
99
|
+
action: 'Get the orders of a user',
|
|
100
|
+
description: 'Заказы пользователя вместе с их позициями',
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
name: 'Get Dialogs',
|
|
104
|
+
value: 'getDialogs',
|
|
105
|
+
action: 'Get the dialogs of a user',
|
|
106
|
+
description: 'Диалоги пользователя из раздела «Входящие». Every dialog carries its own message history, and the endpoint pages 100 at a time.',
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'Get Diplomas',
|
|
110
|
+
value: 'getDiplomas',
|
|
111
|
+
action: 'Get the diplomas of a user',
|
|
112
|
+
description: 'Дипломы, выданные пользователю',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
name: 'Get Goals',
|
|
116
|
+
value: 'getGoals',
|
|
117
|
+
action: 'Get the goal records of a user',
|
|
118
|
+
description: 'Цели пользователя — the one place in this API where a field arrives with both its name and its numeric ID',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
name: 'Get Groups',
|
|
122
|
+
value: 'getGroups',
|
|
123
|
+
action: 'Get the groups of a user',
|
|
124
|
+
description: 'Группы, в которых состоит пользователь',
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
name: 'Get HelpDesk Dialogs',
|
|
128
|
+
value: 'getHelpdeskDialogs',
|
|
129
|
+
action: 'Get the helpdesk tickets of a user',
|
|
130
|
+
description: 'Тикеты HelpDesk пользователя с историей переписки. The endpoint pages 100 tickets at a time.',
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
name: 'Get Lesson Answers',
|
|
134
|
+
value: 'getLessonAnswers',
|
|
135
|
+
action: 'Get the lesson answers of a user',
|
|
136
|
+
description: 'Ответы и комментарии пользователя в уроках, вместе с проверкой преподавателя',
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: 'Get Purchases',
|
|
140
|
+
value: 'getPurchases',
|
|
141
|
+
action: 'Get the purchases of a user',
|
|
142
|
+
description: 'Покупки пользователя, при желании только по одному продукту',
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
name: 'Get Schedule',
|
|
146
|
+
value: 'getSchedule',
|
|
147
|
+
action: 'Get the schedule of a user',
|
|
148
|
+
description: 'Расписание пользователя — что и когда ему открывается',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: 'Get Survey Answers',
|
|
152
|
+
value: 'getSurveyAnswers',
|
|
153
|
+
action: 'Get the survey answers of a user',
|
|
154
|
+
description: 'Ответы пользователя на анкеты. The specification documents no fields at all for this response, so whatever the account stores is passed through unchanged.',
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
name: 'Get Trainings',
|
|
158
|
+
value: 'getTrainings',
|
|
159
|
+
action: 'Get the trainings of a user',
|
|
160
|
+
description: 'Тренинги, к которым у пользователя есть доступ',
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: 'Remove From Groups',
|
|
164
|
+
value: 'removeFromGroups',
|
|
165
|
+
action: 'Remove a user from groups',
|
|
166
|
+
description: 'Удалить пользователя из перечисленных групп, не трогая остальные привязки',
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
name: 'Set Groups',
|
|
170
|
+
value: 'setGroups',
|
|
171
|
+
action: 'Replace the groups of a user',
|
|
172
|
+
description: 'Задать список групп целиком — остальные привязки будут удалены. A user in five groups and a request naming one ends up in that one group only.',
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
name: 'Set Personal Manager',
|
|
176
|
+
value: 'setPersonalManager',
|
|
177
|
+
action: 'Set the personal manager of a user',
|
|
178
|
+
description: 'Назначить или снять персонального менеджера. Leaving the manager empty is how the API is told to remove the current one.',
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: 'Update',
|
|
182
|
+
value: 'update',
|
|
183
|
+
action: 'Update a user',
|
|
184
|
+
description: 'Изменить поля пользователя — имя, телефон, город, примечание. The e-mail address is not writable through this API; importing the user through the GetCourse Legacy node is the way to change it.',
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
name: 'Update Custom Fields',
|
|
188
|
+
value: 'updateCustomFields',
|
|
189
|
+
action: 'Update the custom fields of a user',
|
|
190
|
+
description: 'Изменить дополнительные поля пользователя по их числовым ID. The read side answers by name and never by ID, so the two halves have to be matched by hand.',
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
};
|
|
194
|
+
const messengerType = {
|
|
195
|
+
displayName: 'Messenger',
|
|
196
|
+
name: 'messengerType',
|
|
197
|
+
type: 'options',
|
|
198
|
+
default: 'tg',
|
|
199
|
+
required: true,
|
|
200
|
+
displayOptions: showFor(['getByChatId']),
|
|
201
|
+
options: [
|
|
202
|
+
{ name: 'Max', value: 'max' },
|
|
203
|
+
{ name: 'Telegram', value: 'tg' },
|
|
204
|
+
{ name: 'VKontakte (ВКонтакте)', value: 'vk' },
|
|
205
|
+
],
|
|
206
|
+
description: 'Тип мессенджера, из которого взят ID чата',
|
|
207
|
+
};
|
|
208
|
+
const chatId = {
|
|
209
|
+
displayName: 'Chat ID',
|
|
210
|
+
name: 'chatId',
|
|
211
|
+
type: 'string',
|
|
212
|
+
default: '',
|
|
213
|
+
required: true,
|
|
214
|
+
placeholder: '112345323',
|
|
215
|
+
displayOptions: showFor(['getByChatId', 'getByTelegramChatId']),
|
|
216
|
+
description: 'ID чата в мессенджере — the number the bot sees, not the handle. A user reached through several bots answers to any of their chat IDs.',
|
|
217
|
+
};
|
|
218
|
+
const balanceType = {
|
|
219
|
+
displayName: 'Balance Type',
|
|
220
|
+
name: 'balanceType',
|
|
221
|
+
type: 'options',
|
|
222
|
+
default: 'virtual',
|
|
223
|
+
displayOptions: showFor(['getBalance']),
|
|
224
|
+
options: [
|
|
225
|
+
{ name: 'Money (Обычный счёт)', value: 'normal' },
|
|
226
|
+
{ name: 'Points (Баллы)', value: 'points' },
|
|
227
|
+
{ name: 'Virtual (Виртуальный счёт)', value: 'virtual' },
|
|
228
|
+
],
|
|
229
|
+
description: 'Тип баланса. GetCourse falls back to the virtual account when nothing is asked for, and the money account is readable here even though Add Balance cannot top it up.',
|
|
230
|
+
};
|
|
231
|
+
const productId = {
|
|
232
|
+
displayName: 'Product ID',
|
|
233
|
+
name: 'productId',
|
|
234
|
+
type: 'string',
|
|
235
|
+
default: '',
|
|
236
|
+
displayOptions: showFor(['getPurchases']),
|
|
237
|
+
description: "Фильтр по продукту — leave it empty for every purchase. No endpoint lists products, so the ID comes from a purchase already read or from the product's address in the account.",
|
|
238
|
+
};
|
|
239
|
+
const updateNotice = {
|
|
240
|
+
displayName: 'GetCourse отвечает на это пустым массивом: изменённый пользователь не возвращается, поэтому узел отдаёт то, что отправил. Add a Get after this one when the workflow needs the stored values back. Note also that a phone number is both a way of naming the user and a field this operation writes — identify by ID or e-mail whenever the phone number itself is changing.',
|
|
241
|
+
name: 'updateNotice',
|
|
242
|
+
type: 'notice',
|
|
243
|
+
default: '',
|
|
244
|
+
displayOptions: showFor(['update']),
|
|
245
|
+
};
|
|
246
|
+
const updateFields = {
|
|
247
|
+
displayName: 'Update Fields',
|
|
248
|
+
name: 'updateFields',
|
|
249
|
+
type: 'collection',
|
|
250
|
+
placeholder: 'Add Field',
|
|
251
|
+
default: {},
|
|
252
|
+
displayOptions: showFor(['update']),
|
|
253
|
+
options: [
|
|
254
|
+
{
|
|
255
|
+
displayName: 'Birthday',
|
|
256
|
+
name: 'birthday',
|
|
257
|
+
type: 'string',
|
|
258
|
+
default: '',
|
|
259
|
+
placeholder: '1991-01-12',
|
|
260
|
+
description: 'Дата рождения в виде YYYY-MM-DD. A full timestamp is accepted too and is reduced to its date in the workflow timezone.',
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
displayName: 'City',
|
|
264
|
+
name: 'city',
|
|
265
|
+
type: 'string',
|
|
266
|
+
default: '',
|
|
267
|
+
placeholder: 'Москва',
|
|
268
|
+
description: 'Город',
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
displayName: 'Comment',
|
|
272
|
+
name: 'comment',
|
|
273
|
+
type: 'string',
|
|
274
|
+
default: '',
|
|
275
|
+
description: 'Примечание — the free-text note on the user card',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
displayName: 'Country',
|
|
279
|
+
name: 'country',
|
|
280
|
+
type: 'string',
|
|
281
|
+
default: '',
|
|
282
|
+
placeholder: 'Россия',
|
|
283
|
+
description: 'Страна',
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
displayName: 'First Name',
|
|
287
|
+
name: 'first_name',
|
|
288
|
+
type: 'string',
|
|
289
|
+
default: '',
|
|
290
|
+
description: 'Имя',
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
displayName: 'Gender',
|
|
294
|
+
name: 'gender',
|
|
295
|
+
type: 'options',
|
|
296
|
+
default: 'female',
|
|
297
|
+
options: [
|
|
298
|
+
{ name: 'Female (Женский)', value: 'female' },
|
|
299
|
+
{ name: 'Male (Мужской)', value: 'male' },
|
|
300
|
+
],
|
|
301
|
+
description: 'Пол пользователя',
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
displayName: 'Last Name',
|
|
305
|
+
name: 'last_name',
|
|
306
|
+
type: 'string',
|
|
307
|
+
default: '',
|
|
308
|
+
description: 'Фамилия',
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
displayName: 'Phone',
|
|
312
|
+
name: 'phone',
|
|
313
|
+
type: 'string',
|
|
314
|
+
default: '',
|
|
315
|
+
placeholder: '+79161234567',
|
|
316
|
+
description: 'Номер телефона в международном формате',
|
|
317
|
+
},
|
|
318
|
+
],
|
|
319
|
+
};
|
|
320
|
+
const clearFields = {
|
|
321
|
+
displayName: 'Fields to Clear',
|
|
322
|
+
name: 'clearFields',
|
|
323
|
+
type: 'multiOptions',
|
|
324
|
+
default: [],
|
|
325
|
+
displayOptions: showFor(['update']),
|
|
326
|
+
options: [
|
|
327
|
+
{ name: 'Birthday', value: 'birthday' },
|
|
328
|
+
{ name: 'City', value: 'city' },
|
|
329
|
+
{ name: 'Comment', value: 'comment' },
|
|
330
|
+
{ name: 'Country', value: 'country' },
|
|
331
|
+
{ name: 'First Name', value: 'first_name' },
|
|
332
|
+
{ name: 'Gender', value: 'gender' },
|
|
333
|
+
{ name: 'Last Name', value: 'last_name' },
|
|
334
|
+
{ name: 'Phone', value: 'phone' },
|
|
335
|
+
],
|
|
336
|
+
description: 'Поля, которые нужно очистить — каждое отправляется как null. A field named here is cleared even when Update Fields also carries a value for it.',
|
|
337
|
+
};
|
|
338
|
+
const setGroupsNotice = {
|
|
339
|
+
displayName: 'Эта операция задаёт членство целиком: группы, которых нет в списке, будут сняты, а пустой список снимет все. GetCourse states it plainly — «остальные привязки будут удалены». To add or remove without touching the rest, use Add to Groups or Remove From Groups instead.',
|
|
340
|
+
name: 'setGroupsNotice',
|
|
341
|
+
type: 'notice',
|
|
342
|
+
default: '',
|
|
343
|
+
displayOptions: showFor(['setGroups']),
|
|
344
|
+
};
|
|
345
|
+
const groups = {
|
|
346
|
+
displayName: 'Group Names or IDs',
|
|
347
|
+
name: 'groups',
|
|
348
|
+
type: 'multiOptions',
|
|
349
|
+
typeOptions: { loadOptionsMethod: 'getGroups' },
|
|
350
|
+
default: [],
|
|
351
|
+
displayOptions: showFor(GROUP_WRITES),
|
|
352
|
+
description: 'Группы аккаунта, по их ID. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
353
|
+
};
|
|
354
|
+
const amount = {
|
|
355
|
+
displayName: 'Amount',
|
|
356
|
+
name: 'amount',
|
|
357
|
+
type: 'number',
|
|
358
|
+
default: 0,
|
|
359
|
+
required: true,
|
|
360
|
+
displayOptions: showFor(['addBalance']),
|
|
361
|
+
description: 'Количество — сколько начислить. The API declares this an integer, so a fractional amount does not survive the trip.',
|
|
362
|
+
};
|
|
363
|
+
const addBalanceType = {
|
|
364
|
+
displayName: 'Balance Type',
|
|
365
|
+
name: 'addBalanceType',
|
|
366
|
+
type: 'options',
|
|
367
|
+
default: 'virtual',
|
|
368
|
+
displayOptions: showFor(['addBalance']),
|
|
369
|
+
options: [
|
|
370
|
+
{ name: 'Points (Баллы)', value: 'points' },
|
|
371
|
+
{ name: 'Virtual (Виртуальный счёт)', value: 'virtual' },
|
|
372
|
+
],
|
|
373
|
+
description: 'Тип баланса. Get Balance additionally reads the money account, but this endpoint cannot write to it — the schema enumerates only these two.',
|
|
374
|
+
};
|
|
375
|
+
const balanceComment = {
|
|
376
|
+
displayName: 'Comment',
|
|
377
|
+
name: 'balanceComment',
|
|
378
|
+
type: 'string',
|
|
379
|
+
default: '',
|
|
380
|
+
displayOptions: showFor(['addBalance']),
|
|
381
|
+
description: 'Комментарий к начислению, видимый в истории баланса. The schema marks it required while its own text says the account supplies one when it is blank, so the node sends the key either way.',
|
|
382
|
+
};
|
|
383
|
+
const managerId = {
|
|
384
|
+
displayName: 'Manager Name or ID',
|
|
385
|
+
name: 'managerId',
|
|
386
|
+
type: 'options',
|
|
387
|
+
typeOptions: { loadOptionsMethod: 'getManagers' },
|
|
388
|
+
default: '',
|
|
389
|
+
displayOptions: showFor(['setPersonalManager']),
|
|
390
|
+
description: 'Персональный менеджер; оставьте пустым, чтобы снять текущего. The list holds the account\'s personal managers, the only staff listing the API publishes. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
391
|
+
};
|
|
392
|
+
const templateId = {
|
|
393
|
+
displayName: 'Diploma Template ID',
|
|
394
|
+
name: 'templateId',
|
|
395
|
+
type: 'string',
|
|
396
|
+
default: '',
|
|
397
|
+
required: true,
|
|
398
|
+
displayOptions: showFor(['createDiploma']),
|
|
399
|
+
description: "ID шаблона диплома. Nothing in this API lists templates — the number is the one in the template's address under Дипломы in the account.",
|
|
400
|
+
};
|
|
401
|
+
const diplomaFields = {
|
|
402
|
+
displayName: 'Additional Fields',
|
|
403
|
+
name: 'diplomaFields',
|
|
404
|
+
type: 'collection',
|
|
405
|
+
placeholder: 'Add Field',
|
|
406
|
+
default: {},
|
|
407
|
+
displayOptions: showFor(['createDiploma']),
|
|
408
|
+
options: [
|
|
409
|
+
{
|
|
410
|
+
displayName: 'Allow Duplicates',
|
|
411
|
+
name: 'allowDuplicates',
|
|
412
|
+
type: 'boolean',
|
|
413
|
+
default: false,
|
|
414
|
+
description: 'Whether to issue the diploma even when the user already holds one from this template (разрешать дубликаты)',
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
displayName: 'Diploma Number',
|
|
418
|
+
name: 'number',
|
|
419
|
+
type: 'string',
|
|
420
|
+
default: '',
|
|
421
|
+
description: 'Номер диплома; если не задан, GetCourse возьмёт следующий по порядку',
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
displayName: 'Send Notification',
|
|
425
|
+
name: 'sendNotify',
|
|
426
|
+
type: 'boolean',
|
|
427
|
+
default: true,
|
|
428
|
+
description: 'Whether to tell the user that the diploma has been issued (отправлять уведомление)',
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
displayName: 'Training Name',
|
|
432
|
+
name: 'trainingName',
|
|
433
|
+
type: 'string',
|
|
434
|
+
default: '',
|
|
435
|
+
description: 'Название тренинга на дипломе; если не задано, берётся из самого тренинга',
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
displayName: 'User Name',
|
|
439
|
+
name: 'userName',
|
|
440
|
+
type: 'string',
|
|
441
|
+
default: '',
|
|
442
|
+
description: 'Имя на дипломе; если не задано, берётся из карточки пользователя',
|
|
443
|
+
},
|
|
444
|
+
],
|
|
445
|
+
};
|
|
446
|
+
const commentUserId = {
|
|
447
|
+
displayName: 'User ID',
|
|
448
|
+
name: 'commentUserId',
|
|
449
|
+
type: 'string',
|
|
450
|
+
default: '',
|
|
451
|
+
required: true,
|
|
452
|
+
displayOptions: showFor(['addComment']),
|
|
453
|
+
description: 'ID пользователя, к которому добавляется комментарий. This endpoint takes no e-mail and no phone number, unlike the rest of the resource.',
|
|
454
|
+
};
|
|
455
|
+
const authorId = {
|
|
456
|
+
displayName: 'Author Name or ID',
|
|
457
|
+
name: 'authorId',
|
|
458
|
+
type: 'options',
|
|
459
|
+
typeOptions: { loadOptionsMethod: 'getManagers' },
|
|
460
|
+
default: '',
|
|
461
|
+
required: true,
|
|
462
|
+
displayOptions: showFor(['addComment']),
|
|
463
|
+
description: 'Сотрудник, от имени которого пишется комментарий. The list holds the account\'s personal managers, the only staff listing the API publishes; another employee ID typed in by hand may well be accepted. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
464
|
+
};
|
|
465
|
+
const commentText = {
|
|
466
|
+
displayName: 'Comment Text',
|
|
467
|
+
name: 'text',
|
|
468
|
+
type: 'string',
|
|
469
|
+
typeOptions: { rows: 4 },
|
|
470
|
+
default: '',
|
|
471
|
+
required: true,
|
|
472
|
+
displayOptions: showFor(['addComment']),
|
|
473
|
+
description: 'Текст комментария',
|
|
474
|
+
};
|
|
475
|
+
exports.description = [
|
|
476
|
+
operation,
|
|
477
|
+
...(0, common_1.userIdentifierProperties)('user', IDENTIFIED),
|
|
478
|
+
messengerType,
|
|
479
|
+
chatId,
|
|
480
|
+
balanceType,
|
|
481
|
+
productId,
|
|
482
|
+
...(0, common_1.returnAllProperties)(showFor(PAGED)),
|
|
483
|
+
updateNotice,
|
|
484
|
+
updateFields,
|
|
485
|
+
clearFields,
|
|
486
|
+
(0, common_1.customFieldsProperty)('user', ['updateCustomFields']),
|
|
487
|
+
setGroupsNotice,
|
|
488
|
+
groups,
|
|
489
|
+
amount,
|
|
490
|
+
addBalanceType,
|
|
491
|
+
balanceComment,
|
|
492
|
+
managerId,
|
|
493
|
+
templateId,
|
|
494
|
+
diplomaFields,
|
|
495
|
+
commentUserId,
|
|
496
|
+
authorId,
|
|
497
|
+
commentText,
|
|
498
|
+
];
|
|
499
|
+
//# sourceMappingURL=description.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"description.js","sourceRoot":"","sources":["../../../../../../nodes/GetCourse/v1/actions/user/description.ts"],"names":[],"mappings":";;;AAEA,sDAImC;AAEnC,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