@probo/n8n-nodes-probo 0.241.0 → 0.242.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 (93) hide show
  1. package/README.md +1 -1
  2. package/dist/nodes/Probo/Probo.node.js +1 -1
  3. package/dist/nodes/Probo/Probo.node.js.map +1 -1
  4. package/dist/nodes/Probo/actions/control/index.d.ts +3 -3
  5. package/dist/nodes/Probo/actions/control/index.js +15 -15
  6. package/dist/nodes/Probo/actions/control/index.js.map +1 -1
  7. package/dist/nodes/Probo/actions/control/{linkMeasure.operation.js → linkInternalControl.operation.js} +11 -11
  8. package/dist/nodes/Probo/actions/control/linkInternalControl.operation.js.map +1 -0
  9. package/dist/nodes/Probo/actions/control/{unlinkMeasure.operation.js → unlinkInternalControl.operation.js} +11 -11
  10. package/dist/nodes/Probo/actions/control/unlinkInternalControl.operation.js.map +1 -0
  11. package/dist/nodes/Probo/actions/evidence/getAll.operation.js +8 -8
  12. package/dist/nodes/Probo/actions/evidence/getAll.operation.js.map +1 -1
  13. package/dist/nodes/Probo/actions/evidence/index.js +2 -2
  14. package/dist/nodes/Probo/actions/evidence/index.js.map +1 -1
  15. package/dist/nodes/Probo/actions/evidence/upload.operation.js +7 -7
  16. package/dist/nodes/Probo/actions/evidence/upload.operation.js.map +1 -1
  17. package/dist/nodes/Probo/actions/index.js +2 -2
  18. package/dist/nodes/Probo/actions/index.js.map +1 -1
  19. package/dist/nodes/Probo/actions/{measure → internalControl}/create.operation.js +10 -10
  20. package/dist/nodes/Probo/actions/internalControl/create.operation.js.map +1 -0
  21. package/dist/nodes/Probo/actions/{measure → internalControl}/delete.operation.js +9 -9
  22. package/dist/nodes/Probo/actions/internalControl/delete.operation.js.map +1 -0
  23. package/dist/nodes/Probo/actions/{measure → internalControl}/get.operation.js +9 -9
  24. package/dist/nodes/Probo/actions/internalControl/get.operation.js.map +1 -0
  25. package/dist/nodes/Probo/actions/{measure → internalControl}/getAll.operation.js +8 -8
  26. package/dist/nodes/Probo/actions/internalControl/getAll.operation.js.map +1 -0
  27. package/dist/nodes/Probo/actions/{measure → internalControl}/index.js +23 -23
  28. package/dist/nodes/Probo/actions/internalControl/index.js.map +1 -0
  29. package/dist/nodes/Probo/actions/{measure → internalControl}/internalControlFields.js +3 -3
  30. package/dist/nodes/Probo/actions/internalControl/internalControlFields.js.map +1 -0
  31. package/dist/nodes/Probo/actions/{measure → internalControl}/linkDocument.operation.js +10 -10
  32. package/dist/nodes/Probo/actions/internalControl/linkDocument.operation.js.map +1 -0
  33. package/dist/nodes/Probo/actions/{measure → internalControl}/linkThirdParty.operation.js +10 -10
  34. package/dist/nodes/Probo/actions/internalControl/linkThirdParty.operation.js.map +1 -0
  35. package/dist/nodes/Probo/actions/{measure → internalControl}/linkTreatmentPlan.operation.js +10 -10
  36. package/dist/nodes/Probo/actions/internalControl/linkTreatmentPlan.operation.js.map +1 -0
  37. package/dist/nodes/Probo/actions/{measure → internalControl}/unlinkDocument.operation.js +10 -10
  38. package/dist/nodes/Probo/actions/internalControl/unlinkDocument.operation.js.map +1 -0
  39. package/dist/nodes/Probo/actions/{measure → internalControl}/unlinkThirdParty.operation.js +10 -10
  40. package/dist/nodes/Probo/actions/internalControl/unlinkThirdParty.operation.js.map +1 -0
  41. package/dist/nodes/Probo/actions/{measure → internalControl}/unlinkTreatmentPlan.operation.js +10 -10
  42. package/dist/nodes/Probo/actions/internalControl/unlinkTreatmentPlan.operation.js.map +1 -0
  43. package/dist/nodes/Probo/actions/{measure → internalControl}/update.operation.js +14 -14
  44. package/dist/nodes/Probo/actions/internalControl/update.operation.js.map +1 -0
  45. package/dist/nodes/Probo/actions/risk/index.d.ts +3 -3
  46. package/dist/nodes/Probo/actions/risk/index.js +15 -15
  47. package/dist/nodes/Probo/actions/risk/index.js.map +1 -1
  48. package/dist/nodes/Probo/actions/risk/{linkMeasure.operation.js → linkInternalControl.operation.js} +11 -11
  49. package/dist/nodes/Probo/actions/risk/linkInternalControl.operation.js.map +1 -0
  50. package/dist/nodes/Probo/actions/risk/{unlinkMeasure.operation.js → unlinkInternalControl.operation.js} +11 -11
  51. package/dist/nodes/Probo/actions/risk/unlinkInternalControl.operation.js.map +1 -0
  52. package/dist/nodes/Probo/actions/task/create.operation.js +6 -6
  53. package/dist/nodes/Probo/actions/task/create.operation.js.map +1 -1
  54. package/dist/nodes/Probo/actions/task/update.operation.js +7 -26
  55. package/dist/nodes/Probo/actions/task/update.operation.js.map +1 -1
  56. package/dist/nodes/Probo/actions/treatmentPlan/get.operation.js +4 -4
  57. package/dist/package.json +1 -1
  58. package/dist/tsconfig.tsbuildinfo +1 -1
  59. package/package.json +1 -1
  60. package/dist/nodes/Probo/actions/control/linkMeasure.operation.js.map +0 -1
  61. package/dist/nodes/Probo/actions/control/unlinkMeasure.operation.js.map +0 -1
  62. package/dist/nodes/Probo/actions/measure/create.operation.js.map +0 -1
  63. package/dist/nodes/Probo/actions/measure/delete.operation.js.map +0 -1
  64. package/dist/nodes/Probo/actions/measure/get.operation.js.map +0 -1
  65. package/dist/nodes/Probo/actions/measure/getAll.operation.js.map +0 -1
  66. package/dist/nodes/Probo/actions/measure/index.js.map +0 -1
  67. package/dist/nodes/Probo/actions/measure/internalControlFields.js.map +0 -1
  68. package/dist/nodes/Probo/actions/measure/linkDocument.operation.js.map +0 -1
  69. package/dist/nodes/Probo/actions/measure/linkThirdParty.operation.js.map +0 -1
  70. package/dist/nodes/Probo/actions/measure/linkTreatmentPlan.operation.js.map +0 -1
  71. package/dist/nodes/Probo/actions/measure/unlinkDocument.operation.js.map +0 -1
  72. package/dist/nodes/Probo/actions/measure/unlinkThirdParty.operation.js.map +0 -1
  73. package/dist/nodes/Probo/actions/measure/unlinkTreatmentPlan.operation.js.map +0 -1
  74. package/dist/nodes/Probo/actions/measure/update.operation.js.map +0 -1
  75. package/dist/nodes/Probo/actions/risk/linkMeasure.operation.js.map +0 -1
  76. package/dist/nodes/Probo/actions/risk/unlinkMeasure.operation.js.map +0 -1
  77. /package/dist/nodes/Probo/actions/control/{linkMeasure.operation.d.ts → linkInternalControl.operation.d.ts} +0 -0
  78. /package/dist/nodes/Probo/actions/control/{unlinkMeasure.operation.d.ts → unlinkInternalControl.operation.d.ts} +0 -0
  79. /package/dist/nodes/Probo/actions/{measure → internalControl}/create.operation.d.ts +0 -0
  80. /package/dist/nodes/Probo/actions/{measure → internalControl}/delete.operation.d.ts +0 -0
  81. /package/dist/nodes/Probo/actions/{measure → internalControl}/get.operation.d.ts +0 -0
  82. /package/dist/nodes/Probo/actions/{measure → internalControl}/getAll.operation.d.ts +0 -0
  83. /package/dist/nodes/Probo/actions/{measure → internalControl}/index.d.ts +0 -0
  84. /package/dist/nodes/Probo/actions/{measure → internalControl}/internalControlFields.d.ts +0 -0
  85. /package/dist/nodes/Probo/actions/{measure → internalControl}/linkDocument.operation.d.ts +0 -0
  86. /package/dist/nodes/Probo/actions/{measure → internalControl}/linkThirdParty.operation.d.ts +0 -0
  87. /package/dist/nodes/Probo/actions/{measure → internalControl}/linkTreatmentPlan.operation.d.ts +0 -0
  88. /package/dist/nodes/Probo/actions/{measure → internalControl}/unlinkDocument.operation.d.ts +0 -0
  89. /package/dist/nodes/Probo/actions/{measure → internalControl}/unlinkThirdParty.operation.d.ts +0 -0
  90. /package/dist/nodes/Probo/actions/{measure → internalControl}/unlinkTreatmentPlan.operation.d.ts +0 -0
  91. /package/dist/nodes/Probo/actions/{measure → internalControl}/update.operation.d.ts +0 -0
  92. /package/dist/nodes/Probo/actions/risk/{linkMeasure.operation.d.ts → linkInternalControl.operation.d.ts} +0 -0
  93. /package/dist/nodes/Probo/actions/risk/{unlinkMeasure.operation.d.ts → unlinkInternalControl.operation.d.ts} +0 -0
@@ -10,7 +10,7 @@ exports.description = [
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
- resource: ['measure'],
13
+ resource: ['internalControl'],
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: ['measure'],
27
+ resource: ['internalControl'],
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: ['measure'],
40
+ resource: ['internalControl'],
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 GetMeasures($organizationId: ID!, $first: Int, $after: CursorKey) {
57
+ query GetInternalControls($organizationId: ID!, $first: Int, $after: CursorKey) {
58
58
  node(id: $organizationId) {
59
59
  ... on Organization {
60
- measures(first: $first, after: $after) {
60
+ internalControls(first: $first, after: $after) {
61
61
  edges {
62
62
  node {
63
63
  id
@@ -99,13 +99,13 @@ async function execute(itemIndex) {
99
99
  }
100
100
  }
101
101
  `;
102
- const measures = await GenericFunctions_1.proboApiRequestAllItems.call(this, query, { organizationId }, (response) => {
102
+ const internalControls = await GenericFunctions_1.proboApiRequestAllItems.call(this, query, { organizationId }, (response) => {
103
103
  const data = response === null || response === void 0 ? void 0 : response.data;
104
104
  const node = data === null || data === void 0 ? void 0 : data.node;
105
- return node === null || node === void 0 ? void 0 : node.measures;
105
+ return node === null || node === void 0 ? void 0 : node.internalControls;
106
106
  }, returnAll, limit);
107
107
  return {
108
- json: { measures },
108
+ json: { internalControls },
109
109
  pairedItem: { item: itemIndex },
110
110
  };
111
111
  }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAll.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/internalControl/getAll.operation.ts"],"names":[],"mappings":";;;AAsEA,0BAwEC;AAzHD,6DAAiE;AAEpD,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,iBAAiB;QAC9B,IAAI,EA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;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,OAAO,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,gBAA2C,CAAC;IAC1D,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"}
@@ -64,75 +64,75 @@ exports.description = [
64
64
  noDataExpression: true,
65
65
  displayOptions: {
66
66
  show: {
67
- resource: ['measure'],
67
+ resource: ['internalControl'],
68
68
  },
69
69
  },
70
70
  options: [
71
71
  {
72
72
  name: 'Create',
73
73
  value: 'create',
74
- description: 'Create a new measure',
75
- action: 'Create a measure',
74
+ description: 'Create a new internal control',
75
+ action: 'Create an internal control',
76
76
  },
77
77
  {
78
78
  name: 'Delete',
79
79
  value: 'delete',
80
- description: 'Delete a measure',
81
- action: 'Delete a measure',
80
+ description: 'Delete an internal control',
81
+ action: 'Delete an internal control',
82
82
  },
83
83
  {
84
84
  name: 'Get',
85
85
  value: 'get',
86
- description: 'Get a measure',
87
- action: 'Get a measure',
86
+ description: 'Get an internal control',
87
+ action: 'Get an internal control',
88
88
  },
89
89
  {
90
90
  name: 'Get Many',
91
91
  value: 'getAll',
92
- description: 'Get many measures',
93
- action: 'Get many measures',
92
+ description: 'Get many internal controls',
93
+ action: 'Get many internal controls',
94
94
  },
95
95
  {
96
96
  name: 'Link Document',
97
97
  value: 'linkDocument',
98
- description: 'Link a document to a measure',
99
- action: 'Link a document to a measure',
98
+ description: 'Link a document to an internal control',
99
+ action: 'Link a document to an internal control',
100
100
  },
101
101
  {
102
102
  name: 'Link Third Party',
103
103
  value: 'linkThirdParty',
104
- description: 'Link a third party to a measure',
105
- action: 'Link a third party to a measure',
104
+ description: 'Link a third party to an internal control',
105
+ action: 'Link a third party to an internal control',
106
106
  },
107
107
  {
108
108
  name: 'Link Treatment Plan',
109
109
  value: 'linkTreatmentPlan',
110
- description: 'Link a treatment plan to a measure',
111
- action: 'Link a treatment plan to a measure',
110
+ description: 'Link a treatment plan to an internal control',
111
+ action: 'Link a treatment plan to an internal control',
112
112
  },
113
113
  {
114
114
  name: 'Unlink Document',
115
115
  value: 'unlinkDocument',
116
- description: 'Unlink a document from a measure',
117
- action: 'Unlink a document from a measure',
116
+ description: 'Unlink a document from an internal control',
117
+ action: 'Unlink a document from an internal control',
118
118
  },
119
119
  {
120
120
  name: 'Unlink Third Party',
121
121
  value: 'unlinkThirdParty',
122
- description: 'Unlink a third party from a measure',
123
- action: 'Unlink a third party from a measure',
122
+ description: 'Unlink a third party from an internal control',
123
+ action: 'Unlink a third party from an internal control',
124
124
  },
125
125
  {
126
126
  name: 'Unlink Treatment Plan',
127
127
  value: 'unlinkTreatmentPlan',
128
- description: 'Unlink a treatment plan from a measure',
129
- action: 'Unlink a treatment plan from a measure',
128
+ description: 'Unlink a treatment plan from an internal control',
129
+ action: 'Unlink a treatment plan from an internal control',
130
130
  },
131
131
  {
132
132
  name: 'Update',
133
133
  value: 'update',
134
- description: 'Update an existing measure',
135
- action: 'Update a measure',
134
+ description: 'Update an existing internal control',
135
+ action: 'Update an internal control',
136
136
  },
137
137
  ],
138
138
  default: 'create',
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/internalControl/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,6DAA+C;AA2GlC,0BAAM;AA1GnB,6DAA+C;AA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2C;aACnD;YACD;gBACC,IAAI,EAAE,qBAAqB;gBAC3B,KAAK,EAAE,mBAAmB;gBAC1B,WAAW,EAAE,8CAA8C;gBAC3D,MAAM,EAAE,8CAA8C;aACtD;YACD;gBACC,IAAI,EAAE,iBAAiB;gBACvB,KAAK,EAAE,gBAAgB;gBACvB,WAAW,EAAE,4CAA4C;gBACzD,MAAM,EAAE,4CAA4C;aACpD;YACD;gBACC,IAAI,EAAE,oBAAoB;gBAC1B,KAAK,EAAE,kBAAkB;gBACzB,WAAW,EAAE,+CAA+C;gBAC5D,MAAM,EAAE,+CAA+C;aACvD;YACD;gBACC,IAAI,EAAE,uBAAuB;gBAC7B,KAAK,EAAE,qBAAqB;gBAC5B,WAAW,EAAE,kDAAkD;gBAC/D,MAAM,EAAE,kDAAkD;aAC1D;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,QAAQ;gBACf,WAAW,EAAE,qCAAqC;gBAClD,MAAM,EAAE,4BAA4B;aACpC;SACD;QACD,OAAO,EAAE,QAAQ;KACjB;IACD,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,KAAK,CAAC,WAAW;IACpB,GAAG,QAAQ,CAAC,WAAW;IACvB,GAAG,cAAc,CAAC,WAAW;IAC7B,GAAG,gBAAgB,CAAC,WAAW;IAC/B,GAAG,mBAAmB,CAAC,WAAW;IAClC,GAAG,gBAAgB,CAAC,WAAW;IAC/B,GAAG,kBAAkB,CAAC,WAAW;IACjC,GAAG,qBAAqB,CAAC,WAAW;CACpC,CAAC"}
@@ -5,7 +5,7 @@ exports.readInternalControlFields = readInternalControlFields;
5
5
  function internalControlFields(operation) {
6
6
  const displayOptions = {
7
7
  show: {
8
- resource: ['measure'],
8
+ resource: ['internalControl'],
9
9
  operation: [operation],
10
10
  },
11
11
  };
@@ -64,7 +64,7 @@ function internalControlFields(operation) {
64
64
  type: 'string',
65
65
  displayOptions: {
66
66
  show: {
67
- resource: ['measure'],
67
+ resource: ['internalControl'],
68
68
  operation: [operation],
69
69
  operatingMode: ['PERIODIC'],
70
70
  },
@@ -79,7 +79,7 @@ function internalControlFields(operation) {
79
79
  type: 'string',
80
80
  displayOptions: {
81
81
  show: {
82
- resource: ['measure'],
82
+ resource: ['internalControl'],
83
83
  operation: [operation],
84
84
  operatingMode: ['EVENT'],
85
85
  },
@@ -0,0 +1 @@
1
+ {"version":3,"file":"internalControlFields.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/internalControl/internalControlFields.ts"],"names":[],"mappings":";;AAsBA,sDAsIC;AAaD,8DA+BC;AAlLD,SAAgB,qBAAqB,CAAC,SAAiB;IACtD,MAAM,cAAc,GAAG;QACtB,IAAI,EAAE;YACL,QAAQ,EAAE,CAAC,iBAAiB,CAAC;YAC7B,SAAS,EAAE,CAAC,SAAS,CAAC;SACtB;KACD,CAAC;IAEF,OAAO;QACN;YACC,WAAW,EAAE,MAAM;YACnB,IAAI,EAAE,MAAM;YACZ,IAAI,EAAE,QAAQ;YACd,cAAc;YACd,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,4CAA4C;SACzD;QACD;YACC,WAAW,EAAE,cAAc;YAC3B,IAAI,EAAE,aAAa;YACnB,IAAI,EAAE,SAAS;YACf,cAAc;YACd,OAAO,EAAE;gBACR,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;gBAC9B,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;gBAC3C,EAAE,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE;gBACzC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;aAC3C;YACD,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,oDAAoD;SACjE;QACD;YACC,WAAW,EAAE,QAAQ;YACrB,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,SAAS;YACf,cA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C;AAEX,SAAgB,yBAAyB,CACxC,GAA6B;IAE7B,MAAM,KAAK,GAA4B,EAAE,CAAC;IAC1C,KAAK,MAAM,IAAI,IAAI,UAAU,EAAE,CAAC;QAC/B,MAAM,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;QACxB,IAAI,KAAK,EAAE,CAAC;YACX,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAAC;QACrB,CAAC;IACF,CAAC;IAED,MAAM,IAAI,GAAG,GAAG,CAAC,eAAe,CAAC,CAAC;IAClC,IAAI,IAAI,EAAE,CAAC;QACV,MAAM,SAAS,GAA2B,EAAE,IAAI,EAAE,CAAC;QACnD,IAAI,IAAI,KAAK,UAAU,EAAE,CAAC;YACzB,MAAM,QAAQ,GAAG,GAAG,CAAC,mBAAmB,CAAC,CAAC;YAC1C,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACf,MAAM,IAAI,KAAK,CAAC,oEAAoE,CAAC,CAAC;YACvF,CAAC;YACD,SAAS,CAAC,QAAQ,GAAG,QAAQ,CAAC;QAC/B,CAAC;QACD,IAAI,IAAI,KAAK,OAAO,EAAE,CAAC;YACtB,MAAM,KAAK,GAAG,GAAG,CAAC,gBAAgB,CAAC,CAAC;YACpC,IAAI,KAAK,EAAE,CAAC;gBACX,SAAS,CAAC,KAAK,GAAG,KAAK,CAAC;YACzB,CAAC;QACF,CAAC;QACD,KAAK,CAAC,kBAAkB,GAAG,SAAS,CAAC;IACtC,CAAC;IAED,OAAO,KAAK,CAAC;AACd,CAAC"}
@@ -5,17 +5,17 @@ exports.execute = execute;
5
5
  const GenericFunctions_1 = require("../../GenericFunctions");
6
6
  exports.description = [
7
7
  {
8
- displayName: 'Measure ID',
9
- name: 'measureId',
8
+ displayName: 'Internal Control ID',
9
+ name: 'internalControlId',
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
- resource: ['measure'],
13
+ resource: ['internalControl'],
14
14
  operation: ['linkDocument'],
15
15
  },
16
16
  },
17
17
  default: '',
18
- description: 'The ID of the measure',
18
+ description: 'The ID of the internal control',
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: ['measure'],
27
+ resource: ['internalControl'],
28
28
  operation: ['linkDocument'],
29
29
  },
30
30
  },
@@ -34,12 +34,12 @@ exports.description = [
34
34
  },
35
35
  ];
36
36
  async function execute(itemIndex) {
37
- const measureId = this.getNodeParameter('measureId', itemIndex);
37
+ const internalControlId = this.getNodeParameter('internalControlId', itemIndex);
38
38
  const documentId = this.getNodeParameter('documentId', itemIndex);
39
39
  const query = `
40
- mutation CreateMeasureDocumentMapping($input: CreateMeasureDocumentMappingInput!) {
41
- createMeasureDocumentMapping(input: $input) {
42
- measureEdge {
40
+ mutation CreateInternalControlDocumentMapping($input: CreateInternalControlDocumentMappingInput!) {
41
+ createInternalControlDocumentMapping(input: $input) {
42
+ internalControlEdge {
43
43
  node {
44
44
  id
45
45
  name
@@ -54,7 +54,7 @@ async function execute(itemIndex) {
54
54
  }
55
55
  }
56
56
  `;
57
- const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { measureId, documentId } });
57
+ const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { internalControlId, documentId } });
58
58
  return {
59
59
  json: responseData,
60
60
  pairedItem: { item: itemIndex },
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkDocument.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/internalControl/linkDocument.operation.ts"],"names":[],"mappings":";;;AAsDA,0BAgCC;AAjED,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,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,cAAc,CAAC;aAC3B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;QAC7C,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,cAAc,CAAC;aAC3B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;QAC7C,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;IAC1F,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,SAAS,CAAW,CAAC;IAE5E,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;EAiBb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;IAE3G,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: 'Measure ID',
9
- name: 'measureId',
8
+ displayName: 'Internal Control ID',
9
+ name: 'internalControlId',
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
- resource: ['measure'],
13
+ resource: ['internalControl'],
14
14
  operation: ['linkThirdParty'],
15
15
  },
16
16
  },
17
17
  default: '',
18
- description: 'The ID of the measure',
18
+ description: 'The ID of the internal control',
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: ['measure'],
27
+ resource: ['internalControl'],
28
28
  operation: ['linkThirdParty'],
29
29
  },
30
30
  },
@@ -34,12 +34,12 @@ exports.description = [
34
34
  },
35
35
  ];
36
36
  async function execute(itemIndex) {
37
- const measureId = this.getNodeParameter('measureId', itemIndex);
37
+ const internalControlId = this.getNodeParameter('internalControlId', itemIndex);
38
38
  const thirdPartyId = this.getNodeParameter('thirdPartyId', itemIndex);
39
39
  const query = `
40
- mutation CreateMeasureThirdPartyMapping($input: CreateMeasureThirdPartyMappingInput!) {
41
- createMeasureThirdPartyMapping(input: $input) {
42
- measureEdge {
40
+ mutation CreateInternalControlThirdPartyMapping($input: CreateInternalControlThirdPartyMappingInput!) {
41
+ createInternalControlThirdPartyMapping(input: $input) {
42
+ internalControlEdge {
43
43
  node {
44
44
  id
45
45
  name
@@ -54,7 +54,7 @@ async function execute(itemIndex) {
54
54
  }
55
55
  }
56
56
  `;
57
- const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { measureId, thirdPartyId } });
57
+ const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { internalControlId, thirdPartyId } });
58
58
  return {
59
59
  json: responseData,
60
60
  pairedItem: { item: itemIndex },
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkThirdParty.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/internalControl/linkThirdParty.operation.ts"],"names":[],"mappings":";;;AAsDA,0BAgCC;AAjED,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,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;QAC7C,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,mCAAmC;QAChD,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;IAC1F,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,SAAS,CAAW,CAAC;IAEhF,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;;EAiBb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,iBAAiB,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;IAE7G,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: 'Measure ID',
9
- name: 'measureId',
8
+ displayName: 'Internal Control ID',
9
+ name: 'internalControlId',
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
- resource: ['measure'],
13
+ resource: ['internalControl'],
14
14
  operation: ['linkTreatmentPlan'],
15
15
  },
16
16
  },
17
17
  default: '',
18
- description: 'The ID of the measure',
18
+ description: 'The ID of the internal control',
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: ['measure'],
27
+ resource: ['internalControl'],
28
28
  operation: ['linkTreatmentPlan'],
29
29
  },
30
30
  },
@@ -34,12 +34,12 @@ exports.description = [
34
34
  },
35
35
  ];
36
36
  async function execute(itemIndex) {
37
- const measureId = this.getNodeParameter('measureId', itemIndex);
37
+ const internalControlId = this.getNodeParameter('internalControlId', itemIndex);
38
38
  const treatmentPlanId = this.getNodeParameter('treatmentPlanId', itemIndex);
39
39
  const query = `
40
- mutation CreateTreatmentPlanMeasureMapping($input: CreateTreatmentPlanMeasureMappingInput!) {
41
- createTreatmentPlanMeasureMapping(input: $input) {
42
- measureEdge {
40
+ mutation CreateTreatmentPlanInternalControlMapping($input: CreateTreatmentPlanInternalControlMappingInput!) {
41
+ createTreatmentPlanInternalControlMapping(input: $input) {
42
+ internalControlEdge {
43
43
  node {
44
44
  id
45
45
  name
@@ -53,7 +53,7 @@ async function execute(itemIndex) {
53
53
  }
54
54
  }
55
55
  `;
56
- const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { measureId, treatmentPlanId } });
56
+ const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { internalControlId, treatmentPlanId } });
57
57
  return {
58
58
  json: responseData,
59
59
  pairedItem: { item: itemIndex },
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkTreatmentPlan.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/internalControl/linkTreatmentPlan.operation.ts"],"names":[],"mappings":";;;AAsDA,0BA+BC;AAhED,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,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,mBAAmB,CAAC;aAChC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;QAC7C,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,mBAAmB;QAChC,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,mBAAmB,CAAC;aAChC;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sCAAsC;QACnD,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;IAC1F,MAAM,eAAe,GAAG,IAAI,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,SAAS,CAAW,CAAC;IAEtF,MAAM,KAAK,GAAG;;;;;;;;;;;;;;;;EAgBb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,iBAAiB,EAAE,eAAe,EAAE,EAAE,CAAC,CAAC;IAEhH,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: 'Measure ID',
9
- name: 'measureId',
8
+ displayName: 'Internal Control ID',
9
+ name: 'internalControlId',
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
- resource: ['measure'],
13
+ resource: ['internalControl'],
14
14
  operation: ['unlinkDocument'],
15
15
  },
16
16
  },
17
17
  default: '',
18
- description: 'The ID of the measure',
18
+ description: 'The ID of the internal control',
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: ['measure'],
27
+ resource: ['internalControl'],
28
28
  operation: ['unlinkDocument'],
29
29
  },
30
30
  },
@@ -34,17 +34,17 @@ exports.description = [
34
34
  },
35
35
  ];
36
36
  async function execute(itemIndex) {
37
- const measureId = this.getNodeParameter('measureId', itemIndex);
37
+ const internalControlId = this.getNodeParameter('internalControlId', itemIndex);
38
38
  const documentId = this.getNodeParameter('documentId', itemIndex);
39
39
  const query = `
40
- mutation DeleteMeasureDocumentMapping($input: DeleteMeasureDocumentMappingInput!) {
41
- deleteMeasureDocumentMapping(input: $input) {
42
- deletedMeasureId
40
+ mutation DeleteInternalControlDocumentMapping($input: DeleteInternalControlDocumentMappingInput!) {
41
+ deleteInternalControlDocumentMapping(input: $input) {
42
+ deletedInternalControlId
43
43
  deletedDocumentId
44
44
  }
45
45
  }
46
46
  `;
47
- const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { measureId, documentId } });
47
+ const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { internalControlId, documentId } });
48
48
  return {
49
49
  json: responseData,
50
50
  pairedItem: { item: itemIndex },
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unlinkDocument.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/internalControl/unlinkDocument.operation.ts"],"names":[],"mappings":";;;AAsDA,0BAsBC;AAvDD,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,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;QAC7C,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,aAAa;QAC1B,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,gBAAgB,CAAC;aAC7B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,kCAAkC;QAC/C,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;IAC1F,MAAM,UAAU,GAAG,IAAI,CAAC,gBAAgB,CAAC,YAAY,EAAE,SAAS,CAAW,CAAC;IAE5E,MAAM,KAAK,GAAG;;;;;;;EAOb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,iBAAiB,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;IAE3G,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: 'Measure ID',
9
- name: 'measureId',
8
+ displayName: 'Internal Control ID',
9
+ name: 'internalControlId',
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
- resource: ['measure'],
13
+ resource: ['internalControl'],
14
14
  operation: ['unlinkThirdParty'],
15
15
  },
16
16
  },
17
17
  default: '',
18
- description: 'The ID of the measure',
18
+ description: 'The ID of the internal control',
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: ['measure'],
27
+ resource: ['internalControl'],
28
28
  operation: ['unlinkThirdParty'],
29
29
  },
30
30
  },
@@ -34,17 +34,17 @@ exports.description = [
34
34
  },
35
35
  ];
36
36
  async function execute(itemIndex) {
37
- const measureId = this.getNodeParameter('measureId', itemIndex);
37
+ const internalControlId = this.getNodeParameter('internalControlId', itemIndex);
38
38
  const thirdPartyId = this.getNodeParameter('thirdPartyId', itemIndex);
39
39
  const query = `
40
- mutation DeleteMeasureThirdPartyMapping($input: DeleteMeasureThirdPartyMappingInput!) {
41
- deleteMeasureThirdPartyMapping(input: $input) {
42
- deletedMeasureId
40
+ mutation DeleteInternalControlThirdPartyMapping($input: DeleteInternalControlThirdPartyMappingInput!) {
41
+ deleteInternalControlThirdPartyMapping(input: $input) {
42
+ deletedInternalControlId
43
43
  deletedThirdPartyId
44
44
  }
45
45
  }
46
46
  `;
47
- const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { measureId, thirdPartyId } });
47
+ const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { internalControlId, thirdPartyId } });
48
48
  return {
49
49
  json: responseData,
50
50
  pairedItem: { item: itemIndex },
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unlinkThirdParty.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/internalControl/unlinkThirdParty.operation.ts"],"names":[],"mappings":";;;AAsDA,0BAsBC;AAvDD,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,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAC/B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,gCAAgC;QAC7C,QAAQ,EAAE,IAAI;KACd;IACD;QACC,WAAW,EAAE,gBAAgB;QAC7B,IAAI,EAAE,cAAc;QACpB,IAAI,EAAE,QAAQ;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,kBAAkB,CAAC;aAC/B;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,qCAAqC;QAClD,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;IAC1F,MAAM,YAAY,GAAG,IAAI,CAAC,gBAAgB,CAAC,cAAc,EAAE,SAAS,CAAW,CAAC;IAEhF,MAAM,KAAK,GAAG;;;;;;;EAOb,CAAC;IAEF,MAAM,YAAY,GAAG,MAAM,kCAAe,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,iBAAiB,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;IAE7G,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: 'Measure ID',
9
- name: 'measureId',
8
+ displayName: 'Internal Control ID',
9
+ name: 'internalControlId',
10
10
  type: 'string',
11
11
  displayOptions: {
12
12
  show: {
13
- resource: ['measure'],
13
+ resource: ['internalControl'],
14
14
  operation: ['unlinkTreatmentPlan'],
15
15
  },
16
16
  },
17
17
  default: '',
18
- description: 'The ID of the measure',
18
+ description: 'The ID of the internal control',
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: ['measure'],
27
+ resource: ['internalControl'],
28
28
  operation: ['unlinkTreatmentPlan'],
29
29
  },
30
30
  },
@@ -34,17 +34,17 @@ exports.description = [
34
34
  },
35
35
  ];
36
36
  async function execute(itemIndex) {
37
- const measureId = this.getNodeParameter('measureId', itemIndex);
37
+ const internalControlId = this.getNodeParameter('internalControlId', itemIndex);
38
38
  const treatmentPlanId = this.getNodeParameter('treatmentPlanId', itemIndex);
39
39
  const query = `
40
- mutation DeleteTreatmentPlanMeasureMapping($input: DeleteTreatmentPlanMeasureMappingInput!) {
41
- deleteTreatmentPlanMeasureMapping(input: $input) {
42
- deletedMeasureId
40
+ mutation DeleteTreatmentPlanInternalControlMapping($input: DeleteTreatmentPlanInternalControlMappingInput!) {
41
+ deleteTreatmentPlanInternalControlMapping(input: $input) {
42
+ deletedInternalControlId
43
43
  deletedTreatmentPlanId
44
44
  }
45
45
  }
46
46
  `;
47
- const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { measureId, treatmentPlanId } });
47
+ const responseData = await GenericFunctions_1.proboApiRequest.call(this, query, { input: { internalControlId, treatmentPlanId } });
48
48
  return {
49
49
  json: responseData,
50
50
  pairedItem: { item: itemIndex },
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unlinkTreatmentPlan.operation.js","sourceRoot":"","sources":["../../../../../nodes/Probo/actions/internalControl/unlinkTreatmentPlan.operation.ts"],"names":[],"mappings":";;;AAsDA,0BAsBC;AAvDD,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,iBAAiB,CAAC;gBAC7B,SAAS,EAAE,CAAC,qBAAqB,CAAC;aAClC;SACD;QACD,OAAO,EAAE,E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