@bonsae/node-red-salesforce 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.
Files changed (46) hide show
  1. package/README.md +126 -0
  2. package/examples/1-soql-query.json +103 -0
  3. package/examples/10-streaming-platform-events.json +73 -0
  4. package/examples/11-streaming-change-data-capture.json +73 -0
  5. package/examples/2-dml-create.json +106 -0
  6. package/examples/3-dml-read.json +83 -0
  7. package/examples/4-dml-update.json +83 -0
  8. package/examples/5-dml-delete.json +83 -0
  9. package/examples/6-describe.json +97 -0
  10. package/examples/7-apex-rest.json +99 -0
  11. package/examples/8-bulk-insert.json +63 -0
  12. package/examples/9-bulk-query.json +63 -0
  13. package/icons/salesforce-apex.png +0 -0
  14. package/icons/salesforce-bulk.png +0 -0
  15. package/icons/salesforce-connection.png +0 -0
  16. package/icons/salesforce-describe.png +0 -0
  17. package/icons/salesforce-dml.png +0 -0
  18. package/icons/salesforce-soql.png +0 -0
  19. package/icons/salesforce-streaming.png +0 -0
  20. package/index.d.ts +268 -0
  21. package/index.html +2 -0
  22. package/index.js +14 -0
  23. package/index.mjs +913 -0
  24. package/index.mjs.map +1 -0
  25. package/locales/de/index.html +226 -0
  26. package/locales/de/index.json +154 -0
  27. package/locales/en-US/index.html +226 -0
  28. package/locales/en-US/index.json +154 -0
  29. package/locales/es-ES/index.html +226 -0
  30. package/locales/es-ES/index.json +154 -0
  31. package/locales/fr/index.html +226 -0
  32. package/locales/fr/index.json +154 -0
  33. package/locales/ja/index.html +226 -0
  34. package/locales/ja/index.json +154 -0
  35. package/locales/ko/index.html +226 -0
  36. package/locales/ko/index.json +154 -0
  37. package/locales/pt-BR/index.html +226 -0
  38. package/locales/pt-BR/index.json +154 -0
  39. package/locales/ru/index.html +226 -0
  40. package/locales/ru/index.json +154 -0
  41. package/locales/zh-CN/index.html +226 -0
  42. package/locales/zh-CN/index.json +154 -0
  43. package/locales/zh-TW/index.html +226 -0
  44. package/locales/zh-TW/index.json +154 -0
  45. package/package.json +52 -0
  46. package/resources/index.CfTW8fjc.js +1 -0
@@ -0,0 +1,154 @@
1
+ {
2
+ "salesforce-apex": {
3
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
4
+ "label": "Apex",
5
+ "description": "Salesforce Apex REST 엔드포인트를 호출합니다.",
6
+ "inputLabels": "요청",
7
+ "outputLabels": [
8
+ "응답"
9
+ ],
10
+ "configs": {
11
+ "connection": "Connection",
12
+ "method": "메서드",
13
+ "path": "경로"
14
+ },
15
+ "input": {
16
+ "payload": "요청 본문"
17
+ },
18
+ "outputs": [
19
+ {
20
+ "payload": "Apex 응답"
21
+ }
22
+ ]
23
+ },
24
+ "salesforce-bulk": {
25
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
26
+ "label": "Bulk",
27
+ "description": "대용량 데이터를 위해 Salesforce Bulk API 2.0을 사용하여 대량 작업을 수행합니다.",
28
+ "inputLabels": "레코드 또는 쿼리",
29
+ "outputLabels": [
30
+ "레코드",
31
+ "작업 완료"
32
+ ],
33
+ "configs": {
34
+ "connection": "Connection",
35
+ "operation": "작업",
36
+ "sObjectType": "SObject 유형",
37
+ "externalIdField": "외부 ID 필드"
38
+ },
39
+ "input": {
40
+ "payload": "레코드 배열 또는 SOQL 쿼리"
41
+ },
42
+ "outputs": [
43
+ {
44
+ "payload": "대량 작업 결과"
45
+ }
46
+ ]
47
+ },
48
+ "salesforce-connection": {
49
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
50
+ "label": "Connection",
51
+ "description": "PKCE를 사용한 OAuth 2.0으로 Salesforce 조직에 대한 연결을 관리합니다. 다른 Salesforce 노드에 인증 및 토큰 관리를 제공합니다.",
52
+ "configs": {
53
+ "loginUrl": "로그인 URL",
54
+ "clientId": "클라이언트 ID",
55
+ "apiVersion": "API 버전",
56
+ "callbackUrl": "콜백 URL"
57
+ },
58
+ "credentials": {
59
+ "accessToken": "액세스 토큰",
60
+ "refreshToken": "갱신 토큰",
61
+ "instanceUrl": "인스턴스 URL"
62
+ }
63
+ },
64
+ "salesforce-describe": {
65
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
66
+ "label": "Describe",
67
+ "description": "필드, 관계 및 레코드 유형을 포함한 Salesforce SObject의 메타데이터를 검색합니다.",
68
+ "inputLabels": "SObject 이름",
69
+ "outputLabels": [
70
+ "SObject 메타데이터"
71
+ ],
72
+ "configs": {
73
+ "connection": "Connection",
74
+ "sObjectType": "SObject 유형"
75
+ },
76
+ "input": {
77
+ "payload": "입력 페이로드"
78
+ },
79
+ "outputs": [
80
+ {
81
+ "payload": "SObject 설명 메타데이터"
82
+ }
83
+ ]
84
+ },
85
+ "salesforce-dml": {
86
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
87
+ "label": "DML",
88
+ "description": "Salesforce SObject에 대해 생성, 읽기, 업데이트, 삭제 또는 upsert 작업을 수행합니다.",
89
+ "inputLabels": "레코드 데이터",
90
+ "outputLabels": [
91
+ "작업 결과"
92
+ ],
93
+ "configs": {
94
+ "connection": "Connection",
95
+ "operation": "작업",
96
+ "sObjectType": "SObject 유형",
97
+ "externalIdField": "외부 ID 필드"
98
+ },
99
+ "input": {
100
+ "payload": "레코드 데이터 또는 ID"
101
+ },
102
+ "outputs": [
103
+ {
104
+ "payload": "작업 결과"
105
+ }
106
+ ]
107
+ },
108
+ "salesforce-soql": {
109
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
110
+ "label": "SOQL",
111
+ "description": "Salesforce에 대해 SOQL 쿼리를 실행하고 일치하는 레코드를 반환합니다.",
112
+ "inputLabels": "쿼리 입력",
113
+ "outputLabels": [
114
+ "쿼리 결과"
115
+ ],
116
+ "configs": {
117
+ "connection": "Connection",
118
+ "query": "쿼리"
119
+ },
120
+ "input": {
121
+ "payload": "입력 페이로드"
122
+ },
123
+ "outputs": [
124
+ {
125
+ "payload": "쿼리 결과 레코드",
126
+ "totalSize": "총 일치 레코드 수",
127
+ "done": "모든 레코드를 가져왔는지 여부"
128
+ }
129
+ ]
130
+ },
131
+ "salesforce-streaming": {
132
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
133
+ "label": "Streaming",
134
+ "description": "Pub/Sub API(gRPC)를 사용하여 Salesforce 플랫폼 이벤트 및 변경 데이터 캡처 이벤트를 구독합니다.",
135
+ "outputLabels": [
136
+ "이벤트"
137
+ ],
138
+ "configs": {
139
+ "connection": "Connection",
140
+ "channelName": "채널",
141
+ "subscribeType": "구독 시작점",
142
+ "replayId": "리플레이 ID",
143
+ "numRequested": "배치 크기"
144
+ },
145
+ "outputs": [
146
+ {
147
+ "payload": "이벤트 페이로드",
148
+ "replayId": "이벤트 리플레이 ID",
149
+ "channel": "채널 이름",
150
+ "topic": "토픽 이름"
151
+ }
152
+ ]
153
+ }
154
+ }
@@ -0,0 +1,226 @@
1
+ <script type="text/html" data-help-name="salesforce-connection">
2
+ <p>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.</p>
3
+ <h3>Propriedades</h3>
4
+ <div style="overflow-x:auto">
5
+ <table width="100%" style="min-width:500px">
6
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th>Padrão</th><th style="width:35%">Descrição</th></tr></thead>
7
+ <tbody>
8
+ <tr><td>URL de Login</td><td>loginUrl</td><td>string</td><td>Sim</td><td><code>"https://login.salesforce.com"</code></td><td></td></tr>
9
+ <tr><td>ID do Cliente</td><td>clientId</td><td>string</td><td>Sim</td><td><code>""</code></td><td></td></tr>
10
+ <tr><td>Versão da API</td><td>apiVersion</td><td></td><td>Sim</td><td><code>"62.0"</code></td><td></td></tr>
11
+ <tr><td>URL de Callback</td><td>callbackUrl</td><td>string</td><td>Não</td><td><code>""</code></td><td></td></tr>
12
+ </tbody>
13
+ </table>
14
+ </div>
15
+
16
+ <h3>Credenciais</h3>
17
+ <div style="overflow-x:auto">
18
+ <table width="100%" style="min-width:500px">
19
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th>Padrão</th><th style="width:35%">Descrição</th></tr></thead>
20
+ <tbody>
21
+ <tr><td>Token de Acesso</td><td>accessToken</td><td>string</td><td>Sim</td><td><code>""</code></td><td></td></tr>
22
+ <tr><td>Token de Atualização</td><td>refreshToken</td><td>string</td><td>Sim</td><td><code>""</code></td><td></td></tr>
23
+ <tr><td>URL da Instância</td><td>instanceUrl</td><td>string</td><td>Sim</td><td><code>""</code></td><td></td></tr>
24
+ </tbody>
25
+ </table>
26
+ </div>
27
+ </script>
28
+ <script type="text/html" data-help-name="salesforce-soql">
29
+ <p>Executa uma consulta SOQL no Salesforce e retorna os registros correspondentes.</p>
30
+ <h3>Propriedades</h3>
31
+ <div style="overflow-x:auto">
32
+ <table width="100%" style="min-width:500px">
33
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th>Padrão</th><th style="width:35%">Descrição</th></tr></thead>
34
+ <tbody>
35
+ <tr><td>Conexão</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Sim</td><td></td><td>Reference to salesforce-connection</td></tr>
36
+ <tr><td>Consulta</td><td>query</td><td>TypedInput</td><td>Sim</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
37
+ </tbody>
38
+ </table>
39
+ </div>
40
+
41
+ <h3>Entrada</h3>
42
+ <div style="overflow-x:auto">
43
+ <table width="100%" style="min-width:500px">
44
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th style="width:35%">Descrição</th></tr></thead>
45
+ <tbody>
46
+ <tr><td>Payload de entrada</td><td>payload</td><td></td><td>Sim</td><td></td></tr>
47
+ </tbody>
48
+ </table>
49
+ </div>
50
+
51
+ <h3>Saída</h3>
52
+ <div style="overflow-x:auto">
53
+ <table width="100%" style="min-width:500px">
54
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th style="width:35%">Descrição</th></tr></thead>
55
+ <tbody>
56
+ <tr><td>Registros da consulta</td><td>payload</td><td>array</td><td>Sim</td><td></td></tr>
57
+ <tr><td>Total de registros</td><td>totalSize</td><td>number</td><td>Sim</td><td></td></tr>
58
+ <tr><td>Todos os registros foram obtidos</td><td>done</td><td>boolean</td><td>Sim</td><td></td></tr>
59
+ </tbody>
60
+ </table>
61
+ </div>
62
+ </script>
63
+ <script type="text/html" data-help-name="salesforce-dml">
64
+ <p>Executa operações de criar, ler, atualizar, deletar ou upsert em SObjects do Salesforce.</p>
65
+ <h3>Propriedades</h3>
66
+ <div style="overflow-x:auto">
67
+ <table width="100%" style="min-width:500px">
68
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th>Padrão</th><th style="width:35%">Descrição</th></tr></thead>
69
+ <tbody>
70
+ <tr><td>Conexão</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Sim</td><td></td><td>Reference to salesforce-connection</td></tr>
71
+ <tr><td>Operação</td><td>operation</td><td></td><td>Sim</td><td><code>"create"</code></td><td></td></tr>
72
+ <tr><td>Tipo de SObject</td><td>sObjectType</td><td>TypedInput</td><td>Sim</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
73
+ <tr><td></td><td>record</td><td>TypedInput</td><td>Sim</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
74
+ <tr><td>Campo de ID Externo</td><td>externalIdField</td><td>string</td><td>Não</td><td><code>""</code></td><td></td></tr>
75
+ </tbody>
76
+ </table>
77
+ </div>
78
+
79
+ <h3>Entrada</h3>
80
+ <div style="overflow-x:auto">
81
+ <table width="100%" style="min-width:500px">
82
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th style="width:35%">Descrição</th></tr></thead>
83
+ <tbody>
84
+ <tr><td>Dados do registro ou ID(s)</td><td>payload</td><td></td><td>Sim</td><td></td></tr>
85
+ </tbody>
86
+ </table>
87
+ </div>
88
+
89
+ <h3>Saída</h3>
90
+ <div style="overflow-x:auto">
91
+ <table width="100%" style="min-width:500px">
92
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th style="width:35%">Descrição</th></tr></thead>
93
+ <tbody>
94
+ <tr><td>Resultado da operação</td><td>payload</td><td></td><td>Sim</td><td></td></tr>
95
+ </tbody>
96
+ </table>
97
+ </div>
98
+ </script>
99
+ <script type="text/html" data-help-name="salesforce-bulk">
100
+ <p>Executa operações em massa usando a Bulk API 2.0 do Salesforce para grandes volumes de dados.</p>
101
+ <h3>Propriedades</h3>
102
+ <div style="overflow-x:auto">
103
+ <table width="100%" style="min-width:500px">
104
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th>Padrão</th><th style="width:35%">Descrição</th></tr></thead>
105
+ <tbody>
106
+ <tr><td>Conexão</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Sim</td><td></td><td>Reference to salesforce-connection</td></tr>
107
+ <tr><td>Operação</td><td>operation</td><td></td><td>Sim</td><td><code>"insert"</code></td><td></td></tr>
108
+ <tr><td>Tipo de SObject</td><td>sObjectType</td><td>TypedInput</td><td>Sim</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
109
+ <tr><td>Campo de ID Externo</td><td>externalIdField</td><td>string</td><td>Não</td><td><code>""</code></td><td></td></tr>
110
+ <tr><td></td><td>assignmentRuleId</td><td>string</td><td>Não</td><td><code>""</code></td><td></td></tr>
111
+ <tr><td></td><td>columnDelimiter</td><td></td><td>Sim</td><td><code>"COMMA"</code></td><td></td></tr>
112
+ <tr><td></td><td>lineEnding</td><td></td><td>Sim</td><td><code>"LF"</code></td><td></td></tr>
113
+ <tr><td></td><td>pollInterval</td><td>number [min: 1000]</td><td>Sim</td><td><code>5000</code></td><td></td></tr>
114
+ <tr><td></td><td>pollTimeout</td><td>number [min: 5000]</td><td>Sim</td><td><code>60000</code></td><td></td></tr>
115
+ <tr><td></td><td>emitJobCreated</td><td>boolean</td><td>Sim</td><td><code>false</code></td><td></td></tr>
116
+ <tr><td></td><td>outputs</td><td>number</td><td>Sim</td><td><code>2</code></td><td></td></tr>
117
+ </tbody>
118
+ </table>
119
+ </div>
120
+
121
+ <h3>Entrada</h3>
122
+ <div style="overflow-x:auto">
123
+ <table width="100%" style="min-width:500px">
124
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th style="width:35%">Descrição</th></tr></thead>
125
+ <tbody>
126
+ <tr><td>Array de registros ou consulta SOQL</td><td>payload</td><td></td><td>Sim</td><td></td></tr>
127
+ </tbody>
128
+ </table>
129
+ </div>
130
+ </script>
131
+ <script type="text/html" data-help-name="salesforce-describe">
132
+ <p>Obtém metadados de um SObject do Salesforce incluindo campos, relacionamentos e tipos de registro.</p>
133
+ <h3>Propriedades</h3>
134
+ <div style="overflow-x:auto">
135
+ <table width="100%" style="min-width:500px">
136
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th>Padrão</th><th style="width:35%">Descrição</th></tr></thead>
137
+ <tbody>
138
+ <tr><td>Conexão</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Sim</td><td></td><td>Reference to salesforce-connection</td></tr>
139
+ <tr><td>Tipo de SObject</td><td>sObjectType</td><td>TypedInput</td><td>Sim</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
140
+ </tbody>
141
+ </table>
142
+ </div>
143
+
144
+ <h3>Entrada</h3>
145
+ <div style="overflow-x:auto">
146
+ <table width="100%" style="min-width:500px">
147
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th style="width:35%">Descrição</th></tr></thead>
148
+ <tbody>
149
+ <tr><td>Payload de entrada</td><td>payload</td><td></td><td>Sim</td><td></td></tr>
150
+ </tbody>
151
+ </table>
152
+ </div>
153
+
154
+ <h3>Saída</h3>
155
+ <div style="overflow-x:auto">
156
+ <table width="100%" style="min-width:500px">
157
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th style="width:35%">Descrição</th></tr></thead>
158
+ <tbody>
159
+ <tr><td>Metadados do SObject</td><td>payload</td><td>object</td><td>Sim</td><td></td></tr>
160
+ </tbody>
161
+ </table>
162
+ </div>
163
+ </script>
164
+ <script type="text/html" data-help-name="salesforce-streaming">
165
+ <p>Assina Platform Events e Change Data Capture do Salesforce usando a Pub/Sub API (gRPC).</p>
166
+ <h3>Propriedades</h3>
167
+ <div style="overflow-x:auto">
168
+ <table width="100%" style="min-width:500px">
169
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th>Padrão</th><th style="width:35%">Descrição</th></tr></thead>
170
+ <tbody>
171
+ <tr><td>Conexão</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Sim</td><td></td><td>Reference to salesforce-connection</td></tr>
172
+ <tr><td>Canal</td><td>channelName</td><td>string</td><td>Sim</td><td><code>""</code></td><td></td></tr>
173
+ <tr><td>Assinar a Partir de</td><td>subscribeType</td><td></td><td>Sim</td><td><code>"LATEST"</code></td><td></td></tr>
174
+ <tr><td>ID de Replay</td><td>replayId</td><td>string</td><td>Não</td><td><code>""</code></td><td></td></tr>
175
+ <tr><td>Tamanho do Lote</td><td>numRequested</td><td>number [min: 1, max: 100]</td><td>Sim</td><td><code>100</code></td><td></td></tr>
176
+ </tbody>
177
+ </table>
178
+ </div>
179
+
180
+ <h3>Saída</h3>
181
+ <div style="overflow-x:auto">
182
+ <table width="100%" style="min-width:500px">
183
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th style="width:35%">Descrição</th></tr></thead>
184
+ <tbody>
185
+ <tr><td>Payload do evento</td><td>payload</td><td></td><td>Sim</td><td></td></tr>
186
+ <tr><td>ID de replay do evento</td><td>replayId</td><td></td><td>Sim</td><td></td></tr>
187
+ <tr><td>Nome do canal</td><td>channel</td><td>string</td><td>Sim</td><td></td></tr>
188
+ <tr><td>Nome do tópico</td><td>topic</td><td>string</td><td>Sim</td><td></td></tr>
189
+ </tbody>
190
+ </table>
191
+ </div>
192
+ </script>
193
+ <script type="text/html" data-help-name="salesforce-apex">
194
+ <p>Invoca um endpoint Apex REST do Salesforce.</p>
195
+ <h3>Propriedades</h3>
196
+ <div style="overflow-x:auto">
197
+ <table width="100%" style="min-width:500px">
198
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th>Padrão</th><th style="width:35%">Descrição</th></tr></thead>
199
+ <tbody>
200
+ <tr><td>Conexão</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Sim</td><td></td><td>Reference to salesforce-connection</td></tr>
201
+ <tr><td>Método</td><td>method</td><td></td><td>Sim</td><td><code>"POST"</code></td><td></td></tr>
202
+ <tr><td>Caminho</td><td>path</td><td>TypedInput</td><td>Sim</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
203
+ </tbody>
204
+ </table>
205
+ </div>
206
+
207
+ <h3>Entrada</h3>
208
+ <div style="overflow-x:auto">
209
+ <table width="100%" style="min-width:500px">
210
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th style="width:35%">Descrição</th></tr></thead>
211
+ <tbody>
212
+ <tr><td>Corpo da requisição</td><td>payload</td><td></td><td>Sim</td><td></td></tr>
213
+ </tbody>
214
+ </table>
215
+ </div>
216
+
217
+ <h3>Saída</h3>
218
+ <div style="overflow-x:auto">
219
+ <table width="100%" style="min-width:500px">
220
+ <thead><tr><th>Rótulo</th><th>Propriedade</th><th>Tipo</th><th>Obrigatório</th><th style="width:35%">Descrição</th></tr></thead>
221
+ <tbody>
222
+ <tr><td>Resposta do Apex</td><td>payload</td><td></td><td>Sim</td><td></td></tr>
223
+ </tbody>
224
+ </table>
225
+ </div>
226
+ </script>
@@ -0,0 +1,154 @@
1
+ {
2
+ "salesforce-apex": {
3
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
4
+ "label": "Apex",
5
+ "description": "Invoca um endpoint Apex REST do Salesforce.",
6
+ "inputLabels": "Requisição",
7
+ "outputLabels": [
8
+ "Resposta"
9
+ ],
10
+ "configs": {
11
+ "connection": "Conexão",
12
+ "method": "Método",
13
+ "path": "Caminho"
14
+ },
15
+ "input": {
16
+ "payload": "Corpo da requisição"
17
+ },
18
+ "outputs": [
19
+ {
20
+ "payload": "Resposta do Apex"
21
+ }
22
+ ]
23
+ },
24
+ "salesforce-bulk": {
25
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
26
+ "label": "Bulk",
27
+ "description": "Executa operações em massa usando a Bulk API 2.0 do Salesforce para grandes volumes de dados.",
28
+ "inputLabels": "Registros ou consulta",
29
+ "outputLabels": [
30
+ "Registro",
31
+ "Job Concluído"
32
+ ],
33
+ "configs": {
34
+ "connection": "Conexão",
35
+ "operation": "Operação",
36
+ "sObjectType": "Tipo de SObject",
37
+ "externalIdField": "Campo de ID Externo"
38
+ },
39
+ "input": {
40
+ "payload": "Array de registros ou consulta SOQL"
41
+ },
42
+ "outputs": [
43
+ {
44
+ "payload": "Resultados da operação em massa"
45
+ }
46
+ ]
47
+ },
48
+ "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
+ "configs": {
53
+ "loginUrl": "URL de Login",
54
+ "clientId": "ID do Cliente",
55
+ "apiVersion": "Versão da API",
56
+ "callbackUrl": "URL de Callback"
57
+ },
58
+ "credentials": {
59
+ "accessToken": "Token de Acesso",
60
+ "refreshToken": "Token de Atualização",
61
+ "instanceUrl": "URL da Instância"
62
+ }
63
+ },
64
+ "salesforce-describe": {
65
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
66
+ "label": "Describe",
67
+ "description": "Obtém metadados de um SObject do Salesforce incluindo campos, relacionamentos e tipos de registro.",
68
+ "inputLabels": "Nome do SObject",
69
+ "outputLabels": [
70
+ "Metadados do SObject"
71
+ ],
72
+ "configs": {
73
+ "connection": "Conexão",
74
+ "sObjectType": "Tipo de SObject"
75
+ },
76
+ "input": {
77
+ "payload": "Payload de entrada"
78
+ },
79
+ "outputs": [
80
+ {
81
+ "payload": "Metadados do SObject"
82
+ }
83
+ ]
84
+ },
85
+ "salesforce-dml": {
86
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
87
+ "label": "DML",
88
+ "description": "Executa operações de criar, ler, atualizar, deletar ou upsert em SObjects do Salesforce.",
89
+ "inputLabels": "Dados do registro",
90
+ "outputLabels": [
91
+ "Resultado da operação"
92
+ ],
93
+ "configs": {
94
+ "connection": "Conexão",
95
+ "operation": "Operação",
96
+ "sObjectType": "Tipo de SObject",
97
+ "externalIdField": "Campo de ID Externo"
98
+ },
99
+ "input": {
100
+ "payload": "Dados do registro ou ID(s)"
101
+ },
102
+ "outputs": [
103
+ {
104
+ "payload": "Resultado da operação"
105
+ }
106
+ ]
107
+ },
108
+ "salesforce-soql": {
109
+ "$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
110
+ "label": "SOQL",
111
+ "description": "Executa uma consulta SOQL no Salesforce e retorna os registros correspondentes.",
112
+ "inputLabels": "Entrada da consulta",
113
+ "outputLabels": [
114
+ "Resultados da consulta"
115
+ ],
116
+ "configs": {
117
+ "connection": "Conexão",
118
+ "query": "Consulta"
119
+ },
120
+ "input": {
121
+ "payload": "Payload de entrada"
122
+ },
123
+ "outputs": [
124
+ {
125
+ "payload": "Registros da consulta",
126
+ "totalSize": "Total de registros",
127
+ "done": "Todos os registros foram obtidos"
128
+ }
129
+ ]
130
+ },
131
+ "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
+ "configs": {
139
+ "connection": "Conexão",
140
+ "channelName": "Canal",
141
+ "subscribeType": "Assinar a Partir de",
142
+ "replayId": "ID de Replay",
143
+ "numRequested": "Tamanho do Lote"
144
+ },
145
+ "outputs": [
146
+ {
147
+ "payload": "Payload do evento",
148
+ "replayId": "ID de replay do evento",
149
+ "channel": "Nome do canal",
150
+ "topic": "Nome do tópico"
151
+ }
152
+ ]
153
+ }
154
+ }