@bonsae/node-red-salesforce 0.3.0 → 0.4.1
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/index.d.ts +47 -36
- package/index.html +1 -1
- package/index.mjs +154 -154
- package/index.mjs.map +1 -1
- package/locales/de/index.html +18 -16
- package/locales/de/index.json +90 -34
- package/locales/en-US/index.html +18 -16
- package/locales/en-US/index.json +91 -35
- package/locales/es-ES/index.html +18 -16
- package/locales/es-ES/index.json +90 -34
- package/locales/fr/index.html +18 -16
- package/locales/fr/index.json +90 -34
- package/locales/ja/index.html +18 -16
- package/locales/ja/index.json +90 -34
- package/locales/ko/index.html +18 -16
- package/locales/ko/index.json +90 -34
- package/locales/pt-BR/index.html +18 -16
- package/locales/pt-BR/index.json +90 -34
- package/locales/ru/index.html +18 -16
- package/locales/ru/index.json +90 -34
- package/locales/zh-CN/index.html +18 -16
- package/locales/zh-CN/index.json +90 -34
- package/locales/zh-TW/index.html +18 -16
- package/locales/zh-TW/index.json +90 -34
- package/package.json +2 -2
- package/resources/index.FDBQSjT7.js +1 -0
- package/resources/index.e3npw131.js +0 -1
package/locales/pt-BR/index.json
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"salesforce-apex": {
|
|
3
|
+
"configs": {
|
|
4
|
+
"name": "Nome",
|
|
5
|
+
"connection": "Conexão",
|
|
6
|
+
"method": "Método",
|
|
7
|
+
"path": "Caminho"
|
|
8
|
+
},
|
|
9
|
+
"toggles": {
|
|
10
|
+
"validateInput": "Validar Entrada",
|
|
11
|
+
"validateOutput": "Validar Saída",
|
|
12
|
+
"errorPort": "Porta de Erro",
|
|
13
|
+
"completePort": "Porta de Conclusão",
|
|
14
|
+
"statusPort": "Porta de Status"
|
|
15
|
+
},
|
|
3
16
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
4
17
|
"label": "Apex",
|
|
5
18
|
"description": "Invoca um endpoint Apex REST do Salesforce.",
|
|
@@ -7,11 +20,6 @@
|
|
|
7
20
|
"outputLabels": [
|
|
8
21
|
"Resposta"
|
|
9
22
|
],
|
|
10
|
-
"configs": {
|
|
11
|
-
"connection": "Conexão",
|
|
12
|
-
"method": "Método",
|
|
13
|
-
"path": "Caminho"
|
|
14
|
-
},
|
|
15
23
|
"input": {
|
|
16
24
|
"payload": "Corpo da requisição"
|
|
17
25
|
},
|
|
@@ -22,6 +30,20 @@
|
|
|
22
30
|
]
|
|
23
31
|
},
|
|
24
32
|
"salesforce-bulk": {
|
|
33
|
+
"configs": {
|
|
34
|
+
"name": "Nome",
|
|
35
|
+
"connection": "Conexão",
|
|
36
|
+
"operation": "Operação",
|
|
37
|
+
"sObjectType": "Tipo de SObject",
|
|
38
|
+
"externalIdField": "Campo de ID Externo"
|
|
39
|
+
},
|
|
40
|
+
"toggles": {
|
|
41
|
+
"validateInput": "Validar Entrada",
|
|
42
|
+
"validateOutput": "Validar Saída",
|
|
43
|
+
"errorPort": "Porta de Erro",
|
|
44
|
+
"completePort": "Porta de Conclusão",
|
|
45
|
+
"statusPort": "Porta de Status"
|
|
46
|
+
},
|
|
25
47
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
26
48
|
"label": "Bulk",
|
|
27
49
|
"description": "Executa operações em massa usando a Bulk API 2.0 do Salesforce para grandes volumes de dados.",
|
|
@@ -30,12 +52,6 @@
|
|
|
30
52
|
"Registro",
|
|
31
53
|
"Job Concluído"
|
|
32
54
|
],
|
|
33
|
-
"configs": {
|
|
34
|
-
"connection": "Conexão",
|
|
35
|
-
"operation": "Operação",
|
|
36
|
-
"sObjectType": "Tipo de SObject",
|
|
37
|
-
"externalIdField": "Campo de ID Externo"
|
|
38
|
-
},
|
|
39
55
|
"input": {
|
|
40
56
|
"payload": "Array de registros ou consulta SOQL"
|
|
41
57
|
},
|
|
@@ -46,15 +62,23 @@
|
|
|
46
62
|
]
|
|
47
63
|
},
|
|
48
64
|
"salesforce-connection": {
|
|
49
|
-
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
50
|
-
"label": "Conexão",
|
|
51
|
-
"description": "Gerencia a conexão com uma org Salesforce usando OAuth 2.0 com PKCE. Fornece autenticação e gerenciamento de tokens para os outros nós Salesforce.",
|
|
52
65
|
"configs": {
|
|
66
|
+
"name": "Nome",
|
|
53
67
|
"loginUrl": "URL de Login",
|
|
54
68
|
"clientId": "ID do Cliente",
|
|
55
69
|
"apiVersion": "Versão da API",
|
|
56
70
|
"callbackUrl": "URL de Callback"
|
|
57
71
|
},
|
|
72
|
+
"toggles": {
|
|
73
|
+
"validateInput": "Validar Entrada",
|
|
74
|
+
"validateOutput": "Validar Saída",
|
|
75
|
+
"errorPort": "Porta de Erro",
|
|
76
|
+
"completePort": "Porta de Conclusão",
|
|
77
|
+
"statusPort": "Porta de Status"
|
|
78
|
+
},
|
|
79
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
80
|
+
"label": "Conexão",
|
|
81
|
+
"description": "Gerencia a conexão com uma org Salesforce usando OAuth 2.0 com PKCE. Fornece autenticação e gerenciamento de tokens para os outros nós Salesforce.",
|
|
58
82
|
"credentials": {
|
|
59
83
|
"accessToken": "Token de Acesso",
|
|
60
84
|
"refreshToken": "Token de Atualização",
|
|
@@ -62,6 +86,18 @@
|
|
|
62
86
|
}
|
|
63
87
|
},
|
|
64
88
|
"salesforce-describe": {
|
|
89
|
+
"configs": {
|
|
90
|
+
"name": "Nome",
|
|
91
|
+
"connection": "Conexão",
|
|
92
|
+
"sObjectType": "Tipo de SObject"
|
|
93
|
+
},
|
|
94
|
+
"toggles": {
|
|
95
|
+
"validateInput": "Validar Entrada",
|
|
96
|
+
"validateOutput": "Validar Saída",
|
|
97
|
+
"errorPort": "Porta de Erro",
|
|
98
|
+
"completePort": "Porta de Conclusão",
|
|
99
|
+
"statusPort": "Porta de Status"
|
|
100
|
+
},
|
|
65
101
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
66
102
|
"label": "Describe",
|
|
67
103
|
"description": "Obtém metadados de um SObject do Salesforce incluindo campos, relacionamentos e tipos de registro.",
|
|
@@ -69,10 +105,6 @@
|
|
|
69
105
|
"outputLabels": [
|
|
70
106
|
"Metadados do SObject"
|
|
71
107
|
],
|
|
72
|
-
"configs": {
|
|
73
|
-
"connection": "Conexão",
|
|
74
|
-
"sObjectType": "Tipo de SObject"
|
|
75
|
-
},
|
|
76
108
|
"input": {
|
|
77
109
|
"payload": "Payload de entrada"
|
|
78
110
|
},
|
|
@@ -83,6 +115,20 @@
|
|
|
83
115
|
]
|
|
84
116
|
},
|
|
85
117
|
"salesforce-dml": {
|
|
118
|
+
"configs": {
|
|
119
|
+
"name": "Nome",
|
|
120
|
+
"connection": "Conexão",
|
|
121
|
+
"operation": "Operação",
|
|
122
|
+
"sObjectType": "Tipo de SObject",
|
|
123
|
+
"externalIdField": "Campo de ID Externo"
|
|
124
|
+
},
|
|
125
|
+
"toggles": {
|
|
126
|
+
"validateInput": "Validar Entrada",
|
|
127
|
+
"validateOutput": "Validar Saída",
|
|
128
|
+
"errorPort": "Porta de Erro",
|
|
129
|
+
"completePort": "Porta de Conclusão",
|
|
130
|
+
"statusPort": "Porta de Status"
|
|
131
|
+
},
|
|
86
132
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
87
133
|
"label": "DML",
|
|
88
134
|
"description": "Executa operações de criar, ler, atualizar, deletar ou upsert em SObjects do Salesforce.",
|
|
@@ -90,12 +136,6 @@
|
|
|
90
136
|
"outputLabels": [
|
|
91
137
|
"Resultado da operação"
|
|
92
138
|
],
|
|
93
|
-
"configs": {
|
|
94
|
-
"connection": "Conexão",
|
|
95
|
-
"operation": "Operação",
|
|
96
|
-
"sObjectType": "Tipo de SObject",
|
|
97
|
-
"externalIdField": "Campo de ID Externo"
|
|
98
|
-
},
|
|
99
139
|
"input": {
|
|
100
140
|
"payload": "Dados do registro ou ID(s)"
|
|
101
141
|
},
|
|
@@ -106,6 +146,18 @@
|
|
|
106
146
|
]
|
|
107
147
|
},
|
|
108
148
|
"salesforce-soql": {
|
|
149
|
+
"configs": {
|
|
150
|
+
"name": "Nome",
|
|
151
|
+
"connection": "Conexão",
|
|
152
|
+
"query": "Consulta"
|
|
153
|
+
},
|
|
154
|
+
"toggles": {
|
|
155
|
+
"validateInput": "Validar Entrada",
|
|
156
|
+
"validateOutput": "Validar Saída",
|
|
157
|
+
"errorPort": "Porta de Erro",
|
|
158
|
+
"completePort": "Porta de Conclusão",
|
|
159
|
+
"statusPort": "Porta de Status"
|
|
160
|
+
},
|
|
109
161
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
110
162
|
"label": "SOQL",
|
|
111
163
|
"description": "Executa uma consulta SOQL no Salesforce e retorna os registros correspondentes.",
|
|
@@ -113,10 +165,6 @@
|
|
|
113
165
|
"outputLabels": [
|
|
114
166
|
"Resultados da consulta"
|
|
115
167
|
],
|
|
116
|
-
"configs": {
|
|
117
|
-
"connection": "Conexão",
|
|
118
|
-
"query": "Consulta"
|
|
119
|
-
},
|
|
120
168
|
"input": {
|
|
121
169
|
"payload": "Payload de entrada"
|
|
122
170
|
},
|
|
@@ -129,19 +177,27 @@
|
|
|
129
177
|
]
|
|
130
178
|
},
|
|
131
179
|
"salesforce-streaming": {
|
|
132
|
-
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
133
|
-
"label": "Streaming",
|
|
134
|
-
"description": "Assina Platform Events e Change Data Capture do Salesforce usando a Pub/Sub API (gRPC).",
|
|
135
|
-
"outputLabels": [
|
|
136
|
-
"Evento"
|
|
137
|
-
],
|
|
138
180
|
"configs": {
|
|
181
|
+
"name": "Nome",
|
|
139
182
|
"connection": "Conexão",
|
|
140
183
|
"channelName": "Canal",
|
|
141
184
|
"subscribeType": "Assinar a Partir de",
|
|
142
185
|
"replayId": "ID de Replay",
|
|
143
186
|
"numRequested": "Tamanho do Lote"
|
|
144
187
|
},
|
|
188
|
+
"toggles": {
|
|
189
|
+
"validateInput": "Validar Entrada",
|
|
190
|
+
"validateOutput": "Validar Saída",
|
|
191
|
+
"errorPort": "Porta de Erro",
|
|
192
|
+
"completePort": "Porta de Conclusão",
|
|
193
|
+
"statusPort": "Porta de Status"
|
|
194
|
+
},
|
|
195
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
196
|
+
"label": "Streaming",
|
|
197
|
+
"description": "Assina Platform Events e Change Data Capture do Salesforce usando a Pub/Sub API (gRPC).",
|
|
198
|
+
"outputLabels": [
|
|
199
|
+
"Evento"
|
|
200
|
+
],
|
|
145
201
|
"outputs": [
|
|
146
202
|
{
|
|
147
203
|
"payload": "Payload do evento",
|
package/locales/ru/index.html
CHANGED
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
<tbody>
|
|
35
35
|
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Да</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
36
36
|
<tr><td>Запрос</td><td>query</td><td>TypedInput</td><td>Да</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
37
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
38
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
39
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
37
40
|
</tbody>
|
|
38
41
|
</table>
|
|
39
42
|
</div>
|
|
@@ -72,9 +75,9 @@
|
|
|
72
75
|
<tr><td>Тип SObject</td><td>sObjectType</td><td>TypedInput</td><td>Да</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
73
76
|
<tr><td></td><td>record</td><td>TypedInput</td><td>Да</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
74
77
|
<tr><td>Поле внешнего ID</td><td>externalIdField</td><td>string</td><td>Нет</td><td><code>""</code></td><td></td></tr>
|
|
75
|
-
<tr><td></td><td>
|
|
76
|
-
<tr><td></td><td>
|
|
77
|
-
<tr><td></td><td>
|
|
78
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
79
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
80
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
78
81
|
</tbody>
|
|
79
82
|
</table>
|
|
80
83
|
</div>
|
|
@@ -115,11 +118,9 @@
|
|
|
115
118
|
<tr><td></td><td>lineEnding</td><td></td><td>Да</td><td><code>"LF"</code></td><td></td></tr>
|
|
116
119
|
<tr><td></td><td>pollInterval</td><td>number [min: 1000]</td><td>Да</td><td><code>5000</code></td><td></td></tr>
|
|
117
120
|
<tr><td></td><td>pollTimeout</td><td>number [min: 5000]</td><td>Да</td><td><code>60000</code></td><td></td></tr>
|
|
118
|
-
<tr><td></td><td>
|
|
119
|
-
<tr><td></td><td>
|
|
120
|
-
<tr><td></td><td>
|
|
121
|
-
<tr><td></td><td>emitComplete</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
122
|
-
<tr><td></td><td>emitStatus</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
121
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
122
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>Да</td><td><code>true</code></td><td></td></tr>
|
|
123
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
123
124
|
</tbody>
|
|
124
125
|
</table>
|
|
125
126
|
</div>
|
|
@@ -143,9 +144,9 @@
|
|
|
143
144
|
<tbody>
|
|
144
145
|
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Да</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
145
146
|
<tr><td>Тип SObject</td><td>sObjectType</td><td>TypedInput</td><td>Да</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
146
|
-
<tr><td></td><td>
|
|
147
|
-
<tr><td></td><td>
|
|
148
|
-
<tr><td></td><td>
|
|
147
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
148
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
149
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
149
150
|
</tbody>
|
|
150
151
|
</table>
|
|
151
152
|
</div>
|
|
@@ -182,8 +183,9 @@
|
|
|
182
183
|
<tr><td>Подписаться с</td><td>subscribeType</td><td></td><td>Да</td><td><code>"LATEST"</code></td><td></td></tr>
|
|
183
184
|
<tr><td>ID воспроизведения</td><td>replayId</td><td>string</td><td>Нет</td><td><code>""</code></td><td></td></tr>
|
|
184
185
|
<tr><td>Размер пакета</td><td>numRequested</td><td>number [min: 1, max: 100]</td><td>Да</td><td><code>100</code></td><td></td></tr>
|
|
185
|
-
<tr><td></td><td>
|
|
186
|
-
<tr><td></td><td>
|
|
186
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
187
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
188
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
187
189
|
</tbody>
|
|
188
190
|
</table>
|
|
189
191
|
</div>
|
|
@@ -211,9 +213,9 @@
|
|
|
211
213
|
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Да</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
212
214
|
<tr><td>Метод</td><td>method</td><td></td><td>Да</td><td><code>"POST"</code></td><td></td></tr>
|
|
213
215
|
<tr><td>Путь</td><td>path</td><td>TypedInput</td><td>Да</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
214
|
-
<tr><td></td><td>
|
|
215
|
-
<tr><td></td><td>
|
|
216
|
-
<tr><td></td><td>
|
|
216
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
217
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
218
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>Да</td><td><code>false</code></td><td></td></tr>
|
|
217
219
|
</tbody>
|
|
218
220
|
</table>
|
|
219
221
|
</div>
|
package/locales/ru/index.json
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"salesforce-apex": {
|
|
3
|
+
"configs": {
|
|
4
|
+
"name": "Имя",
|
|
5
|
+
"connection": "Connection",
|
|
6
|
+
"method": "Метод",
|
|
7
|
+
"path": "Путь"
|
|
8
|
+
},
|
|
9
|
+
"toggles": {
|
|
10
|
+
"validateInput": "Проверить вход",
|
|
11
|
+
"validateOutput": "Проверить выход",
|
|
12
|
+
"errorPort": "Порт ошибки",
|
|
13
|
+
"completePort": "Порт завершения",
|
|
14
|
+
"statusPort": "Порт статуса"
|
|
15
|
+
},
|
|
3
16
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
4
17
|
"label": "Apex",
|
|
5
18
|
"description": "Вызывает конечную точку Salesforce Apex REST.",
|
|
@@ -7,11 +20,6 @@
|
|
|
7
20
|
"outputLabels": [
|
|
8
21
|
"Ответ"
|
|
9
22
|
],
|
|
10
|
-
"configs": {
|
|
11
|
-
"connection": "Connection",
|
|
12
|
-
"method": "Метод",
|
|
13
|
-
"path": "Путь"
|
|
14
|
-
},
|
|
15
23
|
"input": {
|
|
16
24
|
"payload": "Тело запроса"
|
|
17
25
|
},
|
|
@@ -22,6 +30,20 @@
|
|
|
22
30
|
]
|
|
23
31
|
},
|
|
24
32
|
"salesforce-bulk": {
|
|
33
|
+
"configs": {
|
|
34
|
+
"name": "Имя",
|
|
35
|
+
"connection": "Connection",
|
|
36
|
+
"operation": "Операция",
|
|
37
|
+
"sObjectType": "Тип SObject",
|
|
38
|
+
"externalIdField": "Поле внешнего ID"
|
|
39
|
+
},
|
|
40
|
+
"toggles": {
|
|
41
|
+
"validateInput": "Проверить вход",
|
|
42
|
+
"validateOutput": "Проверить выход",
|
|
43
|
+
"errorPort": "Порт ошибки",
|
|
44
|
+
"completePort": "Порт завершения",
|
|
45
|
+
"statusPort": "Порт статуса"
|
|
46
|
+
},
|
|
25
47
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
26
48
|
"label": "Bulk",
|
|
27
49
|
"description": "Выполняет массовые операции с использованием Salesforce Bulk API 2.0 для больших объёмов данных.",
|
|
@@ -30,12 +52,6 @@
|
|
|
30
52
|
"Запись",
|
|
31
53
|
"Задание Завершено"
|
|
32
54
|
],
|
|
33
|
-
"configs": {
|
|
34
|
-
"connection": "Connection",
|
|
35
|
-
"operation": "Операция",
|
|
36
|
-
"sObjectType": "Тип SObject",
|
|
37
|
-
"externalIdField": "Поле внешнего ID"
|
|
38
|
-
},
|
|
39
55
|
"input": {
|
|
40
56
|
"payload": "Массив записей или SOQL-запрос"
|
|
41
57
|
},
|
|
@@ -46,15 +62,23 @@
|
|
|
46
62
|
]
|
|
47
63
|
},
|
|
48
64
|
"salesforce-connection": {
|
|
49
|
-
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
50
|
-
"label": "Connection",
|
|
51
|
-
"description": "Управляет подключением к организации Salesforce с использованием OAuth 2.0 с PKCE. Обеспечивает аутентификацию и управление токенами для других узлов Salesforce.",
|
|
52
65
|
"configs": {
|
|
66
|
+
"name": "Имя",
|
|
53
67
|
"loginUrl": "URL входа",
|
|
54
68
|
"clientId": "ID клиента",
|
|
55
69
|
"apiVersion": "Версия API",
|
|
56
70
|
"callbackUrl": "URL обратного вызова"
|
|
57
71
|
},
|
|
72
|
+
"toggles": {
|
|
73
|
+
"validateInput": "Проверить вход",
|
|
74
|
+
"validateOutput": "Проверить выход",
|
|
75
|
+
"errorPort": "Порт ошибки",
|
|
76
|
+
"completePort": "Порт завершения",
|
|
77
|
+
"statusPort": "Порт статуса"
|
|
78
|
+
},
|
|
79
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
80
|
+
"label": "Connection",
|
|
81
|
+
"description": "Управляет подключением к организации Salesforce с использованием OAuth 2.0 с PKCE. Обеспечивает аутентификацию и управление токенами для других узлов Salesforce.",
|
|
58
82
|
"credentials": {
|
|
59
83
|
"accessToken": "Токен доступа",
|
|
60
84
|
"refreshToken": "Токен обновления",
|
|
@@ -62,6 +86,18 @@
|
|
|
62
86
|
}
|
|
63
87
|
},
|
|
64
88
|
"salesforce-describe": {
|
|
89
|
+
"configs": {
|
|
90
|
+
"name": "Имя",
|
|
91
|
+
"connection": "Connection",
|
|
92
|
+
"sObjectType": "Тип SObject"
|
|
93
|
+
},
|
|
94
|
+
"toggles": {
|
|
95
|
+
"validateInput": "Проверить вход",
|
|
96
|
+
"validateOutput": "Проверить выход",
|
|
97
|
+
"errorPort": "Порт ошибки",
|
|
98
|
+
"completePort": "Порт завершения",
|
|
99
|
+
"statusPort": "Порт статуса"
|
|
100
|
+
},
|
|
65
101
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
66
102
|
"label": "Describe",
|
|
67
103
|
"description": "Получает метаданные SObject-объекта Salesforce, включая поля, связи и типы записей.",
|
|
@@ -69,10 +105,6 @@
|
|
|
69
105
|
"outputLabels": [
|
|
70
106
|
"Метаданные SObject"
|
|
71
107
|
],
|
|
72
|
-
"configs": {
|
|
73
|
-
"connection": "Connection",
|
|
74
|
-
"sObjectType": "Тип SObject"
|
|
75
|
-
},
|
|
76
108
|
"input": {
|
|
77
109
|
"payload": "Входные данные"
|
|
78
110
|
},
|
|
@@ -83,6 +115,20 @@
|
|
|
83
115
|
]
|
|
84
116
|
},
|
|
85
117
|
"salesforce-dml": {
|
|
118
|
+
"configs": {
|
|
119
|
+
"name": "Имя",
|
|
120
|
+
"connection": "Connection",
|
|
121
|
+
"operation": "Операция",
|
|
122
|
+
"sObjectType": "Тип SObject",
|
|
123
|
+
"externalIdField": "Поле внешнего ID"
|
|
124
|
+
},
|
|
125
|
+
"toggles": {
|
|
126
|
+
"validateInput": "Проверить вход",
|
|
127
|
+
"validateOutput": "Проверить выход",
|
|
128
|
+
"errorPort": "Порт ошибки",
|
|
129
|
+
"completePort": "Порт завершения",
|
|
130
|
+
"statusPort": "Порт статуса"
|
|
131
|
+
},
|
|
86
132
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
87
133
|
"label": "DML",
|
|
88
134
|
"description": "Выполняет операции создания, чтения, обновления, удаления или upsert над SObject-объектами Salesforce.",
|
|
@@ -90,12 +136,6 @@
|
|
|
90
136
|
"outputLabels": [
|
|
91
137
|
"Результат операции"
|
|
92
138
|
],
|
|
93
|
-
"configs": {
|
|
94
|
-
"connection": "Connection",
|
|
95
|
-
"operation": "Операция",
|
|
96
|
-
"sObjectType": "Тип SObject",
|
|
97
|
-
"externalIdField": "Поле внешнего ID"
|
|
98
|
-
},
|
|
99
139
|
"input": {
|
|
100
140
|
"payload": "Данные записи или ID"
|
|
101
141
|
},
|
|
@@ -106,6 +146,18 @@
|
|
|
106
146
|
]
|
|
107
147
|
},
|
|
108
148
|
"salesforce-soql": {
|
|
149
|
+
"configs": {
|
|
150
|
+
"name": "Имя",
|
|
151
|
+
"connection": "Connection",
|
|
152
|
+
"query": "Запрос"
|
|
153
|
+
},
|
|
154
|
+
"toggles": {
|
|
155
|
+
"validateInput": "Проверить вход",
|
|
156
|
+
"validateOutput": "Проверить выход",
|
|
157
|
+
"errorPort": "Порт ошибки",
|
|
158
|
+
"completePort": "Порт завершения",
|
|
159
|
+
"statusPort": "Порт статуса"
|
|
160
|
+
},
|
|
109
161
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
110
162
|
"label": "SOQL",
|
|
111
163
|
"description": "Выполняет SOQL-запрос к Salesforce и возвращает совпадающие записи.",
|
|
@@ -113,10 +165,6 @@
|
|
|
113
165
|
"outputLabels": [
|
|
114
166
|
"Результаты запроса"
|
|
115
167
|
],
|
|
116
|
-
"configs": {
|
|
117
|
-
"connection": "Connection",
|
|
118
|
-
"query": "Запрос"
|
|
119
|
-
},
|
|
120
168
|
"input": {
|
|
121
169
|
"payload": "Входные данные"
|
|
122
170
|
},
|
|
@@ -129,19 +177,27 @@
|
|
|
129
177
|
]
|
|
130
178
|
},
|
|
131
179
|
"salesforce-streaming": {
|
|
132
|
-
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
133
|
-
"label": "Streaming",
|
|
134
|
-
"description": "Подписывается на события платформы Salesforce и события захвата изменений данных через Pub/Sub API (gRPC).",
|
|
135
|
-
"outputLabels": [
|
|
136
|
-
"Событие"
|
|
137
|
-
],
|
|
138
180
|
"configs": {
|
|
181
|
+
"name": "Имя",
|
|
139
182
|
"connection": "Connection",
|
|
140
183
|
"channelName": "Канал",
|
|
141
184
|
"subscribeType": "Подписаться с",
|
|
142
185
|
"replayId": "ID воспроизведения",
|
|
143
186
|
"numRequested": "Размер пакета"
|
|
144
187
|
},
|
|
188
|
+
"toggles": {
|
|
189
|
+
"validateInput": "Проверить вход",
|
|
190
|
+
"validateOutput": "Проверить выход",
|
|
191
|
+
"errorPort": "Порт ошибки",
|
|
192
|
+
"completePort": "Порт завершения",
|
|
193
|
+
"statusPort": "Порт статуса"
|
|
194
|
+
},
|
|
195
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
196
|
+
"label": "Streaming",
|
|
197
|
+
"description": "Подписывается на события платформы Salesforce и события захвата изменений данных через Pub/Sub API (gRPC).",
|
|
198
|
+
"outputLabels": [
|
|
199
|
+
"Событие"
|
|
200
|
+
],
|
|
145
201
|
"outputs": [
|
|
146
202
|
{
|
|
147
203
|
"payload": "Данные события",
|
package/locales/zh-CN/index.html
CHANGED
|
@@ -34,6 +34,9 @@
|
|
|
34
34
|
<tbody>
|
|
35
35
|
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>是</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
36
36
|
<tr><td>查询</td><td>query</td><td>TypedInput</td><td>是</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
37
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
38
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
39
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
37
40
|
</tbody>
|
|
38
41
|
</table>
|
|
39
42
|
</div>
|
|
@@ -72,9 +75,9 @@
|
|
|
72
75
|
<tr><td>SObject类型</td><td>sObjectType</td><td>TypedInput</td><td>是</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
73
76
|
<tr><td></td><td>record</td><td>TypedInput</td><td>是</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
74
77
|
<tr><td>外部ID字段</td><td>externalIdField</td><td>string</td><td>否</td><td><code>""</code></td><td></td></tr>
|
|
75
|
-
<tr><td></td><td>
|
|
76
|
-
<tr><td></td><td>
|
|
77
|
-
<tr><td></td><td>
|
|
78
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
79
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
80
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
78
81
|
</tbody>
|
|
79
82
|
</table>
|
|
80
83
|
</div>
|
|
@@ -115,11 +118,9 @@
|
|
|
115
118
|
<tr><td></td><td>lineEnding</td><td></td><td>是</td><td><code>"LF"</code></td><td></td></tr>
|
|
116
119
|
<tr><td></td><td>pollInterval</td><td>number [min: 1000]</td><td>是</td><td><code>5000</code></td><td></td></tr>
|
|
117
120
|
<tr><td></td><td>pollTimeout</td><td>number [min: 5000]</td><td>是</td><td><code>60000</code></td><td></td></tr>
|
|
118
|
-
<tr><td></td><td>
|
|
119
|
-
<tr><td></td><td>
|
|
120
|
-
<tr><td></td><td>
|
|
121
|
-
<tr><td></td><td>emitComplete</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
122
|
-
<tr><td></td><td>emitStatus</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
121
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
122
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>是</td><td><code>true</code></td><td></td></tr>
|
|
123
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
123
124
|
</tbody>
|
|
124
125
|
</table>
|
|
125
126
|
</div>
|
|
@@ -143,9 +144,9 @@
|
|
|
143
144
|
<tbody>
|
|
144
145
|
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>是</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
145
146
|
<tr><td>SObject类型</td><td>sObjectType</td><td>TypedInput</td><td>是</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
146
|
-
<tr><td></td><td>
|
|
147
|
-
<tr><td></td><td>
|
|
148
|
-
<tr><td></td><td>
|
|
147
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
148
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
149
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
149
150
|
</tbody>
|
|
150
151
|
</table>
|
|
151
152
|
</div>
|
|
@@ -182,8 +183,9 @@
|
|
|
182
183
|
<tr><td>订阅起点</td><td>subscribeType</td><td></td><td>是</td><td><code>"LATEST"</code></td><td></td></tr>
|
|
183
184
|
<tr><td>重播ID</td><td>replayId</td><td>string</td><td>否</td><td><code>""</code></td><td></td></tr>
|
|
184
185
|
<tr><td>批次大小</td><td>numRequested</td><td>number [min: 1, max: 100]</td><td>是</td><td><code>100</code></td><td></td></tr>
|
|
185
|
-
<tr><td></td><td>
|
|
186
|
-
<tr><td></td><td>
|
|
186
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
187
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
188
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
187
189
|
</tbody>
|
|
188
190
|
</table>
|
|
189
191
|
</div>
|
|
@@ -211,9 +213,9 @@
|
|
|
211
213
|
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>是</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
212
214
|
<tr><td>方法</td><td>method</td><td></td><td>是</td><td><code>"POST"</code></td><td></td></tr>
|
|
213
215
|
<tr><td>路径</td><td>path</td><td>TypedInput</td><td>是</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
214
|
-
<tr><td></td><td>
|
|
215
|
-
<tr><td></td><td>
|
|
216
|
-
<tr><td></td><td>
|
|
216
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
217
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
218
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>是</td><td><code>false</code></td><td></td></tr>
|
|
217
219
|
</tbody>
|
|
218
220
|
</table>
|
|
219
221
|
</div>
|