@kirimemail/n8n-nodes-smtp-management 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/README.md +54 -0
- package/dist/assets/logo-bg-black.svg +1 -0
- package/dist/assets/logo-bg-white.svg +1 -0
- package/dist/credentials/KirimEmailSmtpUserApi.credentials.d.ts +10 -0
- package/dist/credentials/KirimEmailSmtpUserApi.credentials.js +42 -0
- package/dist/credentials/KirimEmailSmtpUserApi.credentials.js.map +1 -0
- package/dist/credentials/assets/logo-bg-black.svg +1 -0
- package/dist/credentials/assets/logo-bg-white.svg +1 -0
- package/dist/icons/github.dark.svg +3 -0
- package/dist/icons/github.svg +3 -0
- package/dist/nodes/KirimEmailQuota/KirimEmailQuota.node.d.ts +12 -0
- package/dist/nodes/KirimEmailQuota/KirimEmailQuota.node.js +66 -0
- package/dist/nodes/KirimEmailQuota/KirimEmailQuota.node.js.map +1 -0
- package/dist/nodes/KirimEmailQuota/assets/logo-bg-black.svg +1 -0
- package/dist/nodes/KirimEmailQuota/assets/logo-bg-white.svg +1 -0
- package/dist/nodes/KirimEmailValidation/KirimEmailValidation.node.d.ts +40 -0
- package/dist/nodes/KirimEmailValidation/KirimEmailValidation.node.js +146 -0
- package/dist/nodes/KirimEmailValidation/KirimEmailValidation.node.js.map +1 -0
- package/dist/nodes/KirimEmailValidation/assets/logo-bg-black.svg +1 -0
- package/dist/nodes/KirimEmailValidation/assets/logo-bg-white.svg +1 -0
- package/dist/package.json +51 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +51 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KirimEmailQuota = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
class KirimEmailQuota {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.description = {
|
|
8
|
+
displayName: 'KirimEmail Quota',
|
|
9
|
+
name: 'kirimEmailQuota',
|
|
10
|
+
icon: {
|
|
11
|
+
light: 'file:assets/logo-bg-white.svg',
|
|
12
|
+
dark: 'file:assets/logo-bg-black.svg',
|
|
13
|
+
},
|
|
14
|
+
group: ['transform'],
|
|
15
|
+
version: 1,
|
|
16
|
+
subtitle: '={{$parameter["operation"]}}',
|
|
17
|
+
description: 'Check quota information using Kirim.Email SMTP',
|
|
18
|
+
defaults: {
|
|
19
|
+
name: 'KirimEmail Quota',
|
|
20
|
+
},
|
|
21
|
+
usableAsTool: true,
|
|
22
|
+
inputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
23
|
+
outputs: [n8n_workflow_1.NodeConnectionTypes.Main],
|
|
24
|
+
credentials: [
|
|
25
|
+
{
|
|
26
|
+
name: 'kirimEmailSmtpUserApi',
|
|
27
|
+
required: true,
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
requestDefaults: {
|
|
31
|
+
baseURL: 'https://smtp-app.kirim.email',
|
|
32
|
+
headers: {
|
|
33
|
+
Accept: 'application/json',
|
|
34
|
+
'Content-Type': 'application/json',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
properties: [
|
|
38
|
+
{
|
|
39
|
+
displayName: 'Operation',
|
|
40
|
+
name: 'operation',
|
|
41
|
+
type: 'options',
|
|
42
|
+
noDataExpression: true,
|
|
43
|
+
options: [
|
|
44
|
+
{
|
|
45
|
+
name: 'Get',
|
|
46
|
+
value: 'get',
|
|
47
|
+
description: 'Get current quota information',
|
|
48
|
+
action: 'Get quota',
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
default: 'get',
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
};
|
|
55
|
+
this.requestMethods = {
|
|
56
|
+
get: 'GET',
|
|
57
|
+
};
|
|
58
|
+
this.routing = {
|
|
59
|
+
'/api/quota': {
|
|
60
|
+
get: {},
|
|
61
|
+
},
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.KirimEmailQuota = KirimEmailQuota;
|
|
66
|
+
//# sourceMappingURL=KirimEmailQuota.node.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KirimEmailQuota.node.js","sourceRoot":"","sources":["../../../nodes/KirimEmailQuota/KirimEmailQuota.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAE9F,MAAa,eAAe;IAA5B;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,kBAAkB;YAC/B,IAAI,EAAE,iBAAiB;YACvB,IAAI,EAAE;gBACL,KAAK,EAAE,+BAA+B;gBACtC,IAAI,EAAE,+BAA+B;aACrC;YACD,KAAK,EAAE,CAAC,WAAW,CAAC;YACpB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8BAA8B;YACxC,WAAW,EAAE,gDAAgD;YAC7D,QAAQ,EAAE;gBACT,IAAI,EAAE,kBAAkB;aACxB;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,uBAAuB;oBAC7B,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,8BAA8B;gBACvC,OAAO,EAAE;oBACR,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBAClC;aACD;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,WAAW;oBACxB,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,KAAK;4BACX,KAAK,EAAE,KAAK;4BACZ,WAAW,EAAE,+BAA+B;4BAC5C,MAAM,EAAE,WAAW;yBACnB;qBACD;oBACD,OAAO,EAAE,KAAK;iBACd;aACD;SACD,CAAC;QAEF,mBAAc,GAAG;YAChB,GAAG,EAAE,KAAK;SACV,CAAC;QAEF,YAAO,GAAG;YACT,YAAY,EAAE;gBACb,GAAG,EAAE,EAAE;aACP;SACD,CAAC;IACH,CAAC;CAAA;AA3DD,0CA2DC"}
|