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