@iblai/iblai-api 4.504.1-core → 4.507.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 (43) hide show
  1. package/dist/index.cjs.js +3 -228
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +4 -229
  4. package/dist/index.esm.js.map +1 -1
  5. package/dist/index.umd.js +3 -228
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/types/index.d.ts +0 -15
  8. package/dist/types/services/CommerceService.d.ts +2 -135
  9. package/package.json +1 -1
  10. package/sdk_schema.yml +3 -638
  11. package/src/core/OpenAPI.ts +1 -1
  12. package/src/index.ts +0 -15
  13. package/src/services/CommerceService.ts +2 -243
  14. package/dist/types/models/AWSTenantLaunchRequest.d.ts +0 -24
  15. package/dist/types/models/AppleSubscriptionStatusRequest.d.ts +0 -3
  16. package/dist/types/models/AppleSubscriptionStatusView.d.ts +0 -3
  17. package/dist/types/models/AppleVerifyTransactionId.d.ts +0 -3
  18. package/dist/types/models/AssociateAccountResponse.d.ts +0 -5
  19. package/dist/types/models/AssociateAppleAccount.d.ts +0 -3
  20. package/dist/types/models/BaseErrorResponse.d.ts +0 -5
  21. package/dist/types/models/BaseResponse.d.ts +0 -5
  22. package/dist/types/models/GCPTenantLaunchRequest.d.ts +0 -28
  23. package/dist/types/models/GooglePayAccountResponse.d.ts +0 -15
  24. package/dist/types/models/GooglePayAccountResponseStatusEnum.d.ts +0 -8
  25. package/dist/types/models/GooglePayVerifyToken.d.ts +0 -6
  26. package/dist/types/models/VerifyGCPMarketPlaceFailedResponse.d.ts +0 -11
  27. package/dist/types/models/VerifyGCPMarketPlaceRequest.d.ts +0 -3
  28. package/dist/types/models/VerifyGCPMarketPlaceResponse.d.ts +0 -11
  29. package/src/models/AWSTenantLaunchRequest.ts +0 -29
  30. package/src/models/AppleSubscriptionStatusRequest.ts +0 -8
  31. package/src/models/AppleSubscriptionStatusView.ts +0 -8
  32. package/src/models/AppleVerifyTransactionId.ts +0 -8
  33. package/src/models/AssociateAccountResponse.ts +0 -10
  34. package/src/models/AssociateAppleAccount.ts +0 -8
  35. package/src/models/BaseErrorResponse.ts +0 -10
  36. package/src/models/BaseResponse.ts +0 -10
  37. package/src/models/GCPTenantLaunchRequest.ts +0 -33
  38. package/src/models/GooglePayAccountResponse.ts +0 -20
  39. package/src/models/GooglePayAccountResponseStatusEnum.ts +0 -12
  40. package/src/models/GooglePayVerifyToken.ts +0 -11
  41. package/src/models/VerifyGCPMarketPlaceFailedResponse.ts +0 -16
  42. package/src/models/VerifyGCPMarketPlaceRequest.ts +0 -8
  43. package/src/models/VerifyGCPMarketPlaceResponse.ts +0 -16
@@ -21,7 +21,7 @@ export type OpenAPIConfig = {
21
21
 
22
22
  export const OpenAPI: OpenAPIConfig = {
23
23
  BASE: 'https://base.manager.iblai.app',
24
- VERSION: '4.504.1-core',
24
+ VERSION: '4.507.0-core',
25
25
  WITH_CREDENTIALS: false,
26
26
  CREDENTIALS: 'include',
27
27
  TOKEN: undefined,
package/src/index.ts CHANGED
@@ -24,12 +24,7 @@ export type { ActivityData } from './models/ActivityData';
24
24
  export type { ActivityInfo } from './models/ActivityInfo';
25
25
  export { ActivityTypeEnum } from './models/ActivityTypeEnum';
26
26
  export type { App } from './models/App';
27
- export type { AppleSubscriptionStatusRequest } from './models/AppleSubscriptionStatusRequest';
28
- export type { AppleSubscriptionStatusView } from './models/AppleSubscriptionStatusView';
29
- export type { AppleVerifyTransactionId } from './models/AppleVerifyTransactionId';
30
27
  export type { Assertion } from './models/Assertion';
31
- export type { AssociateAccountResponse } from './models/AssociateAccountResponse';
32
- export type { AssociateAppleAccount } from './models/AssociateAppleAccount';
33
28
  export type { AuditLogEntry } from './models/AuditLogEntry';
34
29
  export type { AuthToken } from './models/AuthToken';
35
30
  export type { AutoRechargeTriggerRequest } from './models/AutoRechargeTriggerRequest';
@@ -41,9 +36,6 @@ export type { AverageData } from './models/AverageData';
41
36
  export type { AverageOvertime } from './models/AverageOvertime';
42
37
  export type { AvgCourseGradeWithCutoff } from './models/AvgCourseGradeWithCutoff';
43
38
  export type { AvgCourseGradeWithCutoffData } from './models/AvgCourseGradeWithCutoffData';
44
- export type { AWSTenantLaunchRequest } from './models/AWSTenantLaunchRequest';
45
- export type { BaseErrorResponse } from './models/BaseErrorResponse';
46
- export type { BaseResponse } from './models/BaseResponse';
47
39
  export type { BlankCourseInvitationCreate } from './models/BlankCourseInvitationCreate';
48
40
  export { BlankEnum } from './models/BlankEnum';
49
41
  export type { BlankPlatformInvitationCreate } from './models/BlankPlatformInvitationCreate';
@@ -182,12 +174,8 @@ export type { Favorite } from './models/Favorite';
182
174
  export type { FieldDefinitionImport } from './models/FieldDefinitionImport';
183
175
  export { FieldTypeEnum } from './models/FieldTypeEnum';
184
176
  export { FlowTypeEnum } from './models/FlowTypeEnum';
185
- export type { GCPTenantLaunchRequest } from './models/GCPTenantLaunchRequest';
186
177
  export { GenderEnum } from './models/GenderEnum';
187
178
  export type { GlobalCatalogSearchResponse } from './models/GlobalCatalogSearchResponse';
188
- export type { GooglePayAccountResponse } from './models/GooglePayAccountResponse';
189
- export { GooglePayAccountResponseStatusEnum } from './models/GooglePayAccountResponseStatusEnum';
190
- export type { GooglePayVerifyToken } from './models/GooglePayVerifyToken';
191
179
  export { GradePostedNotifyModeEnum } from './models/GradePostedNotifyModeEnum';
192
180
  export type { GradingPerUser } from './models/GradingPerUser';
193
181
  export type { GradingPerUserData } from './models/GradingPerUserData';
@@ -675,9 +663,6 @@ export type { UserSkillPointsPercentile } from './models/UserSkillPointsPercenti
675
663
  export type { ValidateSourceResponse } from './models/ValidateSourceResponse';
676
664
  export type { Value } from './models/Value';
677
665
  export type { ValueData } from './models/ValueData';
678
- export type { VerifyGCPMarketPlaceFailedResponse } from './models/VerifyGCPMarketPlaceFailedResponse';
679
- export type { VerifyGCPMarketPlaceRequest } from './models/VerifyGCPMarketPlaceRequest';
680
- export type { VerifyGCPMarketPlaceResponse } from './models/VerifyGCPMarketPlaceResponse';
681
666
  export type { VideoBlock } from './models/VideoBlock';
682
667
  export type { VideoEngagementPerCourse } from './models/VideoEngagementPerCourse';
683
668
  export type { VideoEngagementPerCourseData } from './models/VideoEngagementPerCourseData';
@@ -2,16 +2,6 @@
2
2
  /* istanbul ignore file */
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
- import type { AppleSubscriptionStatusRequest } from '../models/AppleSubscriptionStatusRequest';
6
- import type { AppleSubscriptionStatusView } from '../models/AppleSubscriptionStatusView';
7
- import type { AppleVerifyTransactionId } from '../models/AppleVerifyTransactionId';
8
- import type { AssociateAccountResponse } from '../models/AssociateAccountResponse';
9
- import type { AssociateAppleAccount } from '../models/AssociateAppleAccount';
10
- import type { AWSTenantLaunchRequest } from '../models/AWSTenantLaunchRequest';
11
- import type { BaseResponse } from '../models/BaseResponse';
12
- import type { GCPTenantLaunchRequest } from '../models/GCPTenantLaunchRequest';
13
- import type { GooglePayAccountResponse } from '../models/GooglePayAccountResponse';
14
- import type { GooglePayVerifyToken } from '../models/GooglePayVerifyToken';
15
5
  import type { StripeCheckoutSessionRequest } from '../models/StripeCheckoutSessionRequest';
16
6
  import type { StripeCheckoutSessionResponse } from '../models/StripeCheckoutSessionResponse';
17
7
  import type { StripeConnectDashboardLink } from '../models/StripeConnectDashboardLink';
@@ -30,8 +20,6 @@ import type { StripeSubscriptionRenewalRequest } from '../models/StripeSubscript
30
20
  import type { StripeSubscriptionRenewalResponse } from '../models/StripeSubscriptionRenewalResponse';
31
21
  import type { TenantLaunchRequest } from '../models/TenantLaunchRequest';
32
22
  import type { TenantLaunchResponse } from '../models/TenantLaunchResponse';
33
- import type { VerifyGCPMarketPlaceRequest } from '../models/VerifyGCPMarketPlaceRequest';
34
- import type { VerifyGCPMarketPlaceResponse } from '../models/VerifyGCPMarketPlaceResponse';
35
23
  import type { CancelablePromise } from '../core/CancelablePromise';
36
24
  import { OpenAPI } from '../core/OpenAPI';
37
25
  import { request as __request } from '../core/request';
@@ -60,82 +48,6 @@ export class CommerceService {
60
48
  },
61
49
  });
62
50
  }
63
- /**
64
- * Associate an Apple account with a user known user
65
- * @returns AssociateAccountResponse
66
- * @throws ApiError
67
- */
68
- public static providersAppleAssociateAccountCreate({
69
- requestBody,
70
- }: {
71
- requestBody: AssociateAppleAccount,
72
- }): CancelablePromise<AssociateAccountResponse> {
73
- return __request(OpenAPI, {
74
- method: 'POST',
75
- url: '/api/providers/apple/associate-account/',
76
- body: requestBody,
77
- mediaType: 'application/json',
78
- });
79
- }
80
- /**
81
- * View to handle apple webhooks
82
- * @returns any No response body
83
- * @throws ApiError
84
- */
85
- public static providersAppleHookCreate(): CancelablePromise<any> {
86
- return __request(OpenAPI, {
87
- method: 'POST',
88
- url: '/api/providers/apple/hook/',
89
- });
90
- }
91
- /**
92
- * Returns information about a user subscription status
93
- * @returns AppleSubscriptionStatusView
94
- * @throws ApiError
95
- */
96
- public static providersAppleSubscriptionStatusCreate({
97
- requestBody,
98
- }: {
99
- requestBody?: AppleSubscriptionStatusRequest,
100
- }): CancelablePromise<AppleSubscriptionStatusView> {
101
- return __request(OpenAPI, {
102
- method: 'POST',
103
- url: '/api/providers/apple/subscription-status/',
104
- body: requestBody,
105
- mediaType: 'application/json',
106
- });
107
- }
108
- /**
109
- * Checks if a provided transaction_id is valid
110
- * @returns BaseResponse
111
- * @throws ApiError
112
- */
113
- public static providersAppleValidateTransactionIdCreate({
114
- requestBody,
115
- }: {
116
- requestBody: AppleVerifyTransactionId,
117
- }): CancelablePromise<BaseResponse> {
118
- return __request(OpenAPI, {
119
- method: 'POST',
120
- url: '/api/providers/apple/validate-transaction-id/',
121
- body: requestBody,
122
- mediaType: 'application/json',
123
- });
124
- }
125
- /**
126
- * Serves a view that redirects to the AWS marketplace create organization page
127
- *
128
- * Set CREATE_ORGANIZATION_URL in GlobalConfigurationFetcher to the
129
- * URL of the AWS marketplace create organization page
130
- * @returns any No response body
131
- * @throws ApiError
132
- */
133
- public static providersAwsCreateOrganizationCreate(): CancelablePromise<any> {
134
- return __request(OpenAPI, {
135
- method: 'POST',
136
- url: '/api/providers/aws/create-organization/',
137
- });
138
- }
139
51
  /**
140
52
  * API endpoint to get domain setup status
141
53
  * @returns any No response body
@@ -147,27 +59,6 @@ export class CommerceService {
147
59
  url: '/api/providers/aws/domain-status/',
148
60
  });
149
61
  }
150
- /**
151
- * Proxy to the Platform launch API
152
- *
153
- * We cannot expose launching a tenant to an authorized user hence the need for the API
154
- *
155
- * The API validates the x_amzn_marketplace_token and then proxies the request to the Platform Launch API
156
- * @returns TenantLaunchResponse
157
- * @throws ApiError
158
- */
159
- public static providersAwsLaunchTenantCreate({
160
- requestBody,
161
- }: {
162
- requestBody: AWSTenantLaunchRequest,
163
- }): CancelablePromise<TenantLaunchResponse> {
164
- return __request(OpenAPI, {
165
- method: 'POST',
166
- url: '/api/providers/aws/launch-tenant/',
167
- body: requestBody,
168
- mediaType: 'application/json',
169
- });
170
- }
171
62
  /**
172
63
  * API endpoint to get/update CNAME records for domain setup
173
64
  * @returns any No response body
@@ -190,134 +81,6 @@ export class CommerceService {
190
81
  url: '/api/providers/aws/sync-domain-records/',
191
82
  });
192
83
  }
193
- /**
194
- * Serves a view that redirects to the GCP marketplace create organization page
195
- *
196
- * Set CREATE_ORGANIZATION_URL in GlobalConfigurationFetcher to the URL of the GCP marketplace create organization
197
- * page
198
- * @returns any No response body
199
- * @throws ApiError
200
- */
201
- public static providersGcpCreateOrganizationCreate(): CancelablePromise<any> {
202
- return __request(OpenAPI, {
203
- method: 'POST',
204
- url: '/api/providers/gcp/create-organization/',
205
- });
206
- }
207
- /**
208
- * Serves a view that redirects to the GCP marketplace create organization page
209
- *
210
- * Set CREATE_ORGANIZATION_URL in GlobalConfigurationFetcher to the URL of the GCP marketplace create organization
211
- * page
212
- * @returns any No response body
213
- * @throws ApiError
214
- */
215
- public static providersGcpCreateOrganizationCreate2({
216
- productId,
217
- }: {
218
- productId: string,
219
- }): CancelablePromise<any> {
220
- return __request(OpenAPI, {
221
- method: 'POST',
222
- url: '/api/providers/gcp/create-organization/{product_id}/',
223
- path: {
224
- 'product_id': productId,
225
- },
226
- });
227
- }
228
- /**
229
- * @returns any No response body
230
- * @throws ApiError
231
- */
232
- public static providersGcpHookCreate(): CancelablePromise<any> {
233
- return __request(OpenAPI, {
234
- method: 'POST',
235
- url: '/api/providers/gcp/hook/',
236
- });
237
- }
238
- /**
239
- * Proxy to the Platform launch API
240
- *
241
- * We cannot expose launching a tenant to an authorized user hence the need for the API
242
- *
243
- * The API validates the x_gcp_marketplace_token and then proxies the request to the Platform Launc API
244
- * @returns TenantLaunchResponse
245
- * @throws ApiError
246
- */
247
- public static providersGcpLaunchTenantCreate({
248
- requestBody,
249
- }: {
250
- requestBody: GCPTenantLaunchRequest,
251
- }): CancelablePromise<TenantLaunchResponse> {
252
- return __request(OpenAPI, {
253
- method: 'POST',
254
- url: '/api/providers/gcp/launch-tenant/',
255
- body: requestBody,
256
- mediaType: 'application/json',
257
- });
258
- }
259
- /**
260
- * @returns VerifyGCPMarketPlaceResponse
261
- * @throws ApiError
262
- */
263
- public static providersGcpValidateSignupTokenCreate({
264
- requestBody,
265
- }: {
266
- requestBody: VerifyGCPMarketPlaceRequest,
267
- }): CancelablePromise<VerifyGCPMarketPlaceResponse> {
268
- return __request(OpenAPI, {
269
- method: 'POST',
270
- url: '/api/providers/gcp/validate-signup-token/',
271
- body: requestBody,
272
- mediaType: 'application/json',
273
- });
274
- }
275
- /**
276
- * Google Allows us to pass an obfuscated account id to be sent to during a subscription purchase
277
- * @returns GooglePayAccountResponse
278
- * @throws ApiError
279
- */
280
- public static providersGooglePayGetAccountRetrieve({
281
- bundleId,
282
- }: {
283
- bundleId: string,
284
- }): CancelablePromise<GooglePayAccountResponse> {
285
- return __request(OpenAPI, {
286
- method: 'GET',
287
- url: '/api/providers/google-pay/get-account/{bundle_id}',
288
- path: {
289
- 'bundle_id': bundleId,
290
- },
291
- });
292
- }
293
- /**
294
- * View to handle Google Pay webhooks
295
- * @returns any No response body
296
- * @throws ApiError
297
- */
298
- public static providersGooglePayHookCreate(): CancelablePromise<any> {
299
- return __request(OpenAPI, {
300
- method: 'POST',
301
- url: '/api/providers/google-pay/hook/',
302
- });
303
- }
304
- /**
305
- * Associate a Google Pay account with a known user
306
- * @returns BaseResponse
307
- * @throws ApiError
308
- */
309
- public static providersGooglePayValidateTransactionIdCreate({
310
- requestBody,
311
- }: {
312
- requestBody: GooglePayVerifyToken,
313
- }): CancelablePromise<BaseResponse> {
314
- return __request(OpenAPI, {
315
- method: 'POST',
316
- url: '/api/providers/google-pay/validate-transaction-id/',
317
- body: requestBody,
318
- mediaType: 'application/json',
319
- });
320
- }
321
84
  /**
322
85
  * Proxy to the Platform launch API
323
86
  *
@@ -364,15 +127,11 @@ export class CommerceService {
364
127
  /**
365
128
  * User/tenant creation API
366
129
  *
367
- * To create using any payment provider, ensure you use the StudentToken Authentication Mechanism
368
- * and also include the correct `provider_key` in the request body:
130
+ * To create using the payment provider, ensure you use the StudentToken Authentication Mechanism
131
+ * and also include the `provider_key` in the request body:
369
132
  *
370
133
  * ```
371
- * apple_transaction_id: str
372
134
  * stripe_checkout_id: str
373
- * x_gcp_marketplace_token: str
374
- * aws_transaction_id: str
375
- * google_pay_transaction_id: str
376
135
  * ```
377
136
  *
378
137
  * To create a tenant without a payment provider, call the API without ny of the above provider keys in the request body
@@ -1,24 +0,0 @@
1
- export type AWSTenantLaunchRequest = {
2
- username: string;
3
- email: string;
4
- firstname?: string;
5
- lastname?: string;
6
- password?: string;
7
- /**
8
- * Organization name
9
- */
10
- name: string;
11
- /**
12
- * Unique key for the organization
13
- */
14
- key: string;
15
- ignore_user_exists?: boolean;
16
- /**
17
- * Advertising mode allows a platform to set custom usd balance to allocate for its members
18
- */
19
- is_advertising?: boolean;
20
- /**
21
- * AWS Marketplace Customer Id and Product Code Identifier
22
- */
23
- aws_transaction_id: string;
24
- };
@@ -1,3 +0,0 @@
1
- export type AppleSubscriptionStatusRequest = {
2
- bundle_id?: string;
3
- };
@@ -1,3 +0,0 @@
1
- export type AppleSubscriptionStatusView = {
2
- data: any;
3
- };
@@ -1,3 +0,0 @@
1
- export type AppleVerifyTransactionId = {
2
- apple_transaction_id: string;
3
- };
@@ -1,5 +0,0 @@
1
- export type AssociateAccountResponse = {
2
- success?: boolean;
3
- message: any;
4
- data: any;
5
- };
@@ -1,3 +0,0 @@
1
- export type AssociateAppleAccount = {
2
- app_receipt: string;
3
- };
@@ -1,5 +0,0 @@
1
- export type BaseErrorResponse = {
2
- success?: boolean;
3
- message: any;
4
- data?: any;
5
- };
@@ -1,5 +0,0 @@
1
- export type BaseResponse = {
2
- success?: boolean;
3
- message: any;
4
- data?: any;
5
- };
@@ -1,28 +0,0 @@
1
- export type GCPTenantLaunchRequest = {
2
- username: string;
3
- email: string;
4
- firstname?: string;
5
- lastname?: string;
6
- password?: string;
7
- /**
8
- * Organization name
9
- */
10
- name: string;
11
- /**
12
- * Unique key for the organization
13
- */
14
- key: string;
15
- ignore_user_exists?: boolean;
16
- /**
17
- * Advertising mode allows a platform to set custom usd balance to allocate for its members
18
- */
19
- is_advertising?: boolean;
20
- /**
21
- * GCP Marketplace token
22
- */
23
- x_gcp_marketplace_token: string;
24
- /**
25
- * GCP product to subscribe to
26
- */
27
- product_id?: string;
28
- };
@@ -1,15 +0,0 @@
1
- import type { GooglePayAccountResponseStatusEnum } from './GooglePayAccountResponseStatusEnum';
2
- export type GooglePayAccountResponse = {
3
- account_id: string;
4
- /**
5
- * The bundle id of the app
6
- */
7
- bundle_id?: string;
8
- status?: GooglePayAccountResponseStatusEnum;
9
- readonly created_on: string;
10
- readonly last_updated: string;
11
- /**
12
- * edX user ID
13
- */
14
- user?: number | null;
15
- };
@@ -1,8 +0,0 @@
1
- /**
2
- * * `ACCOUNT_ACTIVE` - Account Active
3
- * * `ACCOUNT_PENDING` - Account Pending
4
- */
5
- export declare enum GooglePayAccountResponseStatusEnum {
6
- ACCOUNT_ACTIVE = "ACCOUNT_ACTIVE",
7
- ACCOUNT_PENDING = "ACCOUNT_PENDING"
8
- }
@@ -1,6 +0,0 @@
1
- export type GooglePayVerifyToken = {
2
- google_pay_receipt: string;
3
- bundle_id?: string;
4
- key?: string;
5
- name?: string;
6
- };
@@ -1,11 +0,0 @@
1
- export type VerifyGCPMarketPlaceFailedResponse = {
2
- sub?: string;
3
- aud?: string;
4
- iat?: string;
5
- exp?: string;
6
- google?: Record<string, any>;
7
- iss?: string;
8
- readonly redirect_to: string;
9
- message?: string;
10
- success?: boolean;
11
- };
@@ -1,3 +0,0 @@
1
- export type VerifyGCPMarketPlaceRequest = {
2
- token: string;
3
- };
@@ -1,11 +0,0 @@
1
- export type VerifyGCPMarketPlaceResponse = {
2
- sub?: string;
3
- aud?: string;
4
- iat?: string;
5
- exp?: string;
6
- google?: Record<string, any>;
7
- iss?: string;
8
- readonly redirect_to: string;
9
- message?: string;
10
- success?: boolean;
11
- };
@@ -1,29 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type AWSTenantLaunchRequest = {
6
- username: string;
7
- email: string;
8
- firstname?: string;
9
- lastname?: string;
10
- password?: string;
11
- /**
12
- * Organization name
13
- */
14
- name: string;
15
- /**
16
- * Unique key for the organization
17
- */
18
- key: string;
19
- ignore_user_exists?: boolean;
20
- /**
21
- * Advertising mode allows a platform to set custom usd balance to allocate for its members
22
- */
23
- is_advertising?: boolean;
24
- /**
25
- * AWS Marketplace Customer Id and Product Code Identifier
26
- */
27
- aws_transaction_id: string;
28
- };
29
-
@@ -1,8 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type AppleSubscriptionStatusRequest = {
6
- bundle_id?: string;
7
- };
8
-
@@ -1,8 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type AppleSubscriptionStatusView = {
6
- data: any;
7
- };
8
-
@@ -1,8 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type AppleVerifyTransactionId = {
6
- apple_transaction_id: string;
7
- };
8
-
@@ -1,10 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type AssociateAccountResponse = {
6
- success?: boolean;
7
- message: any;
8
- data: any;
9
- };
10
-
@@ -1,8 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type AssociateAppleAccount = {
6
- app_receipt: string;
7
- };
8
-
@@ -1,10 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type BaseErrorResponse = {
6
- success?: boolean;
7
- message: any;
8
- data?: any;
9
- };
10
-
@@ -1,10 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type BaseResponse = {
6
- success?: boolean;
7
- message: any;
8
- data?: any;
9
- };
10
-
@@ -1,33 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- export type GCPTenantLaunchRequest = {
6
- username: string;
7
- email: string;
8
- firstname?: string;
9
- lastname?: string;
10
- password?: string;
11
- /**
12
- * Organization name
13
- */
14
- name: string;
15
- /**
16
- * Unique key for the organization
17
- */
18
- key: string;
19
- ignore_user_exists?: boolean;
20
- /**
21
- * Advertising mode allows a platform to set custom usd balance to allocate for its members
22
- */
23
- is_advertising?: boolean;
24
- /**
25
- * GCP Marketplace token
26
- */
27
- x_gcp_marketplace_token: string;
28
- /**
29
- * GCP product to subscribe to
30
- */
31
- product_id?: string;
32
- };
33
-
@@ -1,20 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do not edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { GooglePayAccountResponseStatusEnum } from './GooglePayAccountResponseStatusEnum';
6
- export type GooglePayAccountResponse = {
7
- account_id: string;
8
- /**
9
- * The bundle id of the app
10
- */
11
- bundle_id?: string;
12
- status?: GooglePayAccountResponseStatusEnum;
13
- readonly created_on: string;
14
- readonly last_updated: string;
15
- /**
16
- * edX user ID
17
- */
18
- user?: number | null;
19
- };
20
-