@boxyhq/saml-jackson 1.36.0 → 1.37.1
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 +524 -475
- package/dist/controller/api.js +527 -479
- package/dist/controller/api.js.map +1 -1
- package/dist/controller/connection/oidc.d.ts +3 -2
- package/dist/controller/connection/oidc.js +26 -2
- package/dist/controller/connection/oidc.js.map +1 -1
- package/dist/controller/connection/saml.d.ts +3 -2
- package/dist/controller/connection/saml.js +26 -2
- package/dist/controller/connection/saml.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/db/sql/sql.js +3 -3
- package/dist/db/sql/sql.js.map +1 -1
- package/dist/directory-sync/scim/DirectoryConfig.d.ts +265 -224
- package/dist/directory-sync/scim/DirectoryConfig.js +266 -225
- 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 +1 -1
- package/dist/directory-sync/types.js +1 -1
- package/dist/directory-sync/types.js.map +1 -1
- package/dist/ee/identity-federation/app.d.ts +292 -212
- package/dist/ee/identity-federation/app.js +294 -214
- 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/ee/ory/ory.d.ts +18 -0
- package/dist/ee/ory/ory.js +202 -0
- package/dist/ee/ory/ory.js.map +1 -0
- package/dist/ee/product/index.d.ts +2 -2
- package/dist/ee/product/index.js +1 -1
- package/dist/ee/product/index.js.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.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/dist/typings.d.ts +7 -0
- package/package.json +11 -11
@@ -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,92 +64,160 @@ 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* () {
|
@@ -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,84 @@ 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_domain:
|
366
|
+
* type: string
|
367
|
+
* description: Google domain
|
368
|
+
* google_access_token:
|
369
|
+
* type: string
|
370
|
+
* description: Google access token
|
371
|
+
* google_refresh_token:
|
372
|
+
* type: string
|
373
|
+
* description: Google refresh token
|
374
|
+
* application/json:
|
375
|
+
* schema:
|
376
|
+
* type: object
|
377
|
+
* properties:
|
378
|
+
* name:
|
379
|
+
* type: string
|
380
|
+
* description: Name
|
381
|
+
* webhook_url:
|
382
|
+
* type: string
|
383
|
+
* description: Webhook URL
|
384
|
+
* webhook_secret:
|
385
|
+
* type: string
|
386
|
+
* description: Webhook secret
|
387
|
+
* log_webhook_events:
|
388
|
+
* type: string
|
389
|
+
* description: If true, webhook requests will be logged
|
390
|
+
* deactivated:
|
391
|
+
* type: string
|
392
|
+
* description: If true, the directory connection will be deactivated
|
393
|
+
* google_domain:
|
394
|
+
* type: string
|
395
|
+
* description: Google domain
|
396
|
+
* google_access_token:
|
397
|
+
* type: string
|
398
|
+
* description: Google access token
|
399
|
+
* google_refresh_token:
|
400
|
+
* type: string
|
401
|
+
* description: Google refresh token
|
367
402
|
* responses:
|
368
|
-
*
|
369
|
-
*
|
370
|
-
*
|
371
|
-
*
|
403
|
+
* 200:
|
404
|
+
* description: Success
|
405
|
+
* content:
|
406
|
+
* application/json:
|
407
|
+
* schema:
|
408
|
+
* $ref: "#/components/schemas/Directory"
|
372
409
|
*/
|
373
410
|
update(id, param) {
|
374
411
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -416,26 +453,32 @@ class DirectoryConfig {
|
|
416
453
|
});
|
417
454
|
}
|
418
455
|
/**
|
419
|
-
* @
|
456
|
+
* @openapi
|
420
457
|
* /api/v1/dsync:
|
421
458
|
* get:
|
459
|
+
* tags:
|
460
|
+
* - Directory Sync
|
422
461
|
* summary: Get a directory connection by tenant and product
|
423
462
|
* parameters:
|
424
|
-
* -
|
425
|
-
*
|
426
|
-
*
|
427
|
-
*
|
428
|
-
*
|
429
|
-
*
|
430
|
-
*
|
431
|
-
*
|
463
|
+
* - name: tenant
|
464
|
+
* in: query
|
465
|
+
* description: Tenant (Optional if directoryId is provided)
|
466
|
+
* schema:
|
467
|
+
* type: string
|
468
|
+
* - name: product
|
469
|
+
* in: query
|
470
|
+
* description: Product (Optional if directoryId is provided)
|
471
|
+
* schema:
|
472
|
+
* type: string
|
432
473
|
* responses:
|
433
|
-
*
|
434
|
-
*
|
435
|
-
*
|
436
|
-
*
|
437
|
-
*
|
438
|
-
*
|
474
|
+
* 200:
|
475
|
+
* description: Success
|
476
|
+
* content:
|
477
|
+
* application/json:
|
478
|
+
* schema:
|
479
|
+
* type: array
|
480
|
+
* items:
|
481
|
+
* $ref: "#/components/schemas/Directory"
|
439
482
|
*/
|
440
483
|
getByTenantAndProduct(tenant, product) {
|
441
484
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -478,23 +521,23 @@ class DirectoryConfig {
|
|
478
521
|
});
|
479
522
|
}
|
480
523
|
/**
|
481
|
-
* @
|
524
|
+
* @openapi
|
482
525
|
* /api/v1/dsync/{directoryId}:
|
483
526
|
* delete:
|
527
|
+
* tags:
|
528
|
+
* - Directory Sync
|
484
529
|
* summary: Delete a directory connection by id
|
485
530
|
* parameters:
|
486
531
|
* - name: directoryId
|
487
|
-
* description: Directory ID
|
488
532
|
* in: path
|
533
|
+
* description: Directory ID
|
489
534
|
* required: true
|
490
|
-
*
|
491
|
-
*
|
492
|
-
* - Directory Sync
|
493
|
-
* produces:
|
494
|
-
* - application/json
|
535
|
+
* schema:
|
536
|
+
* type: string
|
495
537
|
* responses:
|
496
|
-
*
|
538
|
+
* 200:
|
497
539
|
* description: Success
|
540
|
+
* content: {}
|
498
541
|
*/
|
499
542
|
delete(id) {
|
500
543
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -527,7 +570,7 @@ class DirectoryConfig {
|
|
527
570
|
transform(directory) {
|
528
571
|
var _a, _b;
|
529
572
|
if (directory.scim.path) {
|
530
|
-
// Add the flag to ensure SCIM compliance when using
|
573
|
+
// Add the flag to ensure SCIM compliance when using Entra ID
|
531
574
|
if (directory.type === 'azure-scim-v2') {
|
532
575
|
directory.scim.path = `${directory.scim.path}/?aadOptscim062020`;
|
533
576
|
}
|
@@ -543,19 +586,17 @@ class DirectoryConfig {
|
|
543
586
|
return directory;
|
544
587
|
}
|
545
588
|
/**
|
546
|
-
* @
|
589
|
+
* @openapi
|
547
590
|
* /api/v1/dsync/product:
|
548
591
|
* 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
592
|
* tags:
|
556
593
|
* - Directory Sync
|
557
|
-
*
|
558
|
-
*
|
594
|
+
* summary: Get directory connections by product
|
595
|
+
* parameters:
|
596
|
+
* - $ref: '#/components/parameters/product'
|
597
|
+
* - $ref: '#/components/parameters/pageOffset'
|
598
|
+
* - $ref: '#/components/parameters/pageLimit'
|
599
|
+
* - $ref: '#/components/parameters/pageToken'
|
559
600
|
* responses:
|
560
601
|
* '200':
|
561
602
|
* description: Success
|
@@ -567,7 +608,7 @@ class DirectoryConfig {
|
|
567
608
|
* data:
|
568
609
|
* type: array
|
569
610
|
* items:
|
570
|
-
* $ref: '#/
|
611
|
+
* $ref: '#/components/schemas/Directory'
|
571
612
|
* pageToken:
|
572
613
|
* type: string
|
573
614
|
* 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
|
+
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