@probo/n8n-nodes-probo 0.181.0 → 0.183.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nodes/Probo/Probo.node.js +5 -5
- package/dist/nodes/Probo/Probo.node.js.map +1 -1
- package/dist/nodes/Probo/actions/asset/publish.operation.js +15 -1
- package/dist/nodes/Probo/actions/asset/publish.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/cookieConsentRecord/get.operation.js +2 -0
- package/dist/nodes/Probo/actions/cookieConsentRecord/get.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/cookieConsentRecord/getAll.operation.js +2 -0
- package/dist/nodes/Probo/actions/cookieConsentRecord/getAll.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/datum/publish.operation.js +15 -1
- package/dist/nodes/Probo/actions/datum/publish.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/document/index.d.ts +2 -4
- package/dist/nodes/Probo/actions/document/index.js +8 -26
- package/dist/nodes/Probo/actions/document/index.js.map +1 -1
- package/dist/nodes/Probo/actions/document/{requestApproval.operation.js → publish.operation.js} +58 -16
- package/dist/nodes/Probo/actions/document/publish.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/dpia/publish.operation.js +15 -1
- package/dist/nodes/Probo/actions/dpia/publish.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/finding/publish.operation.js +15 -1
- package/dist/nodes/Probo/actions/finding/publish.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/index.js +2 -2
- package/dist/nodes/Probo/actions/index.js.map +1 -1
- package/dist/nodes/Probo/actions/obligation/publish.operation.js +15 -1
- package/dist/nodes/Probo/actions/obligation/publish.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/processingActivity/publish.operation.js +15 -1
- package/dist/nodes/Probo/actions/processingActivity/publish.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/risk/publish.operation.js +15 -1
- package/dist/nodes/Probo/actions/risk/publish.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/statementOfApplicability/publish.operation.js +15 -1
- package/dist/nodes/Probo/actions/statementOfApplicability/publish.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/tia/publish.operation.js +15 -1
- package/dist/nodes/Probo/actions/tia/publish.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/{cookiePattern → trackerPattern}/create.operation.js +13 -13
- package/dist/nodes/Probo/actions/trackerPattern/create.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/{cookiePattern → trackerPattern}/delete.operation.js +9 -9
- package/dist/nodes/Probo/actions/trackerPattern/delete.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/{cookiePattern → trackerPattern}/get.operation.js +9 -9
- package/dist/nodes/Probo/actions/trackerPattern/get.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/{cookiePattern → trackerPattern}/getAll.operation.js +8 -8
- package/dist/nodes/Probo/actions/trackerPattern/getAll.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/{cookiePattern → trackerPattern}/index.js +13 -13
- package/dist/nodes/Probo/actions/trackerPattern/index.js.map +1 -0
- package/dist/nodes/Probo/actions/{cookiePattern → trackerPattern}/move.operation.js +10 -10
- package/dist/nodes/Probo/actions/trackerPattern/move.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/{cookiePattern → trackerPattern}/update.operation.js +16 -16
- package/dist/nodes/Probo/actions/trackerPattern/update.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/vendor/publish.operation.js +15 -1
- package/dist/nodes/Probo/actions/vendor/publish.operation.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/nodes/Probo/actions/cookiePattern/create.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/cookiePattern/delete.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/cookiePattern/get.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/cookiePattern/getAll.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/cookiePattern/index.js.map +0 -1
- package/dist/nodes/Probo/actions/cookiePattern/move.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/cookiePattern/update.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/document/publishMajorVersion.operation.js +0 -79
- package/dist/nodes/Probo/actions/document/publishMajorVersion.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/document/publishMinorVersion.operation.d.ts +0 -3
- package/dist/nodes/Probo/actions/document/publishMinorVersion.operation.js +0 -79
- package/dist/nodes/Probo/actions/document/publishMinorVersion.operation.js.map +0 -1
- package/dist/nodes/Probo/actions/document/requestApproval.operation.d.ts +0 -3
- package/dist/nodes/Probo/actions/document/requestApproval.operation.js.map +0 -1
- /package/dist/nodes/Probo/actions/{cookiePattern/create.operation.d.ts → document/publish.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{cookiePattern/delete.operation.d.ts → trackerPattern/create.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{cookiePattern/get.operation.d.ts → trackerPattern/delete.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{cookiePattern/getAll.operation.d.ts → trackerPattern/get.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{cookiePattern/move.operation.d.ts → trackerPattern/getAll.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{cookiePattern → trackerPattern}/index.d.ts +0 -0
- /package/dist/nodes/Probo/actions/{cookiePattern/update.operation.d.ts → trackerPattern/move.operation.d.ts} +0 -0
- /package/dist/nodes/Probo/actions/{document/publishMajorVersion.operation.d.ts → trackerPattern/update.operation.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/processingActivity/publish.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"publish.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/processingActivity/publish.operation.ts"],"names":[],"mappings":";;;AA4D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AAC;IAEF,MAAM,KAAK,GAA4B,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC;IAEjE,IAAI,WAAW,EAAE,CAAC;QACjB,KAAK,CAAC,WAAW,GAAG,WAAW;aAC7B,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC;aACpB,MAAM,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -31,10 +31,24 @@ exports.description = [
|
|
|
31
31
|
default: '',
|
|
32
32
|
description: 'Comma-separated list of approver profile IDs',
|
|
33
33
|
},
|
|
34
|
+
{
|
|
35
|
+
displayName: 'Minor',
|
|
36
|
+
name: 'minor',
|
|
37
|
+
type: 'boolean',
|
|
38
|
+
displayOptions: {
|
|
39
|
+
show: {
|
|
40
|
+
resource: ['risk'],
|
|
41
|
+
operation: ['publish'],
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
default: false,
|
|
45
|
+
description: 'Whether to publish as a minor version. Approvers are ignored when set. The list must already have a published major version.',
|
|
46
|
+
},
|
|
34
47
|
];
|
|
35
48
|
async function execute(itemIndex) {
|
|
36
49
|
const organizationId = this.getNodeParameter('organizationId', itemIndex);
|
|
37
50
|
const approverIds = this.getNodeParameter('approverIds', itemIndex, '');
|
|
51
|
+
const minor = this.getNodeParameter('minor', itemIndex, false);
|
|
38
52
|
const query = `
|
|
39
53
|
mutation PublishRiskList($input: PublishRiskListInput!) {
|
|
40
54
|
publishRiskList(input: $input) {
|
|
@@ -65,7 +79,7 @@ async function execute(itemIndex) {
|
|
|
65
79
|
}
|
|
66
80
|
}
|
|
67
81
|
`;
|
|
68
|
-
const input = { organizationId };
|
|
82
|
+
const input = { organizationId, minor };
|
|
69
83
|
if (approverIds) {
|
|
70
84
|
input.approverIds = approverIds
|
|
71
85
|
.split(',')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/risk/publish.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"publish.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/risk/publish.operation.ts"],"names":[],"mappings":";;;AA4DA,0BAsDC;AAnGD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,SAAS,CAAC;aACtB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,uDAAuD;QACpE,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,SAAS,CAAC;aACtB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,8CAA8C;KAC3D;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,SAAS,CAAC;aACtB;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,8HAA8H;KAC3I;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,SAAS,CAAW,CAAC;IACpF,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,SAAS,EAAE,EAAE,CAAW,CAAC;IAClF,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,KAAK,CAAY,CAAC;IAE1E,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6Bb,CAAC;IAEF,MAAM,KAAK,GAA4B,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC;IAEjE,IAAI,WAAW,EAAE,CAAC;QACjB,KAAK,CAAC,WAAW,GAAG,WAAW;aAC7B,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC;aACpB,MAAM,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -31,10 +31,24 @@ exports.description = [
|
|
|
31
31
|
default: '',
|
|
32
32
|
description: 'Comma-separated list of approver profile IDs',
|
|
33
33
|
},
|
|
34
|
+
{
|
|
35
|
+
displayName: 'Minor',
|
|
36
|
+
name: 'minor',
|
|
37
|
+
type: 'boolean',
|
|
38
|
+
displayOptions: {
|
|
39
|
+
show: {
|
|
40
|
+
resource: ['statementOfApplicability'],
|
|
41
|
+
operation: ['publish'],
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
default: false,
|
|
45
|
+
description: 'Whether to publish as a minor version. Approvers are ignored when set. The list must already have a published major version.',
|
|
46
|
+
},
|
|
34
47
|
];
|
|
35
48
|
async function execute(itemIndex) {
|
|
36
49
|
const statementOfApplicabilityId = this.getNodeParameter('statementOfApplicabilityId', itemIndex);
|
|
37
50
|
const approverIds = this.getNodeParameter('approverIds', itemIndex, '');
|
|
51
|
+
const minor = this.getNodeParameter('minor', itemIndex, false);
|
|
38
52
|
const query = `
|
|
39
53
|
mutation PublishStatementOfApplicability($input: PublishStatementOfApplicabilityInput!) {
|
|
40
54
|
publishStatementOfApplicability(input: $input) {
|
|
@@ -65,7 +79,7 @@ async function execute(itemIndex) {
|
|
|
65
79
|
}
|
|
66
80
|
}
|
|
67
81
|
`;
|
|
68
|
-
const input = { statementOfApplicabilityId };
|
|
82
|
+
const input = { statementOfApplicabilityId, minor };
|
|
69
83
|
if (approverIds) {
|
|
70
84
|
input.approverIds = approverIds
|
|
71
85
|
.split(',')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/statementOfApplicability/publish.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"publish.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/statementOfApplicability/publish.operation.ts"],"names":[],"mappings":";;;AA4DA,0BAsDC;AAnGD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,+BAA+B;QAC5C,IAAI,EAAE,4BAA4B;QAClC,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,0BAA0B,CAAC;gBACtC,SAAS,EAAE,CAAC,SAAS,CAAC;aACtB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,qDAAqD;QAClE,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,cAAc;QAC3B,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,QAAQ;QACd,cAA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E,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -31,10 +31,24 @@ exports.description = [
|
|
|
31
31
|
default: '',
|
|
32
32
|
description: 'Comma-separated list of approver profile IDs',
|
|
33
33
|
},
|
|
34
|
+
{
|
|
35
|
+
displayName: 'Minor',
|
|
36
|
+
name: 'minor',
|
|
37
|
+
type: 'boolean',
|
|
38
|
+
displayOptions: {
|
|
39
|
+
show: {
|
|
40
|
+
resource: ['tia'],
|
|
41
|
+
operation: ['publish'],
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
default: false,
|
|
45
|
+
description: 'Whether to publish as a minor version. Approvers are ignored when set. The list must already have a published major version.',
|
|
46
|
+
},
|
|
34
47
|
];
|
|
35
48
|
async function execute(itemIndex) {
|
|
36
49
|
const organizationId = this.getNodeParameter('organizationId', itemIndex);
|
|
37
50
|
const approverIds = this.getNodeParameter('approverIds', itemIndex, '');
|
|
51
|
+
const minor = this.getNodeParameter('minor', itemIndex, false);
|
|
38
52
|
const query = `
|
|
39
53
|
mutation PublishTransferImpactAssessmentList($input: PublishTransferImpactAssessmentListInput!) {
|
|
40
54
|
publishTransferImpactAssessmentList(input: $input) {
|
|
@@ -65,7 +79,7 @@ async function execute(itemIndex) {
|
|
|
65
79
|
}
|
|
66
80
|
}
|
|
67
81
|
`;
|
|
68
|
-
const input = { organizationId };
|
|
82
|
+
const input = { organizationId, minor };
|
|
69
83
|
if (approverIds) {
|
|
70
84
|
input.approverIds = approverIds
|
|
71
85
|
.split(',')
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publish.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/tia/publish.operation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"publish.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/tia/publish.operation.ts"],"names":[],"mappings":";;;AA4DA,0BAsDC;AAnGD,6D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B,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC;IAEjE,IAAI,WAAW,EAAE,CAAC;QACjB,KAAK,CAAC,WAAW,GAAG,WAAW;aAC7B,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC;aACpB,MAAM,CAAC,OAAO,CAAC,CAAC;IACnB,CAAC;IAED,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -10,7 +10,7 @@ exports.description = [
|
|
|
10
10
|
type: 'string',
|
|
11
11
|
displayOptions: {
|
|
12
12
|
show: {
|
|
13
|
-
resource: ['
|
|
13
|
+
resource: ['trackerPattern'],
|
|
14
14
|
operation: ['create'],
|
|
15
15
|
},
|
|
16
16
|
},
|
|
@@ -24,12 +24,12 @@ exports.description = [
|
|
|
24
24
|
type: 'string',
|
|
25
25
|
displayOptions: {
|
|
26
26
|
show: {
|
|
27
|
-
resource: ['
|
|
27
|
+
resource: ['trackerPattern'],
|
|
28
28
|
operation: ['create'],
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
31
|
default: '',
|
|
32
|
-
description: 'The
|
|
32
|
+
description: 'The tracker name pattern to match',
|
|
33
33
|
required: true,
|
|
34
34
|
},
|
|
35
35
|
{
|
|
@@ -38,7 +38,7 @@ exports.description = [
|
|
|
38
38
|
type: 'options',
|
|
39
39
|
displayOptions: {
|
|
40
40
|
show: {
|
|
41
|
-
resource: ['
|
|
41
|
+
resource: ['trackerPattern'],
|
|
42
42
|
operation: ['create'],
|
|
43
43
|
},
|
|
44
44
|
},
|
|
@@ -53,7 +53,7 @@ exports.description = [
|
|
|
53
53
|
},
|
|
54
54
|
],
|
|
55
55
|
default: 'EXACT',
|
|
56
|
-
description: 'How the pattern should be matched against
|
|
56
|
+
description: 'How the pattern should be matched against tracker names',
|
|
57
57
|
required: true,
|
|
58
58
|
},
|
|
59
59
|
{
|
|
@@ -62,12 +62,12 @@ exports.description = [
|
|
|
62
62
|
type: 'string',
|
|
63
63
|
displayOptions: {
|
|
64
64
|
show: {
|
|
65
|
-
resource: ['
|
|
65
|
+
resource: ['trackerPattern'],
|
|
66
66
|
operation: ['create'],
|
|
67
67
|
},
|
|
68
68
|
},
|
|
69
69
|
default: '',
|
|
70
|
-
description: 'The display name for the
|
|
70
|
+
description: 'The display name for the tracker pattern',
|
|
71
71
|
required: true,
|
|
72
72
|
},
|
|
73
73
|
{
|
|
@@ -76,12 +76,12 @@ exports.description = [
|
|
|
76
76
|
type: 'string',
|
|
77
77
|
displayOptions: {
|
|
78
78
|
show: {
|
|
79
|
-
resource: ['
|
|
79
|
+
resource: ['trackerPattern'],
|
|
80
80
|
operation: ['create'],
|
|
81
81
|
},
|
|
82
82
|
},
|
|
83
83
|
default: '',
|
|
84
|
-
description: 'The description of the
|
|
84
|
+
description: 'The description of the tracker pattern',
|
|
85
85
|
required: true,
|
|
86
86
|
},
|
|
87
87
|
{
|
|
@@ -90,7 +90,7 @@ exports.description = [
|
|
|
90
90
|
type: 'number',
|
|
91
91
|
displayOptions: {
|
|
92
92
|
show: {
|
|
93
|
-
resource: ['
|
|
93
|
+
resource: ['trackerPattern'],
|
|
94
94
|
operation: ['create'],
|
|
95
95
|
},
|
|
96
96
|
},
|
|
@@ -106,9 +106,9 @@ async function execute(itemIndex) {
|
|
|
106
106
|
const description = this.getNodeParameter('description', itemIndex);
|
|
107
107
|
const maxAgeSeconds = this.getNodeParameter('maxAgeSeconds', itemIndex, 0);
|
|
108
108
|
const query = `
|
|
109
|
-
mutation
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
mutation CreateTrackerPattern($input: CreateTrackerPatternInput!) {
|
|
110
|
+
createTrackerPattern(input: $input) {
|
|
111
|
+
trackerPatternEdge {
|
|
112
112
|
node {
|
|
113
113
|
id
|
|
114
114
|
pattern
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trackerPattern/create.operation.ts"],"names":[],"mappings":";;;AAiHA,0BAmDC;AArJD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,OAAO;aACd;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;aACf;SACD;QACD,OAAO,EAAE,OAAO;QAChB,WAAW,EAAE,yDAAyD;QACtE,QAAQ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AAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,SAAS,CAAW,CAAC;IAC9E,MAAM,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,eAAe,EAAE,SAAS,EAAE,CAAC,CAAW,CAAC;IAErF,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;EAuBb,CAAC;IAEF,MAAM,KAAK,GAA4B;QACtC,gBAAgB;QAChB,OAAO;QACP,SAAS;QACT,WAAW;QACX,WAAW;KACX,CAAC;IACF,IAAI,aAAa;QAAE,KAAK,CAAC,aAAa,GAAG,aAAa,CAAC;IAEvD,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -5,26 +5,26 @@ exports.execute = execute;
|
|
|
5
5
|
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
6
|
exports.description = [
|
|
7
7
|
{
|
|
8
|
-
displayName: '
|
|
9
|
-
name: '
|
|
8
|
+
displayName: 'Tracker Pattern ID',
|
|
9
|
+
name: 'trackerPatternId',
|
|
10
10
|
type: 'string',
|
|
11
11
|
displayOptions: {
|
|
12
12
|
show: {
|
|
13
|
-
resource: ['
|
|
13
|
+
resource: ['trackerPattern'],
|
|
14
14
|
operation: ['delete'],
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
17
|
default: '',
|
|
18
|
-
description: 'The ID of the
|
|
18
|
+
description: 'The ID of the tracker pattern to delete',
|
|
19
19
|
required: true,
|
|
20
20
|
},
|
|
21
21
|
];
|
|
22
22
|
async function execute(itemIndex) {
|
|
23
|
-
const
|
|
23
|
+
const trackerPatternId = this.getNodeParameter('trackerPatternId', itemIndex);
|
|
24
24
|
const query = `
|
|
25
|
-
mutation
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
mutation DeleteTrackerPattern($input: DeleteTrackerPatternInput!) {
|
|
26
|
+
deleteTrackerPattern(input: $input) {
|
|
27
|
+
deletedTrackerPatternId
|
|
28
28
|
cookieBanner {
|
|
29
29
|
id
|
|
30
30
|
name
|
|
@@ -32,7 +32,7 @@ async function execute(itemIndex) {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
`;
|
|
35
|
-
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: {
|
|
35
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { trackerPatternId } });
|
|
36
36
|
return {
|
|
37
37
|
json: responseData,
|
|
38
38
|
pairedItem: { item: itemIndex },
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trackerPattern/delete.operation.ts"],"names":[],"mappings":";;;AAkCA,0BAwBC;AA3CD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,yCAAyC;QACtD,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,SAAS,CAAW,CAAC;IAExF,MAAM,KAAK,GAAG;;;;;;;;;;EAUb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC;IAE9F,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -5,26 +5,26 @@ exports.execute = execute;
|
|
|
5
5
|
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
6
|
exports.description = [
|
|
7
7
|
{
|
|
8
|
-
displayName: '
|
|
9
|
-
name: '
|
|
8
|
+
displayName: 'Tracker Pattern ID',
|
|
9
|
+
name: 'trackerPatternId',
|
|
10
10
|
type: 'string',
|
|
11
11
|
displayOptions: {
|
|
12
12
|
show: {
|
|
13
|
-
resource: ['
|
|
13
|
+
resource: ['trackerPattern'],
|
|
14
14
|
operation: ['get'],
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
17
|
default: '',
|
|
18
|
-
description: 'The ID of the
|
|
18
|
+
description: 'The ID of the tracker pattern',
|
|
19
19
|
required: true,
|
|
20
20
|
},
|
|
21
21
|
];
|
|
22
22
|
async function execute(itemIndex) {
|
|
23
|
-
const
|
|
23
|
+
const trackerPatternId = this.getNodeParameter('trackerPatternId', itemIndex);
|
|
24
24
|
const query = `
|
|
25
|
-
query
|
|
26
|
-
node(id: $
|
|
27
|
-
... on
|
|
25
|
+
query GetTrackerPattern($trackerPatternId: ID!) {
|
|
26
|
+
node(id: $trackerPatternId) {
|
|
27
|
+
... on TrackerPattern {
|
|
28
28
|
id
|
|
29
29
|
pattern
|
|
30
30
|
matchType
|
|
@@ -40,7 +40,7 @@ async function execute(itemIndex) {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
`;
|
|
43
|
-
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, {
|
|
43
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { trackerPatternId });
|
|
44
44
|
return {
|
|
45
45
|
json: responseData,
|
|
46
46
|
pairedItem: { item: itemIndex },
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trackerPattern/get.operation.ts"],"names":[],"mappings":";;;AAkCA,0BAgCC;AAnDD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;gBAC5B,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,SAAS,CAAW,CAAC;IAExF,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;EAkBb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC;IAEnF,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -10,7 +10,7 @@ exports.description = [
|
|
|
10
10
|
type: 'string',
|
|
11
11
|
displayOptions: {
|
|
12
12
|
show: {
|
|
13
|
-
resource: ['
|
|
13
|
+
resource: ['trackerPattern'],
|
|
14
14
|
operation: ['getAll'],
|
|
15
15
|
},
|
|
16
16
|
},
|
|
@@ -24,7 +24,7 @@ exports.description = [
|
|
|
24
24
|
type: 'boolean',
|
|
25
25
|
displayOptions: {
|
|
26
26
|
show: {
|
|
27
|
-
resource: ['
|
|
27
|
+
resource: ['trackerPattern'],
|
|
28
28
|
operation: ['getAll'],
|
|
29
29
|
},
|
|
30
30
|
},
|
|
@@ -37,7 +37,7 @@ exports.description = [
|
|
|
37
37
|
type: 'number',
|
|
38
38
|
displayOptions: {
|
|
39
39
|
show: {
|
|
40
|
-
resource: ['
|
|
40
|
+
resource: ['trackerPattern'],
|
|
41
41
|
operation: ['getAll'],
|
|
42
42
|
returnAll: [false],
|
|
43
43
|
},
|
|
@@ -54,10 +54,10 @@ async function execute(itemIndex) {
|
|
|
54
54
|
const returnAll = this.getNodeParameter('returnAll', itemIndex);
|
|
55
55
|
const limit = this.getNodeParameter('limit', itemIndex, 50);
|
|
56
56
|
const query = `
|
|
57
|
-
query
|
|
57
|
+
query GetTrackerPatterns($cookieCategoryId: ID!, $first: Int, $after: CursorKey) {
|
|
58
58
|
node(id: $cookieCategoryId) {
|
|
59
59
|
... on CookieCategory {
|
|
60
|
-
|
|
60
|
+
trackerPatterns(first: $first, after: $after) {
|
|
61
61
|
edges {
|
|
62
62
|
node {
|
|
63
63
|
id
|
|
@@ -82,13 +82,13 @@ async function execute(itemIndex) {
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
`;
|
|
85
|
-
const
|
|
85
|
+
const trackerPatterns = await GenericFunctions_1.proboApiRequestAllItems.call(this, query, { cookieCategoryId }, (response) => {
|
|
86
86
|
const data = response === null || response === void 0 ? void 0 : response.data;
|
|
87
87
|
const node = data === null || data === void 0 ? void 0 : data.node;
|
|
88
|
-
return node === null || node === void 0 ? void 0 : node.
|
|
88
|
+
return node === null || node === void 0 ? void 0 : node.trackerPatterns;
|
|
89
89
|
}, returnAll, limit);
|
|
90
90
|
return {
|
|
91
|
-
json: {
|
|
91
|
+
json: { trackerPatterns },
|
|
92
92
|
pairedItem: { item: itemIndex },
|
|
93
93
|
};
|
|
94
94
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAll.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trackerPattern/getAll.operation.ts"],"names":[],"mappings":";;;AAgEA,0BAuDC;A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IAEtE,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4Bb,CAAC;IAEF,MAAM,eAAe,GAAG,MAAM,0CAAuB,CAAC,IAAI,CACzD,IAAI,EACJ,KAAK,EACL,EAAE,gBAAgB,EAAE,EACpB,CAAC,QAAQ,EAAE,EAAE;QACZ,MAAM,IAAI,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAA+B,CAAC;QACvD,MAAM,IAAI,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAA+B,CAAC;QACnD,OAAO,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAA0C,CAAC;IACzD,CAAC,EACD,SAAS,EACT,KAAK,CACL,CAAC;IAEF,OAAO;QACN,IAAI,EAAE,EAAE,eAAe,EAAE;QACzB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -54,45 +54,45 @@ exports.description = [
|
|
|
54
54
|
noDataExpression: true,
|
|
55
55
|
displayOptions: {
|
|
56
56
|
show: {
|
|
57
|
-
resource: ['
|
|
57
|
+
resource: ['trackerPattern'],
|
|
58
58
|
},
|
|
59
59
|
},
|
|
60
60
|
options: [
|
|
61
61
|
{
|
|
62
62
|
name: 'Create',
|
|
63
63
|
value: 'create',
|
|
64
|
-
description: 'Create a new
|
|
65
|
-
action: 'Create a
|
|
64
|
+
description: 'Create a new tracker pattern',
|
|
65
|
+
action: 'Create a tracker pattern',
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
name: 'Delete',
|
|
69
69
|
value: 'delete',
|
|
70
|
-
description: 'Delete a
|
|
71
|
-
action: 'Delete a
|
|
70
|
+
description: 'Delete a tracker pattern',
|
|
71
|
+
action: 'Delete a tracker pattern',
|
|
72
72
|
},
|
|
73
73
|
{
|
|
74
74
|
name: 'Get',
|
|
75
75
|
value: 'get',
|
|
76
|
-
description: 'Get a
|
|
77
|
-
action: 'Get a
|
|
76
|
+
description: 'Get a tracker pattern',
|
|
77
|
+
action: 'Get a tracker pattern',
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
name: 'Get Many',
|
|
81
81
|
value: 'getAll',
|
|
82
|
-
description: 'Get many
|
|
83
|
-
action: 'Get many
|
|
82
|
+
description: 'Get many tracker patterns',
|
|
83
|
+
action: 'Get many tracker patterns',
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
name: 'Move',
|
|
87
87
|
value: 'move',
|
|
88
|
-
description: 'Move a
|
|
89
|
-
action: 'Move a
|
|
88
|
+
description: 'Move a tracker pattern to a different category',
|
|
89
|
+
action: 'Move a tracker pattern',
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
name: 'Update',
|
|
93
93
|
value: 'update',
|
|
94
|
-
description: 'Update an existing
|
|
95
|
-
action: 'Update a
|
|
94
|
+
description: 'Update an existing tracker pattern',
|
|
95
|
+
action: 'Update a tracker pattern',
|
|
96
96
|
},
|
|
97
97
|
],
|
|
98
98
|
default: 'create',
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trackerPattern/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAeA,6DAA+C;AAmElC,0BAAM;AAlEnB,uDAAyC;AAmE/B,oBAAG;AAlEb,6DAA+C;AAmElC,0BAAM;AAlEnB,6DAA+C;AAmElC,0BAAM;AAlEnB,6DAA+C;AAmElC,0BAAM;AAlEnB,yDAA2C;AAmEhC,sBAAI;AAjEF,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,gBAAgB,CAAC;aAC5B;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,8BAA8B;gBAC3C,MAAM,EAAE,0BAA0B;aAClC;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,0BAA0B;gBACvC,MAAM,EAAE,0BAA0B;aAClC;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,uBAAuB;gBACpC,MAAM,EAAE,uBAAuB;aAC/B;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,2BAA2B;gBACxC,MAAM,EAAE,2BAA2B;aACnC;YACD;gBACC,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,gDAAgD;gBAC7D,MAAM,EAAE,wBAAwB;aAChC;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,oCAAoC;gBACjD,MAAM,EAAE,0BAA0B;aAClC;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,KAAK,CAAC,WAAW;IACpB,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,MAAM,CAAC,WAAW;CACrB,CAAC"}
|
|
@@ -5,17 +5,17 @@ exports.execute = execute;
|
|
|
5
5
|
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
6
|
exports.description = [
|
|
7
7
|
{
|
|
8
|
-
displayName: '
|
|
9
|
-
name: '
|
|
8
|
+
displayName: 'Tracker Pattern ID',
|
|
9
|
+
name: 'trackerPatternId',
|
|
10
10
|
type: 'string',
|
|
11
11
|
displayOptions: {
|
|
12
12
|
show: {
|
|
13
|
-
resource: ['
|
|
13
|
+
resource: ['trackerPattern'],
|
|
14
14
|
operation: ['move'],
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
17
|
default: '',
|
|
18
|
-
description: 'The ID of the
|
|
18
|
+
description: 'The ID of the tracker pattern to move',
|
|
19
19
|
required: true,
|
|
20
20
|
},
|
|
21
21
|
{
|
|
@@ -24,7 +24,7 @@ exports.description = [
|
|
|
24
24
|
type: 'string',
|
|
25
25
|
displayOptions: {
|
|
26
26
|
show: {
|
|
27
|
-
resource: ['
|
|
27
|
+
resource: ['trackerPattern'],
|
|
28
28
|
operation: ['move'],
|
|
29
29
|
},
|
|
30
30
|
},
|
|
@@ -34,12 +34,12 @@ exports.description = [
|
|
|
34
34
|
},
|
|
35
35
|
];
|
|
36
36
|
async function execute(itemIndex) {
|
|
37
|
-
const
|
|
37
|
+
const trackerPatternId = this.getNodeParameter('trackerPatternId', itemIndex);
|
|
38
38
|
const targetCookieCategoryId = this.getNodeParameter('targetCookieCategoryId', itemIndex);
|
|
39
39
|
const query = `
|
|
40
|
-
mutation
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
mutation MoveTrackerPatternToCategory($input: MoveTrackerPatternToCategoryInput!) {
|
|
41
|
+
moveTrackerPatternToCategory(input: $input) {
|
|
42
|
+
trackerPattern {
|
|
43
43
|
id
|
|
44
44
|
pattern
|
|
45
45
|
matchType
|
|
@@ -59,7 +59,7 @@ async function execute(itemIndex) {
|
|
|
59
59
|
}
|
|
60
60
|
`;
|
|
61
61
|
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, {
|
|
62
|
-
input: {
|
|
62
|
+
input: { trackerPatternId, targetCookieCategoryId },
|
|
63
63
|
});
|
|
64
64
|
return {
|
|
65
65
|
json: responseData,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"move.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trackerPattern/move.operation.ts"],"names":[],"mappings":";;;AAgDA,0BAsCC;AAvED,6DAAyD;AAE5C,QAAA,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
7
7
|
{
|
|
8
|
-
displayName: '
|
|
9
|
-
name: '
|
|
8
|
+
displayName: 'Tracker Pattern ID',
|
|
9
|
+
name: 'trackerPatternId',
|
|
10
10
|
type: 'string',
|
|
11
11
|
displayOptions: {
|
|
12
12
|
show: {
|
|
13
|
-
resource: ['
|
|
13
|
+
resource: ['trackerPattern'],
|
|
14
14
|
operation: ['update'],
|
|
15
15
|
},
|
|
16
16
|
},
|
|
17
17
|
default: '',
|
|
18
|
-
description: 'The ID of the
|
|
18
|
+
description: 'The ID of the tracker pattern to update',
|
|
19
19
|
required: true,
|
|
20
20
|
},
|
|
21
21
|
{
|
|
@@ -24,12 +24,12 @@ exports.description = [
|
|
|
24
24
|
type: 'string',
|
|
25
25
|
displayOptions: {
|
|
26
26
|
show: {
|
|
27
|
-
resource: ['
|
|
27
|
+
resource: ['trackerPattern'],
|
|
28
28
|
operation: ['update'],
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
31
|
default: '',
|
|
32
|
-
description: 'The display name for the
|
|
32
|
+
description: 'The display name for the tracker pattern',
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
displayName: 'Excluded',
|
|
@@ -37,7 +37,7 @@ exports.description = [
|
|
|
37
37
|
type: 'options',
|
|
38
38
|
displayOptions: {
|
|
39
39
|
show: {
|
|
40
|
-
resource: ['
|
|
40
|
+
resource: ['trackerPattern'],
|
|
41
41
|
operation: ['update'],
|
|
42
42
|
},
|
|
43
43
|
},
|
|
@@ -56,7 +56,7 @@ exports.description = [
|
|
|
56
56
|
},
|
|
57
57
|
],
|
|
58
58
|
default: '',
|
|
59
|
-
description: 'Whether the
|
|
59
|
+
description: 'Whether the tracker pattern is excluded from the banner',
|
|
60
60
|
},
|
|
61
61
|
{
|
|
62
62
|
displayName: 'Description',
|
|
@@ -64,12 +64,12 @@ exports.description = [
|
|
|
64
64
|
type: 'string',
|
|
65
65
|
displayOptions: {
|
|
66
66
|
show: {
|
|
67
|
-
resource: ['
|
|
67
|
+
resource: ['trackerPattern'],
|
|
68
68
|
operation: ['update'],
|
|
69
69
|
},
|
|
70
70
|
},
|
|
71
71
|
default: '',
|
|
72
|
-
description: 'The description of the
|
|
72
|
+
description: 'The description of the tracker pattern',
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
displayName: 'Additional Fields',
|
|
@@ -79,7 +79,7 @@ exports.description = [
|
|
|
79
79
|
default: {},
|
|
80
80
|
displayOptions: {
|
|
81
81
|
show: {
|
|
82
|
-
resource: ['
|
|
82
|
+
resource: ['trackerPattern'],
|
|
83
83
|
operation: ['update'],
|
|
84
84
|
},
|
|
85
85
|
},
|
|
@@ -98,15 +98,15 @@ exports.description = [
|
|
|
98
98
|
},
|
|
99
99
|
];
|
|
100
100
|
async function execute(itemIndex) {
|
|
101
|
-
const
|
|
101
|
+
const trackerPatternId = this.getNodeParameter('trackerPatternId', itemIndex);
|
|
102
102
|
const displayName = this.getNodeParameter('displayName', itemIndex, '');
|
|
103
103
|
const excluded = this.getNodeParameter('excluded', itemIndex, '');
|
|
104
104
|
const patternDescription = this.getNodeParameter('patternDescription', itemIndex, '');
|
|
105
105
|
const additionalFields = this.getNodeParameter('additionalFields', itemIndex, {});
|
|
106
106
|
const query = `
|
|
107
|
-
mutation
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
mutation UpdateTrackerPattern($input: UpdateTrackerPatternInput!) {
|
|
108
|
+
updateTrackerPattern(input: $input) {
|
|
109
|
+
trackerPattern {
|
|
110
110
|
id
|
|
111
111
|
pattern
|
|
112
112
|
matchType
|
|
@@ -125,7 +125,7 @@ async function execute(itemIndex) {
|
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
`;
|
|
128
|
-
const input = {
|
|
128
|
+
const input = { trackerPatternId };
|
|
129
129
|
if (displayName)
|
|
130
130
|
input.displayName = displayName;
|
|
131
131
|
if (excluded)
|