@limetech/n8n-nodes-lime 0.3.1 → 0.3.3
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/dist/nodes/fortnox/commons.js +3 -3
- package/dist/nodes/fortnox/commons.js.map +1 -1
- package/dist/nodes/fortnox/fortnoxLogo.svg +15 -0
- package/dist/nodes/fortnox/resources/customers/index.d.ts +2 -2
- package/dist/nodes/fortnox/resources/customers/index.js +19 -9
- package/dist/nodes/fortnox/resources/customers/index.js.map +1 -1
- package/dist/nodes/fortnox/resources/customers/operations/create.operation.js +2 -2
- package/dist/nodes/fortnox/resources/customers/operations/create.operation.js.map +1 -1
- package/dist/nodes/fortnox/resources/customers/operations/delete.operation.js +2 -2
- package/dist/nodes/fortnox/resources/customers/operations/delete.operation.js.map +1 -1
- package/dist/nodes/fortnox/resources/customers/operations/get.operation.js +2 -2
- package/dist/nodes/fortnox/resources/customers/operations/get.operation.js.map +1 -1
- package/dist/nodes/fortnox/resources/customers/operations/getAll.operation.js +2 -2
- package/dist/nodes/fortnox/resources/customers/operations/getAll.operation.js.map +1 -1
- package/dist/nodes/fortnox/resources/customers/operations/update.operation.js +2 -2
- package/dist/nodes/fortnox/resources/customers/operations/update.operation.js.map +1 -1
- package/dist/nodes/fortnox/resources/invoice/index.d.ts +2 -2
- package/dist/nodes/fortnox/resources/invoice/index.js +19 -9
- package/dist/nodes/fortnox/resources/invoice/index.js.map +1 -1
- package/dist/nodes/fortnox/resources/invoice/operations/create.operation.js +2 -2
- package/dist/nodes/fortnox/resources/invoice/operations/create.operation.js.map +1 -1
- package/dist/nodes/fortnox/resources/invoice/operations/get.operation.js +2 -2
- package/dist/nodes/fortnox/resources/invoice/operations/get.operation.js.map +1 -1
- package/dist/nodes/fortnox/resources/invoice/operations/getAll.operation.js +2 -2
- package/dist/nodes/fortnox/resources/invoice/operations/getAll.operation.js.map +1 -1
- package/dist/nodes/fortnox/resources/invoice/operations/update.operation.js +2 -2
- package/dist/nodes/fortnox/resources/invoice/operations/update.operation.js.map +1 -1
- package/dist/nodes/fortnox/transport/errorCodes.js +1 -2
- package/dist/nodes/fortnox/transport/errorCodes.js.map +1 -1
- package/dist/nodes/fortnox/transport/index.js +2 -2
- package/dist/nodes/fortnox/transport/index.js.map +1 -1
- package/dist/nodes/lime-crm/commons/task.js +1 -2
- package/dist/nodes/lime-crm/commons/task.js.map +1 -1
- package/dist/nodes/lime-crm/commons/webhook.js +1 -2
- package/dist/nodes/lime-crm/commons/webhook.js.map +1 -1
- package/dist/nodes/lime-crm/methods/getEntitiesForErpSystem.js +1 -2
- package/dist/nodes/lime-crm/methods/getEntitiesForErpSystem.js.map +1 -1
- package/dist/nodes/lime-crm/methods/getLimeTypeProperties.js +1 -2
- package/dist/nodes/lime-crm/methods/getLimeTypeProperties.js.map +1 -1
- package/dist/nodes/lime-crm/methods/getLimeTypes.js +1 -2
- package/dist/nodes/lime-crm/methods/getLimeTypes.js.map +1 -1
- package/dist/nodes/lime-crm/resources/erpConnector/index.d.ts +4 -4
- package/dist/nodes/lime-crm/resources/erpConnector/index.js +19 -9
- package/dist/nodes/lime-crm/resources/erpConnector/index.js.map +1 -1
- package/dist/nodes/lime-crm/resources/erpConnector/operations/createOrUpdateObjects.operation.d.ts +2 -2
- package/dist/nodes/lime-crm/resources/erpConnector/operations/createOrUpdateObjects.operation.js +2 -2
- package/dist/nodes/lime-crm/resources/erpConnector/operations/createOrUpdateObjects.operation.js.map +1 -1
- package/dist/nodes/lime-crm/resources/erpConnector/operations/transform.operation.js +2 -2
- package/dist/nodes/lime-crm/resources/erpConnector/operations/transform.operation.js.map +1 -1
- package/dist/nodes/lime-crm/resources/erpConnector/transform.js +1 -2
- package/dist/nodes/lime-crm/resources/erpConnector/transform.js.map +1 -1
- package/dist/nodes/lime-crm/resources/limeObject/index.d.ts +2 -2
- package/dist/nodes/lime-crm/resources/limeObject/index.js +19 -9
- package/dist/nodes/lime-crm/resources/limeObject/index.js.map +1 -1
- package/dist/nodes/lime-crm/resources/limeObject/operations/create.operation.js +2 -2
- package/dist/nodes/lime-crm/resources/limeObject/operations/create.operation.js.map +1 -1
- package/dist/nodes/lime-crm/resources/limeObject/operations/delete.operation.js +2 -2
- package/dist/nodes/lime-crm/resources/limeObject/operations/delete.operation.js.map +1 -1
- package/dist/nodes/lime-crm/resources/limeObject/operations/get.operation.js +2 -2
- package/dist/nodes/lime-crm/resources/limeObject/operations/get.operation.js.map +1 -1
- package/dist/nodes/lime-crm/resources/limeObject/operations/search.operation.js +2 -2
- package/dist/nodes/lime-crm/resources/limeObject/operations/search.operation.js.map +1 -1
- package/dist/nodes/lime-crm/resources/limeObject/operations/update.operation.js +2 -2
- package/dist/nodes/lime-crm/resources/limeObject/operations/update.operation.js.map +1 -1
- package/dist/nodes/lime-crm/resources/limeType/index.d.ts +2 -2
- package/dist/nodes/lime-crm/resources/limeType/index.js +19 -9
- package/dist/nodes/lime-crm/resources/limeType/index.js.map +1 -1
- package/dist/nodes/lime-crm/resources/limeType/operations/getProperties.operation.js +2 -2
- package/dist/nodes/lime-crm/resources/limeType/operations/getProperties.operation.js.map +1 -1
- package/dist/nodes/lime-crm/resources/limeType/operations/getType.operation.js +2 -2
- package/dist/nodes/lime-crm/resources/limeType/operations/getType.operation.js.map +1 -1
- package/dist/nodes/lime-crm/resources/limeType/operations/listTypes.operation.js +2 -2
- package/dist/nodes/lime-crm/resources/limeType/operations/listTypes.operation.js.map +1 -1
- package/dist/nodes/lime-crm/transport/commons.js +1 -2
- package/dist/nodes/lime-crm/transport/commons.js.map +1 -1
- package/dist/nodes/lime-crm/transport/erpConnector.js +1 -2
- package/dist/nodes/lime-crm/transport/erpConnector.js.map +1 -1
- package/dist/nodes/lime-crm/transport/limeobjects.js +5 -6
- package/dist/nodes/lime-crm/transport/limeobjects.js.map +1 -1
- package/dist/nodes/lime-crm/transport/limetypes.js +3 -4
- package/dist/nodes/lime-crm/transport/limetypes.js.map +1 -1
- package/dist/nodes/lime-crm/transport/task.js +1 -2
- package/dist/nodes/lime-crm/transport/task.js.map +1 -1
- package/dist/nodes/lime-crm/transport/webhooks.js +4 -5
- package/dist/nodes/lime-crm/transport/webhooks.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/credentials/LimeGoApi.credentials.d.ts +0 -15
- package/dist/credentials/LimeGoApi.credentials.js +0 -32
- package/dist/credentials/LimeGoApi.credentials.js.map +0 -1
- package/dist/nodes/LimeCrm/GenericTypes.d.ts +0 -80
- package/dist/nodes/LimeCrm/GenericTypes.js +0 -7
- package/dist/nodes/LimeCrm/GenericTypes.js.map +0 -1
- package/dist/nodes/LimeCrm/LimeCrmNode.node.d.ts +0 -17
- package/dist/nodes/LimeCrm/LimeCrmNode.node.js +0 -114
- package/dist/nodes/LimeCrm/LimeCrmNode.node.js.map +0 -1
- package/dist/nodes/LimeCrm/LimeCrmTrigger/LimeCrmTrigger.node.d.ts +0 -17
- package/dist/nodes/LimeCrm/LimeCrmTrigger/LimeCrmTrigger.node.js +0 -408
- package/dist/nodes/LimeCrm/LimeCrmTrigger/LimeCrmTrigger.node.js.map +0 -1
- package/dist/nodes/LimeCrm/LimeCrmTrigger.node.d.ts +0 -17
- package/dist/nodes/LimeCrm/LimeCrmTrigger.node.js +0 -439
- package/dist/nodes/LimeCrm/LimeCrmTrigger.node.js.map +0 -1
- package/dist/nodes/LimeCrm/methods/getAllSortableFields.d.ts +0 -7
- package/dist/nodes/LimeCrm/methods/getAllSortableFields.js +0 -53
- package/dist/nodes/LimeCrm/methods/getAllSortableFields.js.map +0 -1
- package/dist/nodes/LimeCrm/methods/getLimeTypeProperties.d.ts +0 -3
- package/dist/nodes/LimeCrm/methods/getLimeTypeProperties.js +0 -40
- package/dist/nodes/LimeCrm/methods/getLimeTypeProperties.js.map +0 -1
- package/dist/nodes/LimeCrm/methods/getLimeTypeRelations.d.ts +0 -7
- package/dist/nodes/LimeCrm/methods/getLimeTypeRelations.js +0 -30
- package/dist/nodes/LimeCrm/methods/getLimeTypeRelations.js.map +0 -1
- package/dist/nodes/LimeCrm/methods/getLimeTypes.d.ts +0 -3
- package/dist/nodes/LimeCrm/methods/getLimeTypes.js +0 -33
- package/dist/nodes/LimeCrm/methods/getLimeTypes.js.map +0 -1
- package/dist/nodes/LimeCrm/methods/getRelatedTypeProperties.d.ts +0 -7
- package/dist/nodes/LimeCrm/methods/getRelatedTypeProperties.js +0 -39
- package/dist/nodes/LimeCrm/methods/getRelatedTypeProperties.js.map +0 -1
- package/dist/nodes/LimeCrm/methods/index.d.ts +0 -5
- package/dist/nodes/LimeCrm/methods/index.js +0 -14
- package/dist/nodes/LimeCrm/methods/index.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeObject/commonFields.d.ts +0 -4
- package/dist/nodes/LimeCrm/resources/limeObject/commonFields.js +0 -165
- package/dist/nodes/LimeCrm/resources/limeObject/commonFields.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeObject/index.d.ts +0 -6
- package/dist/nodes/LimeCrm/resources/limeObject/index.js +0 -79
- package/dist/nodes/LimeCrm/resources/limeObject/index.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeObject/operations/common.operation.d.ts +0 -2
- package/dist/nodes/LimeCrm/resources/limeObject/operations/common.operation.js +0 -36
- package/dist/nodes/LimeCrm/resources/limeObject/operations/common.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeObject/operations/create.operation.d.ts +0 -9
- package/dist/nodes/LimeCrm/resources/limeObject/operations/create.operation.js +0 -234
- package/dist/nodes/LimeCrm/resources/limeObject/operations/create.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeObject/operations/delete.operation.d.ts +0 -9
- package/dist/nodes/LimeCrm/resources/limeObject/operations/delete.operation.js +0 -136
- package/dist/nodes/LimeCrm/resources/limeObject/operations/delete.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeObject/operations/get.operation.d.ts +0 -9
- package/dist/nodes/LimeCrm/resources/limeObject/operations/get.operation.js +0 -125
- package/dist/nodes/LimeCrm/resources/limeObject/operations/get.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeObject/operations/getAll.operation.d.ts +0 -3
- package/dist/nodes/LimeCrm/resources/limeObject/operations/getAll.operation.js +0 -212
- package/dist/nodes/LimeCrm/resources/limeObject/operations/getAll.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeObject/operations/search.operation.d.ts +0 -9
- package/dist/nodes/LimeCrm/resources/limeObject/operations/search.operation.js +0 -232
- package/dist/nodes/LimeCrm/resources/limeObject/operations/search.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeObject/operations/update.operation.d.ts +0 -9
- package/dist/nodes/LimeCrm/resources/limeObject/operations/update.operation.js +0 -186
- package/dist/nodes/LimeCrm/resources/limeObject/operations/update.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeType/index.d.ts +0 -6
- package/dist/nodes/LimeCrm/resources/limeType/index.js +0 -81
- package/dist/nodes/LimeCrm/resources/limeType/index.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeType/operations/getProperties.operation.d.ts +0 -9
- package/dist/nodes/LimeCrm/resources/limeType/operations/getProperties.operation.js +0 -112
- package/dist/nodes/LimeCrm/resources/limeType/operations/getProperties.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeType/operations/getRelations.operation.d.ts +0 -9
- package/dist/nodes/LimeCrm/resources/limeType/operations/getRelations.operation.js +0 -112
- package/dist/nodes/LimeCrm/resources/limeType/operations/getRelations.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeType/operations/getType.operation.d.ts +0 -9
- package/dist/nodes/LimeCrm/resources/limeType/operations/getType.operation.js +0 -70
- package/dist/nodes/LimeCrm/resources/limeType/operations/getType.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/limeType/operations/listTypes.operation.d.ts +0 -9
- package/dist/nodes/LimeCrm/resources/limeType/operations/listTypes.operation.js +0 -86
- package/dist/nodes/LimeCrm/resources/limeType/operations/listTypes.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/queryApi/index.d.ts +0 -6
- package/dist/nodes/LimeCrm/resources/queryApi/index.js +0 -57
- package/dist/nodes/LimeCrm/resources/queryApi/index.js.map +0 -1
- package/dist/nodes/LimeCrm/resources/queryApi/operations/executeQuery.operation.d.ts +0 -9
- package/dist/nodes/LimeCrm/resources/queryApi/operations/executeQuery.operation.js +0 -559
- package/dist/nodes/LimeCrm/resources/queryApi/operations/executeQuery.operation.js.map +0 -1
- package/dist/nodes/LimeCrm/transport/index.d.ts +0 -2
- package/dist/nodes/LimeCrm/transport/index.js +0 -50
- package/dist/nodes/LimeCrm/transport/index.js.map +0 -1
- package/dist/nodes/LimeGo/LimeGo.node.d.ts +0 -8
- package/dist/nodes/LimeGo/LimeGo.node.js +0 -123
- package/dist/nodes/LimeGo/LimeGo.node.js.map +0 -1
- package/dist/nodes/LimeGo/actions/organization/get.operation.d.ts +0 -5
- package/dist/nodes/LimeGo/actions/organization/get.operation.js +0 -39
- package/dist/nodes/LimeGo/actions/organization/get.operation.js.map +0 -1
- package/dist/nodes/LimeGo/actions/organization/getByExternalKey.operation.d.ts +0 -5
- package/dist/nodes/LimeGo/actions/organization/getByExternalKey.operation.js +0 -54
- package/dist/nodes/LimeGo/actions/organization/getByExternalKey.operation.js.map +0 -1
- package/dist/nodes/LimeGo/actions/organization/index.d.ts +0 -7
- package/dist/nodes/LimeGo/actions/organization/index.js +0 -92
- package/dist/nodes/LimeGo/actions/organization/index.js.map +0 -1
- package/dist/nodes/LimeGo/actions/organization/organizationFields.d.ts +0 -2
- package/dist/nodes/LimeGo/actions/organization/organizationFields.js +0 -162
- package/dist/nodes/LimeGo/actions/organization/organizationFields.js.map +0 -1
- package/dist/nodes/LimeGo/actions/organization/search.operation.d.ts +0 -5
- package/dist/nodes/LimeGo/actions/organization/search.operation.js +0 -70
- package/dist/nodes/LimeGo/actions/organization/search.operation.js.map +0 -1
- package/dist/nodes/LimeGo/actions/organization/update.operation.d.ts +0 -5
- package/dist/nodes/LimeGo/actions/organization/update.operation.js +0 -125
- package/dist/nodes/LimeGo/actions/organization/update.operation.js.map +0 -1
- package/dist/nodes/LimeGo/actions/person/createMail.operation.d.ts +0 -7
- package/dist/nodes/LimeGo/actions/person/createMail.operation.js +0 -130
- package/dist/nodes/LimeGo/actions/person/createMail.operation.js.map +0 -1
- package/dist/nodes/LimeGo/actions/person/get.operation.d.ts +0 -7
- package/dist/nodes/LimeGo/actions/person/get.operation.js +0 -45
- package/dist/nodes/LimeGo/actions/person/get.operation.js.map +0 -1
- package/dist/nodes/LimeGo/actions/person/index.d.ts +0 -7
- package/dist/nodes/LimeGo/actions/person/index.js +0 -92
- package/dist/nodes/LimeGo/actions/person/index.js.map +0 -1
- package/dist/nodes/LimeGo/actions/person/personFields.d.ts +0 -2
- package/dist/nodes/LimeGo/actions/person/personFields.js +0 -134
- package/dist/nodes/LimeGo/actions/person/personFields.js.map +0 -1
- package/dist/nodes/LimeGo/actions/person/search.operation.d.ts +0 -7
- package/dist/nodes/LimeGo/actions/person/search.operation.js +0 -81
- package/dist/nodes/LimeGo/actions/person/search.operation.js.map +0 -1
- package/dist/nodes/LimeGo/actions/person/update.operation.d.ts +0 -7
- package/dist/nodes/LimeGo/actions/person/update.operation.js +0 -104
- package/dist/nodes/LimeGo/actions/person/update.operation.js.map +0 -1
- package/dist/nodes/LimeGo/lime-go.svg +0 -1
- package/dist/nodes/LimeGo/transport/graphqlRequest.d.ts +0 -2
- package/dist/nodes/LimeGo/transport/graphqlRequest.js +0 -23
- package/dist/nodes/LimeGo/transport/graphqlRequest.js.map +0 -1
- /package/dist/nodes/{LimeCrm → lime-crm/assets}/lime-crm.svg +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLimeTypes.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/methods/getLimeTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getLimeTypes.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/methods/getLimeTypes.ts"],"names":[],"mappings":";;AAMA,oCAgBC;AArBD,4CAAmD;AAK5C,KAAK,UAAU,YAAY;IAG9B,MAAM,IAAI,GAA2B,EAAE,CAAC;IACxC,MAAM,QAAQ,GAAG,MAAM,IAAA,+BAAmB,EAAC,IAAI,CAAC,CAAC;IACjD,IAAI,QAAQ,CAAC,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC;QACpC,KAAK,MAAM,QAAQ,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC;YACnC,IAAI,QAAQ,CAAC,IAAI,EAAE,CAAC;gBAChB,IAAI,CAAC,IAAI,CAAC;oBACN,IAAI,EAAE,QAAQ,CAAC,IAAI;oBACnB,KAAK,EAAE,QAAQ,CAAC,IAAI;iBACvB,CAAC,CAAC;YACP,CAAC;QACL,CAAC;IACL,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
|
|
@@ -6,9 +6,9 @@ export declare function erpConnectorOperations(this: IExecuteFunctions, { operat
|
|
|
6
6
|
}): Promise<{
|
|
7
7
|
success: false;
|
|
8
8
|
error: string;
|
|
9
|
-
status?: number
|
|
10
|
-
metadata?: Record<string, unknown
|
|
11
|
-
} | {
|
|
9
|
+
status?: number;
|
|
10
|
+
metadata?: Record<string, unknown>;
|
|
11
|
+
} | import("./transform").LimeCrmData | {
|
|
12
12
|
success: boolean;
|
|
13
13
|
error: string;
|
|
14
14
|
metadata: {
|
|
@@ -20,4 +20,4 @@ export declare function erpConnectorOperations(this: IExecuteFunctions, { operat
|
|
|
20
20
|
data: unknown;
|
|
21
21
|
error?: undefined;
|
|
22
22
|
metadata?: undefined;
|
|
23
|
-
} |
|
|
23
|
+
} | null>;
|
|
@@ -15,15 +15,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
36
|
+
exports.erpConnectorFields = void 0;
|
|
37
|
+
exports.erpConnectorOperations = erpConnectorOperations;
|
|
27
38
|
const createOrUpdateObjects = __importStar(require("./operations/createOrUpdateObjects.operation"));
|
|
28
39
|
const transform = __importStar(require("./operations/transform.operation"));
|
|
29
40
|
const commons_1 = require("../../commons");
|
|
@@ -53,5 +64,4 @@ async function erpConnectorOperations({ operation, i }) {
|
|
|
53
64
|
}
|
|
54
65
|
return null;
|
|
55
66
|
}
|
|
56
|
-
exports.erpConnectorOperations = erpConnectorOperations;
|
|
57
67
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/lime-crm/resources/erpConnector/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/lime-crm/resources/erpConnector/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,wDAYC;AApCD,oGAAsF;AACtF,4EAA8D;AAE9D,2CAAuD;AAE1C,QAAA,kBAAkB,GAAsB;IACjD;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAA8B;QACpC,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,gCAAsB,CAAC;aACrC;SACJ;QACD,OAAO,EAAE,CAAC,qBAAqB,CAAC,WAAW,EAAE,SAAS,CAAC,WAAW,CAAC;QACnE,OAAO,EAAE,kBAAkB;KAC9B;IAED,GAAG,qBAAqB,CAAC,UAAU;IACnC,GAAG,SAAS,CAAC,UAAU;CAC1B,CAAC;AAEK,KAAK,UAAU,sBAAsB,CAExC,EAAE,SAAS,EAAE,CAAC,EAAoC;IAElD,IAAI,SAAS,KAAK,uBAAuB,EAAE,CAAC;QACxC,OAAO,MAAM,qBAAqB,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC7D,CAAC;IACD,IAAI,SAAS,KAAK,kBAAkB,EAAE,CAAC;QACnC,OAAO,MAAM,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACjD,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC"}
|
package/dist/nodes/lime-crm/resources/erpConnector/operations/createOrUpdateObjects.operation.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ export declare const properties: INodeProperties[];
|
|
|
9
9
|
export declare function execute(this: IExecuteFunctions, i: number): Promise<{
|
|
10
10
|
success: false;
|
|
11
11
|
error: string;
|
|
12
|
-
status?: number
|
|
13
|
-
metadata?: Record<string, unknown
|
|
12
|
+
status?: number;
|
|
13
|
+
metadata?: Record<string, unknown>;
|
|
14
14
|
} | {
|
|
15
15
|
success: boolean;
|
|
16
16
|
error: string;
|
package/dist/nodes/lime-crm/resources/erpConnector/operations/createOrUpdateObjects.operation.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.properties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transport_1 = require("../../../transport");
|
|
5
6
|
const commons_1 = require("../../../commons");
|
|
6
7
|
const task_1 = require("../../../commons/task");
|
|
@@ -61,5 +62,4 @@ async function execute(i) {
|
|
|
61
62
|
const taskId = response.data.id;
|
|
62
63
|
return await (0, task_1.waitForTaskCompletion)(this, taskId, pollInterval, timeout);
|
|
63
64
|
}
|
|
64
|
-
exports.execute = execute;
|
|
65
65
|
//# sourceMappingURL=createOrUpdateObjects.operation.js.map
|
package/dist/nodes/lime-crm/resources/erpConnector/operations/createOrUpdateObjects.operation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOrUpdateObjects.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/erpConnector/operations/createOrUpdateObjects.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"createOrUpdateObjects.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/erpConnector/operations/createOrUpdateObjects.operation.ts"],"names":[],"mappings":";;;AAwDA,0BAYC;AAlED,kDAAoE;AACpE,8CAA0D;AAE1D,gDAA8D;AAEjD,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,+BAA+B;IACrC,KAAK,EAAE,uBAAuB;IAC9B,WAAW,EAAE,oCAAoC;IACjD,MAAM,EAAE,0BAA0B;CACrC,CAAC;AAEW,QAAA,UAAU,GAAsB;IACzC;QACI,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE,EAAE;QACX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,EAAC,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;AAC5E,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.properties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transform_1 = require("../transform");
|
|
5
6
|
const commons_1 = require("../../../commons");
|
|
6
7
|
exports.description = {
|
|
@@ -216,5 +217,4 @@ async function execute(i) {
|
|
|
216
217
|
]));
|
|
217
218
|
return (0, transform_1.transform)(erpSystem, entity, data[0].json, searchParameters, customLimeTypeNames, customPropertiesNames);
|
|
218
219
|
}
|
|
219
|
-
exports.execute = execute;
|
|
220
220
|
//# sourceMappingURL=transform.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/erpConnector/operations/transform.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"transform.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/erpConnector/operations/transform.operation.ts"],"names":[],"mappings":";;;AAuOA,0BA0CC;AA3QD,4CAOsB;AACtB,8CAA0D;AAE7C,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,oBAAoB;IAC1B,KAAK,EAAE,kBAAkB;IACzB,WAAW,EACP,oEAAoE;IACxE,MAAM,EAAE,WAAW;CACtB,CAAC;AAeF,MAAM,QAAQ,GAAkC;IAC5C,OAAO,EAAE;QACL,gBAAgB;QAChB,SAAS;QACT,YAAY;QACZ,oBAAoB;QACpB,UAAU;QACV,cAAc;QACd,cAAc;QACd,iBAAiB;QACjB,UAAU;QACV,gBAAgB;QAChB,aAAa;QACb,aAAa;QACb,mBAAmB;QACnB,iBAAiB;QACjB,MAAM;QACN,WAAW;QACX,kBAAkB;KACrB;IACD,UAAU,EAAE;Q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C5D,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAC1C,kBAAkB,EAClB,CAAC,CACgB,CAAC;IACtB,MAAM,mBAAmB,GAAG,IAAI,CAAC,gBAAgB,CAC7C,qBAAqB,EACrB,CAAC,CACmB,CAAC;IACzB,MAAM,uBAAuB,GAAG,IAAI,CAAC,gBAAgB,CACjD,yBAAyB,EACzB,CAAC,CACuB,CAAC;IAE7B,MAAM,qBAAqB,GAAG,MAAM,CAAC,WAAW,CAC5C,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,GAAG,CACvC,CAAC,CAAC,QAAQ,EAAE,EAAE,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC;QAC5B,QAAQ;QACR,MAAM,CAAC,WAAW,CACd,UAAU,CAAC,GAAG,CACV,CAAC,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,EAAE,EAAE,CAAC;YAC7C,mBAAmB;YACnB,kBAAkB;SACrB,CACJ,CACJ;KACJ,CACJ,CACJ,CAAC;IAEF,OAAO,IAAA,qBAAS,EACZ,SAAS,EACT,MAAM,EACN,IAAI,CAAC,CAAC,CAAC,CAAC,IAAe,EACvB,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,CACxB,CAAC;AACN,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.transform =
|
|
3
|
+
exports.transform = transform;
|
|
4
4
|
const transformers_1 = require("./transformers");
|
|
5
5
|
function transform(erpSystem, entity, data, searchParameters, customLimeTypeNames, customPropertiesNames) {
|
|
6
6
|
if (erpSystem === 'fortnox') {
|
|
@@ -8,5 +8,4 @@ function transform(erpSystem, entity, data, searchParameters, customLimeTypeName
|
|
|
8
8
|
}
|
|
9
9
|
throw new Error(`Unsupported ERP system: ${erpSystem}`);
|
|
10
10
|
}
|
|
11
|
-
exports.transform = transform;
|
|
12
11
|
//# sourceMappingURL=transform.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transform.js","sourceRoot":"","sources":["../../../../../nodes/lime-crm/resources/erpConnector/transform.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transform.js","sourceRoot":"","sources":["../../../../../nodes/lime-crm/resources/erpConnector/transform.ts"],"names":[],"mappings":";;AA8BA,8BAkBC;AAhDD,iDAAoD;AA8BpD,SAAgB,SAAS,CACrB,SAAoB,EACpB,MAAc,EACd,IAAa,EACb,gBAAkC,EAClC,mBAAyC,EACzC,qBAA6C;IAE7C,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,IAAI,iCAAkB,EAAE,CAAC,SAAS,CACrC,MAAM,EACN,IAAI,EACJ,gBAAgB,EAChB,mBAAmB,EACnB,qBAAqB,CACxB,CAAC;IACN,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,2BAA2B,SAAS,EAAE,CAAC,CAAC;AAC5D,CAAC"}
|
|
@@ -6,8 +6,8 @@ export declare function limeObjectOperations(this: IExecuteFunctions, { operatio
|
|
|
6
6
|
}): Promise<{
|
|
7
7
|
success: false;
|
|
8
8
|
error: string;
|
|
9
|
-
status?: number
|
|
10
|
-
metadata?: Record<string, unknown
|
|
9
|
+
status?: number;
|
|
10
|
+
metadata?: Record<string, unknown>;
|
|
11
11
|
} | {
|
|
12
12
|
success: true;
|
|
13
13
|
data: unknown;
|
|
@@ -15,15 +15,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
36
|
+
exports.limeObjectFields = void 0;
|
|
37
|
+
exports.limeObjectOperations = limeObjectOperations;
|
|
27
38
|
const create = __importStar(require("./operations/create.operation"));
|
|
28
39
|
const get = __importStar(require("./operations/get.operation"));
|
|
29
40
|
const update = __importStar(require("./operations/update.operation"));
|
|
@@ -74,5 +85,4 @@ async function limeObjectOperations({ operation, i }) {
|
|
|
74
85
|
}
|
|
75
86
|
return null;
|
|
76
87
|
}
|
|
77
|
-
exports.limeObjectOperations = limeObjectOperations;
|
|
78
88
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/lime-crm/resources/limeObject/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/lime-crm/resources/limeObject/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,oDAqBC;AAzDD,sEAAwD;AACxD,gEAAkD;AAClD,sEAAwD;AACxD,uEAAyD;AACzD,sEAAwD;AAExD,2CAAoD;AAEvC,QAAA,gBAAgB,GAAsB;IAC/C;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EA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AC9C,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.properties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transport_1 = require("../../../transport");
|
|
5
6
|
const commons_1 = require("../../../commons");
|
|
6
7
|
exports.description = {
|
|
@@ -135,5 +136,4 @@ async function execute(i) {
|
|
|
135
136
|
}
|
|
136
137
|
return await (0, transport_1.createLimeObject)(this, limeType, objectData);
|
|
137
138
|
}
|
|
138
|
-
exports.execute = execute;
|
|
139
139
|
//# sourceMappingURL=create.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeObject/operations/create.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeObject/operations/create.operation.ts"],"names":[],"mappings":";;;AA4HA,0BA2BC;AArJD,kDAAsD;AACtD,8CAAuD;AAE1C,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,qBAAqB;IAClC,MAAM,EAAE,kBAAkB;CAC7B,CAAC;AAEW,QAAA,UAAU,GAAsB;IACzC;QACI,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACT,iBAAiB,EAAE,cAAc;SACpC;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,8BAA8B;QAC3C,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,6BAAmB,CAAC;gBAC/B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;S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BACxC,UAAU,CAAC,IAAI,CAAC,IAAc,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;gBACjD,CAAC;YACL,CAAC;QACL,CAAC;IACL,CAAC;IAED,OAAO,MAAM,IAAA,4BAAgB,EAAC,IAAI,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC;AAC9D,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.properties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transport_1 = require("../../../transport");
|
|
5
6
|
const commons_1 = require("../../../commons");
|
|
6
7
|
exports.description = {
|
|
@@ -47,5 +48,4 @@ async function execute(i) {
|
|
|
47
48
|
const objectId = this.getNodeParameter('objectId', i);
|
|
48
49
|
return await (0, transport_1.deleteLimeObject)(this, limeType, objectId);
|
|
49
50
|
}
|
|
50
|
-
exports.execute = execute;
|
|
51
51
|
//# sourceMappingURL=delete.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeObject/operations/delete.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"delete.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeObject/operations/delete.operation.ts"],"names":[],"mappings":";;;AAiDA,0BAKC;AApDD,kDAAsD;AACtD,8CAAuD;AAE1C,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,kBAAkB;CAC7B,CAAC;AAEW,QAAA,UAAU,GAAsB;IAEzC;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACT,iBAAiB,EAAE,cAAc;SACpC;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,8BAA8B;QAC3C,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,6BAAmB,CAAC;gBAC/B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;SACJ;KACJ;IAGD;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;QAC7C,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,6BAAmB,CAAC;gBAC/B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;SACJ;KACJ;CACJ,CAAC;AAEK,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC5D,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;IAChE,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;IAEhE,OAAO,MAAM,IAAA,4BAAgB,EAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAC5D,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.properties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transport_1 = require("../../../transport");
|
|
5
6
|
const commons_1 = require("../../../commons");
|
|
6
7
|
exports.description = {
|
|
@@ -47,5 +48,4 @@ async function execute(i) {
|
|
|
47
48
|
const objectId = this.getNodeParameter('objectId', i);
|
|
48
49
|
return (0, transport_1.getLimeObject)(this, limeType, objectId);
|
|
49
50
|
}
|
|
50
|
-
exports.execute = execute;
|
|
51
51
|
//# sourceMappingURL=get.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeObject/operations/get.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeObject/operations/get.operation.ts"],"names":[],"mappings":";;;AAiDA,0BAIC;AAnDD,kDAAmD;AACnD,8CAAuD;AAE1C,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,KAAK;IACZ,WAAW,EAAE,2BAA2B;IACxC,MAAM,EAAE,eAAe;CAC1B,CAAC;AAEW,QAAA,UAAU,GAAsB;IAEzC;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACT,iBAAiB,EAAE,cAAc;SACpC;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;QAC7C,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,6BAAmB,CAAC;gBAC/B,SAAS,EAAE,CAAC,KAAK,CAAC;aACrB;SACJ;KACJ;IAGD;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kCAAkC;QAC/C,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,6BAAmB,CAAC;gBAC/B,SAAS,EAAE,CAAC,KAAK,CAAC;aACrB;SACJ;KACJ;CACJ,CAAC;AAEK,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC5D,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;IAChE,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;IAChE,OAAO,IAAA,yBAAa,EAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AACnD,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.properties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transport_1 = require("../../../transport");
|
|
5
6
|
const commons_1 = require("../../../commons");
|
|
6
7
|
exports.description = {
|
|
@@ -82,5 +83,4 @@ async function execute(i) {
|
|
|
82
83
|
const options = this.getNodeParameter('options', i, {});
|
|
83
84
|
return await (0, transport_1.searchLimeObject)(this, limeType, searchField, searchTerm, limit || null, options.sortField || null);
|
|
84
85
|
}
|
|
85
|
-
exports.execute = execute;
|
|
86
86
|
//# sourceMappingURL=search.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeObject/operations/search.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"search.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeObject/operations/search.operation.ts"],"names":[],"mappings":";;;AAmFA,0BAeC;AAjGD,kDAAsD;AACtD,8CAAuD;AAE1C,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,oBAAoB;IACjC,MAAM,EAAE,oBAAoB;CAC/B,CAAC;AAEW,QAAA,UAAU,GAAsB;IACzC;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACT,iBAAiB,EAAE,cAAc;SACpC;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WA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AC,gBAAgB,CAAC,YAAY,EAAE,CAAC,EAAE,EAAE,CAAW,CAAC;IACxE,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,CAAC,CAAW,CAAC;IACtE,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IACpD,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAExD,OAAO,MAAM,IAAA,4BAAgB,EACzB,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,UAAU,EACV,KAAK,IAAI,IAAI,EACZ,OAAO,CAAC,SAAoB,IAAI,IAAI,CACxC,CAAC;AACN,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.properties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transport_1 = require("../../../transport");
|
|
5
6
|
const commons_1 = require("../../../commons");
|
|
6
7
|
exports.description = {
|
|
@@ -145,5 +146,4 @@ async function execute(i) {
|
|
|
145
146
|
}
|
|
146
147
|
return (0, transport_1.updateLimeObject)(this, limeType, id, body);
|
|
147
148
|
}
|
|
148
|
-
exports.execute = execute;
|
|
149
149
|
//# sourceMappingURL=update.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeObject/operations/update.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeObject/operations/update.operation.ts"],"names":[],"mappings":";;;AAsIA,0BAsBC;AA3JD,kDAAsD;AACtD,8CAAuD;AAG1C,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,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,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;IAChE,MAAM,EAAE,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,CAAC,CAAW,CAAC;IACpD,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,CAAC,CAAW,CAAC;IAElE,IAAI,IAAI,GAAgB,EAAE,CAAC;IAE3B,IAAI,SAAS,KAAK,MAAM,EAAE,CAAC;QACvB,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;QAChE,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAChC,CAAC;SAAM,CAAC;QACJ,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CACtC,oBAAoB,EACpB,CAAC,EACD,EAAE,CACY,CAAC;QACnB,KAAK,MAAM,KAAK,IAAI,YAAY,EAAE,CAAC;YAC/B,IAAI,CAAC,KAAK,CAAC,SAAmB,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC;QACvD,CAAC;IACL,CAAC;IAED,OAAO,IAAA,4BAAgB,EAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;AACtD,CAAC"}
|
|
@@ -6,8 +6,8 @@ export declare function limeTypeOperations(this: IExecuteFunctions, { operation,
|
|
|
6
6
|
}): Promise<{
|
|
7
7
|
success: false;
|
|
8
8
|
error: string;
|
|
9
|
-
status?: number
|
|
10
|
-
metadata?: Record<string, unknown
|
|
9
|
+
status?: number;
|
|
10
|
+
metadata?: Record<string, unknown>;
|
|
11
11
|
} | {
|
|
12
12
|
success: true;
|
|
13
13
|
data: import("../../commons").LimeType[];
|
|
@@ -15,15 +15,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
36
|
+
exports.limeTypeFields = void 0;
|
|
37
|
+
exports.limeTypeOperations = limeTypeOperations;
|
|
27
38
|
const getType = __importStar(require("./operations/getType.operation"));
|
|
28
39
|
const listTypes = __importStar(require("./operations/listTypes.operation"));
|
|
29
40
|
const getProperties = __importStar(require("./operations/getProperties.operation"));
|
|
@@ -67,5 +78,4 @@ async function limeTypeOperations({ operation, i }) {
|
|
|
67
78
|
}
|
|
68
79
|
return null;
|
|
69
80
|
}
|
|
70
|
-
exports.limeTypeOperations = limeTypeOperations;
|
|
71
81
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/lime-crm/resources/limeType/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/lime-crm/resources/limeType/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,gDAeC;AAnDD,wEAA0D;AAC1D,4EAA8D;AAC9D,oFAAsE;AACtE,2CAAkD;AAErC,QAAA,cAAc,GAAsB;IAC7C;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAA8B;QACpC,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,2BAAiB,CAAC;aAChC;SACJ;QACD,OAAO,EAAE;YACL;gBACI,GAAG,SAAS,CAAC,WAAW;aAC3B;YACD;gBACI,GAAG,OAAO,CAAC,WAAW;aACzB;YACD;gBACI,GAAG,aAAa,CAAC,WAAW;aAC/B;SACJ;QACD,OAAO,EAAE,WAAW;KACvB;IAGD,GAAG,OAAO,CAAC,UAAU;IACrB,GAAG,aAAa,CAAC,UAAU;CAC9B,CAAC;AAGK,KAAK,UAAU,kBAAkB,CAEpC,EAAE,SAAS,EAAE,CAAC,EAAoC;IAElD,IAAI,SAAS,KAAK,WAAW,EAAE,CAAC;QAC5B,OAAO,MAAM,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC;IACD,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,MAAM,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC/C,CAAC;IACD,IAAI,SAAS,KAAK,eAAe,EAAE,CAAC;QAChC,OAAO,MAAM,aAAa,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IACrD,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.properties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transport_1 = require("../../../transport");
|
|
5
6
|
const commons_1 = require("../../../commons");
|
|
6
7
|
exports.description = {
|
|
@@ -32,5 +33,4 @@ async function execute(i) {
|
|
|
32
33
|
const limeType = this.getNodeParameter('limeType', i);
|
|
33
34
|
return (0, transport_1.getProperties)(this, limeType);
|
|
34
35
|
}
|
|
35
|
-
exports.execute = execute;
|
|
36
36
|
//# sourceMappingURL=getProperties.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getProperties.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeType/operations/getProperties.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"getProperties.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeType/operations/getProperties.operation.ts"],"names":[],"mappings":";;;AAkCA,0BAOC;AAvCD,kDAAmD;AACnD,8CAAuE;AAG1D,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,+CAA+C;IAC5D,MAAM,EAAE,4BAA4B;CACvC,CAAC;AAEW,QAAA,UAAU,GAAsB;IAEzC;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACT,iBAAiB,EAAE,cAAc;SACpC;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mDAAmD;QAChE,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,2BAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,eAAe,CAAC;aAC/B;SACJ;KACJ;CACJ,CAAC;AAEK,KAAK,UAAU,OAAO,CAEzB,CAAS;IAET,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;IAEhE,OAAO,IAAA,yBAAa,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AACzC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.properties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const limetypes_1 = require("../../../transport/limetypes");
|
|
5
6
|
const commons_1 = require("../../../commons");
|
|
6
7
|
exports.description = {
|
|
@@ -32,5 +33,4 @@ async function execute(i) {
|
|
|
32
33
|
const limeType = this.getNodeParameter('limeType', i);
|
|
33
34
|
return (0, limetypes_1.getLimeType)(this, limeType);
|
|
34
35
|
}
|
|
35
|
-
exports.execute = execute;
|
|
36
36
|
//# sourceMappingURL=getType.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getType.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeType/operations/getType.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"getType.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeType/operations/getType.operation.ts"],"names":[],"mappings":";;;AA+BA,0BAIC;AAlCD,4DAA2D;AAC3D,8CAAqD;AAExC,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,SAAS;IAChB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,yBAAyB;CACpC,CAAC;AAEW,QAAA,UAAU,GAAsB;IACzC;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,SAAS;QACf,WAAW,EAAE;YACT,iBAAiB,EAAE,cAAc;SACpC;QACD,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gDAAgD;QAC7D,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,2BAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,SAAS,CAAC;aACzB;SACJ;KACJ;CACJ,CAAC;AAEK,KAAK,UAAU,OAAO,CAA0B,CAAS;IAC5D,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;IAEhE,OAAO,IAAA,uBAAW,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;AACvC,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transport_1 = require("../../../transport");
|
|
5
6
|
exports.description = {
|
|
6
7
|
name: 'List Types',
|
|
@@ -11,5 +12,4 @@ exports.description = {
|
|
|
11
12
|
async function execute() {
|
|
12
13
|
return await (0, transport_1.getLimeTypesFromApi)(this);
|
|
13
14
|
}
|
|
14
|
-
exports.execute = execute;
|
|
15
15
|
//# sourceMappingURL=listTypes.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listTypes.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeType/operations/listTypes.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"listTypes.operation.js","sourceRoot":"","sources":["../../../../../../nodes/lime-crm/resources/limeType/operations/listTypes.operation.ts"],"names":[],"mappings":";;;AAaA,0BAIC;AAfD,kDAAyD;AAI5C,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,WAAW;IAClB,WAAW,EAAE,0CAA0C;IACvD,MAAM,EAAE,uBAAuB;CAClC,CAAC;AAEK,KAAK,UAAU,OAAO;IAGzB,OAAO,MAAM,IAAA,+BAAmB,EAAC,IAAI,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.callLimeApi =
|
|
3
|
+
exports.callLimeApi = callLimeApi;
|
|
4
4
|
const commons_1 = require("../commons");
|
|
5
5
|
async function getLimeUrl(context) {
|
|
6
6
|
const credentials = await context.getCredentials(commons_1.LIME_CRM_API_CREDENTIAL_KEY);
|
|
@@ -29,5 +29,4 @@ async function callLimeApi(nodeContext, method, url, options) {
|
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
exports.callLimeApi = callLimeApi;
|
|
33
32
|
//# sourceMappingURL=commons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commons.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/transport/commons.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"commons.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/transport/commons.ts"],"names":[],"mappings":";;AAaA,kCA8BC;AA3CD,wCAAyD;AAMzD,KAAK,UAAU,UAAU,CAAC,OAA6B;IACnD,MAAM,WAAW,GAAG,MAAM,OAAO,CAAC,cAAc,CAC5C,qCAA2B,CAC9B,CAAC;IACF,OAAO,WAAW,CAAC,GAAa,CAAC;AACrC,CAAC;AAEM,KAAK,UAAU,WAAW,CAC7B,WAAiC,EACjC,MAAkB,EAClB,GAAW,EACX,OAAgB;;IAEhB,IAAI,CAAC;QACD,MAAM,QAAQ,GACV,MAAM,WAAW,CAAC,OAAO,CAAC,yBAAyB,CAAC,IAAI,CACpD,WAAW,EACX,qCAA2B,EAC3B;YACI,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,GAAG;YACR,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,MAAM,UAAU,CAAC,WAAW,CAAC;YACtC,GAAG,OAAO;SACb,CACJ,CAAC;QACN,OAAO;YACH,OAAO,EAAE,IAAI;YACb,IAAI,EAAE,QAAQ;SACjB,CAAC;IACN,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,OAAO;YACH,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;YAC7D,MAAM,EAAE,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,0CAAE,MAAM;SAC/B,CAAC;IACN,CAAC;AACL,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.startCreateOrUpdateObjectsTask =
|
|
3
|
+
exports.startCreateOrUpdateObjectsTask = startCreateOrUpdateObjectsTask;
|
|
4
4
|
const commons_1 = require("./commons");
|
|
5
5
|
const ERP_CONNECTOR_URL = '/limepkg-erp-connector/';
|
|
6
6
|
async function startCreateOrUpdateObjectsTask(nodeContext, data) {
|
|
@@ -8,5 +8,4 @@ async function startCreateOrUpdateObjectsTask(nodeContext, data) {
|
|
|
8
8
|
body: data,
|
|
9
9
|
});
|
|
10
10
|
}
|
|
11
|
-
exports.startCreateOrUpdateObjectsTask = startCreateOrUpdateObjectsTask;
|
|
12
11
|
//# sourceMappingURL=erpConnector.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"erpConnector.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/transport/erpConnector.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"erpConnector.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/transport/erpConnector.ts"],"names":[],"mappings":";;AAaA,wEAOC;AApBD,uCAAwC;AAKxC,MAAM,iBAAiB,GAAG,yBAAyB,CAAC;AAQ7C,KAAK,UAAU,8BAA8B,CAChD,WAAiC,EACjC,IAAiB;IAEjB,OAAO,MAAM,IAAA,qBAAW,EAAC,WAAW,EAAE,KAAK,EAAE,iBAAiB,EAAE;QAC5D,IAAI,EAAE,IAAI;KACb,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.createLimeObject = createLimeObject;
|
|
4
|
+
exports.deleteLimeObject = deleteLimeObject;
|
|
5
|
+
exports.getLimeObject = getLimeObject;
|
|
6
|
+
exports.updateLimeObject = updateLimeObject;
|
|
7
|
+
exports.searchLimeObject = searchLimeObject;
|
|
4
8
|
const commons_1 = require("./commons");
|
|
5
9
|
const LIMEOBJECT_URL = '/api/v1/limeobject/';
|
|
6
10
|
async function createLimeObject(nodeContext, limetype, data) {
|
|
@@ -9,24 +13,20 @@ async function createLimeObject(nodeContext, limetype, data) {
|
|
|
9
13
|
body: data,
|
|
10
14
|
});
|
|
11
15
|
}
|
|
12
|
-
exports.createLimeObject = createLimeObject;
|
|
13
16
|
async function deleteLimeObject(nodeContext, limetype, id) {
|
|
14
17
|
const url = `${LIMEOBJECT_URL}${limetype}/${id}/`;
|
|
15
18
|
return await (0, commons_1.callLimeApi)(nodeContext, 'DELETE', url);
|
|
16
19
|
}
|
|
17
|
-
exports.deleteLimeObject = deleteLimeObject;
|
|
18
20
|
async function getLimeObject(nodeContext, limetype, id) {
|
|
19
21
|
const url = `${LIMEOBJECT_URL}${limetype}/${id}/`;
|
|
20
22
|
return await (0, commons_1.callLimeApi)(nodeContext, 'GET', url);
|
|
21
23
|
}
|
|
22
|
-
exports.getLimeObject = getLimeObject;
|
|
23
24
|
async function updateLimeObject(nodeContext, limetype, id, data) {
|
|
24
25
|
const url = `${LIMEOBJECT_URL}${limetype}/${id}/`;
|
|
25
26
|
return await (0, commons_1.callLimeApi)(nodeContext, 'PUT', url, {
|
|
26
27
|
body: data,
|
|
27
28
|
});
|
|
28
29
|
}
|
|
29
|
-
exports.updateLimeObject = updateLimeObject;
|
|
30
30
|
async function searchLimeObject(nodeContext, limetype, searchField, searchTerm, limit, sortField) {
|
|
31
31
|
var _a, _b;
|
|
32
32
|
const url = `${LIMEOBJECT_URL}${limetype}/`;
|
|
@@ -45,5 +45,4 @@ async function searchLimeObject(nodeContext, limetype, searchField, searchTerm,
|
|
|
45
45
|
}
|
|
46
46
|
return response;
|
|
47
47
|
}
|
|
48
|
-
exports.searchLimeObject = searchLimeObject;
|
|
49
48
|
//# sourceMappingURL=limeobjects.js.map
|