@probo/n8n-nodes-probo 0.203.0 → 0.205.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.
Files changed (98) hide show
  1. package/dist/nodes/Probo/Probo.node.js +5 -5
  2. package/dist/nodes/Probo/Probo.node.js.map +1 -1
  3. package/dist/nodes/Probo/actions/audit/create.operation.js +1 -1
  4. package/dist/nodes/Probo/actions/audit/deleteReport.operation.js +1 -1
  5. package/dist/nodes/Probo/actions/audit/get.operation.js +1 -1
  6. package/dist/nodes/Probo/actions/audit/getAll.operation.js +1 -1
  7. package/dist/nodes/Probo/actions/audit/update.operation.js +1 -1
  8. package/dist/nodes/Probo/actions/audit/uploadReport.operation.js +1 -1
  9. package/dist/nodes/Probo/actions/compliancePortal/createCommitment.operation.js +136 -0
  10. package/dist/nodes/Probo/actions/compliancePortal/createCommitment.operation.js.map +1 -0
  11. package/dist/nodes/Probo/actions/compliancePortal/createCommitmentGroup.operation.js +81 -0
  12. package/dist/nodes/Probo/actions/compliancePortal/createCommitmentGroup.operation.js.map +1 -0
  13. package/dist/nodes/Probo/actions/{trustCenter/createExternalUrl.operation.js → compliancePortal/createCustomLink.operation.js} +17 -17
  14. package/dist/nodes/Probo/actions/compliancePortal/createCustomLink.operation.js.map +1 -0
  15. package/dist/nodes/Probo/actions/{trustCenter → compliancePortal}/createReference.operation.js +12 -12
  16. package/dist/nodes/Probo/actions/compliancePortal/createReference.operation.js.map +1 -0
  17. package/dist/nodes/Probo/actions/{trustCenter/deleteFile.operation.js → compliancePortal/deleteCommitment.operation.js} +10 -10
  18. package/dist/nodes/Probo/actions/compliancePortal/deleteCommitment.operation.js.map +1 -0
  19. package/dist/nodes/Probo/actions/{trustCenter/deleteExternalUrl.operation.js → compliancePortal/deleteCommitmentGroup.operation.js} +10 -10
  20. package/dist/nodes/Probo/actions/compliancePortal/deleteCommitmentGroup.operation.js.map +1 -0
  21. package/dist/nodes/Probo/actions/compliancePortal/deleteCustomLink.operation.js +37 -0
  22. package/dist/nodes/Probo/actions/compliancePortal/deleteCustomLink.operation.js.map +1 -0
  23. package/dist/nodes/Probo/actions/compliancePortal/deleteFile.operation.js +37 -0
  24. package/dist/nodes/Probo/actions/compliancePortal/deleteFile.operation.js.map +1 -0
  25. package/dist/nodes/Probo/actions/{trustCenter → compliancePortal}/deleteReference.operation.js +9 -9
  26. package/dist/nodes/Probo/actions/compliancePortal/deleteReference.operation.js.map +1 -0
  27. package/dist/nodes/Probo/actions/compliancePortal/get.operation.d.ts +3 -0
  28. package/dist/nodes/Probo/actions/{trustCenter → compliancePortal}/get.operation.js +3 -3
  29. package/dist/nodes/Probo/actions/compliancePortal/get.operation.js.map +1 -0
  30. package/dist/nodes/Probo/actions/compliancePortal/getAllCommitmentGroups.operation.d.ts +3 -0
  31. package/dist/nodes/Probo/actions/compliancePortal/getAllCommitmentGroups.operation.js +93 -0
  32. package/dist/nodes/Probo/actions/compliancePortal/getAllCommitmentGroups.operation.js.map +1 -0
  33. package/dist/nodes/Probo/actions/compliancePortal/getAllCommitments.operation.d.ts +3 -0
  34. package/dist/nodes/Probo/actions/compliancePortal/getAllCommitments.operation.js +92 -0
  35. package/dist/nodes/Probo/actions/compliancePortal/getAllCommitments.operation.js.map +1 -0
  36. package/dist/nodes/Probo/actions/compliancePortal/getAllFiles.operation.d.ts +3 -0
  37. package/dist/nodes/Probo/actions/{trustCenter → compliancePortal}/getAllFiles.operation.js +9 -9
  38. package/dist/nodes/Probo/actions/compliancePortal/getAllFiles.operation.js.map +1 -0
  39. package/dist/nodes/Probo/actions/compliancePortal/getAllReferences.operation.d.ts +3 -0
  40. package/dist/nodes/Probo/actions/{trustCenter → compliancePortal}/getAllReferences.operation.js +7 -7
  41. package/dist/nodes/Probo/actions/compliancePortal/getAllReferences.operation.js.map +1 -0
  42. package/dist/nodes/Probo/actions/compliancePortal/index.d.ts +20 -0
  43. package/dist/nodes/Probo/actions/compliancePortal/index.js +206 -0
  44. package/dist/nodes/Probo/actions/compliancePortal/index.js.map +1 -0
  45. package/dist/nodes/Probo/actions/compliancePortal/update.operation.d.ts +3 -0
  46. package/dist/nodes/Probo/actions/compliancePortal/update.operation.js +173 -0
  47. package/dist/nodes/Probo/actions/compliancePortal/update.operation.js.map +1 -0
  48. package/dist/nodes/Probo/actions/compliancePortal/updateCommitment.operation.d.ts +3 -0
  49. package/dist/nodes/Probo/actions/compliancePortal/updateCommitment.operation.js +154 -0
  50. package/dist/nodes/Probo/actions/compliancePortal/updateCommitment.operation.js.map +1 -0
  51. package/dist/nodes/Probo/actions/compliancePortal/updateCommitmentGroup.operation.d.ts +3 -0
  52. package/dist/nodes/Probo/actions/compliancePortal/updateCommitmentGroup.operation.js +96 -0
  53. package/dist/nodes/Probo/actions/compliancePortal/updateCommitmentGroup.operation.js.map +1 -0
  54. package/dist/nodes/Probo/actions/document/archive.operation.js +1 -1
  55. package/dist/nodes/Probo/actions/document/create.operation.js +6 -6
  56. package/dist/nodes/Probo/actions/document/create.operation.js.map +1 -1
  57. package/dist/nodes/Probo/actions/document/get.operation.js +1 -1
  58. package/dist/nodes/Probo/actions/document/getAll.operation.js +1 -1
  59. package/dist/nodes/Probo/actions/document/publish.operation.js +1 -1
  60. package/dist/nodes/Probo/actions/document/unarchive.operation.js +1 -1
  61. package/dist/nodes/Probo/actions/document/update.operation.js +15 -15
  62. package/dist/nodes/Probo/actions/document/update.operation.js.map +1 -1
  63. package/dist/nodes/Probo/actions/index.js +2 -2
  64. package/dist/nodes/Probo/actions/index.js.map +1 -1
  65. package/dist/nodes/Probo/actions/organization/update.operation.js +0 -69
  66. package/dist/nodes/Probo/actions/organization/update.operation.js.map +1 -1
  67. package/dist/nodes/Probo/actions/thirdParty/create.operation.js +1 -1
  68. package/dist/nodes/Probo/actions/thirdParty/get.operation.js +1 -1
  69. package/dist/nodes/Probo/actions/thirdParty/getAll.operation.js +1 -1
  70. package/dist/nodes/Probo/actions/thirdParty/update.operation.js +7 -7
  71. package/dist/nodes/Probo/actions/thirdParty/update.operation.js.map +1 -1
  72. package/dist/nodes/Probo/actions/webhook/events.js +3 -0
  73. package/dist/nodes/Probo/actions/webhook/events.js.map +1 -1
  74. package/dist/package.json +1 -1
  75. package/dist/tsconfig.tsbuildinfo +1 -1
  76. package/package.json +1 -1
  77. package/dist/nodes/Probo/actions/trustCenter/createExternalUrl.operation.js.map +0 -1
  78. package/dist/nodes/Probo/actions/trustCenter/createReference.operation.js.map +0 -1
  79. package/dist/nodes/Probo/actions/trustCenter/deleteExternalUrl.operation.js.map +0 -1
  80. package/dist/nodes/Probo/actions/trustCenter/deleteFile.operation.js.map +0 -1
  81. package/dist/nodes/Probo/actions/trustCenter/deleteReference.operation.js.map +0 -1
  82. package/dist/nodes/Probo/actions/trustCenter/get.operation.js.map +0 -1
  83. package/dist/nodes/Probo/actions/trustCenter/getAllFiles.operation.js.map +0 -1
  84. package/dist/nodes/Probo/actions/trustCenter/getAllReferences.operation.js.map +0 -1
  85. package/dist/nodes/Probo/actions/trustCenter/index.d.ts +0 -12
  86. package/dist/nodes/Probo/actions/trustCenter/index.js +0 -134
  87. package/dist/nodes/Probo/actions/trustCenter/index.js.map +0 -1
  88. package/dist/nodes/Probo/actions/trustCenter/update.operation.js +0 -90
  89. package/dist/nodes/Probo/actions/trustCenter/update.operation.js.map +0 -1
  90. /package/dist/nodes/Probo/actions/{trustCenter/createExternalUrl.operation.d.ts → compliancePortal/createCommitment.operation.d.ts} +0 -0
  91. /package/dist/nodes/Probo/actions/{trustCenter/createReference.operation.d.ts → compliancePortal/createCommitmentGroup.operation.d.ts} +0 -0
  92. /package/dist/nodes/Probo/actions/{trustCenter/deleteExternalUrl.operation.d.ts → compliancePortal/createCustomLink.operation.d.ts} +0 -0
  93. /package/dist/nodes/Probo/actions/{trustCenter/deleteFile.operation.d.ts → compliancePortal/createReference.operation.d.ts} +0 -0
  94. /package/dist/nodes/Probo/actions/{trustCenter/deleteReference.operation.d.ts → compliancePortal/deleteCommitment.operation.d.ts} +0 -0
  95. /package/dist/nodes/Probo/actions/{trustCenter/get.operation.d.ts → compliancePortal/deleteCommitmentGroup.operation.d.ts} +0 -0
  96. /package/dist/nodes/Probo/actions/{trustCenter/getAllFiles.operation.d.ts → compliancePortal/deleteCustomLink.operation.d.ts} +0 -0
  97. /package/dist/nodes/Probo/actions/{trustCenter/getAllReferences.operation.d.ts → compliancePortal/deleteFile.operation.d.ts} +0 -0
  98. /package/dist/nodes/Probo/actions/{trustCenter/update.operation.d.ts → compliancePortal/deleteReference.operation.d.ts} +0 -0
@@ -69,6 +69,11 @@ class Probo {
69
69
  value: 'auditLog',
70
70
  description: 'View audit log entries',
71
71
  },
72
+ {
73
+ name: 'Compliance Portal',
74
+ value: 'compliancePortal',
75
+ description: 'Manage compliance portal',
76
+ },
72
77
  {
73
78
  name: 'Control',
74
79
  value: 'control',
@@ -194,11 +199,6 @@ class Probo {
194
199
  value: 'trackerPattern',
195
200
  description: 'Manage tracker patterns',
196
201
  },
197
- {
198
- name: 'Trust Center',
199
- value: 'trustCenter',
200
- description: 'Manage trust center',
201
- },
202
202
  {
203
203
  name: 'User',
204
204
  value: 'user',
@@ -1 +1 @@
1
- {"version":3,"file":"Probo.node.js","sourceRoot":"","sources":["../../../nodes/Probo/Probo.node.ts"],"names":[],"mappings":";;;AAoBA,+CAOsB;AACtB,uCAImB;AAEnB,MAAa,KAAK;IAAlB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,OAAO;YACb,IAAI,EAAE,EAAE,KAAK,EAAE,kCAAkC,EAAE,IAAI,EAAE,4BAA4B,EAAE;YACvF,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,2DAA2D;YACrE,WAAW,EAAE,iCAAiC;YAC9C,QAAQ,EAAE;gBACT,IAAI,EAAE,OAAO;aACb;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;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AE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;wBACvE,UAAU,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE;qBACvB,CAAC,CAAC;oBACH,SAAS;gBACV,CAAC;gBACD,MAAM,IAAI,iCAAkB,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,KAAc,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,CAAC;YAChF,CAAC;QACF,CAAC;QAED,OAAO,CAAC,UAAU,CAAC,CAAC;IACrB,CAAC;CAKD;AAnPD,sBAmPC"}
@@ -113,7 +113,7 @@ async function execute(itemIndex) {
113
113
  validFrom
114
114
  validUntil
115
115
  reportUrl
116
- trustCenterVisibility
116
+ compliancePortalVisibility
117
117
  createdAt
118
118
  updatedAt
119
119
  }
@@ -31,7 +31,7 @@ async function execute(itemIndex) {
31
31
  validFrom
32
32
  validUntil
33
33
  reportUrl
34
- trustCenterVisibility
34
+ compliancePortalVisibility
35
35
  createdAt
36
36
  updatedAt
37
37
  }
@@ -31,7 +31,7 @@ async function execute(itemIndex) {
31
31
  validFrom
32
32
  validUntil
33
33
  reportUrl
34
- trustCenterVisibility
34
+ compliancePortalVisibility
35
35
  createdAt
36
36
  updatedAt
37
37
  }
@@ -66,7 +66,7 @@ async function execute(itemIndex) {
66
66
  validFrom
67
67
  validUntil
68
68
  reportUrl
69
- trustCenterVisibility
69
+ compliancePortalVisibility
70
70
  createdAt
71
71
  updatedAt
72
72
  }
@@ -97,7 +97,7 @@ async function execute(itemIndex) {
97
97
  validFrom
98
98
  validUntil
99
99
  reportUrl
100
- trustCenterVisibility
100
+ compliancePortalVisibility
101
101
  createdAt
102
102
  updatedAt
103
103
  }
@@ -50,7 +50,7 @@ async function execute(itemIndex) {
50
50
  validFrom
51
51
  validUntil
52
52
  reportUrl
53
- trustCenterVisibility
53
+ compliancePortalVisibility
54
54
  createdAt
55
55
  updatedAt
56
56
  }
@@ -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":"createC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
+ "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/compliancePortal/createCommitmentGroup.operation.ts"],"names":[],"mappings":";;;AAuEA,0BAiCC;AAnFD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EAAE,eAAe;QACrB,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,4BAA4B;QACzC,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;QAChD,QAAQ,EAAE,IAAI;KACd;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;QACtD,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,aAAa,GAAG,IAAI,CAAC,gBAAgB,CAAC,eAAe,EAAE,SAAS,CAAW,CAAC;IAClF,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,OAAO,EAAE,SAAS,CAAW,CAAC;IAClE,MAAM,WAAW,GAAG,IAAI,CAAC,gBAAgB,CAAC,aAAa,EAAE,SAAS,CAAW,CAAC;IAE9E,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;EAeb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,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"}
@@ -5,17 +5,17 @@ exports.execute = execute;
5
5
  const GenericFunctions_1 = require("../../GenericFunctions");
6
6
  exports.description = [
7
7
  {
8
- displayName: 'Trust Center ID',
9
- name: 'trustCenterId',
8
+ displayName: 'Compliance Portal ID',
9
+ name: 'compliancePortalId',
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
- resource: ['trustCenter'],
14
- operation: ['createExternalUrl'],
13
+ resource: ['compliancePortal'],
14
+ operation: ['createCustomLink'],
15
15
  },
16
16
  },
17
17
  default: '',
18
- description: 'The ID of the trust center',
18
+ description: 'The ID of the compliance portal',
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: ['trustCenter'],
28
- operation: ['createExternalUrl'],
27
+ resource: ['compliancePortal'],
28
+ operation: ['createCustomLink'],
29
29
  },
30
30
  },
31
31
  default: '',
32
- description: 'The name of the external URL',
32
+ description: 'The name of the custom link',
33
33
  required: true,
34
34
  },
35
35
  {
@@ -38,23 +38,23 @@ exports.description = [
38
38
  type: 'string',
39
39
  displayOptions: {
40
40
  show: {
41
- resource: ['trustCenter'],
42
- operation: ['createExternalUrl'],
41
+ resource: ['compliancePortal'],
42
+ operation: ['createCustomLink'],
43
43
  },
44
44
  },
45
45
  default: '',
46
- description: 'The external URL',
46
+ description: 'The custom link',
47
47
  required: true,
48
48
  },
49
49
  ];
50
50
  async function execute(itemIndex) {
51
- const trustCenterId = this.getNodeParameter('trustCenterId', itemIndex);
51
+ const compliancePortalId = this.getNodeParameter('compliancePortalId', itemIndex);
52
52
  const name = this.getNodeParameter('name', itemIndex);
53
53
  const url = this.getNodeParameter('url', itemIndex);
54
54
  const query = `
55
- mutation CreateComplianceExternalURL($input: CreateComplianceExternalURLInput!) {
56
- createComplianceExternalURL(input: $input) {
57
- complianceExternalURLEdge {
55
+ mutation CreateComplianceCustomLink($input: CreateComplianceCustomLinkInput!) {
56
+ createComplianceCustomLink(input: $input) {
57
+ complianceCustomLinkEdge {
58
58
  node {
59
59
  id
60
60
  name
@@ -68,11 +68,11 @@ async function execute(itemIndex) {
68
68
  }
69
69
  `;
70
70
  const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, {
71
- input: { trustCenterId, name, url },
71
+ input: { compliancePortalId, name, url },
72
72
  });
73
73
  return {
74
74
  json: responseData,
75
75
  pairedItem: { item: itemIndex },
76
76
  };
77
77
  }
78
- //# sourceMappingURL=createExternalUrl.operation.js.map
78
+ //# sourceMappingURL=createCustomLink.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCustomLink.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/compliancePortal/createCustomLink.operation.ts"],"names":[],"mappings":";;;AAoEA,0BAiCC;AAhFD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,kBAAkB,CAAC;gBAC9B,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAC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AAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}
@@ -5,17 +5,17 @@ exports.execute = execute;
5
5
  const GenericFunctions_1 = require("../../GenericFunctions");
6
6
  exports.description = [
7
7
  {
8
- displayName: 'Trust Center ID',
9
- name: 'trustCenterId',
8
+ displayName: 'Compliance Portal ID',
9
+ name: 'compliancePortalId',
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
- resource: ['trustCenter'],
13
+ resource: ['compliancePortal'],
14
14
  operation: ['createReference'],
15
15
  },
16
16
  },
17
17
  default: '',
18
- description: 'The ID of the trust center',
18
+ description: 'The ID of the compliance portal',
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: ['trustCenter'],
27
+ resource: ['compliancePortal'],
28
28
  operation: ['createReference'],
29
29
  },
30
30
  },
@@ -41,7 +41,7 @@ exports.description = [
41
41
  },
42
42
  displayOptions: {
43
43
  show: {
44
- resource: ['trustCenter'],
44
+ resource: ['compliancePortal'],
45
45
  operation: ['createReference'],
46
46
  },
47
47
  },
@@ -54,7 +54,7 @@ exports.description = [
54
54
  type: 'string',
55
55
  displayOptions: {
56
56
  show: {
57
- resource: ['trustCenter'],
57
+ resource: ['compliancePortal'],
58
58
  operation: ['createReference'],
59
59
  },
60
60
  },
@@ -63,14 +63,14 @@ exports.description = [
63
63
  },
64
64
  ];
65
65
  async function execute(itemIndex) {
66
- const trustCenterId = this.getNodeParameter('trustCenterId', itemIndex);
66
+ const compliancePortalId = this.getNodeParameter('compliancePortalId', itemIndex);
67
67
  const name = this.getNodeParameter('name', itemIndex);
68
68
  const description = this.getNodeParameter('description', itemIndex, '');
69
69
  const websiteUrl = this.getNodeParameter('websiteUrl', itemIndex, '');
70
70
  const query = `
71
- mutation CreateTrustCenterReference($input: CreateTrustCenterReferenceInput!) {
72
- createTrustCenterReference(input: $input) {
73
- trustCenterReferenceEdge {
71
+ mutation CreateCompliancePortalReference($input: CreateCompliancePortalReferenceInput!) {
72
+ createCompliancePortalReference(input: $input) {
73
+ compliancePortalReferenceEdge {
74
74
  node {
75
75
  id
76
76
  name
@@ -84,7 +84,7 @@ async function execute(itemIndex) {
84
84
  }
85
85
  }
86
86
  `;
87
- const input = { trustCenterId, name };
87
+ const input = { compliancePortalId, name };
88
88
  if (description)
89
89
  input.description = description;
90
90
  if (websiteUrl)
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createReference.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/compliancePortal/createReference.operation.ts"],"names":[],"mappings":";;;AAmFA,0BAqCC;AAnGD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,sBAAsB;QACnC,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,kBAAkB,CAAC;gBAC9B,SAAS,EAAE,CAAC,iBAAiB,CAAC;aAC9B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,iCAAiC;QAC9C,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,kBAAkB,CAAC;gBAC9B,SAAS,EAAE,CAAC,iBAAiB,CAAC;aAC9B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,2BAA2B;QACxC,QAAQ,EAAE,IAAI;KACd;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,kBAAkB,CAAC;gBAC9B,SAAS,EAA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 exports.execute = execute;
5
5
  const GenericFunctions_1 = require("../../GenericFunctions");
6
6
  exports.description = [
7
7
  {
8
- displayName: 'Trust Center File ID',
9
- name: 'trustCenterFileId',
8
+ displayName: 'Commitment ID',
9
+ name: 'commitmentId',
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
13
  resource: ['trustCenter'],
14
- operation: ['deleteFile'],
14
+ operation: ['deleteCommitment'],
15
15
  },
16
16
  },
17
17
  default: '',
18
- description: 'The ID of the trust center file to delete',
18
+ description: 'The ID of the commitment to delete',
19
19
  required: true,
20
20
  },
21
21
  ];
22
22
  async function execute(itemIndex) {
23
- const trustCenterFileId = this.getNodeParameter('trustCenterFileId', itemIndex);
23
+ const commitmentId = this.getNodeParameter('commitmentId', itemIndex);
24
24
  const query = `
25
- mutation DeleteTrustCenterFile($input: DeleteTrustCenterFileInput!) {
26
- deleteTrustCenterFile(input: $input) {
27
- deletedTrustCenterFileId
25
+ mutation DeleteCompliancePortalCommitment($input: DeleteCompliancePortalCommitmentInput!) {
26
+ deleteCompliancePortalCommitment(input: $input) {
27
+ deletedCompliancePortalCommitmentId
28
28
  }
29
29
  }
30
30
  `;
31
- const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { id: trustCenterFileId } });
31
+ const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { id: commitmentId } });
32
32
  return {
33
33
  json: responseData,
34
34
  pairedItem: { item: itemIndex },
35
35
  };
36
36
  }
37
- //# sourceMappingURL=deleteFile.operation.js.map
37
+ //# sourceMappingURL=deleteCommitment.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteCommitment.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/compliancePortal/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"}
@@ -5,33 +5,33 @@ exports.execute = execute;
5
5
  const GenericFunctions_1 = require("../../GenericFunctions");
6
6
  exports.description = [
7
7
  {
8
- displayName: 'Compliance External URL ID',
9
- name: 'complianceExternalUrlId',
8
+ displayName: 'Commitment Group ID',
9
+ name: 'commitmentGroupId',
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
13
  resource: ['trustCenter'],
14
- operation: ['deleteExternalUrl'],
14
+ operation: ['deleteCommitmentGroup'],
15
15
  },
16
16
  },
17
17
  default: '',
18
- description: 'The ID of the compliance external URL to delete',
18
+ description: 'The ID of the commitment group to delete',
19
19
  required: true,
20
20
  },
21
21
  ];
22
22
  async function execute(itemIndex) {
23
- const complianceExternalUrlId = this.getNodeParameter('complianceExternalUrlId', itemIndex);
23
+ const commitmentGroupId = this.getNodeParameter('commitmentGroupId', itemIndex);
24
24
  const query = `
25
- mutation DeleteComplianceExternalURL($input: DeleteComplianceExternalURLInput!) {
26
- deleteComplianceExternalURL(input: $input) {
27
- deletedComplianceExternalURLId
25
+ mutation DeleteCompliancePortalCommitmentGroup($input: DeleteCompliancePortalCommitmentGroupInput!) {
26
+ deleteCompliancePortalCommitmentGroup(input: $input) {
27
+ deletedCompliancePortalCommitmentGroupId
28
28
  }
29
29
  }
30
30
  `;
31
- const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { id: complianceExternalUrlId } });
31
+ const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { id: commitmentGroupId } });
32
32
  return {
33
33
  json: responseData,
34
34
  pairedItem: { item: itemIndex },
35
35
  };
36
36
  }
37
- //# sourceMappingURL=deleteExternalUrl.operation.js.map
37
+ //# sourceMappingURL=deleteCommitmentGroup.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteCommitmentGroup.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/compliancePortal/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,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: 'Compliance Custom Link ID',
9
+ name: 'complianceCustomLinkId',
10
+ type: 'string',
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['compliancePortal'],
14
+ operation: ['deleteCustomLink'],
15
+ },
16
+ },
17
+ default: '',
18
+ description: 'The ID of the compliance custom link to delete',
19
+ required: true,
20
+ },
21
+ ];
22
+ async function execute(itemIndex) {
23
+ const complianceCustomLinkId = this.getNodeParameter('complianceCustomLinkId', itemIndex);
24
+ const query = `
25
+ mutation DeleteComplianceCustomLink($input: DeleteComplianceCustomLinkInput!) {
26
+ deleteComplianceCustomLink(input: $input) {
27
+ deletedComplianceCustomLinkId
28
+ }
29
+ }
30
+ `;
31
+ const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { id: complianceCustomLinkId } });
32
+ return {
33
+ json: responseData,
34
+ pairedItem: { item: itemIndex },
35
+ };
36
+ }
37
+ //# sourceMappingURL=deleteCustomLink.operation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteCustomLink.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/compliancePortal/deleteCustomLink.operation.ts"],"names":[],"mappings":";;;AAwCA,0BAoBC;AAvCD,6DAAyD;AAE5C,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,2BAA2B;QACxC,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,kBAAkB,CAAC;gBAC9B,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAC/B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gDAAgD;QAC7D,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEK,KAAK,UAAU,OAAO,CAE5B,SAAiB;IAEjB,MAAM,sBAAsB,GAAG,IAAI,CAAC,gBAAgB,CAAC,wBAAwB,EAAE,SAAS,CAAW,CAAC;IAEpG,MAAM,KAAK,GAAG;;;;;;EAMb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,sBAAsB,EAAE,EAAE,CAAC,CAAC;IAExG,OAAO;QACN,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;KAC/B,CAAC;AACH,CAAC"}