n8n-nodes-segment 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.
- package/LICENSE +46 -0
- package/README.md +419 -0
- package/dist/credentials/SegmentApi.credentials.d.ts +10 -0
- package/dist/credentials/SegmentApi.credentials.d.ts.map +1 -0
- package/dist/credentials/SegmentApi.credentials.js +88 -0
- package/dist/credentials/SegmentApi.credentials.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +26 -0
- package/dist/index.js.map +1 -0
- package/dist/nodes/Segment/Segment.node.d.ts +6 -0
- package/dist/nodes/Segment/Segment.node.d.ts.map +1 -0
- package/dist/nodes/Segment/Segment.node.js +283 -0
- package/dist/nodes/Segment/Segment.node.js.map +1 -0
- package/dist/nodes/Segment/SegmentTrigger.node.d.ts +6 -0
- package/dist/nodes/Segment/SegmentTrigger.node.d.ts.map +1 -0
- package/dist/nodes/Segment/SegmentTrigger.node.js +257 -0
- package/dist/nodes/Segment/SegmentTrigger.node.js.map +1 -0
- package/dist/nodes/Segment/actions/audiences/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/audiences/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/audiences/index.js +304 -0
- package/dist/nodes/Segment/actions/audiences/index.js.map +1 -0
- package/dist/nodes/Segment/actions/auditTrail/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/auditTrail/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/auditTrail/index.js +192 -0
- package/dist/nodes/Segment/actions/auditTrail/index.js.map +1 -0
- package/dist/nodes/Segment/actions/catalog/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/catalog/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/catalog/index.js +144 -0
- package/dist/nodes/Segment/actions/catalog/index.js.map +1 -0
- package/dist/nodes/Segment/actions/computedTraits/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/computedTraits/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/computedTraits/index.js +257 -0
- package/dist/nodes/Segment/actions/computedTraits/index.js.map +1 -0
- package/dist/nodes/Segment/actions/destinations/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/destinations/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/destinations/index.js +297 -0
- package/dist/nodes/Segment/actions/destinations/index.js.map +1 -0
- package/dist/nodes/Segment/actions/functions/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/functions/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/functions/index.js +389 -0
- package/dist/nodes/Segment/actions/functions/index.js.map +1 -0
- package/dist/nodes/Segment/actions/labels/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/labels/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/labels/index.js +221 -0
- package/dist/nodes/Segment/actions/labels/index.js.map +1 -0
- package/dist/nodes/Segment/actions/regulations/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/regulations/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/regulations/index.js +322 -0
- package/dist/nodes/Segment/actions/regulations/index.js.map +1 -0
- package/dist/nodes/Segment/actions/sources/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/sources/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/sources/index.js +371 -0
- package/dist/nodes/Segment/actions/sources/index.js.map +1 -0
- package/dist/nodes/Segment/actions/spaces/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/spaces/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/spaces/index.js +328 -0
- package/dist/nodes/Segment/actions/spaces/index.js.map +1 -0
- package/dist/nodes/Segment/actions/track/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/track/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/track/index.js +499 -0
- package/dist/nodes/Segment/actions/track/index.js.map +1 -0
- package/dist/nodes/Segment/actions/trackingPlans/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/trackingPlans/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/trackingPlans/index.js +340 -0
- package/dist/nodes/Segment/actions/trackingPlans/index.js.map +1 -0
- package/dist/nodes/Segment/actions/transformations/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/transformations/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/transformations/index.js +280 -0
- package/dist/nodes/Segment/actions/transformations/index.js.map +1 -0
- package/dist/nodes/Segment/actions/users/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/users/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/users/index.js +233 -0
- package/dist/nodes/Segment/actions/users/index.js.map +1 -0
- package/dist/nodes/Segment/actions/warehouses/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/warehouses/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/warehouses/index.js +313 -0
- package/dist/nodes/Segment/actions/warehouses/index.js.map +1 -0
- package/dist/nodes/Segment/actions/workspace/index.d.ts +5 -0
- package/dist/nodes/Segment/actions/workspace/index.d.ts.map +1 -0
- package/dist/nodes/Segment/actions/workspace/index.js +100 -0
- package/dist/nodes/Segment/actions/workspace/index.js.map +1 -0
- package/dist/nodes/Segment/constants/index.d.ts +23 -0
- package/dist/nodes/Segment/constants/index.d.ts.map +1 -0
- package/dist/nodes/Segment/constants/index.js +720 -0
- package/dist/nodes/Segment/constants/index.js.map +1 -0
- package/dist/nodes/Segment/segment.svg +6 -0
- package/dist/nodes/Segment/transport/index.d.ts +35 -0
- package/dist/nodes/Segment/transport/index.d.ts.map +1 -0
- package/dist/nodes/Segment/transport/index.js +127 -0
- package/dist/nodes/Segment/transport/index.js.map +1 -0
- package/dist/nodes/Segment/utils/index.d.ts +67 -0
- package/dist/nodes/Segment/utils/index.d.ts.map +1 -0
- package/dist/nodes/Segment/utils/index.js +216 -0
- package/dist/nodes/Segment/utils/index.js.map +1 -0
- package/package.json +73 -0
|
@@ -0,0 +1,720 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright (c) Velocity BPA, LLC
|
|
4
|
+
* Licensed under the Business Source License 1.1
|
|
5
|
+
* Commercial use requires a separate commercial license.
|
|
6
|
+
* See LICENSE file for details.
|
|
7
|
+
*/
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.SUBJECT_TYPES = exports.REGULATION_TYPES = exports.FUNCTION_TYPES = exports.WORKSPACE_OPERATIONS = exports.AUDIT_TRAIL_OPERATIONS = exports.LABEL_OPERATIONS = exports.AUDIENCE_OPERATIONS = exports.COMPUTED_TRAIT_OPERATIONS = exports.TRANSFORMATION_OPERATIONS = exports.CATALOG_OPERATIONS = exports.REGULATION_OPERATIONS = exports.USER_OPERATIONS = exports.SPACE_OPERATIONS = exports.FUNCTION_OPERATIONS = exports.TRACKING_PLAN_OPERATIONS = exports.WAREHOUSE_OPERATIONS = exports.DESTINATION_OPERATIONS = exports.SOURCE_OPERATIONS = exports.TRACK_OPERATIONS = exports.RESOURCES = exports.SEGMENT_REGIONS = void 0;
|
|
10
|
+
exports.SEGMENT_REGIONS = [
|
|
11
|
+
{
|
|
12
|
+
name: 'United States',
|
|
13
|
+
value: 'us',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: 'European Union',
|
|
17
|
+
value: 'eu',
|
|
18
|
+
},
|
|
19
|
+
];
|
|
20
|
+
exports.RESOURCES = [
|
|
21
|
+
{
|
|
22
|
+
name: 'Audit Trail',
|
|
23
|
+
value: 'auditTrail',
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
name: 'Audience',
|
|
27
|
+
value: 'audiences',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
name: 'Catalog',
|
|
31
|
+
value: 'catalog',
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
name: 'Computed Trait',
|
|
35
|
+
value: 'computedTraits',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'Destination',
|
|
39
|
+
value: 'destinations',
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: 'Function',
|
|
43
|
+
value: 'functions',
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Label',
|
|
47
|
+
value: 'labels',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
name: 'Regulation (Privacy)',
|
|
51
|
+
value: 'regulations',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'Source',
|
|
55
|
+
value: 'sources',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'Space (Personas)',
|
|
59
|
+
value: 'spaces',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'Track (Events)',
|
|
63
|
+
value: 'track',
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'Tracking Plan',
|
|
67
|
+
value: 'trackingPlans',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'Transformation',
|
|
71
|
+
value: 'transformations',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'User (IAM)',
|
|
75
|
+
value: 'users',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'Warehouse',
|
|
79
|
+
value: 'warehouses',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'Workspace',
|
|
83
|
+
value: 'workspace',
|
|
84
|
+
},
|
|
85
|
+
];
|
|
86
|
+
exports.TRACK_OPERATIONS = [
|
|
87
|
+
{
|
|
88
|
+
name: 'Alias',
|
|
89
|
+
value: 'alias',
|
|
90
|
+
description: 'Merge two user identities',
|
|
91
|
+
action: 'Alias two user identities',
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
name: 'Batch',
|
|
95
|
+
value: 'batch',
|
|
96
|
+
description: 'Send a batch of events (up to 500KB)',
|
|
97
|
+
action: 'Send batch of events',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
name: 'Group',
|
|
101
|
+
value: 'group',
|
|
102
|
+
description: 'Associate a user with a group',
|
|
103
|
+
action: 'Associate user with group',
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
name: 'Identify',
|
|
107
|
+
value: 'identify',
|
|
108
|
+
description: 'Identify a user with traits',
|
|
109
|
+
action: 'Identify a user',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: 'Page',
|
|
113
|
+
value: 'page',
|
|
114
|
+
description: 'Track a page view',
|
|
115
|
+
action: 'Track page view',
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
name: 'Screen',
|
|
119
|
+
value: 'screen',
|
|
120
|
+
description: 'Track a screen view (mobile)',
|
|
121
|
+
action: 'Track screen view',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: 'Track',
|
|
125
|
+
value: 'track',
|
|
126
|
+
description: 'Track a user action or event',
|
|
127
|
+
action: 'Track an event',
|
|
128
|
+
},
|
|
129
|
+
];
|
|
130
|
+
exports.SOURCE_OPERATIONS = [
|
|
131
|
+
{
|
|
132
|
+
name: 'Create',
|
|
133
|
+
value: 'create',
|
|
134
|
+
description: 'Create a new source',
|
|
135
|
+
action: 'Create a source',
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
name: 'Delete',
|
|
139
|
+
value: 'delete',
|
|
140
|
+
description: 'Delete a source',
|
|
141
|
+
action: 'Delete a source',
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: 'Get',
|
|
145
|
+
value: 'get',
|
|
146
|
+
description: 'Get a source by ID',
|
|
147
|
+
action: 'Get a source',
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'Get Many',
|
|
151
|
+
value: 'getAll',
|
|
152
|
+
description: 'List all sources',
|
|
153
|
+
action: 'List all sources',
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: 'Get Connected Destinations',
|
|
157
|
+
value: 'getConnectedDestinations',
|
|
158
|
+
description: 'Get destinations connected to a source',
|
|
159
|
+
action: 'Get connected destinations',
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: 'Get Schema',
|
|
163
|
+
value: 'getSchema',
|
|
164
|
+
description: 'Get source schema',
|
|
165
|
+
action: 'Get source schema',
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: 'Update',
|
|
169
|
+
value: 'update',
|
|
170
|
+
description: 'Update source settings',
|
|
171
|
+
action: 'Update a source',
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: 'Update Schema',
|
|
175
|
+
value: 'updateSchema',
|
|
176
|
+
description: 'Update source schema settings',
|
|
177
|
+
action: 'Update source schema',
|
|
178
|
+
},
|
|
179
|
+
];
|
|
180
|
+
exports.DESTINATION_OPERATIONS = [
|
|
181
|
+
{
|
|
182
|
+
name: 'Create',
|
|
183
|
+
value: 'create',
|
|
184
|
+
description: 'Create a new destination',
|
|
185
|
+
action: 'Create a destination',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: 'Delete',
|
|
189
|
+
value: 'delete',
|
|
190
|
+
description: 'Delete a destination',
|
|
191
|
+
action: 'Delete a destination',
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: 'Get',
|
|
195
|
+
value: 'get',
|
|
196
|
+
description: 'Get a destination by ID',
|
|
197
|
+
action: 'Get a destination',
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
name: 'Get Many',
|
|
201
|
+
value: 'getAll',
|
|
202
|
+
description: 'List all destinations',
|
|
203
|
+
action: 'List all destinations',
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
name: 'Get Subscriptions',
|
|
207
|
+
value: 'getSubscriptions',
|
|
208
|
+
description: 'Get event subscriptions for a destination',
|
|
209
|
+
action: 'Get destination subscriptions',
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
name: 'Update',
|
|
213
|
+
value: 'update',
|
|
214
|
+
description: 'Update destination settings',
|
|
215
|
+
action: 'Update a destination',
|
|
216
|
+
},
|
|
217
|
+
];
|
|
218
|
+
exports.WAREHOUSE_OPERATIONS = [
|
|
219
|
+
{
|
|
220
|
+
name: 'Add Source',
|
|
221
|
+
value: 'addSource',
|
|
222
|
+
description: 'Connect a source to a warehouse',
|
|
223
|
+
action: 'Add source to warehouse',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: 'Create',
|
|
227
|
+
value: 'create',
|
|
228
|
+
description: 'Create a new warehouse connection',
|
|
229
|
+
action: 'Create a warehouse',
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: 'Delete',
|
|
233
|
+
value: 'delete',
|
|
234
|
+
description: 'Delete a warehouse',
|
|
235
|
+
action: 'Delete a warehouse',
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: 'Get',
|
|
239
|
+
value: 'get',
|
|
240
|
+
description: 'Get a warehouse by ID',
|
|
241
|
+
action: 'Get a warehouse',
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: 'Get Connection State',
|
|
245
|
+
value: 'getConnectionState',
|
|
246
|
+
description: 'Get warehouse connection status',
|
|
247
|
+
action: 'Get warehouse connection state',
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
name: 'Get Many',
|
|
251
|
+
value: 'getAll',
|
|
252
|
+
description: 'List all warehouses',
|
|
253
|
+
action: 'List all warehouses',
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: 'Remove Source',
|
|
257
|
+
value: 'removeSource',
|
|
258
|
+
description: 'Disconnect a source from a warehouse',
|
|
259
|
+
action: 'Remove source from warehouse',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
name: 'Update',
|
|
263
|
+
value: 'update',
|
|
264
|
+
description: 'Update warehouse settings',
|
|
265
|
+
action: 'Update a warehouse',
|
|
266
|
+
},
|
|
267
|
+
];
|
|
268
|
+
exports.TRACKING_PLAN_OPERATIONS = [
|
|
269
|
+
{
|
|
270
|
+
name: 'Connect Source',
|
|
271
|
+
value: 'connectSource',
|
|
272
|
+
description: 'Connect a source to a tracking plan',
|
|
273
|
+
action: 'Connect source to tracking plan',
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
name: 'Create',
|
|
277
|
+
value: 'create',
|
|
278
|
+
description: 'Create a new tracking plan',
|
|
279
|
+
action: 'Create a tracking plan',
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: 'Delete',
|
|
283
|
+
value: 'delete',
|
|
284
|
+
description: 'Delete a tracking plan',
|
|
285
|
+
action: 'Delete a tracking plan',
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
name: 'Disconnect Source',
|
|
289
|
+
value: 'disconnectSource',
|
|
290
|
+
description: 'Disconnect a source from a tracking plan',
|
|
291
|
+
action: 'Disconnect source from tracking plan',
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
name: 'Get',
|
|
295
|
+
value: 'get',
|
|
296
|
+
description: 'Get a tracking plan by ID',
|
|
297
|
+
action: 'Get a tracking plan',
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
name: 'Get Many',
|
|
301
|
+
value: 'getAll',
|
|
302
|
+
description: 'List all tracking plans',
|
|
303
|
+
action: 'List all tracking plans',
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
name: 'Get Rules',
|
|
307
|
+
value: 'getRules',
|
|
308
|
+
description: 'Get tracking plan rules/schema',
|
|
309
|
+
action: 'Get tracking plan rules',
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
name: 'Update',
|
|
313
|
+
value: 'update',
|
|
314
|
+
description: 'Update tracking plan',
|
|
315
|
+
action: 'Update a tracking plan',
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
name: 'Update Rules',
|
|
319
|
+
value: 'updateRules',
|
|
320
|
+
description: 'Update tracking plan rules',
|
|
321
|
+
action: 'Update tracking plan rules',
|
|
322
|
+
},
|
|
323
|
+
];
|
|
324
|
+
exports.FUNCTION_OPERATIONS = [
|
|
325
|
+
{
|
|
326
|
+
name: 'Create',
|
|
327
|
+
value: 'create',
|
|
328
|
+
description: 'Create a source or destination function',
|
|
329
|
+
action: 'Create a function',
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
name: 'Delete',
|
|
333
|
+
value: 'delete',
|
|
334
|
+
description: 'Delete a function',
|
|
335
|
+
action: 'Delete a function',
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
name: 'Deploy',
|
|
339
|
+
value: 'deploy',
|
|
340
|
+
description: 'Deploy a function',
|
|
341
|
+
action: 'Deploy a function',
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
name: 'Get',
|
|
345
|
+
value: 'get',
|
|
346
|
+
description: 'Get a function by ID',
|
|
347
|
+
action: 'Get a function',
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
name: 'Get Logs',
|
|
351
|
+
value: 'getLogs',
|
|
352
|
+
description: 'Get function execution logs',
|
|
353
|
+
action: 'Get function logs',
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
name: 'Get Many',
|
|
357
|
+
value: 'getAll',
|
|
358
|
+
description: 'List all functions',
|
|
359
|
+
action: 'List all functions',
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
name: 'Update',
|
|
363
|
+
value: 'update',
|
|
364
|
+
description: 'Update function code',
|
|
365
|
+
action: 'Update a function',
|
|
366
|
+
},
|
|
367
|
+
];
|
|
368
|
+
exports.SPACE_OPERATIONS = [
|
|
369
|
+
{
|
|
370
|
+
name: 'Create Audience',
|
|
371
|
+
value: 'createAudience',
|
|
372
|
+
description: 'Create an audience in a space',
|
|
373
|
+
action: 'Create audience in space',
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
name: 'Delete Audience',
|
|
377
|
+
value: 'deleteAudience',
|
|
378
|
+
description: 'Delete an audience from a space',
|
|
379
|
+
action: 'Delete audience from space',
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
name: 'Get',
|
|
383
|
+
value: 'get',
|
|
384
|
+
description: 'Get a space by ID',
|
|
385
|
+
action: 'Get a space',
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
name: 'Get Audiences',
|
|
389
|
+
value: 'getAudiences',
|
|
390
|
+
description: 'Get audiences in a space',
|
|
391
|
+
action: 'Get space audiences',
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
name: 'Get Many',
|
|
395
|
+
value: 'getAll',
|
|
396
|
+
description: 'List all Personas spaces',
|
|
397
|
+
action: 'List all spaces',
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
name: 'Get Traits',
|
|
401
|
+
value: 'getTraits',
|
|
402
|
+
description: 'Get computed traits in a space',
|
|
403
|
+
action: 'Get space traits',
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
name: 'Update Audience',
|
|
407
|
+
value: 'updateAudience',
|
|
408
|
+
description: 'Update an audience in a space',
|
|
409
|
+
action: 'Update audience in space',
|
|
410
|
+
},
|
|
411
|
+
];
|
|
412
|
+
exports.USER_OPERATIONS = [
|
|
413
|
+
{
|
|
414
|
+
name: 'Delete',
|
|
415
|
+
value: 'delete',
|
|
416
|
+
description: 'Remove user from workspace',
|
|
417
|
+
action: 'Delete a user',
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
name: 'Get',
|
|
421
|
+
value: 'get',
|
|
422
|
+
description: 'Get a user by ID',
|
|
423
|
+
action: 'Get a user',
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
name: 'Get Many',
|
|
427
|
+
value: 'getAll',
|
|
428
|
+
description: 'List all workspace users',
|
|
429
|
+
action: 'List all users',
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
name: 'Get Permissions',
|
|
433
|
+
value: 'getPermissions',
|
|
434
|
+
description: 'Get user permissions',
|
|
435
|
+
action: 'Get user permissions',
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
name: 'Invite',
|
|
439
|
+
value: 'invite',
|
|
440
|
+
description: 'Invite a user to the workspace',
|
|
441
|
+
action: 'Invite a user',
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
name: 'List Groups',
|
|
445
|
+
value: 'listGroups',
|
|
446
|
+
description: 'List user groups',
|
|
447
|
+
action: 'List user groups',
|
|
448
|
+
},
|
|
449
|
+
];
|
|
450
|
+
exports.REGULATION_OPERATIONS = [
|
|
451
|
+
{
|
|
452
|
+
name: 'Create Deletion Request',
|
|
453
|
+
value: 'createDeletion',
|
|
454
|
+
description: 'Create a user deletion request (GDPR)',
|
|
455
|
+
action: 'Create deletion request',
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
name: 'Create Suppression',
|
|
459
|
+
value: 'createSuppression',
|
|
460
|
+
description: 'Create a user suppression request',
|
|
461
|
+
action: 'Create suppression request',
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
name: 'Get Deletion Request',
|
|
465
|
+
value: 'getDeletion',
|
|
466
|
+
description: 'Get deletion request status',
|
|
467
|
+
action: 'Get deletion request',
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
name: 'List Deletion Requests',
|
|
471
|
+
value: 'listDeletions',
|
|
472
|
+
description: 'List all deletion requests',
|
|
473
|
+
action: 'List deletion requests',
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
name: 'List Suppressions',
|
|
477
|
+
value: 'listSuppressions',
|
|
478
|
+
description: 'List all suppressions',
|
|
479
|
+
action: 'List suppressions',
|
|
480
|
+
},
|
|
481
|
+
];
|
|
482
|
+
exports.CATALOG_OPERATIONS = [
|
|
483
|
+
{
|
|
484
|
+
name: 'Get Destination',
|
|
485
|
+
value: 'getDestination',
|
|
486
|
+
description: 'Get destination type details from catalog',
|
|
487
|
+
action: 'Get catalog destination',
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
name: 'Get Source',
|
|
491
|
+
value: 'getSource',
|
|
492
|
+
description: 'Get source type details from catalog',
|
|
493
|
+
action: 'Get catalog source',
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
name: 'List Destinations',
|
|
497
|
+
value: 'listDestinations',
|
|
498
|
+
description: 'List available destination types',
|
|
499
|
+
action: 'List catalog destinations',
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
name: 'List Sources',
|
|
503
|
+
value: 'listSources',
|
|
504
|
+
description: 'List available source types',
|
|
505
|
+
action: 'List catalog sources',
|
|
506
|
+
},
|
|
507
|
+
];
|
|
508
|
+
exports.TRANSFORMATION_OPERATIONS = [
|
|
509
|
+
{
|
|
510
|
+
name: 'Create',
|
|
511
|
+
value: 'create',
|
|
512
|
+
description: 'Create a transformation',
|
|
513
|
+
action: 'Create a transformation',
|
|
514
|
+
},
|
|
515
|
+
{
|
|
516
|
+
name: 'Delete',
|
|
517
|
+
value: 'delete',
|
|
518
|
+
description: 'Delete a transformation',
|
|
519
|
+
action: 'Delete a transformation',
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
name: 'Get',
|
|
523
|
+
value: 'get',
|
|
524
|
+
description: 'Get a transformation by ID',
|
|
525
|
+
action: 'Get a transformation',
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
name: 'Get Many',
|
|
529
|
+
value: 'getAll',
|
|
530
|
+
description: 'List all transformations',
|
|
531
|
+
action: 'List all transformations',
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
name: 'Update',
|
|
535
|
+
value: 'update',
|
|
536
|
+
description: 'Update a transformation',
|
|
537
|
+
action: 'Update a transformation',
|
|
538
|
+
},
|
|
539
|
+
];
|
|
540
|
+
exports.COMPUTED_TRAIT_OPERATIONS = [
|
|
541
|
+
{
|
|
542
|
+
name: 'Create',
|
|
543
|
+
value: 'create',
|
|
544
|
+
description: 'Create a computed trait',
|
|
545
|
+
action: 'Create a computed trait',
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
name: 'Delete',
|
|
549
|
+
value: 'delete',
|
|
550
|
+
description: 'Delete a computed trait',
|
|
551
|
+
action: 'Delete a computed trait',
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
name: 'Get',
|
|
555
|
+
value: 'get',
|
|
556
|
+
description: 'Get a computed trait by ID',
|
|
557
|
+
action: 'Get a computed trait',
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
name: 'Get Many',
|
|
561
|
+
value: 'getAll',
|
|
562
|
+
description: 'List all computed traits',
|
|
563
|
+
action: 'List all computed traits',
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
name: 'Update',
|
|
567
|
+
value: 'update',
|
|
568
|
+
description: 'Update a computed trait',
|
|
569
|
+
action: 'Update a computed trait',
|
|
570
|
+
},
|
|
571
|
+
];
|
|
572
|
+
exports.AUDIENCE_OPERATIONS = [
|
|
573
|
+
{
|
|
574
|
+
name: 'Create',
|
|
575
|
+
value: 'create',
|
|
576
|
+
description: 'Create an audience',
|
|
577
|
+
action: 'Create an audience',
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
name: 'Delete',
|
|
581
|
+
value: 'delete',
|
|
582
|
+
description: 'Delete an audience',
|
|
583
|
+
action: 'Delete an audience',
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
name: 'Get',
|
|
587
|
+
value: 'get',
|
|
588
|
+
description: 'Get an audience by ID',
|
|
589
|
+
action: 'Get an audience',
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
name: 'Get Many',
|
|
593
|
+
value: 'getAll',
|
|
594
|
+
description: 'List all audiences',
|
|
595
|
+
action: 'List all audiences',
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
name: 'Get Preview',
|
|
599
|
+
value: 'getPreview',
|
|
600
|
+
description: 'Preview audience members',
|
|
601
|
+
action: 'Preview audience',
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
name: 'Update',
|
|
605
|
+
value: 'update',
|
|
606
|
+
description: 'Update an audience',
|
|
607
|
+
action: 'Update an audience',
|
|
608
|
+
},
|
|
609
|
+
];
|
|
610
|
+
exports.LABEL_OPERATIONS = [
|
|
611
|
+
{
|
|
612
|
+
name: 'Add to Source',
|
|
613
|
+
value: 'addToSource',
|
|
614
|
+
description: 'Add a label to a source',
|
|
615
|
+
action: 'Add label to source',
|
|
616
|
+
},
|
|
617
|
+
{
|
|
618
|
+
name: 'Create',
|
|
619
|
+
value: 'create',
|
|
620
|
+
description: 'Create a label',
|
|
621
|
+
action: 'Create a label',
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
name: 'Delete',
|
|
625
|
+
value: 'delete',
|
|
626
|
+
description: 'Delete a label',
|
|
627
|
+
action: 'Delete a label',
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
name: 'Get Many',
|
|
631
|
+
value: 'getAll',
|
|
632
|
+
description: 'List all labels',
|
|
633
|
+
action: 'List all labels',
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
name: 'Remove from Source',
|
|
637
|
+
value: 'removeFromSource',
|
|
638
|
+
description: 'Remove a label from a source',
|
|
639
|
+
action: 'Remove label from source',
|
|
640
|
+
},
|
|
641
|
+
];
|
|
642
|
+
exports.AUDIT_TRAIL_OPERATIONS = [
|
|
643
|
+
{
|
|
644
|
+
name: 'Get',
|
|
645
|
+
value: 'get',
|
|
646
|
+
description: 'Get an audit event by ID',
|
|
647
|
+
action: 'Get audit event',
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
name: 'Get Many',
|
|
651
|
+
value: 'getAll',
|
|
652
|
+
description: 'List all audit events',
|
|
653
|
+
action: 'List audit events',
|
|
654
|
+
},
|
|
655
|
+
];
|
|
656
|
+
exports.WORKSPACE_OPERATIONS = [
|
|
657
|
+
{
|
|
658
|
+
name: 'Get',
|
|
659
|
+
value: 'get',
|
|
660
|
+
description: 'Get workspace information',
|
|
661
|
+
action: 'Get workspace',
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
name: 'Get Many',
|
|
665
|
+
value: 'getAll',
|
|
666
|
+
description: 'List accessible workspaces',
|
|
667
|
+
action: 'List workspaces',
|
|
668
|
+
},
|
|
669
|
+
];
|
|
670
|
+
exports.FUNCTION_TYPES = [
|
|
671
|
+
{
|
|
672
|
+
name: 'Source Function',
|
|
673
|
+
value: 'SOURCE',
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
name: 'Destination Function',
|
|
677
|
+
value: 'DESTINATION',
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
name: 'Insert Function',
|
|
681
|
+
value: 'INSERT_DESTINATION',
|
|
682
|
+
},
|
|
683
|
+
];
|
|
684
|
+
exports.REGULATION_TYPES = [
|
|
685
|
+
{
|
|
686
|
+
name: 'Delete Only',
|
|
687
|
+
value: 'DELETE_ONLY',
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
name: 'Suppress Only',
|
|
691
|
+
value: 'SUPPRESS_ONLY',
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
name: 'Suppress and Delete',
|
|
695
|
+
value: 'SUPPRESS_AND_DELETE',
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
name: 'Unsuppress',
|
|
699
|
+
value: 'UNSUPPRESS',
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
name: 'Delete Internal',
|
|
703
|
+
value: 'DELETE_INTERNAL',
|
|
704
|
+
},
|
|
705
|
+
];
|
|
706
|
+
exports.SUBJECT_TYPES = [
|
|
707
|
+
{
|
|
708
|
+
name: 'User ID',
|
|
709
|
+
value: 'USER_ID',
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
name: 'Anonymous ID',
|
|
713
|
+
value: 'ANONYMOUS_ID',
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
name: 'Object ID',
|
|
717
|
+
value: 'OBJECT_ID',
|
|
718
|
+
},
|
|
719
|
+
];
|
|
720
|
+
//# sourceMappingURL=index.js.map
|