@rockcarver/frodo-lib 0.12.2-9 → 0.12.2

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 (41) hide show
  1. package/CHANGELOG.md +29 -1
  2. package/cjs/index.js +3 -3
  3. package/cjs/index.js.map +1 -1
  4. package/cjs/ops/AdminOps.js +63 -34
  5. package/cjs/ops/AdminOps.js.map +1 -1
  6. package/cjs/ops/IdmOps.test.js.map +1 -0
  7. package/cjs/ops/IdpOps.js +75 -74
  8. package/cjs/ops/IdpOps.js.map +1 -1
  9. package/cjs/ops/IdpOps.test.js.map +1 -0
  10. package/cjs/ops/JourneyOps.js +5 -2
  11. package/cjs/ops/JourneyOps.js.map +1 -1
  12. package/cjs/ops/{SamlOps.js → Saml2Ops.js} +61 -61
  13. package/cjs/ops/Saml2Ops.js.map +1 -0
  14. package/cjs/ops/Saml2Ops.test.js.map +1 -0
  15. package/cjs/test/mocks/ForgeRockApiMockEngine.js +9 -0
  16. package/cjs/test/mocks/ForgeRockApiMockEngine.js.map +1 -1
  17. package/cjs/test/mocks/IdmConfigApi/getAllConfigEntities/entities.json +490 -0
  18. package/esm/index.mjs +1 -1
  19. package/esm/ops/AdminOps.mjs +32 -29
  20. package/esm/ops/IdmOps.test.mjs +43 -0
  21. package/esm/ops/IdpOps.mjs +30 -29
  22. package/esm/ops/IdpOps.test.mjs +63 -0
  23. package/esm/ops/JourneyOps.mjs +5 -2
  24. package/esm/ops/{SamlOps.mjs → Saml2Ops.mjs} +11 -11
  25. package/esm/ops/Saml2Ops.test.mjs +89 -0
  26. package/esm/test/mocks/ForgeRockApiMockEngine.mjs +7 -0
  27. package/esm/test/mocks/IdmConfigApi/getAllConfigEntities/entities.json +490 -0
  28. package/package.json +2 -2
  29. package/types/index.d.ts +1 -1
  30. package/types/index.d.ts.map +1 -1
  31. package/types/ops/AdminOps.d.ts +1 -0
  32. package/types/ops/AdminOps.d.ts.map +1 -1
  33. package/types/ops/IdpOps.d.ts +12 -12
  34. package/types/ops/IdpOps.d.ts.map +1 -1
  35. package/types/ops/JourneyOps.d.ts.map +1 -1
  36. package/types/ops/{SamlOps.d.ts → Saml2Ops.d.ts} +10 -10
  37. package/types/ops/Saml2Ops.d.ts.map +1 -0
  38. package/types/test/mocks/ForgeRockApiMockEngine.d.ts +1 -0
  39. package/types/test/mocks/ForgeRockApiMockEngine.d.ts.map +1 -1
  40. package/cjs/ops/SamlOps.js.map +0 -1
  41. package/types/ops/SamlOps.d.ts.map +0 -1
@@ -0,0 +1,490 @@
1
+ {
2
+ "_id": "",
3
+ "configurations": [
4
+ {
5
+ "_id": "script",
6
+ "pid": "script",
7
+ "factoryPid": null
8
+ },
9
+ {
10
+ "_id": "secrets",
11
+ "pid": "secrets",
12
+ "factoryPid": null
13
+ },
14
+ {
15
+ "_id": "notification/profileUpdate",
16
+ "pid": "notification.7710faf8-b8e1-44ee-a519-bd385918c99c",
17
+ "factoryPid": "notification"
18
+ },
19
+ {
20
+ "_id": "identityProviders",
21
+ "pid": "identityProviders",
22
+ "factoryPid": null
23
+ },
24
+ {
25
+ "_id": "emailTemplate/mytemplate",
26
+ "pid": "emailTemplate.c3a1a172-8b3b-4c14-a48b-679d3eef6572",
27
+ "factoryPid": "emailTemplate"
28
+ },
29
+ {
30
+ "_id": "endpoint/oauthproxy",
31
+ "pid": "endpoint.d58493f0-7e34-4d46-95da-975f6a684656",
32
+ "factoryPid": "endpoint"
33
+ },
34
+ {
35
+ "_id": "ui/profile",
36
+ "pid": "ui.c6a776dd-2a19-4f24-b66e-a3ac71095662",
37
+ "factoryPid": "ui"
38
+ },
39
+ {
40
+ "_id": "fieldPolicy/alpha_user",
41
+ "pid": "fieldPolicy.ebcf06f0-fd1c-4f9b-8081-5a4ae7431661",
42
+ "factoryPid": "fieldPolicy"
43
+ },
44
+ {
45
+ "_id": "provisioner.openicf/HR",
46
+ "pid": "provisioner.openicf.2deba947-1fb1-4870-aee4-802ba3d92947",
47
+ "factoryPid": "provisioner.openicf"
48
+ },
49
+ {
50
+ "_id": "notificationFactory",
51
+ "pid": "notificationFactory",
52
+ "factoryPid": null
53
+ },
54
+ {
55
+ "_id": "bravoOrgPrivileges",
56
+ "pid": "bravoOrgPrivileges",
57
+ "factoryPid": null
58
+ },
59
+ {
60
+ "_id": "emailTemplate/foohoo",
61
+ "pid": "emailTemplate.246aec69-803e-4ca6-8fdb-dccd12cfcc91",
62
+ "factoryPid": "emailTemplate"
63
+ },
64
+ {
65
+ "_id": "emailTemplate/UnknownDeviceNotification",
66
+ "pid": "emailTemplate.a775f987-7657-434b-b140-46ae3a949505",
67
+ "factoryPid": "emailTemplate"
68
+ },
69
+ {
70
+ "_id": "apiVersion",
71
+ "pid": "apiVersion",
72
+ "factoryPid": null
73
+ },
74
+ {
75
+ "_id": "provisioner.openicf.connectorinfoprovider",
76
+ "pid": "provisioner.openicf.connectorinfoprovider",
77
+ "factoryPid": null
78
+ },
79
+ {
80
+ "_id": "ui.context/enduser",
81
+ "pid": "ui.context.4e924d57-3932-4e65-8d98-b6c0addc9607",
82
+ "factoryPid": "ui.context"
83
+ },
84
+ {
85
+ "_id": "external.email",
86
+ "pid": "external.email",
87
+ "factoryPid": null
88
+ },
89
+ {
90
+ "_id": "selfservice/reset",
91
+ "pid": "selfservice.d6ab661b-ae74-4167-9708-d72f28521b03",
92
+ "factoryPid": "selfservice"
93
+ },
94
+ {
95
+ "_id": "alphaOrgPrivileges",
96
+ "pid": "alphaOrgPrivileges",
97
+ "factoryPid": null
98
+ },
99
+ {
100
+ "_id": "provisioner.openicf/OUD",
101
+ "pid": "provisioner.openicf.9c125505-5d96-4881-aa52-7daf3e2287bb",
102
+ "factoryPid": "provisioner.openicf"
103
+ },
104
+ {
105
+ "_id": "emailTemplate/frForgotUsername",
106
+ "pid": "emailTemplate.3a25be3d-e7e9-4134-8212-1dab75f81e38",
107
+ "factoryPid": "emailTemplate"
108
+ },
109
+ {
110
+ "_id": "schedule/taskscan_expire",
111
+ "pid": "schedule.305a6dbb-6ea2-4d5b-94ab-8ef8b8a6711e",
112
+ "factoryPid": "schedule"
113
+ },
114
+ {
115
+ "_id": "repo.ds",
116
+ "pid": "repo.ds",
117
+ "factoryPid": null
118
+ },
119
+ {
120
+ "_id": "ui/configuration",
121
+ "pid": "ui.8d478e03-84c1-4590-ac2b-d621deec0c3d",
122
+ "factoryPid": "ui"
123
+ },
124
+ {
125
+ "_id": "ui.context/api",
126
+ "pid": "ui.context.8366ba03-97a7-414e-9e5e-4517b2834ac7",
127
+ "factoryPid": "ui.context"
128
+ },
129
+ {
130
+ "_id": "privilegeAssignments",
131
+ "pid": "privilegeAssignments",
132
+ "factoryPid": null
133
+ },
134
+ {
135
+ "_id": "repo.init",
136
+ "pid": "repo.init",
137
+ "factoryPid": null
138
+ },
139
+ {
140
+ "_id": "process/access",
141
+ "pid": "process.9d557254-dcbf-43f8-8fd0-8f14f7305406",
142
+ "factoryPid": "process"
143
+ },
144
+ {
145
+ "_id": "endpoint/mappingDetails",
146
+ "pid": "endpoint.d9785577-6ac8-44c7-9096-5ced3e5f93b4",
147
+ "factoryPid": "endpoint"
148
+ },
149
+ {
150
+ "_id": "servletfilter/payload",
151
+ "pid": "servletfilter.2899aa9a-48a1-42d9-bd9d-3ac1f4fa67e4",
152
+ "factoryPid": "servletfilter"
153
+ },
154
+ {
155
+ "_id": "servletfilter/upload",
156
+ "pid": "servletfilter.65a7c467-bf83-4ca4-9064-577fe810ec00",
157
+ "factoryPid": "servletfilter"
158
+ },
159
+ {
160
+ "_id": "scheduler",
161
+ "pid": "scheduler",
162
+ "factoryPid": null
163
+ },
164
+ {
165
+ "_id": "emailTemplate/multiFactorEmailLink",
166
+ "pid": "emailTemplate.8f6f82de-e5fe-4788-a43e-e084b7608c21",
167
+ "factoryPid": "emailTemplate"
168
+ },
169
+ {
170
+ "_id": "external.rest",
171
+ "pid": "external.rest",
172
+ "factoryPid": null
173
+ },
174
+ {
175
+ "_id": "endpoint/gettasksview",
176
+ "pid": "endpoint.d1c2abf8-dfc9-4474-a967-33454e0a1b0d",
177
+ "factoryPid": "endpoint"
178
+ },
179
+ {
180
+ "_id": "provisioner.openicf/SecureREST",
181
+ "pid": "provisioner.openicf.3fc0d6c1-df1d-462d-b9c9-8c83d693719e",
182
+ "factoryPid": "provisioner.openicf"
183
+ },
184
+ {
185
+ "_id": "emailTemplate/oneTimePassword",
186
+ "pid": "emailTemplate.0650016e-9810-49c1-bd60-60c2b40be55b",
187
+ "factoryPid": "emailTemplate"
188
+ },
189
+ {
190
+ "_id": "selfservice.terms",
191
+ "pid": "selfservice.terms",
192
+ "factoryPid": null
193
+ },
194
+ {
195
+ "_id": "emailTemplate/Welcome",
196
+ "pid": "emailTemplate.f403bfe1-70e9-43c3-bce8-a8552fee467f",
197
+ "factoryPid": "emailTemplate"
198
+ },
199
+ {
200
+ "_id": "cluster",
201
+ "pid": "cluster",
202
+ "factoryPid": null
203
+ },
204
+ {
205
+ "_id": "endpoint/removeRepoPathFromRelationships",
206
+ "pid": "endpoint.30bc81f1-0cc1-468e-83ab-192cf449b790",
207
+ "factoryPid": "endpoint"
208
+ },
209
+ {
210
+ "_id": "schedule/stats",
211
+ "pid": "schedule.c2913ac9-eeb1-4435-8390-006610b49c3e",
212
+ "factoryPid": "schedule"
213
+ },
214
+ {
215
+ "_id": "emailTemplate/registration",
216
+ "pid": "emailTemplate.187d0200-a829-4337-9885-e78fea3e01df",
217
+ "factoryPid": "emailTemplate"
218
+ },
219
+ {
220
+ "_id": "endpoint/test",
221
+ "pid": "endpoint.dc5aa139-050f-481e-b0c6-70c1451a16d2",
222
+ "factoryPid": "endpoint"
223
+ },
224
+ {
225
+ "_id": "emailTemplate/forgottenUsername",
226
+ "pid": "emailTemplate.43ab0ed2-277c-4737-adc5-8be74a305181",
227
+ "factoryPid": "emailTemplate"
228
+ },
229
+ {
230
+ "_id": "notification/passwordUpdate",
231
+ "pid": "notification.59c5144c-3d44-4804-bcfa-f9ab745660f8",
232
+ "factoryPid": "notification"
233
+ },
234
+ {
235
+ "_id": "selfservice/registration",
236
+ "pid": "selfservice.d5e51f15-5c8e-4374-9388-ec536f03bfd1",
237
+ "factoryPid": "selfservice"
238
+ },
239
+ {
240
+ "_id": "auth.profile",
241
+ "pid": "auth.profile",
242
+ "factoryPid": null
243
+ },
244
+ {
245
+ "_id": "selfservice.propertymap",
246
+ "pid": "selfservice.propertymap",
247
+ "factoryPid": null
248
+ },
249
+ {
250
+ "_id": "ui.context/oauth",
251
+ "pid": "ui.context.1029128c-a16f-4416-a174-30ed06adcf1e",
252
+ "factoryPid": "ui.context"
253
+ },
254
+ {
255
+ "_id": "provisioner.openicf/ASREST",
256
+ "pid": "provisioner.openicf.1bbe40d5-b5d7-4622-8813-9546a106b0a8",
257
+ "factoryPid": "provisioner.openicf"
258
+ },
259
+ {
260
+ "_id": "fieldPolicy/teammember",
261
+ "pid": "fieldPolicy.269b45dd-fb7f-40c4-9bab-762239db222a",
262
+ "factoryPid": "fieldPolicy"
263
+ },
264
+ {
265
+ "_id": "schedule/recon",
266
+ "pid": "schedule.35893338-4473-442d-8c0d-1a5d38d41345",
267
+ "factoryPid": "schedule"
268
+ },
269
+ {
270
+ "_id": "provisioner.openicf/AD",
271
+ "pid": "provisioner.openicf.639b36a4-d3be-4ec0-afba-8733c6444d91",
272
+ "factoryPid": "provisioner.openicf"
273
+ },
274
+ {
275
+ "_id": "router",
276
+ "pid": "router",
277
+ "factoryPid": null
278
+ },
279
+ {
280
+ "_id": "ui/dashboard",
281
+ "pid": "ui.38772fcc-7787-4e40-9422-dbfb25820cac",
282
+ "factoryPid": "ui"
283
+ },
284
+ {
285
+ "_id": "emailTemplate/frProfileUpdated",
286
+ "pid": "emailTemplate.ccda7630-7b4e-429a-a4c0-44cd039f9fbe",
287
+ "factoryPid": "emailTemplate"
288
+ },
289
+ {
290
+ "_id": "ui/themerealm",
291
+ "pid": "ui.1f2496c2-4787-4912-8b71-4e039f6bc0b3",
292
+ "factoryPid": "ui"
293
+ },
294
+ {
295
+ "_id": "managed",
296
+ "pid": "managed",
297
+ "factoryPid": null
298
+ },
299
+ {
300
+ "_id": "authentication",
301
+ "pid": "authentication",
302
+ "factoryPid": null
303
+ },
304
+ {
305
+ "_id": "schedule/DeleteBravoUsers",
306
+ "pid": "schedule.a7545165-f60e-4fb0-babf-42475c14e829",
307
+ "factoryPid": "schedule"
308
+ },
309
+ {
310
+ "_id": "endpoint/repairMetadata",
311
+ "pid": "endpoint.8ae4ed63-8470-4246-8d50-27907eba6b98",
312
+ "factoryPid": "endpoint"
313
+ },
314
+ {
315
+ "_id": "endpoint/validateQueryFilter",
316
+ "pid": "endpoint.3ac0ffd8-a6ba-42c0-8f31-cfa9b5873911",
317
+ "factoryPid": "endpoint"
318
+ },
319
+ {
320
+ "_id": "access",
321
+ "pid": "access",
322
+ "factoryPid": null
323
+ },
324
+ {
325
+ "_id": "emailTemplate/frPasswordUpdated",
326
+ "pid": "emailTemplate.26867bd1-d511-4aac-8f59-1a5c61afd327",
327
+ "factoryPid": "emailTemplate"
328
+ },
329
+ {
330
+ "_id": "emailTemplate/profileUpdateNotificationEmailChange",
331
+ "pid": "emailTemplate.781d1ad4-cf9d-4d8f-a096-d67704a73e59",
332
+ "factoryPid": "emailTemplate"
333
+ },
334
+ {
335
+ "_id": "audit",
336
+ "pid": "audit",
337
+ "factoryPid": null
338
+ },
339
+ {
340
+ "_id": "metrics",
341
+ "pid": "metrics",
342
+ "factoryPid": null
343
+ },
344
+ {
345
+ "_id": "felix.webconsole",
346
+ "pid": "felix.webconsole",
347
+ "factoryPid": null
348
+ },
349
+ {
350
+ "_id": "ui/themeconfig",
351
+ "pid": "ui.96999cc9-4d78-4999-ab1d-256d425eaed4",
352
+ "factoryPid": "ui"
353
+ },
354
+ {
355
+ "_id": "emailTemplate/test",
356
+ "pid": "emailTemplate.b267a8a1-ea65-4655-bfee-729622f54b36",
357
+ "factoryPid": "emailTemplate"
358
+ },
359
+ {
360
+ "_id": "emailTemplate/FraudNotification",
361
+ "pid": "emailTemplate.790d82db-1427-4a03-88fc-ee3e6aea2870",
362
+ "factoryPid": "emailTemplate"
363
+ },
364
+ {
365
+ "_id": "endpoint/otp",
366
+ "pid": "endpoint.a8736e83-3cb6-4e72-b35e-f587f1270b89",
367
+ "factoryPid": "endpoint"
368
+ },
369
+ {
370
+ "_id": "servletfilter/cors",
371
+ "pid": "servletfilter.537f15dc-120c-40cf-bcbd-cb47cadd1f52",
372
+ "factoryPid": "servletfilter"
373
+ },
374
+ {
375
+ "_id": "emailTemplate/frOnboarding",
376
+ "pid": "emailTemplate.31376cd1-8bce-4823-a0fa-9febe30df7a5",
377
+ "factoryPid": "emailTemplate"
378
+ },
379
+ {
380
+ "_id": "privileges",
381
+ "pid": "privileges",
382
+ "factoryPid": null
383
+ },
384
+ {
385
+ "_id": "jsonstore",
386
+ "pid": "jsonstore",
387
+ "factoryPid": null
388
+ },
389
+ {
390
+ "_id": "sync",
391
+ "pid": "sync",
392
+ "factoryPid": null
393
+ },
394
+ {
395
+ "_id": "emailTemplate/welcome",
396
+ "pid": "emailTemplate.65f1eb8a-825a-4cf3-bec0-99db0a36492e",
397
+ "factoryPid": "emailTemplate"
398
+ },
399
+ {
400
+ "_id": "emailTemplate/MobileEmailOTP",
401
+ "pid": "emailTemplate.c452d145-80d4-49d9-a9f1-6ffce6344b4a",
402
+ "factoryPid": "emailTemplate"
403
+ },
404
+ {
405
+ "_id": "emailTemplate/frResetPassword",
406
+ "pid": "emailTemplate.5f8a0703-e8eb-425d-8f70-127f1373814d",
407
+ "factoryPid": "emailTemplate"
408
+ },
409
+ {
410
+ "_id": "endpoint/getprocessesforuser",
411
+ "pid": "endpoint.57307c52-4776-4c46-b197-e52c6efeb53d",
412
+ "factoryPid": "endpoint"
413
+ },
414
+ {
415
+ "_id": "emailTemplate/profileUpdated",
416
+ "pid": "emailTemplate.57a3f8f0-8b34-49b5-ab43-bfc1973e1657",
417
+ "factoryPid": "emailTemplate"
418
+ },
419
+ {
420
+ "_id": "emailTemplate/profileUpdateNotification",
421
+ "pid": "emailTemplate.77105a4a-6c30-430d-a574-53b11db06aae",
422
+ "factoryPid": "emailTemplate"
423
+ },
424
+ {
425
+ "_id": "endpoint/getavailableuserstoassign",
426
+ "pid": "endpoint.16b43ce4-9273-4dd3-b266-e57a447f69c4",
427
+ "factoryPid": "endpoint"
428
+ },
429
+ {
430
+ "_id": "fieldPolicy/bravo_user",
431
+ "pid": "fieldPolicy.8ea1792e-1df7-440f-8ea4-5ee63c60d7ea",
432
+ "factoryPid": "fieldPolicy"
433
+ },
434
+ {
435
+ "_id": "external.emailDefault",
436
+ "pid": "external.emailDefault",
437
+ "factoryPid": null
438
+ },
439
+ {
440
+ "_id": "ui.context/admin",
441
+ "pid": "ui.context.f63108b0-4b31-4903-b197-570e5d38026d",
442
+ "factoryPid": "ui.context"
443
+ },
444
+ {
445
+ "_id": "policy",
446
+ "pid": "policy",
447
+ "factoryPid": null
448
+ },
449
+ {
450
+ "_id": "internal",
451
+ "pid": "internal",
452
+ "factoryPid": null
453
+ },
454
+ {
455
+ "_id": "org.apache.felix.fileinstall/openidm",
456
+ "pid": "org.apache.felix.fileinstall.17d372d3-564b-4e85-8630-9a2b11524040",
457
+ "factoryPid": "org.apache.felix.fileinstall"
458
+ },
459
+ {
460
+ "_id": "emailTemplate/frEmailUpdated",
461
+ "pid": "emailTemplate.6729db87-ce43-4121-aa36-101534dd9c90",
462
+ "factoryPid": "emailTemplate"
463
+ },
464
+ {
465
+ "_id": "emailTemplate/updatePassword",
466
+ "pid": "emailTemplate.bb6f87be-ce14-4fac-8072-cf9e52a47749",
467
+ "factoryPid": "emailTemplate"
468
+ },
469
+ {
470
+ "_id": "emailTemplate/frUsernameUpdated",
471
+ "pid": "emailTemplate.165ab2fd-92f3-4fb9-a5ac-e4c6993ce354",
472
+ "factoryPid": "emailTemplate"
473
+ },
474
+ {
475
+ "_id": "emailTemplate/resetPassword",
476
+ "pid": "emailTemplate.fd54b919-e04a-485e-8482-e39c3f80e74f",
477
+ "factoryPid": "emailTemplate"
478
+ },
479
+ {
480
+ "_id": "endpoint/updateInternalUserAndInternalRoleEntries",
481
+ "pid": "endpoint.c899422d-e1e6-488a-b3ca-cf50cde37919",
482
+ "factoryPid": "endpoint"
483
+ },
484
+ {
485
+ "_id": "selfservice.kba",
486
+ "pid": "selfservice.kba",
487
+ "factoryPid": null
488
+ }
489
+ ]
490
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rockcarver/frodo-lib",
3
- "version": "0.12.2-9",
3
+ "version": "0.12.2",
4
4
  "type": "commonjs",
5
5
  "main": "./cjs/index.js",
6
6
  "module": "./esm/index.mjs",
@@ -130,6 +130,6 @@
130
130
  "jest": "^28.1.3",
131
131
  "map-stream": "^0.0.7",
132
132
  "prettier": "^2.7.1",
133
- "typescript": "^4.7.4"
133
+ "typescript": "^4.8.3"
134
134
  }
135
135
  }
package/types/index.d.ts CHANGED
@@ -17,7 +17,7 @@ export * as ManagedObject from './ops/ManagedObjectOps';
17
17
  export * as OAuth2Client from './ops/OAuth2ClientOps';
18
18
  export * as Organization from './ops/OrganizationOps';
19
19
  export * as Realm from './ops/RealmOps';
20
- export * as Saml from './ops/SamlOps';
20
+ export * as Saml2 from './ops/Saml2Ops';
21
21
  export * as Script from './ops/ScriptOps';
22
22
  export * as Secrets from './ops/SecretsOps';
23
23
  export * as Startup from './ops/StartupOps';
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAUA,wBAAgB,UAAU,WAEzB;AAGD,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,UAAU,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,UAAU,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,YAAY,MAAM,oBAAoB,CAAC;AAGnD,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,iBAAiB,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,aAAa,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,aAAa,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,SAAS,MAAM,oBAAoB,CAAC;AAEhD,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAG9C,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAIlD,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAC","file":"index.d.ts","sourcesContent":["import fs from 'fs';\nimport path from 'path';\nimport { fileURLToPath } from 'url';\n\nconst __dirname = path.dirname(fileURLToPath(import.meta.url));\n\nconst pkg = JSON.parse(\n fs.readFileSync(path.resolve(__dirname, '../package.json'), 'utf8')\n);\n\nexport function getVersion() {\n return `v${pkg.version}`;\n}\n\n// Api Layer\nexport * as NodeRaw from './api/NodeApi';\nexport * as TreeRaw from './api/TreeApi';\nexport * as StartupRaw from './api/StartupApi';\nexport * as SecretsRaw from './api/SecretsApi';\nexport * as VariablesRaw from './api/VariablesApi';\n\n// Ops Layer\nexport * as Admin from './ops/AdminOps';\nexport * as Authenticate from './ops/AuthenticateOps';\nexport * as CirclesOfTrust from './ops/CirclesOfTrustOps';\nexport * as ConnectionProfile from './ops/ConnectionProfileOps';\nexport * as EmailTemplate from './ops/EmailTemplateOps';\nexport * as Idm from './ops/IdmOps';\nexport * as Idp from './ops/IdpOps';\nexport * as Journey from './ops/JourneyOps';\nexport * as Log from './ops/LogOps';\nexport * as ManagedObject from './ops/ManagedObjectOps';\nexport * as OAuth2Client from './ops/OAuth2ClientOps';\nexport * as Organization from './ops/OrganizationOps';\nexport * as Realm from './ops/RealmOps';\nexport * as Saml from './ops/SamlOps';\nexport * as Script from './ops/ScriptOps';\nexport * as Secrets from './ops/SecretsOps';\nexport * as Startup from './ops/StartupOps';\nexport * as Theme from './ops/ThemeOps';\nexport * as Variables from './ops/VariablesOps';\n// TODO: revisit if there are better ways\nexport * as Utils from './ops/utils/OpsUtils';\n// TODO: reconsider the aproach to pass in state from client\n// lib should be stateless, an aplication should own its state\nexport * as state from './storage/SessionStorage';\n// TODO: need to figure out if this is the right approach or if we should even\n// use a public oauth2/oidc library. might be ok for now since there is only\n// one place where the cli needs to execute an oauth flow.\nexport * as OAuth2OIDCApi from './api/OAuth2OIDCApi';\n"]}
1
+ {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":"AAUA,wBAAgB,UAAU,WAEzB;AAGD,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,eAAe,CAAC;AACzC,OAAO,KAAK,UAAU,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,UAAU,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,YAAY,MAAM,oBAAoB,CAAC;AAGnD,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,cAAc,MAAM,yBAAyB,CAAC;AAC1D,OAAO,KAAK,iBAAiB,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,aAAa,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,GAAG,MAAM,cAAc,CAAC;AACpC,OAAO,KAAK,aAAa,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,YAAY,MAAM,uBAAuB,CAAC;AACtD,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,KAAK,SAAS,MAAM,oBAAoB,CAAC;AAEhD,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAC;AAG9C,OAAO,KAAK,KAAK,MAAM,0BAA0B,CAAC;AAIlD,OAAO,KAAK,aAAa,MAAM,qBAAqB,CAAC","file":"index.d.ts","sourcesContent":["import fs from 'fs';\nimport path from 'path';\nimport { fileURLToPath } from 'url';\n\nconst __dirname = path.dirname(fileURLToPath(import.meta.url));\n\nconst pkg = JSON.parse(\n fs.readFileSync(path.resolve(__dirname, '../package.json'), 'utf8')\n);\n\nexport function getVersion() {\n return `v${pkg.version}`;\n}\n\n// Api Layer\nexport * as NodeRaw from './api/NodeApi';\nexport * as TreeRaw from './api/TreeApi';\nexport * as StartupRaw from './api/StartupApi';\nexport * as SecretsRaw from './api/SecretsApi';\nexport * as VariablesRaw from './api/VariablesApi';\n\n// Ops Layer\nexport * as Admin from './ops/AdminOps';\nexport * as Authenticate from './ops/AuthenticateOps';\nexport * as CirclesOfTrust from './ops/CirclesOfTrustOps';\nexport * as ConnectionProfile from './ops/ConnectionProfileOps';\nexport * as EmailTemplate from './ops/EmailTemplateOps';\nexport * as Idm from './ops/IdmOps';\nexport * as Idp from './ops/IdpOps';\nexport * as Journey from './ops/JourneyOps';\nexport * as Log from './ops/LogOps';\nexport * as ManagedObject from './ops/ManagedObjectOps';\nexport * as OAuth2Client from './ops/OAuth2ClientOps';\nexport * as Organization from './ops/OrganizationOps';\nexport * as Realm from './ops/RealmOps';\nexport * as Saml2 from './ops/Saml2Ops';\nexport * as Script from './ops/ScriptOps';\nexport * as Secrets from './ops/SecretsOps';\nexport * as Startup from './ops/StartupOps';\nexport * as Theme from './ops/ThemeOps';\nexport * as Variables from './ops/VariablesOps';\n// TODO: revisit if there are better ways\nexport * as Utils from './ops/utils/OpsUtils';\n// TODO: reconsider the aproach to pass in state from client\n// lib should be stateless, an aplication should own its state\nexport * as state from './storage/SessionStorage';\n// TODO: need to figure out if this is the right approach or if we should even\n// use a public oauth2/oidc library. might be ok for now since there is only\n// one place where the cli needs to execute an oauth flow.\nexport * as OAuth2OIDCApi from './api/OAuth2OIDCApi';\n"]}
@@ -9,3 +9,4 @@ export declare function createLongLivedToken(clientId: any, clientSecret: any, s
9
9
  export declare function removeStaticUserMapping(subject: any): Promise<void>;
10
10
  export declare function hideGenericExtensionAttributes(includeCustomized: any, dryRun: any): Promise<void>;
11
11
  export declare function showGenericExtensionAttributes(includeCustomized: any, dryRun: any): Promise<void>;
12
+ export declare function repairOrgModel(excludeCustomized: any, extendPermissions: any, dryRun: any): Promise<void>;