@iblai/iblai-api 4.29.0-core → 4.30.0-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.
Files changed (35) hide show
  1. package/dist/index.cjs.js +223 -213
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +223 -213
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +223 -213
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +11 -0
  8. package/dist/types/models/SCIMAddress.d.ts +33 -0
  9. package/dist/types/models/SCIMDepartment.d.ts +26 -0
  10. package/dist/types/models/SCIMEmail.d.ts +17 -0
  11. package/dist/types/models/SCIMEnterpriseUser.d.ts +29 -0
  12. package/dist/types/models/SCIMGroup.d.ts +38 -0
  13. package/dist/types/models/SCIMMeta.d.ts +25 -0
  14. package/dist/types/models/SCIMName.d.ts +17 -0
  15. package/dist/types/models/SCIMPhoneNumber.d.ts +13 -0
  16. package/dist/types/models/SCIMUserCreateRequest.d.ts +110 -0
  17. package/dist/types/models/SCIMUserListResponse.d.ts +17 -0
  18. package/dist/types/models/SCIMUserResponse.d.ts +41 -0
  19. package/dist/types/services/ScimService.d.ts +165 -162
  20. package/package.json +1 -1
  21. package/sdk_schema.yml +1326 -192
  22. package/src/core/OpenAPI.ts +1 -1
  23. package/src/index.ts +11 -0
  24. package/src/models/SCIMAddress.ts +38 -0
  25. package/src/models/SCIMDepartment.ts +31 -0
  26. package/src/models/SCIMEmail.ts +22 -0
  27. package/src/models/SCIMEnterpriseUser.ts +34 -0
  28. package/src/models/SCIMGroup.ts +43 -0
  29. package/src/models/SCIMMeta.ts +30 -0
  30. package/src/models/SCIMName.ts +22 -0
  31. package/src/models/SCIMPhoneNumber.ts +18 -0
  32. package/src/models/SCIMUserCreateRequest.ts +115 -0
  33. package/src/models/SCIMUserListResponse.ts +22 -0
  34. package/src/models/SCIMUserResponse.ts +46 -0
  35. package/src/services/ScimService.ts +270 -249
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.29.0-core',
117
+ VERSION: '4.30.0-core',
118
118
  WITH_CREDENTIALS: false,
119
119
  CREDENTIALS: 'include',
120
120
  TOKEN: undefined,
@@ -16854,541 +16854,551 @@
16854
16854
 
16855
16855
  class ScimService {
16856
16856
  /**
16857
- * GET /scim/v2/DepartmentMembers
16858
- * List all department members in the system.
16859
- * @returns any No response body
16857
+ * List all department members in the system
16858
+ * List all department members in the system for the specified platform
16859
+ * @returns any
16860
16860
  * @throws ApiError
16861
16861
  */
16862
- static orgsScimV2DepartmentMembersRetrieve({
16863
- org
16862
+ static listDepartmentMembers({
16863
+ platformKey
16864
16864
  }) {
16865
16865
  return request(OpenAPI, {
16866
16866
  method: 'GET',
16867
- url: '/api/orgs/{org}/scim/v2/DepartmentMembers/',
16867
+ url: '/api/orgs/{platform_key}/scim/v2/DepartmentMembers/',
16868
16868
  path: {
16869
- 'org': org
16869
+ 'platform_key': platformKey
16870
16870
  }
16871
16871
  });
16872
16872
  }
16873
16873
  /**
16874
- * POST /scim/v2/DepartmentMembers
16875
- * Create or update a department member using core logic. SCIM format.
16876
- * @returns any No response body
16874
+ * Create a new department member
16875
+ * Create a new department member for the specified platform
16876
+ * @returns any
16877
16877
  * @throws ApiError
16878
16878
  */
16879
- static orgsScimV2DepartmentMembersCreate({
16880
- org
16879
+ static createDepartmentMember({
16880
+ platformKey
16881
16881
  }) {
16882
16882
  return request(OpenAPI, {
16883
16883
  method: 'POST',
16884
- url: '/api/orgs/{org}/scim/v2/DepartmentMembers/',
16884
+ url: '/api/orgs/{platform_key}/scim/v2/DepartmentMembers/',
16885
16885
  path: {
16886
- 'org': org
16886
+ 'platform_key': platformKey
16887
16887
  }
16888
16888
  });
16889
16889
  }
16890
16890
  /**
16891
- * GET /scim/v2/DepartmentMembers/{id}
16892
- * Get department members for a specific department (must belong to the requesting platform/org). SCIM format.
16893
- * @returns any No response body
16891
+ * Get department members for a specific department
16892
+ * Get department members for a specific department (by department id) for the specified platform
16893
+ * @returns any
16894
16894
  * @throws ApiError
16895
16895
  */
16896
- static orgsScimV2DepartmentMembersRetrieve2({
16896
+ static retrieveDepartmentMembers({
16897
16897
  id,
16898
- org
16898
+ platformKey
16899
16899
  }) {
16900
16900
  return request(OpenAPI, {
16901
16901
  method: 'GET',
16902
- url: '/api/orgs/{org}/scim/v2/DepartmentMembers/{id}/',
16902
+ url: '/api/orgs/{platform_key}/scim/v2/DepartmentMembers/{id}/',
16903
16903
  path: {
16904
16904
  'id': id,
16905
- 'org': org
16905
+ 'platform_key': platformKey
16906
16906
  }
16907
16907
  });
16908
16908
  }
16909
16909
  /**
16910
- * PUT /scim/v2/DepartmentMembers/{id}
16911
- * Update a department member using core logic. SCIM format.
16912
- * @returns any No response body
16910
+ * Update a department member
16911
+ * Update a department member for the specified platform
16912
+ * @returns any
16913
16913
  * @throws ApiError
16914
16914
  */
16915
- static orgsScimV2DepartmentMembersUpdate({
16915
+ static updateDepartmentMember({
16916
16916
  id,
16917
- org
16917
+ platformKey
16918
16918
  }) {
16919
16919
  return request(OpenAPI, {
16920
16920
  method: 'PUT',
16921
- url: '/api/orgs/{org}/scim/v2/DepartmentMembers/{id}/',
16921
+ url: '/api/orgs/{platform_key}/scim/v2/DepartmentMembers/{id}/',
16922
16922
  path: {
16923
16923
  'id': id,
16924
- 'org': org
16924
+ 'platform_key': platformKey
16925
16925
  }
16926
16926
  });
16927
16927
  }
16928
16928
  /**
16929
- * DELETE /scim/v2/DepartmentMembers/{id}
16930
- * Delete a department member using core logic. SCIM format.
16929
+ * Delete a department member
16930
+ * Delete a department member from the system
16931
16931
  * @returns void
16932
16932
  * @throws ApiError
16933
16933
  */
16934
- static orgsScimV2DepartmentMembersDestroy({
16934
+ static deleteDepartmentMember({
16935
16935
  id,
16936
- org
16936
+ platformKey
16937
16937
  }) {
16938
16938
  return request(OpenAPI, {
16939
16939
  method: 'DELETE',
16940
- url: '/api/orgs/{org}/scim/v2/DepartmentMembers/{id}/',
16940
+ url: '/api/orgs/{platform_key}/scim/v2/DepartmentMembers/{id}/',
16941
16941
  path: {
16942
16942
  'id': id,
16943
- 'org': org
16943
+ 'platform_key': platformKey
16944
16944
  }
16945
16945
  });
16946
16946
  }
16947
16947
  /**
16948
- * GET /scim/v2/Departments
16949
- *
16950
- * List departments in the system. Supports filtering and pagination.
16951
- * @returns any No response body
16948
+ * List departments in the system
16949
+ * List departments in the system for the specified platform
16950
+ * @returns any
16952
16951
  * @throws ApiError
16953
16952
  */
16954
- static orgsScimV2DepartmentsRetrieve({
16955
- org
16953
+ static listDepartments({
16954
+ platformKey
16956
16955
  }) {
16957
16956
  return request(OpenAPI, {
16958
16957
  method: 'GET',
16959
- url: '/api/orgs/{org}/scim/v2/Departments/',
16958
+ url: '/api/orgs/{platform_key}/scim/v2/Departments/',
16960
16959
  path: {
16961
- 'org': org
16960
+ 'platform_key': platformKey
16962
16961
  }
16963
16962
  });
16964
16963
  }
16965
16964
  /**
16966
- * POST /scim/v2/Departments
16967
- *
16968
- * Create a new department in the system.
16969
- * @returns any No response body
16965
+ * Create a new department
16966
+ * Create a new department for the specified platform
16967
+ * @returns SCIMDepartment
16970
16968
  * @throws ApiError
16971
16969
  */
16972
- static orgsScimV2DepartmentsCreate({
16973
- org
16970
+ static createDepartment({
16971
+ platformKey,
16972
+ requestBody
16974
16973
  }) {
16975
16974
  return request(OpenAPI, {
16976
16975
  method: 'POST',
16977
- url: '/api/orgs/{org}/scim/v2/Departments/',
16976
+ url: '/api/orgs/{platform_key}/scim/v2/Departments/',
16978
16977
  path: {
16979
- 'org': org
16980
- }
16978
+ 'platform_key': platformKey
16979
+ },
16980
+ body: requestBody,
16981
+ mediaType: 'application/json'
16981
16982
  });
16982
16983
  }
16983
16984
  /**
16984
- * GET /scim/v2/Departments/{id}
16985
- *
16986
- * Get details of a specific department.
16987
- * @returns any No response body
16985
+ * Get details of a specific department
16986
+ * Get details of a specific department by ID for the specified platform
16987
+ * @returns SCIMDepartment
16988
16988
  * @throws ApiError
16989
16989
  */
16990
- static orgsScimV2DepartmentsRetrieve2({
16990
+ static retrieveDepartment({
16991
16991
  id,
16992
- org
16992
+ platformKey
16993
16993
  }) {
16994
16994
  return request(OpenAPI, {
16995
16995
  method: 'GET',
16996
- url: '/api/orgs/{org}/scim/v2/Departments/{id}/',
16996
+ url: '/api/orgs/{platform_key}/scim/v2/Departments/{id}/',
16997
16997
  path: {
16998
16998
  'id': id,
16999
- 'org': org
16999
+ 'platform_key': platformKey
17000
17000
  }
17001
17001
  });
17002
17002
  }
17003
17003
  /**
17004
- * PUT /scim/v2/Departments/{id}
17005
- *
17006
- * Update a department's information.
17007
- * @returns any No response body
17004
+ * Update a department
17005
+ * Update a department for the specified platform
17006
+ * @returns SCIMDepartment
17008
17007
  * @throws ApiError
17009
17008
  */
17010
- static orgsScimV2DepartmentsUpdate({
17009
+ static updateDepartment({
17011
17010
  id,
17012
- org
17011
+ platformKey,
17012
+ requestBody
17013
17013
  }) {
17014
17014
  return request(OpenAPI, {
17015
17015
  method: 'PUT',
17016
- url: '/api/orgs/{org}/scim/v2/Departments/{id}/',
17016
+ url: '/api/orgs/{platform_key}/scim/v2/Departments/{id}/',
17017
17017
  path: {
17018
17018
  'id': id,
17019
- 'org': org
17020
- }
17019
+ 'platform_key': platformKey
17020
+ },
17021
+ body: requestBody,
17022
+ mediaType: 'application/json'
17021
17023
  });
17022
17024
  }
17023
17025
  /**
17024
- * DELETE /scim/v2/Departments/{id}
17025
- *
17026
- * Delete a department from the system.
17026
+ * Delete a department
17027
+ * Delete a department from the system
17027
17028
  * @returns void
17028
17029
  * @throws ApiError
17029
17030
  */
17030
- static orgsScimV2DepartmentsDestroy({
17031
+ static deleteDepartment({
17031
17032
  id,
17032
- org
17033
+ platformKey
17033
17034
  }) {
17034
17035
  return request(OpenAPI, {
17035
17036
  method: 'DELETE',
17036
- url: '/api/orgs/{org}/scim/v2/Departments/{id}/',
17037
+ url: '/api/orgs/{platform_key}/scim/v2/Departments/{id}/',
17037
17038
  path: {
17038
17039
  'id': id,
17039
- 'org': org
17040
+ 'platform_key': platformKey
17040
17041
  }
17041
17042
  });
17042
17043
  }
17043
17044
  /**
17044
- * POST /scim/v2/Departments/{id}/add_members
17045
- *
17046
- * Add members to a department.
17047
- * @returns any No response body
17045
+ * Add members to a department
17046
+ * Add members to a department using SCIM patch operations
17047
+ * @returns any
17048
17048
  * @throws ApiError
17049
17049
  */
17050
- static orgsScimV2DepartmentsAddMembersCreate({
17050
+ static addDepartmentMembers({
17051
17051
  id,
17052
- org
17052
+ platformKey
17053
17053
  }) {
17054
17054
  return request(OpenAPI, {
17055
17055
  method: 'POST',
17056
- url: '/api/orgs/{org}/scim/v2/Departments/{id}/add_members/',
17056
+ url: '/api/orgs/{platform_key}/scim/v2/Departments/{id}/add_members/',
17057
17057
  path: {
17058
17058
  'id': id,
17059
- 'org': org
17059
+ 'platform_key': platformKey
17060
17060
  }
17061
17061
  });
17062
17062
  }
17063
17063
  /**
17064
- * POST /scim/v2/Departments/{id}/remove_members
17065
- *
17066
- * Remove members from a department.
17067
- * @returns any No response body
17064
+ * Remove members from a department
17065
+ * Remove members from a department using SCIM patch operations
17066
+ * @returns any
17068
17067
  * @throws ApiError
17069
17068
  */
17070
- static orgsScimV2DepartmentsRemoveMembersCreate({
17069
+ static removeDepartmentMembers({
17071
17070
  id,
17072
- org
17071
+ platformKey
17073
17072
  }) {
17074
17073
  return request(OpenAPI, {
17075
17074
  method: 'POST',
17076
- url: '/api/orgs/{org}/scim/v2/Departments/{id}/remove_members/',
17075
+ url: '/api/orgs/{platform_key}/scim/v2/Departments/{id}/remove_members/',
17077
17076
  path: {
17078
17077
  'id': id,
17079
- 'org': org
17078
+ 'platform_key': platformKey
17080
17079
  }
17081
17080
  });
17082
17081
  }
17083
17082
  /**
17084
- * SCIM Group Member endpoints for managing group members in the system.
17085
- * @returns any No response body
17083
+ * List all group members in the system
17084
+ * List all group members in the system for the specified platform
17085
+ * @returns any
17086
17086
  * @throws ApiError
17087
17087
  */
17088
- static orgsScimV2GroupMembersRetrieve({
17089
- org
17088
+ static listGroupMembers({
17089
+ platformKey
17090
17090
  }) {
17091
17091
  return request(OpenAPI, {
17092
17092
  method: 'GET',
17093
- url: '/api/orgs/{org}/scim/v2/GroupMembers/',
17093
+ url: '/api/orgs/{platform_key}/scim/v2/GroupMembers/',
17094
17094
  path: {
17095
- 'org': org
17095
+ 'platform_key': platformKey
17096
17096
  }
17097
17097
  });
17098
17098
  }
17099
17099
  /**
17100
- * SCIM Group Member endpoints for managing group members in the system.
17101
- * @returns any No response body
17100
+ * Create a new group member
17101
+ * Create a new group member for the specified platform
17102
+ * @returns any
17102
17103
  * @throws ApiError
17103
17104
  */
17104
- static orgsScimV2GroupMembersCreate({
17105
- org
17105
+ static createGroupMember({
17106
+ platformKey
17106
17107
  }) {
17107
17108
  return request(OpenAPI, {
17108
17109
  method: 'POST',
17109
- url: '/api/orgs/{org}/scim/v2/GroupMembers/',
17110
+ url: '/api/orgs/{platform_key}/scim/v2/GroupMembers/',
17110
17111
  path: {
17111
- 'org': org
17112
+ 'platform_key': platformKey
17112
17113
  }
17113
17114
  });
17114
17115
  }
17115
17116
  /**
17116
- * SCIM Group Member endpoints for managing group members in the system.
17117
- * @returns any No response body
17117
+ * Get details of a specific group member
17118
+ * Get details of a specific group member by ID for the specified platform
17119
+ * @returns any
17118
17120
  * @throws ApiError
17119
17121
  */
17120
- static orgsScimV2GroupMembersRetrieve2({
17122
+ static retrieveGroupMember({
17121
17123
  id,
17122
- org
17124
+ platformKey
17123
17125
  }) {
17124
17126
  return request(OpenAPI, {
17125
17127
  method: 'GET',
17126
- url: '/api/orgs/{org}/scim/v2/GroupMembers/{id}/',
17128
+ url: '/api/orgs/{platform_key}/scim/v2/GroupMembers/{id}/',
17127
17129
  path: {
17128
17130
  'id': id,
17129
- 'org': org
17131
+ 'platform_key': platformKey
17130
17132
  }
17131
17133
  });
17132
17134
  }
17133
17135
  /**
17134
- * SCIM Group Member endpoints for managing group members in the system.
17135
- * @returns any No response body
17136
+ * Update a group member
17137
+ * Update a group member for the specified platform
17138
+ * @returns any
17136
17139
  * @throws ApiError
17137
17140
  */
17138
- static orgsScimV2GroupMembersUpdate({
17141
+ static updateGroupMember({
17139
17142
  id,
17140
- org
17143
+ platformKey
17141
17144
  }) {
17142
17145
  return request(OpenAPI, {
17143
17146
  method: 'PUT',
17144
- url: '/api/orgs/{org}/scim/v2/GroupMembers/{id}/',
17147
+ url: '/api/orgs/{platform_key}/scim/v2/GroupMembers/{id}/',
17145
17148
  path: {
17146
17149
  'id': id,
17147
- 'org': org
17150
+ 'platform_key': platformKey
17148
17151
  }
17149
17152
  });
17150
17153
  }
17151
17154
  /**
17152
- * SCIM Group Member endpoints for managing group members in the system.
17155
+ * Delete a group member
17156
+ * Delete a group member from the system
17153
17157
  * @returns void
17154
17158
  * @throws ApiError
17155
17159
  */
17156
- static orgsScimV2GroupMembersDestroy({
17160
+ static deleteGroupMember({
17157
17161
  id,
17158
- org
17162
+ platformKey
17159
17163
  }) {
17160
17164
  return request(OpenAPI, {
17161
17165
  method: 'DELETE',
17162
- url: '/api/orgs/{org}/scim/v2/GroupMembers/{id}/',
17166
+ url: '/api/orgs/{platform_key}/scim/v2/GroupMembers/{id}/',
17163
17167
  path: {
17164
17168
  'id': id,
17165
- 'org': org
17169
+ 'platform_key': platformKey
17166
17170
  }
17167
17171
  });
17168
17172
  }
17169
17173
  /**
17170
- * SCIM Group endpoints for managing user groups in the system (SCIM 2.0).
17171
- * @returns any No response body
17174
+ * List user groups in the system
17175
+ * List user groups in the system for the specified platform
17176
+ * @returns any
17172
17177
  * @throws ApiError
17173
17178
  */
17174
- static orgsScimV2GroupsRetrieve({
17175
- org
17179
+ static listGroups({
17180
+ platformKey
17176
17181
  }) {
17177
17182
  return request(OpenAPI, {
17178
17183
  method: 'GET',
17179
- url: '/api/orgs/{org}/scim/v2/Groups/',
17184
+ url: '/api/orgs/{platform_key}/scim/v2/Groups/',
17180
17185
  path: {
17181
- 'org': org
17186
+ 'platform_key': platformKey
17182
17187
  }
17183
17188
  });
17184
17189
  }
17185
17190
  /**
17186
- * SCIM Group endpoints for managing user groups in the system (SCIM 2.0).
17187
- * @returns any No response body
17191
+ * Create a new user group
17192
+ * Create a new user group for the specified platform
17193
+ * @returns SCIMGroup
17188
17194
  * @throws ApiError
17189
17195
  */
17190
- static orgsScimV2GroupsCreate({
17191
- org
17196
+ static createGroup({
17197
+ platformKey,
17198
+ requestBody
17192
17199
  }) {
17193
17200
  return request(OpenAPI, {
17194
17201
  method: 'POST',
17195
- url: '/api/orgs/{org}/scim/v2/Groups/',
17202
+ url: '/api/orgs/{platform_key}/scim/v2/Groups/',
17196
17203
  path: {
17197
- 'org': org
17198
- }
17204
+ 'platform_key': platformKey
17205
+ },
17206
+ body: requestBody,
17207
+ mediaType: 'application/json'
17199
17208
  });
17200
17209
  }
17201
17210
  /**
17202
- * GET /scim/v2/groups/{id}
17203
- *
17204
- * Get details of a specific user group.
17205
- * @returns any No response body
17211
+ * Get details of a specific group
17212
+ * Get details of a specific group by ID for the specified platform
17213
+ * @returns SCIMGroup
17206
17214
  * @throws ApiError
17207
17215
  */
17208
- static orgsScimV2GroupsRetrieve2({
17216
+ static retrieveGroup({
17209
17217
  id,
17210
- org
17218
+ platformKey
17211
17219
  }) {
17212
17220
  return request(OpenAPI, {
17213
17221
  method: 'GET',
17214
- url: '/api/orgs/{org}/scim/v2/Groups/{id}/',
17222
+ url: '/api/orgs/{platform_key}/scim/v2/Groups/{id}/',
17215
17223
  path: {
17216
17224
  'id': id,
17217
- 'org': org
17225
+ 'platform_key': platformKey
17218
17226
  }
17219
17227
  });
17220
17228
  }
17221
17229
  /**
17222
- * PUT /scim/v2/groups/{id}
17223
- *
17224
- * Update a user group's information.
17225
- * @returns any No response body
17230
+ * Update a user group
17231
+ * Update a user group for the specified platform
17232
+ * @returns SCIMGroup
17226
17233
  * @throws ApiError
17227
17234
  */
17228
- static orgsScimV2GroupsUpdate({
17235
+ static updateGroup({
17229
17236
  id,
17230
- org
17237
+ platformKey,
17238
+ requestBody
17231
17239
  }) {
17232
17240
  return request(OpenAPI, {
17233
17241
  method: 'PUT',
17234
- url: '/api/orgs/{org}/scim/v2/Groups/{id}/',
17242
+ url: '/api/orgs/{platform_key}/scim/v2/Groups/{id}/',
17235
17243
  path: {
17236
17244
  'id': id,
17237
- 'org': org
17238
- }
17245
+ 'platform_key': platformKey
17246
+ },
17247
+ body: requestBody,
17248
+ mediaType: 'application/json'
17239
17249
  });
17240
17250
  }
17241
17251
  /**
17242
- * DELETE /scim/v2/groups/{id}
17243
- *
17244
- * Delete a user group from the system.
17252
+ * Delete a user group
17253
+ * Delete a user group from the system
17245
17254
  * @returns void
17246
17255
  * @throws ApiError
17247
17256
  */
17248
- static orgsScimV2GroupsDestroy({
17257
+ static deleteGroup({
17249
17258
  id,
17250
- org
17259
+ platformKey
17251
17260
  }) {
17252
17261
  return request(OpenAPI, {
17253
17262
  method: 'DELETE',
17254
- url: '/api/orgs/{org}/scim/v2/Groups/{id}/',
17263
+ url: '/api/orgs/{platform_key}/scim/v2/Groups/{id}/',
17255
17264
  path: {
17256
17265
  'id': id,
17257
- 'org': org
17266
+ 'platform_key': platformKey
17258
17267
  }
17259
17268
  });
17260
17269
  }
17261
17270
  /**
17262
- * POST /scim/v2/groups/{id}/add_members
17263
- *
17264
- * Add members to a user group.
17265
- * @returns any No response body
17271
+ * Add members to a user group
17272
+ * Add members to a user group using SCIM patch operations
17273
+ * @returns any
17266
17274
  * @throws ApiError
17267
17275
  */
17268
- static orgsScimV2GroupsAddMembersCreate({
17276
+ static addGroupMembers({
17269
17277
  id,
17270
- org
17278
+ platformKey
17271
17279
  }) {
17272
17280
  return request(OpenAPI, {
17273
17281
  method: 'POST',
17274
- url: '/api/orgs/{org}/scim/v2/Groups/{id}/add_members/',
17282
+ url: '/api/orgs/{platform_key}/scim/v2/Groups/{id}/add_members/',
17275
17283
  path: {
17276
17284
  'id': id,
17277
- 'org': org
17285
+ 'platform_key': platformKey
17278
17286
  }
17279
17287
  });
17280
17288
  }
17281
17289
  /**
17282
- * POST /scim/v2/groups/{id}/remove_members
17283
- *
17284
- * Remove members from a user group.
17285
- * @returns any No response body
17290
+ * Remove members from a user group
17291
+ * Remove members from a user group using SCIM patch operations
17292
+ * @returns any
17286
17293
  * @throws ApiError
17287
17294
  */
17288
- static orgsScimV2GroupsRemoveMembersCreate({
17295
+ static removeGroupMembers({
17289
17296
  id,
17290
- org
17297
+ platformKey
17291
17298
  }) {
17292
17299
  return request(OpenAPI, {
17293
17300
  method: 'POST',
17294
- url: '/api/orgs/{org}/scim/v2/Groups/{id}/remove_members/',
17301
+ url: '/api/orgs/{platform_key}/scim/v2/Groups/{id}/remove_members/',
17295
17302
  path: {
17296
17303
  'id': id,
17297
- 'org': org
17304
+ 'platform_key': platformKey
17298
17305
  }
17299
17306
  });
17300
17307
  }
17301
17308
  /**
17302
- * GET /scim/v2/users
17303
- *
17304
- * List users in the system. Supports filtering and pagination.
17305
- * @returns any No response body
17309
+ * List users in the system
17310
+ * List users in the system for the specified platform
17311
+ * @returns SCIMUserListResponse
17306
17312
  * @throws ApiError
17307
17313
  */
17308
- static orgsScimV2UsersRetrieve({
17309
- org
17314
+ static listUsers({
17315
+ platformKey
17310
17316
  }) {
17311
17317
  return request(OpenAPI, {
17312
17318
  method: 'GET',
17313
- url: '/api/orgs/{org}/scim/v2/Users/',
17319
+ url: '/api/orgs/{platform_key}/scim/v2/Users/',
17314
17320
  path: {
17315
- 'org': org
17321
+ 'platform_key': platformKey
17316
17322
  }
17317
17323
  });
17318
17324
  }
17319
17325
  /**
17320
- * POST /scim/v2/users
17321
- *
17322
- * Create a new user in the system.
17323
- * @returns any No response body
17326
+ * Create a new user in the system
17327
+ * Create a new user in the system for the specified platform
17328
+ * @returns SCIMUserResponse
17324
17329
  * @throws ApiError
17325
17330
  */
17326
- static orgsScimV2UsersCreate({
17327
- org
17331
+ static createUser({
17332
+ platformKey,
17333
+ requestBody
17328
17334
  }) {
17329
17335
  return request(OpenAPI, {
17330
17336
  method: 'POST',
17331
- url: '/api/orgs/{org}/scim/v2/Users/',
17337
+ url: '/api/orgs/{platform_key}/scim/v2/Users/',
17332
17338
  path: {
17333
- 'org': org
17334
- }
17339
+ 'platform_key': platformKey
17340
+ },
17341
+ body: requestBody,
17342
+ mediaType: 'application/json'
17335
17343
  });
17336
17344
  }
17337
17345
  /**
17338
- * GET /scim/v2/users/{id}
17339
- *
17340
- * Get details of a specific user.
17341
- * @returns any No response body
17346
+ * Get details of a specific user
17347
+ * Get details of a specific user by ID for the specified platform
17348
+ * @returns SCIMUserResponse
17342
17349
  * @throws ApiError
17343
17350
  */
17344
- static orgsScimV2UsersRetrieve2({
17351
+ static retrieveUser({
17345
17352
  id,
17346
- org
17353
+ platformKey
17347
17354
  }) {
17348
17355
  return request(OpenAPI, {
17349
17356
  method: 'GET',
17350
- url: '/api/orgs/{org}/scim/v2/Users/{id}/',
17357
+ url: '/api/orgs/{platform_key}/scim/v2/Users/{id}/',
17351
17358
  path: {
17352
17359
  'id': id,
17353
- 'org': org
17360
+ 'platform_key': platformKey
17354
17361
  }
17355
17362
  });
17356
17363
  }
17357
17364
  /**
17358
- * PUT /scim/v2/users/{id}
17359
- *
17360
- * Update a user's information.
17361
- * @returns any No response body
17365
+ * Update a user
17366
+ * Update a user for the specified platform
17367
+ * @returns SCIMUserResponse
17362
17368
  * @throws ApiError
17363
17369
  */
17364
- static orgsScimV2UsersUpdate({
17370
+ static updateUser({
17365
17371
  id,
17366
- org
17372
+ platformKey,
17373
+ requestBody
17367
17374
  }) {
17368
17375
  return request(OpenAPI, {
17369
17376
  method: 'PUT',
17370
- url: '/api/orgs/{org}/scim/v2/Users/{id}/',
17377
+ url: '/api/orgs/{platform_key}/scim/v2/Users/{id}/',
17371
17378
  path: {
17372
17379
  'id': id,
17373
- 'org': org
17374
- }
17380
+ 'platform_key': platformKey
17381
+ },
17382
+ body: requestBody,
17383
+ mediaType: 'application/json'
17375
17384
  });
17376
17385
  }
17377
17386
  /**
17378
- * DELETE /scim/v2/users/{id} is not supported.
17387
+ * Delete a user (not supported)
17388
+ * Delete a user for the specified platform (not supported)
17379
17389
  * @returns void
17380
17390
  * @throws ApiError
17381
17391
  */
17382
- static orgsScimV2UsersDestroy({
17392
+ static deleteUser({
17383
17393
  id,
17384
- org
17394
+ platformKey
17385
17395
  }) {
17386
17396
  return request(OpenAPI, {
17387
17397
  method: 'DELETE',
17388
- url: '/api/orgs/{org}/scim/v2/Users/{id}/',
17398
+ url: '/api/orgs/{platform_key}/scim/v2/Users/{id}/',
17389
17399
  path: {
17390
17400
  'id': id,
17391
- 'org': org
17401
+ 'platform_key': platformKey
17392
17402
  }
17393
17403
  });
17394
17404
  }