@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/index.d.ts
CHANGED
|
@@ -5,17 +5,17 @@ import { IONode } from '@bonsae/nrg/server';
|
|
|
5
5
|
import { ModuleDefinition } from '@bonsae/nrg/server';
|
|
6
6
|
import { RED } from '@bonsae/nrg/server';
|
|
7
7
|
import { Schema } from '@bonsae/nrg/server';
|
|
8
|
-
import { TAny } from '@
|
|
9
|
-
import { TArray } from '@
|
|
10
|
-
import { TBoolean } from '@
|
|
11
|
-
import { TLiteral } from '@
|
|
8
|
+
import { TAny } from '@sinclair/typebox';
|
|
9
|
+
import { TArray } from '@sinclair/typebox';
|
|
10
|
+
import { TBoolean } from '@sinclair/typebox';
|
|
11
|
+
import { TLiteral } from '@sinclair/typebox';
|
|
12
12
|
import { TNodeRef } from '@bonsae/nrg/server';
|
|
13
|
-
import { TNumber } from '@
|
|
14
|
-
import { TObject } from '@
|
|
15
|
-
import { TOptional } from '@
|
|
16
|
-
import { TString } from '@
|
|
13
|
+
import { TNumber } from '@sinclair/typebox';
|
|
14
|
+
import { TObject } from '@sinclair/typebox';
|
|
15
|
+
import { TOptional } from '@sinclair/typebox';
|
|
16
|
+
import { TString } from '@sinclair/typebox';
|
|
17
17
|
import { TTypedInput } from '@bonsae/nrg/server';
|
|
18
|
-
import { TUnion } from '@
|
|
18
|
+
import { TUnion } from '@sinclair/typebox';
|
|
19
19
|
|
|
20
20
|
declare type Config = Infer<typeof SalesforceApexConfigSchema>;
|
|
21
21
|
|
|
@@ -48,13 +48,20 @@ declare type Input_5 = Infer<typeof SalesforceSoqlInputSchema>;
|
|
|
48
48
|
|
|
49
49
|
declare type Output = Infer<typeof SalesforceApexOutputsSchema>;
|
|
50
50
|
|
|
51
|
-
declare type Output_2 = Infer<typeof
|
|
51
|
+
declare type Output_2 = Infer<typeof outputsSchema>;
|
|
52
52
|
|
|
53
|
-
declare type Output_3 = Infer<typeof
|
|
53
|
+
declare type Output_3 = Infer<typeof SalesforceDescribeOutputsSchema>;
|
|
54
54
|
|
|
55
|
-
declare type Output_4 = Infer<typeof
|
|
55
|
+
declare type Output_4 = Infer<typeof SalesforceDmlOutputsSchema>;
|
|
56
56
|
|
|
57
|
-
declare type Output_5 = Infer<typeof
|
|
57
|
+
declare type Output_5 = Infer<typeof SalesforceSoqlOutputsSchema>;
|
|
58
|
+
|
|
59
|
+
declare type Output_6 = Infer<typeof SalesforceStreamingOutputsSchema>;
|
|
60
|
+
|
|
61
|
+
declare const outputsSchema: {
|
|
62
|
+
record: Schema<{}>;
|
|
63
|
+
jobCreated: Schema<{}>;
|
|
64
|
+
};
|
|
58
65
|
|
|
59
66
|
export declare class SalesforceApex extends IONode<Config, any, Input, Output> {
|
|
60
67
|
static readonly type = "salesforce-apex";
|
|
@@ -71,9 +78,9 @@ name: TString;
|
|
|
71
78
|
connection: TNodeRef<SalesforceConnection>;
|
|
72
79
|
method: TUnion<[TLiteral<"GET">, TLiteral<"POST">, TLiteral<"PUT">, TLiteral<"PATCH">, TLiteral<"DELETE">]>;
|
|
73
80
|
path: TTypedInput<string>;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
81
|
+
errorPort: TBoolean;
|
|
82
|
+
completePort: TBoolean;
|
|
83
|
+
statusPort: TBoolean;
|
|
77
84
|
}>;
|
|
78
85
|
|
|
79
86
|
export declare const SalesforceApexInputSchema: Schema< {
|
|
@@ -84,16 +91,18 @@ export declare const SalesforceApexOutputsSchema: Schema< {
|
|
|
84
91
|
payload: TAny;
|
|
85
92
|
}>;
|
|
86
93
|
|
|
87
|
-
export declare class SalesforceBulk extends IONode<Config_3> {
|
|
94
|
+
export declare class SalesforceBulk extends IONode<Config_3, any, Input_2, Output_2> {
|
|
88
95
|
static readonly type = "salesforce-bulk";
|
|
89
96
|
static readonly category = "salesforce";
|
|
90
97
|
static readonly color: `#${string}`;
|
|
91
98
|
static readonly configSchema: Schema;
|
|
92
99
|
static readonly inputSchema: Schema;
|
|
93
|
-
static readonly outputsSchema:
|
|
100
|
+
static readonly outputsSchema: {
|
|
101
|
+
record: Schema<{}>;
|
|
102
|
+
jobCreated: Schema<{}>;
|
|
103
|
+
};
|
|
94
104
|
private sendRecord;
|
|
95
105
|
private sendJobCreated;
|
|
96
|
-
private sendComplete;
|
|
97
106
|
input(msg: Input_2): Promise<void>;
|
|
98
107
|
}
|
|
99
108
|
|
|
@@ -108,11 +117,9 @@ columnDelimiter: TUnion<[TLiteral<"COMMA">, TLiteral<"TAB">, TLiteral<"PIPE">, T
|
|
|
108
117
|
lineEnding: TUnion<[TLiteral<"LF">, TLiteral<"CRLF">]>;
|
|
109
118
|
pollInterval: TNumber;
|
|
110
119
|
pollTimeout: TNumber;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
emitComplete: TBoolean;
|
|
115
|
-
emitStatus: TBoolean;
|
|
120
|
+
errorPort: TBoolean;
|
|
121
|
+
completePort: TBoolean;
|
|
122
|
+
statusPort: TBoolean;
|
|
116
123
|
}>;
|
|
117
124
|
|
|
118
125
|
export declare const SalesforceBulkInputSchema: Schema< {
|
|
@@ -145,7 +152,7 @@ refreshToken: TString;
|
|
|
145
152
|
instanceUrl: TString;
|
|
146
153
|
}>;
|
|
147
154
|
|
|
148
|
-
export declare class SalesforceDescribe extends IONode<Config_4, any, Input_3,
|
|
155
|
+
export declare class SalesforceDescribe extends IONode<Config_4, any, Input_3, Output_3> {
|
|
149
156
|
static readonly type = "salesforce-describe";
|
|
150
157
|
static readonly category = "salesforce";
|
|
151
158
|
static readonly color: `#${string}`;
|
|
@@ -159,9 +166,9 @@ export declare const SalesforceDescribeConfigSchema: Schema< {
|
|
|
159
166
|
name: TString;
|
|
160
167
|
connection: TNodeRef<SalesforceConnection>;
|
|
161
168
|
sObjectType: TTypedInput<string>;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
169
|
+
errorPort: TBoolean;
|
|
170
|
+
completePort: TBoolean;
|
|
171
|
+
statusPort: TBoolean;
|
|
165
172
|
}>;
|
|
166
173
|
|
|
167
174
|
export declare const SalesforceDescribeInputSchema: Schema< {
|
|
@@ -177,7 +184,7 @@ recordTypeInfos: TArray<TAny>;
|
|
|
177
184
|
}>;
|
|
178
185
|
}>;
|
|
179
186
|
|
|
180
|
-
export declare class SalesforceDml extends IONode<Config_5, any, Input_4,
|
|
187
|
+
export declare class SalesforceDml extends IONode<Config_5, any, Input_4, Output_4> {
|
|
181
188
|
static readonly type = "salesforce-dml";
|
|
182
189
|
static readonly category = "salesforce";
|
|
183
190
|
static readonly color: `#${string}`;
|
|
@@ -194,9 +201,9 @@ operation: TUnion<[TLiteral<"create">, TLiteral<"read">, TLiteral<"update">, TLi
|
|
|
194
201
|
sObjectType: TTypedInput<string>;
|
|
195
202
|
record: TTypedInput<any>;
|
|
196
203
|
externalIdField: TOptional<TString>;
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
204
|
+
errorPort: TBoolean;
|
|
205
|
+
completePort: TBoolean;
|
|
206
|
+
statusPort: TBoolean;
|
|
200
207
|
}>;
|
|
201
208
|
|
|
202
209
|
export declare const SalesforceDmlInputSchema: Schema< {
|
|
@@ -207,7 +214,7 @@ export declare const SalesforceDmlOutputsSchema: Schema< {
|
|
|
207
214
|
payload: TAny;
|
|
208
215
|
}>;
|
|
209
216
|
|
|
210
|
-
export declare class SalesforceSoql extends IONode<Config_6, any, Input_5,
|
|
217
|
+
export declare class SalesforceSoql extends IONode<Config_6, any, Input_5, Output_5> {
|
|
211
218
|
static readonly type = "salesforce-soql";
|
|
212
219
|
static readonly category = "salesforce";
|
|
213
220
|
static readonly color: `#${string}`;
|
|
@@ -221,6 +228,9 @@ export declare const SalesforceSoqlConfigSchema: Schema< {
|
|
|
221
228
|
name: TString;
|
|
222
229
|
connection: TNodeRef<SalesforceConnection>;
|
|
223
230
|
query: TTypedInput<string>;
|
|
231
|
+
errorPort: TBoolean;
|
|
232
|
+
completePort: TBoolean;
|
|
233
|
+
statusPort: TBoolean;
|
|
224
234
|
}>;
|
|
225
235
|
|
|
226
236
|
export declare const SalesforceSoqlInputSchema: Schema< {
|
|
@@ -233,7 +243,7 @@ totalSize: TNumber;
|
|
|
233
243
|
done: TBoolean;
|
|
234
244
|
}>;
|
|
235
245
|
|
|
236
|
-
export declare class SalesforceStreaming extends IONode<Config_7, any, any,
|
|
246
|
+
export declare class SalesforceStreaming extends IONode<Config_7, any, any, Output_6> {
|
|
237
247
|
static readonly type = "salesforce-streaming";
|
|
238
248
|
static readonly category = "salesforce";
|
|
239
249
|
static readonly color: `#${string}`;
|
|
@@ -259,8 +269,9 @@ channelName: TString;
|
|
|
259
269
|
subscribeType: TUnion<[TLiteral<"LATEST">, TLiteral<"EARLIEST">, TLiteral<"CUSTOM">]>;
|
|
260
270
|
replayId: TOptional<TString>;
|
|
261
271
|
numRequested: TNumber;
|
|
262
|
-
|
|
263
|
-
|
|
272
|
+
errorPort: TBoolean;
|
|
273
|
+
completePort: TBoolean;
|
|
274
|
+
statusPort: TBoolean;
|
|
264
275
|
}>;
|
|
265
276
|
|
|
266
277
|
export declare const SalesforceStreamingOutputsSchema: Schema< {
|
package/index.html
CHANGED
|
@@ -63,4 +63,4 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
|
63
63
|
LICENSED WORK OR THE USE OR OTHER DEALINGS IN THE LICENSED WORK.
|
|
64
64
|
|
|
65
65
|
-->
|
|
66
|
-
<script type="module" src="resources/@bonsae/node-red-salesforce/index.
|
|
66
|
+
<script type="module" src="resources/@bonsae/node-red-salesforce/index.FDBQSjT7.js" defer></script>
|