@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.
- package/dist/index.cjs.js +3800 -3143
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3800 -3143
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +3800 -3143
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +27 -5
- package/dist/types/models/CatalogAutoIncrementResponse.d.ts +11 -11
- package/dist/types/models/CourseGroupSuggestionDetail.d.ts +2 -2
- package/dist/types/models/CourseInvitationDetail.d.ts +2 -2
- package/dist/types/models/CourseLicenseAssignmentDetail.d.ts +2 -2
- package/dist/types/models/CourseLicenseDetail.d.ts +4 -0
- package/dist/types/models/CourseLicenseGroupAssignmentDetail.d.ts +2 -2
- package/dist/types/models/CourseReviewPaginatedResponse.d.ts +18 -0
- package/dist/types/models/CourseReviewRequest.d.ts +37 -0
- package/dist/types/models/CourseReviewResponse.d.ts +40 -0
- package/dist/types/models/PaginatedAssertionsResponse.d.ts +21 -0
- package/dist/types/models/PaginatedCourseAccessRequest.d.ts +2 -2
- package/dist/types/models/PaginatedCourseGroupSuggestion.d.ts +2 -2
- package/dist/types/models/PaginatedCourseInvitation.d.ts +2 -2
- package/dist/types/models/PaginatedCourseLicense.d.ts +2 -2
- package/dist/types/models/PaginatedCourseLicenseAssignment.d.ts +2 -2
- package/dist/types/models/PaginatedCourseLicenseGroupAssignment.d.ts +2 -2
- package/dist/types/models/PaginatedCourseSuggestion.d.ts +2 -2
- package/dist/types/models/PaginatedPathwayGroupSuggestion.d.ts +2 -2
- package/dist/types/models/PaginatedPathwaySuggestion.d.ts +2 -2
- package/dist/types/models/PaginatedPlatformInvitation.d.ts +2 -2
- package/dist/types/models/PaginatedPlatformLicense.d.ts +2 -2
- package/dist/types/models/PaginatedProgramGroupSuggestion.d.ts +2 -2
- package/dist/types/models/PaginatedProgramInvitation.d.ts +2 -2
- package/dist/types/models/PaginatedProgramLicense.d.ts +2 -2
- package/dist/types/models/PaginatedProgramLicenseAssignment.d.ts +2 -2
- package/dist/types/models/PaginatedProgramLicenseGroupAssignment.d.ts +2 -2
- package/dist/types/models/PaginatedProgramSuggestion.d.ts +2 -2
- package/dist/types/models/PaginatedRbacGroupList.d.ts +7 -0
- package/dist/types/models/PaginatedRbacPolicyList.d.ts +7 -0
- package/dist/types/models/PaginatedRbacRoleList.d.ts +7 -0
- package/dist/types/models/PaginatedSkill.d.ts +7 -0
- package/dist/types/models/PaginatedUserLicense.d.ts +2 -2
- package/dist/types/models/PaginatedUserLicenseAssignment.d.ts +2 -2
- package/dist/types/models/PaginatedUserLicenseGroupAssignment.d.ts +2 -2
- package/dist/types/models/PatchedRbacGroup.d.ts +34 -0
- package/dist/types/models/PatchedRbacPolicy.d.ts +48 -0
- package/dist/types/models/PatchedRbacRole.d.ts +20 -0
- package/dist/types/models/PathwayGroupSuggestionDetail.d.ts +2 -2
- package/dist/types/models/PlatformInvitationDetail.d.ts +2 -2
- package/dist/types/models/PlatformSkillPointResponse.d.ts +2 -2
- package/dist/types/models/ProgramEnrollmentSearchResponse.d.ts +22 -0
- package/dist/types/models/ProgramLicenseAssignmentDetail.d.ts +4 -9
- package/dist/types/models/ProgramLicenseDetail.d.ts +6 -2
- package/dist/types/models/ProgramMetadataRequest.d.ts +29 -0
- package/dist/types/models/ProgramMetadataResponse.d.ts +29 -0
- package/dist/types/models/ProgramReview.d.ts +41 -0
- package/dist/types/models/ProgramReviewPaginatedResponse.d.ts +22 -0
- package/dist/types/models/ProgramReviewRequest.d.ts +37 -0
- package/dist/types/models/RbacBaseRole.d.ts +15 -0
- package/dist/types/models/RbacGroup.d.ts +34 -0
- package/dist/types/models/RbacPlatform.d.ts +14 -0
- package/dist/types/models/RbacPolicy.d.ts +48 -0
- package/dist/types/models/RbacPolicyGroup.d.ts +20 -0
- package/dist/types/models/RbacRole.d.ts +20 -0
- package/dist/types/models/RbacUser.d.ts +13 -0
- package/dist/types/models/StripeBillingPageIdentifierResponse.d.ts +9 -0
- package/dist/types/models/StripeContext.d.ts +7 -0
- package/dist/types/models/StripeNewUserTenantLaunchRequest.d.ts +20 -0
- package/dist/types/models/UserApp.d.ts +0 -2
- package/dist/types/models/UserLicenseAssignmentDetail.d.ts +1 -1
- package/dist/types/models/UserLicenseDetail.d.ts +5 -1
- package/dist/types/models/UserLicenseGroupAssignmentDetail.d.ts +2 -2
- package/dist/types/services/AnalyticsService.d.ts +42 -13
- package/dist/types/services/AudienceService.d.ts +345 -149
- package/dist/types/services/CareerService.d.ts +117 -90
- package/dist/types/services/CatalogService.d.ts +3799 -1430
- package/dist/types/services/CoreService.d.ts +452 -126
- package/dist/types/services/CredentialsService.d.ts +177 -141
- package/dist/types/services/DepartmentsService.d.ts +53 -16
- package/dist/types/services/EngagementService.d.ts +459 -179
- package/dist/types/services/FeaturesService.d.ts +16 -7
- package/dist/types/services/FinanceService.d.ts +49 -20
- package/dist/types/services/MediaResourcesService.d.ts +243 -67
- package/dist/types/services/NotificationBuilderService.d.ts +31 -17
- package/dist/types/services/NotificationService.d.ts +56 -49
- package/dist/types/services/OrgsService.d.ts +106 -77
- package/dist/types/services/OverviewService.d.ts +154 -55
- package/dist/types/services/PerformanceService.d.ts +132 -56
- package/dist/types/services/PerlearnerService.d.ts +431 -217
- package/dist/types/services/PlatformService.d.ts +221 -116
- package/dist/types/services/ProviderAssociationService.d.ts +3 -2
- package/dist/types/services/ProvidersService.d.ts +40 -18
- package/dist/types/services/ProvisionService.d.ts +3 -2
- package/dist/types/services/RecommendationsService.d.ts +3 -3
- package/dist/types/services/ReportsService.d.ts +22 -16
- package/dist/types/services/RolesService.d.ts +8 -6
- package/dist/types/services/SearchService.d.ts +305 -80
- package/dist/types/services/ServiceService.d.ts +89 -29
- package/dist/types/services/SkillsService.d.ts +40 -32
- package/dist/types/services/UserGroupsService.d.ts +53 -16
- package/package.json +3 -2
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +27 -5
- package/src/models/CatalogAutoIncrementResponse.ts +11 -11
- package/src/models/CourseGroupSuggestionDetail.ts +2 -2
- package/src/models/CourseInvitationDetail.ts +2 -2
- package/src/models/CourseLicenseAssignmentDetail.ts +2 -2
- package/src/models/CourseLicenseDetail.ts +4 -0
- package/src/models/CourseLicenseGroupAssignmentDetail.ts +2 -2
- package/src/models/CourseReviewPaginatedResponse.ts +23 -0
- package/src/models/CourseReviewRequest.ts +42 -0
- package/src/models/CourseReviewResponse.ts +45 -0
- package/src/models/PaginatedAssertionsResponse.ts +26 -0
- package/src/models/PaginatedCourseAccessRequest.ts +2 -2
- package/src/models/PaginatedCourseGroupSuggestion.ts +2 -2
- package/src/models/PaginatedCourseInvitation.ts +2 -2
- package/src/models/PaginatedCourseLicense.ts +2 -2
- package/src/models/PaginatedCourseLicenseAssignment.ts +2 -2
- package/src/models/PaginatedCourseLicenseGroupAssignment.ts +2 -2
- package/src/models/PaginatedCourseSuggestion.ts +2 -2
- package/src/models/PaginatedPathwayGroupSuggestion.ts +2 -2
- package/src/models/PaginatedPathwaySuggestion.ts +2 -2
- package/src/models/PaginatedPlatformInvitation.ts +2 -2
- package/src/models/PaginatedPlatformLicense.ts +2 -2
- package/src/models/PaginatedProgramGroupSuggestion.ts +2 -2
- package/src/models/PaginatedProgramInvitation.ts +2 -2
- package/src/models/PaginatedProgramLicense.ts +2 -2
- package/src/models/PaginatedProgramLicenseAssignment.ts +2 -2
- package/src/models/PaginatedProgramLicenseGroupAssignment.ts +2 -2
- package/src/models/PaginatedProgramSuggestion.ts +2 -2
- package/src/models/PaginatedRbacGroupList.ts +12 -0
- package/src/models/PaginatedRbacPolicyList.ts +12 -0
- package/src/models/PaginatedRbacRoleList.ts +12 -0
- package/src/models/PaginatedSkill.ts +12 -0
- package/src/models/PaginatedUserLicense.ts +2 -2
- package/src/models/PaginatedUserLicenseAssignment.ts +2 -2
- package/src/models/PaginatedUserLicenseGroupAssignment.ts +2 -2
- package/src/models/PatchedRbacGroup.ts +39 -0
- package/src/models/PatchedRbacPolicy.ts +53 -0
- package/src/models/PatchedRbacRole.ts +25 -0
- package/src/models/PathwayGroupSuggestionDetail.ts +2 -2
- package/src/models/PlatformInvitationDetail.ts +2 -2
- package/src/models/PlatformSkillPointResponse.ts +2 -2
- package/src/models/ProgramEnrollmentSearchResponse.ts +27 -0
- package/src/models/ProgramLicenseAssignmentDetail.ts +4 -9
- package/src/models/ProgramLicenseDetail.ts +6 -2
- package/src/models/ProgramMetadataRequest.ts +34 -0
- package/src/models/ProgramMetadataResponse.ts +34 -0
- package/src/models/ProgramReview.ts +46 -0
- package/src/models/ProgramReviewPaginatedResponse.ts +27 -0
- package/src/models/ProgramReviewRequest.ts +42 -0
- package/src/models/RbacBaseRole.ts +20 -0
- package/src/models/RbacGroup.ts +39 -0
- package/src/models/RbacPlatform.ts +19 -0
- package/src/models/RbacPolicy.ts +53 -0
- package/src/models/RbacPolicyGroup.ts +25 -0
- package/src/models/RbacRole.ts +25 -0
- package/src/models/RbacUser.ts +18 -0
- package/src/models/StripeBillingPageIdentifierResponse.ts +14 -0
- package/src/models/StripeContext.ts +12 -0
- package/src/models/StripeNewUserTenantLaunchRequest.ts +25 -0
- package/src/models/UserApp.ts +0 -2
- package/src/models/UserLicenseAssignmentDetail.ts +1 -1
- package/src/models/UserLicenseDetail.ts +5 -1
- package/src/models/UserLicenseGroupAssignmentDetail.ts +2 -2
- package/src/services/AnalyticsService.ts +45 -16
- package/src/services/AudienceService.ts +380 -184
- package/src/services/CareerService.ts +144 -117
- package/src/services/CatalogService.ts +6902 -4245
- package/src/services/CoreService.ts +782 -172
- package/src/services/CredentialsService.ts +257 -176
- package/src/services/DepartmentsService.ts +56 -19
- package/src/services/EngagementService.ts +528 -236
- package/src/services/FeaturesService.ts +19 -10
- package/src/services/FinanceService.ts +54 -25
- package/src/services/MediaResourcesService.ts +251 -75
- package/src/services/NotificationBuilderService.ts +36 -22
- package/src/services/NotificationService.ts +73 -61
- package/src/services/OrgsService.ts +135 -106
- package/src/services/OverviewService.ts +172 -73
- package/src/services/PerformanceService.ts +153 -77
- package/src/services/PerlearnerService.ts +591 -279
- package/src/services/PlatformService.ts +278 -157
- package/src/services/ProviderAssociationService.ts +4 -3
- package/src/services/ProvidersService.ts +58 -27
- package/src/services/ProvisionService.ts +4 -3
- package/src/services/RecommendationsService.ts +5 -4
- package/src/services/ReportsService.ts +28 -22
- package/src/services/RolesService.ts +10 -8
- package/src/services/SearchService.ts +323 -98
- package/src/services/ServiceService.ts +149 -39
- package/src/services/SkillsService.ts +56 -44
- package/src/services/UserGroupsService.ts +56 -19
- package/dist/types/models/BlockSkillPointInfoResponse.d.ts +0 -10
- package/dist/types/models/CourseCompletionCatalogResponse.d.ts +0 -11
- package/dist/types/models/CourseEligibilityCheckResponse.d.ts +0 -25
- package/dist/types/models/CourseSkillPointInfoResponse.d.ts +0 -10
- package/dist/types/models/UserSkillPointInfoResponse.d.ts +0 -10
- package/src/models/BlockSkillPointInfoResponse.ts +0 -15
- package/src/models/CourseCompletionCatalogResponse.ts +0 -16
- package/src/models/CourseEligibilityCheckResponse.ts +0 -30
- package/src/models/CourseSkillPointInfoResponse.ts +0 -15
- 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/',
|