n8n-nodes-synca 1.0.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 (62) hide show
  1. package/dist/credentials/SyncaApi.credentials.d.ts +9 -0
  2. package/dist/credentials/SyncaApi.credentials.js +51 -0
  3. package/dist/credentials/SyncaApi.credentials.js.map +1 -0
  4. package/dist/nodes/Cashcow/SyncaCashcow.node.d.ts +10 -0
  5. package/dist/nodes/Cashcow/SyncaCashcow.node.js +185 -0
  6. package/dist/nodes/Cashcow/SyncaCashcow.node.js.map +1 -0
  7. package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.d.ts +30 -0
  8. package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.js +37 -0
  9. package/dist/nodes/Cashcow/constants/cashcow-check-order-tracking.constant.js.map +1 -0
  10. package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.d.ts +117 -0
  11. package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.js +290 -0
  12. package/dist/nodes/Cashcow/constants/cashcow-create-or-update-product.constant.js.map +1 -0
  13. package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.d.ts +189 -0
  14. package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.js +420 -0
  15. package/dist/nodes/Cashcow/constants/cashcow-create-order.constant.js.map +1 -0
  16. package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.d.ts +46 -0
  17. package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.js +166 -0
  18. package/dist/nodes/Cashcow/constants/cashcow-get-store-mailbox.constant.js.map +1 -0
  19. package/dist/nodes/Cashcow/icon copy 2.svg +53 -0
  20. package/dist/nodes/Cashcow/icon copy.svg +65 -0
  21. package/dist/nodes/Cashcow/icon.svg +1 -0
  22. package/dist/nodes/Cashcow/last-icon.svg +38 -0
  23. package/dist/nodes/Mirakl/SyncaMirakl.node.d.ts +0 -0
  24. package/dist/nodes/Mirakl/SyncaMirakl.node.js +2 -0
  25. package/dist/nodes/Mirakl/SyncaMirakl.node.js.map +1 -0
  26. package/dist/nodes/OLD_SyncaPriority.node.d.ts +10 -0
  27. package/dist/nodes/OLD_SyncaPriority.node.js +389 -0
  28. package/dist/nodes/OLD_SyncaPriority.node.js.map +1 -0
  29. package/dist/nodes/Priority/SyncaPriority.node.d.ts +18 -0
  30. package/dist/nodes/Priority/SyncaPriority.node.js +313 -0
  31. package/dist/nodes/Priority/SyncaPriority.node.js.map +1 -0
  32. package/dist/nodes/Priority/constants/methods.d.ts +15 -0
  33. package/dist/nodes/Priority/constants/methods.js +299 -0
  34. package/dist/nodes/Priority/constants/methods.js.map +1 -0
  35. package/dist/nodes/Priority/constants/priority-agents.constant.d.ts +39 -0
  36. package/dist/nodes/Priority/constants/priority-agents.constant.js +114 -0
  37. package/dist/nodes/Priority/constants/priority-agents.constant.js.map +1 -0
  38. package/dist/nodes/Priority/constants/priority-generic.constant.d.ts +158 -0
  39. package/dist/nodes/Priority/constants/priority-generic.constant.js +219 -0
  40. package/dist/nodes/Priority/constants/priority-generic.constant.js.map +1 -0
  41. package/dist/nodes/Priority/constants/priority-procedure.constant.d.ts +129 -0
  42. package/dist/nodes/Priority/constants/priority-procedure.constant.js +178 -0
  43. package/dist/nodes/Priority/constants/priority-procedure.constant.js.map +1 -0
  44. package/dist/nodes/Priority/constants/priority-products.constant.d.ts +158 -0
  45. package/dist/nodes/Priority/constants/priority-products.constant.js +209 -0
  46. package/dist/nodes/Priority/constants/priority-products.constant.js.map +1 -0
  47. package/dist/nodes/Priority/constants/priority-purchase-orders.constant.d.ts +158 -0
  48. package/dist/nodes/Priority/constants/priority-purchase-orders.constant.js +218 -0
  49. package/dist/nodes/Priority/constants/priority-purchase-orders.constant.js.map +1 -0
  50. package/dist/nodes/Priority/constants/priority-sales.constant.d.ts +158 -0
  51. package/dist/nodes/Priority/constants/priority-sales.constant.js +383 -0
  52. package/dist/nodes/Priority/constants/priority-sales.constant.js.map +1 -0
  53. package/dist/nodes/Priority/icon.png +0 -0
  54. package/dist/nodes/Priority/icon.svg +1 -0
  55. package/dist/nodes/Superpharm/SyncaSuperpharm.node.d.ts +10 -0
  56. package/dist/nodes/Superpharm/SyncaSuperpharm.node.js +1072 -0
  57. package/dist/nodes/Superpharm/SyncaSuperpharm.node.js.map +1 -0
  58. package/dist/nodes/Superpharm/icon.svg +1 -0
  59. package/dist/nodes/Superpharm/old-icon.svg +22 -0
  60. package/dist/package.json +55 -0
  61. package/dist/tsconfig.tsbuildinfo +1 -0
  62. package/package.json +55 -0
@@ -0,0 +1,158 @@
1
+ export declare const PriorityPurchaseOrders: {
2
+ declare: ({
3
+ displayName: string;
4
+ name: string;
5
+ type: string;
6
+ noDataExpression: boolean;
7
+ displayOptions: {
8
+ show: {
9
+ resource: string[];
10
+ operation?: undefined;
11
+ };
12
+ };
13
+ options: {
14
+ name: string;
15
+ value: string;
16
+ description: string;
17
+ action: string;
18
+ }[];
19
+ default: string;
20
+ required?: undefined;
21
+ typeOptions?: undefined;
22
+ description?: undefined;
23
+ placeholder?: undefined;
24
+ } | {
25
+ displayName: string;
26
+ name: string;
27
+ type: string;
28
+ default: {
29
+ mappingMode: string;
30
+ value: null;
31
+ };
32
+ required: boolean;
33
+ displayOptions: {
34
+ show: {
35
+ resource: string[];
36
+ operation: string[];
37
+ };
38
+ };
39
+ typeOptions: {
40
+ loadOptionsDependsOn: string[];
41
+ refreshOn: string[];
42
+ resourceMapper: {
43
+ resourceMapperMethod: string;
44
+ mode: string;
45
+ addAllFields: boolean;
46
+ fieldWords: {
47
+ singular: string;
48
+ plural: string;
49
+ };
50
+ };
51
+ multipleValues?: undefined;
52
+ loadOptionsMethod?: undefined;
53
+ };
54
+ noDataExpression?: undefined;
55
+ options?: undefined;
56
+ description?: undefined;
57
+ placeholder?: undefined;
58
+ } | {
59
+ displayName: string;
60
+ name: string;
61
+ type: string;
62
+ required: boolean;
63
+ displayOptions: {
64
+ show: {
65
+ resource: string[];
66
+ operation: string[];
67
+ };
68
+ };
69
+ default: string;
70
+ description: string;
71
+ noDataExpression?: undefined;
72
+ options?: undefined;
73
+ typeOptions?: undefined;
74
+ placeholder?: undefined;
75
+ } | {
76
+ displayName: string;
77
+ name: string;
78
+ type: string;
79
+ placeholder: string;
80
+ typeOptions: {
81
+ multipleValues: boolean;
82
+ loadOptionsDependsOn: string[];
83
+ refreshOn: string[];
84
+ resourceMapper?: undefined;
85
+ loadOptionsMethod?: undefined;
86
+ };
87
+ default: {
88
+ mappingMode?: undefined;
89
+ value?: undefined;
90
+ };
91
+ displayOptions: {
92
+ show: {
93
+ resource: string[];
94
+ operation: string[];
95
+ };
96
+ };
97
+ options: {
98
+ name: string;
99
+ displayName: string;
100
+ values: ({
101
+ displayName: string;
102
+ name: string;
103
+ type: string;
104
+ typeOptions: {
105
+ loadOptionsMethod: string;
106
+ loadOptionsDependsOn: string[];
107
+ refreshOn: string[];
108
+ };
109
+ default: string;
110
+ options?: undefined;
111
+ } | {
112
+ displayName: string;
113
+ name: string;
114
+ type: string;
115
+ options: {
116
+ name: string;
117
+ value: string;
118
+ }[];
119
+ default: string;
120
+ typeOptions?: undefined;
121
+ } | {
122
+ displayName: string;
123
+ name: string;
124
+ type: string;
125
+ default: string;
126
+ typeOptions?: undefined;
127
+ options?: undefined;
128
+ })[];
129
+ }[];
130
+ noDataExpression?: undefined;
131
+ required?: undefined;
132
+ description?: undefined;
133
+ } | {
134
+ displayName: string;
135
+ name: string;
136
+ type: string;
137
+ default: never[];
138
+ description: string;
139
+ typeOptions: {
140
+ loadOptionsMethod: string;
141
+ loadOptionsDependsOn: string[];
142
+ refreshOn: string[];
143
+ resourceMapper?: undefined;
144
+ multipleValues?: undefined;
145
+ };
146
+ displayOptions: {
147
+ show: {
148
+ resource: string[];
149
+ operation: string[];
150
+ };
151
+ };
152
+ noDataExpression?: undefined;
153
+ options?: undefined;
154
+ required?: undefined;
155
+ placeholder?: undefined;
156
+ })[];
157
+ process: (params: any, i: number, getNodeParameter: (parameterName: string, itemIndex: number, fallbackValue?: any) => string | number | boolean | object) => any;
158
+ };
@@ -0,0 +1,218 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PriorityPurchaseOrders = void 0;
4
+ exports.PriorityPurchaseOrders = {
5
+ declare: [
6
+ {
7
+ displayName: 'Operation',
8
+ name: 'operation',
9
+ type: 'options',
10
+ noDataExpression: true,
11
+ displayOptions: {
12
+ show: {
13
+ resource: ['purchaseOrders'],
14
+ },
15
+ },
16
+ options: [
17
+ {
18
+ name: 'Create Purchase Order',
19
+ value: 'create_purchase_order',
20
+ description: 'Create a new purchase order',
21
+ action: 'Create a purchase order',
22
+ },
23
+ {
24
+ name: 'Update Purchase Order',
25
+ value: 'update_purchase_order',
26
+ description: 'Update a purchase order',
27
+ action: 'Update a purchase order',
28
+ },
29
+ {
30
+ name: 'Search Purchase Orders',
31
+ value: 'list_purchase_orders',
32
+ description: 'Search all purchase orders',
33
+ action: 'Search purchase orders',
34
+ },
35
+ {
36
+ name: 'Get Purchase Order',
37
+ value: 'get_purchase_order',
38
+ description: 'Get a specific purchase order',
39
+ action: 'Get a purchase order',
40
+ },
41
+ ],
42
+ default: 'list_purchase_orders',
43
+ },
44
+ {
45
+ displayName: 'Row Data',
46
+ name: 'rowData',
47
+ type: 'resourceMapper',
48
+ default: { mappingMode: 'defineBelow', value: null },
49
+ required: true,
50
+ displayOptions: {
51
+ show: { resource: ['purchaseOrders'], operation: ['create_purchase_order', 'update_purchase_order'] },
52
+ },
53
+ typeOptions: {
54
+ loadOptionsDependsOn: ['operation', 'credentials'],
55
+ refreshOn: ['operation', 'credentials'],
56
+ resourceMapper: {
57
+ resourceMapperMethod: 'getFormFields',
58
+ mode: 'add',
59
+ addAllFields: false,
60
+ fieldWords: { singular: 'field', plural: 'fields' },
61
+ },
62
+ },
63
+ },
64
+ {
65
+ displayName: 'Purchase Order ID',
66
+ name: 'purchaseId',
67
+ type: 'string',
68
+ required: true,
69
+ displayOptions: {
70
+ show: {
71
+ resource: ['purchaseOrders'],
72
+ operation: ['get_purchase_order'],
73
+ },
74
+ },
75
+ default: '',
76
+ description: 'The purchase order ID to retrieve',
77
+ },
78
+ {
79
+ displayName: 'Filters',
80
+ name: 'filters',
81
+ type: 'fixedCollection',
82
+ placeholder: 'Add Filter',
83
+ typeOptions: {
84
+ multipleValues: true,
85
+ loadOptionsDependsOn: ['credentials', 'operation'],
86
+ refreshOn: ['credentials', 'operation'],
87
+ },
88
+ default: {},
89
+ displayOptions: {
90
+ show: { resource: ['purchaseOrders'], operation: ['list_purchase_orders'] },
91
+ },
92
+ options: [
93
+ {
94
+ name: 'filter',
95
+ displayName: 'Filter',
96
+ values: [
97
+ {
98
+ displayName: 'Field',
99
+ name: 'field',
100
+ type: 'options',
101
+ typeOptions: {
102
+ loadOptionsMethod: 'getFormFields',
103
+ loadOptionsDependsOn: ['credentials', 'operation'],
104
+ refreshOn: ['credentials', 'operation']
105
+ },
106
+ default: '',
107
+ },
108
+ {
109
+ displayName: 'Operator',
110
+ name: 'op',
111
+ type: 'options',
112
+ options: [
113
+ { name: 'Equals', value: 'eq' },
114
+ { name: 'Not Equals', value: 'neq' },
115
+ { name: 'Starts With', value: 'startWith' },
116
+ { name: 'Ends With', value: 'endWith' },
117
+ { name: 'Contain', value: 'in' },
118
+ { name: 'Greater Than', value: 'gt' },
119
+ { name: 'Greater or Equal', value: 'gte' },
120
+ { name: 'Less Than', value: 'lt' },
121
+ { name: 'Less or Equal', value: 'lte' },
122
+ ],
123
+ default: 'eq',
124
+ },
125
+ {
126
+ displayName: 'Value',
127
+ name: 'fromval',
128
+ type: 'string',
129
+ default: '',
130
+ },
131
+ ],
132
+ },
133
+ ],
134
+ },
135
+ {
136
+ displayName: 'Return Fields',
137
+ name: 'fields',
138
+ type: 'multiOptions',
139
+ default: [],
140
+ description: 'Leave empty to return all columns, or pick the ones you need.',
141
+ typeOptions: {
142
+ loadOptionsMethod: 'getFormFields',
143
+ loadOptionsDependsOn: ['credentials', 'operation'],
144
+ refreshOn: ['credentials', 'operation'],
145
+ },
146
+ displayOptions: {
147
+ show: { resource: ['purchaseOrders'], operation: ['list_purchase_orders'] },
148
+ },
149
+ },
150
+ ],
151
+ process: (params, i, getNodeParameter) => {
152
+ const page = getNodeParameter('page', i, 1);
153
+ const pageSize = getNodeParameter('page_size', i, 20);
154
+ if (page < 1)
155
+ throw new Error('Page number must be 1 or greater');
156
+ if (pageSize < 1 || pageSize > 100)
157
+ throw new Error('Page size must be between 1 and 100');
158
+ params.page = page;
159
+ params.page_size = pageSize;
160
+ try {
161
+ const messageType = getNodeParameter('message_type', i, 'all');
162
+ if (messageType && messageType !== 'all') {
163
+ params.message_type = messageType;
164
+ }
165
+ }
166
+ catch { }
167
+ try {
168
+ const readStatus = getNodeParameter('read_status', i, 'all');
169
+ if (readStatus && readStatus !== 'all') {
170
+ params.read_status = readStatus;
171
+ }
172
+ }
173
+ catch { }
174
+ try {
175
+ const customerId = getNodeParameter('customer_id', i, '');
176
+ if (customerId && customerId.trim() !== '') {
177
+ params.customer_id = customerId.trim();
178
+ }
179
+ }
180
+ catch { }
181
+ try {
182
+ const searchQuery = getNodeParameter('search_query', i, '');
183
+ if (searchQuery && searchQuery.trim() !== '') {
184
+ params.search_query = searchQuery.trim();
185
+ }
186
+ }
187
+ catch { }
188
+ try {
189
+ const orderBy = getNodeParameter('order_by', i, 'date_desc');
190
+ if (orderBy) {
191
+ params.order_by = orderBy;
192
+ }
193
+ }
194
+ catch { }
195
+ try {
196
+ const dateFrom = getNodeParameter('date_from', i, '');
197
+ if (dateFrom && dateFrom.trim() !== '') {
198
+ const fromDate = new Date(dateFrom);
199
+ if (!isNaN(fromDate.getTime())) {
200
+ params.date_from = fromDate.toISOString();
201
+ }
202
+ }
203
+ }
204
+ catch { }
205
+ try {
206
+ const dateTo = getNodeParameter('date_to', i, '');
207
+ if (dateTo && dateTo.trim() !== '') {
208
+ const toDate = new Date(dateTo);
209
+ if (!isNaN(toDate.getTime())) {
210
+ params.date_to = toDate.toISOString();
211
+ }
212
+ }
213
+ }
214
+ catch { }
215
+ return params;
216
+ }
217
+ };
218
+ //# sourceMappingURL=priority-purchase-orders.constant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"priority-purchase-orders.constant.js","sourceRoot":"","sources":["../../../../nodes/Priority/constants/priority-purchase-orders.constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IAClC,OAAO,EAAE;QAEL;YACI,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,SAAS;YACf,gBAAgB,EAAE,IAAI;YACtB,cAAc,EAAE;gBACZ,IAAI,EAAE;oBACF,QAAQ,EAAE,CAAC,gBAAgB,CAAC;iBAC/B;aACJ;YACD,OAAO,EAAE;gBACL;oBACI,IAAI,EAAE,uBAAuB;oBAC7B,KAAK,EAAE,uBAAuB;oBAC9B,WAAW,EAAE,6BAA6B;oBAC1C,MAAM,EAAE,yBAAyB;iBACpC;gBACD;oBACI,IAAI,EAAE,uBAAuB;oBAC7B,KAAK,EAAE,uBAAuB;oBAC9B,WAAW,EAAE,yBAAyB;oBACtC,MAAM,EAAE,yBAAyB;iBACpC;gBACD;oBACI,IAAI,EAAE,wBAAwB;oBAC9B,KAAK,EAAE,sBAAsB;oBAC7B,WAAW,EAAE,4BAA4B;oBACzC,MAAM,EAAE,wBAAwB;iBACnC;gBACD;oBACI,IAAI,EAAE,oBAAoB;oBAC1B,KAAK,EAAE,oBAAoB;oBAC3B,WAAW,EAAE,+BAA+B;oBAC5C,MAAM,EAAE,sBAAsB;iBACjC;aACJ;YACD,OAAO,EAAE,sBAAsB;SAClC;QAGD;YACI,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,gBAAgB;YACtB,OAAO,EAAE,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,EAAE,IAAI,EAAE;YACpD,QAAQ,EAAE,IAAI;YAE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AE;gBAEhC,MAAM,MAAM,GAAG,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC;gBAChC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC,EAAE;oBAC1B,MAAM,CAAC,OAAO,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;iBACzC;aACJ;SACJ;QAAC,MAAM,GAAG;QAEX,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ,CAAC"}
@@ -0,0 +1,158 @@
1
+ export declare const PrioritySales: {
2
+ declare: ({
3
+ displayName: string;
4
+ name: string;
5
+ type: string;
6
+ noDataExpression: boolean;
7
+ displayOptions: {
8
+ show: {
9
+ resource: string[];
10
+ operation?: undefined;
11
+ };
12
+ };
13
+ options: {
14
+ name: string;
15
+ value: string;
16
+ description: string;
17
+ action: string;
18
+ }[];
19
+ default: string;
20
+ required?: undefined;
21
+ typeOptions?: undefined;
22
+ description?: undefined;
23
+ placeholder?: undefined;
24
+ } | {
25
+ displayName: string;
26
+ name: string;
27
+ type: string;
28
+ default: {
29
+ mappingMode: string;
30
+ value: null;
31
+ };
32
+ required: boolean;
33
+ displayOptions: {
34
+ show: {
35
+ resource: string[];
36
+ operation: string[];
37
+ };
38
+ };
39
+ typeOptions: {
40
+ loadOptionsDependsOn: string[];
41
+ refreshOn: string[];
42
+ resourceMapper: {
43
+ resourceMapperMethod: string;
44
+ mode: string;
45
+ addAllFields: boolean;
46
+ fieldWords: {
47
+ singular: string;
48
+ plural: string;
49
+ };
50
+ };
51
+ multipleValues?: undefined;
52
+ loadOptionsMethod?: undefined;
53
+ };
54
+ noDataExpression?: undefined;
55
+ options?: undefined;
56
+ description?: undefined;
57
+ placeholder?: undefined;
58
+ } | {
59
+ displayName: string;
60
+ name: string;
61
+ type: string;
62
+ required: boolean;
63
+ displayOptions: {
64
+ show: {
65
+ resource: string[];
66
+ operation: string[];
67
+ };
68
+ };
69
+ default: string;
70
+ description: string;
71
+ noDataExpression?: undefined;
72
+ options?: undefined;
73
+ typeOptions?: undefined;
74
+ placeholder?: undefined;
75
+ } | {
76
+ displayName: string;
77
+ name: string;
78
+ type: string;
79
+ placeholder: string;
80
+ typeOptions: {
81
+ multipleValues: boolean;
82
+ loadOptionsDependsOn: string[];
83
+ refreshOn: string[];
84
+ resourceMapper?: undefined;
85
+ loadOptionsMethod?: undefined;
86
+ };
87
+ default: {
88
+ mappingMode?: undefined;
89
+ value?: undefined;
90
+ };
91
+ displayOptions: {
92
+ show: {
93
+ resource: string[];
94
+ operation: string[];
95
+ };
96
+ };
97
+ options: {
98
+ name: string;
99
+ displayName: string;
100
+ values: ({
101
+ displayName: string;
102
+ name: string;
103
+ type: string;
104
+ typeOptions: {
105
+ loadOptionsMethod: string;
106
+ loadOptionsDependsOn: string[];
107
+ refreshOn: string[];
108
+ };
109
+ default: string;
110
+ options?: undefined;
111
+ } | {
112
+ displayName: string;
113
+ name: string;
114
+ type: string;
115
+ options: {
116
+ name: string;
117
+ value: string;
118
+ }[];
119
+ default: string;
120
+ typeOptions?: undefined;
121
+ } | {
122
+ displayName: string;
123
+ name: string;
124
+ type: string;
125
+ default: string;
126
+ typeOptions?: undefined;
127
+ options?: undefined;
128
+ })[];
129
+ }[];
130
+ noDataExpression?: undefined;
131
+ required?: undefined;
132
+ description?: undefined;
133
+ } | {
134
+ displayName: string;
135
+ name: string;
136
+ type: string;
137
+ default: never[];
138
+ description: string;
139
+ typeOptions: {
140
+ loadOptionsMethod: string;
141
+ loadOptionsDependsOn: string[];
142
+ refreshOn: string[];
143
+ resourceMapper?: undefined;
144
+ multipleValues?: undefined;
145
+ };
146
+ displayOptions: {
147
+ show: {
148
+ resource: string[];
149
+ operation: string[];
150
+ };
151
+ };
152
+ noDataExpression?: undefined;
153
+ options?: undefined;
154
+ required?: undefined;
155
+ placeholder?: undefined;
156
+ })[];
157
+ process: (params: any, i: number, getNodeParameter: (parameterName: string, itemIndex: number, fallbackValue?: any) => string | number | boolean | object) => any;
158
+ };