@@ -177,6 +177,13 @@ export interface paths {
177
177
*/
178
178
post : operations [ "api_v1_assignment_configurations_acknowledge_assignments_create" ] ;
179
179
} ;
180
+ "/api/v1/bffs/health/ping/" : {
181
+ /**
182
+ * Health Check Ping
183
+ * @description Simple ping endpoint to check if the BFF service is running and responsive.
184
+ */
185
+ get : operations [ "ping_health_check" ] ;
186
+ } ;
180
187
"/api/v1/bffs/learner/academy/" : {
181
188
/**
182
189
* Academy route
@@ -588,6 +595,12 @@ export interface components {
588
595
} ;
589
596
/** @enum {unknown} */
590
597
BlankEnum : "" ;
598
+ /**
599
+ * @description * `13` - Subscription - Trial Catalog
600
+ * * `10` - Subscription
601
+ * @enum {integer}
602
+ */
603
+ CatalogQueryIdEnum : 13 | 10 ;
591
604
/**
592
605
* @description Serializer to help return additional content metadata for assignments. These fields should
593
606
* map more or less 1-1 to the fields in content metadata dicts returned from the
@@ -953,8 +966,19 @@ export interface components {
953
966
EnterpriseCatalogRequest : {
954
967
/** @description The name of the Enterprise Catalog. */
955
968
title : string ;
956
- /** @description The id of the related Catalog Query. */
957
- catalog_query_id : number ;
969
+ /**
970
+ * @description The id of the related Catalog Query.
971
+ *
972
+ * * `13` - Subscription - Trial Catalog
973
+ * * `10` - Subscription
974
+ * @default [
975
+ * [
976
+ * 13,
977
+ * "Subscription - Trial Catalog"
978
+ * ]
979
+ * ]
980
+ */
981
+ catalog_query_id ?: components [ "schemas" ] [ "CatalogQueryIdEnum" ] ;
958
982
} ;
959
983
/** @description Catalog object serializer for provisioning responses. */
960
984
EnterpriseCatalogResponse : {
@@ -983,7 +1007,6 @@ export interface components {
983
1007
is_revoked : boolean ;
984
1008
/** Format: uri */
985
1009
link_to_course : string ;
986
- /** Format: uri */
987
1010
link_to_certificate : string | null ;
988
1011
micromasters_title : string | null ;
989
1012
mode : string ;
@@ -1452,6 +1475,8 @@ export interface components {
1452
1475
} ;
1453
1476
/** @description Serializer for the learner academy detail response. */
1454
1477
LearnerAcademyResponse : {
1478
+ errors ?: components [ "schemas" ] [ "Error" ] [ ] ;
1479
+ warnings ?: components [ "schemas" ] [ "Warning" ] [ ] ;
1455
1480
enterprise_customer ?: components [ "schemas" ] [ "EnterpriseCustomer" ] | null ;
1456
1481
all_linked_enterprise_customer_users ?: components [ "schemas" ] [ "EnterpriseCustomerUser" ] [ ] ;
1457
1482
active_enterprise_customer ?: components [ "schemas" ] [ "EnterpriseCustomer" ] | null ;
@@ -1462,8 +1487,6 @@ export interface components {
1462
1487
catalog_uuids_to_catalog_query_uuids : {
1463
1488
[ key : string ] : string ;
1464
1489
} ;
1465
- errors ?: components [ "schemas" ] [ "Error" ] [ ] ;
1466
- warnings ?: components [ "schemas" ] [ "Warning" ] [ ] ;
1467
1490
enterprise_features ?: {
1468
1491
[ key : string ] : unknown ;
1469
1492
} ;
@@ -1800,6 +1823,9 @@ export interface components {
1800
1823
learner_credit_request_config ?: string | null ;
1801
1824
/** Format: uuid */
1802
1825
assignment ?: string | null ;
1826
+ /** @description Cost of the content in USD Cents. */
1827
+ course_price ?: number | null ;
1828
+ latest_action : string ;
1803
1829
} ;
1804
1830
/** @description Serializer for the learner dashboard request. */
1805
1831
LearnerDashboardRequest : {
@@ -1813,6 +1839,8 @@ export interface components {
1813
1839
} ;
1814
1840
/** @description Serializer for the learner dashboard response. */
1815
1841
LearnerDashboardResponse : {
1842
+ errors ?: components [ "schemas" ] [ "Error" ] [ ] ;
1843
+ warnings ?: components [ "schemas" ] [ "Warning" ] [ ] ;
1816
1844
enterprise_customer ?: components [ "schemas" ] [ "EnterpriseCustomer" ] | null ;
1817
1845
all_linked_enterprise_customer_users ?: components [ "schemas" ] [ "EnterpriseCustomerUser" ] [ ] ;
1818
1846
active_enterprise_customer ?: components [ "schemas" ] [ "EnterpriseCustomer" ] | null ;
@@ -1823,8 +1851,6 @@ export interface components {
1823
1851
catalog_uuids_to_catalog_query_uuids : {
1824
1852
[ key : string ] : string ;
1825
1853
} ;
1826
- errors ?: components [ "schemas" ] [ "Error" ] [ ] ;
1827
- warnings ?: components [ "schemas" ] [ "Warning" ] [ ] ;
1828
1854
enterprise_features ?: {
1829
1855
[ key : string ] : unknown ;
1830
1856
} ;
@@ -1852,6 +1878,8 @@ export interface components {
1852
1878
} ;
1853
1879
/** @description Serializer for the learner search response. */
1854
1880
LearnerSearchResponse : {
1881
+ errors ?: components [ "schemas" ] [ "Error" ] [ ] ;
1882
+ warnings ?: components [ "schemas" ] [ "Warning" ] [ ] ;
1855
1883
enterprise_customer ?: components [ "schemas" ] [ "EnterpriseCustomer" ] | null ;
1856
1884
all_linked_enterprise_customer_users ?: components [ "schemas" ] [ "EnterpriseCustomerUser" ] [ ] ;
1857
1885
active_enterprise_customer ?: components [ "schemas" ] [ "EnterpriseCustomer" ] | null ;
@@ -1862,8 +1890,6 @@ export interface components {
1862
1890
catalog_uuids_to_catalog_query_uuids : {
1863
1891
[ key : string ] : string ;
1864
1892
} ;
1865
- errors ?: components [ "schemas" ] [ "Error" ] [ ] ;
1866
- warnings ?: components [ "schemas" ] [ "Warning" ] [ ] ;
1867
1893
enterprise_features ?: {
1868
1894
[ key : string ] : unknown ;
1869
1895
} ;
@@ -1881,6 +1907,8 @@ export interface components {
1881
1907
} ;
1882
1908
/** @description Serializer for the learner skills quiz response. */
1883
1909
LearnerSkillsQuizResponse : {
1910
+ errors ?: components [ "schemas" ] [ "Error" ] [ ] ;
1911
+ warnings ?: components [ "schemas" ] [ "Warning" ] [ ] ;
1884
1912
enterprise_customer ?: components [ "schemas" ] [ "EnterpriseCustomer" ] | null ;
1885
1913
all_linked_enterprise_customer_users ?: components [ "schemas" ] [ "EnterpriseCustomerUser" ] [ ] ;
1886
1914
active_enterprise_customer ?: components [ "schemas" ] [ "EnterpriseCustomer" ] | null ;
@@ -1891,8 +1919,6 @@ export interface components {
1891
1919
catalog_uuids_to_catalog_query_uuids : {
1892
1920
[ key : string ] : string ;
1893
1921
} ;
1894
- errors ?: components [ "schemas" ] [ "Error" ] [ ] ;
1895
- warnings ?: components [ "schemas" ] [ "Warning" ] [ ] ;
1896
1922
enterprise_features ?: {
1897
1923
[ key : string ] : unknown ;
1898
1924
} ;
@@ -2334,16 +2360,22 @@ export interface components {
2334
2360
* @enum {string}
2335
2361
*/
2336
2362
PolicyTypeEnum : "PerLearnerEnrollmentCreditAccessPolicy" | "PerLearnerSpendCreditAccessPolicy" | "AssignedLearnerCreditAccessPolicy" ;
2363
+ /**
2364
+ * @description * `1` - B2B Paid
2365
+ * * `3` - Trial
2366
+ * @enum {integer}
2367
+ */
2368
+ ProductIdEnum : 1 | 3 ;
2337
2369
/** @description Request serializer for provisioning create view. */
2338
2370
ProvisioningRequest : {
2339
2371
/** @description Object describing the requested Enterprise Customer. */
2340
2372
enterprise_customer : components [ "schemas" ] [ "EnterpriseCustomerRequest" ] ;
2341
2373
/** @description List of objects containing requested customer admin email addresses. */
2342
2374
pending_admins : components [ "schemas" ] [ "PendingCustomerAdminRequest" ] [ ] ;
2343
2375
/** @description Object describing the requested Enterprise Catalog. */
2344
- enterprise_catalog : components [ "schemas" ] [ "EnterpriseCatalogRequest" ] ;
2376
+ enterprise_catalog ? : components [ "schemas" ] [ "EnterpriseCatalogRequest" ] | null ;
2345
2377
/** @description Object describing the requested Customer Agreement. */
2346
- customer_agreement : components [ "schemas" ] [ "CustomerAgreementRequest" ] ;
2378
+ customer_agreement ? : components [ "schemas" ] [ "CustomerAgreementRequest" ] | null ;
2347
2379
subscription_plan : components [ "schemas" ] [ "SubscriptionPlanRequest" ] ;
2348
2380
} ;
2349
2381
/** @description Response serializer for provisioning create view. */
@@ -2418,15 +2450,33 @@ export interface components {
2418
2450
} ;
2419
2451
/** @description Subscription Plan serializer for provisioning requests. */
2420
2452
SubscriptionPlanRequest : {
2453
+ /** @description The title of the subscription plan. */
2421
2454
title : string ;
2455
+ /** @description The Salesforce Opportunity Line Item id associated with this subscription plan. */
2422
2456
salesforce_opportunity_line_item : string ;
2423
- /** Format: date-time */
2457
+ /**
2458
+ * Format: date-time
2459
+ * @description The date and time at which the subscription plan becomes usable.
2460
+ */
2424
2461
start_date : string ;
2425
- /** Format: date-time */
2462
+ /**
2463
+ * Format: date-time
2464
+ * @description The date and time at which the subscription plan becomes unusable.
2465
+ */
2426
2466
expiration_date : string ;
2427
- product_id : number ;
2467
+ /**
2468
+ * @description The internal edX Enterprise Subscription Product record.
2469
+ *
2470
+ * * `1` - B2B Paid
2471
+ * * `3` - Trial
2472
+ */
2473
+ product_id : components [ "schemas" ] [ "ProductIdEnum" ] ;
2474
+ /** @description The number of licenses to create for this plan. */
2428
2475
desired_num_licenses : number ;
2429
- /** Format: uuid */
2476
+ /**
2477
+ * Format: uuid
2478
+ * @description Optional. The enterprise catalog uuid associated with this subscription plan.
2479
+ */
2430
2480
enterprise_catalog_uuid ?: string | null ;
2431
2481
} ;
2432
2482
/** @description Subscription Plan serializer for provisioning responses. */
@@ -3596,6 +3646,25 @@ export interface operations {
3596
3646
} ;
3597
3647
} ;
3598
3648
} ;
3649
+ /**
3650
+ * Health Check Ping
3651
+ * @description Simple ping endpoint to check if the BFF service is running and responsive.
3652
+ */
3653
+ ping_health_check : {
3654
+ responses : {
3655
+ 200 : {
3656
+ content : {
3657
+ "application/json" : {
3658
+ message ?: string ;
3659
+ /** Format: date-time */
3660
+ timestamp ?: string ;
3661
+ status ?: string ;
3662
+ service ?: string ;
3663
+ } ;
3664
+ } ;
3665
+ } ;
3666
+ } ;
3667
+ } ;
3599
3668
/**
3600
3669
* Academy route
3601
3670
* @description Retrieves, transforms, and processes data for the learner academy route.
0 commit comments