@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,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.createParameter = exports.FORTNOX_API_CREDENTIAL_KEY = void 0;
|
|
4
|
+
exports.createOptionParameter = createOptionParameter;
|
|
5
|
+
exports.createCollectionParameter = createCollectionParameter;
|
|
4
6
|
exports.FORTNOX_API_CREDENTIAL_KEY = 'fortnoxApi';
|
|
5
7
|
const createParameter = (displayName, name, parameterType, defaultValue, typeOptions) => ({
|
|
6
8
|
displayName: displayName,
|
|
@@ -26,7 +28,6 @@ function createOptionParameter(option) {
|
|
|
26
28
|
default: parameters[0].value,
|
|
27
29
|
};
|
|
28
30
|
}
|
|
29
|
-
exports.createOptionParameter = createOptionParameter;
|
|
30
31
|
function createCollectionParameter(collection) {
|
|
31
32
|
const parameters = collection.parameters.map(([displayName, name, parameterType, defaultValue, typeOptions]) => (0, exports.createParameter)(displayName, name, parameterType, defaultValue, typeOptions));
|
|
32
33
|
return {
|
|
@@ -40,5 +41,4 @@ function createCollectionParameter(collection) {
|
|
|
40
41
|
options: parameters,
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
|
-
exports.createCollectionParameter = createCollectionParameter;
|
|
44
44
|
//# sourceMappingURL=commons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commons.js","sourceRoot":"","sources":["../../../nodes/fortnox/commons.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"commons.js","sourceRoot":"","sources":["../../../nodes/fortnox/commons.ts"],"names":[],"mappings":";;;AA+CA,sDAoBC;AAED,8DAwBC;AAvFY,QAAA,0BAA0B,GAAG,YAAY,CAAC;AA2BhD,MAAM,eAAe,GAAG,CAC3B,WAAmB,EACnB,IAAY,EACZ,aAA6B,EAC7B,YAAwC,EACxC,WAAqC,EACtB,EAAE,CAAC,CAAC;IACnB,WAAW,EAAE,WAAW;IACxB,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,aAAa;IACnB,OAAO,EAAE,YAAY;IACrB,WAAW,EAAE,WAAW;CAC3B,CAAC,CAAC;AAZU,QAAA,eAAe,mBAYzB;AAEH,SAAgB,qBAAqB,CACjC,MAAiC;IAEjC,MAAM,UAAU,GAA2B,MAAM,CAAC,UAAU,CAAC,GAAG,CAC5D,CAAC,CAAC,aAAa,EAAE,cAAc,CAAC,EAAE,EAAE;QAChC,OAAO;YACH,IAAI,EAAE,aAAa;YACnB,KAAK,EAAE,cAAc;SACxB,CAAC;IACN,CAAC,CACJ,CAAC;IAEF,OAAO;QACH,WAAW,EAAE,MAAM,CAAC,WAAW;QAC/B,IAAI,EAAE,MAAM,CAAC,IAAI;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,UAAU;QACnB,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,KAAK;KAC/B,CAAC;AACN,CAAC;AAED,SAAgB,yBAAyB,CACrC,UAAyC;IAEzC,MAAM,UAAU,GAAsB,UAAU,CAAC,UAAU,CAAC,GAAG,CAC3D,CAAC,CAAC,WAAW,EAAE,IAAI,EAAE,aAAa,EAAE,YAAY,EAAE,WAAW,CAAC,EAAE,EAAE,CAC9D,IAAA,uBAAe,EACX,WAAW,EACX,IAAI,EACJ,aAAa,EACb,YAAY,EACZ,WAAW,CACd,CACR,CAAC;IAEF,OAAO;QACH,WAAW,EAAE,UAAU,CAAC,WAAW;QACnC,WAAW,EAAE;YACT,cAAc,EAAE,UAAU,CAAC,cAAc;SAC5C;QACD,IAAI,EAAE,UAAU,CAAC,IAAI;QACrB,OAAO,EAAE,EAAE;QACX,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,UAAU;KACtB,CAAC;AACN,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1550 1550" width="1550" height="1550">
|
|
2
|
+
<title>fortnox-brand-symbol-svg</title>
|
|
3
|
+
<style>
|
|
4
|
+
.s0 { fill: #003824 }
|
|
5
|
+
.s1 { fill: #007533 }
|
|
6
|
+
.s2 { fill: #ffc200 }
|
|
7
|
+
.s3 { fill: #00db33 }
|
|
8
|
+
</style>
|
|
9
|
+
<path class="s0" d="m774.4 302.8h243.3c17.6 0 27.1 9.5 27.1 27.1v129.8c0 17.5-9.4 26.9-27.1 26.9h-243.3c-56.7 0-94.5 37.9-94.5 94.6v177h337.8c17.6 0 27.1 9.5 27.1 27v129.8c0 17.6-9.4 27.1-27.1 27.1h-337.8v252.6c0 17.6-9.5 27.1-27.1 27.1h-135.1c-17.6 0-27.1-9.4-27.1-27.1v-608.1c0-168.9 114.9-283.9 283.8-283.9"/>
|
|
10
|
+
<g>
|
|
11
|
+
<path class="s1" d="m774.8 1549.9c-148.3 0-294.9-42.5-421.6-124.7-157-101.7-271.7-256.7-323.1-436.3-51-177.8-36.9-367.9 39.6-535.2 12.3-26.8 44-38.6 70.8-26.3 26.7 12.2 38.6 43.9 26.2 70.7-65.9 144.2-78 308.2-34.1 461.5 44.3 154.8 143.3 288.5 278.6 376.2 160.5 104.1 358.5 134.3 543.2 82.8 28.4-7.8 57.8 8.8 65.7 37.1 7.8 28.4-8.8 57.8-37.1 65.6-68.5 19.2-138.5 28.5-208.3 28.5z"/>
|
|
12
|
+
<path class="s2" d="m1162.9 1436.8c-17.6 0-34.9-8.8-45-24.8-15.8-24.8-8.5-57.8 16.3-73.6 81.1-51.7 148.9-118.8 201.3-199.7 200.5-309.2 112.1-723.8-197-924.3-10.1-6.6-21.2-13.2-34.7-20.9-25.6-14.5-34.7-47-20.1-72.7 14.5-25.6 47-34.7 72.7-20.1 15.5 8.7 28.3 16.4 40.2 24.1 358.5 232.5 460.9 713.4 228.4 1071.9-60.8 93.8-139.4 171.7-233.5 231.6-8.9 5.7-18.8 8.4-28.6 8.4z"/>
|
|
13
|
+
<path class="s3" d="m234 350.8c-12.5 0-25.2-4.3-35.2-13.2-22.2-19.5-24.3-53.2-4.8-75.3 186.3-211.8 473.6-305.2 749.4-243.7 28.8 6.4 46.9 34.9 40.5 63.7-6.4 28.7-34.9 46.8-63.7 40.4-237.9-53-485.5 27.6-646.3 210-10.5 11.9-25.2 18.1-39.9 18.1z"/>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -6,8 +6,8 @@ export declare function customerOperations(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("./model").CustomerResponse;
|
|
@@ -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.customerProperties = void 0;
|
|
37
|
+
exports.customerOperations = customerOperations;
|
|
27
38
|
const get = __importStar(require("./operations/get.operation"));
|
|
28
39
|
const getAll = __importStar(require("./operations/getAll.operation"));
|
|
29
40
|
const create = __importStar(require("./operations/create.operation"));
|
|
@@ -73,5 +84,4 @@ async function customerOperations({ operation, i }) {
|
|
|
73
84
|
}
|
|
74
85
|
return null;
|
|
75
86
|
}
|
|
76
|
-
exports.customerOperations = customerOperations;
|
|
77
87
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/fortnox/resources/customers/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/fortnox/resources/customers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuCA,gDAiBC;AAlDD,gEAAkD;AAClD,sEAAwD;AACxD,sEAAwD;AACxD,sEAAwD;AACxD,uEAAyD;AAE5C,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,UAAU,CAAC;aACzB;SACJ;QACD,OAAO,EAAE;YACL,GAAG,CAAC,WAAW;YACf,MAAM,CAAC,WAAW;YAClB,MAAM,CAAC,WAAW;YAClB,MAAM,CAAC,WAAW;YAClB,OAAO,CAAC,WAAW;SACtB;QACD,OAAO,EAAE,QAAQ;KACpB;IACD,GAAG,GAAG,CAAC,UAAU;IACjB,GAAG,MAAM,CAAC,UAAU;IACpB,GAAG,MAAM,CAAC,UAAU;IACpB,GAAG,MAAM,CAAC,UAAU;IACpB,GAAG,OAAO,CAAC,UAAU;CACxB,CAAC;AAEK,KAAK,UAAU,kBAAkB,CAEpC,EAAE,SAAS,EAAE,CAAC,EAAoC;IAElD,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;QACtB,OAAO,MAAM,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC3C,CAAC;SAAM,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC;SAAM,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC;SAAM,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC;SAAM,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,MAAM,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC/C,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.createProperties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transport_1 = require("../../../transport");
|
|
5
6
|
const currency_codes_1 = require("currency-codes");
|
|
6
7
|
exports.description = {
|
|
@@ -279,5 +280,4 @@ async function execute(i) {
|
|
|
279
280
|
body: body,
|
|
280
281
|
});
|
|
281
282
|
}
|
|
282
|
-
exports.execute = execute;
|
|
283
283
|
//# sourceMappingURL=create.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/customers/operations/create.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/customers/operations/create.operation.ts"],"names":[],"mappings":";;;AAgQA,0BA8CC;AA7SD,kDAAgD;AAChD,mDAAsD;AAIzC,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,uBAAuB;IACpC,MAAM,EAAE,mBAAmB;CAC9B,CAAC;AAEW,QAAA,gBAAgB,GAAsB;IAC/C;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;KAC5C;IACD;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,8BAA8B;KAC9C;IACD;QACI,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iBAAiB;KACjC;IACD;QACI,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,6BAA6B;KAC7C;IACD;QACI,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,wBAAwB;KACxC;IACD;QACI,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oBAAoB;KACpC;IACD;QACI,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,QAAQ;QACd,OAAO,EAAE,EA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I,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,CAAC,CAAW,CAAC;IAC9D,QAAQ,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;IAClC,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAY,CAAC;IAC7D,MAAM,IAAI,GAAG,IAAI,CAAC,gBAAgB,CAAC,MAAM,EAAE,CAAC,CAA0B,CAAC;IACvE,MAAM,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,SAAS,EAAE,CAAC,CAKpC,CAAC;IACf,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAC1C,kBAAkB,EAClB,CAAC,EACD,EAAE,CACU,CAAC;IAEjB,IAAI,IAAA,qBAAY,EAAC,QAAQ,CAAC,KAAK,SAAS,EAAE,CAAC;QACvC,OAAO;YACH,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,0BAA0B,QAAQ,+BAA+B;SAC3E,CAAC;IACN,CAAC;IAED,MAAM,IAAI,GAAG;QACT,QAAQ,EAAE;YACN,IAAI,EAAE,IAAI;YACV,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,IAAI;YACV,OAAO,EAAE,OAAO;YAChB,GAAG,gBAAgB;SACtB;KACJ,CAAC;IAEF,MAAM,QAAQ,GAAG,YAAY,CAAC;IAE9B,OAAO,MAAM,IAAA,sBAAU,EAAmB,IAAI,EAAE;QAC5C,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,IAAI;KACb,CAAC,CAAC;AACP,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
|
exports.description = {
|
|
6
7
|
name: 'Delete Customer',
|
|
@@ -32,5 +33,4 @@ async function execute(i) {
|
|
|
32
33
|
endpoint,
|
|
33
34
|
});
|
|
34
35
|
}
|
|
35
|
-
exports.execute = execute;
|
|
36
36
|
//# sourceMappingURL=delete.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/customers/operations/delete.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"delete.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/customers/operations/delete.operation.ts"],"names":[],"mappings":";;;AA4BA,0BAeC;AA1CD,kDAAgD;AAGnC,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,4CAA4C;IACzD,MAAM,EAAE,mBAAmB;CAC9B,CAAC;AAEW,QAAA,UAAU,GAAsB;IACzC;QACI,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,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,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;SACJ;KACJ;CACJ,CAAC;AAEK,KAAK,UAAU,OAAO,CAEzB,CAAS;IAET,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CACxC,gBAAgB,EAChB,CAAC,EACD,EAAE,CACK,CAAC;IAEZ,MAAM,QAAQ,GAAG,cAAc,kBAAkB,CAAC,cAAc,CAAC,EAAE,CAAC;IACpE,OAAO,MAAM,IAAA,sBAAU,EAAO,IAAI,EAAE;QAChC,MAAM,EAAE,QAAQ;QAChB,QAAQ;KACX,CAAC,CAAC;AACP,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
|
exports.description = {
|
|
6
7
|
name: 'Get Customer',
|
|
@@ -32,5 +33,4 @@ async function execute(i) {
|
|
|
32
33
|
endpoint,
|
|
33
34
|
});
|
|
34
35
|
}
|
|
35
|
-
exports.execute = execute;
|
|
36
36
|
//# sourceMappingURL=get.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/customers/operations/get.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/customers/operations/get.operation.ts"],"names":[],"mappings":";;;AA6BA,0BAeC;AA3CD,kDAAgD;AAInC,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,KAAK;IACZ,WAAW,EAAE,yCAAyC;IACtD,MAAM,EAAE,gBAAgB;CAC3B,CAAC;AAEW,QAAA,UAAU,GAAsB;IACzC;QACI,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,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,UAAU,CAAC;gBACtB,SAAS,EAAE,CAAC,KAAK,CAAC;aACrB;SACJ;KACJ;CACJ,CAAC;AAEK,KAAK,UAAU,OAAO,CAEzB,CAAS;IAET,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CACxC,gBAAgB,EAChB,CAAC,EACD,EAAE,CACK,CAAC;IAEZ,MAAM,QAAQ,GAAG,cAAc,kBAAkB,CAAC,cAAc,CAAC,EAAE,CAAC;IACpE,OAAO,MAAM,IAAA,sBAAU,EAAmB,IAAI,EAAE;QAC5C,MAAM,EAAE,KAAK;QACb,QAAQ;KACX,CAAC,CAAC;AACP,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 filterParameters_1 = require("../filterParameters");
|
|
6
7
|
const sortParameters_1 = require("../sortParameters");
|
|
@@ -64,5 +65,4 @@ async function execute(i) {
|
|
|
64
65
|
qs,
|
|
65
66
|
});
|
|
66
67
|
}
|
|
67
|
-
exports.execute = execute;
|
|
68
68
|
//# sourceMappingURL=getAll.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAll.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/customers/operations/getAll.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"getAll.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/customers/operations/getAll.operation.ts"],"names":[],"mappings":";;;AA6CA,0BAkCC;AA9ED,kDAAgD;AAChD,0DAAuD;AACvD,sDAAmD;AAItC,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,mBAAmB;IAChC,MAAM,EAAE,mBAAmB;CAC9B,CAAC;AAEW,QAAA,UAAU,GAAsB;IACzC;QACI,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,eAAe;QAC5B,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ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C5B,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC;aAC9B,IAAI,CAAC,EAAE,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,QAAQ,GAAG,YAAY,CAAC;IAE9B,OAAO,MAAM,IAAA,sBAAU,EAAoB,IAAI,EAAE;QAC7C,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,QAAQ;QAClB,EAAE;KACL,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.properties = exports.updateProperties = exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
4
5
|
const transport_1 = require("../../../transport");
|
|
5
6
|
const currency_codes_1 = require("currency-codes");
|
|
6
7
|
exports.description = {
|
|
@@ -263,5 +264,4 @@ async function execute(i) {
|
|
|
263
264
|
body: body,
|
|
264
265
|
});
|
|
265
266
|
}
|
|
266
|
-
exports.execute = execute;
|
|
267
267
|
//# sourceMappingURL=update.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/customers/operations/update.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/customers/operations/update.operation.ts"],"names":[],"mappings":";;;AAyOA,0BA4CC;AApRD,kDAAgD;AAEhD,mDAAsD;AAGzC,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,iBAAiB;IACvB,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,6BAA6B;IAC1C,MAAM,EAAE,mBAAmB;CAC9B,CAAC;AAEW,QAAA,gBAAgB,GAAsB;IAC/C;QACI,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,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kBAAkB,CAAC,cAAc,CAAC,EAAE,CAAC;IAEpE,OAAO,MAAM,IAAA,sBAAU,EAAmB,IAAI,EAAE;QAC5C,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,IAAI;KACb,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -6,8 +6,8 @@ export declare function invoiceOperations(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("./model").CreateInvoiceResponse;
|
|
@@ -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.invoiceProperties = void 0;
|
|
37
|
+
exports.invoiceOperations = invoiceOperations;
|
|
27
38
|
const create = __importStar(require("./operations/create.operation"));
|
|
28
39
|
const get = __importStar(require("./operations/get.operation"));
|
|
29
40
|
const getAll = __importStar(require("./operations/getAll.operation"));
|
|
@@ -67,5 +78,4 @@ async function invoiceOperations({ operation, i }) {
|
|
|
67
78
|
}
|
|
68
79
|
return null;
|
|
69
80
|
}
|
|
70
|
-
exports.invoiceOperations = invoiceOperations;
|
|
71
81
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/fortnox/resources/invoice/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/fortnox/resources/invoice/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,8CAcC;AA5CD,sEAAwD;AACxD,gEAAkD;AAClD,sEAAwD;AACxD,sEAAwD;AAE3C,QAAA,iBAAiB,GAAsB;IAChD;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,SAAS,CAAC;aACxB;SACJ;QACD,OAAO,EAAE;YACL,MAAM,CAAC,WAAW;YAClB,GAAG,CAAC,WAAW;YACf,MAAM,CAAC,WAAW;YAClB,MAAM,CAAC,WAAW;SACrB;QACD,OAAO,EAAE,QAAQ;KACpB;IACD,GAAG,MAAM,CAAC,UAAU;IACpB,GAAG,GAAG,CAAC,UAAU;IACjB,GAAG,MAAM,CAAC,UAAU;IACpB,GAAG,MAAM,CAAC,UAAU;CACvB,CAAC;AAEK,KAAK,UAAU,iBAAiB,CAEnC,EAAE,SAAS,EAAE,CAAC,EAAoC;IAElD,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QACzB,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC;SAAM,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;QAC7B,OAAO,MAAM,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC3C,CAAC;SAAM,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC;SAAM,IAAI,SAAS,KAAK,QAAQ,EAAE,CAAC;QAChC,OAAO,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;IAC9C,CAAC;IACD,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 invoiceParameters_1 = require("../invoiceParameters");
|
|
6
7
|
exports.description = {
|
|
@@ -60,5 +61,4 @@ async function execute(i) {
|
|
|
60
61
|
body: body,
|
|
61
62
|
});
|
|
62
63
|
}
|
|
63
|
-
exports.execute = execute;
|
|
64
64
|
//# sourceMappingURL=create.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/invoice/operations/create.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../../nod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O,CAAC,gBAAgB,CAAC,EAAE,CAAC;YAC1D,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;gBACvD,IAAI,CAAC,SAAS,CAAiB,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YAClD,CAAC;QACL,CAAC;IACL,CAAC;IAED,MAAM,QAAQ,GAAG,UAAU,CAAC;IAE5B,OAAO,MAAM,IAAA,sBAAU,EAAwB,IAAI,EAAE;QACjD,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,IAAI;KACb,CAAC,CAAC;AACP,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
|
exports.description = {
|
|
6
7
|
name: 'Get',
|
|
@@ -31,5 +32,4 @@ async function execute(i) {
|
|
|
31
32
|
endpoint: endpoint,
|
|
32
33
|
});
|
|
33
34
|
}
|
|
34
|
-
exports.execute = execute;
|
|
35
35
|
//# sourceMappingURL=get.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/invoice/operations/get.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/invoice/operations/get.operation.ts"],"names":[],"mappings":";;;AA4BA,0BAgBC;AA3CD,kDAAgD;AAInC,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,KAAK;IACZ,WAAW,EAAE,sBAAsB;IACnC,MAAM,EAAE,qBAAqB;CAChC,CAAC;AAEW,QAAA,UAAU,GAAsB;IACzC;QACI,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,KAAK,CAAC;aACrB;SACJ;KACJ;CACJ,CAAC;AAEK,KAAK,UAAU,OAAO,CAEzB,CAAS;IAET,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CACxC,gBAAgB,EAChB,CAAC,EACD,EAAE,CACK,CAAC;IAEZ,MAAM,QAAQ,GAAG,YAAY,kBAAkB,CAAC,cAAc,CAAC,EAAE,CAAC;IAElE,OAAO,MAAM,IAAA,sBAAU,EAAqB,IAAI,EAAE;QAC9C,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,QAAQ;KACrB,CAAC,CAAC;AACP,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 filterParameters_1 = require("../filterParameters");
|
|
6
7
|
exports.description = {
|
|
@@ -88,5 +89,4 @@ async function execute(i) {
|
|
|
88
89
|
qs,
|
|
89
90
|
});
|
|
90
91
|
}
|
|
91
|
-
exports.execute = execute;
|
|
92
92
|
//# sourceMappingURL=getAll.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAll.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/invoice/operations/getAll.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"getAll.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/invoice/operations/getAll.operation.ts"],"names":[],"mappings":";;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AAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1E,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAEtE,MAAM,EAAE,GAAgB,EAAE,CAAC;IAE3B,IAAI,gBAAgB,EAAE,CAAC;QACnB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC;YAC1D,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;gBACxD,EAAE,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YACpB,CAAC;QACL,CAAC;IACL,CAAC;IAED,IAAI,cAAc,EAAE,CAAC;QACjB,EAAE,CAAC,QAAQ,CAAC,GAAG,cAAc,CAAC;IAClC,CAAC;IAED,MAAM,QAAQ,GAAG,UAAU,CAAC;IAE5B,OAAO,MAAM,IAAA,sBAAU,EAAyB,IAAI,EAAE;QAClD,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,QAAQ;QAClB,EAAE;KACL,CAAC,CAAC;AACP,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 invoiceParameters_1 = require("../invoiceParameters");
|
|
6
7
|
exports.description = {
|
|
@@ -58,5 +59,4 @@ async function execute(i) {
|
|
|
58
59
|
body: body,
|
|
59
60
|
});
|
|
60
61
|
}
|
|
61
|
-
exports.execute = execute;
|
|
62
62
|
//# sourceMappingURL=update.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/invoice/operations/update.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../../nodes/fortnox/resources/invoice/operations/update.operation.ts"],"names":[],"mappings":";;;AA2CA,0BA8BC;AAxED,kDAAgD;AAEhD,4DAAyD;AAG5C,QAAA,WAAW,GAAG;IACvB,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,oBAAoB;IACjC,MAAM,EAAE,qBAAqB;CAChC,CAAC;AAEW,QAAA,UAAU,GAAsB;IACzC;QACI,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;SACJ;KACJ;IACD;QACI,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,eAAe;QAC5B,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACZ,IAAI,EAAE;gBACF,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACxB;SACJ;QACD,OAAO,EAAE,qCAAiB;KAC7B;CACJ,CAAC;AAEK,KAAK,UAAU,OAAO,CAEzB,CAAS;IAET,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CACxC,gBAAgB,EAChB,CAAC,EACD,EAAE,CACK,CAAC;IACZ,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAE3E,MAAM,IAAI,GAAgB;QACtB,OAAO,EAAE,EAAE;KACd,CAAC;IAEF,IAAI,gBAAgB,EAAE,CAAC;QACnB,KAAK,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE,CAAC;YAC1D,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;gBACvD,IAAI,CAAC,SAAS,CAAiB,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YAClD,CAAC;QACL,CAAC;IACL,CAAC;IAED,MAAM,QAAQ,GAAG,YAAY,kBAAkB,CAAC,cAAc,CAAC,EAAE,CAAC;IAElE,OAAO,MAAM,IAAA,sBAAU,EAAwB,IAAI,EAAE;QACjD,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,QAAQ;QAClB,IAAI,EAAE,IAAI;KACb,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.translateErrorCode =
|
|
3
|
+
exports.translateErrorCode = translateErrorCode;
|
|
4
4
|
const errorMessages = {
|
|
5
5
|
1000003: 'System exception: Something went wrong on our end, please contact our support',
|
|
6
6
|
1000030: 'Invalid response type: The provided response type(Accept) was invalid.',
|
|
@@ -47,5 +47,4 @@ const errorMessages = {
|
|
|
47
47
|
function translateErrorCode(errorCode) {
|
|
48
48
|
return errorMessages[errorCode] || 'Unknown error code';
|
|
49
49
|
}
|
|
50
|
-
exports.translateErrorCode = translateErrorCode;
|
|
51
50
|
//# sourceMappingURL=errorCodes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errorCodes.js","sourceRoot":"","sources":["../../../../nodes/fortnox/transport/errorCodes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"errorCodes.js","sourceRoot":"","sources":["../../../../nodes/fortnox/transport/errorCodes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S,CAAC,IAAI,oBAAoB,CAAC;AAC5D,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.FORTNOX_BASE_URL = void 0;
|
|
4
|
+
exports.apiRequest = apiRequest;
|
|
4
5
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
6
|
const errorCodes_1 = require("./errorCodes");
|
|
6
7
|
const commons_1 = require("../commons");
|
|
@@ -68,5 +69,4 @@ async function apiRequest(nodeContext, options) {
|
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
|
-
exports.apiRequest = apiRequest;
|
|
72
72
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/fortnox/transport/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/fortnox/transport/index.ts"],"names":[],"mappings":";;;AAeA,gCAkFC;AAjGD,+CAOsB;AACtB,6CAAkD;AAElD,wCAAwD;AAG3C,QAAA,gBAAgB,GAAG,2BAA2B,CAAC;AAErD,KAAK,UAAU,UAAU,CAC5B,WAAsD,EACtD,OAAoB;;IAEpB,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAAC;IAClC,MAAM,MAAM,GAAG,OAAO,CAAC,MAA6B,CAAC;IACrD,MAAM,WAAW,GAAG,MAAM,WAAW,CAAC,cAAc,CAChD,oCAA0B,CAC7B,CAAC;IAEF,MAAM,cAAc,GAAoB;QACpC,MAAM,EAAE,MAAM;QACd,GAAG,EAAE,GAAG,wBAAgB,GAAG,QAAQ,EAAE;QACrC,IAAI,EAAE,IAAI;QACV,OAAO,EAAE;YACL,aAAa,EAAE,UAAU,WAAW,CAAC,KAAK,EAAE;YAC5C,MAAM,EAAE,kBAAkB;YAC1B,cAAc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AO;gBACtC,aAAa,CAAC,gBAAgB,CAAC,OAAO;YAC1C,IAAI,EACA,aAAa,CAAC,gBAAgB,CAAC,IAAI;gBACnC,aAAa,CAAC,gBAAgB,CAAC,IAAI;SAC1C,CAAC;QAEF,IAAI,OAAe,CAAC;QACpB,IAAI,gBAAgB,EAAE,CAAC;YACnB,OAAO,GAAG,4BAA4B,OAAO,aAAa,MAAM;;+BAE7C,gBAAgB,CAAC,KAAK,IAAI,eAAe;iCACvC,gBAAgB,CAAC,OAAO,IAAI,qBAAqB;8BACpD,gBAAgB,CAAC,IAAI,IAAI,kBAAkB;0CAC/B,IAAA,+BAAkB,EAAC,gBAAgB,CAAC,IAAc,CAAC,IAAI,0BAA0B;kBACzG,CAAC;QACX,CAAC;aAAM,CAAC;YACJ,OAAO,GAAG,4BAA4B,OAAO,aAAa,MAAM,MAAM,KAAK,CAAC,OAAO,EAAE,CAAC;QAC1F,CAAC;QACD,OAAO;YACH,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,OAAO;YACd,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.waitForTaskCompletion =
|
|
3
|
+
exports.waitForTaskCompletion = waitForTaskCompletion;
|
|
4
4
|
const task_1 = require("../transport/task");
|
|
5
5
|
async function waitForTaskCompletion(nodeContext, taskId, pollInterval, timeout) {
|
|
6
6
|
const startTime = Date.now();
|
|
@@ -45,5 +45,4 @@ async function waitForTaskCompletion(nodeContext, taskId, pollInterval, timeout)
|
|
|
45
45
|
},
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
exports.waitForTaskCompletion = waitForTaskCompletion;
|
|
49
48
|
//# sourceMappingURL=task.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/commons/task.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"task.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/commons/task.ts"],"names":[],"mappings":";;AAGA,sDAmDC;AAtDD,4CAA6C;AAGtC,KAAK,UAAU,qBAAqB,CACvC,WAA8B,EAC9B,MAAc,EACd,YAAoB,EACpB,OAAe;IAEf,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAE7B,OAAO,IAAI,CAAC,GAAG,EAAE,GAAG,SAAS,IAAI,OAAO,EAAE,CAAC;QACvC,MAAM,YAAY,GAAG,MAAM,IAAA,eAAQ,EAAC,WAAW,EAAE,MAAM,CAAC,CAAC;QAEzD,IAAI,CAAC,YAAY,CAAC,OAAO;YAAE,SAAS;QAEpC,MAAM,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAClD,QAAQ,IAAI,CAAC,MAAM,EAAE,CAAC;YAClB,KAAK,SAAS,CAAC,CAAC,CAAC;gBACb,OAAO;oBACH,OAAO,EAAE,KAAK;oBACd,KAAK,EAAE,QAAQ,MAAM,YAAY,IAAI,CAAC,MAAM,EAAE;oBAC9C,QAAQ,EAAE;wBACN,MAAM,EAAE,MAAM;qBACjB;iBACJ,CAAC;YACN,CAAC;YACD,KAAK,SAAS,CAAC,CAAC,CAAC;gBACb,OAAO;oBACH,OAAO,EAAE,KAAK;oBACd,KAAK,EAAE,QAAQ,MAAM,cAAc;oBACnC,QAAQ,EAAE;wBACN,MAAM,EAAE,MAAM;qBACjB;iBACJ,CAAC;YACN,CAAC;YACD,KAAK,SAAS,CAAC,CAAC,CAAC;gBACb,OAAO;oBACH,OAAO,EAAE,IAAI;oBACb,IAAI,EAAE,IAAI,CAAC,MAAM;iBACpB,CAAC;YACN,CAAC;QACL,CAAC;QAED,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC;IACtE,CAAC;IAED,OAAO;QACH,OAAO,EAAE,KAAK;QACd,KAAK,EAAE,QAAQ,MAAM,4BAA4B,OAAO,GAAG,IAAI,GAAG;QAClE,QAAQ,EAAE;YACN,MAAM,EAAE,MAAM;SACjB;KACJ,CAAC;AACN,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getWebhook =
|
|
3
|
+
exports.getWebhook = getWebhook;
|
|
4
4
|
function _getEvents(hookData) {
|
|
5
5
|
const eventData = hookData.getNodeParameter('events', []);
|
|
6
6
|
const eventItems = eventData.event;
|
|
@@ -26,5 +26,4 @@ function getWebhook(hookData) {
|
|
|
26
26
|
context: context,
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
exports.getWebhook = getWebhook;
|
|
30
29
|
//# sourceMappingURL=webhook.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/commons/webhook.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/commons/webhook.ts"],"names":[],"mappings":";;AAiCA,gCAgBC;AA/BD,SAAS,UAAU,CAAC,QAA0B;IAC1C,MAAM,SAAS,GAAG,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,EAAE,EAAE,CAKvD,CAAC;IACF,MAAM,UAAU,GAAG,SAAS,CAAC,KAAK,CAAC;IACnC,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACjC,MAAM,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,SAAS,EAAE,CAAC,CAAC;IAChE,CAAC;IACD,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,SAAgB,UAAU,CAAC,QAA0B;IACjD,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC;IAChC,MAAM,QAAQ,GAAG,QAAQ,CAAC,WAAW,EAAE,CAAC;IACxC,MAAM,OAAO,GAAmB;QAC5B,MAAM,EAAE,IAAI,CAAC,EAAE;QACf,QAAQ,EAAE,IAAI,CAAC,IAAI;QACnB,UAAU,EAAE,QAAQ,CAAC,EAAE;QACvB,YAAY,EAAE,QAAQ,CAAC,IAAI;KAC9B,CAAC;IAEF,OAAO;QACH,IAAI,EAAE,QAAQ,CAAC,qBAAqB,CAAC,MAAM,CAAC;QAC5C,MAAM,EAAE,UAAU,CAAC,QAAQ,CAAC;QAC5B,GAAG,EAAE,QAAQ,CAAC,iBAAiB,CAAC,SAAS,CAAC;QAC1C,OAAO,EAAE,OAAO;KACnB,CAAC;AACN,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getEntitiesForErpSystem =
|
|
3
|
+
exports.getEntitiesForErpSystem = getEntitiesForErpSystem;
|
|
4
4
|
async function getEntitiesForErpSystem() {
|
|
5
5
|
const erpSystem = this.getCurrentNodeParameter('erpSystem');
|
|
6
6
|
if (erpSystem === 'fortnox') {
|
|
@@ -8,5 +8,4 @@ async function getEntitiesForErpSystem() {
|
|
|
8
8
|
}
|
|
9
9
|
return [];
|
|
10
10
|
}
|
|
11
|
-
exports.getEntitiesForErpSystem = getEntitiesForErpSystem;
|
|
12
11
|
//# sourceMappingURL=getEntitiesForErpSystem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEntitiesForErpSystem.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/methods/getEntitiesForErpSystem.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getEntitiesForErpSystem.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/methods/getEntitiesForErpSystem.ts"],"names":[],"mappings":";;AAEA,0DAQC;AARM,KAAK,UAAU,uBAAuB;IACzC,MAAM,SAAS,GAAG,IAAI,CAAC,uBAAuB,CAAC,WAAW,CAAW,CAAC;IAEtE,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;QAC1B,OAAO,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC;IACnD,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getLimeTypeProperties =
|
|
3
|
+
exports.getLimeTypeProperties = getLimeTypeProperties;
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
5
|
const transport_1 = require("../transport/");
|
|
6
6
|
async function getLimeTypeProperties() {
|
|
@@ -17,5 +17,4 @@ async function getLimeTypeProperties() {
|
|
|
17
17
|
description: `Type: ${property.type}${property.required ? ' (Required)' : ''}`,
|
|
18
18
|
}));
|
|
19
19
|
}
|
|
20
|
-
exports.getLimeTypeProperties = getLimeTypeProperties;
|
|
21
20
|
//# sourceMappingURL=getLimeTypeProperties.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getLimeTypeProperties.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/methods/getLimeTypeProperties.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getLimeTypeProperties.js","sourceRoot":"","sources":["../../../../nodes/lime-crm/methods/getLimeTypeProperties.ts"],"names":[],"mappings":";;AAUA,sDAgBC;AA1BD,+CAIsB;AACtB,6CAA8C;AAKvC,KAAK,UAAU,qBAAqB;IAGvC,MAAM,QAAQ,GAAG,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,EAAE,CAAW,CAAC;IACjE,0BAAM,CAAC,IAAI,CAAC,sCAAsC,QAAQ,EAAE,CAAC,CAAC;IAC9D,IAAI,CAAC,QAAQ;QAAE,OAAO,EAAE,CAAC;IAEzB,MAAM,QAAQ,GAAG,MAAM,IAAA,yBAAa,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAErD,IAAI,CAAC,QAAQ,CAAC,OAAO;QAAE,OAAO,EAAE,CAAC;IAEjC,OAAO,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QACpC,IAAI,EAAG,QAAQ,CAAC,SAAoB,IAAK,QAAQ,CAAC,IAAe;QACjE,KAAK,EAAE,QAAQ,CAAC,IAAc;QAC9B,WAAW,EAAE,SAAS,QAAQ,CAAC,IAAc,GAAI,QAAQ,CAAC,QAAoB,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE;KACxG,CAAC,CAAC,CAAC;AACR,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getLimeTypes =
|
|
3
|
+
exports.getLimeTypes = getLimeTypes;
|
|
4
4
|
const transport_1 = require("../transport");
|
|
5
5
|
async function getLimeTypes() {
|
|
6
6
|
const data = [];
|
|
@@ -17,5 +17,4 @@ async function getLimeTypes() {
|
|
|
17
17
|
}
|
|
18
18
|
return data;
|
|
19
19
|
}
|
|
20
|
-
exports.getLimeTypes = getLimeTypes;
|
|
21
20
|
//# sourceMappingURL=getLimeTypes.js.map
|