@boxyhq/saml-jackson 1.37.0 → 1.38.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/dist/controller/api.d.ts +521 -474
- package/dist/controller/api.js +521 -474
- package/dist/controller/api.js.map +1 -1
- package/dist/controller/oauth.d.ts +88 -87
- package/dist/controller/oauth.js +146 -101
- package/dist/controller/oauth.js.map +1 -1
- package/dist/controller/setup-link.d.ts +343 -234
- package/dist/controller/setup-link.js +343 -234
- package/dist/controller/setup-link.js.map +1 -1
- package/dist/directory-sync/non-scim/google/api.js +1 -1
- package/dist/directory-sync/non-scim/google/api.js.map +1 -1
- package/dist/directory-sync/scim/DirectoryConfig.d.ts +259 -225
- package/dist/directory-sync/scim/DirectoryConfig.js +261 -227
- package/dist/directory-sync/scim/DirectoryConfig.js.map +1 -1
- package/dist/directory-sync/scim/Groups.d.ts +82 -87
- package/dist/directory-sync/scim/Groups.js +82 -87
- package/dist/directory-sync/scim/Groups.js.map +1 -1
- package/dist/directory-sync/scim/Users.d.ts +63 -49
- package/dist/directory-sync/scim/Users.js +63 -49
- package/dist/directory-sync/scim/Users.js.map +1 -1
- package/dist/directory-sync/scim/WebhookEventsLogger.d.ts +52 -61
- package/dist/directory-sync/scim/WebhookEventsLogger.js +52 -61
- package/dist/directory-sync/scim/WebhookEventsLogger.js.map +1 -1
- package/dist/directory-sync/types.d.ts +0 -1
- package/dist/ee/identity-federation/app.d.ts +292 -212
- package/dist/ee/identity-federation/app.js +292 -212
- package/dist/ee/identity-federation/app.js.map +1 -1
- package/dist/ee/identity-federation/idp-login.js +1 -1
- package/dist/ee/identity-federation/idp-login.js.map +1 -1
- package/dist/sso-traces/index.d.ts +67 -66
- package/dist/sso-traces/index.js +67 -66
- package/dist/sso-traces/index.js.map +1 -1
- package/dist/sso-traces/types.d.ts +1 -0
- package/package.json +10 -10
@@ -49,55 +49,6 @@ const utils_1 = require("../../controller/utils");
|
|
49
49
|
const error_1 = require("../../controller/error");
|
50
50
|
const utils_2 = require("./utils");
|
51
51
|
const metrics = __importStar(require("../../opentelemetry/metrics"));
|
52
|
-
/**
|
53
|
-
* @swagger
|
54
|
-
* definitions:
|
55
|
-
* Directory:
|
56
|
-
* type: object
|
57
|
-
* properties:
|
58
|
-
* id:
|
59
|
-
* type: string
|
60
|
-
* description: Directory ID
|
61
|
-
* name:
|
62
|
-
* type: string
|
63
|
-
* description: name
|
64
|
-
* tenant:
|
65
|
-
* type: string
|
66
|
-
* description: Tenant
|
67
|
-
* product:
|
68
|
-
* type: string
|
69
|
-
* description: Product
|
70
|
-
* type:
|
71
|
-
* type: string
|
72
|
-
* description: Directory provider
|
73
|
-
* deactivated:
|
74
|
-
* type: boolean
|
75
|
-
* description: Status
|
76
|
-
* log_webhook_events:
|
77
|
-
* type: boolean
|
78
|
-
* description: If true, webhook requests will be logged
|
79
|
-
* scim:
|
80
|
-
* type: object
|
81
|
-
* properties:
|
82
|
-
* path:
|
83
|
-
* type: string
|
84
|
-
* description: SCIM path
|
85
|
-
* endpoint:
|
86
|
-
* type: string
|
87
|
-
* description: SCIM url
|
88
|
-
* secret:
|
89
|
-
* type: string
|
90
|
-
* description: SCIM secret
|
91
|
-
* webhook:
|
92
|
-
* type: object
|
93
|
-
* properties:
|
94
|
-
* endpoint:
|
95
|
-
* type: string
|
96
|
-
* description: Webhook url
|
97
|
-
* secret:
|
98
|
-
* type: string
|
99
|
-
* description: Webhook secret
|
100
|
-
*/
|
101
52
|
class DirectoryConfig {
|
102
53
|
constructor({ db, opts, users, groups, logger, eventController }) {
|
103
54
|
this._store = null;
|
@@ -113,98 +64,166 @@ class DirectoryConfig {
|
|
113
64
|
return this._store || (this._store = this.db.store(utils_1.storeNamespacePrefix.dsync.config));
|
114
65
|
}
|
115
66
|
/**
|
116
|
-
* @
|
117
|
-
*
|
118
|
-
*
|
119
|
-
*
|
120
|
-
*
|
121
|
-
*
|
122
|
-
*
|
123
|
-
*
|
124
|
-
*
|
125
|
-
*
|
126
|
-
*
|
127
|
-
*
|
128
|
-
*
|
129
|
-
*
|
130
|
-
*
|
131
|
-
*
|
132
|
-
*
|
133
|
-
*
|
134
|
-
*
|
135
|
-
*
|
136
|
-
*
|
137
|
-
*
|
138
|
-
*
|
139
|
-
*
|
140
|
-
*
|
141
|
-
*
|
142
|
-
*
|
143
|
-
*
|
144
|
-
*
|
145
|
-
*
|
146
|
-
*
|
147
|
-
*
|
148
|
-
*
|
149
|
-
*
|
150
|
-
*
|
151
|
-
*
|
152
|
-
*
|
153
|
-
*
|
154
|
-
|
155
|
-
|
156
|
-
*
|
157
|
-
*
|
158
|
-
*
|
159
|
-
*
|
160
|
-
*
|
161
|
-
*
|
162
|
-
*
|
163
|
-
*
|
164
|
-
*
|
67
|
+
* @openapi
|
68
|
+
* components:
|
69
|
+
* schemas:
|
70
|
+
* Directory:
|
71
|
+
* type: object
|
72
|
+
* properties:
|
73
|
+
* id:
|
74
|
+
* type: string
|
75
|
+
* description: Directory ID
|
76
|
+
* name:
|
77
|
+
* type: string
|
78
|
+
* description: name
|
79
|
+
* tenant:
|
80
|
+
* type: string
|
81
|
+
* description: Tenant
|
82
|
+
* product:
|
83
|
+
* type: string
|
84
|
+
* description: Product
|
85
|
+
* type:
|
86
|
+
* type: string
|
87
|
+
* description: Directory provider
|
88
|
+
* deactivated:
|
89
|
+
* type: boolean
|
90
|
+
* description: Status
|
91
|
+
* log_webhook_events:
|
92
|
+
* type: boolean
|
93
|
+
* description: If true, webhook requests will be logged
|
94
|
+
* scim:
|
95
|
+
* type: object
|
96
|
+
* properties:
|
97
|
+
* path:
|
98
|
+
* type: string
|
99
|
+
* description: SCIM path
|
100
|
+
* endpoint:
|
101
|
+
* type: string
|
102
|
+
* description: SCIM url
|
103
|
+
* secret:
|
104
|
+
* type: string
|
105
|
+
* description: SCIM secret
|
106
|
+
* webhook:
|
107
|
+
* type: object
|
108
|
+
* properties:
|
109
|
+
* endpoint:
|
110
|
+
* type: string
|
111
|
+
* description: Webhook url
|
112
|
+
* secret:
|
113
|
+
* type: string
|
114
|
+
* description: Webhook secret
|
115
|
+
* parameters:
|
116
|
+
* tenant:
|
117
|
+
* name: tenant
|
118
|
+
* in: query
|
119
|
+
* description: Tenant (Optional if directoryId is provided)
|
120
|
+
* schema:
|
165
121
|
* type: string
|
166
|
-
*
|
167
|
-
*
|
168
|
-
*
|
169
|
-
*
|
122
|
+
* product:
|
123
|
+
* name: product
|
124
|
+
* in: query
|
125
|
+
* description: Product (Optional if directoryId is provided)
|
126
|
+
* schema:
|
170
127
|
* type: string
|
171
|
-
*
|
172
|
-
*
|
173
|
-
*
|
174
|
-
*
|
128
|
+
* directoryId:
|
129
|
+
* name: directoryId
|
130
|
+
* in: query
|
131
|
+
* description: Directory ID (Optional if tenant/product is provided)
|
132
|
+
* schema:
|
175
133
|
* type: string
|
176
|
-
*
|
177
|
-
*
|
178
|
-
*
|
179
|
-
*
|
134
|
+
* pageOffset:
|
135
|
+
* name: pageOffset
|
136
|
+
* in: query
|
137
|
+
* description: Starting point from which the set of records are retrieved
|
138
|
+
* schema:
|
180
139
|
* type: string
|
181
|
-
*
|
182
|
-
*
|
183
|
-
*
|
184
|
-
*
|
140
|
+
* pageLimit:
|
141
|
+
* name: pageLimit
|
142
|
+
* in: query
|
143
|
+
* description: Number of records to be fetched for the page
|
144
|
+
* schema:
|
185
145
|
* type: string
|
186
|
-
*
|
187
|
-
*
|
188
|
-
*
|
189
|
-
*
|
146
|
+
* pageToken:
|
147
|
+
* name: pageToken
|
148
|
+
* in: query
|
149
|
+
* description: Token used for DynamoDB pagination
|
150
|
+
* schema:
|
190
151
|
* type: string
|
191
|
-
*
|
192
|
-
|
193
|
-
|
194
|
-
*
|
195
|
-
*
|
196
|
-
*
|
152
|
+
*
|
153
|
+
*/
|
154
|
+
/**
|
155
|
+
* @openapi
|
156
|
+
* /api/v1/dsync:
|
157
|
+
* post:
|
158
|
+
* tags:
|
159
|
+
* - Directory Sync
|
160
|
+
* summary: Create a directory connection
|
161
|
+
* requestBody:
|
162
|
+
* content:
|
163
|
+
* application/x-www-form-urlencoded:
|
164
|
+
* schema:
|
165
|
+
* required:
|
166
|
+
* - product
|
167
|
+
* - tenant
|
168
|
+
* type: object
|
169
|
+
* properties:
|
170
|
+
* tenant:
|
171
|
+
* type: string
|
172
|
+
* description: Tenant
|
173
|
+
* product:
|
174
|
+
* type: string
|
175
|
+
* description: Product
|
176
|
+
* name:
|
177
|
+
* type: string
|
178
|
+
* description: Name
|
179
|
+
* webhook_url:
|
180
|
+
* type: string
|
181
|
+
* description: Webhook URL
|
182
|
+
* webhook_secret:
|
183
|
+
* type: string
|
184
|
+
* description: Webhook secret
|
185
|
+
* type:
|
186
|
+
* type: string
|
187
|
+
* description: Directory provider. (Supported values are azure-scim-v2, onelogin-scim-v2, okta-scim-v2, jumpcloud-scim-v2, generic-scim-v2, google)
|
188
|
+
* application/json:
|
189
|
+
* schema:
|
190
|
+
* required:
|
191
|
+
* - product
|
192
|
+
* - tenant
|
193
|
+
* type: object
|
194
|
+
* properties:
|
195
|
+
* tenant:
|
196
|
+
* type: string
|
197
|
+
* description: Tenant
|
198
|
+
* product:
|
199
|
+
* type: string
|
200
|
+
* description: Product
|
201
|
+
* name:
|
202
|
+
* type: string
|
203
|
+
* description: Name
|
204
|
+
* webhook_url:
|
205
|
+
* type: string
|
206
|
+
* description: Webhook URL
|
207
|
+
* webhook_secret:
|
208
|
+
* type: string
|
209
|
+
* description: Webhook secret
|
210
|
+
* type:
|
211
|
+
* type: string
|
212
|
+
* description: Directory provider. (Supported values are azure-scim-v2, onelogin-scim-v2, okta-scim-v2, jumpcloud-scim-v2, generic-scim-v2, google)
|
213
|
+
* required: true
|
197
214
|
* responses:
|
198
|
-
*
|
199
|
-
*
|
200
|
-
*
|
201
|
-
*
|
215
|
+
* 200:
|
216
|
+
* description: Success
|
217
|
+
* content:
|
218
|
+
* application/json:
|
219
|
+
* schema:
|
220
|
+
* $ref: "#/components/schemas/Directory"
|
202
221
|
*/
|
203
222
|
create(params) {
|
204
223
|
return __awaiter(this, void 0, void 0, function* () {
|
205
224
|
metrics.increment('createDsyncConnection');
|
206
225
|
try {
|
207
|
-
const { name, tenant, product, webhook_url, webhook_secret, type = 'generic-scim-v2',
|
226
|
+
const { name, tenant, product, webhook_url, webhook_secret, type = 'generic-scim-v2', google_access_token, google_refresh_token, } = params;
|
208
227
|
if (!tenant || !product) {
|
209
228
|
throw new error_1.JacksonError('Missing required parameters.', 400);
|
210
229
|
}
|
@@ -239,7 +258,7 @@ class DirectoryConfig {
|
|
239
258
|
},
|
240
259
|
};
|
241
260
|
if (type === 'google') {
|
242
|
-
directory = Object.assign(Object.assign({}, directory), {
|
261
|
+
directory = Object.assign(Object.assign({}, directory), { google_access_token: google_access_token || '', google_refresh_token: google_refresh_token || '' });
|
243
262
|
}
|
244
263
|
const indexes = [
|
245
264
|
{
|
@@ -269,25 +288,26 @@ class DirectoryConfig {
|
|
269
288
|
});
|
270
289
|
}
|
271
290
|
/**
|
272
|
-
* @
|
291
|
+
* @openapi
|
273
292
|
* /api/v1/dsync/{directoryId}:
|
274
293
|
* get:
|
294
|
+
* tags:
|
295
|
+
* - Directory Sync
|
275
296
|
* summary: Get a directory connection by id
|
276
297
|
* parameters:
|
277
298
|
* - name: directoryId
|
278
|
-
* description: Directory ID
|
279
299
|
* in: path
|
300
|
+
* description: Directory ID
|
280
301
|
* required: true
|
281
|
-
*
|
282
|
-
*
|
283
|
-
* - Directory Sync
|
284
|
-
* produces:
|
285
|
-
* - application/json
|
302
|
+
* schema:
|
303
|
+
* type: string
|
286
304
|
* responses:
|
287
|
-
*
|
305
|
+
* 200:
|
288
306
|
* description: Success
|
289
|
-
*
|
290
|
-
*
|
307
|
+
* content:
|
308
|
+
* application/json:
|
309
|
+
* schema:
|
310
|
+
* $ref: "#/components/schemas/Directory"
|
291
311
|
*/
|
292
312
|
get(id) {
|
293
313
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -308,67 +328,78 @@ class DirectoryConfig {
|
|
308
328
|
});
|
309
329
|
}
|
310
330
|
/**
|
311
|
-
* @
|
331
|
+
* @openapi
|
312
332
|
* /api/v1/dsync/{directoryId}:
|
313
333
|
* patch:
|
334
|
+
* tags:
|
335
|
+
* - Directory Sync
|
314
336
|
* summary: Update a directory connection
|
315
337
|
* parameters:
|
316
338
|
* - name: directoryId
|
317
|
-
* description: Directory ID
|
318
339
|
* in: path
|
340
|
+
* description: Directory ID
|
319
341
|
* required: true
|
320
|
-
*
|
321
|
-
*
|
322
|
-
*
|
323
|
-
*
|
324
|
-
*
|
325
|
-
*
|
326
|
-
*
|
327
|
-
*
|
328
|
-
*
|
329
|
-
*
|
330
|
-
*
|
331
|
-
*
|
332
|
-
*
|
333
|
-
*
|
334
|
-
*
|
335
|
-
*
|
336
|
-
*
|
337
|
-
*
|
338
|
-
*
|
339
|
-
*
|
340
|
-
*
|
341
|
-
*
|
342
|
-
*
|
343
|
-
*
|
344
|
-
*
|
345
|
-
*
|
346
|
-
*
|
347
|
-
*
|
348
|
-
*
|
349
|
-
*
|
350
|
-
*
|
351
|
-
*
|
352
|
-
*
|
353
|
-
*
|
354
|
-
*
|
355
|
-
*
|
356
|
-
*
|
357
|
-
*
|
358
|
-
*
|
359
|
-
*
|
360
|
-
*
|
361
|
-
*
|
362
|
-
*
|
363
|
-
*
|
364
|
-
*
|
365
|
-
*
|
366
|
-
*
|
342
|
+
* schema:
|
343
|
+
* type: string
|
344
|
+
* requestBody:
|
345
|
+
* content:
|
346
|
+
* application/x-www-form-urlencoded:
|
347
|
+
* schema:
|
348
|
+
* type: object
|
349
|
+
* properties:
|
350
|
+
* name:
|
351
|
+
* type: string
|
352
|
+
* description: Name
|
353
|
+
* webhook_url:
|
354
|
+
* type: string
|
355
|
+
* description: Webhook URL
|
356
|
+
* webhook_secret:
|
357
|
+
* type: string
|
358
|
+
* description: Webhook secret
|
359
|
+
* log_webhook_events:
|
360
|
+
* type: string
|
361
|
+
* description: If true, webhook requests will be logged
|
362
|
+
* deactivated:
|
363
|
+
* type: string
|
364
|
+
* description: If true, the directory connection will be deactivated
|
365
|
+
* google_access_token:
|
366
|
+
* type: string
|
367
|
+
* description: Google access token
|
368
|
+
* google_refresh_token:
|
369
|
+
* type: string
|
370
|
+
* description: Google refresh token
|
371
|
+
* application/json:
|
372
|
+
* schema:
|
373
|
+
* type: object
|
374
|
+
* properties:
|
375
|
+
* name:
|
376
|
+
* type: string
|
377
|
+
* description: Name
|
378
|
+
* webhook_url:
|
379
|
+
* type: string
|
380
|
+
* description: Webhook URL
|
381
|
+
* webhook_secret:
|
382
|
+
* type: string
|
383
|
+
* description: Webhook secret
|
384
|
+
* log_webhook_events:
|
385
|
+
* type: string
|
386
|
+
* description: If true, webhook requests will be logged
|
387
|
+
* deactivated:
|
388
|
+
* type: string
|
389
|
+
* description: If true, the directory connection will be deactivated
|
390
|
+
* google_access_token:
|
391
|
+
* type: string
|
392
|
+
* description: Google access token
|
393
|
+
* google_refresh_token:
|
394
|
+
* type: string
|
395
|
+
* description: Google refresh token
|
367
396
|
* responses:
|
368
|
-
*
|
369
|
-
*
|
370
|
-
*
|
371
|
-
*
|
397
|
+
* 200:
|
398
|
+
* description: Success
|
399
|
+
* content:
|
400
|
+
* application/json:
|
401
|
+
* schema:
|
402
|
+
* $ref: "#/components/schemas/Directory"
|
372
403
|
*/
|
373
404
|
update(id, param) {
|
374
405
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -383,7 +414,6 @@ class DirectoryConfig {
|
|
383
414
|
'log_webhook_events',
|
384
415
|
'webhook',
|
385
416
|
'deactivated',
|
386
|
-
'google_domain',
|
387
417
|
'google_access_token',
|
388
418
|
'google_refresh_token',
|
389
419
|
];
|
@@ -416,26 +446,32 @@ class DirectoryConfig {
|
|
416
446
|
});
|
417
447
|
}
|
418
448
|
/**
|
419
|
-
* @
|
449
|
+
* @openapi
|
420
450
|
* /api/v1/dsync:
|
421
451
|
* get:
|
452
|
+
* tags:
|
453
|
+
* - Directory Sync
|
422
454
|
* summary: Get a directory connection by tenant and product
|
423
455
|
* parameters:
|
424
|
-
* -
|
425
|
-
*
|
426
|
-
*
|
427
|
-
*
|
428
|
-
*
|
429
|
-
*
|
430
|
-
*
|
431
|
-
*
|
456
|
+
* - name: tenant
|
457
|
+
* in: query
|
458
|
+
* description: Tenant (Optional if directoryId is provided)
|
459
|
+
* schema:
|
460
|
+
* type: string
|
461
|
+
* - name: product
|
462
|
+
* in: query
|
463
|
+
* description: Product (Optional if directoryId is provided)
|
464
|
+
* schema:
|
465
|
+
* type: string
|
432
466
|
* responses:
|
433
|
-
*
|
434
|
-
*
|
435
|
-
*
|
436
|
-
*
|
437
|
-
*
|
438
|
-
*
|
467
|
+
* 200:
|
468
|
+
* description: Success
|
469
|
+
* content:
|
470
|
+
* application/json:
|
471
|
+
* schema:
|
472
|
+
* type: array
|
473
|
+
* items:
|
474
|
+
* $ref: "#/components/schemas/Directory"
|
439
475
|
*/
|
440
476
|
getByTenantAndProduct(tenant, product) {
|
441
477
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -478,23 +514,23 @@ class DirectoryConfig {
|
|
478
514
|
});
|
479
515
|
}
|
480
516
|
/**
|
481
|
-
* @
|
517
|
+
* @openapi
|
482
518
|
* /api/v1/dsync/{directoryId}:
|
483
519
|
* delete:
|
520
|
+
* tags:
|
521
|
+
* - Directory Sync
|
484
522
|
* summary: Delete a directory connection by id
|
485
523
|
* parameters:
|
486
524
|
* - name: directoryId
|
487
|
-
* description: Directory ID
|
488
525
|
* in: path
|
526
|
+
* description: Directory ID
|
489
527
|
* required: true
|
490
|
-
*
|
491
|
-
*
|
492
|
-
* - Directory Sync
|
493
|
-
* produces:
|
494
|
-
* - application/json
|
528
|
+
* schema:
|
529
|
+
* type: string
|
495
530
|
* responses:
|
496
|
-
*
|
531
|
+
* 200:
|
497
532
|
* description: Success
|
533
|
+
* content: {}
|
498
534
|
*/
|
499
535
|
delete(id) {
|
500
536
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -543,19 +579,17 @@ class DirectoryConfig {
|
|
543
579
|
return directory;
|
544
580
|
}
|
545
581
|
/**
|
546
|
-
* @
|
582
|
+
* @openapi
|
547
583
|
* /api/v1/dsync/product:
|
548
584
|
* get:
|
549
|
-
* summary: Get directory connections by product
|
550
|
-
* parameters:
|
551
|
-
* - $ref: '#/parameters/product'
|
552
|
-
* - $ref: '#/parameters/pageOffset'
|
553
|
-
* - $ref: '#/parameters/pageLimit'
|
554
|
-
* - $ref: '#/parameters/pageToken'
|
555
585
|
* tags:
|
556
586
|
* - Directory Sync
|
557
|
-
*
|
558
|
-
*
|
587
|
+
* summary: Get directory connections by product
|
588
|
+
* parameters:
|
589
|
+
* - $ref: '#/components/parameters/product'
|
590
|
+
* - $ref: '#/components/parameters/pageOffset'
|
591
|
+
* - $ref: '#/components/parameters/pageLimit'
|
592
|
+
* - $ref: '#/components/parameters/pageToken'
|
559
593
|
* responses:
|
560
594
|
* '200':
|
561
595
|
* description: Success
|
@@ -567,7 +601,7 @@ class DirectoryConfig {
|
|
567
601
|
* data:
|
568
602
|
* type: array
|
569
603
|
* items:
|
570
|
-
* $ref: '#/
|
604
|
+
* $ref: '#/components/schemas/Directory'
|
571
605
|
* pageToken:
|
572
606
|
* type: string
|
573
607
|
* description: token for pagination
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DirectoryConfig.js","sourceRoot":"","sources":["../../../src/directory-sync/scim/DirectoryConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAoC;AAgBpC,wDAA0C;AAC1C,kDAMgC;AAChC,kDAAgE;AAChE,mCAA2E;AAC3E,qEAAuD;AAgBvD
|
1
|
+
{"version":3,"file":"DirectoryConfig.js","sourceRoot":"","sources":["../../../src/directory-sync/scim/DirectoryConfig.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mCAAoC;A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