@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
package/dist/index.esm.js
CHANGED
|
@@ -108,7 +108,7 @@ class CancelablePromise {
|
|
|
108
108
|
|
|
109
109
|
const OpenAPI = {
|
|
110
110
|
BASE: 'https://base.manager.iblai.app',
|
|
111
|
-
VERSION: '4.
|
|
111
|
+
VERSION: '4.92.1-core',
|
|
112
112
|
WITH_CREDENTIALS: false,
|
|
113
113
|
CREDENTIALS: 'include',
|
|
114
114
|
TOKEN: undefined,
|
|
@@ -15229,15 +15229,15 @@ class CredentialsService {
|
|
|
15229
15229
|
* @throws ApiError
|
|
15230
15230
|
*/
|
|
15231
15231
|
static credentialsOrgsUsersRetrieve({
|
|
15232
|
-
|
|
15233
|
-
|
|
15232
|
+
platformKey,
|
|
15233
|
+
username
|
|
15234
15234
|
}) {
|
|
15235
15235
|
return request(OpenAPI, {
|
|
15236
15236
|
method: 'GET',
|
|
15237
|
-
url: '/api/credentials/orgs/{
|
|
15237
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/',
|
|
15238
15238
|
path: {
|
|
15239
|
-
'
|
|
15240
|
-
'
|
|
15239
|
+
'platform_key': platformKey,
|
|
15240
|
+
'username': username
|
|
15241
15241
|
}
|
|
15242
15242
|
});
|
|
15243
15243
|
}
|
|
@@ -15322,16 +15322,16 @@ class CredentialsService {
|
|
|
15322
15322
|
* @throws ApiError
|
|
15323
15323
|
*/
|
|
15324
15324
|
static credentialsOrgsUsersCreate({
|
|
15325
|
-
|
|
15326
|
-
|
|
15325
|
+
platformKey,
|
|
15326
|
+
username,
|
|
15327
15327
|
requestBody
|
|
15328
15328
|
}) {
|
|
15329
15329
|
return request(OpenAPI, {
|
|
15330
15330
|
method: 'POST',
|
|
15331
|
-
url: '/api/credentials/orgs/{
|
|
15331
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/',
|
|
15332
15332
|
path: {
|
|
15333
|
-
'
|
|
15334
|
-
'
|
|
15333
|
+
'platform_key': platformKey,
|
|
15334
|
+
'username': username
|
|
15335
15335
|
},
|
|
15336
15336
|
body: requestBody,
|
|
15337
15337
|
mediaType: 'application/json'
|
|
@@ -15397,16 +15397,16 @@ class CredentialsService {
|
|
|
15397
15397
|
*/
|
|
15398
15398
|
static credentialsOrgsUsersRetrieve2({
|
|
15399
15399
|
entityId,
|
|
15400
|
-
|
|
15401
|
-
|
|
15400
|
+
platformKey,
|
|
15401
|
+
username
|
|
15402
15402
|
}) {
|
|
15403
15403
|
return request(OpenAPI, {
|
|
15404
15404
|
method: 'GET',
|
|
15405
|
-
url: '/api/credentials/orgs/{
|
|
15405
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}',
|
|
15406
15406
|
path: {
|
|
15407
15407
|
'entity_id': entityId,
|
|
15408
|
-
'
|
|
15409
|
-
'
|
|
15408
|
+
'platform_key': platformKey,
|
|
15409
|
+
'username': username
|
|
15410
15410
|
}
|
|
15411
15411
|
});
|
|
15412
15412
|
}
|
|
@@ -15470,17 +15470,17 @@ class CredentialsService {
|
|
|
15470
15470
|
*/
|
|
15471
15471
|
static credentialsOrgsUsersUpdate({
|
|
15472
15472
|
entityId,
|
|
15473
|
-
|
|
15474
|
-
|
|
15473
|
+
platformKey,
|
|
15474
|
+
username,
|
|
15475
15475
|
requestBody
|
|
15476
15476
|
}) {
|
|
15477
15477
|
return request(OpenAPI, {
|
|
15478
15478
|
method: 'PUT',
|
|
15479
|
-
url: '/api/credentials/orgs/{
|
|
15479
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}',
|
|
15480
15480
|
path: {
|
|
15481
15481
|
'entity_id': entityId,
|
|
15482
|
-
'
|
|
15483
|
-
'
|
|
15482
|
+
'platform_key': platformKey,
|
|
15483
|
+
'username': username
|
|
15484
15484
|
},
|
|
15485
15485
|
body: requestBody,
|
|
15486
15486
|
mediaType: 'application/json'
|
|
@@ -15546,16 +15546,16 @@ class CredentialsService {
|
|
|
15546
15546
|
*/
|
|
15547
15547
|
static credentialsOrgsUsersDestroy({
|
|
15548
15548
|
entityId,
|
|
15549
|
-
|
|
15550
|
-
|
|
15549
|
+
platformKey,
|
|
15550
|
+
username
|
|
15551
15551
|
}) {
|
|
15552
15552
|
return request(OpenAPI, {
|
|
15553
15553
|
method: 'DELETE',
|
|
15554
|
-
url: '/api/credentials/orgs/{
|
|
15554
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}',
|
|
15555
15555
|
path: {
|
|
15556
15556
|
'entity_id': entityId,
|
|
15557
|
-
'
|
|
15558
|
-
'
|
|
15557
|
+
'platform_key': platformKey,
|
|
15558
|
+
'username': username
|
|
15559
15559
|
}
|
|
15560
15560
|
});
|
|
15561
15561
|
}
|
|
@@ -15593,16 +15593,16 @@ class CredentialsService {
|
|
|
15593
15593
|
*/
|
|
15594
15594
|
static credentialsOrgsUsersAssertionsRetrieve3({
|
|
15595
15595
|
entityId,
|
|
15596
|
-
|
|
15597
|
-
|
|
15596
|
+
platformKey,
|
|
15597
|
+
username
|
|
15598
15598
|
}) {
|
|
15599
15599
|
return request(OpenAPI, {
|
|
15600
15600
|
method: 'GET',
|
|
15601
|
-
url: '/api/credentials/orgs/{
|
|
15601
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/',
|
|
15602
15602
|
path: {
|
|
15603
15603
|
'entity_id': entityId,
|
|
15604
|
-
'
|
|
15605
|
-
'
|
|
15604
|
+
'platform_key': platformKey,
|
|
15605
|
+
'username': username
|
|
15606
15606
|
}
|
|
15607
15607
|
});
|
|
15608
15608
|
}
|
|
@@ -15640,17 +15640,17 @@ class CredentialsService {
|
|
|
15640
15640
|
*/
|
|
15641
15641
|
static credentialsOrgsUsersAssertionsCreate({
|
|
15642
15642
|
entityId,
|
|
15643
|
-
|
|
15644
|
-
|
|
15643
|
+
platformKey,
|
|
15644
|
+
username,
|
|
15645
15645
|
requestBody
|
|
15646
15646
|
}) {
|
|
15647
15647
|
return request(OpenAPI, {
|
|
15648
15648
|
method: 'POST',
|
|
15649
|
-
url: '/api/credentials/orgs/{
|
|
15649
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/',
|
|
15650
15650
|
path: {
|
|
15651
15651
|
'entity_id': entityId,
|
|
15652
|
-
'
|
|
15653
|
-
'
|
|
15652
|
+
'platform_key': platformKey,
|
|
15653
|
+
'username': username
|
|
15654
15654
|
},
|
|
15655
15655
|
body: requestBody,
|
|
15656
15656
|
mediaType: 'application/json'
|
|
@@ -15689,17 +15689,17 @@ class CredentialsService {
|
|
|
15689
15689
|
*/
|
|
15690
15690
|
static credentialsOrgsUsersAssertionsBulkCreate({
|
|
15691
15691
|
entityId,
|
|
15692
|
-
|
|
15693
|
-
|
|
15692
|
+
platformKey,
|
|
15693
|
+
username,
|
|
15694
15694
|
requestBody
|
|
15695
15695
|
}) {
|
|
15696
15696
|
return request(OpenAPI, {
|
|
15697
15697
|
method: 'POST',
|
|
15698
|
-
url: '/api/credentials/orgs/{
|
|
15698
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/bulk/',
|
|
15699
15699
|
path: {
|
|
15700
15700
|
'entity_id': entityId,
|
|
15701
|
-
'
|
|
15702
|
-
'
|
|
15701
|
+
'platform_key': platformKey,
|
|
15702
|
+
'username': username
|
|
15703
15703
|
},
|
|
15704
15704
|
body: requestBody,
|
|
15705
15705
|
mediaType: 'application/json'
|
|
@@ -15733,8 +15733,8 @@ class CredentialsService {
|
|
|
15733
15733
|
* @throws ApiError
|
|
15734
15734
|
*/
|
|
15735
15735
|
static credentialsOrgsUsersAssertionsRetrieve({
|
|
15736
|
-
|
|
15737
|
-
|
|
15736
|
+
platformKey,
|
|
15737
|
+
username,
|
|
15738
15738
|
course,
|
|
15739
15739
|
excludeMainTenantAssertions,
|
|
15740
15740
|
includeExpired,
|
|
@@ -15744,10 +15744,10 @@ class CredentialsService {
|
|
|
15744
15744
|
}) {
|
|
15745
15745
|
return request(OpenAPI, {
|
|
15746
15746
|
method: 'GET',
|
|
15747
|
-
url: '/api/credentials/orgs/{
|
|
15747
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions/',
|
|
15748
15748
|
path: {
|
|
15749
|
-
'
|
|
15750
|
-
'
|
|
15749
|
+
'platform_key': platformKey,
|
|
15750
|
+
'username': username
|
|
15751
15751
|
},
|
|
15752
15752
|
query: {
|
|
15753
15753
|
'course': course,
|
|
@@ -15765,8 +15765,8 @@ class CredentialsService {
|
|
|
15765
15765
|
* @throws ApiError
|
|
15766
15766
|
*/
|
|
15767
15767
|
static credentialsOrgsUsersAssertionsOverTimeRetrieve({
|
|
15768
|
-
|
|
15769
|
-
|
|
15768
|
+
platformKey,
|
|
15769
|
+
username,
|
|
15770
15770
|
departmentId,
|
|
15771
15771
|
endDate,
|
|
15772
15772
|
format = 'json',
|
|
@@ -15775,10 +15775,10 @@ class CredentialsService {
|
|
|
15775
15775
|
}) {
|
|
15776
15776
|
return request(OpenAPI, {
|
|
15777
15777
|
method: 'GET',
|
|
15778
|
-
url: '/api/credentials/orgs/{
|
|
15778
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions-over-time/',
|
|
15779
15779
|
path: {
|
|
15780
|
-
'
|
|
15781
|
-
'
|
|
15780
|
+
'platform_key': platformKey,
|
|
15781
|
+
'username': username
|
|
15782
15782
|
},
|
|
15783
15783
|
query: {
|
|
15784
15784
|
'department_id': departmentId,
|
|
@@ -15824,16 +15824,16 @@ class CredentialsService {
|
|
|
15824
15824
|
*/
|
|
15825
15825
|
static credentialsOrgsUsersAssertionsRetrieve2({
|
|
15826
15826
|
entityId,
|
|
15827
|
-
|
|
15828
|
-
|
|
15827
|
+
platformKey,
|
|
15828
|
+
username
|
|
15829
15829
|
}) {
|
|
15830
15830
|
return request(OpenAPI, {
|
|
15831
15831
|
method: 'GET',
|
|
15832
|
-
url: '/api/credentials/orgs/{
|
|
15832
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions/{entity_id}',
|
|
15833
15833
|
path: {
|
|
15834
15834
|
'entity_id': entityId,
|
|
15835
|
-
'
|
|
15836
|
-
'
|
|
15835
|
+
'platform_key': platformKey,
|
|
15836
|
+
'username': username
|
|
15837
15837
|
}
|
|
15838
15838
|
});
|
|
15839
15839
|
}
|
|
@@ -15872,17 +15872,17 @@ class CredentialsService {
|
|
|
15872
15872
|
*/
|
|
15873
15873
|
static credentialsOrgsUsersAssertionsUpdate({
|
|
15874
15874
|
entityId,
|
|
15875
|
-
|
|
15876
|
-
|
|
15875
|
+
platformKey,
|
|
15876
|
+
username,
|
|
15877
15877
|
requestBody
|
|
15878
15878
|
}) {
|
|
15879
15879
|
return request(OpenAPI, {
|
|
15880
15880
|
method: 'PUT',
|
|
15881
|
-
url: '/api/credentials/orgs/{
|
|
15881
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions/{entity_id}',
|
|
15882
15882
|
path: {
|
|
15883
15883
|
'entity_id': entityId,
|
|
15884
|
-
'
|
|
15885
|
-
'
|
|
15884
|
+
'platform_key': platformKey,
|
|
15885
|
+
'username': username
|
|
15886
15886
|
},
|
|
15887
15887
|
body: requestBody,
|
|
15888
15888
|
mediaType: 'application/json'
|
|
@@ -15896,16 +15896,16 @@ class CredentialsService {
|
|
|
15896
15896
|
*/
|
|
15897
15897
|
static credentialsOrgsUsersAssignmentsDestroy({
|
|
15898
15898
|
assignmentId,
|
|
15899
|
-
|
|
15900
|
-
|
|
15899
|
+
platformKey,
|
|
15900
|
+
username
|
|
15901
15901
|
}) {
|
|
15902
15902
|
return request(OpenAPI, {
|
|
15903
15903
|
method: 'DELETE',
|
|
15904
|
-
url: '/api/credentials/orgs/{
|
|
15904
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/{assignment_id}',
|
|
15905
15905
|
path: {
|
|
15906
15906
|
'assignment_id': assignmentId,
|
|
15907
|
-
'
|
|
15908
|
-
'
|
|
15907
|
+
'platform_key': platformKey,
|
|
15908
|
+
'username': username
|
|
15909
15909
|
}
|
|
15910
15910
|
});
|
|
15911
15911
|
}
|
|
@@ -15915,15 +15915,15 @@ class CredentialsService {
|
|
|
15915
15915
|
* @throws ApiError
|
|
15916
15916
|
*/
|
|
15917
15917
|
static credentialsOrgsUsersAssignmentsGroupsRetrieve({
|
|
15918
|
-
|
|
15919
|
-
|
|
15918
|
+
platformKey,
|
|
15919
|
+
username
|
|
15920
15920
|
}) {
|
|
15921
15921
|
return request(OpenAPI, {
|
|
15922
15922
|
method: 'GET',
|
|
15923
|
-
url: '/api/credentials/orgs/{
|
|
15923
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/groups/',
|
|
15924
15924
|
path: {
|
|
15925
|
-
'
|
|
15926
|
-
'
|
|
15925
|
+
'platform_key': platformKey,
|
|
15926
|
+
'username': username
|
|
15927
15927
|
}
|
|
15928
15928
|
});
|
|
15929
15929
|
}
|
|
@@ -15933,15 +15933,15 @@ class CredentialsService {
|
|
|
15933
15933
|
* @throws ApiError
|
|
15934
15934
|
*/
|
|
15935
15935
|
static credentialsOrgsUsersAssignmentsGroupsCreate({
|
|
15936
|
-
|
|
15937
|
-
|
|
15936
|
+
platformKey,
|
|
15937
|
+
username
|
|
15938
15938
|
}) {
|
|
15939
15939
|
return request(OpenAPI, {
|
|
15940
15940
|
method: 'POST',
|
|
15941
|
-
url: '/api/credentials/orgs/{
|
|
15941
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/groups/',
|
|
15942
15942
|
path: {
|
|
15943
|
-
'
|
|
15944
|
-
'
|
|
15943
|
+
'platform_key': platformKey,
|
|
15944
|
+
'username': username
|
|
15945
15945
|
}
|
|
15946
15946
|
});
|
|
15947
15947
|
}
|
|
@@ -15954,15 +15954,15 @@ class CredentialsService {
|
|
|
15954
15954
|
* @throws ApiError
|
|
15955
15955
|
*/
|
|
15956
15956
|
static credentialsOrgsUsersAssignmentsUsersRetrieve({
|
|
15957
|
-
|
|
15958
|
-
|
|
15957
|
+
platformKey,
|
|
15958
|
+
username
|
|
15959
15959
|
}) {
|
|
15960
15960
|
return request(OpenAPI, {
|
|
15961
15961
|
method: 'GET',
|
|
15962
|
-
url: '/api/credentials/orgs/{
|
|
15962
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/users/',
|
|
15963
15963
|
path: {
|
|
15964
|
-
'
|
|
15965
|
-
'
|
|
15964
|
+
'platform_key': platformKey,
|
|
15965
|
+
'username': username
|
|
15966
15966
|
}
|
|
15967
15967
|
});
|
|
15968
15968
|
}
|
|
@@ -15972,15 +15972,15 @@ class CredentialsService {
|
|
|
15972
15972
|
* @throws ApiError
|
|
15973
15973
|
*/
|
|
15974
15974
|
static credentialsOrgsUsersAssignmentsUsersCreate({
|
|
15975
|
-
|
|
15976
|
-
|
|
15975
|
+
platformKey,
|
|
15976
|
+
username
|
|
15977
15977
|
}) {
|
|
15978
15978
|
return request(OpenAPI, {
|
|
15979
15979
|
method: 'POST',
|
|
15980
|
-
url: '/api/credentials/orgs/{
|
|
15980
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/users/',
|
|
15981
15981
|
path: {
|
|
15982
|
-
'
|
|
15983
|
-
'
|
|
15982
|
+
'platform_key': platformKey,
|
|
15983
|
+
'username': username
|
|
15984
15984
|
}
|
|
15985
15985
|
});
|
|
15986
15986
|
}
|
|
@@ -15990,8 +15990,8 @@ class CredentialsService {
|
|
|
15990
15990
|
* @throws ApiError
|
|
15991
15991
|
*/
|
|
15992
15992
|
static credentialsOrgsUsersCourseAssertionsOverTimeRetrieve({
|
|
15993
|
-
|
|
15994
|
-
|
|
15993
|
+
platformKey,
|
|
15994
|
+
username,
|
|
15995
15995
|
departmentId,
|
|
15996
15996
|
endDate,
|
|
15997
15997
|
format = 'json',
|
|
@@ -16000,10 +16000,10 @@ class CredentialsService {
|
|
|
16000
16000
|
}) {
|
|
16001
16001
|
return request(OpenAPI, {
|
|
16002
16002
|
method: 'GET',
|
|
16003
|
-
url: '/api/credentials/orgs/{
|
|
16003
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/course-assertions-over-time/',
|
|
16004
16004
|
path: {
|
|
16005
|
-
'
|
|
16006
|
-
'
|
|
16005
|
+
'platform_key': platformKey,
|
|
16006
|
+
'username': username
|
|
16007
16007
|
},
|
|
16008
16008
|
query: {
|
|
16009
16009
|
'department_id': departmentId,
|
|
@@ -16040,17 +16040,17 @@ class CredentialsService {
|
|
|
16040
16040
|
* @throws ApiError
|
|
16041
16041
|
*/
|
|
16042
16042
|
static credentialsOrgsUsersCourseCredentialsList({
|
|
16043
|
-
|
|
16044
|
-
|
|
16043
|
+
platformKey,
|
|
16044
|
+
username,
|
|
16045
16045
|
page,
|
|
16046
16046
|
pageSize
|
|
16047
16047
|
}) {
|
|
16048
16048
|
return request(OpenAPI, {
|
|
16049
16049
|
method: 'GET',
|
|
16050
|
-
url: '/api/credentials/orgs/{
|
|
16050
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/course-credentials/',
|
|
16051
16051
|
path: {
|
|
16052
|
-
'
|
|
16053
|
-
'
|
|
16052
|
+
'platform_key': platformKey,
|
|
16053
|
+
'username': username
|
|
16054
16054
|
},
|
|
16055
16055
|
query: {
|
|
16056
16056
|
'page': page,
|
|
@@ -16064,8 +16064,8 @@ class CredentialsService {
|
|
|
16064
16064
|
* @throws ApiError
|
|
16065
16065
|
*/
|
|
16066
16066
|
static credentialsOrgsUsersCredentialsOverTimeRetrieve({
|
|
16067
|
-
|
|
16068
|
-
|
|
16067
|
+
platformKey,
|
|
16068
|
+
username,
|
|
16069
16069
|
departmentId,
|
|
16070
16070
|
endDate,
|
|
16071
16071
|
format = 'json',
|
|
@@ -16074,10 +16074,10 @@ class CredentialsService {
|
|
|
16074
16074
|
}) {
|
|
16075
16075
|
return request(OpenAPI, {
|
|
16076
16076
|
method: 'GET',
|
|
16077
|
-
url: '/api/credentials/orgs/{
|
|
16077
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/credentials-over-time/',
|
|
16078
16078
|
path: {
|
|
16079
|
-
'
|
|
16080
|
-
'
|
|
16079
|
+
'platform_key': platformKey,
|
|
16080
|
+
'username': username
|
|
16081
16081
|
},
|
|
16082
16082
|
query: {
|
|
16083
16083
|
'department_id': departmentId,
|
|
@@ -16088,6 +16088,95 @@ class CredentialsService {
|
|
|
16088
16088
|
}
|
|
16089
16089
|
});
|
|
16090
16090
|
}
|
|
16091
|
+
/**
|
|
16092
|
+
* Retrieve external credential mappings for the platform.
|
|
16093
|
+
*
|
|
16094
|
+
* Query Parameters:
|
|
16095
|
+
* credential_id (str, optional): Filter by credential entity_id
|
|
16096
|
+
* provider_name (str, optional): Filter by provider name
|
|
16097
|
+
* page (int, optional): Page number
|
|
16098
|
+
* page_size (int, optional): Items per page
|
|
16099
|
+
*
|
|
16100
|
+
* Returns all mappings for the platform if the user is an admin.
|
|
16101
|
+
* @returns ExternalCredentialMapping
|
|
16102
|
+
* @throws ApiError
|
|
16103
|
+
*/
|
|
16104
|
+
static credentialsOrgsUsersExternalMappingRetrieve({
|
|
16105
|
+
platformKey,
|
|
16106
|
+
username
|
|
16107
|
+
}) {
|
|
16108
|
+
return request(OpenAPI, {
|
|
16109
|
+
method: 'GET',
|
|
16110
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
16111
|
+
path: {
|
|
16112
|
+
'platform_key': platformKey,
|
|
16113
|
+
'username': username
|
|
16114
|
+
}
|
|
16115
|
+
});
|
|
16116
|
+
}
|
|
16117
|
+
/**
|
|
16118
|
+
* Create or update an external credential mapping.
|
|
16119
|
+
*
|
|
16120
|
+
* If a mapping doesn't exist for the credential + platform + provider combination,
|
|
16121
|
+
* it will be created. If it exists, it will be updated.
|
|
16122
|
+
*
|
|
16123
|
+
* Request Body:
|
|
16124
|
+
* {
|
|
16125
|
+
* "credential_id": "credential-entity-id", // Required
|
|
16126
|
+
* "provider_name": "accredible", // Required
|
|
16127
|
+
* "external_template_id": "123456", // Optional
|
|
16128
|
+
* "metadata": {} // Optional
|
|
16129
|
+
* }
|
|
16130
|
+
*
|
|
16131
|
+
* Returns:
|
|
16132
|
+
* - 201 Created: When creating a new mapping
|
|
16133
|
+
* - 200 OK: When updating an existing mapping
|
|
16134
|
+
* @returns ExternalCredentialMapping
|
|
16135
|
+
* @throws ApiError
|
|
16136
|
+
*/
|
|
16137
|
+
static credentialsOrgsUsersExternalMappingCreate({
|
|
16138
|
+
platformKey,
|
|
16139
|
+
username,
|
|
16140
|
+
requestBody
|
|
16141
|
+
}) {
|
|
16142
|
+
return request(OpenAPI, {
|
|
16143
|
+
method: 'POST',
|
|
16144
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
16145
|
+
path: {
|
|
16146
|
+
'platform_key': platformKey,
|
|
16147
|
+
'username': username
|
|
16148
|
+
},
|
|
16149
|
+
body: requestBody,
|
|
16150
|
+
mediaType: 'application/json'
|
|
16151
|
+
});
|
|
16152
|
+
}
|
|
16153
|
+
/**
|
|
16154
|
+
* Delete an external credential mapping.
|
|
16155
|
+
*
|
|
16156
|
+
* Request Body:
|
|
16157
|
+
* {
|
|
16158
|
+
* "credential_id": "credential-entity-id", // Required
|
|
16159
|
+
* "provider_name": "accredible" // Required
|
|
16160
|
+
* }
|
|
16161
|
+
*
|
|
16162
|
+
* Returns:
|
|
16163
|
+
* A JSON response confirming deletion
|
|
16164
|
+
* @returns void
|
|
16165
|
+
* @throws ApiError
|
|
16166
|
+
*/
|
|
16167
|
+
static credentialsOrgsUsersExternalMappingDestroy({
|
|
16168
|
+
platformKey,
|
|
16169
|
+
username
|
|
16170
|
+
}) {
|
|
16171
|
+
return request(OpenAPI, {
|
|
16172
|
+
method: 'DELETE',
|
|
16173
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
16174
|
+
path: {
|
|
16175
|
+
'platform_key': platformKey,
|
|
16176
|
+
'username': username
|
|
16177
|
+
}
|
|
16178
|
+
});
|
|
16179
|
+
}
|
|
16091
16180
|
/**
|
|
16092
16181
|
* API View for managing uploaded images for credentials.
|
|
16093
16182
|
*
|
|
@@ -16146,15 +16235,15 @@ class CredentialsService {
|
|
|
16146
16235
|
* @throws ApiError
|
|
16147
16236
|
*/
|
|
16148
16237
|
static credentialsOrgsUsersImagesRetrieve({
|
|
16149
|
-
|
|
16150
|
-
|
|
16238
|
+
platformKey,
|
|
16239
|
+
username
|
|
16151
16240
|
}) {
|
|
16152
16241
|
return request(OpenAPI, {
|
|
16153
16242
|
method: 'GET',
|
|
16154
|
-
url: '/api/credentials/orgs/{
|
|
16243
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/images/',
|
|
16155
16244
|
path: {
|
|
16156
|
-
'
|
|
16157
|
-
'
|
|
16245
|
+
'platform_key': platformKey,
|
|
16246
|
+
'username': username
|
|
16158
16247
|
}
|
|
16159
16248
|
});
|
|
16160
16249
|
}
|
|
@@ -16216,16 +16305,16 @@ class CredentialsService {
|
|
|
16216
16305
|
* @throws ApiError
|
|
16217
16306
|
*/
|
|
16218
16307
|
static credentialsOrgsUsersImagesCreate({
|
|
16219
|
-
|
|
16220
|
-
|
|
16308
|
+
platformKey,
|
|
16309
|
+
username,
|
|
16221
16310
|
requestBody
|
|
16222
16311
|
}) {
|
|
16223
16312
|
return request(OpenAPI, {
|
|
16224
16313
|
method: 'POST',
|
|
16225
|
-
url: '/api/credentials/orgs/{
|
|
16314
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/images/',
|
|
16226
16315
|
path: {
|
|
16227
|
-
'
|
|
16228
|
-
'
|
|
16316
|
+
'platform_key': platformKey,
|
|
16317
|
+
'username': username
|
|
16229
16318
|
},
|
|
16230
16319
|
body: requestBody,
|
|
16231
16320
|
mediaType: 'application/json'
|
|
@@ -16297,16 +16386,16 @@ class CredentialsService {
|
|
|
16297
16386
|
* @throws ApiError
|
|
16298
16387
|
*/
|
|
16299
16388
|
static credentialsOrgsUsersIssuersRetrieve({
|
|
16300
|
-
|
|
16389
|
+
platformKey,
|
|
16301
16390
|
q,
|
|
16302
|
-
|
|
16391
|
+
username
|
|
16303
16392
|
}) {
|
|
16304
16393
|
return request(OpenAPI, {
|
|
16305
16394
|
method: 'GET',
|
|
16306
|
-
url: '/api/credentials/orgs/{
|
|
16395
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/',
|
|
16307
16396
|
path: {
|
|
16308
|
-
'
|
|
16309
|
-
'
|
|
16397
|
+
'platform_key': platformKey,
|
|
16398
|
+
'username': username
|
|
16310
16399
|
},
|
|
16311
16400
|
query: {
|
|
16312
16401
|
'q': q
|
|
@@ -16379,17 +16468,17 @@ class CredentialsService {
|
|
|
16379
16468
|
* @throws ApiError
|
|
16380
16469
|
*/
|
|
16381
16470
|
static credentialsOrgsUsersIssuersCreate({
|
|
16382
|
-
|
|
16471
|
+
platformKey,
|
|
16383
16472
|
q,
|
|
16384
|
-
|
|
16473
|
+
username,
|
|
16385
16474
|
requestBody
|
|
16386
16475
|
}) {
|
|
16387
16476
|
return request(OpenAPI, {
|
|
16388
16477
|
method: 'POST',
|
|
16389
|
-
url: '/api/credentials/orgs/{
|
|
16478
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/',
|
|
16390
16479
|
path: {
|
|
16391
|
-
'
|
|
16392
|
-
'
|
|
16480
|
+
'platform_key': platformKey,
|
|
16481
|
+
'username': username
|
|
16393
16482
|
},
|
|
16394
16483
|
query: {
|
|
16395
16484
|
'q': q
|
|
@@ -16469,16 +16558,16 @@ class CredentialsService {
|
|
|
16469
16558
|
*/
|
|
16470
16559
|
static credentialsOrgsUsersIssuersRetrieve2({
|
|
16471
16560
|
entityId,
|
|
16472
|
-
|
|
16473
|
-
|
|
16561
|
+
platformKey,
|
|
16562
|
+
username
|
|
16474
16563
|
}) {
|
|
16475
16564
|
return request(OpenAPI, {
|
|
16476
16565
|
method: 'GET',
|
|
16477
|
-
url: '/api/credentials/orgs/{
|
|
16566
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}',
|
|
16478
16567
|
path: {
|
|
16479
16568
|
'entity_id': entityId,
|
|
16480
|
-
'
|
|
16481
|
-
'
|
|
16569
|
+
'platform_key': platformKey,
|
|
16570
|
+
'username': username
|
|
16482
16571
|
}
|
|
16483
16572
|
});
|
|
16484
16573
|
}
|
|
@@ -16553,17 +16642,17 @@ class CredentialsService {
|
|
|
16553
16642
|
*/
|
|
16554
16643
|
static credentialsOrgsUsersIssuersUpdate({
|
|
16555
16644
|
entityId,
|
|
16556
|
-
|
|
16557
|
-
|
|
16645
|
+
platformKey,
|
|
16646
|
+
username,
|
|
16558
16647
|
requestBody
|
|
16559
16648
|
}) {
|
|
16560
16649
|
return request(OpenAPI, {
|
|
16561
16650
|
method: 'PUT',
|
|
16562
|
-
url: '/api/credentials/orgs/{
|
|
16651
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}',
|
|
16563
16652
|
path: {
|
|
16564
16653
|
'entity_id': entityId,
|
|
16565
|
-
'
|
|
16566
|
-
'
|
|
16654
|
+
'platform_key': platformKey,
|
|
16655
|
+
'username': username
|
|
16567
16656
|
},
|
|
16568
16657
|
body: requestBody,
|
|
16569
16658
|
mediaType: 'application/json'
|
|
@@ -16640,16 +16729,16 @@ class CredentialsService {
|
|
|
16640
16729
|
*/
|
|
16641
16730
|
static credentialsOrgsUsersIssuersDestroy({
|
|
16642
16731
|
entityId,
|
|
16643
|
-
|
|
16644
|
-
|
|
16732
|
+
platformKey,
|
|
16733
|
+
username
|
|
16645
16734
|
}) {
|
|
16646
16735
|
return request(OpenAPI, {
|
|
16647
16736
|
method: 'DELETE',
|
|
16648
|
-
url: '/api/credentials/orgs/{
|
|
16737
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}',
|
|
16649
16738
|
path: {
|
|
16650
16739
|
'entity_id': entityId,
|
|
16651
|
-
'
|
|
16652
|
-
'
|
|
16740
|
+
'platform_key': platformKey,
|
|
16741
|
+
'username': username
|
|
16653
16742
|
}
|
|
16654
16743
|
});
|
|
16655
16744
|
}
|
|
@@ -16699,21 +16788,115 @@ class CredentialsService {
|
|
|
16699
16788
|
* @throws ApiError
|
|
16700
16789
|
*/
|
|
16701
16790
|
static credentialsOrgsUsersIssuersAuthorityCreate({
|
|
16702
|
-
|
|
16703
|
-
|
|
16791
|
+
platformKey,
|
|
16792
|
+
username,
|
|
16704
16793
|
requestBody
|
|
16705
16794
|
}) {
|
|
16706
16795
|
return request(OpenAPI, {
|
|
16707
16796
|
method: 'POST',
|
|
16708
|
-
url: '/api/credentials/orgs/{
|
|
16797
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/authority/',
|
|
16709
16798
|
path: {
|
|
16710
|
-
'
|
|
16711
|
-
'
|
|
16799
|
+
'platform_key': platformKey,
|
|
16800
|
+
'username': username
|
|
16712
16801
|
},
|
|
16713
16802
|
body: requestBody,
|
|
16714
16803
|
mediaType: 'application/json'
|
|
16715
16804
|
});
|
|
16716
16805
|
}
|
|
16806
|
+
/**
|
|
16807
|
+
* Retrieve provider configurations for the platform.
|
|
16808
|
+
*
|
|
16809
|
+
* Query Parameters:
|
|
16810
|
+
* provider_name (str, optional): Filter to a specific provider
|
|
16811
|
+
* page (int, optional): Page number
|
|
16812
|
+
* page_size (int, optional): Items per page
|
|
16813
|
+
*
|
|
16814
|
+
* Returns all configurations for the platform if the user is an admin.
|
|
16815
|
+
* @returns CredentialProviderConfig
|
|
16816
|
+
* @throws ApiError
|
|
16817
|
+
*/
|
|
16818
|
+
static credentialsOrgsUsersProviderConfigRetrieve({
|
|
16819
|
+
platformKey,
|
|
16820
|
+
username
|
|
16821
|
+
}) {
|
|
16822
|
+
return request(OpenAPI, {
|
|
16823
|
+
method: 'GET',
|
|
16824
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
16825
|
+
path: {
|
|
16826
|
+
'platform_key': platformKey,
|
|
16827
|
+
'username': username
|
|
16828
|
+
}
|
|
16829
|
+
});
|
|
16830
|
+
}
|
|
16831
|
+
/**
|
|
16832
|
+
* Create or update a provider configuration.
|
|
16833
|
+
*
|
|
16834
|
+
* If a configuration doesn't exist for the platform and provider, it will be created.
|
|
16835
|
+
* If it exists, it will be updated.
|
|
16836
|
+
*
|
|
16837
|
+
* Request Body:
|
|
16838
|
+
* {
|
|
16839
|
+
* "provider_name": "accredible", // Required
|
|
16840
|
+
* "config": {...}, // Optional
|
|
16841
|
+
* "enabled": true // Optional
|
|
16842
|
+
* }
|
|
16843
|
+
*
|
|
16844
|
+
* Returns:
|
|
16845
|
+
* - 201 Created: When creating a new configuration
|
|
16846
|
+
* - 200 OK: When updating an existing configuration
|
|
16847
|
+
* @returns CredentialProviderConfig
|
|
16848
|
+
* @throws ApiError
|
|
16849
|
+
*/
|
|
16850
|
+
static credentialsOrgsUsersProviderConfigCreate({
|
|
16851
|
+
platformKey,
|
|
16852
|
+
username,
|
|
16853
|
+
requestBody
|
|
16854
|
+
}) {
|
|
16855
|
+
return request(OpenAPI, {
|
|
16856
|
+
method: 'POST',
|
|
16857
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
16858
|
+
path: {
|
|
16859
|
+
'platform_key': platformKey,
|
|
16860
|
+
'username': username
|
|
16861
|
+
},
|
|
16862
|
+
body: requestBody,
|
|
16863
|
+
mediaType: 'application/json'
|
|
16864
|
+
});
|
|
16865
|
+
}
|
|
16866
|
+
/**
|
|
16867
|
+
* Deactivate a provider configuration (sets enabled=False).
|
|
16868
|
+
*
|
|
16869
|
+
* Request Body:
|
|
16870
|
+
* {
|
|
16871
|
+
* "provider_name": "accredible" // Required
|
|
16872
|
+
* }
|
|
16873
|
+
* @returns void
|
|
16874
|
+
* @throws ApiError
|
|
16875
|
+
*/
|
|
16876
|
+
static credentialsOrgsUsersProviderConfigDestroy({
|
|
16877
|
+
platformKey,
|
|
16878
|
+
username
|
|
16879
|
+
}) {
|
|
16880
|
+
return request(OpenAPI, {
|
|
16881
|
+
method: 'DELETE',
|
|
16882
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
16883
|
+
path: {
|
|
16884
|
+
'platform_key': platformKey,
|
|
16885
|
+
'username': username
|
|
16886
|
+
}
|
|
16887
|
+
});
|
|
16888
|
+
}
|
|
16889
|
+
/**
|
|
16890
|
+
* Get list of enabled credential providers with pagination.
|
|
16891
|
+
* @returns any No response body
|
|
16892
|
+
* @throws ApiError
|
|
16893
|
+
*/
|
|
16894
|
+
static credentialsProvidersRetrieve() {
|
|
16895
|
+
return request(OpenAPI, {
|
|
16896
|
+
method: 'GET',
|
|
16897
|
+
url: '/api/credentials/providers/'
|
|
16898
|
+
});
|
|
16899
|
+
}
|
|
16717
16900
|
/**
|
|
16718
16901
|
* Public endpoint to retrieve a specific credential assertion by its entity ID.
|
|
16719
16902
|
*
|