@limetech/n8n-nodes-lime 3.11.0-dev.1 → 3.11.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/CHANGELOG.md +37 -2
- package/README.md +5 -1
- package/credentials/LimeCrmApi.credentials.ts +1 -0
- package/credentials/LimeFormsApi.credentials.ts +1 -18
- package/credentials/LimeMarketingApi.credentials.ts +92 -0
- package/credentials/assets/lime-crm.svg +1 -0
- package/credentials/index.ts +1 -0
- package/dist/credentials/LimeCrmApi.credentials.d.ts +1 -0
- package/dist/credentials/LimeCrmApi.credentials.js +1 -0
- package/dist/credentials/LimeCrmApi.credentials.js.map +1 -1
- package/dist/credentials/LimeFormsApi.credentials.d.ts +1 -0
- package/dist/credentials/LimeFormsApi.credentials.js +1 -15
- package/dist/credentials/LimeFormsApi.credentials.js.map +1 -1
- package/dist/credentials/LimeMarketingApi.credentials.d.ts +9 -0
- package/dist/credentials/LimeMarketingApi.credentials.js +64 -0
- package/dist/credentials/LimeMarketingApi.credentials.js.map +1 -0
- package/dist/credentials/assets/lime-crm.svg +1 -0
- package/dist/credentials/index.d.ts +1 -0
- package/dist/credentials/index.js +1 -0
- package/dist/credentials/index.js.map +1 -1
- package/dist/nodes/index.d.ts +1 -0
- package/dist/nodes/index.js +1 -0
- package/dist/nodes/index.js.map +1 -1
- package/dist/nodes/lime-crm/assets/lime-crm.svg +0 -0
- package/dist/nodes/lime-crm/resources/data/index.js +0 -4
- package/dist/nodes/lime-crm/resources/data/index.js.map +1 -1
- package/dist/nodes/lime-crm/resources/data/operations/index.d.ts +0 -1
- package/dist/nodes/lime-crm/resources/data/operations/index.js +1 -2
- package/dist/nodes/lime-crm/resources/data/operations/index.js.map +1 -1
- package/dist/nodes/lime-crm/transport/commons.d.ts +2 -2
- package/dist/nodes/lime-crm/transport/commons.js +8 -7
- package/dist/nodes/lime-crm/transport/commons.js.map +1 -1
- package/dist/nodes/lime-forms/LimeFormsTrigger.node.js +22 -9
- package/dist/nodes/lime-forms/LimeFormsTrigger.node.js.map +1 -1
- package/dist/nodes/lime-forms/assets/lime-crm.svg +0 -0
- package/dist/nodes/lime-marketing/LimeMarketing.node.d.ts +16 -0
- package/dist/nodes/lime-marketing/LimeMarketing.node.js +121 -0
- package/dist/nodes/lime-marketing/LimeMarketing.node.js.map +1 -0
- package/dist/nodes/lime-marketing/assets/lime-crm.svg +1 -0
- package/dist/nodes/lime-marketing/index.d.ts +1 -0
- package/dist/nodes/lime-marketing/index.js +18 -0
- package/dist/nodes/lime-marketing/index.js.map +1 -0
- package/dist/nodes/lime-marketing/methods/getTemplateMergeCodeMappingColumns.d.ts +3 -0
- package/dist/nodes/lime-marketing/methods/getTemplateMergeCodeMappingColumns.js +52 -0
- package/dist/nodes/lime-marketing/methods/getTemplateMergeCodeMappingColumns.js.map +1 -0
- package/dist/nodes/lime-marketing/methods/getTemplates.d.ts +2 -0
- package/dist/nodes/lime-marketing/methods/getTemplates.js +24 -0
- package/dist/nodes/lime-marketing/methods/getTemplates.js.map +1 -0
- package/dist/nodes/lime-marketing/methods/index.d.ts +2 -0
- package/dist/nodes/lime-marketing/methods/index.js +8 -0
- package/dist/nodes/lime-marketing/methods/index.js.map +1 -0
- package/dist/nodes/lime-marketing/models/constants.d.ts +9 -0
- package/dist/nodes/lime-marketing/models/constants.js +13 -0
- package/dist/nodes/lime-marketing/models/constants.js.map +1 -0
- package/dist/nodes/lime-marketing/models/index.d.ts +6 -0
- package/dist/nodes/lime-marketing/models/index.js +14 -0
- package/dist/nodes/lime-marketing/models/index.js.map +1 -0
- package/dist/nodes/lime-marketing/models/operationInputs.d.ts +36 -0
- package/dist/nodes/lime-marketing/models/operationInputs.js +3 -0
- package/dist/nodes/lime-marketing/models/operationInputs.js.map +1 -0
- package/dist/nodes/lime-marketing/models/template.d.ts +10 -0
- package/dist/nodes/lime-marketing/models/template.js +3 -0
- package/dist/nodes/lime-marketing/models/template.js.map +1 -0
- package/dist/nodes/lime-marketing/models/transactionMail.d.ts +60 -0
- package/dist/nodes/lime-marketing/models/transactionMail.js +3 -0
- package/dist/nodes/lime-marketing/models/transactionMail.js.map +1 -0
- package/dist/nodes/lime-marketing/models/transactionSms.d.ts +20 -0
- package/dist/nodes/lime-marketing/models/transactionSms.js +3 -0
- package/dist/nodes/lime-marketing/models/transactionSms.js.map +1 -0
- package/dist/nodes/lime-marketing/models/transportError.d.ts +7 -0
- package/dist/nodes/lime-marketing/models/transportError.js +3 -0
- package/dist/nodes/lime-marketing/models/transportError.js.map +1 -0
- package/dist/nodes/lime-marketing/resources/transactionmail/index.d.ts +6 -0
- package/dist/nodes/lime-marketing/resources/transactionmail/index.js +56 -0
- package/dist/nodes/lime-marketing/resources/transactionmail/index.js.map +1 -0
- package/dist/nodes/lime-marketing/resources/transactionmail/operations/send.operation.d.ts +10 -0
- package/dist/nodes/lime-marketing/resources/transactionmail/operations/send.operation.js +543 -0
- package/dist/nodes/lime-marketing/resources/transactionmail/operations/send.operation.js.map +1 -0
- package/dist/nodes/lime-marketing/resources/transactionsms/index.d.ts +6 -0
- package/dist/nodes/lime-marketing/resources/transactionsms/index.js +56 -0
- package/dist/nodes/lime-marketing/resources/transactionsms/index.js.map +1 -0
- package/dist/nodes/{lime-crm/resources/data/operations/iterateCsv.d.ts → lime-marketing/resources/transactionsms/operations/send.operation.d.ts} +3 -2
- package/dist/nodes/lime-marketing/resources/transactionsms/operations/send.operation.js +171 -0
- package/dist/nodes/lime-marketing/resources/transactionsms/operations/send.operation.js.map +1 -0
- package/dist/nodes/lime-marketing/transport/index.d.ts +7 -0
- package/dist/nodes/lime-marketing/transport/index.js +34 -0
- package/dist/nodes/lime-marketing/transport/index.js.map +1 -0
- package/dist/nodes/lime-marketing/utils/index.d.ts +8 -0
- package/dist/nodes/lime-marketing/utils/index.js +62 -0
- package/dist/nodes/lime-marketing/utils/index.js.map +1 -0
- package/dist/nodes/lime-marketing/utils/mergeCodes.d.ts +26 -0
- package/dist/nodes/lime-marketing/utils/mergeCodes.js +85 -0
- package/dist/nodes/lime-marketing/utils/mergeCodes.js.map +1 -0
- package/dist/package.json +5 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/nodes/index.ts +1 -0
- package/nodes/lime-crm/assets/lime-crm.svg +0 -0
- package/nodes/lime-crm/resources/data/index.ts +0 -4
- package/nodes/lime-crm/resources/data/operations/index.ts +0 -4
- package/nodes/lime-crm/transport/commons.ts +9 -8
- package/nodes/lime-forms/LimeFormsTrigger.node.ts +51 -19
- package/nodes/lime-forms/assets/lime-crm.svg +0 -0
- package/nodes/lime-marketing/LimeMarketing.node.ts +180 -0
- package/nodes/lime-marketing/assets/lime-crm.svg +1 -0
- package/nodes/lime-marketing/index.ts +1 -0
- package/nodes/lime-marketing/methods/getTemplateMergeCodeMappingColumns.ts +70 -0
- package/nodes/lime-marketing/methods/getTemplates.ts +33 -0
- package/nodes/lime-marketing/methods/index.ts +2 -0
- package/nodes/lime-marketing/models/constants.ts +12 -0
- package/nodes/lime-marketing/models/index.ts +32 -0
- package/nodes/lime-marketing/models/operationInputs.ts +40 -0
- package/nodes/lime-marketing/models/template.ts +10 -0
- package/nodes/lime-marketing/models/transactionMail.ts +65 -0
- package/nodes/lime-marketing/models/transactionSms.ts +22 -0
- package/nodes/lime-marketing/models/transportError.ts +6 -0
- package/nodes/lime-marketing/resources/transactionmail/index.ts +22 -0
- package/nodes/lime-marketing/resources/transactionmail/operations/send.operation.ts +664 -0
- package/nodes/lime-marketing/resources/transactionsms/index.ts +22 -0
- package/nodes/lime-marketing/resources/transactionsms/operations/send.operation.ts +228 -0
- package/nodes/lime-marketing/transport/index.ts +68 -0
- package/nodes/lime-marketing/utils/index.ts +139 -0
- package/nodes/lime-marketing/utils/mergeCodes.ts +121 -0
- package/package.json +6 -7
- package/dist/nodes/lime-crm/resources/data/operations/iterateCsv.js +0 -225
- package/dist/nodes/lime-crm/resources/data/operations/iterateCsv.js.map +0 -1
- package/nodes/lime-crm/resources/data/operations/iterateCsv.ts +0 -377
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TagModel } from './transactionMail';
|
|
2
|
+
|
|
3
|
+
export type SendTransactionSmsArgs = {
|
|
4
|
+
Text: string;
|
|
5
|
+
FromNumber: string;
|
|
6
|
+
DestinationNumber: string;
|
|
7
|
+
MaxParts?: number;
|
|
8
|
+
DeliveryTimeoutHours?: number;
|
|
9
|
+
ScheduledSendDate?: string;
|
|
10
|
+
TextContentTagModels?: TagModel[];
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type TransactionSmsModel = {
|
|
14
|
+
TransactionSmsId: number;
|
|
15
|
+
DestinationNumber: string;
|
|
16
|
+
FromNumber: string;
|
|
17
|
+
MaxParts: number | null;
|
|
18
|
+
ScheduledSendTime: string | null;
|
|
19
|
+
Text: string;
|
|
20
|
+
DeliveryTimeoutHours: number;
|
|
21
|
+
CreationDate: string;
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { INodeProperties } from 'n8n-workflow';
|
|
2
|
+
import { SEND_OPERATION, TRANSACTIONAL_EMAIL_RESOURCE } from '../../models';
|
|
3
|
+
import * as send from './operations/send.operation';
|
|
4
|
+
|
|
5
|
+
export const transactionMailFields: INodeProperties[] = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Operation',
|
|
8
|
+
name: 'operation',
|
|
9
|
+
type: 'options',
|
|
10
|
+
noDataExpression: true,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: { resource: [TRANSACTIONAL_EMAIL_RESOURCE] },
|
|
13
|
+
},
|
|
14
|
+
options: [send.description],
|
|
15
|
+
default: SEND_OPERATION,
|
|
16
|
+
},
|
|
17
|
+
...send.properties,
|
|
18
|
+
];
|
|
19
|
+
|
|
20
|
+
export const transactionMailOperations = {
|
|
21
|
+
[SEND_OPERATION]: send.execute,
|
|
22
|
+
};
|