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