@n8n-dev/n8n-nodes-linqr 1.0.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 +118 -0
- package/dist/banner.svg +133 -0
- package/dist/credentials/LinqrApi.credentials.d.ts +9 -0
- package/dist/credentials/LinqrApi.credentials.js +40 -0
- package/dist/credentials/LinqrApi.credentials.js.map +1 -0
- package/dist/icons/linqr.dark.png +0 -0
- package/dist/icons/linqr.png +0 -0
- package/dist/nodes/Linqr/Linqr.node.d.ts +4 -0
- package/dist/nodes/Linqr/Linqr.node.js +68 -0
- package/dist/nodes/Linqr/Linqr.node.js.map +1 -0
- package/dist/nodes/Linqr/Linqr.node.json +20 -0
- package/dist/nodes/Linqr/linqr.dark.png +0 -0
- package/dist/nodes/Linqr/linqr.png +0 -0
- package/dist/nodes/Linqr/resources/image-management/index.d.ts +2 -0
- package/dist/nodes/Linqr/resources/image-management/index.js +296 -0
- package/dist/nodes/Linqr/resources/image-management/index.js.map +1 -0
- package/dist/nodes/Linqr/resources/index.d.ts +3 -0
- package/dist/nodes/Linqr/resources/index.js +10 -0
- package/dist/nodes/Linqr/resources/index.js.map +1 -0
- package/dist/nodes/Linqr/resources/multiple-qr-codes/index.d.ts +2 -0
- package/dist/nodes/Linqr/resources/multiple-qr-codes/index.js +153 -0
- package/dist/nodes/Linqr/resources/multiple-qr-codes/index.js.map +1 -0
- package/dist/nodes/Linqr/resources/single-qr-code/index.d.ts +2 -0
- package/dist/nodes/Linqr/resources/single-qr-code/index.js +1858 -0
- package/dist/nodes/Linqr/resources/single-qr-code/index.js.map +1 -0
- package/dist/package.json +62 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.imageManagementDescription = void 0;
|
|
4
|
+
exports.imageManagementDescription = [
|
|
5
|
+
{
|
|
6
|
+
"displayName": "Operation",
|
|
7
|
+
"name": "operation",
|
|
8
|
+
"type": "options",
|
|
9
|
+
"noDataExpression": true,
|
|
10
|
+
"displayOptions": {
|
|
11
|
+
"show": {
|
|
12
|
+
"resource": [
|
|
13
|
+
"Image Management"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"options": [
|
|
18
|
+
{
|
|
19
|
+
"name": "Image List All Images Get",
|
|
20
|
+
"value": "Image List All Images Get",
|
|
21
|
+
"action": "List all images",
|
|
22
|
+
"description": "This endpoint allows you to list images hosted in the LinQR storage. If there are no images hosted, an empty array is returned.",
|
|
23
|
+
"routing": {
|
|
24
|
+
"request": {
|
|
25
|
+
"method": "GET",
|
|
26
|
+
"url": "=/images"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Image Upload Images Post",
|
|
32
|
+
"value": "Image Upload Images Post",
|
|
33
|
+
"action": "Upload image",
|
|
34
|
+
"description": "This endpoint allows you to upload images to LinQR storage. In the response, metadata of the submitted image is sent, including the identifier used by other endpoints from the `Image management` group for image identification.",
|
|
35
|
+
"routing": {
|
|
36
|
+
"request": {
|
|
37
|
+
"method": "POST",
|
|
38
|
+
"url": "=/images"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "Image Delete Images ID Delete",
|
|
44
|
+
"value": "Image Delete Images ID Delete",
|
|
45
|
+
"action": "Delete image",
|
|
46
|
+
"description": "This endpoint allows you to delete images hosted in the LinQR storage.",
|
|
47
|
+
"routing": {
|
|
48
|
+
"request": {
|
|
49
|
+
"method": "DELETE",
|
|
50
|
+
"url": "=/images/{{$parameter[\"id\"]}}"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "Image List Images ID Get",
|
|
56
|
+
"value": "Image List Images ID Get",
|
|
57
|
+
"action": "List image",
|
|
58
|
+
"description": "This endpoint allows you to list single image hosted in the LinQR storage.",
|
|
59
|
+
"routing": {
|
|
60
|
+
"request": {
|
|
61
|
+
"method": "GET",
|
|
62
|
+
"url": "=/images/{{$parameter[\"id\"]}}"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
"default": ""
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"displayName": "GET /images",
|
|
71
|
+
"name": "operation",
|
|
72
|
+
"type": "notice",
|
|
73
|
+
"typeOptions": {
|
|
74
|
+
"theme": "info"
|
|
75
|
+
},
|
|
76
|
+
"default": "",
|
|
77
|
+
"displayOptions": {
|
|
78
|
+
"show": {
|
|
79
|
+
"resource": [
|
|
80
|
+
"Image Management"
|
|
81
|
+
],
|
|
82
|
+
"operation": [
|
|
83
|
+
"Image List All Images Get"
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"displayName": "X Rapid API Key (Header)",
|
|
90
|
+
"name": "security_rapidapi",
|
|
91
|
+
"type": "string",
|
|
92
|
+
"default": "",
|
|
93
|
+
"description": "The connection to LinQR can be made through a <a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" >RapidAPI proxy</a>. RapidAPI is a service that manages the use of API and keys while being an API load balancer. Access is granted on a subscription basis. LinQR subscriptions have different plans: `BASIC`, `PRO`, `ULTRA` and `MEGA`. They differ in the number of available functionalities and can be adjusted to the expected level of service usage. After registering at the RapidAPI, you can generate a key that will be used to authorize the client in the LinQR. More details on usage limits or pricing can be found directly on the <a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" >LinQR listing at the RapidAPI Hub</a>.\n\nIf you do not find a plan tailored to your needs in RapidAPI, contact us directly: we can prepare a custom subscription plan according to your needs.\n\n<a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" ><img width=\"215\" alt=\"Connect on RapidAPI\" src=\"https://files.readme.io/7002e7f-c563a12-rapidapi-badge-dark.png\"></a>",
|
|
94
|
+
"required": false,
|
|
95
|
+
"routing": {
|
|
96
|
+
"request": {
|
|
97
|
+
"headers": {
|
|
98
|
+
"X-RapidAPI-Key": "={{ $value }}"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"displayOptions": {
|
|
103
|
+
"show": {
|
|
104
|
+
"resource": [
|
|
105
|
+
"Image Management"
|
|
106
|
+
],
|
|
107
|
+
"operation": [
|
|
108
|
+
"Image List All Images Get"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"displayName": "POST /images",
|
|
115
|
+
"name": "operation",
|
|
116
|
+
"type": "notice",
|
|
117
|
+
"typeOptions": {
|
|
118
|
+
"theme": "info"
|
|
119
|
+
},
|
|
120
|
+
"default": "",
|
|
121
|
+
"displayOptions": {
|
|
122
|
+
"show": {
|
|
123
|
+
"resource": [
|
|
124
|
+
"Image Management"
|
|
125
|
+
],
|
|
126
|
+
"operation": [
|
|
127
|
+
"Image Upload Images Post"
|
|
128
|
+
]
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"displayName": "POST /images<br/><br/>There's no body available for request, kindly use HTTP Request node to send body",
|
|
134
|
+
"name": "operation",
|
|
135
|
+
"type": "notice",
|
|
136
|
+
"default": "",
|
|
137
|
+
"displayOptions": {
|
|
138
|
+
"show": {
|
|
139
|
+
"resource": [
|
|
140
|
+
"Image Management"
|
|
141
|
+
],
|
|
142
|
+
"operation": [
|
|
143
|
+
"Image Upload Images Post"
|
|
144
|
+
]
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"displayName": "X Rapid API Key (Header)",
|
|
150
|
+
"name": "security_rapidapi",
|
|
151
|
+
"type": "string",
|
|
152
|
+
"default": "",
|
|
153
|
+
"description": "The connection to LinQR can be made through a <a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" >RapidAPI proxy</a>. RapidAPI is a service that manages the use of API and keys while being an API load balancer. Access is granted on a subscription basis. LinQR subscriptions have different plans: `BASIC`, `PRO`, `ULTRA` and `MEGA`. They differ in the number of available functionalities and can be adjusted to the expected level of service usage. After registering at the RapidAPI, you can generate a key that will be used to authorize the client in the LinQR. More details on usage limits or pricing can be found directly on the <a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" >LinQR listing at the RapidAPI Hub</a>.\n\nIf you do not find a plan tailored to your needs in RapidAPI, contact us directly: we can prepare a custom subscription plan according to your needs.\n\n<a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" ><img width=\"215\" alt=\"Connect on RapidAPI\" src=\"https://files.readme.io/7002e7f-c563a12-rapidapi-badge-dark.png\"></a>",
|
|
154
|
+
"required": false,
|
|
155
|
+
"routing": {
|
|
156
|
+
"request": {
|
|
157
|
+
"headers": {
|
|
158
|
+
"X-RapidAPI-Key": "={{ $value }}"
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"displayOptions": {
|
|
163
|
+
"show": {
|
|
164
|
+
"resource": [
|
|
165
|
+
"Image Management"
|
|
166
|
+
],
|
|
167
|
+
"operation": [
|
|
168
|
+
"Image Upload Images Post"
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"displayName": "DELETE /images/{id}",
|
|
175
|
+
"name": "operation",
|
|
176
|
+
"type": "notice",
|
|
177
|
+
"typeOptions": {
|
|
178
|
+
"theme": "info"
|
|
179
|
+
},
|
|
180
|
+
"default": "",
|
|
181
|
+
"displayOptions": {
|
|
182
|
+
"show": {
|
|
183
|
+
"resource": [
|
|
184
|
+
"Image Management"
|
|
185
|
+
],
|
|
186
|
+
"operation": [
|
|
187
|
+
"Image Delete Images ID Delete"
|
|
188
|
+
]
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"displayName": "ID",
|
|
194
|
+
"name": "id",
|
|
195
|
+
"required": true,
|
|
196
|
+
"default": "",
|
|
197
|
+
"type": "string",
|
|
198
|
+
"displayOptions": {
|
|
199
|
+
"show": {
|
|
200
|
+
"resource": [
|
|
201
|
+
"Image Management"
|
|
202
|
+
],
|
|
203
|
+
"operation": [
|
|
204
|
+
"Image Delete Images ID Delete"
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"displayName": "X Rapid API Key (Header)",
|
|
211
|
+
"name": "security_rapidapi",
|
|
212
|
+
"type": "string",
|
|
213
|
+
"default": "",
|
|
214
|
+
"description": "The connection to LinQR can be made through a <a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" >RapidAPI proxy</a>. RapidAPI is a service that manages the use of API and keys while being an API load balancer. Access is granted on a subscription basis. LinQR subscriptions have different plans: `BASIC`, `PRO`, `ULTRA` and `MEGA`. They differ in the number of available functionalities and can be adjusted to the expected level of service usage. After registering at the RapidAPI, you can generate a key that will be used to authorize the client in the LinQR. More details on usage limits or pricing can be found directly on the <a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" >LinQR listing at the RapidAPI Hub</a>.\n\nIf you do not find a plan tailored to your needs in RapidAPI, contact us directly: we can prepare a custom subscription plan according to your needs.\n\n<a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" ><img width=\"215\" alt=\"Connect on RapidAPI\" src=\"https://files.readme.io/7002e7f-c563a12-rapidapi-badge-dark.png\"></a>",
|
|
215
|
+
"required": false,
|
|
216
|
+
"routing": {
|
|
217
|
+
"request": {
|
|
218
|
+
"headers": {
|
|
219
|
+
"X-RapidAPI-Key": "={{ $value }}"
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"displayOptions": {
|
|
224
|
+
"show": {
|
|
225
|
+
"resource": [
|
|
226
|
+
"Image Management"
|
|
227
|
+
],
|
|
228
|
+
"operation": [
|
|
229
|
+
"Image Delete Images ID Delete"
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"displayName": "GET /images/{id}",
|
|
236
|
+
"name": "operation",
|
|
237
|
+
"type": "notice",
|
|
238
|
+
"typeOptions": {
|
|
239
|
+
"theme": "info"
|
|
240
|
+
},
|
|
241
|
+
"default": "",
|
|
242
|
+
"displayOptions": {
|
|
243
|
+
"show": {
|
|
244
|
+
"resource": [
|
|
245
|
+
"Image Management"
|
|
246
|
+
],
|
|
247
|
+
"operation": [
|
|
248
|
+
"Image List Images ID Get"
|
|
249
|
+
]
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"displayName": "ID",
|
|
255
|
+
"name": "id",
|
|
256
|
+
"required": true,
|
|
257
|
+
"default": "",
|
|
258
|
+
"type": "string",
|
|
259
|
+
"displayOptions": {
|
|
260
|
+
"show": {
|
|
261
|
+
"resource": [
|
|
262
|
+
"Image Management"
|
|
263
|
+
],
|
|
264
|
+
"operation": [
|
|
265
|
+
"Image List Images ID Get"
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"displayName": "X Rapid API Key (Header)",
|
|
272
|
+
"name": "security_rapidapi",
|
|
273
|
+
"type": "string",
|
|
274
|
+
"default": "",
|
|
275
|
+
"description": "The connection to LinQR can be made through a <a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" >RapidAPI proxy</a>. RapidAPI is a service that manages the use of API and keys while being an API load balancer. Access is granted on a subscription basis. LinQR subscriptions have different plans: `BASIC`, `PRO`, `ULTRA` and `MEGA`. They differ in the number of available functionalities and can be adjusted to the expected level of service usage. After registering at the RapidAPI, you can generate a key that will be used to authorize the client in the LinQR. More details on usage limits or pricing can be found directly on the <a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" >LinQR listing at the RapidAPI Hub</a>.\n\nIf you do not find a plan tailored to your needs in RapidAPI, contact us directly: we can prepare a custom subscription plan according to your needs.\n\n<a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" ><img width=\"215\" alt=\"Connect on RapidAPI\" src=\"https://files.readme.io/7002e7f-c563a12-rapidapi-badge-dark.png\"></a>",
|
|
276
|
+
"required": false,
|
|
277
|
+
"routing": {
|
|
278
|
+
"request": {
|
|
279
|
+
"headers": {
|
|
280
|
+
"X-RapidAPI-Key": "={{ $value }}"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
"displayOptions": {
|
|
285
|
+
"show": {
|
|
286
|
+
"resource": [
|
|
287
|
+
"Image Management"
|
|
288
|
+
],
|
|
289
|
+
"operation": [
|
|
290
|
+
"Image List Images ID Get"
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
];
|
|
296
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Linqr/resources/image-management/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,0BAA0B,GAAsB;IAC7C;QACb,aAAa,EAAE,WAAW;QAC1B,M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ACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,kBAAkB;iBAClB;gBACD,WAAW,EAAE;oBACZ,0BAA0B;iBAC1B;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,IAAI;QACnB,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,EAAE;QACb,MAAM,EAAE,QAAQ;QAChB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,kBAAkB;iBAClB;gBACD,WAAW,EAAE;oBACZ,0BAA0B;iBAC1B;aACD;SACD;KACD;IACD;QACC,aAAa,EAAE,0BAA0B;QACzC,MAAM,EAAE,mBAAmB;QAC3B,MAAM,EAAE,QAAQ;QAChB,SAAS,EAAE,EAAE;QACb,aAAa,EAAE,qtCAAqtC;QACpuC,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE;YACV,SAAS,EAAE;gBACV,SAAS,EAAE;oBACV,gBAAgB,EAAE,eAAe;iBACjC;aACD;SACD;QACD,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,kBAAkB;iBAClB;gBACD,WAAW,EAAE;oBACZ,0BAA0B;iBAC1B;aACD;SACD;KACD;CACF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.imageManagementDescription = exports.multipleQrCodesDescription = exports.singleQrCodeDescription = void 0;
|
|
4
|
+
var single_qr_code_1 = require("./single-qr-code");
|
|
5
|
+
Object.defineProperty(exports, "singleQrCodeDescription", { enumerable: true, get: function () { return single_qr_code_1.singleQrCodeDescription; } });
|
|
6
|
+
var multiple_qr_codes_1 = require("./multiple-qr-codes");
|
|
7
|
+
Object.defineProperty(exports, "multipleQrCodesDescription", { enumerable: true, get: function () { return multiple_qr_codes_1.multipleQrCodesDescription; } });
|
|
8
|
+
var image_management_1 = require("./image-management");
|
|
9
|
+
Object.defineProperty(exports, "imageManagementDescription", { enumerable: true, get: function () { return image_management_1.imageManagementDescription; } });
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Linqr/resources/index.ts"],"names":[],"mappings":";;;AAAA,mDAA2D;AAAlD,yHAAA,uBAAuB,OAAA;AAChC,yDAAiE;AAAxD,+HAAA,0BAA0B,OAAA;AACnC,uDAAgE;AAAvD,8HAAA,0BAA0B,OAAA"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.multipleQrCodesDescription = void 0;
|
|
4
|
+
exports.multipleQrCodesDescription = [
|
|
5
|
+
{
|
|
6
|
+
"displayName": "Operation",
|
|
7
|
+
"name": "operation",
|
|
8
|
+
"type": "options",
|
|
9
|
+
"noDataExpression": true,
|
|
10
|
+
"displayOptions": {
|
|
11
|
+
"show": {
|
|
12
|
+
"resource": [
|
|
13
|
+
"Multiple QR Codes"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"options": [
|
|
18
|
+
{
|
|
19
|
+
"name": "Qr Code Batch Batch Qrcode Post",
|
|
20
|
+
"value": "Qr Code Batch Batch Qrcode Post",
|
|
21
|
+
"action": "QR Code Batch",
|
|
22
|
+
"description": "This endpoint allows you to generate an archive containing multiple QR Codes with a single request. The endpoint response is the archive containing the generated image files and `items.json` file which is a record of the specifications of each of the files in the archive.",
|
|
23
|
+
"routing": {
|
|
24
|
+
"request": {
|
|
25
|
+
"method": "POST",
|
|
26
|
+
"url": "=/batch/qrcode"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"default": ""
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"displayName": "POST /batch/qrcode",
|
|
35
|
+
"name": "operation",
|
|
36
|
+
"type": "notice",
|
|
37
|
+
"typeOptions": {
|
|
38
|
+
"theme": "info"
|
|
39
|
+
},
|
|
40
|
+
"default": "",
|
|
41
|
+
"displayOptions": {
|
|
42
|
+
"show": {
|
|
43
|
+
"resource": [
|
|
44
|
+
"Multiple QR Codes"
|
|
45
|
+
],
|
|
46
|
+
"operation": [
|
|
47
|
+
"Qr Code Batch Batch Qrcode Post"
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"required": true,
|
|
54
|
+
"displayName": "Items",
|
|
55
|
+
"name": "items",
|
|
56
|
+
"type": "json",
|
|
57
|
+
"default": "[\n {\n \"data\": \"https://linqr.app\",\n \"image\": {\n \"modules\": true,\n \"uri\": {}\n },\n \"output\": {\n \"filename\": \"qrcode\"\n },\n \"size\": {\n \"quiet_zone\": 4,\n \"width\": 200\n },\n \"style\": {\n \"background\": {\n \"color\": \"#c2fce6\"\n },\n \"inner_eye\": {\n \"color\": \"black\"\n },\n \"module\": {},\n \"outer_eye\": {\n \"color\": \"rgb(0, 0, 255)\"\n }\n }\n }\n]",
|
|
58
|
+
"description": "`items` property allows you to specify an array of QR Codes to generate. The elements of the array must be valid objects analogous to those required for single code generation.",
|
|
59
|
+
"routing": {
|
|
60
|
+
"send": {
|
|
61
|
+
"property": "items",
|
|
62
|
+
"propertyInDotNotation": false,
|
|
63
|
+
"type": "body",
|
|
64
|
+
"value": "={{ JSON.parse($value) }}"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"displayOptions": {
|
|
68
|
+
"show": {
|
|
69
|
+
"resource": [
|
|
70
|
+
"Multiple QR Codes"
|
|
71
|
+
],
|
|
72
|
+
"operation": [
|
|
73
|
+
"Qr Code Batch Batch Qrcode Post"
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"displayName": "Output",
|
|
80
|
+
"name": "output",
|
|
81
|
+
"type": "json",
|
|
82
|
+
"default": "{\n \"filename\": \"qrcodes\"\n}",
|
|
83
|
+
"routing": {
|
|
84
|
+
"send": {
|
|
85
|
+
"property": "output",
|
|
86
|
+
"propertyInDotNotation": false,
|
|
87
|
+
"type": "body",
|
|
88
|
+
"value": "={{ JSON.parse($value) }}"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"displayOptions": {
|
|
92
|
+
"show": {
|
|
93
|
+
"resource": [
|
|
94
|
+
"Multiple QR Codes"
|
|
95
|
+
],
|
|
96
|
+
"operation": [
|
|
97
|
+
"Qr Code Batch Batch Qrcode Post"
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"displayName": "Byvalue API Key",
|
|
104
|
+
"name": "security_byvalue",
|
|
105
|
+
"type": "string",
|
|
106
|
+
"default": "",
|
|
107
|
+
"description": "Connection to LinQR can be made through the <a href=\"https://www.app.byvalue.org/service/9051\" rel=\"noopener noreferrer\" target=\"_blank\" >Byvalue proxy</a>. The use of LinQR API is billed based on actual consumption and price per 1,000 requests. Using Byvalue gives you access to all API functionalities without the need to purchase any subscription. After registering in the Byvalue, an access key is generated that is used to connect to the API. More information about this connection method or pricing can be found directly in the <a href=\"https://www.app.byvalue.org/service/9051\" rel=\"noopener noreferrer\" target=\"_blank\" >LinQR listing in Byvalue</a>.\n\n<a href=\"https://www.app.byvalue.org/service/9051\" rel=\"noopener noreferrer\" target=\"_blank\" ><img width=\"215\" alt=\"Checkout with Byvalue\" src=\"https://byvalue-static-resources.s3.eu-central-1.amazonaws.com/byvalue-badges/bvlu_btn_dark.png\"></a>",
|
|
108
|
+
"required": false,
|
|
109
|
+
"routing": {
|
|
110
|
+
"request": {
|
|
111
|
+
"headers": {
|
|
112
|
+
"Byvalue-Token": "={{ $value }}"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"displayOptions": {
|
|
117
|
+
"show": {
|
|
118
|
+
"resource": [
|
|
119
|
+
"Multiple QR Codes"
|
|
120
|
+
],
|
|
121
|
+
"operation": [
|
|
122
|
+
"Qr Code Batch Batch Qrcode Post"
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"displayName": "X Rapid API Key (Header)",
|
|
129
|
+
"name": "security_rapidapi",
|
|
130
|
+
"type": "string",
|
|
131
|
+
"default": "",
|
|
132
|
+
"description": "The connection to LinQR can be made through a <a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" >RapidAPI proxy</a>. RapidAPI is a service that manages the use of API and keys while being an API load balancer. Access is granted on a subscription basis. LinQR subscriptions have different plans: `BASIC`, `PRO`, `ULTRA` and `MEGA`. They differ in the number of available functionalities and can be adjusted to the expected level of service usage. After registering at the RapidAPI, you can generate a key that will be used to authorize the client in the LinQR. More details on usage limits or pricing can be found directly on the <a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" >LinQR listing at the RapidAPI Hub</a>.\n\nIf you do not find a plan tailored to your needs in RapidAPI, contact us directly: we can prepare a custom subscription plan according to your needs.\n\n<a href=\"https://rapidapi.com/linqr-linqr-default/api/qrcode3/\" rel=\"noopener noreferrer\" target=\"_blank\" ><img width=\"215\" alt=\"Connect on RapidAPI\" src=\"https://files.readme.io/7002e7f-c563a12-rapidapi-badge-dark.png\"></a>",
|
|
133
|
+
"required": false,
|
|
134
|
+
"routing": {
|
|
135
|
+
"request": {
|
|
136
|
+
"headers": {
|
|
137
|
+
"X-RapidAPI-Key": "={{ $value }}"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"displayOptions": {
|
|
142
|
+
"show": {
|
|
143
|
+
"resource": [
|
|
144
|
+
"Multiple QR Codes"
|
|
145
|
+
],
|
|
146
|
+
"operation": [
|
|
147
|
+
"Qr Code Batch Batch Qrcode Post"
|
|
148
|
+
]
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
];
|
|
153
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Linqr/resources/multiple-qr-codes/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,0BAA0B,GAAsB;IAC7C;QACb,aAAa,EAAE,WAAW;QAC1B,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,SAAS;QACjB,kBAAkB,EAAE,IAAI;QACxB,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,mBAAmB;iBACnB;aACD;SACD;QACD,SAAS,EAAE;YACV;gBACC,MAAM,EAAE,iCAAiC;gBACzC,OAAO,EAAE,iCAAiC;gBAC1C,QAAQ,EAAE,eAAe;gBACzB,aAAa,EAAE,kRAAkR;gBACjS,SAAS,EAAE;oBACV,SAAS,EAAE;wBACV,QAAQ,EAAE,MAAM;wBAChB,KAAK,EAAE,gBAAgB;qBACvB;iBACD;aACD;SACD;QACD,SAAS,EAAE,EAAE;KACb;IACD;QACC,aAAa,EAAE,oBAAoB;QACnC,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,aAAa,EAAE;YACd,OAAO,EAAE,MAAM;SACf;QACD,SAAS,EAAE,EAAE;QACb,gBAAgB,EAAE;YACjB,MAAM,EAAE;gBACP,UAAU,EAAE;oBACX,mBAAmB;iBACnB;gBACD,WAAW,EAAE;oBACZ,iCAAiC;iBACjC;aACD;SACD;KACD;IACD;QACC,UAAU,EAAE,IAAI;QAChB,aAAa,EAAE,OAAO;QACtB,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,MAAM;QACd,SAAS,EAAE,4fAA4f;Q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