n8n-nodes-ms-dataverse 0.7.0 → 0.7.3
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/README.md +21 -0
- package/dist/nodes/Dataverse/Dataverse.node.d.ts +3 -2
- package/dist/nodes/Dataverse/Dataverse.node.js +41 -0
- package/dist/nodes/Dataverse/Dataverse.node.js.map +1 -1
- package/dist/nodes/Dataverse/GenericFunctions.d.ts +1 -0
- package/dist/nodes/Dataverse/GenericFunctions.js +118 -1
- package/dist/nodes/Dataverse/GenericFunctions.js.map +1 -1
- package/dist/nodes/Dataverse/descriptions.d.ts +5 -0
- package/dist/nodes/Dataverse/descriptions.js +430 -71
- package/dist/nodes/Dataverse/descriptions.js.map +1 -1
- package/dist/nodes/Dataverse/operations/GlobalChoiceOperations.d.ts +8 -0
- package/dist/nodes/Dataverse/operations/GlobalChoiceOperations.js +193 -0
- package/dist/nodes/Dataverse/operations/GlobalChoiceOperations.js.map +1 -0
- package/dist/nodes/Dataverse/operations/RecordOperations.d.ts +1 -0
- package/dist/nodes/Dataverse/operations/RecordOperations.js +66 -0
- package/dist/nodes/Dataverse/operations/RecordOperations.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.webResourceOperationFields = exports.webResourceOperationDescription = exports.pluginOperationFields = exports.pluginOperationDescription = exports.sqlQueryFields = exports.sqlOperationDescription = exports.webhookOperationFields = exports.webhookOperationDescription = exports.getManyOperationFields = exports.updateOperationFields = exports.revokeAccessOperationFields = exports.shareOperationFields = exports.upsertOperationFields = exports.getOperationFields = exports.createOperationFields = exports.fieldSchemaSelector = exports.tableDescription = exports.optionsDescription = exports.operationDescription = exports.resourceDescription = void 0;
|
|
3
|
+
exports.globalChoiceOperationFields = exports.webResourceOperationFields = exports.webResourceOperationDescription = exports.pluginOperationFields = exports.pluginOperationDescription = exports.sqlQueryFields = exports.sqlOperationDescription = exports.webhookOperationFields = exports.webhookOperationDescription = exports.getManyOperationFields = exports.updateOperationFields = exports.assignOperationFields = exports.revokeAccessOperationFields = exports.shareOperationFields = exports.upsertOperationFields = exports.getOperationFields = exports.createOperationFields = exports.choiceOptionsViewer = exports.choiceFieldSelector = exports.fieldSchemaSelector = exports.tableDescription = exports.optionsDescription = exports.globalChoiceOperationDescription = exports.operationDescription = exports.resourceDescription = void 0;
|
|
4
4
|
exports.resourceDescription = {
|
|
5
5
|
displayName: 'Resource',
|
|
6
6
|
name: 'resource',
|
|
@@ -8,25 +8,29 @@ exports.resourceDescription = {
|
|
|
8
8
|
noDataExpression: true,
|
|
9
9
|
options: [
|
|
10
10
|
{
|
|
11
|
-
name: '
|
|
12
|
-
value: '
|
|
11
|
+
name: 'Global Choice',
|
|
12
|
+
value: 'globalChoice',
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
|
-
name: '
|
|
16
|
-
value: '
|
|
15
|
+
name: 'Plugin',
|
|
16
|
+
value: 'plugin',
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
name: '
|
|
20
|
-
value: '
|
|
19
|
+
name: 'Record',
|
|
20
|
+
value: 'record',
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
name: '
|
|
24
|
-
value: '
|
|
23
|
+
name: 'SQL Query via TDS (Read-Only)',
|
|
24
|
+
value: 'sql',
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
27
|
name: 'Web Resource',
|
|
28
28
|
value: 'webresource',
|
|
29
29
|
},
|
|
30
|
+
{
|
|
31
|
+
name: 'Webhook',
|
|
32
|
+
value: 'webhook',
|
|
33
|
+
},
|
|
30
34
|
],
|
|
31
35
|
default: 'record',
|
|
32
36
|
};
|
|
@@ -41,12 +45,24 @@ exports.operationDescription = {
|
|
|
41
45
|
},
|
|
42
46
|
},
|
|
43
47
|
options: [
|
|
48
|
+
{
|
|
49
|
+
name: 'Assign',
|
|
50
|
+
value: 'assign',
|
|
51
|
+
description: 'Assign a record to a user or team',
|
|
52
|
+
action: 'Assign a record',
|
|
53
|
+
},
|
|
44
54
|
{
|
|
45
55
|
name: 'Create',
|
|
46
56
|
value: 'create',
|
|
47
57
|
description: 'Create a new record',
|
|
48
58
|
action: 'Create a record',
|
|
49
59
|
},
|
|
60
|
+
{
|
|
61
|
+
name: 'Create or Update',
|
|
62
|
+
value: 'upsert',
|
|
63
|
+
description: 'Create a new record, or update the current one if it already exists (upsert)',
|
|
64
|
+
action: 'Upsert a record',
|
|
65
|
+
},
|
|
50
66
|
{
|
|
51
67
|
name: 'Delete',
|
|
52
68
|
value: 'delete',
|
|
@@ -65,18 +81,6 @@ exports.operationDescription = {
|
|
|
65
81
|
description: 'Get multiple records',
|
|
66
82
|
action: 'Get many records',
|
|
67
83
|
},
|
|
68
|
-
{
|
|
69
|
-
name: 'Update',
|
|
70
|
-
value: 'update',
|
|
71
|
-
description: 'Update a record',
|
|
72
|
-
action: 'Update a record',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
name: 'Upsert',
|
|
76
|
-
value: 'upsert',
|
|
77
|
-
description: 'Create a new record or update if it exists (based on alternate key)',
|
|
78
|
-
action: 'Upsert a record',
|
|
79
|
-
},
|
|
80
84
|
{
|
|
81
85
|
name: 'Share Access Add',
|
|
82
86
|
value: 'shareAccessAdd',
|
|
@@ -95,9 +99,71 @@ exports.operationDescription = {
|
|
|
95
99
|
description: 'Revoke access to a record from a user or team',
|
|
96
100
|
action: 'Share access revoke',
|
|
97
101
|
},
|
|
102
|
+
{
|
|
103
|
+
name: 'Update',
|
|
104
|
+
value: 'update',
|
|
105
|
+
description: 'Update a record',
|
|
106
|
+
action: 'Update a record',
|
|
107
|
+
},
|
|
98
108
|
],
|
|
99
109
|
default: 'get',
|
|
100
110
|
};
|
|
111
|
+
exports.globalChoiceOperationDescription = {
|
|
112
|
+
displayName: 'Operation',
|
|
113
|
+
name: 'operation',
|
|
114
|
+
type: 'options',
|
|
115
|
+
noDataExpression: true,
|
|
116
|
+
displayOptions: {
|
|
117
|
+
show: {
|
|
118
|
+
resource: ['globalChoice'],
|
|
119
|
+
},
|
|
120
|
+
},
|
|
121
|
+
options: [
|
|
122
|
+
{
|
|
123
|
+
name: 'Add Option',
|
|
124
|
+
value: 'addOption',
|
|
125
|
+
description: 'Add an option to an existing global choice',
|
|
126
|
+
action: 'Add option to global choice',
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
name: 'Create',
|
|
130
|
+
value: 'create',
|
|
131
|
+
description: 'Create a new global choice',
|
|
132
|
+
action: 'Create a global choice',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: 'Delete',
|
|
136
|
+
value: 'delete',
|
|
137
|
+
description: 'Delete a global choice',
|
|
138
|
+
action: 'Delete a global choice',
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
name: 'Delete Option',
|
|
142
|
+
value: 'deleteOption',
|
|
143
|
+
description: 'Delete an option from a global choice',
|
|
144
|
+
action: 'Delete option from global choice',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: 'Get',
|
|
148
|
+
value: 'get',
|
|
149
|
+
description: 'Get a specific global choice',
|
|
150
|
+
action: 'Get a global choice',
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
name: 'List',
|
|
154
|
+
value: 'list',
|
|
155
|
+
description: 'List all global choices',
|
|
156
|
+
action: 'List global choices',
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
name: 'Update Option',
|
|
160
|
+
value: 'updateOption',
|
|
161
|
+
description: 'Update an option label in a global choice',
|
|
162
|
+
action: 'Update option in global choice',
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
default: 'list',
|
|
166
|
+
};
|
|
101
167
|
exports.optionsDescription = {
|
|
102
168
|
displayName: 'Options',
|
|
103
169
|
name: 'options',
|
|
@@ -283,6 +349,40 @@ exports.fieldSchemaSelector = {
|
|
|
283
349
|
description: 'Reference only: Select a table first, then use this to view available fields with their logical names, types, and permissions. This field is not used in the operation. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
284
350
|
placeholder: 'Select a table first...',
|
|
285
351
|
};
|
|
352
|
+
exports.choiceFieldSelector = {
|
|
353
|
+
displayName: 'View Choice Field Name or ID',
|
|
354
|
+
name: 'viewChoiceField',
|
|
355
|
+
type: 'options',
|
|
356
|
+
typeOptions: {
|
|
357
|
+
loadOptionsMethod: 'getTableFieldNames',
|
|
358
|
+
},
|
|
359
|
+
displayOptions: {
|
|
360
|
+
show: {
|
|
361
|
+
resource: ['record'],
|
|
362
|
+
operation: ['create', 'update', 'upsert'],
|
|
363
|
+
},
|
|
364
|
+
},
|
|
365
|
+
default: '',
|
|
366
|
+
description: 'Select a choice field to view its available options with values. This helps you find the correct integer value to use when setting choice fields. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
367
|
+
placeholder: 'Select a field...',
|
|
368
|
+
};
|
|
369
|
+
exports.choiceOptionsViewer = {
|
|
370
|
+
displayName: 'Choice Options (Reference Only) Name or ID',
|
|
371
|
+
name: 'viewChoiceOptions',
|
|
372
|
+
type: 'options',
|
|
373
|
+
typeOptions: {
|
|
374
|
+
loadOptionsMethod: 'getChoiceFieldOptions',
|
|
375
|
+
},
|
|
376
|
+
displayOptions: {
|
|
377
|
+
show: {
|
|
378
|
+
resource: ['record'],
|
|
379
|
+
operation: ['create', 'update', 'upsert'],
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
default: '',
|
|
383
|
+
description: 'Reference only: Shows available options for the selected choice field in "Label (Value)" format. Copy the value (number) to use in your field values. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.',
|
|
384
|
+
placeholder: 'Select a choice field first...',
|
|
385
|
+
};
|
|
286
386
|
exports.createOperationFields = [
|
|
287
387
|
{
|
|
288
388
|
displayName: 'Fields Input Mode',
|
|
@@ -330,7 +430,7 @@ exports.createOperationFields = [
|
|
|
330
430
|
name: 'field',
|
|
331
431
|
values: [
|
|
332
432
|
{
|
|
333
|
-
displayName: 'Field Name',
|
|
433
|
+
displayName: 'Field Name or ID',
|
|
334
434
|
name: 'name',
|
|
335
435
|
type: 'options',
|
|
336
436
|
typeOptions: {
|
|
@@ -374,7 +474,7 @@ exports.getOperationFields = [
|
|
|
374
474
|
displayOptions: {
|
|
375
475
|
show: {
|
|
376
476
|
resource: ['record'],
|
|
377
|
-
operation: ['get', 'update', 'delete', 'shareAccessAdd', 'shareAccessList', 'shareAccessRevoke'],
|
|
477
|
+
operation: ['assign', 'get', 'update', 'delete', 'shareAccessAdd', 'shareAccessList', 'shareAccessRevoke'],
|
|
378
478
|
},
|
|
379
479
|
},
|
|
380
480
|
options: [
|
|
@@ -399,7 +499,7 @@ exports.getOperationFields = [
|
|
|
399
499
|
displayOptions: {
|
|
400
500
|
show: {
|
|
401
501
|
resource: ['record'],
|
|
402
|
-
operation: ['get', 'delete', 'update', 'shareAccessAdd', 'shareAccessList', 'shareAccessRevoke'],
|
|
502
|
+
operation: ['assign', 'get', 'delete', 'update', 'shareAccessAdd', 'shareAccessList', 'shareAccessRevoke'],
|
|
403
503
|
recordIdType: ['id'],
|
|
404
504
|
},
|
|
405
505
|
},
|
|
@@ -420,7 +520,7 @@ exports.getOperationFields = [
|
|
|
420
520
|
displayOptions: {
|
|
421
521
|
show: {
|
|
422
522
|
resource: ['record'],
|
|
423
|
-
operation: ['get', 'update', 'delete', 'shareAccessAdd', 'shareAccessList', 'shareAccessRevoke'],
|
|
523
|
+
operation: ['assign', 'get', 'update', 'delete', 'shareAccessAdd', 'shareAccessList', 'shareAccessRevoke'],
|
|
424
524
|
recordIdType: ['alternateKey'],
|
|
425
525
|
},
|
|
426
526
|
},
|
|
@@ -430,7 +530,7 @@ exports.getOperationFields = [
|
|
|
430
530
|
name: 'key',
|
|
431
531
|
values: [
|
|
432
532
|
{
|
|
433
|
-
displayName: 'Key Name',
|
|
533
|
+
displayName: 'Key Name or ID',
|
|
434
534
|
name: 'name',
|
|
435
535
|
type: 'options',
|
|
436
536
|
typeOptions: {
|
|
@@ -488,7 +588,7 @@ exports.upsertOperationFields = [
|
|
|
488
588
|
name: 'key',
|
|
489
589
|
values: [
|
|
490
590
|
{
|
|
491
|
-
displayName: 'Key Name',
|
|
591
|
+
displayName: 'Key Name or ID',
|
|
492
592
|
name: 'name',
|
|
493
593
|
type: 'options',
|
|
494
594
|
typeOptions: {
|
|
@@ -555,7 +655,7 @@ exports.upsertOperationFields = [
|
|
|
555
655
|
name: 'field',
|
|
556
656
|
values: [
|
|
557
657
|
{
|
|
558
|
-
displayName: 'Field Name',
|
|
658
|
+
displayName: 'Field Name or ID',
|
|
559
659
|
name: 'name',
|
|
560
660
|
type: 'options',
|
|
561
661
|
typeOptions: {
|
|
@@ -698,21 +798,6 @@ exports.shareOperationFields = [
|
|
|
698
798
|
name: 'accessRights',
|
|
699
799
|
type: 'multiOptions',
|
|
700
800
|
options: [
|
|
701
|
-
{
|
|
702
|
-
name: 'Read',
|
|
703
|
-
value: 'ReadAccess',
|
|
704
|
-
description: 'Read access to the record',
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
name: 'Write',
|
|
708
|
-
value: 'WriteAccess',
|
|
709
|
-
description: 'Write access to the record',
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
name: 'Delete',
|
|
713
|
-
value: 'DeleteAccess',
|
|
714
|
-
description: 'Delete access to the record',
|
|
715
|
-
},
|
|
716
801
|
{
|
|
717
802
|
name: 'Append',
|
|
718
803
|
value: 'AppendAccess',
|
|
@@ -728,6 +813,16 @@ exports.shareOperationFields = [
|
|
|
728
813
|
value: 'AssignAccess',
|
|
729
814
|
description: 'Assign access to the record',
|
|
730
815
|
},
|
|
816
|
+
{
|
|
817
|
+
name: 'Delete',
|
|
818
|
+
value: 'DeleteAccess',
|
|
819
|
+
description: 'Delete access to the record',
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
name: 'Read',
|
|
823
|
+
value: 'ReadAccess',
|
|
824
|
+
description: 'Read access to the record',
|
|
825
|
+
},
|
|
731
826
|
{
|
|
732
827
|
name: 'Share',
|
|
733
828
|
value: 'ShareAccess',
|
|
@@ -848,6 +943,109 @@ exports.revokeAccessOperationFields = [
|
|
|
848
943
|
placeholder: 'e.g. Sales Team',
|
|
849
944
|
},
|
|
850
945
|
];
|
|
946
|
+
exports.assignOperationFields = [
|
|
947
|
+
{
|
|
948
|
+
displayName: 'Assignee Type',
|
|
949
|
+
name: 'assigneeType',
|
|
950
|
+
type: 'options',
|
|
951
|
+
options: [
|
|
952
|
+
{
|
|
953
|
+
name: 'User',
|
|
954
|
+
value: 'systemuser',
|
|
955
|
+
description: 'Assign to a user',
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
name: 'Team',
|
|
959
|
+
value: 'team',
|
|
960
|
+
description: 'Assign to a team',
|
|
961
|
+
},
|
|
962
|
+
],
|
|
963
|
+
default: 'systemuser',
|
|
964
|
+
required: true,
|
|
965
|
+
displayOptions: {
|
|
966
|
+
show: {
|
|
967
|
+
resource: ['record'],
|
|
968
|
+
operation: ['assign'],
|
|
969
|
+
},
|
|
970
|
+
},
|
|
971
|
+
description: 'Type of assignee (user or team)',
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
displayName: 'Assignee ID Type',
|
|
975
|
+
name: 'assigneeIdType',
|
|
976
|
+
type: 'options',
|
|
977
|
+
options: [
|
|
978
|
+
{
|
|
979
|
+
name: 'GUID',
|
|
980
|
+
value: 'guid',
|
|
981
|
+
description: 'Use the assignee ID (GUID)',
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
name: 'UPN (User Principal Name)',
|
|
985
|
+
value: 'upn',
|
|
986
|
+
description: 'Use email/UPN (will lookup the GUID)',
|
|
987
|
+
},
|
|
988
|
+
],
|
|
989
|
+
default: 'upn',
|
|
990
|
+
required: true,
|
|
991
|
+
displayOptions: {
|
|
992
|
+
show: {
|
|
993
|
+
resource: ['record'],
|
|
994
|
+
operation: ['assign'],
|
|
995
|
+
assigneeType: ['systemuser'],
|
|
996
|
+
},
|
|
997
|
+
},
|
|
998
|
+
description: 'How to identify the user',
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
displayName: 'Assignee ID (GUID)',
|
|
1002
|
+
name: 'assigneeId',
|
|
1003
|
+
type: 'string',
|
|
1004
|
+
required: true,
|
|
1005
|
+
default: '',
|
|
1006
|
+
displayOptions: {
|
|
1007
|
+
show: {
|
|
1008
|
+
resource: ['record'],
|
|
1009
|
+
operation: ['assign'],
|
|
1010
|
+
assigneeIdType: ['guid'],
|
|
1011
|
+
},
|
|
1012
|
+
},
|
|
1013
|
+
description: 'GUID of the user or team to assign to',
|
|
1014
|
+
placeholder: 'e.g. 00000000-0000-0000-0000-000000000000',
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
displayName: 'User Principal Name (Email)',
|
|
1018
|
+
name: 'assigneeUpn',
|
|
1019
|
+
type: 'string',
|
|
1020
|
+
required: true,
|
|
1021
|
+
default: '',
|
|
1022
|
+
displayOptions: {
|
|
1023
|
+
show: {
|
|
1024
|
+
resource: ['record'],
|
|
1025
|
+
operation: ['assign'],
|
|
1026
|
+
assigneeIdType: ['upn'],
|
|
1027
|
+
},
|
|
1028
|
+
},
|
|
1029
|
+
description: 'Email address or User Principal Name of the user to assign to',
|
|
1030
|
+
placeholder: 'e.g. user@example.com',
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
displayName: 'Team Name',
|
|
1034
|
+
name: 'assigneeTeamName',
|
|
1035
|
+
type: 'string',
|
|
1036
|
+
required: true,
|
|
1037
|
+
default: '',
|
|
1038
|
+
displayOptions: {
|
|
1039
|
+
show: {
|
|
1040
|
+
resource: ['record'],
|
|
1041
|
+
operation: ['assign'],
|
|
1042
|
+
assigneeType: ['team'],
|
|
1043
|
+
},
|
|
1044
|
+
},
|
|
1045
|
+
description: 'Name of the team to assign to (will lookup the GUID)',
|
|
1046
|
+
placeholder: 'e.g. Sales Team',
|
|
1047
|
+
},
|
|
1048
|
+
];
|
|
851
1049
|
exports.updateOperationFields = [
|
|
852
1050
|
{
|
|
853
1051
|
displayName: 'Fields Input Mode',
|
|
@@ -895,7 +1093,7 @@ exports.updateOperationFields = [
|
|
|
895
1093
|
name: 'field',
|
|
896
1094
|
values: [
|
|
897
1095
|
{
|
|
898
|
-
displayName: 'Field Name',
|
|
1096
|
+
displayName: 'Field Name or ID',
|
|
899
1097
|
name: 'name',
|
|
900
1098
|
type: 'options',
|
|
901
1099
|
typeOptions: {
|
|
@@ -1040,30 +1238,6 @@ exports.webhookOperationDescription = {
|
|
|
1040
1238
|
},
|
|
1041
1239
|
},
|
|
1042
1240
|
options: [
|
|
1043
|
-
{
|
|
1044
|
-
name: 'Register Endpoint',
|
|
1045
|
-
value: 'registerEndpoint',
|
|
1046
|
-
description: 'Create a new webhook endpoint (ServiceEndpoint) that can be reused',
|
|
1047
|
-
action: 'Register a webhook endpoint',
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
name: 'Register Step',
|
|
1051
|
-
value: 'registerWebhookStep',
|
|
1052
|
-
description: 'Register a step to link endpoint with a table/message',
|
|
1053
|
-
action: 'Register a webhook step',
|
|
1054
|
-
},
|
|
1055
|
-
{
|
|
1056
|
-
name: 'List Endpoints',
|
|
1057
|
-
value: 'listEndpoints',
|
|
1058
|
-
description: 'List all webhook endpoints',
|
|
1059
|
-
action: 'List webhook endpoints',
|
|
1060
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
name: 'List Endpoint Steps',
|
|
1063
|
-
value: 'listEndpointSteps',
|
|
1064
|
-
description: 'List SDK message processing steps for an endpoint',
|
|
1065
|
-
action: 'List endpoint steps',
|
|
1066
|
-
},
|
|
1067
1241
|
{
|
|
1068
1242
|
name: 'Delete Endpoint',
|
|
1069
1243
|
value: 'deleteEndpoint',
|
|
@@ -1076,12 +1250,36 @@ exports.webhookOperationDescription = {
|
|
|
1076
1250
|
description: 'Delete a specific SDK message processing step',
|
|
1077
1251
|
action: 'Delete a step',
|
|
1078
1252
|
},
|
|
1253
|
+
{
|
|
1254
|
+
name: 'List Endpoint Steps',
|
|
1255
|
+
value: 'listEndpointSteps',
|
|
1256
|
+
description: 'List SDK message processing steps for an endpoint',
|
|
1257
|
+
action: 'List endpoint steps',
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
name: 'List Endpoints',
|
|
1261
|
+
value: 'listEndpoints',
|
|
1262
|
+
description: 'List all webhook endpoints',
|
|
1263
|
+
action: 'List webhook endpoints',
|
|
1264
|
+
},
|
|
1079
1265
|
{
|
|
1080
1266
|
name: 'List SDK Message Filters',
|
|
1081
1267
|
value: 'listSdkMessageFilters',
|
|
1082
1268
|
description: 'List SDK message filters for a table',
|
|
1083
1269
|
action: 'List SDK message filters',
|
|
1084
1270
|
},
|
|
1271
|
+
{
|
|
1272
|
+
name: 'Register Endpoint',
|
|
1273
|
+
value: 'registerEndpoint',
|
|
1274
|
+
description: 'Create a new webhook endpoint (ServiceEndpoint) that can be reused',
|
|
1275
|
+
action: 'Register a webhook endpoint',
|
|
1276
|
+
},
|
|
1277
|
+
{
|
|
1278
|
+
name: 'Register Step',
|
|
1279
|
+
value: 'registerWebhookStep',
|
|
1280
|
+
description: 'Register a step to link endpoint with a table/message',
|
|
1281
|
+
action: 'Register a webhook step',
|
|
1282
|
+
},
|
|
1085
1283
|
],
|
|
1086
1284
|
default: 'registerEndpoint',
|
|
1087
1285
|
};
|
|
@@ -1170,11 +1368,11 @@ exports.webhookOperationFields = [
|
|
|
1170
1368
|
},
|
|
1171
1369
|
},
|
|
1172
1370
|
options: [
|
|
1371
|
+
{ name: 'Assign', value: 'Assign' },
|
|
1173
1372
|
{ name: 'Create', value: 'Create' },
|
|
1174
|
-
{ name: 'Update', value: 'Update' },
|
|
1175
1373
|
{ name: 'Delete', value: 'Delete' },
|
|
1176
|
-
{ name: 'Assign', value: 'Assign' },
|
|
1177
1374
|
{ name: 'SetState', value: 'SetState' },
|
|
1375
|
+
{ name: 'Update', value: 'Update' },
|
|
1178
1376
|
],
|
|
1179
1377
|
default: 'Create',
|
|
1180
1378
|
description: 'Dataverse operation to trigger the webhook',
|
|
@@ -1361,7 +1559,7 @@ exports.pluginOperationFields = [
|
|
|
1361
1559
|
},
|
|
1362
1560
|
default: '',
|
|
1363
1561
|
required: true,
|
|
1364
|
-
description: 'Base64-encoded DLL content. Use an expression like {{ $binary.file.data }} if reading from a file node, or paste the base64 string directly',
|
|
1562
|
+
description: 'Base64-encoded DLL content. Use an expression like {{ $binary.file.data }} if reading from a file node, or paste the base64 string directly.',
|
|
1365
1563
|
placeholder: 'e.g. {{ $binary.file.data }}',
|
|
1366
1564
|
},
|
|
1367
1565
|
{
|
|
@@ -1759,4 +1957,165 @@ exports.webResourceOperationFields = [
|
|
|
1759
1957
|
description: 'Filter web resources by type',
|
|
1760
1958
|
},
|
|
1761
1959
|
];
|
|
1960
|
+
exports.globalChoiceOperationFields = [
|
|
1961
|
+
{
|
|
1962
|
+
displayName: 'Choice Name',
|
|
1963
|
+
name: 'choiceName',
|
|
1964
|
+
type: 'string',
|
|
1965
|
+
displayOptions: {
|
|
1966
|
+
show: {
|
|
1967
|
+
resource: ['globalChoice'],
|
|
1968
|
+
operation: ['get', 'addOption', 'updateOption', 'deleteOption', 'delete'],
|
|
1969
|
+
},
|
|
1970
|
+
},
|
|
1971
|
+
default: '',
|
|
1972
|
+
required: true,
|
|
1973
|
+
description: 'Logical name of the global choice',
|
|
1974
|
+
placeholder: 'e.g. new_colors',
|
|
1975
|
+
},
|
|
1976
|
+
{
|
|
1977
|
+
displayName: 'Choice Name',
|
|
1978
|
+
name: 'newChoiceName',
|
|
1979
|
+
type: 'string',
|
|
1980
|
+
displayOptions: {
|
|
1981
|
+
show: {
|
|
1982
|
+
resource: ['globalChoice'],
|
|
1983
|
+
operation: ['create'],
|
|
1984
|
+
},
|
|
1985
|
+
},
|
|
1986
|
+
default: '',
|
|
1987
|
+
required: true,
|
|
1988
|
+
description: 'Logical name for the new global choice (must be unique)',
|
|
1989
|
+
placeholder: 'e.g. new_colors',
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
displayName: 'Display Name',
|
|
1993
|
+
name: 'displayName',
|
|
1994
|
+
type: 'string',
|
|
1995
|
+
displayOptions: {
|
|
1996
|
+
show: {
|
|
1997
|
+
resource: ['globalChoice'],
|
|
1998
|
+
operation: ['create'],
|
|
1999
|
+
},
|
|
2000
|
+
},
|
|
2001
|
+
default: '',
|
|
2002
|
+
required: true,
|
|
2003
|
+
description: 'User-friendly display name for the global choice',
|
|
2004
|
+
placeholder: 'e.g. Colors',
|
|
2005
|
+
},
|
|
2006
|
+
{
|
|
2007
|
+
displayName: 'Description',
|
|
2008
|
+
name: 'description',
|
|
2009
|
+
type: 'string',
|
|
2010
|
+
displayOptions: {
|
|
2011
|
+
show: {
|
|
2012
|
+
resource: ['globalChoice'],
|
|
2013
|
+
operation: ['create'],
|
|
2014
|
+
},
|
|
2015
|
+
},
|
|
2016
|
+
default: '',
|
|
2017
|
+
description: 'Description of the global choice',
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
displayName: 'Options',
|
|
2021
|
+
name: 'options',
|
|
2022
|
+
type: 'fixedCollection',
|
|
2023
|
+
typeOptions: {
|
|
2024
|
+
multipleValues: true,
|
|
2025
|
+
},
|
|
2026
|
+
placeholder: 'Add Option',
|
|
2027
|
+
displayOptions: {
|
|
2028
|
+
show: {
|
|
2029
|
+
resource: ['globalChoice'],
|
|
2030
|
+
operation: ['create'],
|
|
2031
|
+
},
|
|
2032
|
+
},
|
|
2033
|
+
default: {},
|
|
2034
|
+
options: [
|
|
2035
|
+
{
|
|
2036
|
+
displayName: 'Option',
|
|
2037
|
+
name: 'option',
|
|
2038
|
+
values: [
|
|
2039
|
+
{
|
|
2040
|
+
displayName: 'Label',
|
|
2041
|
+
name: 'label',
|
|
2042
|
+
type: 'string',
|
|
2043
|
+
default: '',
|
|
2044
|
+
required: true,
|
|
2045
|
+
description: 'Display label for the option',
|
|
2046
|
+
placeholder: 'e.g. Red',
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
displayName: 'Value',
|
|
2050
|
+
name: 'value',
|
|
2051
|
+
type: 'number',
|
|
2052
|
+
default: 1,
|
|
2053
|
+
required: true,
|
|
2054
|
+
description: 'Integer value for the option',
|
|
2055
|
+
placeholder: 'e.g. 1',
|
|
2056
|
+
},
|
|
2057
|
+
],
|
|
2058
|
+
},
|
|
2059
|
+
],
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
displayName: 'Option Label',
|
|
2063
|
+
name: 'optionLabel',
|
|
2064
|
+
type: 'string',
|
|
2065
|
+
displayOptions: {
|
|
2066
|
+
show: {
|
|
2067
|
+
resource: ['globalChoice'],
|
|
2068
|
+
operation: ['addOption'],
|
|
2069
|
+
},
|
|
2070
|
+
},
|
|
2071
|
+
default: '',
|
|
2072
|
+
required: true,
|
|
2073
|
+
description: 'Display label for the new option',
|
|
2074
|
+
placeholder: 'e.g. Blue',
|
|
2075
|
+
},
|
|
2076
|
+
{
|
|
2077
|
+
displayName: 'Option Value',
|
|
2078
|
+
name: 'optionValue',
|
|
2079
|
+
type: 'number',
|
|
2080
|
+
displayOptions: {
|
|
2081
|
+
show: {
|
|
2082
|
+
resource: ['globalChoice'],
|
|
2083
|
+
operation: ['addOption'],
|
|
2084
|
+
},
|
|
2085
|
+
},
|
|
2086
|
+
default: undefined,
|
|
2087
|
+
description: 'Integer value for the option (leave empty to auto-generate)',
|
|
2088
|
+
placeholder: 'e.g. 3',
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
displayName: 'Option Value',
|
|
2092
|
+
name: 'optionValue',
|
|
2093
|
+
type: 'number',
|
|
2094
|
+
displayOptions: {
|
|
2095
|
+
show: {
|
|
2096
|
+
resource: ['globalChoice'],
|
|
2097
|
+
operation: ['updateOption', 'deleteOption'],
|
|
2098
|
+
},
|
|
2099
|
+
},
|
|
2100
|
+
default: 1,
|
|
2101
|
+
required: true,
|
|
2102
|
+
description: 'Integer value of the option to update/delete',
|
|
2103
|
+
placeholder: 'e.g. 1',
|
|
2104
|
+
},
|
|
2105
|
+
{
|
|
2106
|
+
displayName: 'New Label',
|
|
2107
|
+
name: 'newLabel',
|
|
2108
|
+
type: 'string',
|
|
2109
|
+
displayOptions: {
|
|
2110
|
+
show: {
|
|
2111
|
+
resource: ['globalChoice'],
|
|
2112
|
+
operation: ['updateOption'],
|
|
2113
|
+
},
|
|
2114
|
+
},
|
|
2115
|
+
default: '',
|
|
2116
|
+
required: true,
|
|
2117
|
+
description: 'New display label for the option',
|
|
2118
|
+
placeholder: 'e.g. Dark Red',
|
|
2119
|
+
},
|
|
2120
|
+
];
|
|
1762
2121
|
//# sourceMappingURL=descriptions.js.map
|