@iblai/iblai-api 0.0.2-core → 0.0.12-scan-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 (200) hide show
  1. package/dist/index.cjs.js +3800 -3143
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +3800 -3143
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +3800 -3143
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +27 -5
  8. package/dist/types/models/CatalogAutoIncrementResponse.d.ts +11 -11
  9. package/dist/types/models/CourseGroupSuggestionDetail.d.ts +2 -2
  10. package/dist/types/models/CourseInvitationDetail.d.ts +2 -2
  11. package/dist/types/models/CourseLicenseAssignmentDetail.d.ts +2 -2
  12. package/dist/types/models/CourseLicenseDetail.d.ts +4 -0
  13. package/dist/types/models/CourseLicenseGroupAssignmentDetail.d.ts +2 -2
  14. package/dist/types/models/CourseReviewPaginatedResponse.d.ts +18 -0
  15. package/dist/types/models/CourseReviewRequest.d.ts +37 -0
  16. package/dist/types/models/CourseReviewResponse.d.ts +40 -0
  17. package/dist/types/models/PaginatedAssertionsResponse.d.ts +21 -0
  18. package/dist/types/models/PaginatedCourseAccessRequest.d.ts +2 -2
  19. package/dist/types/models/PaginatedCourseGroupSuggestion.d.ts +2 -2
  20. package/dist/types/models/PaginatedCourseInvitation.d.ts +2 -2
  21. package/dist/types/models/PaginatedCourseLicense.d.ts +2 -2
  22. package/dist/types/models/PaginatedCourseLicenseAssignment.d.ts +2 -2
  23. package/dist/types/models/PaginatedCourseLicenseGroupAssignment.d.ts +2 -2
  24. package/dist/types/models/PaginatedCourseSuggestion.d.ts +2 -2
  25. package/dist/types/models/PaginatedPathwayGroupSuggestion.d.ts +2 -2
  26. package/dist/types/models/PaginatedPathwaySuggestion.d.ts +2 -2
  27. package/dist/types/models/PaginatedPlatformInvitation.d.ts +2 -2
  28. package/dist/types/models/PaginatedPlatformLicense.d.ts +2 -2
  29. package/dist/types/models/PaginatedProgramGroupSuggestion.d.ts +2 -2
  30. package/dist/types/models/PaginatedProgramInvitation.d.ts +2 -2
  31. package/dist/types/models/PaginatedProgramLicense.d.ts +2 -2
  32. package/dist/types/models/PaginatedProgramLicenseAssignment.d.ts +2 -2
  33. package/dist/types/models/PaginatedProgramLicenseGroupAssignment.d.ts +2 -2
  34. package/dist/types/models/PaginatedProgramSuggestion.d.ts +2 -2
  35. package/dist/types/models/PaginatedRbacGroupList.d.ts +7 -0
  36. package/dist/types/models/PaginatedRbacPolicyList.d.ts +7 -0
  37. package/dist/types/models/PaginatedRbacRoleList.d.ts +7 -0
  38. package/dist/types/models/PaginatedSkill.d.ts +7 -0
  39. package/dist/types/models/PaginatedUserLicense.d.ts +2 -2
  40. package/dist/types/models/PaginatedUserLicenseAssignment.d.ts +2 -2
  41. package/dist/types/models/PaginatedUserLicenseGroupAssignment.d.ts +2 -2
  42. package/dist/types/models/PatchedRbacGroup.d.ts +34 -0
  43. package/dist/types/models/PatchedRbacPolicy.d.ts +48 -0
  44. package/dist/types/models/PatchedRbacRole.d.ts +20 -0
  45. package/dist/types/models/PathwayGroupSuggestionDetail.d.ts +2 -2
  46. package/dist/types/models/PlatformInvitationDetail.d.ts +2 -2
  47. package/dist/types/models/PlatformSkillPointResponse.d.ts +2 -2
  48. package/dist/types/models/ProgramEnrollmentSearchResponse.d.ts +22 -0
  49. package/dist/types/models/ProgramLicenseAssignmentDetail.d.ts +4 -9
  50. package/dist/types/models/ProgramLicenseDetail.d.ts +6 -2
  51. package/dist/types/models/ProgramMetadataRequest.d.ts +29 -0
  52. package/dist/types/models/ProgramMetadataResponse.d.ts +29 -0
  53. package/dist/types/models/ProgramReview.d.ts +41 -0
  54. package/dist/types/models/ProgramReviewPaginatedResponse.d.ts +22 -0
  55. package/dist/types/models/ProgramReviewRequest.d.ts +37 -0
  56. package/dist/types/models/RbacBaseRole.d.ts +15 -0
  57. package/dist/types/models/RbacGroup.d.ts +34 -0
  58. package/dist/types/models/RbacPlatform.d.ts +14 -0
  59. package/dist/types/models/RbacPolicy.d.ts +48 -0
  60. package/dist/types/models/RbacPolicyGroup.d.ts +20 -0
  61. package/dist/types/models/RbacRole.d.ts +20 -0
  62. package/dist/types/models/RbacUser.d.ts +13 -0
  63. package/dist/types/models/StripeBillingPageIdentifierResponse.d.ts +9 -0
  64. package/dist/types/models/StripeContext.d.ts +7 -0
  65. package/dist/types/models/StripeNewUserTenantLaunchRequest.d.ts +20 -0
  66. package/dist/types/models/UserApp.d.ts +0 -2
  67. package/dist/types/models/UserLicenseAssignmentDetail.d.ts +1 -1
  68. package/dist/types/models/UserLicenseDetail.d.ts +5 -1
  69. package/dist/types/models/UserLicenseGroupAssignmentDetail.d.ts +2 -2
  70. package/dist/types/services/AnalyticsService.d.ts +42 -13
  71. package/dist/types/services/AudienceService.d.ts +345 -149
  72. package/dist/types/services/CareerService.d.ts +117 -90
  73. package/dist/types/services/CatalogService.d.ts +3799 -1430
  74. package/dist/types/services/CoreService.d.ts +452 -126
  75. package/dist/types/services/CredentialsService.d.ts +177 -141
  76. package/dist/types/services/DepartmentsService.d.ts +53 -16
  77. package/dist/types/services/EngagementService.d.ts +459 -179
  78. package/dist/types/services/FeaturesService.d.ts +16 -7
  79. package/dist/types/services/FinanceService.d.ts +49 -20
  80. package/dist/types/services/MediaResourcesService.d.ts +243 -67
  81. package/dist/types/services/NotificationBuilderService.d.ts +31 -17
  82. package/dist/types/services/NotificationService.d.ts +56 -49
  83. package/dist/types/services/OrgsService.d.ts +106 -77
  84. package/dist/types/services/OverviewService.d.ts +154 -55
  85. package/dist/types/services/PerformanceService.d.ts +132 -56
  86. package/dist/types/services/PerlearnerService.d.ts +431 -217
  87. package/dist/types/services/PlatformService.d.ts +221 -116
  88. package/dist/types/services/ProviderAssociationService.d.ts +3 -2
  89. package/dist/types/services/ProvidersService.d.ts +40 -18
  90. package/dist/types/services/ProvisionService.d.ts +3 -2
  91. package/dist/types/services/RecommendationsService.d.ts +3 -3
  92. package/dist/types/services/ReportsService.d.ts +22 -16
  93. package/dist/types/services/RolesService.d.ts +8 -6
  94. package/dist/types/services/SearchService.d.ts +305 -80
  95. package/dist/types/services/ServiceService.d.ts +89 -29
  96. package/dist/types/services/SkillsService.d.ts +40 -32
  97. package/dist/types/services/UserGroupsService.d.ts +53 -16
  98. package/package.json +3 -2
  99. package/src/core/OpenAPI.ts +1 -1
  100. package/src/index.ts +27 -5
  101. package/src/models/CatalogAutoIncrementResponse.ts +11 -11
  102. package/src/models/CourseGroupSuggestionDetail.ts +2 -2
  103. package/src/models/CourseInvitationDetail.ts +2 -2
  104. package/src/models/CourseLicenseAssignmentDetail.ts +2 -2
  105. package/src/models/CourseLicenseDetail.ts +4 -0
  106. package/src/models/CourseLicenseGroupAssignmentDetail.ts +2 -2
  107. package/src/models/CourseReviewPaginatedResponse.ts +23 -0
  108. package/src/models/CourseReviewRequest.ts +42 -0
  109. package/src/models/CourseReviewResponse.ts +45 -0
  110. package/src/models/PaginatedAssertionsResponse.ts +26 -0
  111. package/src/models/PaginatedCourseAccessRequest.ts +2 -2
  112. package/src/models/PaginatedCourseGroupSuggestion.ts +2 -2
  113. package/src/models/PaginatedCourseInvitation.ts +2 -2
  114. package/src/models/PaginatedCourseLicense.ts +2 -2
  115. package/src/models/PaginatedCourseLicenseAssignment.ts +2 -2
  116. package/src/models/PaginatedCourseLicenseGroupAssignment.ts +2 -2
  117. package/src/models/PaginatedCourseSuggestion.ts +2 -2
  118. package/src/models/PaginatedPathwayGroupSuggestion.ts +2 -2
  119. package/src/models/PaginatedPathwaySuggestion.ts +2 -2
  120. package/src/models/PaginatedPlatformInvitation.ts +2 -2
  121. package/src/models/PaginatedPlatformLicense.ts +2 -2
  122. package/src/models/PaginatedProgramGroupSuggestion.ts +2 -2
  123. package/src/models/PaginatedProgramInvitation.ts +2 -2
  124. package/src/models/PaginatedProgramLicense.ts +2 -2
  125. package/src/models/PaginatedProgramLicenseAssignment.ts +2 -2
  126. package/src/models/PaginatedProgramLicenseGroupAssignment.ts +2 -2
  127. package/src/models/PaginatedProgramSuggestion.ts +2 -2
  128. package/src/models/PaginatedRbacGroupList.ts +12 -0
  129. package/src/models/PaginatedRbacPolicyList.ts +12 -0
  130. package/src/models/PaginatedRbacRoleList.ts +12 -0
  131. package/src/models/PaginatedSkill.ts +12 -0
  132. package/src/models/PaginatedUserLicense.ts +2 -2
  133. package/src/models/PaginatedUserLicenseAssignment.ts +2 -2
  134. package/src/models/PaginatedUserLicenseGroupAssignment.ts +2 -2
  135. package/src/models/PatchedRbacGroup.ts +39 -0
  136. package/src/models/PatchedRbacPolicy.ts +53 -0
  137. package/src/models/PatchedRbacRole.ts +25 -0
  138. package/src/models/PathwayGroupSuggestionDetail.ts +2 -2
  139. package/src/models/PlatformInvitationDetail.ts +2 -2
  140. package/src/models/PlatformSkillPointResponse.ts +2 -2
  141. package/src/models/ProgramEnrollmentSearchResponse.ts +27 -0
  142. package/src/models/ProgramLicenseAssignmentDetail.ts +4 -9
  143. package/src/models/ProgramLicenseDetail.ts +6 -2
  144. package/src/models/ProgramMetadataRequest.ts +34 -0
  145. package/src/models/ProgramMetadataResponse.ts +34 -0
  146. package/src/models/ProgramReview.ts +46 -0
  147. package/src/models/ProgramReviewPaginatedResponse.ts +27 -0
  148. package/src/models/ProgramReviewRequest.ts +42 -0
  149. package/src/models/RbacBaseRole.ts +20 -0
  150. package/src/models/RbacGroup.ts +39 -0
  151. package/src/models/RbacPlatform.ts +19 -0
  152. package/src/models/RbacPolicy.ts +53 -0
  153. package/src/models/RbacPolicyGroup.ts +25 -0
  154. package/src/models/RbacRole.ts +25 -0
  155. package/src/models/RbacUser.ts +18 -0
  156. package/src/models/StripeBillingPageIdentifierResponse.ts +14 -0
  157. package/src/models/StripeContext.ts +12 -0
  158. package/src/models/StripeNewUserTenantLaunchRequest.ts +25 -0
  159. package/src/models/UserApp.ts +0 -2
  160. package/src/models/UserLicenseAssignmentDetail.ts +1 -1
  161. package/src/models/UserLicenseDetail.ts +5 -1
  162. package/src/models/UserLicenseGroupAssignmentDetail.ts +2 -2
  163. package/src/services/AnalyticsService.ts +45 -16
  164. package/src/services/AudienceService.ts +380 -184
  165. package/src/services/CareerService.ts +144 -117
  166. package/src/services/CatalogService.ts +6902 -4245
  167. package/src/services/CoreService.ts +782 -172
  168. package/src/services/CredentialsService.ts +257 -176
  169. package/src/services/DepartmentsService.ts +56 -19
  170. package/src/services/EngagementService.ts +528 -236
  171. package/src/services/FeaturesService.ts +19 -10
  172. package/src/services/FinanceService.ts +54 -25
  173. package/src/services/MediaResourcesService.ts +251 -75
  174. package/src/services/NotificationBuilderService.ts +36 -22
  175. package/src/services/NotificationService.ts +73 -61
  176. package/src/services/OrgsService.ts +135 -106
  177. package/src/services/OverviewService.ts +172 -73
  178. package/src/services/PerformanceService.ts +153 -77
  179. package/src/services/PerlearnerService.ts +591 -279
  180. package/src/services/PlatformService.ts +278 -157
  181. package/src/services/ProviderAssociationService.ts +4 -3
  182. package/src/services/ProvidersService.ts +58 -27
  183. package/src/services/ProvisionService.ts +4 -3
  184. package/src/services/RecommendationsService.ts +5 -4
  185. package/src/services/ReportsService.ts +28 -22
  186. package/src/services/RolesService.ts +10 -8
  187. package/src/services/SearchService.ts +323 -98
  188. package/src/services/ServiceService.ts +149 -39
  189. package/src/services/SkillsService.ts +56 -44
  190. package/src/services/UserGroupsService.ts +56 -19
  191. package/dist/types/models/BlockSkillPointInfoResponse.d.ts +0 -10
  192. package/dist/types/models/CourseCompletionCatalogResponse.d.ts +0 -11
  193. package/dist/types/models/CourseEligibilityCheckResponse.d.ts +0 -25
  194. package/dist/types/models/CourseSkillPointInfoResponse.d.ts +0 -10
  195. package/dist/types/models/UserSkillPointInfoResponse.d.ts +0 -10
  196. package/src/models/BlockSkillPointInfoResponse.ts +0 -15
  197. package/src/models/CourseCompletionCatalogResponse.ts +0 -16
  198. package/src/models/CourseEligibilityCheckResponse.ts +0 -30
  199. package/src/models/CourseSkillPointInfoResponse.ts +0 -15
  200. package/src/models/UserSkillPointInfoResponse.ts +0 -15
@@ -12,13 +12,14 @@ export class ProviderAssociationService {
12
12
  * Updates:
13
13
  * - Platform launch state
14
14
  * - Association configuration status
15
- * @param launchId
16
15
  * @returns any
17
16
  * @throws ApiError
18
17
  */
19
- public static providerAssociationStripeCallbackRetrieve(
18
+ public static providerAssociationStripeCallbackRetrieve({
19
+ launchId,
20
+ }: {
20
21
  launchId: string,
21
- ): CancelablePromise<{
22
+ }): CancelablePromise<{
22
23
  message?: string;
23
24
  }> {
24
25
  return __request(OpenAPI, {
@@ -12,6 +12,7 @@ import type { BaseResponse } from '../models/BaseResponse';
12
12
  import type { GCPTenantLaunchRequest } from '../models/GCPTenantLaunchRequest';
13
13
  import type { GooglePayAccountResponse } from '../models/GooglePayAccountResponse';
14
14
  import type { GooglePayVerifyToken } from '../models/GooglePayVerifyToken';
15
+ import type { StripeNewUserTenantLaunchRequest } from '../models/StripeNewUserTenantLaunchRequest';
15
16
  import type { TenantLaunchResponse } from '../models/TenantLaunchResponse';
16
17
  import type { VerifyGCPMarketPlaceRequest } from '../models/VerifyGCPMarketPlaceRequest';
17
18
  import type { VerifyGCPMarketPlaceResponse } from '../models/VerifyGCPMarketPlaceResponse';
@@ -21,13 +22,14 @@ import { request as __request } from '../core/request';
21
22
  export class ProvidersService {
22
23
  /**
23
24
  * Associate an Apple account with a user known user
24
- * @param requestBody
25
25
  * @returns AssociateAccountResponse
26
26
  * @throws ApiError
27
27
  */
28
- public static providersAppleAssociateAccountCreate(
28
+ public static providersAppleAssociateAccountCreate({
29
+ requestBody,
30
+ }: {
29
31
  requestBody: AssociateAppleAccount,
30
- ): CancelablePromise<AssociateAccountResponse> {
32
+ }): CancelablePromise<AssociateAccountResponse> {
31
33
  return __request(OpenAPI, {
32
34
  method: 'POST',
33
35
  url: '/api/providers/apple/associate-account/',
@@ -48,13 +50,14 @@ export class ProvidersService {
48
50
  }
49
51
  /**
50
52
  * Returns information about a user subscription status
51
- * @param requestBody
52
53
  * @returns AppleSubscriptionStatusView
53
54
  * @throws ApiError
54
55
  */
55
- public static providersAppleSubscriptionStatusCreate(
56
+ public static providersAppleSubscriptionStatusCreate({
57
+ requestBody,
58
+ }: {
56
59
  requestBody?: AppleSubscriptionStatusRequest,
57
- ): CancelablePromise<AppleSubscriptionStatusView> {
60
+ }): CancelablePromise<AppleSubscriptionStatusView> {
58
61
  return __request(OpenAPI, {
59
62
  method: 'POST',
60
63
  url: '/api/providers/apple/subscription-status/',
@@ -64,13 +67,14 @@ export class ProvidersService {
64
67
  }
65
68
  /**
66
69
  * Checks if a provided transaction_id is valid
67
- * @param requestBody
68
70
  * @returns BaseResponse
69
71
  * @throws ApiError
70
72
  */
71
- public static providersAppleValidateTransactionIdCreate(
73
+ public static providersAppleValidateTransactionIdCreate({
74
+ requestBody,
75
+ }: {
72
76
  requestBody: AppleVerifyTransactionId,
73
- ): CancelablePromise<BaseResponse> {
77
+ }): CancelablePromise<BaseResponse> {
74
78
  return __request(OpenAPI, {
75
79
  method: 'POST',
76
80
  url: '/api/providers/apple/validate-transaction-id/',
@@ -109,13 +113,14 @@ export class ProvidersService {
109
113
  * We cannot expose launching a tenant to an authorized user hence the need for the API
110
114
  *
111
115
  * The API validates the x_amzn_marketplace_token and then proxies the request to the Platform Launch API
112
- * @param requestBody
113
116
  * @returns TenantLaunchResponse
114
117
  * @throws ApiError
115
118
  */
116
- public static providersAwsLaunchTenantCreate(
119
+ public static providersAwsLaunchTenantCreate({
120
+ requestBody,
121
+ }: {
117
122
  requestBody: AWSTenantLaunchRequest,
118
- ): CancelablePromise<TenantLaunchResponse> {
123
+ }): CancelablePromise<TenantLaunchResponse> {
119
124
  return __request(OpenAPI, {
120
125
  method: 'POST',
121
126
  url: '/api/providers/aws/launch-tenant/',
@@ -164,13 +169,14 @@ export class ProvidersService {
164
169
  *
165
170
  * Set CREATE_ORGANIZATION_URL in GlobalConfigurationFetcher to the URL of the GCP marketplace create organization
166
171
  * page
167
- * @param productId
168
172
  * @returns any No response body
169
173
  * @throws ApiError
170
174
  */
171
- public static providersGcpCreateOrganizationCreate2(
175
+ public static providersGcpCreateOrganizationCreate2({
176
+ productId,
177
+ }: {
172
178
  productId: string,
173
- ): CancelablePromise<any> {
179
+ }): CancelablePromise<any> {
174
180
  return __request(OpenAPI, {
175
181
  method: 'POST',
176
182
  url: '/api/providers/gcp/create-organization/{product_id}/',
@@ -195,13 +201,14 @@ export class ProvidersService {
195
201
  * We cannot expose launching a tenant to an authorized user hence the need for the API
196
202
  *
197
203
  * The API validates the x_gcp_marketplace_token and then proxies the request to the Platform Launc API
198
- * @param requestBody
199
204
  * @returns TenantLaunchResponse
200
205
  * @throws ApiError
201
206
  */
202
- public static providersGcpLaunchTenantCreate(
207
+ public static providersGcpLaunchTenantCreate({
208
+ requestBody,
209
+ }: {
203
210
  requestBody: GCPTenantLaunchRequest,
204
- ): CancelablePromise<TenantLaunchResponse> {
211
+ }): CancelablePromise<TenantLaunchResponse> {
205
212
  return __request(OpenAPI, {
206
213
  method: 'POST',
207
214
  url: '/api/providers/gcp/launch-tenant/',
@@ -210,13 +217,14 @@ export class ProvidersService {
210
217
  });
211
218
  }
212
219
  /**
213
- * @param requestBody
214
220
  * @returns VerifyGCPMarketPlaceResponse
215
221
  * @throws ApiError
216
222
  */
217
- public static providersGcpValidateSignupTokenCreate(
223
+ public static providersGcpValidateSignupTokenCreate({
224
+ requestBody,
225
+ }: {
218
226
  requestBody: VerifyGCPMarketPlaceRequest,
219
- ): CancelablePromise<VerifyGCPMarketPlaceResponse> {
227
+ }): CancelablePromise<VerifyGCPMarketPlaceResponse> {
220
228
  return __request(OpenAPI, {
221
229
  method: 'POST',
222
230
  url: '/api/providers/gcp/validate-signup-token/',
@@ -226,13 +234,14 @@ export class ProvidersService {
226
234
  }
227
235
  /**
228
236
  * Google Allows us to pass an obfuscated account id to be sent to during a subscription purchase
229
- * @param bundleId
230
237
  * @returns GooglePayAccountResponse
231
238
  * @throws ApiError
232
239
  */
233
- public static providersGooglePayGetAccountRetrieve(
240
+ public static providersGooglePayGetAccountRetrieve({
241
+ bundleId,
242
+ }: {
234
243
  bundleId: string,
235
- ): CancelablePromise<GooglePayAccountResponse> {
244
+ }): CancelablePromise<GooglePayAccountResponse> {
236
245
  return __request(OpenAPI, {
237
246
  method: 'GET',
238
247
  url: '/api/providers/google-pay/get-account/{bundle_id}',
@@ -254,13 +263,14 @@ export class ProvidersService {
254
263
  }
255
264
  /**
256
265
  * Associate a Google Pay account with a known user
257
- * @param requestBody
258
266
  * @returns BaseResponse
259
267
  * @throws ApiError
260
268
  */
261
- public static providersGooglePayValidateTransactionIdCreate(
269
+ public static providersGooglePayValidateTransactionIdCreate({
270
+ requestBody,
271
+ }: {
262
272
  requestBody: GooglePayVerifyToken,
263
- ): CancelablePromise<BaseResponse> {
273
+ }): CancelablePromise<BaseResponse> {
264
274
  return __request(OpenAPI, {
265
275
  method: 'POST',
266
276
  url: '/api/providers/google-pay/validate-transaction-id/',
@@ -268,4 +278,25 @@ export class ProvidersService {
268
278
  mediaType: 'application/json',
269
279
  });
270
280
  }
281
+ /**
282
+ * Proxy to the Platform launch API
283
+ *
284
+ * We cannot expose launching a tenant to an unauthorized user hence the need for the API
285
+ *
286
+ * The API validates the stripe_checkout_id and then proxies the request to the Platform Launch API
287
+ * @returns TenantLaunchResponse
288
+ * @throws ApiError
289
+ */
290
+ public static providersStripeCreateOrganizationCreate({
291
+ requestBody,
292
+ }: {
293
+ requestBody: StripeNewUserTenantLaunchRequest,
294
+ }): CancelablePromise<TenantLaunchResponse> {
295
+ return __request(OpenAPI, {
296
+ method: 'POST',
297
+ url: '/api/providers/stripe/create-organization/',
298
+ body: requestBody,
299
+ mediaType: 'application/json',
300
+ });
301
+ }
271
302
  }
@@ -12,13 +12,14 @@ export class ProvisionService {
12
12
  *
13
13
  * request body:
14
14
  * {"config_name": "demo_config}
15
- * @param configName
16
15
  * @returns any No response body
17
16
  * @throws ApiError
18
17
  */
19
- public static provisionCreate(
18
+ public static provisionCreate({
19
+ configName,
20
+ }: {
20
21
  configName: string,
21
- ): CancelablePromise<any> {
22
+ }): CancelablePromise<any> {
22
23
  return __request(OpenAPI, {
23
24
  method: 'POST',
24
25
  url: '/api/provision/{config_name}/',
@@ -10,15 +10,16 @@ export class RecommendationsService {
10
10
  /**
11
11
  * API endpoint that returns a search api url prepopulated with context data
12
12
  * See http://localhost:8000/api/schema/swagger-ui/#/recommendations
13
- * @param org
14
- * @param userId
15
13
  * @returns RecommendationSearchAPI
16
14
  * @throws ApiError
17
15
  */
18
- public static recommendationsOrgsUsersRetrieve(
16
+ public static recommendationsOrgsUsersRetrieve({
17
+ org,
18
+ userId,
19
+ }: {
19
20
  org: string,
20
21
  userId: string,
21
- ): CancelablePromise<RecommendationSearchAPI> {
22
+ }): CancelablePromise<RecommendationSearchAPI> {
22
23
  return __request(OpenAPI, {
23
24
  method: 'GET',
24
25
  url: '/api/recommendations/orgs/{org}/users/{user_id}/',
@@ -24,13 +24,14 @@ export class ReportsService {
24
24
  *
25
25
  * Returns:
26
26
  * A list of report objects with their metadata and status information.
27
- * @param org
28
27
  * @returns ReportList
29
28
  * @throws ApiError
30
29
  */
31
- public static reportsOrgsRetrieve(
30
+ public static reportsOrgsRetrieve({
31
+ org,
32
+ }: {
32
33
  org: string,
33
- ): CancelablePromise<ReportList> {
34
+ }): CancelablePromise<ReportList> {
34
35
  return __request(OpenAPI, {
35
36
  method: 'GET',
36
37
  url: '/api/reports/orgs/{org}/',
@@ -56,15 +57,16 @@ export class ReportsService {
56
57
  *
57
58
  * Error Responses:
58
59
  * 404 Not Found: If the specified report type doesn't exist
59
- * @param org
60
- * @param reportName
61
60
  * @returns ReportDetail
62
61
  * @throws ApiError
63
62
  */
64
- public static reportsOrgsRetrieve2(
63
+ public static reportsOrgsRetrieve2({
64
+ org,
65
+ reportName,
66
+ }: {
65
67
  org: string,
66
68
  reportName: string,
67
- ): CancelablePromise<ReportDetail> {
69
+ }): CancelablePromise<ReportDetail> {
68
70
  return __request(OpenAPI, {
69
71
  method: 'GET',
70
72
  url: '/api/reports/orgs/{org}/{report_name}',
@@ -116,15 +118,16 @@ export class ReportsService {
116
118
  * 400 Bad Request: Invalid parameters or report configuration
117
119
  * 404 Not Found: Report type not found
118
120
  * 403 Forbidden: User doesn't have permission for the requested report
119
- * @param org
120
- * @param requestBody
121
121
  * @returns ReportCreate
122
122
  * @throws ApiError
123
123
  */
124
- public static reportsOrgsNewCreate(
124
+ public static reportsOrgsNewCreate({
125
+ org,
126
+ requestBody,
127
+ }: {
125
128
  org: string,
126
129
  requestBody?: ReportRequest,
127
- ): CancelablePromise<ReportCreate> {
130
+ }): CancelablePromise<ReportCreate> {
128
131
  return __request(OpenAPI, {
129
132
  method: 'POST',
130
133
  url: '/api/reports/orgs/{org}/new',
@@ -148,13 +151,14 @@ export class ReportsService {
148
151
  * - status: Current status of the report if it has been previously requested
149
152
  *
150
153
  * The status will include details like the report ID, state, and download URL if completed.
151
- * @param key
152
154
  * @returns ReportList
153
155
  * @throws ApiError
154
156
  */
155
- public static reportsPlatformsRetrieve(
157
+ public static reportsPlatformsRetrieve({
158
+ key,
159
+ }: {
156
160
  key: string,
157
- ): CancelablePromise<ReportList> {
161
+ }): CancelablePromise<ReportList> {
158
162
  return __request(OpenAPI, {
159
163
  method: 'GET',
160
164
  url: '/api/reports/platforms/{key}/',
@@ -165,15 +169,16 @@ export class ReportsService {
165
169
  }
166
170
  /**
167
171
  * Returns details of a specific report type including its status if previously requested.
168
- * @param key
169
- * @param reportName
170
172
  * @returns ReportDetail
171
173
  * @throws ApiError
172
174
  */
173
- public static reportsPlatformsRetrieve2(
175
+ public static reportsPlatformsRetrieve2({
176
+ key,
177
+ reportName,
178
+ }: {
174
179
  key: string,
175
180
  reportName: string,
176
- ): CancelablePromise<ReportDetail> {
181
+ }): CancelablePromise<ReportDetail> {
177
182
  return __request(OpenAPI, {
178
183
  method: 'GET',
179
184
  url: '/api/reports/platforms/{key}/{report_name}',
@@ -196,15 +201,16 @@ export class ReportsService {
196
201
  * - force: (optional) Force generation of a new report even if one exists
197
202
  * - filters: (optional) Additional filters for the report
198
203
  * - departments: (optional) Department IDs to filter by
199
- * @param key
200
- * @param requestBody
201
204
  * @returns ReportCreate
202
205
  * @throws ApiError
203
206
  */
204
- public static reportsPlatformsNewCreate(
207
+ public static reportsPlatformsNewCreate({
208
+ key,
209
+ requestBody,
210
+ }: {
205
211
  key: string,
206
212
  requestBody?: ReportRequest,
207
- ): CancelablePromise<ReportCreate> {
213
+ }): CancelablePromise<ReportCreate> {
208
214
  return __request(OpenAPI, {
209
215
  method: 'POST',
210
216
  url: '/api/reports/platforms/{key}/new',
@@ -28,15 +28,16 @@ export class RolesService {
28
28
  * Error Responses:
29
29
  * 400 Bad Request: If the user doesn't exist in the platform or has no desired role
30
30
  * 404 Not Found: If the specified platform doesn't exist
31
- * @param org
32
- * @param username
33
31
  * @returns DesiredRole
34
32
  * @throws ApiError
35
33
  */
36
- public static rolesPlatformOrgsRolesUsersDesiredRolesRetrieve(
34
+ public static rolesPlatformOrgsRolesUsersDesiredRolesRetrieve({
35
+ org,
36
+ username,
37
+ }: {
37
38
  org: string,
38
39
  username: string,
39
- ): CancelablePromise<DesiredRole> {
40
+ }): CancelablePromise<DesiredRole> {
40
41
  return __request(OpenAPI, {
41
42
  method: 'GET',
42
43
  url: '/api/roles/platform/orgs/{org}/roles/users/{username}/desired-roles/',
@@ -66,15 +67,16 @@ export class RolesService {
66
67
  * Error Responses:
67
68
  * 400 Bad Request: If the user doesn't exist in the platform or has no reported role
68
69
  * 404 Not Found: If the specified platform doesn't exist
69
- * @param org
70
- * @param username
71
70
  * @returns ReportedRole
72
71
  * @throws ApiError
73
72
  */
74
- public static rolesPlatformOrgsRolesUsersReportedRolesRetrieve(
73
+ public static rolesPlatformOrgsRolesUsersReportedRolesRetrieve({
74
+ org,
75
+ username,
76
+ }: {
75
77
  org: string,
76
78
  username: string,
77
- ): CancelablePromise<ReportedRole> {
79
+ }): CancelablePromise<ReportedRole> {
78
80
  return __request(OpenAPI, {
79
81
  method: 'GET',
80
82
  url: '/api/roles/platform/orgs/{org}/roles/users/{username}/reported-roles/',