@probo/n8n-nodes-probo 0.202.1 → 0.204.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/actions/risk/create.operation.js +4 -4
- package/dist/nodes/Probo/actions/risk/create.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/risk/update.operation.js +4 -4
- package/dist/nodes/Probo/actions/risk/update.operation.js.map +1 -1
- package/dist/nodes/Probo/actions/trustCenter/createCommitment.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/trustCenter/createCommitment.operation.js +136 -0
- package/dist/nodes/Probo/actions/trustCenter/createCommitment.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/trustCenter/createCommitmentGroup.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/trustCenter/createCommitmentGroup.operation.js +81 -0
- package/dist/nodes/Probo/actions/trustCenter/createCommitmentGroup.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/trustCenter/deleteCommitment.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/trustCenter/deleteCommitment.operation.js +37 -0
- package/dist/nodes/Probo/actions/trustCenter/deleteCommitment.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/trustCenter/deleteCommitmentGroup.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/trustCenter/deleteCommitmentGroup.operation.js +37 -0
- package/dist/nodes/Probo/actions/trustCenter/deleteCommitmentGroup.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/trustCenter/getAllCommitmentGroups.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/trustCenter/getAllCommitmentGroups.operation.js +93 -0
- package/dist/nodes/Probo/actions/trustCenter/getAllCommitmentGroups.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/trustCenter/getAllCommitments.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/trustCenter/getAllCommitments.operation.js +92 -0
- package/dist/nodes/Probo/actions/trustCenter/getAllCommitments.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/trustCenter/index.d.ts +9 -1
- package/dist/nodes/Probo/actions/trustCenter/index.js +73 -1
- package/dist/nodes/Probo/actions/trustCenter/index.js.map +1 -1
- package/dist/nodes/Probo/actions/trustCenter/updateCommitment.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/trustCenter/updateCommitment.operation.js +154 -0
- package/dist/nodes/Probo/actions/trustCenter/updateCommitment.operation.js.map +1 -0
- package/dist/nodes/Probo/actions/trustCenter/updateCommitmentGroup.operation.d.ts +3 -0
- package/dist/nodes/Probo/actions/trustCenter/updateCommitmentGroup.operation.js +96 -0
- package/dist/nodes/Probo/actions/trustCenter/updateCommitmentGroup.operation.js.map +1 -0
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -79,7 +79,7 @@ exports.description = [
|
|
|
79
79
|
required: true,
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
|
-
displayName: '
|
|
82
|
+
displayName: 'Initial Likelihood',
|
|
83
83
|
name: 'inherentLikelihood',
|
|
84
84
|
type: 'number',
|
|
85
85
|
displayOptions: {
|
|
@@ -93,11 +93,11 @@ exports.description = [
|
|
|
93
93
|
maxValue: 5,
|
|
94
94
|
},
|
|
95
95
|
default: 1,
|
|
96
|
-
description: 'The
|
|
96
|
+
description: 'The initial likelihood of the risk (1-5)',
|
|
97
97
|
required: true,
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
displayName: '
|
|
100
|
+
displayName: 'Initial Impact',
|
|
101
101
|
name: 'inherentImpact',
|
|
102
102
|
type: 'number',
|
|
103
103
|
displayOptions: {
|
|
@@ -111,7 +111,7 @@ exports.description = [
|
|
|
111
111
|
maxValue: 5,
|
|
112
112
|
},
|
|
113
113
|
default: 1,
|
|
114
|
-
description: 'The
|
|
114
|
+
description: 'The initial impact of the risk (1-5)',
|
|
115
115
|
required: true,
|
|
116
116
|
},
|
|
117
117
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/risk/create.operation.ts"],"names":[],"mappings":";;;AAkMA,0BA+DC;AA5OD,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,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;QACzC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sBAAsB;QACnC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,0BAA0B;QACvC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,WAAW;aAClB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;aACjB;YACD;gBACC,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,SAAS;aAChB;YACD;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,aAAa;aACpB;SACD;QACD,OAAO,EAAE,WAAW;QACpB,WAAW,EAAE,qCAAqC;QAClD,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/risk/create.operation.ts"],"names":[],"mappings":";;;AAkMA,0BA+DC;AA5OD,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,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;QACzC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sBAAsB;QACnC,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OA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IAAI,GAAG,gBAAgB,CAAC,IAAI,CAAC;IAE9D,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"}
|
|
@@ -97,7 +97,7 @@ exports.description = [
|
|
|
97
97
|
description: 'The description of the risk',
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
displayName: '
|
|
100
|
+
displayName: 'Initial Impact',
|
|
101
101
|
name: 'inherentImpact',
|
|
102
102
|
type: 'number',
|
|
103
103
|
typeOptions: {
|
|
@@ -105,10 +105,10 @@ exports.description = [
|
|
|
105
105
|
maxValue: 5,
|
|
106
106
|
},
|
|
107
107
|
default: 1,
|
|
108
|
-
description: 'The
|
|
108
|
+
description: 'The initial impact of the risk (1-5)',
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
|
-
displayName: '
|
|
111
|
+
displayName: 'Initial Likelihood',
|
|
112
112
|
name: 'inherentLikelihood',
|
|
113
113
|
type: 'number',
|
|
114
114
|
typeOptions: {
|
|
@@ -116,7 +116,7 @@ exports.description = [
|
|
|
116
116
|
maxValue: 5,
|
|
117
117
|
},
|
|
118
118
|
default: 1,
|
|
119
|
-
description: 'The
|
|
119
|
+
description: 'The initial likelihood of the risk (1-5)',
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
122
|
displayName: 'Note',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/risk/update.operation.ts"],"names":[],"mappings":";;;AAkLA,0BA2DC;AAxND,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,E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ACX,WAAW,EAAE,qCAAqC;KAClD;IACD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,WAAW;QACxB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,aAAa;gBAC1B,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,6BAA6B;aAC1C;YACD;gBACC,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/risk/update.operation.ts"],"names":[],"mappings":";;;AAkLA,0BA2DC;AAxND,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,8BAA8B;QAC3C,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;aACrB;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sBAAsB;KACnC;IACD;QACC,WAAW,EAAE,UAAU;QACvB,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,cAAc,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AI,gBAAgB,CAAC,kBAAkB,KAAK,SAAS;QAAE,KAAK,CAAC,kBAAkB,GAAG,gBAAgB,CAAC,kBAAkB,CAAC;IACtH,IAAI,gBAAgB,CAAC,cAAc,KAAK,SAAS;QAAE,KAAK,CAAC,cAAc,GAAG,gBAAgB,CAAC,cAAc,CAAC;IAC1G,IAAI,gBAAgB,CAAC,IAAI,KAAK,SAAS;QAAE,KAAK,CAAC,IAAI,GAAG,gBAAgB,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,gBAAgB,CAAC,IAAI,CAAC;IAElH,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"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
const commitmentIconOptions = [
|
|
7
|
+
{ name: 'Lock Key', value: 'LOCK_KEY' },
|
|
8
|
+
{ name: 'Eye Slash', value: 'EYE_SLASH' },
|
|
9
|
+
{ name: 'Fingerprint', value: 'FINGERPRINT' },
|
|
10
|
+
{ name: 'Shield Warning', value: 'SHIELD_WARNING' },
|
|
11
|
+
{ name: 'Shield Check', value: 'SHIELD_CHECK' },
|
|
12
|
+
{ name: 'Siren', value: 'SIREN' },
|
|
13
|
+
{ name: 'Key', value: 'KEY' },
|
|
14
|
+
{ name: 'Lock', value: 'LOCK' },
|
|
15
|
+
{ name: 'Cloud', value: 'CLOUD' },
|
|
16
|
+
{ name: 'Database', value: 'DATABASE' },
|
|
17
|
+
{ name: 'Globe', value: 'GLOBE' },
|
|
18
|
+
{ name: 'Eye', value: 'EYE' },
|
|
19
|
+
{ name: 'Users', value: 'USERS' },
|
|
20
|
+
{ name: 'Certificate', value: 'CERTIFICATE' },
|
|
21
|
+
{ name: 'Gavel', value: 'GAVEL' },
|
|
22
|
+
{ name: 'Heartbeat', value: 'HEARTBEAT' },
|
|
23
|
+
{ name: 'Bell', value: 'BELL' },
|
|
24
|
+
{ name: 'Bug', value: 'BUG' },
|
|
25
|
+
{ name: 'Code', value: 'CODE' },
|
|
26
|
+
{ name: 'Server', value: 'SERVER' },
|
|
27
|
+
];
|
|
28
|
+
exports.description = [
|
|
29
|
+
{
|
|
30
|
+
displayName: 'Commitment Group ID',
|
|
31
|
+
name: 'groupId',
|
|
32
|
+
type: 'string',
|
|
33
|
+
displayOptions: {
|
|
34
|
+
show: {
|
|
35
|
+
resource: ['trustCenter'],
|
|
36
|
+
operation: ['createCommitment'],
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
default: '',
|
|
40
|
+
description: 'The ID of the commitment group',
|
|
41
|
+
required: true,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
displayName: 'Icon',
|
|
45
|
+
name: 'icon',
|
|
46
|
+
type: 'options',
|
|
47
|
+
displayOptions: {
|
|
48
|
+
show: {
|
|
49
|
+
resource: ['trustCenter'],
|
|
50
|
+
operation: ['createCommitment'],
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
options: commitmentIconOptions,
|
|
54
|
+
default: 'LOCK_KEY',
|
|
55
|
+
description: 'The icon of the commitment',
|
|
56
|
+
required: true,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
displayName: 'Eyebrow',
|
|
60
|
+
name: 'eyebrow',
|
|
61
|
+
type: 'string',
|
|
62
|
+
displayOptions: {
|
|
63
|
+
show: {
|
|
64
|
+
resource: ['trustCenter'],
|
|
65
|
+
operation: ['createCommitment'],
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
default: '',
|
|
69
|
+
description: 'The eyebrow text of the commitment',
|
|
70
|
+
required: true,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
displayName: 'Title',
|
|
74
|
+
name: 'title',
|
|
75
|
+
type: 'string',
|
|
76
|
+
displayOptions: {
|
|
77
|
+
show: {
|
|
78
|
+
resource: ['trustCenter'],
|
|
79
|
+
operation: ['createCommitment'],
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
default: '',
|
|
83
|
+
description: 'The title of the commitment',
|
|
84
|
+
required: true,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
displayName: 'Description',
|
|
88
|
+
name: 'description',
|
|
89
|
+
type: 'string',
|
|
90
|
+
typeOptions: {
|
|
91
|
+
rows: 4,
|
|
92
|
+
},
|
|
93
|
+
displayOptions: {
|
|
94
|
+
show: {
|
|
95
|
+
resource: ['trustCenter'],
|
|
96
|
+
operation: ['createCommitment'],
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
default: '',
|
|
100
|
+
description: 'The description of the commitment',
|
|
101
|
+
required: true,
|
|
102
|
+
},
|
|
103
|
+
];
|
|
104
|
+
async function execute(itemIndex) {
|
|
105
|
+
const groupId = this.getNodeParameter('groupId', itemIndex);
|
|
106
|
+
const icon = this.getNodeParameter('icon', itemIndex);
|
|
107
|
+
const eyebrow = this.getNodeParameter('eyebrow', itemIndex);
|
|
108
|
+
const title = this.getNodeParameter('title', itemIndex);
|
|
109
|
+
const description = this.getNodeParameter('description', itemIndex);
|
|
110
|
+
const query = `
|
|
111
|
+
mutation CreateCompliancePortalCommitment($input: CreateCompliancePortalCommitmentInput!) {
|
|
112
|
+
createCompliancePortalCommitment(input: $input) {
|
|
113
|
+
compliancePortalCommitmentEdge {
|
|
114
|
+
node {
|
|
115
|
+
id
|
|
116
|
+
icon
|
|
117
|
+
eyebrow
|
|
118
|
+
title
|
|
119
|
+
description
|
|
120
|
+
rank
|
|
121
|
+
createdAt
|
|
122
|
+
updatedAt
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
`;
|
|
128
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, {
|
|
129
|
+
input: { groupId, icon, eyebrow, title, description },
|
|
130
|
+
});
|
|
131
|
+
return {
|
|
132
|
+
json: responseData,
|
|
133
|
+
pairedItem: { item: itemIndex },
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
//# sourceMappingURL=createCommitment.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCommitment.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trustCenter/createCommitment.operation.ts"],"names":[],"mappings":";;;AA2HA,0BAqCC;AA3ID,6DAAyD;AAEzD,MAAM,qBAAqB,GAAG;IAC7B,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACvC,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;IACzC,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;IAC7C,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,gBAAgB,EAAE;IACnD,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,cAAc,EAAE;IAC/C,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IACjC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE;IAC7B,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;IAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IACjC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACvC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;IACjC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK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AC;IAE9E,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;EAiBb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE;QAC5D,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE;KACrD,CAAC,CAAC;IAEH,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Trust Center ID',
|
|
9
|
+
name: 'trustCenterId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['trustCenter'],
|
|
14
|
+
operation: ['createCommitmentGroup'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the trust center',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Title',
|
|
23
|
+
name: 'title',
|
|
24
|
+
type: 'string',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['trustCenter'],
|
|
28
|
+
operation: ['createCommitmentGroup'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
description: 'The title of the commitment group',
|
|
33
|
+
required: true,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
displayName: 'Description',
|
|
37
|
+
name: 'description',
|
|
38
|
+
type: 'string',
|
|
39
|
+
typeOptions: {
|
|
40
|
+
rows: 4,
|
|
41
|
+
},
|
|
42
|
+
displayOptions: {
|
|
43
|
+
show: {
|
|
44
|
+
resource: ['trustCenter'],
|
|
45
|
+
operation: ['createCommitmentGroup'],
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
default: '',
|
|
49
|
+
description: 'The description of the commitment group',
|
|
50
|
+
required: true,
|
|
51
|
+
},
|
|
52
|
+
];
|
|
53
|
+
async function execute(itemIndex) {
|
|
54
|
+
const trustCenterId = this.getNodeParameter('trustCenterId', itemIndex);
|
|
55
|
+
const title = this.getNodeParameter('title', itemIndex);
|
|
56
|
+
const description = this.getNodeParameter('description', itemIndex);
|
|
57
|
+
const query = `
|
|
58
|
+
mutation CreateCompliancePortalCommitmentGroup($input: CreateCompliancePortalCommitmentGroupInput!) {
|
|
59
|
+
createCompliancePortalCommitmentGroup(input: $input) {
|
|
60
|
+
compliancePortalCommitmentGroupEdge {
|
|
61
|
+
node {
|
|
62
|
+
id
|
|
63
|
+
title
|
|
64
|
+
description
|
|
65
|
+
rank
|
|
66
|
+
createdAt
|
|
67
|
+
updatedAt
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
`;
|
|
73
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, {
|
|
74
|
+
input: { trustCenterId, title, description },
|
|
75
|
+
});
|
|
76
|
+
return {
|
|
77
|
+
json: responseData,
|
|
78
|
+
pairedItem: { item: itemIndex },
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=createCommitmentGroup.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCommitmentGroup.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trustCenter/createCommitmentGroup.operation.ts"],"names":[],"mappings":";;;AAuEA,0BAiCC;AAnFD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,iBA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CAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE;QAC5D,KAAK,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE;KAC5C,CAAC,CAAC;IAEH,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Commitment ID',
|
|
9
|
+
name: 'commitmentId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['trustCenter'],
|
|
14
|
+
operation: ['deleteCommitment'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the commitment to delete',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
];
|
|
22
|
+
async function execute(itemIndex) {
|
|
23
|
+
const commitmentId = this.getNodeParameter('commitmentId', itemIndex);
|
|
24
|
+
const query = `
|
|
25
|
+
mutation DeleteCompliancePortalCommitment($input: DeleteCompliancePortalCommitmentInput!) {
|
|
26
|
+
deleteCompliancePortalCommitment(input: $input) {
|
|
27
|
+
deletedCompliancePortalCommitmentId
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`;
|
|
31
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { id: commitmentId } });
|
|
32
|
+
return {
|
|
33
|
+
json: responseData,
|
|
34
|
+
pairedItem: { item: itemIndex },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=deleteCommitment.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteCommitment.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trustCenter/deleteCommitment.operation.ts"],"names":[],"mappings":";;;AAwCA,0BAoBC;AAvCD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,eAAe;QAC5B,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAC/B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,oCAAoC;QACjD,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,SAAS,CAAW,CAAC;IAEhF,MAAM,KAAK,GAAG;;;;;;EAMb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;IAE9F,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Commitment Group ID',
|
|
9
|
+
name: 'commitmentGroupId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['trustCenter'],
|
|
14
|
+
operation: ['deleteCommitmentGroup'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the commitment group to delete',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
];
|
|
22
|
+
async function execute(itemIndex) {
|
|
23
|
+
const commitmentGroupId = this.getNodeParameter('commitmentGroupId', itemIndex);
|
|
24
|
+
const query = `
|
|
25
|
+
mutation DeleteCompliancePortalCommitmentGroup($input: DeleteCompliancePortalCommitmentGroupInput!) {
|
|
26
|
+
deleteCompliancePortalCommitmentGroup(input: $input) {
|
|
27
|
+
deletedCompliancePortalCommitmentGroupId
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`;
|
|
31
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { id: commitmentGroupId } });
|
|
32
|
+
return {
|
|
33
|
+
json: responseData,
|
|
34
|
+
pairedItem: { item: itemIndex },
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=deleteCommitmentGroup.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteCommitmentGroup.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trustCenter/deleteCommitmentGroup.operation.ts"],"names":[],"mappings":";;;AAwCA,0BAoBC;AAvCD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,uBAAuB,CAAC;aACpC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,0CAA0C;QACvD,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,SAAS,CAAW,CAAC;IAE1F,MAAM,KAAK,GAAG;;;;;;EAMb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,iBAAiB,EAAE,EAAE,CAAC,CAAC;IAEnG,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Organization ID',
|
|
9
|
+
name: 'organizationId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['trustCenter'],
|
|
14
|
+
operation: ['getAllCommitmentGroups'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the organization',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Return All',
|
|
23
|
+
name: 'returnAll',
|
|
24
|
+
type: 'boolean',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['trustCenter'],
|
|
28
|
+
operation: ['getAllCommitmentGroups'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: false,
|
|
32
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
displayName: 'Limit',
|
|
36
|
+
name: 'limit',
|
|
37
|
+
type: 'number',
|
|
38
|
+
displayOptions: {
|
|
39
|
+
show: {
|
|
40
|
+
resource: ['trustCenter'],
|
|
41
|
+
operation: ['getAllCommitmentGroups'],
|
|
42
|
+
returnAll: [false],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
typeOptions: {
|
|
46
|
+
minValue: 1,
|
|
47
|
+
},
|
|
48
|
+
default: 50,
|
|
49
|
+
description: 'Max number of results to return',
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
async function execute(itemIndex) {
|
|
53
|
+
const organizationId = this.getNodeParameter('organizationId', itemIndex);
|
|
54
|
+
const returnAll = this.getNodeParameter('returnAll', itemIndex);
|
|
55
|
+
const limit = this.getNodeParameter('limit', itemIndex, 50);
|
|
56
|
+
const query = `
|
|
57
|
+
query GetCompliancePortalCommitmentGroups($organizationId: ID!, $first: Int, $after: CursorKey) {
|
|
58
|
+
node(id: $organizationId) {
|
|
59
|
+
... on Organization {
|
|
60
|
+
trustCenter {
|
|
61
|
+
commitmentGroups(first: $first, after: $after) {
|
|
62
|
+
edges {
|
|
63
|
+
node {
|
|
64
|
+
id
|
|
65
|
+
title
|
|
66
|
+
description
|
|
67
|
+
rank
|
|
68
|
+
createdAt
|
|
69
|
+
updatedAt
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
pageInfo {
|
|
73
|
+
hasNextPage
|
|
74
|
+
endCursor
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
`;
|
|
82
|
+
const commitmentGroups = await GenericFunctions_1.proboApiRequestAllItems.call(this, query, { organizationId }, (response) => {
|
|
83
|
+
const data = response === null || response === void 0 ? void 0 : response.data;
|
|
84
|
+
const node = data === null || data === void 0 ? void 0 : data.node;
|
|
85
|
+
const trustCenter = node === null || node === void 0 ? void 0 : node.trustCenter;
|
|
86
|
+
return trustCenter === null || trustCenter === void 0 ? void 0 : trustCenter.commitmentGroups;
|
|
87
|
+
}, returnAll, limit);
|
|
88
|
+
return {
|
|
89
|
+
json: { commitmentGroups },
|
|
90
|
+
pairedItem: { item: itemIndex },
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
//# sourceMappingURL=getAllCommitmentGroups.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllCommitmentGroups.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trustCenter/getAllCommitmentGroups.operation.ts"],"names":[],"mappings":";;;AAsEA,0BAqDC;AAtGD,6DAAiE;AAEpD,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,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,wBAAwB,CAAC;aACrC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,4BAA4B;QACzC,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,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,wBAAwB,CAAC;aACrC;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KACxE;IACD;QACC,WAAW,EAAE,OAAO;QACpB,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,wBAAwB,CAAC;gBACrC,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,WAAW,EAAE;YACZ,QAAQ,EAAE,CAAC;SACX;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;KAC9C;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,cAAc,GAAG,IAAI,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,SAAS,CAAW,CAAC;IACpF,MAAM,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC,WAAW,EAAE,SAAS,CAAY,CAAC;IAC3E,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,EAAE,EAAE,CAAW,CAAC;IAEtE,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;EAyBb,CAAC;IAEF,MAAM,gBAAgB,GAAG,MAAM,0CAAuB,CAAC,IAAI,CAC1D,IAAI,EACJ,KAAK,EACL,EAAE,cAAc,EAAE,EAClB,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,MAAM,WAAW,GAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAsC,CAAC;QACjE,OAAO,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,gBAA2C,CAAC;IACjE,CAAC,EACD,SAAS,EACT,KAAK,CACL,CAAC;IAEF,OAAO;QACN,IAAI,EAAE,EAAE,gBAAgB,EAAE;QAC1B,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
exports.execute = execute;
|
|
5
|
+
const GenericFunctions_1 = require("../../GenericFunctions");
|
|
6
|
+
exports.description = [
|
|
7
|
+
{
|
|
8
|
+
displayName: 'Commitment Group ID',
|
|
9
|
+
name: 'groupId',
|
|
10
|
+
type: 'string',
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['trustCenter'],
|
|
14
|
+
operation: ['getAllCommitments'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the commitment group',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Return All',
|
|
23
|
+
name: 'returnAll',
|
|
24
|
+
type: 'boolean',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['trustCenter'],
|
|
28
|
+
operation: ['getAllCommitments'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: false,
|
|
32
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
displayName: 'Limit',
|
|
36
|
+
name: 'limit',
|
|
37
|
+
type: 'number',
|
|
38
|
+
displayOptions: {
|
|
39
|
+
show: {
|
|
40
|
+
resource: ['trustCenter'],
|
|
41
|
+
operation: ['getAllCommitments'],
|
|
42
|
+
returnAll: [false],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
typeOptions: {
|
|
46
|
+
minValue: 1,
|
|
47
|
+
},
|
|
48
|
+
default: 50,
|
|
49
|
+
description: 'Max number of results to return',
|
|
50
|
+
},
|
|
51
|
+
];
|
|
52
|
+
async function execute(itemIndex) {
|
|
53
|
+
const groupId = this.getNodeParameter('groupId', itemIndex);
|
|
54
|
+
const returnAll = this.getNodeParameter('returnAll', itemIndex);
|
|
55
|
+
const limit = this.getNodeParameter('limit', itemIndex, 50);
|
|
56
|
+
const query = `
|
|
57
|
+
query GetCompliancePortalCommitments($groupId: ID!, $first: Int, $after: CursorKey) {
|
|
58
|
+
node(id: $groupId) {
|
|
59
|
+
... on CompliancePortalCommitmentGroup {
|
|
60
|
+
commitments(first: $first, after: $after) {
|
|
61
|
+
edges {
|
|
62
|
+
node {
|
|
63
|
+
id
|
|
64
|
+
icon
|
|
65
|
+
eyebrow
|
|
66
|
+
title
|
|
67
|
+
description
|
|
68
|
+
rank
|
|
69
|
+
createdAt
|
|
70
|
+
updatedAt
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
pageInfo {
|
|
74
|
+
hasNextPage
|
|
75
|
+
endCursor
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
`;
|
|
82
|
+
const commitments = await GenericFunctions_1.proboApiRequestAllItems.call(this, query, { groupId }, (response) => {
|
|
83
|
+
const data = response === null || response === void 0 ? void 0 : response.data;
|
|
84
|
+
const node = data === null || data === void 0 ? void 0 : data.node;
|
|
85
|
+
return node === null || node === void 0 ? void 0 : node.commitments;
|
|
86
|
+
}, returnAll, limit);
|
|
87
|
+
return {
|
|
88
|
+
json: { commitments },
|
|
89
|
+
pairedItem: { item: itemIndex },
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=getAllCommitments.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAllCommitments.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trustCenter/getAllCommitments.operation.ts"],"names":[],"mappings":";;;AAsEA,0BAoDC;AArGD,6DAAiE;AAEpD,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,qBAAqB;QAClC,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,aAAa,CAAC;gBACzB,SAAS,EAAE,CAAC,mBAAmB,CAAC;aAChC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;QAC7C,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,YAAY;QACzB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