@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.
- package/README.md +126 -0
- package/examples/1-soql-query.json +103 -0
- package/examples/10-streaming-platform-events.json +73 -0
- package/examples/11-streaming-change-data-capture.json +73 -0
- package/examples/2-dml-create.json +106 -0
- package/examples/3-dml-read.json +83 -0
- package/examples/4-dml-update.json +83 -0
- package/examples/5-dml-delete.json +83 -0
- package/examples/6-describe.json +97 -0
- package/examples/7-apex-rest.json +99 -0
- package/examples/8-bulk-insert.json +63 -0
- package/examples/9-bulk-query.json +63 -0
- package/icons/salesforce-apex.png +0 -0
- package/icons/salesforce-bulk.png +0 -0
- package/icons/salesforce-connection.png +0 -0
- package/icons/salesforce-describe.png +0 -0
- package/icons/salesforce-dml.png +0 -0
- package/icons/salesforce-soql.png +0 -0
- package/icons/salesforce-streaming.png +0 -0
- package/index.d.ts +268 -0
- package/index.html +2 -0
- package/index.js +14 -0
- package/index.mjs +913 -0
- package/index.mjs.map +1 -0
- package/locales/de/index.html +226 -0
- package/locales/de/index.json +154 -0
- package/locales/en-US/index.html +226 -0
- package/locales/en-US/index.json +154 -0
- package/locales/es-ES/index.html +226 -0
- package/locales/es-ES/index.json +154 -0
- package/locales/fr/index.html +226 -0
- package/locales/fr/index.json +154 -0
- package/locales/ja/index.html +226 -0
- package/locales/ja/index.json +154 -0
- package/locales/ko/index.html +226 -0
- package/locales/ko/index.json +154 -0
- package/locales/pt-BR/index.html +226 -0
- package/locales/pt-BR/index.json +154 -0
- package/locales/ru/index.html +226 -0
- package/locales/ru/index.json +154 -0
- package/locales/zh-CN/index.html +226 -0
- package/locales/zh-CN/index.json +154 -0
- package/locales/zh-TW/index.html +226 -0
- package/locales/zh-TW/index.json +154 -0
- package/package.json +52 -0
- 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": "Invoca un endpoint REST de Apex en Salesforce.",
|
|
6
|
+
"inputLabels": "Solicitud",
|
|
7
|
+
"outputLabels": [
|
|
8
|
+
"Respuesta"
|
|
9
|
+
],
|
|
10
|
+
"configs": {
|
|
11
|
+
"connection": "Connection",
|
|
12
|
+
"method": "Método",
|
|
13
|
+
"path": "Ruta"
|
|
14
|
+
},
|
|
15
|
+
"input": {
|
|
16
|
+
"payload": "Cuerpo de la solicitud"
|
|
17
|
+
},
|
|
18
|
+
"outputs": [
|
|
19
|
+
{
|
|
20
|
+
"payload": "Respuesta de Apex"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"salesforce-bulk": {
|
|
25
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
26
|
+
"label": "Bulk",
|
|
27
|
+
"description": "Realiza operaciones masivas utilizando la API Bulk 2.0 de Salesforce para grandes volúmenes de datos.",
|
|
28
|
+
"inputLabels": "Registros o consulta",
|
|
29
|
+
"outputLabels": [
|
|
30
|
+
"Registro",
|
|
31
|
+
"Job Completado"
|
|
32
|
+
],
|
|
33
|
+
"configs": {
|
|
34
|
+
"connection": "Connection",
|
|
35
|
+
"operation": "Operación",
|
|
36
|
+
"sObjectType": "Tipo de SObject",
|
|
37
|
+
"externalIdField": "Campo de ID externo"
|
|
38
|
+
},
|
|
39
|
+
"input": {
|
|
40
|
+
"payload": "Arreglo de registros o consulta SOQL"
|
|
41
|
+
},
|
|
42
|
+
"outputs": [
|
|
43
|
+
{
|
|
44
|
+
"payload": "Resultados de la operación masiva"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"salesforce-connection": {
|
|
49
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
50
|
+
"label": "Connection",
|
|
51
|
+
"description": "Gestiona una conexión a una organización de Salesforce utilizando OAuth 2.0 con PKCE. Proporciona autenticación y gestión de tokens para otros nodos de Salesforce.",
|
|
52
|
+
"configs": {
|
|
53
|
+
"loginUrl": "URL de inicio de sesión",
|
|
54
|
+
"clientId": "ID de cliente",
|
|
55
|
+
"apiVersion": "Versión de API",
|
|
56
|
+
"callbackUrl": "URL de retorno"
|
|
57
|
+
},
|
|
58
|
+
"credentials": {
|
|
59
|
+
"accessToken": "Token de acceso",
|
|
60
|
+
"refreshToken": "Token de actualización",
|
|
61
|
+
"instanceUrl": "URL de instancia"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"salesforce-describe": {
|
|
65
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
66
|
+
"label": "Describe",
|
|
67
|
+
"description": "Recupera los metadatos de un SObject de Salesforce, incluyendo campos, relaciones y tipos de registro.",
|
|
68
|
+
"inputLabels": "Nombre del SObject",
|
|
69
|
+
"outputLabels": [
|
|
70
|
+
"Metadatos del SObject"
|
|
71
|
+
],
|
|
72
|
+
"configs": {
|
|
73
|
+
"connection": "Connection",
|
|
74
|
+
"sObjectType": "Tipo de SObject"
|
|
75
|
+
},
|
|
76
|
+
"input": {
|
|
77
|
+
"payload": "Carga útil de entrada"
|
|
78
|
+
},
|
|
79
|
+
"outputs": [
|
|
80
|
+
{
|
|
81
|
+
"payload": "Metadatos de descripción del SObject"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"salesforce-dml": {
|
|
86
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
87
|
+
"label": "DML",
|
|
88
|
+
"description": "Realiza operaciones de crear, leer, actualizar, eliminar o upsert en SObjects de Salesforce.",
|
|
89
|
+
"inputLabels": "Datos del registro",
|
|
90
|
+
"outputLabels": [
|
|
91
|
+
"Resultado de la operación"
|
|
92
|
+
],
|
|
93
|
+
"configs": {
|
|
94
|
+
"connection": "Connection",
|
|
95
|
+
"operation": "Operación",
|
|
96
|
+
"sObjectType": "Tipo de SObject",
|
|
97
|
+
"externalIdField": "Campo de ID externo"
|
|
98
|
+
},
|
|
99
|
+
"input": {
|
|
100
|
+
"payload": "Datos del registro o ID(s)"
|
|
101
|
+
},
|
|
102
|
+
"outputs": [
|
|
103
|
+
{
|
|
104
|
+
"payload": "Resultado de la operación"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"salesforce-soql": {
|
|
109
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
110
|
+
"label": "SOQL",
|
|
111
|
+
"description": "Ejecuta una consulta SOQL contra Salesforce y devuelve los registros coincidentes.",
|
|
112
|
+
"inputLabels": "Entrada de consulta",
|
|
113
|
+
"outputLabels": [
|
|
114
|
+
"Resultados de la consulta"
|
|
115
|
+
],
|
|
116
|
+
"configs": {
|
|
117
|
+
"connection": "Connection",
|
|
118
|
+
"query": "Consulta"
|
|
119
|
+
},
|
|
120
|
+
"input": {
|
|
121
|
+
"payload": "Carga útil de entrada"
|
|
122
|
+
},
|
|
123
|
+
"outputs": [
|
|
124
|
+
{
|
|
125
|
+
"payload": "Registros del resultado de la consulta",
|
|
126
|
+
"totalSize": "Total de registros coincidentes",
|
|
127
|
+
"done": "Si se obtuvieron todos los registros"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
"salesforce-streaming": {
|
|
132
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
133
|
+
"label": "Streaming",
|
|
134
|
+
"description": "Se suscribe a eventos de plataforma y eventos de captura de cambios de datos de Salesforce mediante la API Pub/Sub (gRPC).",
|
|
135
|
+
"outputLabels": [
|
|
136
|
+
"Evento"
|
|
137
|
+
],
|
|
138
|
+
"configs": {
|
|
139
|
+
"connection": "Connection",
|
|
140
|
+
"channelName": "Canal",
|
|
141
|
+
"subscribeType": "Suscribirse desde",
|
|
142
|
+
"replayId": "ID de reproducción",
|
|
143
|
+
"numRequested": "Tamaño del lote"
|
|
144
|
+
},
|
|
145
|
+
"outputs": [
|
|
146
|
+
{
|
|
147
|
+
"payload": "Carga útil del evento",
|
|
148
|
+
"replayId": "ID de reproducción del evento",
|
|
149
|
+
"channel": "Nombre del canal",
|
|
150
|
+
"topic": "Nombre del tema"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
<script type="text/html" data-help-name="salesforce-connection">
|
|
2
|
+
<p>Gère une connexion à une organisation Salesforce en utilisant OAuth 2.0 avec PKCE. Fournit l'authentification et la gestion des jetons pour les autres nœuds Salesforce.</p>
|
|
3
|
+
<h3>Propriétés</h3>
|
|
4
|
+
<div style="overflow-x:auto">
|
|
5
|
+
<table width="100%" style="min-width:500px">
|
|
6
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th>Par défaut</th><th style="width:35%">Description</th></tr></thead>
|
|
7
|
+
<tbody>
|
|
8
|
+
<tr><td>URL de connexion</td><td>loginUrl</td><td>string</td><td>Oui</td><td><code>"https://login.salesforce.com"</code></td><td></td></tr>
|
|
9
|
+
<tr><td>ID client</td><td>clientId</td><td>string</td><td>Oui</td><td><code>""</code></td><td></td></tr>
|
|
10
|
+
<tr><td>Version de l'API</td><td>apiVersion</td><td></td><td>Oui</td><td><code>"62.0"</code></td><td></td></tr>
|
|
11
|
+
<tr><td>URL de rappel</td><td>callbackUrl</td><td>string</td><td>Non</td><td><code>""</code></td><td></td></tr>
|
|
12
|
+
</tbody>
|
|
13
|
+
</table>
|
|
14
|
+
</div>
|
|
15
|
+
|
|
16
|
+
<h3>Identifiants</h3>
|
|
17
|
+
<div style="overflow-x:auto">
|
|
18
|
+
<table width="100%" style="min-width:500px">
|
|
19
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th>Par défaut</th><th style="width:35%">Description</th></tr></thead>
|
|
20
|
+
<tbody>
|
|
21
|
+
<tr><td>Jeton d'accès</td><td>accessToken</td><td>string</td><td>Oui</td><td><code>""</code></td><td></td></tr>
|
|
22
|
+
<tr><td>Jeton de rafraîchissement</td><td>refreshToken</td><td>string</td><td>Oui</td><td><code>""</code></td><td></td></tr>
|
|
23
|
+
<tr><td>URL de l'instance</td><td>instanceUrl</td><td>string</td><td>Oui</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>Exécute une requête SOQL sur Salesforce et renvoie les enregistrements correspondants.</p>
|
|
30
|
+
<h3>Propriétés</h3>
|
|
31
|
+
<div style="overflow-x:auto">
|
|
32
|
+
<table width="100%" style="min-width:500px">
|
|
33
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th>Par défaut</th><th style="width:35%">Description</th></tr></thead>
|
|
34
|
+
<tbody>
|
|
35
|
+
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Oui</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
36
|
+
<tr><td>Requête</td><td>query</td><td>TypedInput</td><td>Oui</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>Entrée</h3>
|
|
42
|
+
<div style="overflow-x:auto">
|
|
43
|
+
<table width="100%" style="min-width:500px">
|
|
44
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th style="width:35%">Description</th></tr></thead>
|
|
45
|
+
<tbody>
|
|
46
|
+
<tr><td>Charge utile d'entrée</td><td>payload</td><td></td><td>Oui</td><td></td></tr>
|
|
47
|
+
</tbody>
|
|
48
|
+
</table>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<h3>Sortie</h3>
|
|
52
|
+
<div style="overflow-x:auto">
|
|
53
|
+
<table width="100%" style="min-width:500px">
|
|
54
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th style="width:35%">Description</th></tr></thead>
|
|
55
|
+
<tbody>
|
|
56
|
+
<tr><td>Enregistrements du résultat de la requête</td><td>payload</td><td>array</td><td>Oui</td><td></td></tr>
|
|
57
|
+
<tr><td>Total des enregistrements correspondants</td><td>totalSize</td><td>number</td><td>Oui</td><td></td></tr>
|
|
58
|
+
<tr><td>Si tous les enregistrements ont été récupérés</td><td>done</td><td>boolean</td><td>Oui</td><td></td></tr>
|
|
59
|
+
</tbody>
|
|
60
|
+
</table>
|
|
61
|
+
</div>
|
|
62
|
+
</script>
|
|
63
|
+
<script type="text/html" data-help-name="salesforce-dml">
|
|
64
|
+
<p>Effectue des opérations de création, lecture, mise à jour, suppression ou upsert sur les SObjects Salesforce.</p>
|
|
65
|
+
<h3>Propriétés</h3>
|
|
66
|
+
<div style="overflow-x:auto">
|
|
67
|
+
<table width="100%" style="min-width:500px">
|
|
68
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th>Par défaut</th><th style="width:35%">Description</th></tr></thead>
|
|
69
|
+
<tbody>
|
|
70
|
+
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Oui</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
71
|
+
<tr><td>Opération</td><td>operation</td><td></td><td>Oui</td><td><code>"create"</code></td><td></td></tr>
|
|
72
|
+
<tr><td>Type de SObject</td><td>sObjectType</td><td>TypedInput</td><td>Oui</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>Oui</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
74
|
+
<tr><td>Champ d'ID externe</td><td>externalIdField</td><td>string</td><td>Non</td><td><code>""</code></td><td></td></tr>
|
|
75
|
+
</tbody>
|
|
76
|
+
</table>
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
<h3>Entrée</h3>
|
|
80
|
+
<div style="overflow-x:auto">
|
|
81
|
+
<table width="100%" style="min-width:500px">
|
|
82
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th style="width:35%">Description</th></tr></thead>
|
|
83
|
+
<tbody>
|
|
84
|
+
<tr><td>Données de l'enregistrement ou ID(s)</td><td>payload</td><td></td><td>Oui</td><td></td></tr>
|
|
85
|
+
</tbody>
|
|
86
|
+
</table>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<h3>Sortie</h3>
|
|
90
|
+
<div style="overflow-x:auto">
|
|
91
|
+
<table width="100%" style="min-width:500px">
|
|
92
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th style="width:35%">Description</th></tr></thead>
|
|
93
|
+
<tbody>
|
|
94
|
+
<tr><td>Résultat de l'opération</td><td>payload</td><td></td><td>Oui</td><td></td></tr>
|
|
95
|
+
</tbody>
|
|
96
|
+
</table>
|
|
97
|
+
</div>
|
|
98
|
+
</script>
|
|
99
|
+
<script type="text/html" data-help-name="salesforce-bulk">
|
|
100
|
+
<p>Effectue des opérations en masse à l'aide de l'API Bulk 2.0 de Salesforce pour les grands volumes de données.</p>
|
|
101
|
+
<h3>Propriétés</h3>
|
|
102
|
+
<div style="overflow-x:auto">
|
|
103
|
+
<table width="100%" style="min-width:500px">
|
|
104
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th>Par défaut</th><th style="width:35%">Description</th></tr></thead>
|
|
105
|
+
<tbody>
|
|
106
|
+
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Oui</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
107
|
+
<tr><td>Opération</td><td>operation</td><td></td><td>Oui</td><td><code>"insert"</code></td><td></td></tr>
|
|
108
|
+
<tr><td>Type de SObject</td><td>sObjectType</td><td>TypedInput</td><td>Oui</td><td><code>{"type":"str","value":""}</code></td><td>Represents a Node-RED TypedInput value and its type.</td></tr>
|
|
109
|
+
<tr><td>Champ d'ID externe</td><td>externalIdField</td><td>string</td><td>Non</td><td><code>""</code></td><td></td></tr>
|
|
110
|
+
<tr><td></td><td>assignmentRuleId</td><td>string</td><td>Non</td><td><code>""</code></td><td></td></tr>
|
|
111
|
+
<tr><td></td><td>columnDelimiter</td><td></td><td>Oui</td><td><code>"COMMA"</code></td><td></td></tr>
|
|
112
|
+
<tr><td></td><td>lineEnding</td><td></td><td>Oui</td><td><code>"LF"</code></td><td></td></tr>
|
|
113
|
+
<tr><td></td><td>pollInterval</td><td>number [min: 1000]</td><td>Oui</td><td><code>5000</code></td><td></td></tr>
|
|
114
|
+
<tr><td></td><td>pollTimeout</td><td>number [min: 5000]</td><td>Oui</td><td><code>60000</code></td><td></td></tr>
|
|
115
|
+
<tr><td></td><td>emitJobCreated</td><td>boolean</td><td>Oui</td><td><code>false</code></td><td></td></tr>
|
|
116
|
+
<tr><td></td><td>outputs</td><td>number</td><td>Oui</td><td><code>2</code></td><td></td></tr>
|
|
117
|
+
</tbody>
|
|
118
|
+
</table>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
<h3>Entrée</h3>
|
|
122
|
+
<div style="overflow-x:auto">
|
|
123
|
+
<table width="100%" style="min-width:500px">
|
|
124
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th style="width:35%">Description</th></tr></thead>
|
|
125
|
+
<tbody>
|
|
126
|
+
<tr><td>Tableau d'enregistrements ou requête SOQL</td><td>payload</td><td></td><td>Oui</td><td></td></tr>
|
|
127
|
+
</tbody>
|
|
128
|
+
</table>
|
|
129
|
+
</div>
|
|
130
|
+
</script>
|
|
131
|
+
<script type="text/html" data-help-name="salesforce-describe">
|
|
132
|
+
<p>Récupère les métadonnées d'un SObject Salesforce, y compris les champs, les relations et les types d'enregistrement.</p>
|
|
133
|
+
<h3>Propriétés</h3>
|
|
134
|
+
<div style="overflow-x:auto">
|
|
135
|
+
<table width="100%" style="min-width:500px">
|
|
136
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th>Par défaut</th><th style="width:35%">Description</th></tr></thead>
|
|
137
|
+
<tbody>
|
|
138
|
+
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Oui</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
139
|
+
<tr><td>Type de SObject</td><td>sObjectType</td><td>TypedInput</td><td>Oui</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>Entrée</h3>
|
|
145
|
+
<div style="overflow-x:auto">
|
|
146
|
+
<table width="100%" style="min-width:500px">
|
|
147
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th style="width:35%">Description</th></tr></thead>
|
|
148
|
+
<tbody>
|
|
149
|
+
<tr><td>Charge utile d'entrée</td><td>payload</td><td></td><td>Oui</td><td></td></tr>
|
|
150
|
+
</tbody>
|
|
151
|
+
</table>
|
|
152
|
+
</div>
|
|
153
|
+
|
|
154
|
+
<h3>Sortie</h3>
|
|
155
|
+
<div style="overflow-x:auto">
|
|
156
|
+
<table width="100%" style="min-width:500px">
|
|
157
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th style="width:35%">Description</th></tr></thead>
|
|
158
|
+
<tbody>
|
|
159
|
+
<tr><td>Métadonnées de description du SObject</td><td>payload</td><td>object</td><td>Oui</td><td></td></tr>
|
|
160
|
+
</tbody>
|
|
161
|
+
</table>
|
|
162
|
+
</div>
|
|
163
|
+
</script>
|
|
164
|
+
<script type="text/html" data-help-name="salesforce-streaming">
|
|
165
|
+
<p>S'abonne aux événements de plateforme et aux événements de capture de changement de données Salesforce via l'API Pub/Sub (gRPC).</p>
|
|
166
|
+
<h3>Propriétés</h3>
|
|
167
|
+
<div style="overflow-x:auto">
|
|
168
|
+
<table width="100%" style="min-width:500px">
|
|
169
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th>Par défaut</th><th style="width:35%">Description</th></tr></thead>
|
|
170
|
+
<tbody>
|
|
171
|
+
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Oui</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
172
|
+
<tr><td>Canal</td><td>channelName</td><td>string</td><td>Oui</td><td><code>""</code></td><td></td></tr>
|
|
173
|
+
<tr><td>S'abonner depuis</td><td>subscribeType</td><td></td><td>Oui</td><td><code>"LATEST"</code></td><td></td></tr>
|
|
174
|
+
<tr><td>ID de relecture</td><td>replayId</td><td>string</td><td>Non</td><td><code>""</code></td><td></td></tr>
|
|
175
|
+
<tr><td>Taille du lot</td><td>numRequested</td><td>number [min: 1, max: 100]</td><td>Oui</td><td><code>100</code></td><td></td></tr>
|
|
176
|
+
</tbody>
|
|
177
|
+
</table>
|
|
178
|
+
</div>
|
|
179
|
+
|
|
180
|
+
<h3>Sortie</h3>
|
|
181
|
+
<div style="overflow-x:auto">
|
|
182
|
+
<table width="100%" style="min-width:500px">
|
|
183
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th style="width:35%">Description</th></tr></thead>
|
|
184
|
+
<tbody>
|
|
185
|
+
<tr><td>Charge utile de l'événement</td><td>payload</td><td></td><td>Oui</td><td></td></tr>
|
|
186
|
+
<tr><td>ID de relecture de l'événement</td><td>replayId</td><td></td><td>Oui</td><td></td></tr>
|
|
187
|
+
<tr><td>Nom du canal</td><td>channel</td><td>string</td><td>Oui</td><td></td></tr>
|
|
188
|
+
<tr><td>Nom du sujet</td><td>topic</td><td>string</td><td>Oui</td><td></td></tr>
|
|
189
|
+
</tbody>
|
|
190
|
+
</table>
|
|
191
|
+
</div>
|
|
192
|
+
</script>
|
|
193
|
+
<script type="text/html" data-help-name="salesforce-apex">
|
|
194
|
+
<p>Invoque un point de terminaison REST Apex de Salesforce.</p>
|
|
195
|
+
<h3>Propriétés</h3>
|
|
196
|
+
<div style="overflow-x:auto">
|
|
197
|
+
<table width="100%" style="min-width:500px">
|
|
198
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th>Par défaut</th><th style="width:35%">Description</th></tr></thead>
|
|
199
|
+
<tbody>
|
|
200
|
+
<tr><td>Connection</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>Oui</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
201
|
+
<tr><td>Méthode</td><td>method</td><td></td><td>Oui</td><td><code>"POST"</code></td><td></td></tr>
|
|
202
|
+
<tr><td>Chemin</td><td>path</td><td>TypedInput</td><td>Oui</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>Entrée</h3>
|
|
208
|
+
<div style="overflow-x:auto">
|
|
209
|
+
<table width="100%" style="min-width:500px">
|
|
210
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th style="width:35%">Description</th></tr></thead>
|
|
211
|
+
<tbody>
|
|
212
|
+
<tr><td>Corps de la requête</td><td>payload</td><td></td><td>Oui</td><td></td></tr>
|
|
213
|
+
</tbody>
|
|
214
|
+
</table>
|
|
215
|
+
</div>
|
|
216
|
+
|
|
217
|
+
<h3>Sortie</h3>
|
|
218
|
+
<div style="overflow-x:auto">
|
|
219
|
+
<table width="100%" style="min-width:500px">
|
|
220
|
+
<thead><tr><th>Libellé</th><th>Propriété</th><th>Type</th><th>Requis</th><th style="width:35%">Description</th></tr></thead>
|
|
221
|
+
<tbody>
|
|
222
|
+
<tr><td>Réponse Apex</td><td>payload</td><td></td><td>Oui</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": "Invoque un point de terminaison REST Apex de Salesforce.",
|
|
6
|
+
"inputLabels": "Requête",
|
|
7
|
+
"outputLabels": [
|
|
8
|
+
"Réponse"
|
|
9
|
+
],
|
|
10
|
+
"configs": {
|
|
11
|
+
"connection": "Connection",
|
|
12
|
+
"method": "Méthode",
|
|
13
|
+
"path": "Chemin"
|
|
14
|
+
},
|
|
15
|
+
"input": {
|
|
16
|
+
"payload": "Corps de la requête"
|
|
17
|
+
},
|
|
18
|
+
"outputs": [
|
|
19
|
+
{
|
|
20
|
+
"payload": "Réponse Apex"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"salesforce-bulk": {
|
|
25
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
26
|
+
"label": "Bulk",
|
|
27
|
+
"description": "Effectue des opérations en masse à l'aide de l'API Bulk 2.0 de Salesforce pour les grands volumes de données.",
|
|
28
|
+
"inputLabels": "Enregistrements ou requête",
|
|
29
|
+
"outputLabels": [
|
|
30
|
+
"Enregistrement",
|
|
31
|
+
"Job Terminé"
|
|
32
|
+
],
|
|
33
|
+
"configs": {
|
|
34
|
+
"connection": "Connection",
|
|
35
|
+
"operation": "Opération",
|
|
36
|
+
"sObjectType": "Type de SObject",
|
|
37
|
+
"externalIdField": "Champ d'ID externe"
|
|
38
|
+
},
|
|
39
|
+
"input": {
|
|
40
|
+
"payload": "Tableau d'enregistrements ou requête SOQL"
|
|
41
|
+
},
|
|
42
|
+
"outputs": [
|
|
43
|
+
{
|
|
44
|
+
"payload": "Résultats de l'opération en masse"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"salesforce-connection": {
|
|
49
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
50
|
+
"label": "Connection",
|
|
51
|
+
"description": "Gère une connexion à une organisation Salesforce en utilisant OAuth 2.0 avec PKCE. Fournit l'authentification et la gestion des jetons pour les autres nœuds Salesforce.",
|
|
52
|
+
"configs": {
|
|
53
|
+
"loginUrl": "URL de connexion",
|
|
54
|
+
"clientId": "ID client",
|
|
55
|
+
"apiVersion": "Version de l'API",
|
|
56
|
+
"callbackUrl": "URL de rappel"
|
|
57
|
+
},
|
|
58
|
+
"credentials": {
|
|
59
|
+
"accessToken": "Jeton d'accès",
|
|
60
|
+
"refreshToken": "Jeton de rafraîchissement",
|
|
61
|
+
"instanceUrl": "URL de l'instance"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"salesforce-describe": {
|
|
65
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
66
|
+
"label": "Describe",
|
|
67
|
+
"description": "Récupère les métadonnées d'un SObject Salesforce, y compris les champs, les relations et les types d'enregistrement.",
|
|
68
|
+
"inputLabels": "Nom du SObject",
|
|
69
|
+
"outputLabels": [
|
|
70
|
+
"Métadonnées du SObject"
|
|
71
|
+
],
|
|
72
|
+
"configs": {
|
|
73
|
+
"connection": "Connection",
|
|
74
|
+
"sObjectType": "Type de SObject"
|
|
75
|
+
},
|
|
76
|
+
"input": {
|
|
77
|
+
"payload": "Charge utile d'entrée"
|
|
78
|
+
},
|
|
79
|
+
"outputs": [
|
|
80
|
+
{
|
|
81
|
+
"payload": "Métadonnées de description du SObject"
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
"salesforce-dml": {
|
|
86
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
87
|
+
"label": "DML",
|
|
88
|
+
"description": "Effectue des opérations de création, lecture, mise à jour, suppression ou upsert sur les SObjects Salesforce.",
|
|
89
|
+
"inputLabels": "Données de l'enregistrement",
|
|
90
|
+
"outputLabels": [
|
|
91
|
+
"Résultat de l'opération"
|
|
92
|
+
],
|
|
93
|
+
"configs": {
|
|
94
|
+
"connection": "Connection",
|
|
95
|
+
"operation": "Opération",
|
|
96
|
+
"sObjectType": "Type de SObject",
|
|
97
|
+
"externalIdField": "Champ d'ID externe"
|
|
98
|
+
},
|
|
99
|
+
"input": {
|
|
100
|
+
"payload": "Données de l'enregistrement ou ID(s)"
|
|
101
|
+
},
|
|
102
|
+
"outputs": [
|
|
103
|
+
{
|
|
104
|
+
"payload": "Résultat de l'opération"
|
|
105
|
+
}
|
|
106
|
+
]
|
|
107
|
+
},
|
|
108
|
+
"salesforce-soql": {
|
|
109
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
110
|
+
"label": "SOQL",
|
|
111
|
+
"description": "Exécute une requête SOQL sur Salesforce et renvoie les enregistrements correspondants.",
|
|
112
|
+
"inputLabels": "Entrée de requête",
|
|
113
|
+
"outputLabels": [
|
|
114
|
+
"Résultats de la requête"
|
|
115
|
+
],
|
|
116
|
+
"configs": {
|
|
117
|
+
"connection": "Connection",
|
|
118
|
+
"query": "Requête"
|
|
119
|
+
},
|
|
120
|
+
"input": {
|
|
121
|
+
"payload": "Charge utile d'entrée"
|
|
122
|
+
},
|
|
123
|
+
"outputs": [
|
|
124
|
+
{
|
|
125
|
+
"payload": "Enregistrements du résultat de la requête",
|
|
126
|
+
"totalSize": "Total des enregistrements correspondants",
|
|
127
|
+
"done": "Si tous les enregistrements ont été récupérés"
|
|
128
|
+
}
|
|
129
|
+
]
|
|
130
|
+
},
|
|
131
|
+
"salesforce-streaming": {
|
|
132
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
133
|
+
"label": "Streaming",
|
|
134
|
+
"description": "S'abonne aux événements de plateforme et aux événements de capture de changement de données Salesforce via l'API Pub/Sub (gRPC).",
|
|
135
|
+
"outputLabels": [
|
|
136
|
+
"Événement"
|
|
137
|
+
],
|
|
138
|
+
"configs": {
|
|
139
|
+
"connection": "Connection",
|
|
140
|
+
"channelName": "Canal",
|
|
141
|
+
"subscribeType": "S'abonner depuis",
|
|
142
|
+
"replayId": "ID de relecture",
|
|
143
|
+
"numRequested": "Taille du lot"
|
|
144
|
+
},
|
|
145
|
+
"outputs": [
|
|
146
|
+
{
|
|
147
|
+
"payload": "Charge utile de l'événement",
|
|
148
|
+
"replayId": "ID de relecture de l'événement",
|
|
149
|
+
"channel": "Nom du canal",
|
|
150
|
+
"topic": "Nom du sujet"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
}
|