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