@iblai/iblai-api 2025.11.14-teams-bot-renovation-3-core → 2025.11.18-teams-bot-renovation-core
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/index.cjs.js +324 -141
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +324 -141
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +324 -141
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/models/CredentialProviderConfig.d.ts +29 -0
- package/dist/types/models/ExternalCredentialMapping.d.ts +39 -0
- package/dist/types/services/CredentialsService.d.ts +236 -69
- package/package.json +1 -1
- package/sdk_schema.yml +455 -82
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +2 -0
- package/src/models/CredentialProviderConfig.ts +34 -0
- package/src/models/ExternalCredentialMapping.ts +44 -0
- package/src/services/CredentialsService.ts +961 -756
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { Assertion } from '../models/Assertion';
|
|
2
2
|
import type { BulkCreateAssertion } from '../models/BulkCreateAssertion';
|
|
3
3
|
import type { Credential } from '../models/Credential';
|
|
4
|
+
import type { CredentialProviderConfig } from '../models/CredentialProviderConfig';
|
|
5
|
+
import type { ExternalCredentialMapping } from '../models/ExternalCredentialMapping';
|
|
4
6
|
import type { Issuer } from '../models/Issuer';
|
|
5
7
|
import type { IssuerAuthority } from '../models/IssuerAuthority';
|
|
6
8
|
import type { OverTime } from '../models/OverTime';
|
|
@@ -52,8 +54,9 @@ export declare class CredentialsService {
|
|
|
52
54
|
* @returns Credential
|
|
53
55
|
* @throws ApiError
|
|
54
56
|
*/
|
|
55
|
-
static credentialsOrgsUsersRetrieve({
|
|
56
|
-
|
|
57
|
+
static credentialsOrgsUsersRetrieve({ platformKey, username, }: {
|
|
58
|
+
platformKey: string;
|
|
59
|
+
username: string;
|
|
57
60
|
}): CancelablePromise<Credential>;
|
|
58
61
|
/**
|
|
59
62
|
* API View for managing credentials across a platform.
|
|
@@ -135,8 +138,9 @@ export declare class CredentialsService {
|
|
|
135
138
|
* @returns Credential
|
|
136
139
|
* @throws ApiError
|
|
137
140
|
*/
|
|
138
|
-
static credentialsOrgsUsersCreate({
|
|
139
|
-
|
|
141
|
+
static credentialsOrgsUsersCreate({ platformKey, username, requestBody, }: {
|
|
142
|
+
platformKey: string;
|
|
143
|
+
username: string;
|
|
140
144
|
requestBody: Credential;
|
|
141
145
|
}): CancelablePromise<Credential>;
|
|
142
146
|
/**
|
|
@@ -197,9 +201,10 @@ export declare class CredentialsService {
|
|
|
197
201
|
* @returns Credential
|
|
198
202
|
* @throws ApiError
|
|
199
203
|
*/
|
|
200
|
-
static credentialsOrgsUsersRetrieve2({ entityId,
|
|
204
|
+
static credentialsOrgsUsersRetrieve2({ entityId, platformKey, username, }: {
|
|
201
205
|
entityId: string;
|
|
202
|
-
|
|
206
|
+
platformKey: string;
|
|
207
|
+
username: string;
|
|
203
208
|
}): CancelablePromise<Credential>;
|
|
204
209
|
/**
|
|
205
210
|
* API View for managing individual credentials.
|
|
@@ -259,9 +264,10 @@ export declare class CredentialsService {
|
|
|
259
264
|
* @returns Credential
|
|
260
265
|
* @throws ApiError
|
|
261
266
|
*/
|
|
262
|
-
static credentialsOrgsUsersUpdate({ entityId,
|
|
267
|
+
static credentialsOrgsUsersUpdate({ entityId, platformKey, username, requestBody, }: {
|
|
263
268
|
entityId: string;
|
|
264
|
-
|
|
269
|
+
platformKey: string;
|
|
270
|
+
username: string;
|
|
265
271
|
requestBody: Credential;
|
|
266
272
|
}): CancelablePromise<Credential>;
|
|
267
273
|
/**
|
|
@@ -322,9 +328,10 @@ export declare class CredentialsService {
|
|
|
322
328
|
* @returns void
|
|
323
329
|
* @throws ApiError
|
|
324
330
|
*/
|
|
325
|
-
static credentialsOrgsUsersDestroy({ entityId,
|
|
331
|
+
static credentialsOrgsUsersDestroy({ entityId, platformKey, username, }: {
|
|
326
332
|
entityId: string;
|
|
327
|
-
|
|
333
|
+
platformKey: string;
|
|
334
|
+
username: string;
|
|
328
335
|
}): CancelablePromise<void>;
|
|
329
336
|
/**
|
|
330
337
|
* Endpoint to issue and retrieve credential assertions for a specific credential.
|
|
@@ -358,9 +365,10 @@ export declare class CredentialsService {
|
|
|
358
365
|
* @returns PaginatedAssertionsResponse
|
|
359
366
|
* @throws ApiError
|
|
360
367
|
*/
|
|
361
|
-
static credentialsOrgsUsersAssertionsRetrieve3({ entityId,
|
|
368
|
+
static credentialsOrgsUsersAssertionsRetrieve3({ entityId, platformKey, username, }: {
|
|
362
369
|
entityId: string;
|
|
363
|
-
|
|
370
|
+
platformKey: string;
|
|
371
|
+
username: string;
|
|
364
372
|
}): CancelablePromise<PaginatedAssertionsResponse>;
|
|
365
373
|
/**
|
|
366
374
|
* Endpoint to issue and retrieve credential assertions for a specific credential.
|
|
@@ -394,9 +402,10 @@ export declare class CredentialsService {
|
|
|
394
402
|
* @returns Assertion
|
|
395
403
|
* @throws ApiError
|
|
396
404
|
*/
|
|
397
|
-
static credentialsOrgsUsersAssertionsCreate({ entityId,
|
|
405
|
+
static credentialsOrgsUsersAssertionsCreate({ entityId, platformKey, username, requestBody, }: {
|
|
398
406
|
entityId: string;
|
|
399
|
-
|
|
407
|
+
platformKey: string;
|
|
408
|
+
username: string;
|
|
400
409
|
requestBody: Assertion;
|
|
401
410
|
}): CancelablePromise<Assertion>;
|
|
402
411
|
/**
|
|
@@ -430,9 +439,10 @@ export declare class CredentialsService {
|
|
|
430
439
|
* @returns BulkCreateAssertion
|
|
431
440
|
* @throws ApiError
|
|
432
441
|
*/
|
|
433
|
-
static credentialsOrgsUsersAssertionsBulkCreate({ entityId,
|
|
442
|
+
static credentialsOrgsUsersAssertionsBulkCreate({ entityId, platformKey, username, requestBody, }: {
|
|
434
443
|
entityId: string;
|
|
435
|
-
|
|
444
|
+
platformKey: string;
|
|
445
|
+
username: string;
|
|
436
446
|
requestBody: BulkCreateAssertion;
|
|
437
447
|
}): CancelablePromise<BulkCreateAssertion>;
|
|
438
448
|
/**
|
|
@@ -462,8 +472,9 @@ export declare class CredentialsService {
|
|
|
462
472
|
* @returns PaginatedAssertionsResponse
|
|
463
473
|
* @throws ApiError
|
|
464
474
|
*/
|
|
465
|
-
static credentialsOrgsUsersAssertionsRetrieve({
|
|
466
|
-
|
|
475
|
+
static credentialsOrgsUsersAssertionsRetrieve({ platformKey, username, course, excludeMainTenantAssertions, includeExpired, includeRevoked, page, pageSize, }: {
|
|
476
|
+
platformKey: string;
|
|
477
|
+
username: string;
|
|
467
478
|
course?: string;
|
|
468
479
|
excludeMainTenantAssertions?: boolean;
|
|
469
480
|
includeExpired?: boolean;
|
|
@@ -476,22 +487,28 @@ export declare class CredentialsService {
|
|
|
476
487
|
* @returns OvertimeWithChangeInfo
|
|
477
488
|
* @throws ApiError
|
|
478
489
|
*/
|
|
479
|
-
static credentialsOrgsUsersAssertionsOverTimeRetrieve({
|
|
480
|
-
|
|
490
|
+
static credentialsOrgsUsersAssertionsOverTimeRetrieve({ platformKey, username, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
491
|
+
platformKey: string;
|
|
492
|
+
username: string;
|
|
493
|
+
/**
|
|
481
494
|
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
482
495
|
*/
|
|
483
|
-
departmentId?: number;
|
|
496
|
+
departmentId?: number;
|
|
497
|
+
/**
|
|
484
498
|
* end date. ISO 8601
|
|
485
499
|
*/
|
|
486
|
-
endDate?: string;
|
|
500
|
+
endDate?: string;
|
|
501
|
+
/**
|
|
487
502
|
* Format
|
|
488
503
|
*
|
|
489
504
|
* * `json` - json
|
|
490
505
|
*/
|
|
491
|
-
format?: 'json';
|
|
506
|
+
format?: 'json';
|
|
507
|
+
/**
|
|
492
508
|
* Include main platform data
|
|
493
509
|
*/
|
|
494
|
-
includeMainPlatform?: boolean;
|
|
510
|
+
includeMainPlatform?: boolean;
|
|
511
|
+
/**
|
|
495
512
|
* start date. ISO 8601
|
|
496
513
|
*/
|
|
497
514
|
startDate?: string;
|
|
@@ -529,9 +546,10 @@ export declare class CredentialsService {
|
|
|
529
546
|
* @returns Assertion
|
|
530
547
|
* @throws ApiError
|
|
531
548
|
*/
|
|
532
|
-
static credentialsOrgsUsersAssertionsRetrieve2({ entityId,
|
|
549
|
+
static credentialsOrgsUsersAssertionsRetrieve2({ entityId, platformKey, username, }: {
|
|
533
550
|
entityId: string;
|
|
534
|
-
|
|
551
|
+
platformKey: string;
|
|
552
|
+
username: string;
|
|
535
553
|
}): CancelablePromise<Assertion>;
|
|
536
554
|
/**
|
|
537
555
|
* Endpoint to retrieve and update a specific credential assertion.
|
|
@@ -566,9 +584,10 @@ export declare class CredentialsService {
|
|
|
566
584
|
* @returns Assertion
|
|
567
585
|
* @throws ApiError
|
|
568
586
|
*/
|
|
569
|
-
static credentialsOrgsUsersAssertionsUpdate({ entityId,
|
|
587
|
+
static credentialsOrgsUsersAssertionsUpdate({ entityId, platformKey, username, requestBody, }: {
|
|
570
588
|
entityId: string;
|
|
571
|
-
|
|
589
|
+
platformKey: string;
|
|
590
|
+
username: string;
|
|
572
591
|
requestBody: Assertion;
|
|
573
592
|
}): CancelablePromise<Assertion>;
|
|
574
593
|
/**
|
|
@@ -577,25 +596,28 @@ export declare class CredentialsService {
|
|
|
577
596
|
* @returns void
|
|
578
597
|
* @throws ApiError
|
|
579
598
|
*/
|
|
580
|
-
static credentialsOrgsUsersAssignmentsDestroy({ assignmentId,
|
|
599
|
+
static credentialsOrgsUsersAssignmentsDestroy({ assignmentId, platformKey, username, }: {
|
|
581
600
|
assignmentId: string;
|
|
582
|
-
|
|
601
|
+
platformKey: string;
|
|
602
|
+
username: string;
|
|
583
603
|
}): CancelablePromise<void>;
|
|
584
604
|
/**
|
|
585
605
|
* Get group assignments with department-aware filtering
|
|
586
606
|
* @returns any No response body
|
|
587
607
|
* @throws ApiError
|
|
588
608
|
*/
|
|
589
|
-
static credentialsOrgsUsersAssignmentsGroupsRetrieve({
|
|
590
|
-
|
|
609
|
+
static credentialsOrgsUsersAssignmentsGroupsRetrieve({ platformKey, username, }: {
|
|
610
|
+
platformKey: string;
|
|
611
|
+
username: string;
|
|
591
612
|
}): CancelablePromise<any>;
|
|
592
613
|
/**
|
|
593
614
|
* Create group assignment with department access validation
|
|
594
615
|
* @returns any No response body
|
|
595
616
|
* @throws ApiError
|
|
596
617
|
*/
|
|
597
|
-
static credentialsOrgsUsersAssignmentsGroupsCreate({
|
|
598
|
-
|
|
618
|
+
static credentialsOrgsUsersAssignmentsGroupsCreate({ platformKey, username, }: {
|
|
619
|
+
platformKey: string;
|
|
620
|
+
username: string;
|
|
599
621
|
}): CancelablePromise<any>;
|
|
600
622
|
/**
|
|
601
623
|
* Get assignments and their corresponding assertions based on user role:
|
|
@@ -605,38 +627,46 @@ export declare class CredentialsService {
|
|
|
605
627
|
* @returns any No response body
|
|
606
628
|
* @throws ApiError
|
|
607
629
|
*/
|
|
608
|
-
static credentialsOrgsUsersAssignmentsUsersRetrieve({
|
|
609
|
-
|
|
630
|
+
static credentialsOrgsUsersAssignmentsUsersRetrieve({ platformKey, username, }: {
|
|
631
|
+
platformKey: string;
|
|
632
|
+
username: string;
|
|
610
633
|
}): CancelablePromise<any>;
|
|
611
634
|
/**
|
|
612
635
|
* Create assignments with department access validation
|
|
613
636
|
* @returns any No response body
|
|
614
637
|
* @throws ApiError
|
|
615
638
|
*/
|
|
616
|
-
static credentialsOrgsUsersAssignmentsUsersCreate({
|
|
617
|
-
|
|
639
|
+
static credentialsOrgsUsersAssignmentsUsersCreate({ platformKey, username, }: {
|
|
640
|
+
platformKey: string;
|
|
641
|
+
username: string;
|
|
618
642
|
}): CancelablePromise<any>;
|
|
619
643
|
/**
|
|
620
644
|
* Get all credentials of a given tenant
|
|
621
645
|
* @returns OverTime
|
|
622
646
|
* @throws ApiError
|
|
623
647
|
*/
|
|
624
|
-
static credentialsOrgsUsersCourseAssertionsOverTimeRetrieve({
|
|
625
|
-
|
|
648
|
+
static credentialsOrgsUsersCourseAssertionsOverTimeRetrieve({ platformKey, username, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
649
|
+
platformKey: string;
|
|
650
|
+
username: string;
|
|
651
|
+
/**
|
|
626
652
|
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
627
653
|
*/
|
|
628
|
-
departmentId?: number;
|
|
654
|
+
departmentId?: number;
|
|
655
|
+
/**
|
|
629
656
|
* end date. ISO 8601
|
|
630
657
|
*/
|
|
631
|
-
endDate?: string;
|
|
658
|
+
endDate?: string;
|
|
659
|
+
/**
|
|
632
660
|
* Format
|
|
633
661
|
*
|
|
634
662
|
* * `json` - json
|
|
635
663
|
*/
|
|
636
|
-
format?: 'json';
|
|
664
|
+
format?: 'json';
|
|
665
|
+
/**
|
|
637
666
|
* Include main platform data
|
|
638
667
|
*/
|
|
639
|
-
includeMainPlatform?: boolean;
|
|
668
|
+
includeMainPlatform?: boolean;
|
|
669
|
+
/**
|
|
640
670
|
* start date. ISO 8601
|
|
641
671
|
*/
|
|
642
672
|
startDate?: string;
|
|
@@ -666,11 +696,14 @@ export declare class CredentialsService {
|
|
|
666
696
|
* @returns any No response body
|
|
667
697
|
* @throws ApiError
|
|
668
698
|
*/
|
|
669
|
-
static credentialsOrgsUsersCourseCredentialsList({
|
|
670
|
-
|
|
699
|
+
static credentialsOrgsUsersCourseCredentialsList({ platformKey, username, page, pageSize, }: {
|
|
700
|
+
platformKey: string;
|
|
701
|
+
username: string;
|
|
702
|
+
/**
|
|
671
703
|
* A page number within the paginated result set.
|
|
672
704
|
*/
|
|
673
|
-
page?: number;
|
|
705
|
+
page?: number;
|
|
706
|
+
/**
|
|
674
707
|
* Number of results to return per page.
|
|
675
708
|
*/
|
|
676
709
|
pageSize?: number;
|
|
@@ -680,26 +713,92 @@ export declare class CredentialsService {
|
|
|
680
713
|
* @returns OverTime
|
|
681
714
|
* @throws ApiError
|
|
682
715
|
*/
|
|
683
|
-
static credentialsOrgsUsersCredentialsOverTimeRetrieve({
|
|
684
|
-
|
|
716
|
+
static credentialsOrgsUsersCredentialsOverTimeRetrieve({ platformKey, username, departmentId, endDate, format, includeMainPlatform, startDate, }: {
|
|
717
|
+
platformKey: string;
|
|
718
|
+
username: string;
|
|
719
|
+
/**
|
|
685
720
|
* When `department_mode=1` is passed, it allows to filter data for only user content groups for the specified department
|
|
686
721
|
*/
|
|
687
|
-
departmentId?: number;
|
|
722
|
+
departmentId?: number;
|
|
723
|
+
/**
|
|
688
724
|
* end date. ISO 8601
|
|
689
725
|
*/
|
|
690
|
-
endDate?: string;
|
|
726
|
+
endDate?: string;
|
|
727
|
+
/**
|
|
691
728
|
* Format
|
|
692
729
|
*
|
|
693
730
|
* * `json` - json
|
|
694
731
|
*/
|
|
695
|
-
format?: 'json';
|
|
732
|
+
format?: 'json';
|
|
733
|
+
/**
|
|
696
734
|
* Include main platform data
|
|
697
735
|
*/
|
|
698
|
-
includeMainPlatform?: boolean;
|
|
736
|
+
includeMainPlatform?: boolean;
|
|
737
|
+
/**
|
|
699
738
|
* start date. ISO 8601
|
|
700
739
|
*/
|
|
701
740
|
startDate?: string;
|
|
702
741
|
}): CancelablePromise<OverTime>;
|
|
742
|
+
/**
|
|
743
|
+
* Retrieve external credential mappings for the platform.
|
|
744
|
+
*
|
|
745
|
+
* Query Parameters:
|
|
746
|
+
* credential_id (str, optional): Filter by credential entity_id
|
|
747
|
+
* provider_name (str, optional): Filter by provider name
|
|
748
|
+
* page (int, optional): Page number
|
|
749
|
+
* page_size (int, optional): Items per page
|
|
750
|
+
*
|
|
751
|
+
* Returns all mappings for the platform if the user is an admin.
|
|
752
|
+
* @returns ExternalCredentialMapping
|
|
753
|
+
* @throws ApiError
|
|
754
|
+
*/
|
|
755
|
+
static credentialsOrgsUsersExternalMappingRetrieve({ platformKey, username, }: {
|
|
756
|
+
platformKey: string;
|
|
757
|
+
username: string;
|
|
758
|
+
}): CancelablePromise<ExternalCredentialMapping>;
|
|
759
|
+
/**
|
|
760
|
+
* Create or update an external credential mapping.
|
|
761
|
+
*
|
|
762
|
+
* If a mapping doesn't exist for the credential + platform + provider combination,
|
|
763
|
+
* it will be created. If it exists, it will be updated.
|
|
764
|
+
*
|
|
765
|
+
* Request Body:
|
|
766
|
+
* {
|
|
767
|
+
* "credential_id": "credential-entity-id", // Required
|
|
768
|
+
* "provider_name": "accredible", // Required
|
|
769
|
+
* "external_template_id": "123456", // Optional
|
|
770
|
+
* "metadata": {} // Optional
|
|
771
|
+
* }
|
|
772
|
+
*
|
|
773
|
+
* Returns:
|
|
774
|
+
* - 201 Created: When creating a new mapping
|
|
775
|
+
* - 200 OK: When updating an existing mapping
|
|
776
|
+
* @returns ExternalCredentialMapping
|
|
777
|
+
* @throws ApiError
|
|
778
|
+
*/
|
|
779
|
+
static credentialsOrgsUsersExternalMappingCreate({ platformKey, username, requestBody, }: {
|
|
780
|
+
platformKey: string;
|
|
781
|
+
username: string;
|
|
782
|
+
requestBody: ExternalCredentialMapping;
|
|
783
|
+
}): CancelablePromise<ExternalCredentialMapping>;
|
|
784
|
+
/**
|
|
785
|
+
* Delete an external credential mapping.
|
|
786
|
+
*
|
|
787
|
+
* Request Body:
|
|
788
|
+
* {
|
|
789
|
+
* "credential_id": "credential-entity-id", // Required
|
|
790
|
+
* "provider_name": "accredible" // Required
|
|
791
|
+
* }
|
|
792
|
+
*
|
|
793
|
+
* Returns:
|
|
794
|
+
* A JSON response confirming deletion
|
|
795
|
+
* @returns void
|
|
796
|
+
* @throws ApiError
|
|
797
|
+
*/
|
|
798
|
+
static credentialsOrgsUsersExternalMappingDestroy({ platformKey, username, }: {
|
|
799
|
+
platformKey: string;
|
|
800
|
+
username: string;
|
|
801
|
+
}): CancelablePromise<void>;
|
|
703
802
|
/**
|
|
704
803
|
* API View for managing uploaded images for credentials.
|
|
705
804
|
*
|
|
@@ -757,8 +856,9 @@ export declare class CredentialsService {
|
|
|
757
856
|
* @returns UploadedImage
|
|
758
857
|
* @throws ApiError
|
|
759
858
|
*/
|
|
760
|
-
static credentialsOrgsUsersImagesRetrieve({
|
|
761
|
-
|
|
859
|
+
static credentialsOrgsUsersImagesRetrieve({ platformKey, username, }: {
|
|
860
|
+
platformKey: string;
|
|
861
|
+
username: string;
|
|
762
862
|
}): CancelablePromise<UploadedImage>;
|
|
763
863
|
/**
|
|
764
864
|
* API View for managing uploaded images for credentials.
|
|
@@ -817,8 +917,9 @@ export declare class CredentialsService {
|
|
|
817
917
|
* @returns UploadedImage
|
|
818
918
|
* @throws ApiError
|
|
819
919
|
*/
|
|
820
|
-
static credentialsOrgsUsersImagesCreate({
|
|
821
|
-
|
|
920
|
+
static credentialsOrgsUsersImagesCreate({ platformKey, username, requestBody, }: {
|
|
921
|
+
platformKey: string;
|
|
922
|
+
username: string;
|
|
822
923
|
requestBody?: UploadedImage;
|
|
823
924
|
}): CancelablePromise<UploadedImage>;
|
|
824
925
|
/**
|
|
@@ -886,9 +987,10 @@ export declare class CredentialsService {
|
|
|
886
987
|
* @returns Issuer
|
|
887
988
|
* @throws ApiError
|
|
888
989
|
*/
|
|
889
|
-
static credentialsOrgsUsersIssuersRetrieve({
|
|
890
|
-
|
|
990
|
+
static credentialsOrgsUsersIssuersRetrieve({ platformKey, q, username, }: {
|
|
991
|
+
platformKey: string;
|
|
891
992
|
q: string;
|
|
993
|
+
username: string;
|
|
892
994
|
}): CancelablePromise<Issuer>;
|
|
893
995
|
/**
|
|
894
996
|
* API View for managing credential issuers.
|
|
@@ -955,9 +1057,10 @@ export declare class CredentialsService {
|
|
|
955
1057
|
* @returns Issuer
|
|
956
1058
|
* @throws ApiError
|
|
957
1059
|
*/
|
|
958
|
-
static credentialsOrgsUsersIssuersCreate({
|
|
959
|
-
|
|
1060
|
+
static credentialsOrgsUsersIssuersCreate({ platformKey, q, username, requestBody, }: {
|
|
1061
|
+
platformKey: string;
|
|
960
1062
|
q: string;
|
|
1063
|
+
username: string;
|
|
961
1064
|
requestBody: Issuer;
|
|
962
1065
|
}): CancelablePromise<Issuer>;
|
|
963
1066
|
/**
|
|
@@ -1029,9 +1132,10 @@ export declare class CredentialsService {
|
|
|
1029
1132
|
* @returns Issuer
|
|
1030
1133
|
* @throws ApiError
|
|
1031
1134
|
*/
|
|
1032
|
-
static credentialsOrgsUsersIssuersRetrieve2({ entityId,
|
|
1135
|
+
static credentialsOrgsUsersIssuersRetrieve2({ entityId, platformKey, username, }: {
|
|
1033
1136
|
entityId: string;
|
|
1034
|
-
|
|
1137
|
+
platformKey: string;
|
|
1138
|
+
username: string;
|
|
1035
1139
|
}): CancelablePromise<Issuer>;
|
|
1036
1140
|
/**
|
|
1037
1141
|
* API View for managing individual issuers.
|
|
@@ -1102,9 +1206,10 @@ export declare class CredentialsService {
|
|
|
1102
1206
|
* @returns Issuer
|
|
1103
1207
|
* @throws ApiError
|
|
1104
1208
|
*/
|
|
1105
|
-
static credentialsOrgsUsersIssuersUpdate({ entityId,
|
|
1209
|
+
static credentialsOrgsUsersIssuersUpdate({ entityId, platformKey, username, requestBody, }: {
|
|
1106
1210
|
entityId: string;
|
|
1107
|
-
|
|
1211
|
+
platformKey: string;
|
|
1212
|
+
username: string;
|
|
1108
1213
|
requestBody: Issuer;
|
|
1109
1214
|
}): CancelablePromise<Issuer>;
|
|
1110
1215
|
/**
|
|
@@ -1176,9 +1281,10 @@ export declare class CredentialsService {
|
|
|
1176
1281
|
* @returns void
|
|
1177
1282
|
* @throws ApiError
|
|
1178
1283
|
*/
|
|
1179
|
-
static credentialsOrgsUsersIssuersDestroy({ entityId,
|
|
1284
|
+
static credentialsOrgsUsersIssuersDestroy({ entityId, platformKey, username, }: {
|
|
1180
1285
|
entityId: string;
|
|
1181
|
-
|
|
1286
|
+
platformKey: string;
|
|
1287
|
+
username: string;
|
|
1182
1288
|
}): CancelablePromise<void>;
|
|
1183
1289
|
/**
|
|
1184
1290
|
* API View for managing issuer authorities (signatories).
|
|
@@ -1225,10 +1331,71 @@ export declare class CredentialsService {
|
|
|
1225
1331
|
* @returns IssuerAuthority
|
|
1226
1332
|
* @throws ApiError
|
|
1227
1333
|
*/
|
|
1228
|
-
static credentialsOrgsUsersIssuersAuthorityCreate({
|
|
1229
|
-
|
|
1334
|
+
static credentialsOrgsUsersIssuersAuthorityCreate({ platformKey, username, requestBody, }: {
|
|
1335
|
+
platformKey: string;
|
|
1336
|
+
username: string;
|
|
1230
1337
|
requestBody: IssuerAuthority;
|
|
1231
1338
|
}): CancelablePromise<IssuerAuthority>;
|
|
1339
|
+
/**
|
|
1340
|
+
* Retrieve provider configurations for the platform.
|
|
1341
|
+
*
|
|
1342
|
+
* Query Parameters:
|
|
1343
|
+
* provider_name (str, optional): Filter to a specific provider
|
|
1344
|
+
* page (int, optional): Page number
|
|
1345
|
+
* page_size (int, optional): Items per page
|
|
1346
|
+
*
|
|
1347
|
+
* Returns all configurations for the platform if the user is an admin.
|
|
1348
|
+
* @returns CredentialProviderConfig
|
|
1349
|
+
* @throws ApiError
|
|
1350
|
+
*/
|
|
1351
|
+
static credentialsOrgsUsersProviderConfigRetrieve({ platformKey, username, }: {
|
|
1352
|
+
platformKey: string;
|
|
1353
|
+
username: string;
|
|
1354
|
+
}): CancelablePromise<CredentialProviderConfig>;
|
|
1355
|
+
/**
|
|
1356
|
+
* Create or update a provider configuration.
|
|
1357
|
+
*
|
|
1358
|
+
* If a configuration doesn't exist for the platform and provider, it will be created.
|
|
1359
|
+
* If it exists, it will be updated.
|
|
1360
|
+
*
|
|
1361
|
+
* Request Body:
|
|
1362
|
+
* {
|
|
1363
|
+
* "provider_name": "accredible", // Required
|
|
1364
|
+
* "config": {...}, // Optional
|
|
1365
|
+
* "enabled": true // Optional
|
|
1366
|
+
* }
|
|
1367
|
+
*
|
|
1368
|
+
* Returns:
|
|
1369
|
+
* - 201 Created: When creating a new configuration
|
|
1370
|
+
* - 200 OK: When updating an existing configuration
|
|
1371
|
+
* @returns CredentialProviderConfig
|
|
1372
|
+
* @throws ApiError
|
|
1373
|
+
*/
|
|
1374
|
+
static credentialsOrgsUsersProviderConfigCreate({ platformKey, username, requestBody, }: {
|
|
1375
|
+
platformKey: string;
|
|
1376
|
+
username: string;
|
|
1377
|
+
requestBody: CredentialProviderConfig;
|
|
1378
|
+
}): CancelablePromise<CredentialProviderConfig>;
|
|
1379
|
+
/**
|
|
1380
|
+
* Deactivate a provider configuration (sets enabled=False).
|
|
1381
|
+
*
|
|
1382
|
+
* Request Body:
|
|
1383
|
+
* {
|
|
1384
|
+
* "provider_name": "accredible" // Required
|
|
1385
|
+
* }
|
|
1386
|
+
* @returns void
|
|
1387
|
+
* @throws ApiError
|
|
1388
|
+
*/
|
|
1389
|
+
static credentialsOrgsUsersProviderConfigDestroy({ platformKey, username, }: {
|
|
1390
|
+
platformKey: string;
|
|
1391
|
+
username: string;
|
|
1392
|
+
}): CancelablePromise<void>;
|
|
1393
|
+
/**
|
|
1394
|
+
* Get list of enabled credential providers with pagination.
|
|
1395
|
+
* @returns any No response body
|
|
1396
|
+
* @throws ApiError
|
|
1397
|
+
*/
|
|
1398
|
+
static credentialsProvidersRetrieve(): CancelablePromise<any>;
|
|
1232
1399
|
/**
|
|
1233
1400
|
* Public endpoint to retrieve a specific credential assertion by its entity ID.
|
|
1234
1401
|
*
|