@bonsae/node-red-salesforce 0.1.0 → 0.2.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/LICENSE +62 -0
- package/README.md +1 -1
- package/index.d.ts +17 -0
- package/index.html +65 -1
- package/index.mjs +252 -197
- package/index.mjs.map +1 -1
- package/locales/de/index.html +14 -0
- package/locales/en-US/index.html +14 -0
- package/locales/es-ES/index.html +14 -0
- package/locales/fr/index.html +14 -0
- package/locales/ja/index.html +14 -0
- package/locales/ko/index.html +14 -0
- package/locales/pt-BR/index.html +14 -0
- package/locales/ru/index.html +14 -0
- package/locales/zh-CN/index.html +14 -0
- package/locales/zh-TW/index.html +14 -0
- package/package.json +3 -3
- package/resources/index.DheUFZEA.js +1 -0
- package/resources/index.CfTW8fjc.js +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
Business Source License 1.1
|
|
2
|
+
|
|
3
|
+
Licensor: Allan Oricil
|
|
4
|
+
Licensed Work: @bonsae/node-red-salesforce
|
|
5
|
+
|
|
6
|
+
Change Date: Four years from the date of each release
|
|
7
|
+
|
|
8
|
+
Change License: MIT License
|
|
9
|
+
|
|
10
|
+
Terms
|
|
11
|
+
|
|
12
|
+
The Licensed Work is provided under the terms of this Business Source
|
|
13
|
+
License (this "License"). The Licensed Work is the copyrighted work of
|
|
14
|
+
the Licensor as indicated above. Any use of the Licensed Work in
|
|
15
|
+
violation of this License will automatically terminate your rights under
|
|
16
|
+
this License for the current and all other versions of the Licensed Work.
|
|
17
|
+
|
|
18
|
+
Grant of Rights
|
|
19
|
+
|
|
20
|
+
The Licensor hereby grants you the right to copy, modify, create
|
|
21
|
+
derivative works, redistribute, and make non-production and personal use
|
|
22
|
+
of the Licensed Work.
|
|
23
|
+
|
|
24
|
+
If your use of the Licensed Work is for a Commercial Purpose, you must
|
|
25
|
+
obtain a commercial license from the Licensor. Contact the Licensor at
|
|
26
|
+
allanoricil@duck.com for commercial licensing terms.
|
|
27
|
+
|
|
28
|
+
"Commercial Purpose" means any use of the Licensed Work that is
|
|
29
|
+
primarily intended for or directed toward commercial advantage or
|
|
30
|
+
monetary compensation. This includes, but is not limited to:
|
|
31
|
+
|
|
32
|
+
- Use in software or services that are sold, licensed, or offered for
|
|
33
|
+
a fee
|
|
34
|
+
- Use in software or services that generate revenue, directly or
|
|
35
|
+
indirectly
|
|
36
|
+
- Use by a for-profit organization in production environments
|
|
37
|
+
|
|
38
|
+
The following uses are NOT considered Commercial Purpose:
|
|
39
|
+
|
|
40
|
+
- Personal projects and learning
|
|
41
|
+
- Academic and research use
|
|
42
|
+
- Non-profit organizations
|
|
43
|
+
- Evaluation and testing
|
|
44
|
+
- Contributing back to this project
|
|
45
|
+
|
|
46
|
+
Change Date and Change License
|
|
47
|
+
|
|
48
|
+
On the Change Date, or the fourth anniversary of the first publicly
|
|
49
|
+
available distribution of a specific version of the Licensed Work under
|
|
50
|
+
this License, whichever comes first, the Licensor hereby grants you
|
|
51
|
+
rights under the terms of the Change License, and the rights granted
|
|
52
|
+
under the Business Source License for that version terminate.
|
|
53
|
+
|
|
54
|
+
Disclaimer
|
|
55
|
+
|
|
56
|
+
THE LICENSED WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
57
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
58
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
59
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
60
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
61
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
62
|
+
LICENSED WORK OR THE USE OR OTHER DEALINGS IN THE LICENSED WORK.
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<a href="https://bonsaedev.github.io/nrg/"><img src="https://img.shields.io/badge/built%20with-nrg-A80000.svg?labelColor=black&style=flat-square&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCI+CiAgPGRlZnM+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9Im91dGxpbmVHcmFkaWVudCIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0eWxlPSJzdG9wLWNvbG9yOiAjODA4MDgwOyBzdG9wLW9wYWNpdHk6IDEiIC8+CiAgICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3R5bGU9InN0b3AtY29sb3I6ICM0MDQwNDA7IHN0b3Atb3BhY2l0eTogMSIgLz4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImhleGFnb25HcmFkaWVudCIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICAgIDxzdG9wIG9mZnNldD0iMCUiIHN0eWxlPSJzdG9wLWNvbG9yOiAjQTgwMDAwOyBzdG9wLW9wYWNpdHk6IDEiIC8+CiAgICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3R5bGU9InN0b3AtY29sb3I6ICM0QjAwMDA7IHN0b3Atb3BhY2l0eTogMSIgLz4KICAgIDwvbGluZWFyR3JhZGllbnQ+CiAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImxpZ2h0bmluZ0dyYWRpZW50IiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj4KICAgICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3R5bGU9InN0b3AtY29sb3I6ICNmZmZmZmY7IHN0b3Atb3BhY2l0eTogMSIgLz4KICAgICAgPHN0b3Agb2Zmc2V0PSIxMDAlIiBzdHlsZT0ic3RvcC1jb2xvcjogI2UwZTBlMDsgc3RvcC1vcGFjaXR5OiAxIiAvPgogICAgPC9saW5lYXJHcmFkaWVudD4KICA8L2RlZnM+CiAgPHBvbHlnb24gcG9pbnRzPSI1MCwyIDk4LDI1IDk4LDc1IDUwLDk4IDMsNzUgMywyNSIgCiAgICAgICAgICAgc3Ryb2tlPSJ1cmwoI291dGxpbmVHcmFkaWVudCkiIHN0cm9rZS13aWR0aD0iNCIgZmlsbD0idXJsKCNoZXhhZ29uR3JhZGllbnQpIiAvPgoKICA8cGF0aCBkPSJNMzMgMGwxOS43OTcyIDM5LjQ1NzQtMjguNTAyMi0xMS4xMTg0TDc0IDk4IDUxLjA2MDggNDkuMzA1NCA3MSA1NloiIAogICAgICAgIGZpbGw9InVybCgjbGlnaHRuaW5nR3JhZGllbnQpIiBzdHJva2U9Im5vbmUiIC8+Cjwvc3ZnPgo=" alt="built with nrg"/></a>
|
|
2
2
|
<a href="https://www.npmjs.com/package/@bonsae/node-red-salesforce"><img alt="NPM Version" src="https://img.shields.io/npm/v/@bonsae/node-red-salesforce"></a>
|
|
3
3
|
<a href="https://github.com/bonsaedev/node-red-salesforce/actions/workflows/ci.yaml"><img src="https://github.com/bonsaedev/node-red-salesforce/actions/workflows/ci.yaml/badge.svg?branch=main" alt="build status"/></a>
|
|
4
|
-
<a href="https://socket.dev/npm/package/@bonsae/node-red-salesforce"><img src="https://socket.dev/api/badge/npm/package/@bonsae/node-red-salesforce" alt="socket badge"/></a>
|
|
4
|
+
<a href="https://socket.dev/npm/package/@bonsae/node-red-salesforce"><img src="https://socket.dev/api/badge/npm/package/@bonsae/node-red-salesforce?v=1" alt="socket badge"/></a>
|
|
5
5
|
<a href="https://codecov.io/gh/bonsaedev/node-red-salesforce"><img src="https://codecov.io/gh/bonsaedev/node-red-salesforce/graph/badge.svg" alt="codecov"/></a>
|
|
6
6
|
|
|
7
7
|
# @bonsae/node-red-salesforce
|
package/index.d.ts
CHANGED
|
@@ -73,6 +73,9 @@ name: TString;
|
|
|
73
73
|
connection: TNodeRef<SalesforceConnection>;
|
|
74
74
|
method: TUnion<[TLiteral<"GET">, TLiteral<"POST">, TLiteral<"PUT">, TLiteral<"PATCH">, TLiteral<"DELETE">]>;
|
|
75
75
|
path: TTypedInput<string>;
|
|
76
|
+
emitError: TBoolean;
|
|
77
|
+
emitComplete: TBoolean;
|
|
78
|
+
emitStatus: TBoolean;
|
|
76
79
|
}>;
|
|
77
80
|
|
|
78
81
|
export declare const SalesforceApexInputSchema: Schema< {
|
|
@@ -110,6 +113,9 @@ pollInterval: TNumber;
|
|
|
110
113
|
pollTimeout: TNumber;
|
|
111
114
|
emitJobCreated: TBoolean;
|
|
112
115
|
outputs: TNumber;
|
|
116
|
+
emitError: TBoolean;
|
|
117
|
+
emitComplete: TBoolean;
|
|
118
|
+
emitStatus: TBoolean;
|
|
113
119
|
}>;
|
|
114
120
|
|
|
115
121
|
export declare const SalesforceBulkInputSchema: Schema< {
|
|
@@ -158,6 +164,9 @@ export declare const SalesforceDescribeConfigSchema: Schema< {
|
|
|
158
164
|
name: TString;
|
|
159
165
|
connection: TNodeRef<SalesforceConnection>;
|
|
160
166
|
sObjectType: TTypedInput<string>;
|
|
167
|
+
emitError: TBoolean;
|
|
168
|
+
emitComplete: TBoolean;
|
|
169
|
+
emitStatus: TBoolean;
|
|
161
170
|
}>;
|
|
162
171
|
|
|
163
172
|
export declare const SalesforceDescribeInputSchema: Schema< {
|
|
@@ -192,6 +201,9 @@ operation: TUnion<[TLiteral<"create">, TLiteral<"read">, TLiteral<"update">, TLi
|
|
|
192
201
|
sObjectType: TTypedInput<string>;
|
|
193
202
|
record: TTypedInput<any>;
|
|
194
203
|
externalIdField: TOptional<TString>;
|
|
204
|
+
emitError: TBoolean;
|
|
205
|
+
emitComplete: TBoolean;
|
|
206
|
+
emitStatus: TBoolean;
|
|
195
207
|
}>;
|
|
196
208
|
|
|
197
209
|
export declare const SalesforceDmlInputSchema: Schema< {
|
|
@@ -241,6 +253,9 @@ export declare class SalesforceStreaming extends IONode<Config_7, any, any, Outp
|
|
|
241
253
|
private client;
|
|
242
254
|
private reconnectAttempt;
|
|
243
255
|
private maxReconnectDelay;
|
|
256
|
+
private maxReconnectAttempts;
|
|
257
|
+
private grpcErrorHandler;
|
|
258
|
+
private stopped;
|
|
244
259
|
created(): Promise<void>;
|
|
245
260
|
private subscribe;
|
|
246
261
|
private scheduleReconnect;
|
|
@@ -256,6 +271,8 @@ channelName: TString;
|
|
|
256
271
|
subscribeType: TUnion<[TLiteral<"LATEST">, TLiteral<"EARLIEST">, TLiteral<"CUSTOM">]>;
|
|
257
272
|
replayId: TOptional<TString>;
|
|
258
273
|
numRequested: TNumber;
|
|
274
|
+
emitError: TBoolean;
|
|
275
|
+
emitStatus: TBoolean;
|
|
259
276
|
}>;
|
|
260
277
|
|
|
261
278
|
export declare const SalesforceStreamingOutputsSchema: Schema< {
|
package/index.html
CHANGED
|
@@ -1,2 +1,66 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Business Source License 1.1
|
|
1
3
|
|
|
2
|
-
|
|
4
|
+
Licensor: Allan Oricil
|
|
5
|
+
Licensed Work: @bonsae/node-red-salesforce
|
|
6
|
+
|
|
7
|
+
Change Date: Four years from the date of each release
|
|
8
|
+
|
|
9
|
+
Change License: MIT License
|
|
10
|
+
|
|
11
|
+
Terms
|
|
12
|
+
|
|
13
|
+
The Licensed Work is provided under the terms of this Business Source
|
|
14
|
+
License (this "License"). The Licensed Work is the copyrighted work of
|
|
15
|
+
the Licensor as indicated above. Any use of the Licensed Work in
|
|
16
|
+
violation of this License will automatically terminate your rights under
|
|
17
|
+
this License for the current and all other versions of the Licensed Work.
|
|
18
|
+
|
|
19
|
+
Grant of Rights
|
|
20
|
+
|
|
21
|
+
The Licensor hereby grants you the right to copy, modify, create
|
|
22
|
+
derivative works, redistribute, and make non-production and personal use
|
|
23
|
+
of the Licensed Work.
|
|
24
|
+
|
|
25
|
+
If your use of the Licensed Work is for a Commercial Purpose, you must
|
|
26
|
+
obtain a commercial license from the Licensor. Contact the Licensor at
|
|
27
|
+
allanoricil@duck.com for commercial licensing terms.
|
|
28
|
+
|
|
29
|
+
"Commercial Purpose" means any use of the Licensed Work that is
|
|
30
|
+
primarily intended for or directed toward commercial advantage or
|
|
31
|
+
monetary compensation. This includes, but is not limited to:
|
|
32
|
+
|
|
33
|
+
- Use in software or services that are sold, licensed, or offered for
|
|
34
|
+
a fee
|
|
35
|
+
- Use in software or services that generate revenue, directly or
|
|
36
|
+
indirectly
|
|
37
|
+
- Use by a for-profit organization in production environments
|
|
38
|
+
|
|
39
|
+
The following uses are NOT considered Commercial Purpose:
|
|
40
|
+
|
|
41
|
+
- Personal projects and learning
|
|
42
|
+
- Academic and research use
|
|
43
|
+
- Non-profit organizations
|
|
44
|
+
- Evaluation and testing
|
|
45
|
+
- Contributing back to this project
|
|
46
|
+
|
|
47
|
+
Change Date and Change License
|
|
48
|
+
|
|
49
|
+
On the Change Date, or the fourth anniversary of the first publicly
|
|
50
|
+
available distribution of a specific version of the Licensed Work under
|
|
51
|
+
this License, whichever comes first, the Licensor hereby grants you
|
|
52
|
+
rights under the terms of the Change License, and the rights granted
|
|
53
|
+
under the Business Source License for that version terminate.
|
|
54
|
+
|
|
55
|
+
Disclaimer
|
|
56
|
+
|
|
57
|
+
THE LICENSED WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
58
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
59
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
60
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
61
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
62
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
63
|
+
LICENSED WORK OR THE USE OR OTHER DEALINGS IN THE LICENSED WORK.
|
|
64
|
+
|
|
65
|
+
-->
|
|
66
|
+
<script type="module" src="resources/@bonsae/node-red-salesforce/index.DheUFZEA.js" defer></script>
|