@bonsae/node-red-salesforce 0.2.0 → 0.4.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/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 '@bonsae/nrg/server';
9
- import { TArray } from '@bonsae/nrg/server';
10
- import { TBoolean } from '@bonsae/nrg/server';
11
- import { TLiteral } from '@bonsae/nrg/server';
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 '@bonsae/nrg/server';
14
- import { TObject } from '@bonsae/nrg/server';
15
- import { TOptional } from '@bonsae/nrg/server';
16
- import { TString } from '@bonsae/nrg/server';
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 '@bonsae/nrg/server';
18
+ import { TUnion } from '@sinclair/typebox';
19
19
 
20
20
  declare type Config = Infer<typeof SalesforceApexConfigSchema>;
21
21
 
@@ -60,8 +60,6 @@ export declare class SalesforceApex extends IONode<Config, any, Input, Output> {
60
60
  static readonly type = "salesforce-apex";
61
61
  static readonly category = "salesforce";
62
62
  static readonly color: `#${string}`;
63
- static readonly inputs = 1;
64
- static readonly outputs = 1;
65
63
  static readonly configSchema: Schema;
66
64
  static readonly inputSchema: Schema;
67
65
  static readonly outputsSchema: Schema;
@@ -90,13 +88,11 @@ export declare class SalesforceBulk extends IONode<Config_3> {
90
88
  static readonly type = "salesforce-bulk";
91
89
  static readonly category = "salesforce";
92
90
  static readonly color: `#${string}`;
93
- static readonly inputs = 1;
94
- static readonly outputs = 2;
95
91
  static readonly configSchema: Schema;
96
92
  static readonly inputSchema: Schema;
93
+ static readonly outputsSchema: Schema[];
97
94
  private sendRecord;
98
95
  private sendJobCreated;
99
- private sendComplete;
100
96
  input(msg: Input_2): Promise<void>;
101
97
  }
102
98
 
@@ -111,8 +107,6 @@ columnDelimiter: TUnion<[TLiteral<"COMMA">, TLiteral<"TAB">, TLiteral<"PIPE">, T
111
107
  lineEnding: TUnion<[TLiteral<"LF">, TLiteral<"CRLF">]>;
112
108
  pollInterval: TNumber;
113
109
  pollTimeout: TNumber;
114
- emitJobCreated: TBoolean;
115
- outputs: TNumber;
116
110
  emitError: TBoolean;
117
111
  emitComplete: TBoolean;
118
112
  emitStatus: TBoolean;
@@ -152,8 +146,6 @@ export declare class SalesforceDescribe extends IONode<Config_4, any, Input_3, O
152
146
  static readonly type = "salesforce-describe";
153
147
  static readonly category = "salesforce";
154
148
  static readonly color: `#${string}`;
155
- static readonly inputs = 1;
156
- static readonly outputs = 1;
157
149
  static readonly configSchema: Schema;
158
150
  static readonly inputSchema: Schema;
159
151
  static readonly outputsSchema: Schema;
@@ -186,8 +178,6 @@ export declare class SalesforceDml extends IONode<Config_5, any, Input_4, Output
186
178
  static readonly type = "salesforce-dml";
187
179
  static readonly category = "salesforce";
188
180
  static readonly color: `#${string}`;
189
- static readonly inputs = 1;
190
- static readonly outputs = 1;
191
181
  static readonly configSchema: Schema;
192
182
  static readonly inputSchema: Schema;
193
183
  static readonly outputsSchema: Schema;
@@ -218,8 +208,6 @@ export declare class SalesforceSoql extends IONode<Config_6, any, Input_5, Outpu
218
208
  static readonly type = "salesforce-soql";
219
209
  static readonly category = "salesforce";
220
210
  static readonly color: `#${string}`;
221
- static readonly inputs = 1;
222
- static readonly outputs = 1;
223
211
  static readonly configSchema: Schema;
224
212
  static readonly inputSchema: Schema;
225
213
  static readonly outputsSchema: Schema;
@@ -246,8 +234,6 @@ export declare class SalesforceStreaming extends IONode<Config_7, any, any, Outp
246
234
  static readonly type = "salesforce-streaming";
247
235
  static readonly category = "salesforce";
248
236
  static readonly color: `#${string}`;
249
- static readonly inputs = 0;
250
- static readonly outputs = 1;
251
237
  static readonly configSchema: Schema;
252
238
  static readonly outputsSchema: Schema;
253
239
  private client;
@@ -260,7 +246,6 @@ export declare class SalesforceStreaming extends IONode<Config_7, any, any, Outp
260
246
  private subscribe;
261
247
  private scheduleReconnect;
262
248
  private cleanup;
263
- input(): Promise<void>;
264
249
  closed(): Promise<void>;
265
250
  }
266
251
 
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.DheUFZEA.js" defer></script>
66
+ <script type="module" src="resources/@bonsae/node-red-salesforce/index.BmVSYWAa.js" defer></script>