@connectid-tools/rp-nodejs-sdk 4.2.1 → 5.0.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.
Files changed (56) hide show
  1. package/README.md +64 -71
  2. package/config.js +2 -31
  3. package/conformance/api/conformance-api.d.ts +38 -0
  4. package/conformance/api/conformance-api.js +53 -0
  5. package/conformance/conformance-config.d.ts +2 -0
  6. package/conformance/conformance-config.js +34 -0
  7. package/crypto/crypto-loader.d.ts +32 -0
  8. package/crypto/crypto-loader.js +49 -0
  9. package/crypto/jwt-helper.d.ts +61 -0
  10. package/crypto/jwt-helper.js +92 -0
  11. package/crypto/pkce-helper.d.ts +43 -0
  12. package/crypto/pkce-helper.js +75 -0
  13. package/endpoints/participants-endpoint.d.ts +55 -0
  14. package/endpoints/participants-endpoint.js +137 -0
  15. package/endpoints/pushed-authorisation-request-endpoint.d.ts +87 -0
  16. package/endpoints/pushed-authorisation-request-endpoint.js +192 -0
  17. package/endpoints/retrieve-token-endpoint.d.ts +66 -0
  18. package/endpoints/retrieve-token-endpoint.js +159 -0
  19. package/endpoints/userinfo-endpoint.d.ts +24 -0
  20. package/endpoints/userinfo-endpoint.js +50 -0
  21. package/fapi/fapi-utils.d.ts +6 -0
  22. package/fapi/fapi-utils.js +9 -0
  23. package/http/http-client-extensions.d.ts +60 -0
  24. package/http/http-client-extensions.js +106 -0
  25. package/http/http-client-factory.d.ts +27 -0
  26. package/http/http-client-factory.js +45 -0
  27. package/model/callback-params.d.ts +31 -0
  28. package/model/callback-params.js +1 -0
  29. package/model/claims.d.ts +100 -0
  30. package/model/claims.js +1 -0
  31. package/model/consolidated-token-set.d.ts +74 -0
  32. package/model/consolidated-token-set.js +100 -0
  33. package/model/discovery-service.d.ts +46 -0
  34. package/model/discovery-service.js +112 -0
  35. package/model/issuer-metadata.d.ts +165 -0
  36. package/model/issuer-metadata.js +1 -0
  37. package/model/jwks.d.ts +12 -0
  38. package/model/jwks.js +1 -0
  39. package/model/token-response.d.ts +31 -0
  40. package/model/token-response.js +1 -0
  41. package/model/token-set.d.ts +73 -0
  42. package/model/token-set.js +179 -0
  43. package/package.json +4 -5
  44. package/relying-party-client-sdk.d.ts +55 -24
  45. package/relying-party-client-sdk.js +90 -304
  46. package/test-data/large-participants-test-data.d.ts +865 -0
  47. package/test-data/large-participants-test-data.js +18907 -0
  48. package/test-data/participants-test-data.d.ts +149 -0
  49. package/test-data/participants-test-data.js +458 -0
  50. package/test-data/sandbox-participants-test-data.d.ts +865 -0
  51. package/test-data/sandbox-participants-test-data.js +3794 -0
  52. package/types.d.ts +61 -32
  53. package/utils/request-utils.d.ts +1 -1
  54. package/utils/request-utils.js +5 -5
  55. package/utils/user-agent.d.ts +1 -1
  56. package/utils/user-agent.js +1 -1
@@ -0,0 +1,865 @@
1
+ export declare const largeParticipantsTestData: ({
2
+ OrganisationId: string;
3
+ Status: string;
4
+ OrganisationName: string;
5
+ CreatedOn: string;
6
+ LegalEntityName: string;
7
+ CountryOfRegistration: string;
8
+ CompanyRegister: string;
9
+ Tag: never[];
10
+ Size: string;
11
+ RegistrationNumber: string;
12
+ RegistrationId: null;
13
+ RegisteredName: string;
14
+ AddressLine1: string;
15
+ AddressLine2: null;
16
+ City: string;
17
+ Postcode: string;
18
+ Country: string;
19
+ ParentOrganisationReference: string;
20
+ AuthorisationServers: ({
21
+ AuthorisationServerId: string;
22
+ AutoRegistrationSupported: boolean;
23
+ AutoRegistrationNotificationWebhook: null;
24
+ SupportsCiba: boolean;
25
+ SupportsDCR: boolean;
26
+ SupportsRedirect: boolean;
27
+ ApiResources: never[];
28
+ AuthorisationServerCertifications: never[];
29
+ CustomerFriendlyDescription: string;
30
+ CustomerFriendlyLogoUri: string;
31
+ CustomerFriendlyName: string;
32
+ DeveloperPortalUri: null;
33
+ TermsOfServiceUri: null;
34
+ NotificationWebhookAddedDate: null;
35
+ OpenIDDiscoveryDocument: string;
36
+ Issuer: string;
37
+ PayloadSigningCertLocationUri: string;
38
+ CreatedAt: number;
39
+ ParentAuthorisationServerId: null;
40
+ DeprecatedDate: null;
41
+ RetirementDate: null;
42
+ SupersededByAuthorisationServerId: null;
43
+ } | {
44
+ AuthorisationServerId: string;
45
+ AutoRegistrationSupported: boolean;
46
+ AutoRegistrationNotificationWebhook: null;
47
+ SupportsCiba: boolean;
48
+ SupportsDCR: boolean;
49
+ SupportsRedirect: boolean;
50
+ ApiResources: never[];
51
+ AuthorisationServerCertifications: never[];
52
+ CustomerFriendlyDescription: string;
53
+ CustomerFriendlyLogoUri: string;
54
+ CustomerFriendlyName: string;
55
+ DeveloperPortalUri: null;
56
+ TermsOfServiceUri: string;
57
+ NotificationWebhookAddedDate: null;
58
+ OpenIDDiscoveryDocument: string;
59
+ Issuer: string;
60
+ PayloadSigningCertLocationUri: string;
61
+ CreatedAt: number;
62
+ ParentAuthorisationServerId: null;
63
+ DeprecatedDate: null;
64
+ RetirementDate: null;
65
+ SupersededByAuthorisationServerId: null;
66
+ })[];
67
+ OrgDomainClaims: {
68
+ AuthorisationDomainName: string;
69
+ AuthorityName: string;
70
+ RegistrationId: string;
71
+ Status: string;
72
+ }[];
73
+ OrgDomainRoleClaims: {
74
+ Status: string;
75
+ AuthorisationDomain: string;
76
+ Role: string;
77
+ Authorisations: never[];
78
+ RegistrationId: string;
79
+ RoleType: string;
80
+ Exclusive: boolean;
81
+ Metadata: {
82
+ MetadataId: string;
83
+ DomainRoleName: string;
84
+ Type: string;
85
+ Name: string;
86
+ }[];
87
+ }[];
88
+ } | {
89
+ OrganisationId: string;
90
+ Status: string;
91
+ OrganisationName: string;
92
+ CreatedOn: string;
93
+ LegalEntityName: string;
94
+ CountryOfRegistration: string;
95
+ CompanyRegister: string;
96
+ Tag: never[];
97
+ Size: string;
98
+ RegistrationNumber: string;
99
+ RegistrationId: null;
100
+ RegisteredName: null;
101
+ AddressLine1: string;
102
+ AddressLine2: null;
103
+ City: string;
104
+ Postcode: string;
105
+ Country: string;
106
+ ParentOrganisationReference: string;
107
+ AuthorisationServers: {
108
+ AuthorisationServerId: string;
109
+ AutoRegistrationSupported: boolean;
110
+ AutoRegistrationNotificationWebhook: null;
111
+ SupportsCiba: boolean;
112
+ SupportsDCR: boolean;
113
+ SupportsRedirect: boolean;
114
+ ApiResources: never[];
115
+ AuthorisationServerCertifications: {
116
+ CertificationStartDate: string;
117
+ CertificationExpirationDate: string;
118
+ CertificationId: string;
119
+ AuthorisationServerId: string;
120
+ Status: string;
121
+ ProfileVariant: string;
122
+ ProfileType: string;
123
+ ProfileVersion: number;
124
+ CertificationURI: string;
125
+ }[];
126
+ CustomerFriendlyDescription: string;
127
+ CustomerFriendlyLogoUri: string;
128
+ CustomerFriendlyName: string;
129
+ DeveloperPortalUri: string;
130
+ TermsOfServiceUri: string;
131
+ NotificationWebhookAddedDate: string;
132
+ OpenIDDiscoveryDocument: string;
133
+ Issuer: string;
134
+ PayloadSigningCertLocationUri: string;
135
+ CreatedAt: number;
136
+ ParentAuthorisationServerId: null;
137
+ DeprecatedDate: null;
138
+ RetirementDate: null;
139
+ SupersededByAuthorisationServerId: null;
140
+ }[];
141
+ OrgDomainClaims: {
142
+ AuthorisationDomainName: string;
143
+ AuthorityName: string;
144
+ RegistrationId: string;
145
+ Status: string;
146
+ }[];
147
+ OrgDomainRoleClaims: {
148
+ Status: string;
149
+ AuthorisationDomain: string;
150
+ Role: string;
151
+ Authorisations: {
152
+ Status: string;
153
+ MemberState: string;
154
+ }[];
155
+ RegistrationId: string;
156
+ RoleType: string;
157
+ Exclusive: boolean;
158
+ Metadata: {
159
+ MetadataId: string;
160
+ DomainRoleName: string;
161
+ Type: string;
162
+ Name: string;
163
+ }[];
164
+ }[];
165
+ } | {
166
+ OrganisationId: string;
167
+ Status: string;
168
+ OrganisationName: string;
169
+ CreatedOn: string;
170
+ LegalEntityName: string;
171
+ CountryOfRegistration: string;
172
+ CompanyRegister: string;
173
+ Tag: never[];
174
+ Size: string;
175
+ RegistrationNumber: string;
176
+ RegistrationId: null;
177
+ RegisteredName: string;
178
+ AddressLine1: string;
179
+ AddressLine2: null;
180
+ City: string;
181
+ Postcode: string;
182
+ Country: string;
183
+ ParentOrganisationReference: string;
184
+ AuthorisationServers: {
185
+ AuthorisationServerId: string;
186
+ AutoRegistrationSupported: boolean;
187
+ AutoRegistrationNotificationWebhook: string;
188
+ SupportsCiba: boolean;
189
+ SupportsDCR: boolean;
190
+ SupportsRedirect: boolean;
191
+ ApiResources: never[];
192
+ AuthorisationServerCertifications: never[];
193
+ CustomerFriendlyDescription: string;
194
+ CustomerFriendlyLogoUri: string;
195
+ CustomerFriendlyName: string;
196
+ DeveloperPortalUri: null;
197
+ TermsOfServiceUri: null;
198
+ NotificationWebhookAddedDate: null;
199
+ OpenIDDiscoveryDocument: string;
200
+ Issuer: string;
201
+ PayloadSigningCertLocationUri: string;
202
+ CreatedAt: number;
203
+ ParentAuthorisationServerId: null;
204
+ DeprecatedDate: null;
205
+ RetirementDate: null;
206
+ SupersededByAuthorisationServerId: null;
207
+ }[];
208
+ OrgDomainClaims: {
209
+ AuthorisationDomainName: string;
210
+ AuthorityName: string;
211
+ RegistrationId: string;
212
+ Status: string;
213
+ }[];
214
+ OrgDomainRoleClaims: ({
215
+ Status: string;
216
+ AuthorisationDomain: string;
217
+ Role: string;
218
+ Authorisations: never[];
219
+ RegistrationId: string;
220
+ RoleType: string;
221
+ Exclusive: boolean;
222
+ Metadata: {
223
+ MetadataId: string;
224
+ DomainRoleName: string;
225
+ Type: string;
226
+ Name: string;
227
+ }[];
228
+ } | {
229
+ Status: string;
230
+ AuthorisationDomain: string;
231
+ Role: string;
232
+ Authorisations: {
233
+ Status: string;
234
+ MemberState: string;
235
+ }[];
236
+ RegistrationId: string;
237
+ RoleType: string;
238
+ Exclusive: boolean;
239
+ Metadata: never[];
240
+ })[];
241
+ } | {
242
+ OrganisationId: string;
243
+ Status: string;
244
+ OrganisationName: string;
245
+ CreatedOn: string;
246
+ LegalEntityName: string;
247
+ CountryOfRegistration: string;
248
+ CompanyRegister: string;
249
+ Tag: never[];
250
+ Size: string;
251
+ RegistrationNumber: string;
252
+ RegistrationId: null;
253
+ RegisteredName: string;
254
+ AddressLine1: string;
255
+ AddressLine2: string;
256
+ City: string;
257
+ Postcode: string;
258
+ Country: string;
259
+ ParentOrganisationReference: string;
260
+ AuthorisationServers: ({
261
+ AuthorisationServerId: string;
262
+ AutoRegistrationSupported: boolean;
263
+ AutoRegistrationNotificationWebhook: string;
264
+ SupportsCiba: boolean;
265
+ SupportsDCR: boolean;
266
+ SupportsRedirect: boolean;
267
+ ApiResources: never[];
268
+ AuthorisationServerCertifications: {
269
+ CertificationStartDate: string;
270
+ CertificationExpirationDate: string;
271
+ CertificationId: string;
272
+ AuthorisationServerId: string;
273
+ Status: string;
274
+ ProfileVariant: string;
275
+ ProfileType: string;
276
+ ProfileVersion: number;
277
+ CertificationURI: string;
278
+ }[];
279
+ CustomerFriendlyDescription: string;
280
+ CustomerFriendlyLogoUri: string;
281
+ CustomerFriendlyName: string;
282
+ DeveloperPortalUri: null;
283
+ TermsOfServiceUri: null;
284
+ NotificationWebhookAddedDate: null;
285
+ OpenIDDiscoveryDocument: string;
286
+ Issuer: string;
287
+ PayloadSigningCertLocationUri: string;
288
+ CreatedAt: number;
289
+ ParentAuthorisationServerId: null;
290
+ DeprecatedDate: null;
291
+ RetirementDate: null;
292
+ SupersededByAuthorisationServerId: null;
293
+ } | {
294
+ AuthorisationServerId: string;
295
+ AutoRegistrationSupported: boolean;
296
+ AutoRegistrationNotificationWebhook: string;
297
+ SupportsCiba: boolean;
298
+ SupportsDCR: boolean;
299
+ SupportsRedirect: boolean;
300
+ ApiResources: never[];
301
+ AuthorisationServerCertifications: {
302
+ CertificationStartDate: string;
303
+ CertificationExpirationDate: string;
304
+ CertificationId: string;
305
+ AuthorisationServerId: string;
306
+ Status: string;
307
+ ProfileVariant: string;
308
+ ProfileType: string;
309
+ ProfileVersion: number;
310
+ CertificationURI: string;
311
+ }[];
312
+ CustomerFriendlyDescription: string;
313
+ CustomerFriendlyLogoUri: string;
314
+ CustomerFriendlyName: string;
315
+ DeveloperPortalUri: string;
316
+ TermsOfServiceUri: null;
317
+ NotificationWebhookAddedDate: null;
318
+ OpenIDDiscoveryDocument: string;
319
+ Issuer: string;
320
+ PayloadSigningCertLocationUri: string;
321
+ CreatedAt: number;
322
+ ParentAuthorisationServerId: null;
323
+ DeprecatedDate: null;
324
+ RetirementDate: null;
325
+ SupersededByAuthorisationServerId: null;
326
+ } | {
327
+ AuthorisationServerId: string;
328
+ AutoRegistrationSupported: boolean;
329
+ AutoRegistrationNotificationWebhook: string;
330
+ SupportsCiba: boolean;
331
+ SupportsDCR: boolean;
332
+ SupportsRedirect: boolean;
333
+ ApiResources: never[];
334
+ AuthorisationServerCertifications: {
335
+ CertificationStartDate: string;
336
+ CertificationExpirationDate: string;
337
+ CertificationId: string;
338
+ AuthorisationServerId: string;
339
+ Status: string;
340
+ ProfileVariant: string;
341
+ ProfileType: string;
342
+ ProfileVersion: number;
343
+ CertificationURI: string;
344
+ }[];
345
+ CustomerFriendlyDescription: string;
346
+ CustomerFriendlyLogoUri: string;
347
+ CustomerFriendlyName: string;
348
+ DeveloperPortalUri: null;
349
+ TermsOfServiceUri: null;
350
+ NotificationWebhookAddedDate: string;
351
+ OpenIDDiscoveryDocument: string;
352
+ Issuer: string;
353
+ PayloadSigningCertLocationUri: string;
354
+ CreatedAt: number;
355
+ ParentAuthorisationServerId: null;
356
+ DeprecatedDate: null;
357
+ RetirementDate: null;
358
+ SupersededByAuthorisationServerId: null;
359
+ })[];
360
+ OrgDomainClaims: {
361
+ AuthorisationDomainName: string;
362
+ AuthorityName: string;
363
+ RegistrationId: string;
364
+ Status: string;
365
+ }[];
366
+ OrgDomainRoleClaims: {
367
+ Status: string;
368
+ AuthorisationDomain: string;
369
+ Role: string;
370
+ Authorisations: never[];
371
+ RegistrationId: string;
372
+ RoleType: string;
373
+ Exclusive: boolean;
374
+ Metadata: {
375
+ MetadataId: string;
376
+ DomainRoleName: string;
377
+ Type: string;
378
+ Name: string;
379
+ }[];
380
+ }[];
381
+ } | {
382
+ OrganisationId: string;
383
+ Status: string;
384
+ OrganisationName: string;
385
+ CreatedOn: string;
386
+ LegalEntityName: string;
387
+ CountryOfRegistration: string;
388
+ CompanyRegister: string;
389
+ Tag: never[];
390
+ Size: string;
391
+ RegistrationNumber: string;
392
+ RegistrationId: string;
393
+ RegisteredName: string;
394
+ AddressLine1: string;
395
+ AddressLine2: string;
396
+ City: string;
397
+ Postcode: string;
398
+ Country: string;
399
+ ParentOrganisationReference: string;
400
+ AuthorisationServers: {
401
+ AuthorisationServerId: string;
402
+ AutoRegistrationSupported: boolean;
403
+ AutoRegistrationNotificationWebhook: null;
404
+ SupportsCiba: boolean;
405
+ SupportsDCR: boolean;
406
+ SupportsRedirect: boolean;
407
+ ApiResources: never[];
408
+ AuthorisationServerCertifications: {
409
+ CertificationStartDate: string;
410
+ CertificationExpirationDate: string;
411
+ CertificationId: string;
412
+ AuthorisationServerId: string;
413
+ Status: string;
414
+ ProfileVariant: string;
415
+ ProfileType: string;
416
+ ProfileVersion: number;
417
+ CertificationURI: string;
418
+ }[];
419
+ CustomerFriendlyDescription: string;
420
+ CustomerFriendlyLogoUri: string;
421
+ CustomerFriendlyName: string;
422
+ DeveloperPortalUri: null;
423
+ TermsOfServiceUri: null;
424
+ NotificationWebhookAddedDate: null;
425
+ OpenIDDiscoveryDocument: string;
426
+ Issuer: string;
427
+ PayloadSigningCertLocationUri: string;
428
+ CreatedAt: number;
429
+ ParentAuthorisationServerId: null;
430
+ DeprecatedDate: null;
431
+ RetirementDate: null;
432
+ SupersededByAuthorisationServerId: null;
433
+ }[];
434
+ OrgDomainClaims: {
435
+ AuthorisationDomainName: string;
436
+ AuthorityName: string;
437
+ RegistrationId: string;
438
+ Status: string;
439
+ }[];
440
+ OrgDomainRoleClaims: {
441
+ Status: string;
442
+ AuthorisationDomain: string;
443
+ Role: string;
444
+ Authorisations: never[];
445
+ RegistrationId: string;
446
+ RoleType: string;
447
+ Exclusive: boolean;
448
+ Metadata: {
449
+ MetadataId: string;
450
+ DomainRoleName: string;
451
+ Type: string;
452
+ Name: string;
453
+ }[];
454
+ }[];
455
+ } | {
456
+ OrganisationId: string;
457
+ Status: string;
458
+ OrganisationName: string;
459
+ CreatedOn: string;
460
+ LegalEntityName: string;
461
+ CountryOfRegistration: string;
462
+ CompanyRegister: string;
463
+ Tag: never[];
464
+ Size: string;
465
+ RegistrationNumber: string;
466
+ RegistrationId: string;
467
+ RegisteredName: string;
468
+ AddressLine1: string;
469
+ AddressLine2: string;
470
+ City: string;
471
+ Postcode: string;
472
+ Country: string;
473
+ ParentOrganisationReference: string;
474
+ AuthorisationServers: {
475
+ AuthorisationServerId: string;
476
+ AutoRegistrationSupported: boolean;
477
+ AutoRegistrationNotificationWebhook: null;
478
+ SupportsCiba: boolean;
479
+ SupportsDCR: boolean;
480
+ SupportsRedirect: boolean;
481
+ ApiResources: never[];
482
+ AuthorisationServerCertifications: never[];
483
+ CustomerFriendlyDescription: string;
484
+ CustomerFriendlyLogoUri: string;
485
+ CustomerFriendlyName: string;
486
+ DeveloperPortalUri: string;
487
+ TermsOfServiceUri: string;
488
+ NotificationWebhookAddedDate: null;
489
+ OpenIDDiscoveryDocument: string;
490
+ Issuer: string;
491
+ PayloadSigningCertLocationUri: string;
492
+ CreatedAt: number;
493
+ ParentAuthorisationServerId: null;
494
+ DeprecatedDate: null;
495
+ RetirementDate: null;
496
+ SupersededByAuthorisationServerId: null;
497
+ }[];
498
+ OrgDomainClaims: {
499
+ AuthorisationDomainName: string;
500
+ AuthorityName: string;
501
+ RegistrationId: string;
502
+ Status: string;
503
+ }[];
504
+ OrgDomainRoleClaims: {
505
+ Status: string;
506
+ AuthorisationDomain: string;
507
+ Role: string;
508
+ Authorisations: never[];
509
+ RegistrationId: string;
510
+ RoleType: string;
511
+ Exclusive: boolean;
512
+ Metadata: {
513
+ MetadataId: string;
514
+ DomainRoleName: string;
515
+ Type: string;
516
+ Name: string;
517
+ }[];
518
+ }[];
519
+ } | {
520
+ OrganisationId: string;
521
+ Status: string;
522
+ OrganisationName: string;
523
+ CreatedOn: string;
524
+ LegalEntityName: string;
525
+ CountryOfRegistration: string;
526
+ CompanyRegister: string;
527
+ Tag: never[];
528
+ Size: string;
529
+ RegistrationNumber: string;
530
+ RegistrationId: null;
531
+ RegisteredName: string;
532
+ AddressLine1: string;
533
+ AddressLine2: string;
534
+ City: string;
535
+ Postcode: string;
536
+ Country: string;
537
+ ParentOrganisationReference: string;
538
+ AuthorisationServers: {
539
+ AuthorisationServerId: string;
540
+ AutoRegistrationSupported: boolean;
541
+ AutoRegistrationNotificationWebhook: null;
542
+ SupportsCiba: boolean;
543
+ SupportsDCR: boolean;
544
+ SupportsRedirect: boolean;
545
+ ApiResources: never[];
546
+ AuthorisationServerCertifications: {
547
+ CertificationStartDate: string;
548
+ CertificationExpirationDate: string;
549
+ CertificationId: string;
550
+ AuthorisationServerId: string;
551
+ Status: string;
552
+ ProfileVariant: string;
553
+ ProfileType: string;
554
+ ProfileVersion: number;
555
+ CertificationURI: string;
556
+ }[];
557
+ CustomerFriendlyDescription: string;
558
+ CustomerFriendlyLogoUri: string;
559
+ CustomerFriendlyName: string;
560
+ DeveloperPortalUri: null;
561
+ TermsOfServiceUri: null;
562
+ NotificationWebhookAddedDate: null;
563
+ OpenIDDiscoveryDocument: string;
564
+ Issuer: string;
565
+ PayloadSigningCertLocationUri: string;
566
+ CreatedAt: number;
567
+ ParentAuthorisationServerId: null;
568
+ DeprecatedDate: null;
569
+ RetirementDate: null;
570
+ SupersededByAuthorisationServerId: null;
571
+ }[];
572
+ OrgDomainClaims: {
573
+ AuthorisationDomainName: string;
574
+ AuthorityName: string;
575
+ RegistrationId: string;
576
+ Status: string;
577
+ }[];
578
+ OrgDomainRoleClaims: {
579
+ Status: string;
580
+ AuthorisationDomain: string;
581
+ Role: string;
582
+ Authorisations: never[];
583
+ RegistrationId: string;
584
+ RoleType: string;
585
+ Exclusive: boolean;
586
+ Metadata: {
587
+ MetadataId: string;
588
+ DomainRoleName: string;
589
+ Type: string;
590
+ Name: string;
591
+ }[];
592
+ }[];
593
+ } | {
594
+ OrganisationId: string;
595
+ Status: string;
596
+ OrganisationName: string;
597
+ CreatedOn: string;
598
+ LegalEntityName: string;
599
+ CountryOfRegistration: string;
600
+ CompanyRegister: string;
601
+ Tag: never[];
602
+ Size: string;
603
+ RegistrationNumber: string;
604
+ RegistrationId: null;
605
+ RegisteredName: string;
606
+ AddressLine1: string;
607
+ AddressLine2: null;
608
+ City: string;
609
+ Postcode: string;
610
+ Country: string;
611
+ ParentOrganisationReference: string;
612
+ AuthorisationServers: {
613
+ AuthorisationServerId: string;
614
+ AutoRegistrationSupported: boolean;
615
+ AutoRegistrationNotificationWebhook: string;
616
+ SupportsCiba: boolean;
617
+ SupportsDCR: boolean;
618
+ SupportsRedirect: boolean;
619
+ ApiResources: never[];
620
+ AuthorisationServerCertifications: never[];
621
+ CustomerFriendlyDescription: string;
622
+ CustomerFriendlyLogoUri: string;
623
+ CustomerFriendlyName: string;
624
+ DeveloperPortalUri: null;
625
+ TermsOfServiceUri: null;
626
+ NotificationWebhookAddedDate: null;
627
+ OpenIDDiscoveryDocument: string;
628
+ Issuer: string;
629
+ PayloadSigningCertLocationUri: string;
630
+ CreatedAt: number;
631
+ ParentAuthorisationServerId: null;
632
+ DeprecatedDate: string;
633
+ RetirementDate: string;
634
+ SupersededByAuthorisationServerId: null;
635
+ }[];
636
+ OrgDomainClaims: {
637
+ AuthorisationDomainName: string;
638
+ AuthorityName: string;
639
+ RegistrationId: string;
640
+ Status: string;
641
+ }[];
642
+ OrgDomainRoleClaims: {
643
+ Status: string;
644
+ AuthorisationDomain: string;
645
+ Role: string;
646
+ Authorisations: {
647
+ Status: string;
648
+ MemberState: string;
649
+ }[];
650
+ RegistrationId: string;
651
+ RoleType: string;
652
+ Exclusive: boolean;
653
+ Metadata: {
654
+ MetadataId: string;
655
+ DomainRoleName: string;
656
+ Type: string;
657
+ Name: string;
658
+ }[];
659
+ }[];
660
+ } | {
661
+ OrganisationId: string;
662
+ Status: string;
663
+ OrganisationName: string;
664
+ CreatedOn: string;
665
+ LegalEntityName: string;
666
+ CountryOfRegistration: string;
667
+ CompanyRegister: string;
668
+ Tag: never[];
669
+ Size: string;
670
+ RegistrationNumber: string;
671
+ RegistrationId: null;
672
+ RegisteredName: string;
673
+ AddressLine1: string;
674
+ AddressLine2: null;
675
+ City: string;
676
+ Postcode: string;
677
+ Country: string;
678
+ ParentOrganisationReference: string;
679
+ AuthorisationServers: {
680
+ AuthorisationServerId: string;
681
+ AutoRegistrationSupported: boolean;
682
+ AutoRegistrationNotificationWebhook: string;
683
+ SupportsCiba: boolean;
684
+ SupportsDCR: boolean;
685
+ SupportsRedirect: boolean;
686
+ ApiResources: never[];
687
+ AuthorisationServerCertifications: never[];
688
+ CustomerFriendlyDescription: string;
689
+ CustomerFriendlyLogoUri: string;
690
+ CustomerFriendlyName: string;
691
+ DeveloperPortalUri: string;
692
+ TermsOfServiceUri: null;
693
+ NotificationWebhookAddedDate: null;
694
+ OpenIDDiscoveryDocument: string;
695
+ Issuer: string;
696
+ PayloadSigningCertLocationUri: string;
697
+ CreatedAt: number;
698
+ ParentAuthorisationServerId: null;
699
+ DeprecatedDate: null;
700
+ RetirementDate: null;
701
+ SupersededByAuthorisationServerId: null;
702
+ }[];
703
+ OrgDomainClaims: {
704
+ AuthorisationDomainName: string;
705
+ AuthorityName: string;
706
+ RegistrationId: string;
707
+ Status: string;
708
+ }[];
709
+ OrgDomainRoleClaims: {
710
+ Status: string;
711
+ AuthorisationDomain: string;
712
+ Role: string;
713
+ Authorisations: {
714
+ Status: string;
715
+ MemberState: string;
716
+ }[];
717
+ RegistrationId: string;
718
+ RoleType: string;
719
+ Exclusive: boolean;
720
+ Metadata: {
721
+ MetadataId: string;
722
+ DomainRoleName: string;
723
+ Type: string;
724
+ Name: string;
725
+ }[];
726
+ }[];
727
+ } | {
728
+ OrganisationId: string;
729
+ Status: string;
730
+ OrganisationName: string;
731
+ CreatedOn: string;
732
+ LegalEntityName: string;
733
+ CountryOfRegistration: string;
734
+ CompanyRegister: string;
735
+ Tag: never[];
736
+ Size: string;
737
+ RegistrationNumber: string;
738
+ RegistrationId: string;
739
+ RegisteredName: string;
740
+ AddressLine1: string;
741
+ AddressLine2: string;
742
+ City: string;
743
+ Postcode: string;
744
+ Country: string;
745
+ ParentOrganisationReference: string;
746
+ AuthorisationServers: {
747
+ AuthorisationServerId: string;
748
+ AutoRegistrationSupported: boolean;
749
+ AutoRegistrationNotificationWebhook: null;
750
+ SupportsCiba: boolean;
751
+ SupportsDCR: boolean;
752
+ SupportsRedirect: boolean;
753
+ ApiResources: never[];
754
+ AuthorisationServerCertifications: never[];
755
+ CustomerFriendlyDescription: string;
756
+ CustomerFriendlyLogoUri: string;
757
+ CustomerFriendlyName: string;
758
+ DeveloperPortalUri: string;
759
+ TermsOfServiceUri: string;
760
+ NotificationWebhookAddedDate: string;
761
+ OpenIDDiscoveryDocument: string;
762
+ Issuer: string;
763
+ PayloadSigningCertLocationUri: string;
764
+ CreatedAt: number;
765
+ ParentAuthorisationServerId: null;
766
+ DeprecatedDate: null;
767
+ RetirementDate: null;
768
+ SupersededByAuthorisationServerId: null;
769
+ }[];
770
+ OrgDomainClaims: {
771
+ AuthorisationDomainName: string;
772
+ AuthorityName: string;
773
+ RegistrationId: string;
774
+ Status: string;
775
+ }[];
776
+ OrgDomainRoleClaims: {
777
+ Status: string;
778
+ AuthorisationDomain: string;
779
+ Role: string;
780
+ Authorisations: never[];
781
+ RegistrationId: string;
782
+ RoleType: string;
783
+ Exclusive: boolean;
784
+ Metadata: {
785
+ MetadataId: string;
786
+ DomainRoleName: string;
787
+ Type: string;
788
+ Name: string;
789
+ }[];
790
+ }[];
791
+ } | {
792
+ OrganisationId: string;
793
+ Status: string;
794
+ OrganisationName: string;
795
+ CreatedOn: string;
796
+ LegalEntityName: string;
797
+ CountryOfRegistration: string;
798
+ CompanyRegister: string;
799
+ Tag: never[];
800
+ Size: string;
801
+ RegistrationNumber: string;
802
+ RegistrationId: null;
803
+ RegisteredName: string;
804
+ AddressLine1: string;
805
+ AddressLine2: string;
806
+ City: string;
807
+ Postcode: string;
808
+ Country: string;
809
+ ParentOrganisationReference: string;
810
+ AuthorisationServers: {
811
+ AuthorisationServerId: string;
812
+ AutoRegistrationSupported: boolean;
813
+ AutoRegistrationNotificationWebhook: null;
814
+ SupportsCiba: boolean;
815
+ SupportsDCR: boolean;
816
+ SupportsRedirect: boolean;
817
+ ApiResources: never[];
818
+ AuthorisationServerCertifications: {
819
+ CertificationStartDate: string;
820
+ CertificationExpirationDate: string;
821
+ CertificationId: string;
822
+ AuthorisationServerId: string;
823
+ Status: string;
824
+ ProfileVariant: string;
825
+ ProfileType: string;
826
+ ProfileVersion: number;
827
+ CertificationURI: string;
828
+ }[];
829
+ CustomerFriendlyDescription: string;
830
+ CustomerFriendlyLogoUri: string;
831
+ CustomerFriendlyName: string;
832
+ DeveloperPortalUri: null;
833
+ TermsOfServiceUri: null;
834
+ NotificationWebhookAddedDate: null;
835
+ OpenIDDiscoveryDocument: string;
836
+ Issuer: string;
837
+ PayloadSigningCertLocationUri: string;
838
+ CreatedAt: number;
839
+ ParentAuthorisationServerId: null;
840
+ DeprecatedDate: string;
841
+ RetirementDate: string;
842
+ SupersededByAuthorisationServerId: null;
843
+ }[];
844
+ OrgDomainClaims: {
845
+ AuthorisationDomainName: string;
846
+ AuthorityName: string;
847
+ RegistrationId: string;
848
+ Status: string;
849
+ }[];
850
+ OrgDomainRoleClaims: {
851
+ Status: string;
852
+ AuthorisationDomain: string;
853
+ Role: string;
854
+ Authorisations: never[];
855
+ RegistrationId: string;
856
+ RoleType: string;
857
+ Exclusive: boolean;
858
+ Metadata: {
859
+ MetadataId: string;
860
+ DomainRoleName: string;
861
+ Type: string;
862
+ Name: string;
863
+ }[];
864
+ }[];
865
+ })[];