@bonsae/node-red-salesforce 0.4.1 → 0.6.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 +82 -4
- package/icons/salesforce-apex-code.png +0 -0
- package/icons/salesforce-apex-invocation.png +0 -0
- package/index.d.ts +89 -39
- package/index.html +2 -1
- package/index.mjs +902 -403
- package/index.mjs.map +1 -1
- package/locales/de/index.html +68 -15
- package/locales/de/index.json +54 -12
- package/locales/en-US/index.html +69 -16
- package/locales/en-US/index.json +57 -16
- package/locales/es-ES/index.html +75 -22
- package/locales/es-ES/index.json +61 -19
- package/locales/fr/index.html +75 -22
- package/locales/fr/index.json +63 -21
- package/locales/ja/index.html +74 -21
- package/locales/ja/index.json +60 -18
- package/locales/ko/index.html +74 -21
- package/locales/ko/index.json +60 -18
- package/locales/pt-BR/index.html +70 -17
- package/locales/pt-BR/index.json +57 -15
- package/locales/ru/index.html +74 -21
- package/locales/ru/index.json +60 -18
- package/locales/zh-CN/index.html +74 -21
- package/locales/zh-CN/index.json +60 -18
- package/locales/zh-TW/index.html +74 -21
- package/locales/zh-TW/index.json +60 -18
- package/package.json +2 -2
- package/resources/index.C1dzx4s2.js +49 -0
- package/resources/index.zXteTlSH.css +48 -0
- package/resources/index.FDBQSjT7.js +0 -1
package/locales/fr/index.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"salesforce-apex": {
|
|
2
|
+
"salesforce-apex-code": {
|
|
3
3
|
"configs": {
|
|
4
4
|
"name": "Nom",
|
|
5
|
-
"connection": "
|
|
6
|
-
"
|
|
7
|
-
"
|
|
5
|
+
"connection": "Connexion",
|
|
6
|
+
"apexType": "Type",
|
|
7
|
+
"className": "Nom de Classe",
|
|
8
|
+
"urlMapping": "Mappage d'URL",
|
|
9
|
+
"httpMethod": "Méthode HTTP",
|
|
10
|
+
"code": "Code Apex"
|
|
8
11
|
},
|
|
9
12
|
"toggles": {
|
|
10
13
|
"validateInput": "Valider l'entrée",
|
|
@@ -14,28 +17,66 @@
|
|
|
14
17
|
"statusPort": "Port de statut"
|
|
15
18
|
},
|
|
16
19
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
17
|
-
"label": "Apex",
|
|
18
|
-
"description": "
|
|
19
|
-
"inputLabels": "
|
|
20
|
+
"label": "Apex Code",
|
|
21
|
+
"description": "Deploie et execute du code Apex personnalise sur une org Salesforce. Prend en charge les types Invocable et REST.",
|
|
22
|
+
"inputLabels": "Entree",
|
|
20
23
|
"outputLabels": [
|
|
21
|
-
"
|
|
24
|
+
"Reponse"
|
|
22
25
|
],
|
|
23
26
|
"input": {
|
|
24
|
-
"payload": "
|
|
27
|
+
"payload": "Donnees d'entree transmises a la methode Apex sous forme de chaine JSON"
|
|
25
28
|
},
|
|
26
29
|
"outputs": [
|
|
27
30
|
{
|
|
28
|
-
"payload": "
|
|
31
|
+
"payload": "Reponse de l'execution Apex"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"salesforce-apex-invocation": {
|
|
36
|
+
"configs": {
|
|
37
|
+
"name": "Nom",
|
|
38
|
+
"connection": "Connexion",
|
|
39
|
+
"apexType": "Type",
|
|
40
|
+
"method": "Methode",
|
|
41
|
+
"path": "Endpoint",
|
|
42
|
+
"actionName": "Action"
|
|
43
|
+
},
|
|
44
|
+
"toggles": {
|
|
45
|
+
"validateInput": "Valider l'entrée",
|
|
46
|
+
"validateOutput": "Valider la sortie",
|
|
47
|
+
"errorPort": "Port d'erreur",
|
|
48
|
+
"completePort": "Port de complétion",
|
|
49
|
+
"statusPort": "Port de statut"
|
|
50
|
+
},
|
|
51
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
52
|
+
"label": "Apex Invocation",
|
|
53
|
+
"description": "Appelle des endpoints REST Apex existants ou des Invocable Actions sur une org Salesforce.",
|
|
54
|
+
"inputLabels": "Requete",
|
|
55
|
+
"outputLabels": [
|
|
56
|
+
"Reponse"
|
|
57
|
+
],
|
|
58
|
+
"input": {
|
|
59
|
+
"payload": "Corps de la requete pour POST/PUT/PATCH, ou ignore pour GET/DELETE"
|
|
60
|
+
},
|
|
61
|
+
"outputs": [
|
|
62
|
+
{
|
|
63
|
+
"payload": "Reponse de l'endpoint Apex"
|
|
29
64
|
}
|
|
30
65
|
]
|
|
31
66
|
},
|
|
32
67
|
"salesforce-bulk": {
|
|
33
68
|
"configs": {
|
|
34
69
|
"name": "Nom",
|
|
35
|
-
"connection": "
|
|
70
|
+
"connection": "Connexion",
|
|
36
71
|
"operation": "Opération",
|
|
37
72
|
"sObjectType": "Type de SObject",
|
|
38
|
-
"
|
|
73
|
+
"query": "Requête SOQL",
|
|
74
|
+
"externalIdField": "Champ d'ID externe",
|
|
75
|
+
"assignmentRuleId": "ID de règle d'attribution",
|
|
76
|
+
"columnDelimiter": "Délimiteur de colonne",
|
|
77
|
+
"lineEnding": "Fin de ligne",
|
|
78
|
+
"pollInterval": "Intervalle d'interrogation (ms)",
|
|
79
|
+
"pollTimeout": "Délai d'interrogation (ms)"
|
|
39
80
|
},
|
|
40
81
|
"toggles": {
|
|
41
82
|
"validateInput": "Valider l'entrée",
|
|
@@ -53,11 +94,11 @@
|
|
|
53
94
|
"Job Terminé"
|
|
54
95
|
],
|
|
55
96
|
"input": {
|
|
56
|
-
"payload": "Tableau d'enregistrements ou requête
|
|
97
|
+
"payload": "Tableau d'enregistrements, chaîne CSV, flux lisible (ingestion) ou déclencheur (requête)"
|
|
57
98
|
},
|
|
58
99
|
"outputs": [
|
|
59
100
|
{
|
|
60
|
-
"payload": "
|
|
101
|
+
"payload": "Requête : enregistrement individuel. Ingestion : { successfulResults, failedResults, unprocessedRecords }"
|
|
61
102
|
}
|
|
62
103
|
]
|
|
63
104
|
},
|
|
@@ -88,7 +129,7 @@
|
|
|
88
129
|
"salesforce-describe": {
|
|
89
130
|
"configs": {
|
|
90
131
|
"name": "Nom",
|
|
91
|
-
"connection": "
|
|
132
|
+
"connection": "Connexion",
|
|
92
133
|
"sObjectType": "Type de SObject"
|
|
93
134
|
},
|
|
94
135
|
"toggles": {
|
|
@@ -106,21 +147,22 @@
|
|
|
106
147
|
"Métadonnées du SObject"
|
|
107
148
|
],
|
|
108
149
|
"input": {
|
|
109
|
-
"payload": "
|
|
150
|
+
"payload": "Nom API du SObject (remplace la configuration si fourni)"
|
|
110
151
|
},
|
|
111
152
|
"outputs": [
|
|
112
153
|
{
|
|
113
|
-
"payload": "
|
|
154
|
+
"payload": "Resultat de description du SObject avec champs, relations enfants et informations de type d'enregistrement"
|
|
114
155
|
}
|
|
115
156
|
]
|
|
116
157
|
},
|
|
117
158
|
"salesforce-dml": {
|
|
118
159
|
"configs": {
|
|
119
160
|
"name": "Nom",
|
|
120
|
-
"connection": "
|
|
161
|
+
"connection": "Connexion",
|
|
121
162
|
"operation": "Opération",
|
|
122
163
|
"sObjectType": "Type de SObject",
|
|
123
|
-
"externalIdField": "Champ d'ID externe"
|
|
164
|
+
"externalIdField": "Champ d'ID externe",
|
|
165
|
+
"record": "Enregistrement"
|
|
124
166
|
},
|
|
125
167
|
"toggles": {
|
|
126
168
|
"validateInput": "Valider l'entrée",
|
|
@@ -148,7 +190,7 @@
|
|
|
148
190
|
"salesforce-soql": {
|
|
149
191
|
"configs": {
|
|
150
192
|
"name": "Nom",
|
|
151
|
-
"connection": "
|
|
193
|
+
"connection": "Connexion",
|
|
152
194
|
"query": "Requête"
|
|
153
195
|
},
|
|
154
196
|
"toggles": {
|
|
@@ -179,7 +221,7 @@
|
|
|
179
221
|
"salesforce-streaming": {
|
|
180
222
|
"configs": {
|
|
181
223
|
"name": "Nom",
|
|
182
|
-
"connection": "
|
|
224
|
+
"connection": "Connexion",
|
|
183
225
|
"channelName": "Canal",
|
|
184
226
|
"subscribeType": "S'abonner depuis",
|
|
185
227
|
"replayId": "ID de relecture",
|
package/locales/ja/index.html
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<table width="100%" style="min-width:500px">
|
|
33
33
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th>デフォルト</th><th style="width:35%">説明</th></tr></thead>
|
|
34
34
|
<tbody>
|
|
35
|
-
<tr><td
|
|
35
|
+
<tr><td>接続</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
37
|
<tr><td></td><td>errorPort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
38
38
|
<tr><td></td><td>completePort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
@@ -70,10 +70,10 @@
|
|
|
70
70
|
<table width="100%" style="min-width:500px">
|
|
71
71
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th>デフォルト</th><th style="width:35%">説明</th></tr></thead>
|
|
72
72
|
<tbody>
|
|
73
|
-
<tr><td
|
|
73
|
+
<tr><td>接続</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>はい</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
74
74
|
<tr><td>操作</td><td>operation</td><td></td><td>はい</td><td><code>"create"</code></td><td></td></tr>
|
|
75
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>
|
|
76
|
-
<tr><td
|
|
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>
|
|
77
77
|
<tr><td>外部IDフィールド</td><td>externalIdField</td><td>string</td><td>いいえ</td><td><code>""</code></td><td></td></tr>
|
|
78
78
|
<tr><td></td><td>errorPort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
79
79
|
<tr><td></td><td>completePort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
@@ -109,17 +109,18 @@
|
|
|
109
109
|
<table width="100%" style="min-width:500px">
|
|
110
110
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th>デフォルト</th><th style="width:35%">説明</th></tr></thead>
|
|
111
111
|
<tbody>
|
|
112
|
-
<tr><td
|
|
112
|
+
<tr><td>接続</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>はい</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
113
113
|
<tr><td>操作</td><td>operation</td><td></td><td>はい</td><td><code>"insert"</code></td><td></td></tr>
|
|
114
114
|
<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>
|
|
115
|
+
<tr><td>SOQLクエリ</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>
|
|
115
116
|
<tr><td>外部IDフィールド</td><td>externalIdField</td><td>string</td><td>いいえ</td><td><code>""</code></td><td></td></tr>
|
|
116
|
-
<tr><td
|
|
117
|
-
<tr><td
|
|
118
|
-
<tr><td
|
|
119
|
-
<tr><td
|
|
120
|
-
<tr><td
|
|
117
|
+
<tr><td>割り当てルールID</td><td>assignmentRuleId</td><td>string</td><td>いいえ</td><td><code>""</code></td><td></td></tr>
|
|
118
|
+
<tr><td>列区切り文字</td><td>columnDelimiter</td><td></td><td>はい</td><td><code>"COMMA"</code></td><td></td></tr>
|
|
119
|
+
<tr><td>行末</td><td>lineEnding</td><td></td><td>はい</td><td><code>"LF"</code></td><td></td></tr>
|
|
120
|
+
<tr><td>ポーリング間隔 (ms)</td><td>pollInterval</td><td>number [min: 1000]</td><td>はい</td><td><code>5000</code></td><td></td></tr>
|
|
121
|
+
<tr><td>ポーリングタイムアウト (ms)</td><td>pollTimeout</td><td>number [min: 5000]</td><td>はい</td><td><code>60000</code></td><td></td></tr>
|
|
121
122
|
<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>
|
|
123
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
123
124
|
<tr><td></td><td>statusPort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
124
125
|
</tbody>
|
|
125
126
|
</table>
|
|
@@ -130,7 +131,17 @@
|
|
|
130
131
|
<table width="100%" style="min-width:500px">
|
|
131
132
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th style="width:35%">説明</th></tr></thead>
|
|
132
133
|
<tbody>
|
|
133
|
-
<tr><td
|
|
134
|
+
<tr><td>レコード配列、CSV文字列、読み取りストリーム(取り込み)またはトリガー(クエリ)</td><td>payload</td><td></td><td>はい</td><td>Records array, CSV string, readable stream (ingest) or SOQL string (query)</td></tr>
|
|
135
|
+
</tbody>
|
|
136
|
+
</table>
|
|
137
|
+
</div>
|
|
138
|
+
|
|
139
|
+
<h3>出力</h3>
|
|
140
|
+
<div style="overflow-x:auto">
|
|
141
|
+
<table width="100%" style="min-width:500px">
|
|
142
|
+
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th style="width:35%">説明</th></tr></thead>
|
|
143
|
+
<tbody>
|
|
144
|
+
<tr><td>クエリ: 個別レコード。取り込み: { successfulResults, failedResults, unprocessedRecords }</td><td>payload</td><td></td><td>はい</td><td>Query: individual record. Ingest: { successfulResults, failedResults, unprocessedRecords }</td></tr>
|
|
134
145
|
</tbody>
|
|
135
146
|
</table>
|
|
136
147
|
</div>
|
|
@@ -142,7 +153,7 @@
|
|
|
142
153
|
<table width="100%" style="min-width:500px">
|
|
143
154
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th>デフォルト</th><th style="width:35%">説明</th></tr></thead>
|
|
144
155
|
<tbody>
|
|
145
|
-
<tr><td
|
|
156
|
+
<tr><td>接続</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>はい</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
146
157
|
<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>
|
|
147
158
|
<tr><td></td><td>errorPort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
148
159
|
<tr><td></td><td>completePort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
@@ -156,7 +167,7 @@
|
|
|
156
167
|
<table width="100%" style="min-width:500px">
|
|
157
168
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th style="width:35%">説明</th></tr></thead>
|
|
158
169
|
<tbody>
|
|
159
|
-
<tr><td
|
|
170
|
+
<tr><td>SObject API名(指定された場合、設定を上書きします)</td><td>payload</td><td></td><td>はい</td><td></td></tr>
|
|
160
171
|
</tbody>
|
|
161
172
|
</table>
|
|
162
173
|
</div>
|
|
@@ -166,7 +177,7 @@
|
|
|
166
177
|
<table width="100%" style="min-width:500px">
|
|
167
178
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th style="width:35%">説明</th></tr></thead>
|
|
168
179
|
<tbody>
|
|
169
|
-
<tr><td
|
|
180
|
+
<tr><td>フィールド、子リレーション、レコードタイプ情報を含むSObject記述結果</td><td>payload</td><td>object</td><td>はい</td><td></td></tr>
|
|
170
181
|
</tbody>
|
|
171
182
|
</table>
|
|
172
183
|
</div>
|
|
@@ -178,7 +189,7 @@
|
|
|
178
189
|
<table width="100%" style="min-width:500px">
|
|
179
190
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th>デフォルト</th><th style="width:35%">説明</th></tr></thead>
|
|
180
191
|
<tbody>
|
|
181
|
-
<tr><td
|
|
192
|
+
<tr><td>接続</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>はい</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
182
193
|
<tr><td>チャネル</td><td>channelName</td><td>string</td><td>はい</td><td><code>""</code></td><td></td></tr>
|
|
183
194
|
<tr><td>サブスクライブ開始点</td><td>subscribeType</td><td></td><td>はい</td><td><code>"LATEST"</code></td><td></td></tr>
|
|
184
195
|
<tr><td>リプレイID</td><td>replayId</td><td>string</td><td>いいえ</td><td><code>""</code></td><td></td></tr>
|
|
@@ -203,16 +214,58 @@
|
|
|
203
214
|
</table>
|
|
204
215
|
</div>
|
|
205
216
|
</script>
|
|
206
|
-
<script type="text/html" data-help-name="salesforce-apex">
|
|
207
|
-
<p>Salesforce
|
|
217
|
+
<script type="text/html" data-help-name="salesforce-apex-invocation">
|
|
218
|
+
<p>Salesforce組織の既存のApex RESTエンドポイントまたはInvocable Actionを呼び出します。</p>
|
|
208
219
|
<h3>プロパティ</h3>
|
|
209
220
|
<div style="overflow-x:auto">
|
|
210
221
|
<table width="100%" style="min-width:500px">
|
|
211
222
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th>デフォルト</th><th style="width:35%">説明</th></tr></thead>
|
|
212
223
|
<tbody>
|
|
213
|
-
<tr><td
|
|
224
|
+
<tr><td>接続</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>はい</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
225
|
+
<tr><td>タイプ</td><td>apexType</td><td></td><td>はい</td><td><code>"rest"</code></td><td></td></tr>
|
|
214
226
|
<tr><td>メソッド</td><td>method</td><td></td><td>はい</td><td><code>"POST"</code></td><td></td></tr>
|
|
215
|
-
<tr><td
|
|
227
|
+
<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>
|
|
228
|
+
<tr><td>アクション</td><td>actionName</td><td>string</td><td>はい</td><td><code>""</code></td><td></td></tr>
|
|
229
|
+
<tr><td></td><td>errorPort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
230
|
+
<tr><td></td><td>completePort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
231
|
+
<tr><td></td><td>statusPort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
232
|
+
</tbody>
|
|
233
|
+
</table>
|
|
234
|
+
</div>
|
|
235
|
+
|
|
236
|
+
<h3>入力</h3>
|
|
237
|
+
<div style="overflow-x:auto">
|
|
238
|
+
<table width="100%" style="min-width:500px">
|
|
239
|
+
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th style="width:35%">説明</th></tr></thead>
|
|
240
|
+
<tbody>
|
|
241
|
+
<tr><td>POST/PUT/PATCHのリクエストボディ、GET/DELETEでは無視</td><td>payload</td><td></td><td>はい</td><td></td></tr>
|
|
242
|
+
</tbody>
|
|
243
|
+
</table>
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
<h3>出力</h3>
|
|
247
|
+
<div style="overflow-x:auto">
|
|
248
|
+
<table width="100%" style="min-width:500px">
|
|
249
|
+
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th style="width:35%">説明</th></tr></thead>
|
|
250
|
+
<tbody>
|
|
251
|
+
<tr><td>Apexエンドポイントレスポンス</td><td>payload</td><td></td><td>はい</td><td></td></tr>
|
|
252
|
+
</tbody>
|
|
253
|
+
</table>
|
|
254
|
+
</div>
|
|
255
|
+
</script>
|
|
256
|
+
<script type="text/html" data-help-name="salesforce-apex-code">
|
|
257
|
+
<p>Salesforce組織にカスタムApexコードをデプロイして実行します。InvocableおよびRESTタイプをサポートします。</p>
|
|
258
|
+
<h3>プロパティ</h3>
|
|
259
|
+
<div style="overflow-x:auto">
|
|
260
|
+
<table width="100%" style="min-width:500px">
|
|
261
|
+
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th>デフォルト</th><th style="width:35%">説明</th></tr></thead>
|
|
262
|
+
<tbody>
|
|
263
|
+
<tr><td>接続</td><td>connection</td><td>NodeRef → salesforce-connection [format: node-id]</td><td>はい</td><td></td><td>Reference to salesforce-connection</td></tr>
|
|
264
|
+
<tr><td>タイプ</td><td>apexType</td><td></td><td>はい</td><td><code>"invocable"</code></td><td></td></tr>
|
|
265
|
+
<tr><td>クラス名</td><td>className</td><td>string</td><td>はい</td><td><code>""</code></td><td></td></tr>
|
|
266
|
+
<tr><td>URLマッピング</td><td>urlMapping</td><td>string</td><td>はい</td><td><code>""</code></td><td></td></tr>
|
|
267
|
+
<tr><td>HTTPメソッド</td><td>httpMethod</td><td></td><td>はい</td><td><code>"HttpPost"</code></td><td></td></tr>
|
|
268
|
+
<tr><td>Apexコード</td><td>code</td><td>string</td><td>はい</td><td><code>"private static Object run(String payload) {\n // Your code here\n return payload;\n }"</code></td><td></td></tr>
|
|
216
269
|
<tr><td></td><td>errorPort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
217
270
|
<tr><td></td><td>completePort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
218
271
|
<tr><td></td><td>statusPort</td><td>boolean</td><td>はい</td><td><code>false</code></td><td></td></tr>
|
|
@@ -225,7 +278,7 @@
|
|
|
225
278
|
<table width="100%" style="min-width:500px">
|
|
226
279
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th style="width:35%">説明</th></tr></thead>
|
|
227
280
|
<tbody>
|
|
228
|
-
<tr><td
|
|
281
|
+
<tr><td>JSON文字列としてApexメソッドに渡される入力データ</td><td>payload</td><td></td><td>はい</td><td></td></tr>
|
|
229
282
|
</tbody>
|
|
230
283
|
</table>
|
|
231
284
|
</div>
|
|
@@ -235,7 +288,7 @@
|
|
|
235
288
|
<table width="100%" style="min-width:500px">
|
|
236
289
|
<thead><tr><th>ラベル</th><th>プロパティ</th><th>型</th><th>必須</th><th style="width:35%">説明</th></tr></thead>
|
|
237
290
|
<tbody>
|
|
238
|
-
<tr><td>Apex
|
|
291
|
+
<tr><td>Apex実行レスポンス</td><td>payload</td><td></td><td>はい</td><td></td></tr>
|
|
239
292
|
</tbody>
|
|
240
293
|
</table>
|
|
241
294
|
</div>
|
package/locales/ja/index.json
CHANGED
|
@@ -1,10 +1,45 @@
|
|
|
1
1
|
{
|
|
2
|
-
"salesforce-apex": {
|
|
2
|
+
"salesforce-apex-code": {
|
|
3
3
|
"configs": {
|
|
4
4
|
"name": "名前",
|
|
5
|
-
"connection": "
|
|
5
|
+
"connection": "接続",
|
|
6
|
+
"apexType": "タイプ",
|
|
7
|
+
"className": "クラス名",
|
|
8
|
+
"urlMapping": "URLマッピング",
|
|
9
|
+
"httpMethod": "HTTPメソッド",
|
|
10
|
+
"code": "Apexコード"
|
|
11
|
+
},
|
|
12
|
+
"toggles": {
|
|
13
|
+
"validateInput": "入力検証",
|
|
14
|
+
"validateOutput": "出力検証",
|
|
15
|
+
"errorPort": "エラーポート",
|
|
16
|
+
"completePort": "完了ポート",
|
|
17
|
+
"statusPort": "ステータスポート"
|
|
18
|
+
},
|
|
19
|
+
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
20
|
+
"label": "Apex Code",
|
|
21
|
+
"description": "Salesforce組織にカスタムApexコードをデプロイして実行します。InvocableおよびRESTタイプをサポートします。",
|
|
22
|
+
"inputLabels": "入力",
|
|
23
|
+
"outputLabels": [
|
|
24
|
+
"レスポンス"
|
|
25
|
+
],
|
|
26
|
+
"input": {
|
|
27
|
+
"payload": "JSON文字列としてApexメソッドに渡される入力データ"
|
|
28
|
+
},
|
|
29
|
+
"outputs": [
|
|
30
|
+
{
|
|
31
|
+
"payload": "Apex実行レスポンス"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"salesforce-apex-invocation": {
|
|
36
|
+
"configs": {
|
|
37
|
+
"name": "名前",
|
|
38
|
+
"connection": "接続",
|
|
39
|
+
"apexType": "タイプ",
|
|
6
40
|
"method": "メソッド",
|
|
7
|
-
"path": "
|
|
41
|
+
"path": "エンドポイント",
|
|
42
|
+
"actionName": "アクション"
|
|
8
43
|
},
|
|
9
44
|
"toggles": {
|
|
10
45
|
"validateInput": "入力検証",
|
|
@@ -14,28 +49,34 @@
|
|
|
14
49
|
"statusPort": "ステータスポート"
|
|
15
50
|
},
|
|
16
51
|
"$schema": "https://unpkg.com/@bonsae/nrg/schemas/labels.schema.json",
|
|
17
|
-
"label": "Apex",
|
|
18
|
-
"description": "Salesforce
|
|
52
|
+
"label": "Apex Invocation",
|
|
53
|
+
"description": "Salesforce組織の既存のApex RESTエンドポイントまたはInvocable Actionを呼び出します。",
|
|
19
54
|
"inputLabels": "リクエスト",
|
|
20
55
|
"outputLabels": [
|
|
21
56
|
"レスポンス"
|
|
22
57
|
],
|
|
23
58
|
"input": {
|
|
24
|
-
"payload": "
|
|
59
|
+
"payload": "POST/PUT/PATCHのリクエストボディ、GET/DELETEでは無視"
|
|
25
60
|
},
|
|
26
61
|
"outputs": [
|
|
27
62
|
{
|
|
28
|
-
"payload": "Apex
|
|
63
|
+
"payload": "Apexエンドポイントレスポンス"
|
|
29
64
|
}
|
|
30
65
|
]
|
|
31
66
|
},
|
|
32
67
|
"salesforce-bulk": {
|
|
33
68
|
"configs": {
|
|
34
69
|
"name": "名前",
|
|
35
|
-
"connection": "
|
|
70
|
+
"connection": "接続",
|
|
36
71
|
"operation": "操作",
|
|
37
72
|
"sObjectType": "SObjectタイプ",
|
|
38
|
-
"
|
|
73
|
+
"query": "SOQLクエリ",
|
|
74
|
+
"externalIdField": "外部IDフィールド",
|
|
75
|
+
"assignmentRuleId": "割り当てルールID",
|
|
76
|
+
"columnDelimiter": "列区切り文字",
|
|
77
|
+
"lineEnding": "行末",
|
|
78
|
+
"pollInterval": "ポーリング間隔 (ms)",
|
|
79
|
+
"pollTimeout": "ポーリングタイムアウト (ms)"
|
|
39
80
|
},
|
|
40
81
|
"toggles": {
|
|
41
82
|
"validateInput": "入力検証",
|
|
@@ -53,11 +94,11 @@
|
|
|
53
94
|
"ジョブ完了"
|
|
54
95
|
],
|
|
55
96
|
"input": {
|
|
56
|
-
"payload": "
|
|
97
|
+
"payload": "レコード配列、CSV文字列、読み取りストリーム(取り込み)またはトリガー(クエリ)"
|
|
57
98
|
},
|
|
58
99
|
"outputs": [
|
|
59
100
|
{
|
|
60
|
-
"payload": "
|
|
101
|
+
"payload": "クエリ: 個別レコード。取り込み: { successfulResults, failedResults, unprocessedRecords }"
|
|
61
102
|
}
|
|
62
103
|
]
|
|
63
104
|
},
|
|
@@ -88,7 +129,7 @@
|
|
|
88
129
|
"salesforce-describe": {
|
|
89
130
|
"configs": {
|
|
90
131
|
"name": "名前",
|
|
91
|
-
"connection": "
|
|
132
|
+
"connection": "接続",
|
|
92
133
|
"sObjectType": "SObjectタイプ"
|
|
93
134
|
},
|
|
94
135
|
"toggles": {
|
|
@@ -106,21 +147,22 @@
|
|
|
106
147
|
"SObjectメタデータ"
|
|
107
148
|
],
|
|
108
149
|
"input": {
|
|
109
|
-
"payload": "
|
|
150
|
+
"payload": "SObject API名(指定された場合、設定を上書きします)"
|
|
110
151
|
},
|
|
111
152
|
"outputs": [
|
|
112
153
|
{
|
|
113
|
-
"payload": "SObject
|
|
154
|
+
"payload": "フィールド、子リレーション、レコードタイプ情報を含むSObject記述結果"
|
|
114
155
|
}
|
|
115
156
|
]
|
|
116
157
|
},
|
|
117
158
|
"salesforce-dml": {
|
|
118
159
|
"configs": {
|
|
119
160
|
"name": "名前",
|
|
120
|
-
"connection": "
|
|
161
|
+
"connection": "接続",
|
|
121
162
|
"operation": "操作",
|
|
122
163
|
"sObjectType": "SObjectタイプ",
|
|
123
|
-
"externalIdField": "外部IDフィールド"
|
|
164
|
+
"externalIdField": "外部IDフィールド",
|
|
165
|
+
"record": "レコード"
|
|
124
166
|
},
|
|
125
167
|
"toggles": {
|
|
126
168
|
"validateInput": "入力検証",
|
|
@@ -148,7 +190,7 @@
|
|
|
148
190
|
"salesforce-soql": {
|
|
149
191
|
"configs": {
|
|
150
192
|
"name": "名前",
|
|
151
|
-
"connection": "
|
|
193
|
+
"connection": "接続",
|
|
152
194
|
"query": "クエリ"
|
|
153
195
|
},
|
|
154
196
|
"toggles": {
|
|
@@ -179,7 +221,7 @@
|
|
|
179
221
|
"salesforce-streaming": {
|
|
180
222
|
"configs": {
|
|
181
223
|
"name": "名前",
|
|
182
|
-
"connection": "
|
|
224
|
+
"connection": "接続",
|
|
183
225
|
"channelName": "チャネル",
|
|
184
226
|
"subscribeType": "サブスクライブ開始点",
|
|
185
227
|
"replayId": "リプレイID",
|