@salesforce/lds-adapters-industries-education 1.455.0 → 1.457.0
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/es/es2018/industries-education.js +40 -26
- package/dist/es/es2018/types/src/generated/types/CreateLearningInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CreateLearningOutputRepresentation.d.ts +4 -1
- package/package.json +3 -3
- package/sfdc/index.js +41 -27
- package/src/raml/api.raml +13 -1
|
@@ -983,7 +983,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
983
983
|
function createResourceRequest$p(config) {
|
|
984
984
|
const headers = {};
|
|
985
985
|
return {
|
|
986
|
-
baseUri: '/services/data/
|
|
986
|
+
baseUri: '/services/data/v69.0',
|
|
987
987
|
basePath: '/connect/education/academic-operations/learnings/' + config.urlParams.recordId + '',
|
|
988
988
|
method: 'get',
|
|
989
989
|
body: null,
|
|
@@ -1087,6 +1087,20 @@ function validate$1a(obj, path = 'CreateLearningOutputRepresentation') {
|
|
|
1087
1087
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1088
1088
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1089
1089
|
}
|
|
1090
|
+
if (obj.educCharReqAssignmentIds !== undefined) {
|
|
1091
|
+
const obj_educCharReqAssignmentIds = obj.educCharReqAssignmentIds;
|
|
1092
|
+
const path_educCharReqAssignmentIds = path + '.educCharReqAssignmentIds';
|
|
1093
|
+
if (!ArrayIsArray(obj_educCharReqAssignmentIds)) {
|
|
1094
|
+
return new TypeError('Expected "array" but received "' + typeof obj_educCharReqAssignmentIds + '" (at "' + path_educCharReqAssignmentIds + '")');
|
|
1095
|
+
}
|
|
1096
|
+
for (let i = 0; i < obj_educCharReqAssignmentIds.length; i++) {
|
|
1097
|
+
const obj_educCharReqAssignmentIds_item = obj_educCharReqAssignmentIds[i];
|
|
1098
|
+
const path_educCharReqAssignmentIds_item = path_educCharReqAssignmentIds + '[' + i + ']';
|
|
1099
|
+
if (typeof obj_educCharReqAssignmentIds_item !== 'string') {
|
|
1100
|
+
return new TypeError('Expected "string" but received "' + typeof obj_educCharReqAssignmentIds_item + '" (at "' + path_educCharReqAssignmentIds_item + '")');
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1090
1104
|
if (obj.errors !== undefined) {
|
|
1091
1105
|
const obj_errors = obj.errors;
|
|
1092
1106
|
const path_errors = path + '.errors';
|
|
@@ -1306,7 +1320,7 @@ function ingestSuccess$o(luvio, resourceParams, response) {
|
|
|
1306
1320
|
function createResourceRequest$o(config) {
|
|
1307
1321
|
const headers = {};
|
|
1308
1322
|
return {
|
|
1309
|
-
baseUri: '/services/data/
|
|
1323
|
+
baseUri: '/services/data/v69.0',
|
|
1310
1324
|
basePath: '/connect/education/academic-operations/learnings',
|
|
1311
1325
|
method: 'post',
|
|
1312
1326
|
body: config.body,
|
|
@@ -1404,7 +1418,7 @@ function ingestSuccess$n(luvio, resourceParams, response) {
|
|
|
1404
1418
|
function createResourceRequest$n(config) {
|
|
1405
1419
|
const headers = {};
|
|
1406
1420
|
return {
|
|
1407
|
-
baseUri: '/services/data/
|
|
1421
|
+
baseUri: '/services/data/v69.0',
|
|
1408
1422
|
basePath: '/connect/education/academic-operations/learnings',
|
|
1409
1423
|
method: 'patch',
|
|
1410
1424
|
body: config.body,
|
|
@@ -1829,7 +1843,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
1829
1843
|
function createResourceRequest$m(config) {
|
|
1830
1844
|
const headers = {};
|
|
1831
1845
|
return {
|
|
1832
|
-
baseUri: '/services/data/
|
|
1846
|
+
baseUri: '/services/data/v69.0',
|
|
1833
1847
|
basePath: '/connect/education/applications',
|
|
1834
1848
|
method: 'get',
|
|
1835
1849
|
body: null,
|
|
@@ -2294,7 +2308,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
2294
2308
|
function createResourceRequest$l(config) {
|
|
2295
2309
|
const headers = {};
|
|
2296
2310
|
return {
|
|
2297
|
-
baseUri: '/services/data/
|
|
2311
|
+
baseUri: '/services/data/v69.0',
|
|
2298
2312
|
basePath: '/connect/education/applications/' + config.urlParams.preliminaryApplicationRefId + '',
|
|
2299
2313
|
method: 'get',
|
|
2300
2314
|
body: null,
|
|
@@ -2723,7 +2737,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
2723
2737
|
function createResourceRequest$k(config) {
|
|
2724
2738
|
const headers = {};
|
|
2725
2739
|
return {
|
|
2726
|
-
baseUri: '/services/data/
|
|
2740
|
+
baseUri: '/services/data/v69.0',
|
|
2727
2741
|
basePath: '/connect/education/appointment-booking/available-time-slots',
|
|
2728
2742
|
method: 'post',
|
|
2729
2743
|
body: config.body,
|
|
@@ -3113,7 +3127,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
3113
3127
|
function createResourceRequest$j(config) {
|
|
3114
3128
|
const headers = {};
|
|
3115
3129
|
return {
|
|
3116
|
-
baseUri: '/services/data/
|
|
3130
|
+
baseUri: '/services/data/v69.0',
|
|
3117
3131
|
basePath: '/connect/education/appointment-booking/available-topics',
|
|
3118
3132
|
method: 'get',
|
|
3119
3133
|
body: null,
|
|
@@ -3648,7 +3662,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
|
3648
3662
|
function createResourceRequest$i(config) {
|
|
3649
3663
|
const headers = {};
|
|
3650
3664
|
return {
|
|
3651
|
-
baseUri: '/services/data/
|
|
3665
|
+
baseUri: '/services/data/v69.0',
|
|
3652
3666
|
basePath: '/connect/education/campus-setup/learner/' + config.urlParams.contactId + '/learner-progress',
|
|
3653
3667
|
method: 'get',
|
|
3654
3668
|
body: null,
|
|
@@ -3939,7 +3953,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
3939
3953
|
function createResourceRequest$h(config) {
|
|
3940
3954
|
const headers = {};
|
|
3941
3955
|
return {
|
|
3942
|
-
baseUri: '/services/data/
|
|
3956
|
+
baseUri: '/services/data/v69.0',
|
|
3943
3957
|
basePath: '/connect/education/campus-setup/learning/validate-foundation-items',
|
|
3944
3958
|
method: 'post',
|
|
3945
3959
|
body: config.body,
|
|
@@ -4185,7 +4199,7 @@ function ingestSuccess$g(luvio, resourceParams, response) {
|
|
|
4185
4199
|
function createResourceRequest$g(config) {
|
|
4186
4200
|
const headers = {};
|
|
4187
4201
|
return {
|
|
4188
|
-
baseUri: '/services/data/
|
|
4202
|
+
baseUri: '/services/data/v69.0',
|
|
4189
4203
|
basePath: '/connect/education/campus-setup/learning-program-plan/publish',
|
|
4190
4204
|
method: 'post',
|
|
4191
4205
|
body: config.body,
|
|
@@ -4373,7 +4387,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
4373
4387
|
function createResourceRequest$f(config) {
|
|
4374
4388
|
const headers = {};
|
|
4375
4389
|
return {
|
|
4376
|
-
baseUri: '/services/data/
|
|
4390
|
+
baseUri: '/services/data/v69.0',
|
|
4377
4391
|
basePath: '/connect/education/campus-setup/learning-program-plan/' + config.urlParams.learningProgramPlanId + '/preview',
|
|
4378
4392
|
method: 'get',
|
|
4379
4393
|
body: null,
|
|
@@ -5191,7 +5205,7 @@ function ingestSuccess$e(luvio, resourceParams, response) {
|
|
|
5191
5205
|
function createResourceRequest$e(config) {
|
|
5192
5206
|
const headers = {};
|
|
5193
5207
|
return {
|
|
5194
|
-
baseUri: '/services/data/
|
|
5208
|
+
baseUri: '/services/data/v69.0',
|
|
5195
5209
|
basePath: '/connect/education/careplan/bulk',
|
|
5196
5210
|
method: 'post',
|
|
5197
5211
|
body: config.body,
|
|
@@ -5384,7 +5398,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
5384
5398
|
function createResourceRequest$d(config) {
|
|
5385
5399
|
const headers = {};
|
|
5386
5400
|
return {
|
|
5387
|
-
baseUri: '/services/data/
|
|
5401
|
+
baseUri: '/services/data/v69.0',
|
|
5388
5402
|
basePath: '/connect/education/documents/document-type',
|
|
5389
5403
|
method: 'get',
|
|
5390
5404
|
body: null,
|
|
@@ -5731,7 +5745,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
|
|
|
5731
5745
|
function createResourceRequest$c(config) {
|
|
5732
5746
|
const headers = {};
|
|
5733
5747
|
return {
|
|
5734
|
-
baseUri: '/services/data/
|
|
5748
|
+
baseUri: '/services/data/v69.0',
|
|
5735
5749
|
basePath: '/connect/education/mentoring/benefit-assignment/' + config.urlParams.benefitAssignmentId + '/provider',
|
|
5736
5750
|
method: 'post',
|
|
5737
5751
|
body: config.body,
|
|
@@ -5989,7 +6003,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
5989
6003
|
function createResourceRequest$b(config) {
|
|
5990
6004
|
const headers = {};
|
|
5991
6005
|
return {
|
|
5992
|
-
baseUri: '/services/data/
|
|
6006
|
+
baseUri: '/services/data/v69.0',
|
|
5993
6007
|
basePath: '/connect/education/mentoring/matching-selector/' + config.urlParams.benefitAssignmentId + '',
|
|
5994
6008
|
method: 'post',
|
|
5995
6009
|
body: config.body,
|
|
@@ -6200,7 +6214,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
6200
6214
|
function createResourceRequest$a(config) {
|
|
6201
6215
|
const headers = {};
|
|
6202
6216
|
return {
|
|
6203
|
-
baseUri: '/services/data/
|
|
6217
|
+
baseUri: '/services/data/v69.0',
|
|
6204
6218
|
basePath: '/connect/education/individual-application-tasks/' + config.urlParams.individualApplicationTaskId + '',
|
|
6205
6219
|
method: 'get',
|
|
6206
6220
|
body: null,
|
|
@@ -6519,7 +6533,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
6519
6533
|
function createResourceRequest$9(config) {
|
|
6520
6534
|
const headers = {};
|
|
6521
6535
|
return {
|
|
6522
|
-
baseUri: '/services/data/
|
|
6536
|
+
baseUri: '/services/data/v69.0',
|
|
6523
6537
|
basePath: '/connect/education/new-application/academic-terms',
|
|
6524
6538
|
method: 'get',
|
|
6525
6539
|
body: null,
|
|
@@ -6753,7 +6767,7 @@ function ingestSuccess$8(luvio, resourceParams, response) {
|
|
|
6753
6767
|
function createResourceRequest$8(config) {
|
|
6754
6768
|
const headers = {};
|
|
6755
6769
|
return {
|
|
6756
|
-
baseUri: '/services/data/
|
|
6770
|
+
baseUri: '/services/data/v69.0',
|
|
6757
6771
|
basePath: '/connect/education/new-application/preliminary-application-references',
|
|
6758
6772
|
method: 'post',
|
|
6759
6773
|
body: config.body,
|
|
@@ -7113,7 +7127,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
7113
7127
|
function createResourceRequest$7(config) {
|
|
7114
7128
|
const headers = {};
|
|
7115
7129
|
return {
|
|
7116
|
-
baseUri: '/services/data/
|
|
7130
|
+
baseUri: '/services/data/v69.0',
|
|
7117
7131
|
basePath: '/connect/education/new-application/preliminary-data',
|
|
7118
7132
|
method: 'get',
|
|
7119
7133
|
body: null,
|
|
@@ -7432,7 +7446,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
7432
7446
|
function createResourceRequest$6(config) {
|
|
7433
7447
|
const headers = {};
|
|
7434
7448
|
return {
|
|
7435
|
-
baseUri: '/services/data/
|
|
7449
|
+
baseUri: '/services/data/v69.0',
|
|
7436
7450
|
basePath: '/connect/education/new-application/program-term-application-timelines',
|
|
7437
7451
|
method: 'get',
|
|
7438
7452
|
body: null,
|
|
@@ -7905,7 +7919,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
7905
7919
|
function createResourceRequest$5(config) {
|
|
7906
7920
|
const headers = {};
|
|
7907
7921
|
return {
|
|
7908
|
-
baseUri: '/services/data/
|
|
7922
|
+
baseUri: '/services/data/v69.0',
|
|
7909
7923
|
basePath: '/connect/education/person-public-profile/' + config.urlParams.usageType + '/' + config.urlParams.contactId + '',
|
|
7910
7924
|
method: 'get',
|
|
7911
7925
|
body: null,
|
|
@@ -8454,7 +8468,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
8454
8468
|
function createResourceRequest$4(config) {
|
|
8455
8469
|
const headers = {};
|
|
8456
8470
|
return {
|
|
8457
|
-
baseUri: '/services/data/
|
|
8471
|
+
baseUri: '/services/data/v69.0',
|
|
8458
8472
|
basePath: '/connect/education/' + config.urlParams.accountId + '/success-team',
|
|
8459
8473
|
method: 'get',
|
|
8460
8474
|
body: null,
|
|
@@ -8705,7 +8719,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
8705
8719
|
function createResourceRequest$3(config) {
|
|
8706
8720
|
const headers = {};
|
|
8707
8721
|
return {
|
|
8708
|
-
baseUri: '/services/data/
|
|
8722
|
+
baseUri: '/services/data/v69.0',
|
|
8709
8723
|
basePath: '/connect/education/student-action-centre/task',
|
|
8710
8724
|
method: 'post',
|
|
8711
8725
|
body: config.body,
|
|
@@ -9072,7 +9086,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
9072
9086
|
function createResourceRequest$2(config) {
|
|
9073
9087
|
const headers = {};
|
|
9074
9088
|
return {
|
|
9075
|
-
baseUri: '/services/data/
|
|
9089
|
+
baseUri: '/services/data/v69.0',
|
|
9076
9090
|
basePath: '/connect/education/student-action-centre/task/picklist-values',
|
|
9077
9091
|
method: 'get',
|
|
9078
9092
|
body: null,
|
|
@@ -9195,7 +9209,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
9195
9209
|
function createResourceRequest$1(config) {
|
|
9196
9210
|
const headers = {};
|
|
9197
9211
|
return {
|
|
9198
|
-
baseUri: '/services/data/
|
|
9212
|
+
baseUri: '/services/data/v69.0',
|
|
9199
9213
|
basePath: '/connect/education/student-action-centre/task/' + config.urlParams.taskId + '',
|
|
9200
9214
|
method: 'patch',
|
|
9201
9215
|
body: config.body,
|
|
@@ -10450,7 +10464,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
10450
10464
|
function createResourceRequest(config) {
|
|
10451
10465
|
const headers = {};
|
|
10452
10466
|
return {
|
|
10453
|
-
baseUri: '/services/data/
|
|
10467
|
+
baseUri: '/services/data/v69.0',
|
|
10454
10468
|
basePath: '/connect/education/student-action-centre/' + config.urlParams.contactId + '/apts-tasks-plans',
|
|
10455
10469
|
method: 'get',
|
|
10456
10470
|
body: null,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LearningPolicyRules as LearningPolicyRules_LearningPolicyRules } from './LearningPolicyRules';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "1bc381946140699705157bb51609a28f";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: CreateLearningInputRepresentation, existing: CreateLearningInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateLearningInputRepresentationNormalized;
|
|
@@ -17,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
export interface CreateLearningInputRepresentationNormalized {
|
|
18
18
|
/** List of AchievementMappings which are part of the corequisite set */
|
|
19
19
|
corequisites?: Array<{}>;
|
|
20
|
+
/** List of Educational Characteristic Requirement Assignments that are part of the learning */
|
|
21
|
+
educCharReqAssignments?: Array<unknown>;
|
|
20
22
|
/** Learning record to be created. */
|
|
21
23
|
learning: {};
|
|
22
24
|
/** List of Learning Policy Rules that are part of learning */
|
|
@@ -42,6 +44,7 @@ export interface CreateLearningInputRepresentationNormalized {
|
|
|
42
44
|
*/
|
|
43
45
|
export interface CreateLearningInputRepresentation {
|
|
44
46
|
corequisites?: Array<{}>;
|
|
47
|
+
educCharReqAssignments?: Array<unknown>;
|
|
45
48
|
learning: {};
|
|
46
49
|
learningPolicyRules: Array<LearningPolicyRules_LearningPolicyRules>;
|
|
47
50
|
linked?: Array<unknown>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EducationApiErrorDetails as EducationApiErrorDetails_EducationApiErrorDetails } from './EducationApiErrorDetails';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "86387f4fd80a7679e7c9f7e3234a2b24";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: CreateLearningOutputRepresentation, existing: CreateLearningOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateLearningOutputRepresentationNormalized;
|
|
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateLearningOutputRepresentationNormalized {
|
|
18
|
+
/** Educational Characteristic Requirement Assignment Ids created which relate to the Learning. */
|
|
19
|
+
educCharReqAssignmentIds?: Array<string>;
|
|
18
20
|
/** Error Code. */
|
|
19
21
|
errors?: Array<EducationApiErrorDetails_EducationApiErrorDetails>;
|
|
20
22
|
/** Created External Learning Id. */
|
|
@@ -41,6 +43,7 @@ export interface CreateLearningOutputRepresentationNormalized {
|
|
|
41
43
|
* (none)
|
|
42
44
|
*/
|
|
43
45
|
export interface CreateLearningOutputRepresentation {
|
|
46
|
+
educCharReqAssignmentIds?: Array<string>;
|
|
44
47
|
errors?: Array<EducationApiErrorDetails_EducationApiErrorDetails>;
|
|
45
48
|
externalLearningId?: string;
|
|
46
49
|
learningAchievementIds?: Array<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-education",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.457.0",
|
|
4
4
|
"description": "Education Cloud related actions",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/es/es2018/industries-education.js",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"test:unit": "jest --config=./jest.config.js"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@salesforce/lds-bindings": "^1.
|
|
46
|
+
"@salesforce/lds-bindings": "^1.457.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "^1.457.0"
|
|
50
50
|
},
|
|
51
51
|
"nx": {
|
|
52
52
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -899,7 +899,7 @@ function ingestSuccess$p(luvio, resourceParams, response) {
|
|
|
899
899
|
function createResourceRequest$p(config) {
|
|
900
900
|
const headers = {};
|
|
901
901
|
return {
|
|
902
|
-
baseUri: '/services/data/
|
|
902
|
+
baseUri: '/services/data/v69.0',
|
|
903
903
|
basePath: '/connect/education/careplan/bulk',
|
|
904
904
|
method: 'post',
|
|
905
905
|
body: config.body,
|
|
@@ -991,6 +991,20 @@ function validate$15(obj, path = 'CreateLearningOutputRepresentation') {
|
|
|
991
991
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
992
992
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
993
993
|
}
|
|
994
|
+
if (obj.educCharReqAssignmentIds !== undefined) {
|
|
995
|
+
const obj_educCharReqAssignmentIds = obj.educCharReqAssignmentIds;
|
|
996
|
+
const path_educCharReqAssignmentIds = path + '.educCharReqAssignmentIds';
|
|
997
|
+
if (!ArrayIsArray(obj_educCharReqAssignmentIds)) {
|
|
998
|
+
return new TypeError('Expected "array" but received "' + typeof obj_educCharReqAssignmentIds + '" (at "' + path_educCharReqAssignmentIds + '")');
|
|
999
|
+
}
|
|
1000
|
+
for (let i = 0; i < obj_educCharReqAssignmentIds.length; i++) {
|
|
1001
|
+
const obj_educCharReqAssignmentIds_item = obj_educCharReqAssignmentIds[i];
|
|
1002
|
+
const path_educCharReqAssignmentIds_item = path_educCharReqAssignmentIds + '[' + i + ']';
|
|
1003
|
+
if (typeof obj_educCharReqAssignmentIds_item !== 'string') {
|
|
1004
|
+
return new TypeError('Expected "string" but received "' + typeof obj_educCharReqAssignmentIds_item + '" (at "' + path_educCharReqAssignmentIds_item + '")');
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
994
1008
|
if (obj.errors !== undefined) {
|
|
995
1009
|
const obj_errors = obj.errors;
|
|
996
1010
|
const path_errors = path + '.errors';
|
|
@@ -1210,7 +1224,7 @@ function ingestSuccess$o(luvio, resourceParams, response) {
|
|
|
1210
1224
|
function createResourceRequest$o(config) {
|
|
1211
1225
|
const headers = {};
|
|
1212
1226
|
return {
|
|
1213
|
-
baseUri: '/services/data/
|
|
1227
|
+
baseUri: '/services/data/v69.0',
|
|
1214
1228
|
basePath: '/connect/education/academic-operations/learnings',
|
|
1215
1229
|
method: 'post',
|
|
1216
1230
|
body: config.body,
|
|
@@ -1419,7 +1433,7 @@ function ingestSuccess$n(luvio, resourceParams, response) {
|
|
|
1419
1433
|
function createResourceRequest$n(config) {
|
|
1420
1434
|
const headers = {};
|
|
1421
1435
|
return {
|
|
1422
|
-
baseUri: '/services/data/
|
|
1436
|
+
baseUri: '/services/data/v69.0',
|
|
1423
1437
|
basePath: '/connect/education/new-application/preliminary-application-references',
|
|
1424
1438
|
method: 'post',
|
|
1425
1439
|
body: config.body,
|
|
@@ -1639,7 +1653,7 @@ function ingestSuccess$m(luvio, resourceParams, response) {
|
|
|
1639
1653
|
function createResourceRequest$m(config) {
|
|
1640
1654
|
const headers = {};
|
|
1641
1655
|
return {
|
|
1642
|
-
baseUri: '/services/data/
|
|
1656
|
+
baseUri: '/services/data/v69.0',
|
|
1643
1657
|
basePath: '/connect/education/student-action-centre/task',
|
|
1644
1658
|
method: 'post',
|
|
1645
1659
|
body: config.body,
|
|
@@ -1932,7 +1946,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
1932
1946
|
function createResourceRequest$l(config) {
|
|
1933
1947
|
const headers = {};
|
|
1934
1948
|
return {
|
|
1935
|
-
baseUri: '/services/data/
|
|
1949
|
+
baseUri: '/services/data/v69.0',
|
|
1936
1950
|
basePath: '/connect/education/new-application/academic-terms',
|
|
1937
1951
|
method: 'get',
|
|
1938
1952
|
body: null,
|
|
@@ -2520,7 +2534,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
2520
2534
|
function createResourceRequest$k(config) {
|
|
2521
2535
|
const headers = {};
|
|
2522
2536
|
return {
|
|
2523
|
-
baseUri: '/services/data/
|
|
2537
|
+
baseUri: '/services/data/v69.0',
|
|
2524
2538
|
basePath: '/connect/education/applications/' + config.urlParams.preliminaryApplicationRefId + '',
|
|
2525
2539
|
method: 'get',
|
|
2526
2540
|
body: null,
|
|
@@ -2850,7 +2864,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
2850
2864
|
function createResourceRequest$j(config) {
|
|
2851
2865
|
const headers = {};
|
|
2852
2866
|
return {
|
|
2853
|
-
baseUri: '/services/data/
|
|
2867
|
+
baseUri: '/services/data/v69.0',
|
|
2854
2868
|
basePath: '/connect/education/applications',
|
|
2855
2869
|
method: 'get',
|
|
2856
2870
|
body: null,
|
|
@@ -4127,7 +4141,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
4127
4141
|
function createResourceRequest$i(config) {
|
|
4128
4142
|
const headers = {};
|
|
4129
4143
|
return {
|
|
4130
|
-
baseUri: '/services/data/
|
|
4144
|
+
baseUri: '/services/data/v69.0',
|
|
4131
4145
|
basePath: '/connect/education/student-action-centre/' + config.urlParams.contactId + '/apts-tasks-plans',
|
|
4132
4146
|
method: 'get',
|
|
4133
4147
|
body: null,
|
|
@@ -4557,7 +4571,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
4557
4571
|
function createResourceRequest$h(config) {
|
|
4558
4572
|
const headers = {};
|
|
4559
4573
|
return {
|
|
4560
|
-
baseUri: '/services/data/
|
|
4574
|
+
baseUri: '/services/data/v69.0',
|
|
4561
4575
|
basePath: '/connect/education/appointment-booking/available-time-slots',
|
|
4562
4576
|
method: 'post',
|
|
4563
4577
|
body: config.body,
|
|
@@ -4947,7 +4961,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
|
4947
4961
|
function createResourceRequest$g(config) {
|
|
4948
4962
|
const headers = {};
|
|
4949
4963
|
return {
|
|
4950
|
-
baseUri: '/services/data/
|
|
4964
|
+
baseUri: '/services/data/v69.0',
|
|
4951
4965
|
basePath: '/connect/education/appointment-booking/available-topics',
|
|
4952
4966
|
method: 'get',
|
|
4953
4967
|
body: null,
|
|
@@ -5169,7 +5183,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
5169
5183
|
function createResourceRequest$f(config) {
|
|
5170
5184
|
const headers = {};
|
|
5171
5185
|
return {
|
|
5172
|
-
baseUri: '/services/data/
|
|
5186
|
+
baseUri: '/services/data/v69.0',
|
|
5173
5187
|
basePath: '/connect/education/documents/document-type',
|
|
5174
5188
|
method: 'get',
|
|
5175
5189
|
body: null,
|
|
@@ -5364,7 +5378,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
5364
5378
|
function createResourceRequest$e(config) {
|
|
5365
5379
|
const headers = {};
|
|
5366
5380
|
return {
|
|
5367
|
-
baseUri: '/services/data/
|
|
5381
|
+
baseUri: '/services/data/v69.0',
|
|
5368
5382
|
basePath: '/connect/education/individual-application-tasks/' + config.urlParams.individualApplicationTaskId + '',
|
|
5369
5383
|
method: 'get',
|
|
5370
5384
|
body: null,
|
|
@@ -6316,7 +6330,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
6316
6330
|
function createResourceRequest$d(config) {
|
|
6317
6331
|
const headers = {};
|
|
6318
6332
|
return {
|
|
6319
|
-
baseUri: '/services/data/
|
|
6333
|
+
baseUri: '/services/data/v69.0',
|
|
6320
6334
|
basePath: '/connect/education/campus-setup/learner/' + config.urlParams.contactId + '/learner-progress',
|
|
6321
6335
|
method: 'get',
|
|
6322
6336
|
body: null,
|
|
@@ -6793,7 +6807,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
6793
6807
|
function createResourceRequest$c(config) {
|
|
6794
6808
|
const headers = {};
|
|
6795
6809
|
return {
|
|
6796
|
-
baseUri: '/services/data/
|
|
6810
|
+
baseUri: '/services/data/v69.0',
|
|
6797
6811
|
basePath: '/connect/education/academic-operations/learnings/' + config.urlParams.recordId + '',
|
|
6798
6812
|
method: 'get',
|
|
6799
6813
|
body: null,
|
|
@@ -7184,7 +7198,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
7184
7198
|
function createResourceRequest$b(config) {
|
|
7185
7199
|
const headers = {};
|
|
7186
7200
|
return {
|
|
7187
|
-
baseUri: '/services/data/
|
|
7201
|
+
baseUri: '/services/data/v69.0',
|
|
7188
7202
|
basePath: '/connect/education/new-application/preliminary-data',
|
|
7189
7203
|
method: 'get',
|
|
7190
7204
|
body: null,
|
|
@@ -7656,7 +7670,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
7656
7670
|
function createResourceRequest$a(config) {
|
|
7657
7671
|
const headers = {};
|
|
7658
7672
|
return {
|
|
7659
|
-
baseUri: '/services/data/
|
|
7673
|
+
baseUri: '/services/data/v69.0',
|
|
7660
7674
|
basePath: '/connect/education/person-public-profile/' + config.urlParams.usageType + '/' + config.urlParams.contactId + '',
|
|
7661
7675
|
method: 'get',
|
|
7662
7676
|
body: null,
|
|
@@ -8050,7 +8064,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
8050
8064
|
function createResourceRequest$9(config) {
|
|
8051
8065
|
const headers = {};
|
|
8052
8066
|
return {
|
|
8053
|
-
baseUri: '/services/data/
|
|
8067
|
+
baseUri: '/services/data/v69.0',
|
|
8054
8068
|
basePath: '/connect/education/student-action-centre/task/picklist-values',
|
|
8055
8069
|
method: 'get',
|
|
8056
8070
|
body: null,
|
|
@@ -8267,7 +8281,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
8267
8281
|
function createResourceRequest$8(config) {
|
|
8268
8282
|
const headers = {};
|
|
8269
8283
|
return {
|
|
8270
|
-
baseUri: '/services/data/
|
|
8284
|
+
baseUri: '/services/data/v69.0',
|
|
8271
8285
|
basePath: '/connect/education/campus-setup/learning-program-plan/' + config.urlParams.learningProgramPlanId + '/preview',
|
|
8272
8286
|
method: 'get',
|
|
8273
8287
|
body: null,
|
|
@@ -8586,7 +8600,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
8586
8600
|
function createResourceRequest$7(config) {
|
|
8587
8601
|
const headers = {};
|
|
8588
8602
|
return {
|
|
8589
|
-
baseUri: '/services/data/
|
|
8603
|
+
baseUri: '/services/data/v69.0',
|
|
8590
8604
|
basePath: '/connect/education/new-application/program-term-application-timelines',
|
|
8591
8605
|
method: 'get',
|
|
8592
8606
|
body: null,
|
|
@@ -9135,7 +9149,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
9135
9149
|
function createResourceRequest$6(config) {
|
|
9136
9150
|
const headers = {};
|
|
9137
9151
|
return {
|
|
9138
|
-
baseUri: '/services/data/
|
|
9152
|
+
baseUri: '/services/data/v69.0',
|
|
9139
9153
|
basePath: '/connect/education/' + config.urlParams.accountId + '/success-team',
|
|
9140
9154
|
method: 'get',
|
|
9141
9155
|
body: null,
|
|
@@ -9487,7 +9501,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
|
|
|
9487
9501
|
function createResourceRequest$5(config) {
|
|
9488
9502
|
const headers = {};
|
|
9489
9503
|
return {
|
|
9490
|
-
baseUri: '/services/data/
|
|
9504
|
+
baseUri: '/services/data/v69.0',
|
|
9491
9505
|
basePath: '/connect/education/mentoring/benefit-assignment/' + config.urlParams.benefitAssignmentId + '/provider',
|
|
9492
9506
|
method: 'post',
|
|
9493
9507
|
body: config.body,
|
|
@@ -9745,7 +9759,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
9745
9759
|
function createResourceRequest$4(config) {
|
|
9746
9760
|
const headers = {};
|
|
9747
9761
|
return {
|
|
9748
|
-
baseUri: '/services/data/
|
|
9762
|
+
baseUri: '/services/data/v69.0',
|
|
9749
9763
|
basePath: '/connect/education/mentoring/matching-selector/' + config.urlParams.benefitAssignmentId + '',
|
|
9750
9764
|
method: 'post',
|
|
9751
9765
|
body: config.body,
|
|
@@ -9993,7 +10007,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
9993
10007
|
function createResourceRequest$3(config) {
|
|
9994
10008
|
const headers = {};
|
|
9995
10009
|
return {
|
|
9996
|
-
baseUri: '/services/data/
|
|
10010
|
+
baseUri: '/services/data/v69.0',
|
|
9997
10011
|
basePath: '/connect/education/campus-setup/learning-program-plan/publish',
|
|
9998
10012
|
method: 'post',
|
|
9999
10013
|
body: config.body,
|
|
@@ -10254,7 +10268,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
10254
10268
|
function createResourceRequest$2(config) {
|
|
10255
10269
|
const headers = {};
|
|
10256
10270
|
return {
|
|
10257
|
-
baseUri: '/services/data/
|
|
10271
|
+
baseUri: '/services/data/v69.0',
|
|
10258
10272
|
basePath: '/connect/education/campus-setup/learning/validate-foundation-items',
|
|
10259
10273
|
method: 'post',
|
|
10260
10274
|
body: config.body,
|
|
@@ -10388,7 +10402,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
10388
10402
|
function createResourceRequest$1(config) {
|
|
10389
10403
|
const headers = {};
|
|
10390
10404
|
return {
|
|
10391
|
-
baseUri: '/services/data/
|
|
10405
|
+
baseUri: '/services/data/v69.0',
|
|
10392
10406
|
basePath: '/connect/education/academic-operations/learnings',
|
|
10393
10407
|
method: 'patch',
|
|
10394
10408
|
body: config.body,
|
|
@@ -10486,7 +10500,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
10486
10500
|
function createResourceRequest(config) {
|
|
10487
10501
|
const headers = {};
|
|
10488
10502
|
return {
|
|
10489
|
-
baseUri: '/services/data/
|
|
10503
|
+
baseUri: '/services/data/v69.0',
|
|
10490
10504
|
basePath: '/connect/education/student-action-centre/task/' + config.urlParams.taskId + '',
|
|
10491
10505
|
method: 'patch',
|
|
10492
10506
|
body: config.body,
|
|
@@ -10770,4 +10784,4 @@ withDefaultLuvio((luvio) => {
|
|
|
10770
10784
|
});
|
|
10771
10785
|
|
|
10772
10786
|
export { createCarePlans, createLearnings, createPreliminaryApplicationReferences, createTask, getAcademicTerms, getAcademicTerms_imperative, getApplicationDetails, getApplicationDetails_imperative, getApplications, getApplications_imperative, getAptsTasksPlans, getAptsTasksPlans_imperative, getAvailableTimeSlots, getAvailableTimeSlots_imperative, getAvailableTopics, getAvailableTopics_imperative, getDocumentTypes, getDocumentTypes_imperative, getIndividualApplicationTask, getIndividualApplicationTask_imperative, getLearnerProgress, getLearnerProgress_imperative, getLearning, getLearning_imperative, getNewApplicationPreliminaryData, getNewApplicationPreliminaryData_imperative, getPersonPublicProfile, getPersonPublicProfile_imperative, getPicklistValues, getPicklistValues_imperative, getPreviewLearningProgramPlan, getPreviewLearningProgramPlan_imperative, getProgramTermApplicationTimelines, getProgramTermApplicationTimelines_imperative, getSuccessTeam, getSuccessTeam_imperative, postBenefitAssignment, postMatchingSelector, postMatchingSelector_imperative, postPublishLearningProgramPlan, postValidateLearningFoundationList, postValidateLearningFoundationList_imperative, updateLearnings, updateTaskStatus };
|
|
10773
|
-
// version: 1.
|
|
10787
|
+
// version: 1.457.0-5118f3b372
|
package/src/raml/api.raml
CHANGED
|
@@ -6,7 +6,7 @@ version: '60.0'
|
|
|
6
6
|
mediaType: application/json
|
|
7
7
|
protocols:
|
|
8
8
|
- https
|
|
9
|
-
baseUri: /services/data/
|
|
9
|
+
baseUri: /services/data/v69.0
|
|
10
10
|
securitySchemes:
|
|
11
11
|
OAuth2:
|
|
12
12
|
type: OAuth 2.0
|
|
@@ -1112,6 +1112,12 @@ types:
|
|
|
1112
1112
|
items:
|
|
1113
1113
|
type: object
|
|
1114
1114
|
required: false
|
|
1115
|
+
educCharReqAssignments:
|
|
1116
|
+
description: List of Educational Characteristic Requirement Assignments that are part of the learning
|
|
1117
|
+
type: array
|
|
1118
|
+
items:
|
|
1119
|
+
type: any
|
|
1120
|
+
required: false
|
|
1115
1121
|
ConcreteAchievementMapping:
|
|
1116
1122
|
description: A mapping which corresponds to an existing Learning Achievement Record
|
|
1117
1123
|
type: AbstractAchievementMapping
|
|
@@ -1178,6 +1184,12 @@ types:
|
|
|
1178
1184
|
description: Created External Learning Id.
|
|
1179
1185
|
type: string
|
|
1180
1186
|
required: false
|
|
1187
|
+
educCharReqAssignmentIds:
|
|
1188
|
+
description: Educational Characteristic Requirement Assignment Ids created which relate to the Learning.
|
|
1189
|
+
type: array
|
|
1190
|
+
required: false
|
|
1191
|
+
items:
|
|
1192
|
+
type: string
|
|
1181
1193
|
errors:
|
|
1182
1194
|
description: Error Code.
|
|
1183
1195
|
type: array
|