@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.umd.js
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
|
|
115
115
|
const OpenAPI = {
|
|
116
116
|
BASE: 'https://base.manager.iblai.app',
|
|
117
|
-
VERSION: '4.
|
|
117
|
+
VERSION: '4.92.1-core',
|
|
118
118
|
WITH_CREDENTIALS: false,
|
|
119
119
|
CREDENTIALS: 'include',
|
|
120
120
|
TOKEN: undefined,
|
|
@@ -15235,15 +15235,15 @@
|
|
|
15235
15235
|
* @throws ApiError
|
|
15236
15236
|
*/
|
|
15237
15237
|
static credentialsOrgsUsersRetrieve({
|
|
15238
|
-
|
|
15239
|
-
|
|
15238
|
+
platformKey,
|
|
15239
|
+
username
|
|
15240
15240
|
}) {
|
|
15241
15241
|
return request(OpenAPI, {
|
|
15242
15242
|
method: 'GET',
|
|
15243
|
-
url: '/api/credentials/orgs/{
|
|
15243
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/',
|
|
15244
15244
|
path: {
|
|
15245
|
-
'
|
|
15246
|
-
'
|
|
15245
|
+
'platform_key': platformKey,
|
|
15246
|
+
'username': username
|
|
15247
15247
|
}
|
|
15248
15248
|
});
|
|
15249
15249
|
}
|
|
@@ -15328,16 +15328,16 @@
|
|
|
15328
15328
|
* @throws ApiError
|
|
15329
15329
|
*/
|
|
15330
15330
|
static credentialsOrgsUsersCreate({
|
|
15331
|
-
|
|
15332
|
-
|
|
15331
|
+
platformKey,
|
|
15332
|
+
username,
|
|
15333
15333
|
requestBody
|
|
15334
15334
|
}) {
|
|
15335
15335
|
return request(OpenAPI, {
|
|
15336
15336
|
method: 'POST',
|
|
15337
|
-
url: '/api/credentials/orgs/{
|
|
15337
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/',
|
|
15338
15338
|
path: {
|
|
15339
|
-
'
|
|
15340
|
-
'
|
|
15339
|
+
'platform_key': platformKey,
|
|
15340
|
+
'username': username
|
|
15341
15341
|
},
|
|
15342
15342
|
body: requestBody,
|
|
15343
15343
|
mediaType: 'application/json'
|
|
@@ -15403,16 +15403,16 @@
|
|
|
15403
15403
|
*/
|
|
15404
15404
|
static credentialsOrgsUsersRetrieve2({
|
|
15405
15405
|
entityId,
|
|
15406
|
-
|
|
15407
|
-
|
|
15406
|
+
platformKey,
|
|
15407
|
+
username
|
|
15408
15408
|
}) {
|
|
15409
15409
|
return request(OpenAPI, {
|
|
15410
15410
|
method: 'GET',
|
|
15411
|
-
url: '/api/credentials/orgs/{
|
|
15411
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}',
|
|
15412
15412
|
path: {
|
|
15413
15413
|
'entity_id': entityId,
|
|
15414
|
-
'
|
|
15415
|
-
'
|
|
15414
|
+
'platform_key': platformKey,
|
|
15415
|
+
'username': username
|
|
15416
15416
|
}
|
|
15417
15417
|
});
|
|
15418
15418
|
}
|
|
@@ -15476,17 +15476,17 @@
|
|
|
15476
15476
|
*/
|
|
15477
15477
|
static credentialsOrgsUsersUpdate({
|
|
15478
15478
|
entityId,
|
|
15479
|
-
|
|
15480
|
-
|
|
15479
|
+
platformKey,
|
|
15480
|
+
username,
|
|
15481
15481
|
requestBody
|
|
15482
15482
|
}) {
|
|
15483
15483
|
return request(OpenAPI, {
|
|
15484
15484
|
method: 'PUT',
|
|
15485
|
-
url: '/api/credentials/orgs/{
|
|
15485
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}',
|
|
15486
15486
|
path: {
|
|
15487
15487
|
'entity_id': entityId,
|
|
15488
|
-
'
|
|
15489
|
-
'
|
|
15488
|
+
'platform_key': platformKey,
|
|
15489
|
+
'username': username
|
|
15490
15490
|
},
|
|
15491
15491
|
body: requestBody,
|
|
15492
15492
|
mediaType: 'application/json'
|
|
@@ -15552,16 +15552,16 @@
|
|
|
15552
15552
|
*/
|
|
15553
15553
|
static credentialsOrgsUsersDestroy({
|
|
15554
15554
|
entityId,
|
|
15555
|
-
|
|
15556
|
-
|
|
15555
|
+
platformKey,
|
|
15556
|
+
username
|
|
15557
15557
|
}) {
|
|
15558
15558
|
return request(OpenAPI, {
|
|
15559
15559
|
method: 'DELETE',
|
|
15560
|
-
url: '/api/credentials/orgs/{
|
|
15560
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}',
|
|
15561
15561
|
path: {
|
|
15562
15562
|
'entity_id': entityId,
|
|
15563
|
-
'
|
|
15564
|
-
'
|
|
15563
|
+
'platform_key': platformKey,
|
|
15564
|
+
'username': username
|
|
15565
15565
|
}
|
|
15566
15566
|
});
|
|
15567
15567
|
}
|
|
@@ -15599,16 +15599,16 @@
|
|
|
15599
15599
|
*/
|
|
15600
15600
|
static credentialsOrgsUsersAssertionsRetrieve3({
|
|
15601
15601
|
entityId,
|
|
15602
|
-
|
|
15603
|
-
|
|
15602
|
+
platformKey,
|
|
15603
|
+
username
|
|
15604
15604
|
}) {
|
|
15605
15605
|
return request(OpenAPI, {
|
|
15606
15606
|
method: 'GET',
|
|
15607
|
-
url: '/api/credentials/orgs/{
|
|
15607
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/',
|
|
15608
15608
|
path: {
|
|
15609
15609
|
'entity_id': entityId,
|
|
15610
|
-
'
|
|
15611
|
-
'
|
|
15610
|
+
'platform_key': platformKey,
|
|
15611
|
+
'username': username
|
|
15612
15612
|
}
|
|
15613
15613
|
});
|
|
15614
15614
|
}
|
|
@@ -15646,17 +15646,17 @@
|
|
|
15646
15646
|
*/
|
|
15647
15647
|
static credentialsOrgsUsersAssertionsCreate({
|
|
15648
15648
|
entityId,
|
|
15649
|
-
|
|
15650
|
-
|
|
15649
|
+
platformKey,
|
|
15650
|
+
username,
|
|
15651
15651
|
requestBody
|
|
15652
15652
|
}) {
|
|
15653
15653
|
return request(OpenAPI, {
|
|
15654
15654
|
method: 'POST',
|
|
15655
|
-
url: '/api/credentials/orgs/{
|
|
15655
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/',
|
|
15656
15656
|
path: {
|
|
15657
15657
|
'entity_id': entityId,
|
|
15658
|
-
'
|
|
15659
|
-
'
|
|
15658
|
+
'platform_key': platformKey,
|
|
15659
|
+
'username': username
|
|
15660
15660
|
},
|
|
15661
15661
|
body: requestBody,
|
|
15662
15662
|
mediaType: 'application/json'
|
|
@@ -15695,17 +15695,17 @@
|
|
|
15695
15695
|
*/
|
|
15696
15696
|
static credentialsOrgsUsersAssertionsBulkCreate({
|
|
15697
15697
|
entityId,
|
|
15698
|
-
|
|
15699
|
-
|
|
15698
|
+
platformKey,
|
|
15699
|
+
username,
|
|
15700
15700
|
requestBody
|
|
15701
15701
|
}) {
|
|
15702
15702
|
return request(OpenAPI, {
|
|
15703
15703
|
method: 'POST',
|
|
15704
|
-
url: '/api/credentials/orgs/{
|
|
15704
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/{entity_id}/assertions/bulk/',
|
|
15705
15705
|
path: {
|
|
15706
15706
|
'entity_id': entityId,
|
|
15707
|
-
'
|
|
15708
|
-
'
|
|
15707
|
+
'platform_key': platformKey,
|
|
15708
|
+
'username': username
|
|
15709
15709
|
},
|
|
15710
15710
|
body: requestBody,
|
|
15711
15711
|
mediaType: 'application/json'
|
|
@@ -15739,8 +15739,8 @@
|
|
|
15739
15739
|
* @throws ApiError
|
|
15740
15740
|
*/
|
|
15741
15741
|
static credentialsOrgsUsersAssertionsRetrieve({
|
|
15742
|
-
|
|
15743
|
-
|
|
15742
|
+
platformKey,
|
|
15743
|
+
username,
|
|
15744
15744
|
course,
|
|
15745
15745
|
excludeMainTenantAssertions,
|
|
15746
15746
|
includeExpired,
|
|
@@ -15750,10 +15750,10 @@
|
|
|
15750
15750
|
}) {
|
|
15751
15751
|
return request(OpenAPI, {
|
|
15752
15752
|
method: 'GET',
|
|
15753
|
-
url: '/api/credentials/orgs/{
|
|
15753
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions/',
|
|
15754
15754
|
path: {
|
|
15755
|
-
'
|
|
15756
|
-
'
|
|
15755
|
+
'platform_key': platformKey,
|
|
15756
|
+
'username': username
|
|
15757
15757
|
},
|
|
15758
15758
|
query: {
|
|
15759
15759
|
'course': course,
|
|
@@ -15771,8 +15771,8 @@
|
|
|
15771
15771
|
* @throws ApiError
|
|
15772
15772
|
*/
|
|
15773
15773
|
static credentialsOrgsUsersAssertionsOverTimeRetrieve({
|
|
15774
|
-
|
|
15775
|
-
|
|
15774
|
+
platformKey,
|
|
15775
|
+
username,
|
|
15776
15776
|
departmentId,
|
|
15777
15777
|
endDate,
|
|
15778
15778
|
format = 'json',
|
|
@@ -15781,10 +15781,10 @@
|
|
|
15781
15781
|
}) {
|
|
15782
15782
|
return request(OpenAPI, {
|
|
15783
15783
|
method: 'GET',
|
|
15784
|
-
url: '/api/credentials/orgs/{
|
|
15784
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions-over-time/',
|
|
15785
15785
|
path: {
|
|
15786
|
-
'
|
|
15787
|
-
'
|
|
15786
|
+
'platform_key': platformKey,
|
|
15787
|
+
'username': username
|
|
15788
15788
|
},
|
|
15789
15789
|
query: {
|
|
15790
15790
|
'department_id': departmentId,
|
|
@@ -15830,16 +15830,16 @@
|
|
|
15830
15830
|
*/
|
|
15831
15831
|
static credentialsOrgsUsersAssertionsRetrieve2({
|
|
15832
15832
|
entityId,
|
|
15833
|
-
|
|
15834
|
-
|
|
15833
|
+
platformKey,
|
|
15834
|
+
username
|
|
15835
15835
|
}) {
|
|
15836
15836
|
return request(OpenAPI, {
|
|
15837
15837
|
method: 'GET',
|
|
15838
|
-
url: '/api/credentials/orgs/{
|
|
15838
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions/{entity_id}',
|
|
15839
15839
|
path: {
|
|
15840
15840
|
'entity_id': entityId,
|
|
15841
|
-
'
|
|
15842
|
-
'
|
|
15841
|
+
'platform_key': platformKey,
|
|
15842
|
+
'username': username
|
|
15843
15843
|
}
|
|
15844
15844
|
});
|
|
15845
15845
|
}
|
|
@@ -15878,17 +15878,17 @@
|
|
|
15878
15878
|
*/
|
|
15879
15879
|
static credentialsOrgsUsersAssertionsUpdate({
|
|
15880
15880
|
entityId,
|
|
15881
|
-
|
|
15882
|
-
|
|
15881
|
+
platformKey,
|
|
15882
|
+
username,
|
|
15883
15883
|
requestBody
|
|
15884
15884
|
}) {
|
|
15885
15885
|
return request(OpenAPI, {
|
|
15886
15886
|
method: 'PUT',
|
|
15887
|
-
url: '/api/credentials/orgs/{
|
|
15887
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assertions/{entity_id}',
|
|
15888
15888
|
path: {
|
|
15889
15889
|
'entity_id': entityId,
|
|
15890
|
-
'
|
|
15891
|
-
'
|
|
15890
|
+
'platform_key': platformKey,
|
|
15891
|
+
'username': username
|
|
15892
15892
|
},
|
|
15893
15893
|
body: requestBody,
|
|
15894
15894
|
mediaType: 'application/json'
|
|
@@ -15902,16 +15902,16 @@
|
|
|
15902
15902
|
*/
|
|
15903
15903
|
static credentialsOrgsUsersAssignmentsDestroy({
|
|
15904
15904
|
assignmentId,
|
|
15905
|
-
|
|
15906
|
-
|
|
15905
|
+
platformKey,
|
|
15906
|
+
username
|
|
15907
15907
|
}) {
|
|
15908
15908
|
return request(OpenAPI, {
|
|
15909
15909
|
method: 'DELETE',
|
|
15910
|
-
url: '/api/credentials/orgs/{
|
|
15910
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/{assignment_id}',
|
|
15911
15911
|
path: {
|
|
15912
15912
|
'assignment_id': assignmentId,
|
|
15913
|
-
'
|
|
15914
|
-
'
|
|
15913
|
+
'platform_key': platformKey,
|
|
15914
|
+
'username': username
|
|
15915
15915
|
}
|
|
15916
15916
|
});
|
|
15917
15917
|
}
|
|
@@ -15921,15 +15921,15 @@
|
|
|
15921
15921
|
* @throws ApiError
|
|
15922
15922
|
*/
|
|
15923
15923
|
static credentialsOrgsUsersAssignmentsGroupsRetrieve({
|
|
15924
|
-
|
|
15925
|
-
|
|
15924
|
+
platformKey,
|
|
15925
|
+
username
|
|
15926
15926
|
}) {
|
|
15927
15927
|
return request(OpenAPI, {
|
|
15928
15928
|
method: 'GET',
|
|
15929
|
-
url: '/api/credentials/orgs/{
|
|
15929
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/groups/',
|
|
15930
15930
|
path: {
|
|
15931
|
-
'
|
|
15932
|
-
'
|
|
15931
|
+
'platform_key': platformKey,
|
|
15932
|
+
'username': username
|
|
15933
15933
|
}
|
|
15934
15934
|
});
|
|
15935
15935
|
}
|
|
@@ -15939,15 +15939,15 @@
|
|
|
15939
15939
|
* @throws ApiError
|
|
15940
15940
|
*/
|
|
15941
15941
|
static credentialsOrgsUsersAssignmentsGroupsCreate({
|
|
15942
|
-
|
|
15943
|
-
|
|
15942
|
+
platformKey,
|
|
15943
|
+
username
|
|
15944
15944
|
}) {
|
|
15945
15945
|
return request(OpenAPI, {
|
|
15946
15946
|
method: 'POST',
|
|
15947
|
-
url: '/api/credentials/orgs/{
|
|
15947
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/groups/',
|
|
15948
15948
|
path: {
|
|
15949
|
-
'
|
|
15950
|
-
'
|
|
15949
|
+
'platform_key': platformKey,
|
|
15950
|
+
'username': username
|
|
15951
15951
|
}
|
|
15952
15952
|
});
|
|
15953
15953
|
}
|
|
@@ -15960,15 +15960,15 @@
|
|
|
15960
15960
|
* @throws ApiError
|
|
15961
15961
|
*/
|
|
15962
15962
|
static credentialsOrgsUsersAssignmentsUsersRetrieve({
|
|
15963
|
-
|
|
15964
|
-
|
|
15963
|
+
platformKey,
|
|
15964
|
+
username
|
|
15965
15965
|
}) {
|
|
15966
15966
|
return request(OpenAPI, {
|
|
15967
15967
|
method: 'GET',
|
|
15968
|
-
url: '/api/credentials/orgs/{
|
|
15968
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/users/',
|
|
15969
15969
|
path: {
|
|
15970
|
-
'
|
|
15971
|
-
'
|
|
15970
|
+
'platform_key': platformKey,
|
|
15971
|
+
'username': username
|
|
15972
15972
|
}
|
|
15973
15973
|
});
|
|
15974
15974
|
}
|
|
@@ -15978,15 +15978,15 @@
|
|
|
15978
15978
|
* @throws ApiError
|
|
15979
15979
|
*/
|
|
15980
15980
|
static credentialsOrgsUsersAssignmentsUsersCreate({
|
|
15981
|
-
|
|
15982
|
-
|
|
15981
|
+
platformKey,
|
|
15982
|
+
username
|
|
15983
15983
|
}) {
|
|
15984
15984
|
return request(OpenAPI, {
|
|
15985
15985
|
method: 'POST',
|
|
15986
|
-
url: '/api/credentials/orgs/{
|
|
15986
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/assignments/users/',
|
|
15987
15987
|
path: {
|
|
15988
|
-
'
|
|
15989
|
-
'
|
|
15988
|
+
'platform_key': platformKey,
|
|
15989
|
+
'username': username
|
|
15990
15990
|
}
|
|
15991
15991
|
});
|
|
15992
15992
|
}
|
|
@@ -15996,8 +15996,8 @@
|
|
|
15996
15996
|
* @throws ApiError
|
|
15997
15997
|
*/
|
|
15998
15998
|
static credentialsOrgsUsersCourseAssertionsOverTimeRetrieve({
|
|
15999
|
-
|
|
16000
|
-
|
|
15999
|
+
platformKey,
|
|
16000
|
+
username,
|
|
16001
16001
|
departmentId,
|
|
16002
16002
|
endDate,
|
|
16003
16003
|
format = 'json',
|
|
@@ -16006,10 +16006,10 @@
|
|
|
16006
16006
|
}) {
|
|
16007
16007
|
return request(OpenAPI, {
|
|
16008
16008
|
method: 'GET',
|
|
16009
|
-
url: '/api/credentials/orgs/{
|
|
16009
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/course-assertions-over-time/',
|
|
16010
16010
|
path: {
|
|
16011
|
-
'
|
|
16012
|
-
'
|
|
16011
|
+
'platform_key': platformKey,
|
|
16012
|
+
'username': username
|
|
16013
16013
|
},
|
|
16014
16014
|
query: {
|
|
16015
16015
|
'department_id': departmentId,
|
|
@@ -16046,17 +16046,17 @@
|
|
|
16046
16046
|
* @throws ApiError
|
|
16047
16047
|
*/
|
|
16048
16048
|
static credentialsOrgsUsersCourseCredentialsList({
|
|
16049
|
-
|
|
16050
|
-
|
|
16049
|
+
platformKey,
|
|
16050
|
+
username,
|
|
16051
16051
|
page,
|
|
16052
16052
|
pageSize
|
|
16053
16053
|
}) {
|
|
16054
16054
|
return request(OpenAPI, {
|
|
16055
16055
|
method: 'GET',
|
|
16056
|
-
url: '/api/credentials/orgs/{
|
|
16056
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/course-credentials/',
|
|
16057
16057
|
path: {
|
|
16058
|
-
'
|
|
16059
|
-
'
|
|
16058
|
+
'platform_key': platformKey,
|
|
16059
|
+
'username': username
|
|
16060
16060
|
},
|
|
16061
16061
|
query: {
|
|
16062
16062
|
'page': page,
|
|
@@ -16070,8 +16070,8 @@
|
|
|
16070
16070
|
* @throws ApiError
|
|
16071
16071
|
*/
|
|
16072
16072
|
static credentialsOrgsUsersCredentialsOverTimeRetrieve({
|
|
16073
|
-
|
|
16074
|
-
|
|
16073
|
+
platformKey,
|
|
16074
|
+
username,
|
|
16075
16075
|
departmentId,
|
|
16076
16076
|
endDate,
|
|
16077
16077
|
format = 'json',
|
|
@@ -16080,10 +16080,10 @@
|
|
|
16080
16080
|
}) {
|
|
16081
16081
|
return request(OpenAPI, {
|
|
16082
16082
|
method: 'GET',
|
|
16083
|
-
url: '/api/credentials/orgs/{
|
|
16083
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/credentials-over-time/',
|
|
16084
16084
|
path: {
|
|
16085
|
-
'
|
|
16086
|
-
'
|
|
16085
|
+
'platform_key': platformKey,
|
|
16086
|
+
'username': username
|
|
16087
16087
|
},
|
|
16088
16088
|
query: {
|
|
16089
16089
|
'department_id': departmentId,
|
|
@@ -16094,6 +16094,95 @@
|
|
|
16094
16094
|
}
|
|
16095
16095
|
});
|
|
16096
16096
|
}
|
|
16097
|
+
/**
|
|
16098
|
+
* Retrieve external credential mappings for the platform.
|
|
16099
|
+
*
|
|
16100
|
+
* Query Parameters:
|
|
16101
|
+
* credential_id (str, optional): Filter by credential entity_id
|
|
16102
|
+
* provider_name (str, optional): Filter by provider name
|
|
16103
|
+
* page (int, optional): Page number
|
|
16104
|
+
* page_size (int, optional): Items per page
|
|
16105
|
+
*
|
|
16106
|
+
* Returns all mappings for the platform if the user is an admin.
|
|
16107
|
+
* @returns ExternalCredentialMapping
|
|
16108
|
+
* @throws ApiError
|
|
16109
|
+
*/
|
|
16110
|
+
static credentialsOrgsUsersExternalMappingRetrieve({
|
|
16111
|
+
platformKey,
|
|
16112
|
+
username
|
|
16113
|
+
}) {
|
|
16114
|
+
return request(OpenAPI, {
|
|
16115
|
+
method: 'GET',
|
|
16116
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
16117
|
+
path: {
|
|
16118
|
+
'platform_key': platformKey,
|
|
16119
|
+
'username': username
|
|
16120
|
+
}
|
|
16121
|
+
});
|
|
16122
|
+
}
|
|
16123
|
+
/**
|
|
16124
|
+
* Create or update an external credential mapping.
|
|
16125
|
+
*
|
|
16126
|
+
* If a mapping doesn't exist for the credential + platform + provider combination,
|
|
16127
|
+
* it will be created. If it exists, it will be updated.
|
|
16128
|
+
*
|
|
16129
|
+
* Request Body:
|
|
16130
|
+
* {
|
|
16131
|
+
* "credential_id": "credential-entity-id", // Required
|
|
16132
|
+
* "provider_name": "accredible", // Required
|
|
16133
|
+
* "external_template_id": "123456", // Optional
|
|
16134
|
+
* "metadata": {} // Optional
|
|
16135
|
+
* }
|
|
16136
|
+
*
|
|
16137
|
+
* Returns:
|
|
16138
|
+
* - 201 Created: When creating a new mapping
|
|
16139
|
+
* - 200 OK: When updating an existing mapping
|
|
16140
|
+
* @returns ExternalCredentialMapping
|
|
16141
|
+
* @throws ApiError
|
|
16142
|
+
*/
|
|
16143
|
+
static credentialsOrgsUsersExternalMappingCreate({
|
|
16144
|
+
platformKey,
|
|
16145
|
+
username,
|
|
16146
|
+
requestBody
|
|
16147
|
+
}) {
|
|
16148
|
+
return request(OpenAPI, {
|
|
16149
|
+
method: 'POST',
|
|
16150
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
16151
|
+
path: {
|
|
16152
|
+
'platform_key': platformKey,
|
|
16153
|
+
'username': username
|
|
16154
|
+
},
|
|
16155
|
+
body: requestBody,
|
|
16156
|
+
mediaType: 'application/json'
|
|
16157
|
+
});
|
|
16158
|
+
}
|
|
16159
|
+
/**
|
|
16160
|
+
* Delete an external credential mapping.
|
|
16161
|
+
*
|
|
16162
|
+
* Request Body:
|
|
16163
|
+
* {
|
|
16164
|
+
* "credential_id": "credential-entity-id", // Required
|
|
16165
|
+
* "provider_name": "accredible" // Required
|
|
16166
|
+
* }
|
|
16167
|
+
*
|
|
16168
|
+
* Returns:
|
|
16169
|
+
* A JSON response confirming deletion
|
|
16170
|
+
* @returns void
|
|
16171
|
+
* @throws ApiError
|
|
16172
|
+
*/
|
|
16173
|
+
static credentialsOrgsUsersExternalMappingDestroy({
|
|
16174
|
+
platformKey,
|
|
16175
|
+
username
|
|
16176
|
+
}) {
|
|
16177
|
+
return request(OpenAPI, {
|
|
16178
|
+
method: 'DELETE',
|
|
16179
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/external-mapping/',
|
|
16180
|
+
path: {
|
|
16181
|
+
'platform_key': platformKey,
|
|
16182
|
+
'username': username
|
|
16183
|
+
}
|
|
16184
|
+
});
|
|
16185
|
+
}
|
|
16097
16186
|
/**
|
|
16098
16187
|
* API View for managing uploaded images for credentials.
|
|
16099
16188
|
*
|
|
@@ -16152,15 +16241,15 @@
|
|
|
16152
16241
|
* @throws ApiError
|
|
16153
16242
|
*/
|
|
16154
16243
|
static credentialsOrgsUsersImagesRetrieve({
|
|
16155
|
-
|
|
16156
|
-
|
|
16244
|
+
platformKey,
|
|
16245
|
+
username
|
|
16157
16246
|
}) {
|
|
16158
16247
|
return request(OpenAPI, {
|
|
16159
16248
|
method: 'GET',
|
|
16160
|
-
url: '/api/credentials/orgs/{
|
|
16249
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/images/',
|
|
16161
16250
|
path: {
|
|
16162
|
-
'
|
|
16163
|
-
'
|
|
16251
|
+
'platform_key': platformKey,
|
|
16252
|
+
'username': username
|
|
16164
16253
|
}
|
|
16165
16254
|
});
|
|
16166
16255
|
}
|
|
@@ -16222,16 +16311,16 @@
|
|
|
16222
16311
|
* @throws ApiError
|
|
16223
16312
|
*/
|
|
16224
16313
|
static credentialsOrgsUsersImagesCreate({
|
|
16225
|
-
|
|
16226
|
-
|
|
16314
|
+
platformKey,
|
|
16315
|
+
username,
|
|
16227
16316
|
requestBody
|
|
16228
16317
|
}) {
|
|
16229
16318
|
return request(OpenAPI, {
|
|
16230
16319
|
method: 'POST',
|
|
16231
|
-
url: '/api/credentials/orgs/{
|
|
16320
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/images/',
|
|
16232
16321
|
path: {
|
|
16233
|
-
'
|
|
16234
|
-
'
|
|
16322
|
+
'platform_key': platformKey,
|
|
16323
|
+
'username': username
|
|
16235
16324
|
},
|
|
16236
16325
|
body: requestBody,
|
|
16237
16326
|
mediaType: 'application/json'
|
|
@@ -16303,16 +16392,16 @@
|
|
|
16303
16392
|
* @throws ApiError
|
|
16304
16393
|
*/
|
|
16305
16394
|
static credentialsOrgsUsersIssuersRetrieve({
|
|
16306
|
-
|
|
16395
|
+
platformKey,
|
|
16307
16396
|
q,
|
|
16308
|
-
|
|
16397
|
+
username
|
|
16309
16398
|
}) {
|
|
16310
16399
|
return request(OpenAPI, {
|
|
16311
16400
|
method: 'GET',
|
|
16312
|
-
url: '/api/credentials/orgs/{
|
|
16401
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/',
|
|
16313
16402
|
path: {
|
|
16314
|
-
'
|
|
16315
|
-
'
|
|
16403
|
+
'platform_key': platformKey,
|
|
16404
|
+
'username': username
|
|
16316
16405
|
},
|
|
16317
16406
|
query: {
|
|
16318
16407
|
'q': q
|
|
@@ -16385,17 +16474,17 @@
|
|
|
16385
16474
|
* @throws ApiError
|
|
16386
16475
|
*/
|
|
16387
16476
|
static credentialsOrgsUsersIssuersCreate({
|
|
16388
|
-
|
|
16477
|
+
platformKey,
|
|
16389
16478
|
q,
|
|
16390
|
-
|
|
16479
|
+
username,
|
|
16391
16480
|
requestBody
|
|
16392
16481
|
}) {
|
|
16393
16482
|
return request(OpenAPI, {
|
|
16394
16483
|
method: 'POST',
|
|
16395
|
-
url: '/api/credentials/orgs/{
|
|
16484
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/',
|
|
16396
16485
|
path: {
|
|
16397
|
-
'
|
|
16398
|
-
'
|
|
16486
|
+
'platform_key': platformKey,
|
|
16487
|
+
'username': username
|
|
16399
16488
|
},
|
|
16400
16489
|
query: {
|
|
16401
16490
|
'q': q
|
|
@@ -16475,16 +16564,16 @@
|
|
|
16475
16564
|
*/
|
|
16476
16565
|
static credentialsOrgsUsersIssuersRetrieve2({
|
|
16477
16566
|
entityId,
|
|
16478
|
-
|
|
16479
|
-
|
|
16567
|
+
platformKey,
|
|
16568
|
+
username
|
|
16480
16569
|
}) {
|
|
16481
16570
|
return request(OpenAPI, {
|
|
16482
16571
|
method: 'GET',
|
|
16483
|
-
url: '/api/credentials/orgs/{
|
|
16572
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}',
|
|
16484
16573
|
path: {
|
|
16485
16574
|
'entity_id': entityId,
|
|
16486
|
-
'
|
|
16487
|
-
'
|
|
16575
|
+
'platform_key': platformKey,
|
|
16576
|
+
'username': username
|
|
16488
16577
|
}
|
|
16489
16578
|
});
|
|
16490
16579
|
}
|
|
@@ -16559,17 +16648,17 @@
|
|
|
16559
16648
|
*/
|
|
16560
16649
|
static credentialsOrgsUsersIssuersUpdate({
|
|
16561
16650
|
entityId,
|
|
16562
|
-
|
|
16563
|
-
|
|
16651
|
+
platformKey,
|
|
16652
|
+
username,
|
|
16564
16653
|
requestBody
|
|
16565
16654
|
}) {
|
|
16566
16655
|
return request(OpenAPI, {
|
|
16567
16656
|
method: 'PUT',
|
|
16568
|
-
url: '/api/credentials/orgs/{
|
|
16657
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}',
|
|
16569
16658
|
path: {
|
|
16570
16659
|
'entity_id': entityId,
|
|
16571
|
-
'
|
|
16572
|
-
'
|
|
16660
|
+
'platform_key': platformKey,
|
|
16661
|
+
'username': username
|
|
16573
16662
|
},
|
|
16574
16663
|
body: requestBody,
|
|
16575
16664
|
mediaType: 'application/json'
|
|
@@ -16646,16 +16735,16 @@
|
|
|
16646
16735
|
*/
|
|
16647
16736
|
static credentialsOrgsUsersIssuersDestroy({
|
|
16648
16737
|
entityId,
|
|
16649
|
-
|
|
16650
|
-
|
|
16738
|
+
platformKey,
|
|
16739
|
+
username
|
|
16651
16740
|
}) {
|
|
16652
16741
|
return request(OpenAPI, {
|
|
16653
16742
|
method: 'DELETE',
|
|
16654
|
-
url: '/api/credentials/orgs/{
|
|
16743
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/{entity_id}',
|
|
16655
16744
|
path: {
|
|
16656
16745
|
'entity_id': entityId,
|
|
16657
|
-
'
|
|
16658
|
-
'
|
|
16746
|
+
'platform_key': platformKey,
|
|
16747
|
+
'username': username
|
|
16659
16748
|
}
|
|
16660
16749
|
});
|
|
16661
16750
|
}
|
|
@@ -16705,21 +16794,115 @@
|
|
|
16705
16794
|
* @throws ApiError
|
|
16706
16795
|
*/
|
|
16707
16796
|
static credentialsOrgsUsersIssuersAuthorityCreate({
|
|
16708
|
-
|
|
16709
|
-
|
|
16797
|
+
platformKey,
|
|
16798
|
+
username,
|
|
16710
16799
|
requestBody
|
|
16711
16800
|
}) {
|
|
16712
16801
|
return request(OpenAPI, {
|
|
16713
16802
|
method: 'POST',
|
|
16714
|
-
url: '/api/credentials/orgs/{
|
|
16803
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/issuers/authority/',
|
|
16715
16804
|
path: {
|
|
16716
|
-
'
|
|
16717
|
-
'
|
|
16805
|
+
'platform_key': platformKey,
|
|
16806
|
+
'username': username
|
|
16718
16807
|
},
|
|
16719
16808
|
body: requestBody,
|
|
16720
16809
|
mediaType: 'application/json'
|
|
16721
16810
|
});
|
|
16722
16811
|
}
|
|
16812
|
+
/**
|
|
16813
|
+
* Retrieve provider configurations for the platform.
|
|
16814
|
+
*
|
|
16815
|
+
* Query Parameters:
|
|
16816
|
+
* provider_name (str, optional): Filter to a specific provider
|
|
16817
|
+
* page (int, optional): Page number
|
|
16818
|
+
* page_size (int, optional): Items per page
|
|
16819
|
+
*
|
|
16820
|
+
* Returns all configurations for the platform if the user is an admin.
|
|
16821
|
+
* @returns CredentialProviderConfig
|
|
16822
|
+
* @throws ApiError
|
|
16823
|
+
*/
|
|
16824
|
+
static credentialsOrgsUsersProviderConfigRetrieve({
|
|
16825
|
+
platformKey,
|
|
16826
|
+
username
|
|
16827
|
+
}) {
|
|
16828
|
+
return request(OpenAPI, {
|
|
16829
|
+
method: 'GET',
|
|
16830
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
16831
|
+
path: {
|
|
16832
|
+
'platform_key': platformKey,
|
|
16833
|
+
'username': username
|
|
16834
|
+
}
|
|
16835
|
+
});
|
|
16836
|
+
}
|
|
16837
|
+
/**
|
|
16838
|
+
* Create or update a provider configuration.
|
|
16839
|
+
*
|
|
16840
|
+
* If a configuration doesn't exist for the platform and provider, it will be created.
|
|
16841
|
+
* If it exists, it will be updated.
|
|
16842
|
+
*
|
|
16843
|
+
* Request Body:
|
|
16844
|
+
* {
|
|
16845
|
+
* "provider_name": "accredible", // Required
|
|
16846
|
+
* "config": {...}, // Optional
|
|
16847
|
+
* "enabled": true // Optional
|
|
16848
|
+
* }
|
|
16849
|
+
*
|
|
16850
|
+
* Returns:
|
|
16851
|
+
* - 201 Created: When creating a new configuration
|
|
16852
|
+
* - 200 OK: When updating an existing configuration
|
|
16853
|
+
* @returns CredentialProviderConfig
|
|
16854
|
+
* @throws ApiError
|
|
16855
|
+
*/
|
|
16856
|
+
static credentialsOrgsUsersProviderConfigCreate({
|
|
16857
|
+
platformKey,
|
|
16858
|
+
username,
|
|
16859
|
+
requestBody
|
|
16860
|
+
}) {
|
|
16861
|
+
return request(OpenAPI, {
|
|
16862
|
+
method: 'POST',
|
|
16863
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
16864
|
+
path: {
|
|
16865
|
+
'platform_key': platformKey,
|
|
16866
|
+
'username': username
|
|
16867
|
+
},
|
|
16868
|
+
body: requestBody,
|
|
16869
|
+
mediaType: 'application/json'
|
|
16870
|
+
});
|
|
16871
|
+
}
|
|
16872
|
+
/**
|
|
16873
|
+
* Deactivate a provider configuration (sets enabled=False).
|
|
16874
|
+
*
|
|
16875
|
+
* Request Body:
|
|
16876
|
+
* {
|
|
16877
|
+
* "provider_name": "accredible" // Required
|
|
16878
|
+
* }
|
|
16879
|
+
* @returns void
|
|
16880
|
+
* @throws ApiError
|
|
16881
|
+
*/
|
|
16882
|
+
static credentialsOrgsUsersProviderConfigDestroy({
|
|
16883
|
+
platformKey,
|
|
16884
|
+
username
|
|
16885
|
+
}) {
|
|
16886
|
+
return request(OpenAPI, {
|
|
16887
|
+
method: 'DELETE',
|
|
16888
|
+
url: '/api/credentials/orgs/{platform_key}/users/{username}/provider-config/',
|
|
16889
|
+
path: {
|
|
16890
|
+
'platform_key': platformKey,
|
|
16891
|
+
'username': username
|
|
16892
|
+
}
|
|
16893
|
+
});
|
|
16894
|
+
}
|
|
16895
|
+
/**
|
|
16896
|
+
* Get list of enabled credential providers with pagination.
|
|
16897
|
+
* @returns any No response body
|
|
16898
|
+
* @throws ApiError
|
|
16899
|
+
*/
|
|
16900
|
+
static credentialsProvidersRetrieve() {
|
|
16901
|
+
return request(OpenAPI, {
|
|
16902
|
+
method: 'GET',
|
|
16903
|
+
url: '/api/credentials/providers/'
|
|
16904
|
+
});
|
|
16905
|
+
}
|
|
16723
16906
|
/**
|
|
16724
16907
|
* Public endpoint to retrieve a specific credential assertion by its entity ID.
|
|
16725
16908
|
*
|