@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
|
@@ -8,5 +8,13 @@ import * as getAllFilesOp from './getAllFiles.operation';
|
|
|
8
8
|
import * as deleteFileOp from './deleteFile.operation';
|
|
9
9
|
import * as createExternalUrlOp from './createExternalUrl.operation';
|
|
10
10
|
import * as deleteExternalUrlOp from './deleteExternalUrl.operation';
|
|
11
|
+
import * as getAllCommitmentGroupsOp from './getAllCommitmentGroups.operation';
|
|
12
|
+
import * as createCommitmentGroupOp from './createCommitmentGroup.operation';
|
|
13
|
+
import * as updateCommitmentGroupOp from './updateCommitmentGroup.operation';
|
|
14
|
+
import * as deleteCommitmentGroupOp from './deleteCommitmentGroup.operation';
|
|
15
|
+
import * as getAllCommitmentsOp from './getAllCommitments.operation';
|
|
16
|
+
import * as createCommitmentOp from './createCommitment.operation';
|
|
17
|
+
import * as updateCommitmentOp from './updateCommitment.operation';
|
|
18
|
+
import * as deleteCommitmentOp from './deleteCommitment.operation';
|
|
11
19
|
export declare const description: INodeProperties[];
|
|
12
|
-
export { getOp as get, updateOp as update, getAllReferencesOp as getAllReferences, createReferenceOp as createReference, deleteReferenceOp as deleteReference, getAllFilesOp as getAllFiles, deleteFileOp as deleteFile, createExternalUrlOp as createExternalUrl, deleteExternalUrlOp as deleteExternalUrl, };
|
|
20
|
+
export { getOp as get, updateOp as update, getAllReferencesOp as getAllReferences, createReferenceOp as createReference, deleteReferenceOp as deleteReference, getAllFilesOp as getAllFiles, deleteFileOp as deleteFile, createExternalUrlOp as createExternalUrl, deleteExternalUrlOp as deleteExternalUrl, getAllCommitmentGroupsOp as getAllCommitmentGroups, createCommitmentGroupOp as createCommitmentGroup, updateCommitmentGroupOp as updateCommitmentGroup, deleteCommitmentGroupOp as deleteCommitmentGroup, getAllCommitmentsOp as getAllCommitments, createCommitmentOp as createCommitment, updateCommitmentOp as updateCommitment, deleteCommitmentOp as deleteCommitment, };
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.deleteExternalUrl = exports.createExternalUrl = exports.deleteFile = exports.getAllFiles = exports.deleteReference = exports.createReference = exports.getAllReferences = exports.update = exports.get = exports.description = void 0;
|
|
36
|
+
exports.deleteCommitment = exports.updateCommitment = exports.createCommitment = exports.getAllCommitments = exports.deleteCommitmentGroup = exports.updateCommitmentGroup = exports.createCommitmentGroup = exports.getAllCommitmentGroups = exports.deleteExternalUrl = exports.createExternalUrl = exports.deleteFile = exports.getAllFiles = exports.deleteReference = exports.createReference = exports.getAllReferences = exports.update = exports.get = exports.description = void 0;
|
|
37
37
|
const getOp = __importStar(require("./get.operation"));
|
|
38
38
|
exports.get = getOp;
|
|
39
39
|
const updateOp = __importStar(require("./update.operation"));
|
|
@@ -52,6 +52,22 @@ const createExternalUrlOp = __importStar(require("./createExternalUrl.operation"
|
|
|
52
52
|
exports.createExternalUrl = createExternalUrlOp;
|
|
53
53
|
const deleteExternalUrlOp = __importStar(require("./deleteExternalUrl.operation"));
|
|
54
54
|
exports.deleteExternalUrl = deleteExternalUrlOp;
|
|
55
|
+
const getAllCommitmentGroupsOp = __importStar(require("./getAllCommitmentGroups.operation"));
|
|
56
|
+
exports.getAllCommitmentGroups = getAllCommitmentGroupsOp;
|
|
57
|
+
const createCommitmentGroupOp = __importStar(require("./createCommitmentGroup.operation"));
|
|
58
|
+
exports.createCommitmentGroup = createCommitmentGroupOp;
|
|
59
|
+
const updateCommitmentGroupOp = __importStar(require("./updateCommitmentGroup.operation"));
|
|
60
|
+
exports.updateCommitmentGroup = updateCommitmentGroupOp;
|
|
61
|
+
const deleteCommitmentGroupOp = __importStar(require("./deleteCommitmentGroup.operation"));
|
|
62
|
+
exports.deleteCommitmentGroup = deleteCommitmentGroupOp;
|
|
63
|
+
const getAllCommitmentsOp = __importStar(require("./getAllCommitments.operation"));
|
|
64
|
+
exports.getAllCommitments = getAllCommitmentsOp;
|
|
65
|
+
const createCommitmentOp = __importStar(require("./createCommitment.operation"));
|
|
66
|
+
exports.createCommitment = createCommitmentOp;
|
|
67
|
+
const updateCommitmentOp = __importStar(require("./updateCommitment.operation"));
|
|
68
|
+
exports.updateCommitment = updateCommitmentOp;
|
|
69
|
+
const deleteCommitmentOp = __importStar(require("./deleteCommitment.operation"));
|
|
70
|
+
exports.deleteCommitment = deleteCommitmentOp;
|
|
55
71
|
exports.description = [
|
|
56
72
|
{
|
|
57
73
|
displayName: 'Operation',
|
|
@@ -64,6 +80,18 @@ exports.description = [
|
|
|
64
80
|
},
|
|
65
81
|
},
|
|
66
82
|
options: [
|
|
83
|
+
{
|
|
84
|
+
name: 'Create Commitment',
|
|
85
|
+
value: 'createCommitment',
|
|
86
|
+
description: 'Create a new compliance portal commitment',
|
|
87
|
+
action: 'Create a compliance portal commitment',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'Create Commitment Group',
|
|
91
|
+
value: 'createCommitmentGroup',
|
|
92
|
+
description: 'Create a new compliance portal commitment group',
|
|
93
|
+
action: 'Create a compliance portal commitment group',
|
|
94
|
+
},
|
|
67
95
|
{
|
|
68
96
|
name: 'Create External URL',
|
|
69
97
|
value: 'createExternalUrl',
|
|
@@ -76,6 +104,18 @@ exports.description = [
|
|
|
76
104
|
description: 'Create a new trust center reference',
|
|
77
105
|
action: 'Create a trust center reference',
|
|
78
106
|
},
|
|
107
|
+
{
|
|
108
|
+
name: 'Delete Commitment',
|
|
109
|
+
value: 'deleteCommitment',
|
|
110
|
+
description: 'Delete a compliance portal commitment',
|
|
111
|
+
action: 'Delete a compliance portal commitment',
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
name: 'Delete Commitment Group',
|
|
115
|
+
value: 'deleteCommitmentGroup',
|
|
116
|
+
description: 'Delete a compliance portal commitment group',
|
|
117
|
+
action: 'Delete a compliance portal commitment group',
|
|
118
|
+
},
|
|
79
119
|
{
|
|
80
120
|
name: 'Delete External URL',
|
|
81
121
|
value: 'deleteExternalUrl',
|
|
@@ -100,6 +140,18 @@ exports.description = [
|
|
|
100
140
|
description: 'Get trust center settings',
|
|
101
141
|
action: 'Get trust center settings',
|
|
102
142
|
},
|
|
143
|
+
{
|
|
144
|
+
name: 'Get Many Commitment Groups',
|
|
145
|
+
value: 'getAllCommitmentGroups',
|
|
146
|
+
description: 'Get many compliance portal commitment groups',
|
|
147
|
+
action: 'Get many compliance portal commitment groups',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'Get Many Commitments',
|
|
151
|
+
value: 'getAllCommitments',
|
|
152
|
+
description: 'Get many compliance portal commitments',
|
|
153
|
+
action: 'Get many compliance portal commitments',
|
|
154
|
+
},
|
|
103
155
|
{
|
|
104
156
|
name: 'Get Many Files',
|
|
105
157
|
value: 'getAllFiles',
|
|
@@ -118,6 +170,18 @@ exports.description = [
|
|
|
118
170
|
description: 'Update trust center settings',
|
|
119
171
|
action: 'Update trust center settings',
|
|
120
172
|
},
|
|
173
|
+
{
|
|
174
|
+
name: 'Update Commitment',
|
|
175
|
+
value: 'updateCommitment',
|
|
176
|
+
description: 'Update a compliance portal commitment',
|
|
177
|
+
action: 'Update a compliance portal commitment',
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: 'Update Commitment Group',
|
|
181
|
+
value: 'updateCommitmentGroup',
|
|
182
|
+
description: 'Update a compliance portal commitment group',
|
|
183
|
+
action: 'Update a compliance portal commitment group',
|
|
184
|
+
},
|
|
121
185
|
],
|
|
122
186
|
default: 'get',
|
|
123
187
|
},
|
|
@@ -130,5 +194,13 @@ exports.description = [
|
|
|
130
194
|
...deleteFileOp.description,
|
|
131
195
|
...createExternalUrlOp.description,
|
|
132
196
|
...deleteExternalUrlOp.description,
|
|
197
|
+
...getAllCommitmentGroupsOp.description,
|
|
198
|
+
...createCommitmentGroupOp.description,
|
|
199
|
+
...updateCommitmentGroupOp.description,
|
|
200
|
+
...deleteCommitmentGroupOp.description,
|
|
201
|
+
...getAllCommitmentsOp.description,
|
|
202
|
+
...createCommitmentOp.description,
|
|
203
|
+
...updateCommitmentOp.description,
|
|
204
|
+
...deleteCommitmentOp.description,
|
|
133
205
|
];
|
|
134
206
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trustCenter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,uDAAyC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trustCenter/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,uDAAyC;AA2J/B,oBAAG;AA1Jb,6DAA+C;AA2JlC,0BAAM;AA1JnB,iFAAmE;AA2J5C,8CAAgB;AA1JvC,+EAAiE;AA2J3C,4CAAe;AA1JrC,+EAAiE;AA2J3C,4CAAe;AA1JrC,uEAAyD;AA2JvC,oCAAW;AA1J7B,qEAAuD;AA2JtC,kCAAU;AA1J3B,mFAAqE;AA2J7C,gDAAiB;AA1JzC,mFAAqE;AA2J7C,gDAAiB;AA1Jz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;gBAC/B,KAAK,EAAE,uBAAuB;gBAC9B,WAAW,EAAE,6CAA6C;gBAC1D,MAAM,EAAE,6CAA6C;aACrD;SACD;QACD,OAAO,EAAE,KAAK;KACd;IACD,GAAG,KAAK,CAAC,WAAW;IACpB,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,kBAAkB,CAAC,WAAW;IACjC,GAAG,iBAAiB,CAAC,WAAW;IAChC,GAAG,iBAAiB,CAAC,WAAW;IAChC,GAAG,aAAa,CAAC,WAAW;IAC5B,GAAG,YAAY,CAAC,WAAW;IAC3B,GAAG,mBAAmB,CAAC,WAAW;IAClC,GAAG,mBAAmB,CAAC,WAAW;IAClC,GAAG,wBAAwB,CAAC,WAAW;IACvC,GAAG,uBAAuB,CAAC,WAAW;IACtC,GAAG,uBAAuB,CAAC,WAAW;IACtC,GAAG,uBAAuB,CAAC,WAAW;IACtC,GAAG,mBAAmB,CAAC,WAAW;IAClC,GAAG,kBAAkB,CAAC,WAAW;IACjC,GAAG,kBAAkB,CAAC,WAAW;IACjC,GAAG,kBAAkB,CAAC,WAAW;CACjC,CAAC"}
|
|
@@ -0,0 +1,154 @@
|
|
|
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: '(Unchanged)', value: '' },
|
|
8
|
+
{ name: 'Lock Key', value: 'LOCK_KEY' },
|
|
9
|
+
{ name: 'Eye Slash', value: 'EYE_SLASH' },
|
|
10
|
+
{ name: 'Fingerprint', value: 'FINGERPRINT' },
|
|
11
|
+
{ name: 'Shield Warning', value: 'SHIELD_WARNING' },
|
|
12
|
+
{ name: 'Shield Check', value: 'SHIELD_CHECK' },
|
|
13
|
+
{ name: 'Siren', value: 'SIREN' },
|
|
14
|
+
{ name: 'Key', value: 'KEY' },
|
|
15
|
+
{ name: 'Lock', value: 'LOCK' },
|
|
16
|
+
{ name: 'Cloud', value: 'CLOUD' },
|
|
17
|
+
{ name: 'Database', value: 'DATABASE' },
|
|
18
|
+
{ name: 'Globe', value: 'GLOBE' },
|
|
19
|
+
{ name: 'Eye', value: 'EYE' },
|
|
20
|
+
{ name: 'Users', value: 'USERS' },
|
|
21
|
+
{ name: 'Certificate', value: 'CERTIFICATE' },
|
|
22
|
+
{ name: 'Gavel', value: 'GAVEL' },
|
|
23
|
+
{ name: 'Heartbeat', value: 'HEARTBEAT' },
|
|
24
|
+
{ name: 'Bell', value: 'BELL' },
|
|
25
|
+
{ name: 'Bug', value: 'BUG' },
|
|
26
|
+
{ name: 'Code', value: 'CODE' },
|
|
27
|
+
{ name: 'Server', value: 'SERVER' },
|
|
28
|
+
];
|
|
29
|
+
exports.description = [
|
|
30
|
+
{
|
|
31
|
+
displayName: 'Commitment ID',
|
|
32
|
+
name: 'commitmentId',
|
|
33
|
+
type: 'string',
|
|
34
|
+
displayOptions: {
|
|
35
|
+
show: {
|
|
36
|
+
resource: ['trustCenter'],
|
|
37
|
+
operation: ['updateCommitment'],
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
default: '',
|
|
41
|
+
description: 'The ID of the commitment to update',
|
|
42
|
+
required: true,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
displayName: 'Icon',
|
|
46
|
+
name: 'icon',
|
|
47
|
+
type: 'options',
|
|
48
|
+
displayOptions: {
|
|
49
|
+
show: {
|
|
50
|
+
resource: ['trustCenter'],
|
|
51
|
+
operation: ['updateCommitment'],
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
options: commitmentIconOptions,
|
|
55
|
+
default: '',
|
|
56
|
+
description: 'The icon of the commitment',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
displayName: 'Eyebrow',
|
|
60
|
+
name: 'eyebrow',
|
|
61
|
+
type: 'string',
|
|
62
|
+
displayOptions: {
|
|
63
|
+
show: {
|
|
64
|
+
resource: ['trustCenter'],
|
|
65
|
+
operation: ['updateCommitment'],
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
default: '',
|
|
69
|
+
description: 'The eyebrow text of the commitment',
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
displayName: 'Title',
|
|
73
|
+
name: 'title',
|
|
74
|
+
type: 'string',
|
|
75
|
+
displayOptions: {
|
|
76
|
+
show: {
|
|
77
|
+
resource: ['trustCenter'],
|
|
78
|
+
operation: ['updateCommitment'],
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
default: '',
|
|
82
|
+
description: 'The title of the commitment',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
displayName: 'Description',
|
|
86
|
+
name: 'description',
|
|
87
|
+
type: 'string',
|
|
88
|
+
typeOptions: {
|
|
89
|
+
rows: 4,
|
|
90
|
+
},
|
|
91
|
+
displayOptions: {
|
|
92
|
+
show: {
|
|
93
|
+
resource: ['trustCenter'],
|
|
94
|
+
operation: ['updateCommitment'],
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
default: '',
|
|
98
|
+
description: 'The description of the commitment',
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
displayName: 'Rank',
|
|
102
|
+
name: 'rank',
|
|
103
|
+
type: 'string',
|
|
104
|
+
displayOptions: {
|
|
105
|
+
show: {
|
|
106
|
+
resource: ['trustCenter'],
|
|
107
|
+
operation: ['updateCommitment'],
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
default: '',
|
|
111
|
+
description: 'The rank of the commitment for ordering',
|
|
112
|
+
},
|
|
113
|
+
];
|
|
114
|
+
async function execute(itemIndex) {
|
|
115
|
+
const commitmentId = this.getNodeParameter('commitmentId', itemIndex);
|
|
116
|
+
const icon = this.getNodeParameter('icon', itemIndex, '');
|
|
117
|
+
const eyebrow = this.getNodeParameter('eyebrow', itemIndex, '');
|
|
118
|
+
const title = this.getNodeParameter('title', itemIndex, '');
|
|
119
|
+
const description = this.getNodeParameter('description', itemIndex, '');
|
|
120
|
+
const rank = this.getNodeParameter('rank', itemIndex, '');
|
|
121
|
+
const query = `
|
|
122
|
+
mutation UpdateCompliancePortalCommitment($input: UpdateCompliancePortalCommitmentInput!) {
|
|
123
|
+
updateCompliancePortalCommitment(input: $input) {
|
|
124
|
+
compliancePortalCommitment {
|
|
125
|
+
id
|
|
126
|
+
icon
|
|
127
|
+
eyebrow
|
|
128
|
+
title
|
|
129
|
+
description
|
|
130
|
+
rank
|
|
131
|
+
createdAt
|
|
132
|
+
updatedAt
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
`;
|
|
137
|
+
const input = { id: commitmentId };
|
|
138
|
+
if (icon)
|
|
139
|
+
input.icon = icon;
|
|
140
|
+
if (eyebrow)
|
|
141
|
+
input.eyebrow = eyebrow;
|
|
142
|
+
if (title)
|
|
143
|
+
input.title = title;
|
|
144
|
+
if (description)
|
|
145
|
+
input.description = description;
|
|
146
|
+
if (rank)
|
|
147
|
+
input.rank = Number(rank);
|
|
148
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input });
|
|
149
|
+
return {
|
|
150
|
+
json: responseData,
|
|
151
|
+
pairedItem: { item: itemIndex },
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
//# sourceMappingURL=updateCommitment.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateCommitment.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trustCenter/updateCommitment.operation.ts"],"names":[],"mappings":";;;AAqIA,0BAyCC;AAzJD,6DAAyD;AAEzD,MAAM,qBAAqB,GAAG;IAC7B,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,EAAE,EAAE;IAClC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;IACvC,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAA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AAK,CAAC,WAAW,GAAG,WAAW,CAAC;IACjD,IAAI,IAAI;QAAE,KAAK,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IAEpC,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,96 @@
|
|
|
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: ['updateCommitmentGroup'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
default: '',
|
|
18
|
+
description: 'The ID of the commitment group to update',
|
|
19
|
+
required: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
displayName: 'Title',
|
|
23
|
+
name: 'title',
|
|
24
|
+
type: 'string',
|
|
25
|
+
displayOptions: {
|
|
26
|
+
show: {
|
|
27
|
+
resource: ['trustCenter'],
|
|
28
|
+
operation: ['updateCommitmentGroup'],
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
default: '',
|
|
32
|
+
description: 'The title of the commitment group',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
displayName: 'Description',
|
|
36
|
+
name: 'description',
|
|
37
|
+
type: 'string',
|
|
38
|
+
typeOptions: {
|
|
39
|
+
rows: 4,
|
|
40
|
+
},
|
|
41
|
+
displayOptions: {
|
|
42
|
+
show: {
|
|
43
|
+
resource: ['trustCenter'],
|
|
44
|
+
operation: ['updateCommitmentGroup'],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
default: '',
|
|
48
|
+
description: 'The description of the commitment group',
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
displayName: 'Rank',
|
|
52
|
+
name: 'rank',
|
|
53
|
+
type: 'string',
|
|
54
|
+
displayOptions: {
|
|
55
|
+
show: {
|
|
56
|
+
resource: ['trustCenter'],
|
|
57
|
+
operation: ['updateCommitmentGroup'],
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
default: '',
|
|
61
|
+
description: 'The rank of the commitment group for ordering',
|
|
62
|
+
},
|
|
63
|
+
];
|
|
64
|
+
async function execute(itemIndex) {
|
|
65
|
+
const commitmentGroupId = this.getNodeParameter('commitmentGroupId', itemIndex);
|
|
66
|
+
const title = this.getNodeParameter('title', itemIndex, '');
|
|
67
|
+
const description = this.getNodeParameter('description', itemIndex, '');
|
|
68
|
+
const rank = this.getNodeParameter('rank', itemIndex, '');
|
|
69
|
+
const query = `
|
|
70
|
+
mutation UpdateCompliancePortalCommitmentGroup($input: UpdateCompliancePortalCommitmentGroupInput!) {
|
|
71
|
+
updateCompliancePortalCommitmentGroup(input: $input) {
|
|
72
|
+
compliancePortalCommitmentGroup {
|
|
73
|
+
id
|
|
74
|
+
title
|
|
75
|
+
description
|
|
76
|
+
rank
|
|
77
|
+
createdAt
|
|
78
|
+
updatedAt
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
`;
|
|
83
|
+
const input = { id: commitmentGroupId };
|
|
84
|
+
if (title)
|
|
85
|
+
input.title = title;
|
|
86
|
+
if (description)
|
|
87
|
+
input.description = description;
|
|
88
|
+
if (rank)
|
|
89
|
+
input.rank = Number(rank);
|
|
90
|
+
const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input });
|
|
91
|
+
return {
|
|
92
|
+
json: responseData,
|
|
93
|
+
pairedItem: { item: itemIndex },
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
//# sourceMappingURL=updateCommitmentGroup.operation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateCommitmentGroup.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/trustCenter/updateCommitmentGroup.operation.ts"],"names":[],"mappings":";;;AAkFA,0BAmCC;AAhGD,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;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,uBAAuB,CAAC;aACpC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;KAChD;IACD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE;YACZ,IAAI,EAAE,CAAC;SACP;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,yCAAyC;KACtD;IACD;QACC,WAAW,EAAE,MAAM;QACnB,IAAI,EAAE,MAAM;QAC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