@salesforce/lds-adapters-industries-education 1.284.0 → 1.286.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.
@@ -357,7 +357,7 @@ function validate$17(obj, path = 'GetApplicationsResult') {
357
357
  return v_error === undefined ? null : v_error;
358
358
  }
359
359
 
360
- const TTL$6 = 100;
360
+ const TTL$7 = 100;
361
361
  const VERSION$I = "1947ca622740f63d1812cfa7d4dd5989";
362
362
  function validate$16(obj, path = 'ApplicationsOutputRepresentation') {
363
363
  const v_error = (() => {
@@ -403,7 +403,7 @@ const ingest$k = function ApplicationsOutputRepresentationIngest(input, path, lu
403
403
  }
404
404
  }
405
405
  const key = path.fullPath;
406
- const ttlToUse = TTL$6;
406
+ const ttlToUse = TTL$7;
407
407
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "education", VERSION$I, RepresentationType$k, equals$G);
408
408
  return createLink(key);
409
409
  };
@@ -447,7 +447,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
447
447
  const key = keyBuilder$z();
448
448
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
449
449
  const storeMetadataParams = {
450
- ttl: TTL$6,
450
+ ttl: TTL$7,
451
451
  namespace: keyPrefix,
452
452
  version: VERSION$I,
453
453
  representationName: RepresentationType$k
@@ -801,7 +801,7 @@ function validate$13(obj, path = 'GetApplicationDetailsResult') {
801
801
  return v_error === undefined ? null : v_error;
802
802
  }
803
803
 
804
- const TTL$5 = 100;
804
+ const TTL$6 = 100;
805
805
  const VERSION$H = "20a50ee9f09ba0dc956412cc14d5b6d5";
806
806
  function validate$12(obj, path = 'ApplicationDetailsOutputRepresentation') {
807
807
  const v_error = (() => {
@@ -847,7 +847,7 @@ const ingest$j = function ApplicationDetailsOutputRepresentationIngest(input, pa
847
847
  }
848
848
  }
849
849
  const key = path.fullPath;
850
- const ttlToUse = TTL$5;
850
+ const ttlToUse = TTL$6;
851
851
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "education", VERSION$H, RepresentationType$j, equals$F);
852
852
  return createLink(key);
853
853
  };
@@ -891,7 +891,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
891
891
  const key = keyBuilder$x(luvio, params);
892
892
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
893
893
  const storeMetadataParams = {
894
- ttl: TTL$5,
894
+ ttl: TTL$6,
895
895
  namespace: keyPrefix,
896
896
  version: VERSION$H,
897
897
  representationName: RepresentationType$j
@@ -3592,7 +3592,7 @@ function validate$Q(obj, path = 'CreateLearningInputRepresentation') {
3592
3592
  return v_error === undefined ? null : v_error;
3593
3593
  }
3594
3594
 
3595
- const TTL$4 = 100;
3595
+ const TTL$5 = 100;
3596
3596
  const VERSION$s = "007261ab77a4c0e4b59ae9c1245e9305";
3597
3597
  function validate$P(obj, path = 'CreateLearningOutputRepresentation') {
3598
3598
  const v_error = (() => {
@@ -3698,7 +3698,7 @@ const ingest$f = function CreateLearningOutputRepresentationIngest(input, path,
3698
3698
  }
3699
3699
  }
3700
3700
  const key = keyBuilderFromType$5(luvio, input);
3701
- const ttlToUse = TTL$4;
3701
+ const ttlToUse = TTL$5;
3702
3702
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "education", VERSION$s, RepresentationType$f, equals$s);
3703
3703
  return createLink(key);
3704
3704
  };
@@ -3997,7 +3997,7 @@ function validate$M(obj, path = 'LearningProgramPlanInputRepresentation') {
3997
3997
  return v_error === undefined ? null : v_error;
3998
3998
  }
3999
3999
 
4000
- const TTL$3 = 100;
4000
+ const TTL$4 = 100;
4001
4001
  const VERSION$r = "0218a0ed0a2278eb0405096372ffa5de";
4002
4002
  function validate$L(obj, path = 'LearningProgramPlanOutputRepresentation') {
4003
4003
  const v_error = (() => {
@@ -4047,7 +4047,7 @@ const ingest$e = function LearningProgramPlanOutputRepresentationIngest(input, p
4047
4047
  }
4048
4048
  }
4049
4049
  const key = keyBuilderFromType$4(luvio, input);
4050
- const ttlToUse = TTL$3;
4050
+ const ttlToUse = TTL$4;
4051
4051
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "education", VERSION$r, RepresentationType$e, equals$r);
4052
4052
  return createLink(key);
4053
4053
  };
@@ -5058,7 +5058,7 @@ function validate$y(obj, path = 'CarePlanBulkInputRepresentation') {
5058
5058
  return v_error === undefined ? null : v_error;
5059
5059
  }
5060
5060
 
5061
- const TTL$2 = 100;
5061
+ const TTL$3 = 100;
5062
5062
  const VERSION$p = "83a45266096a71720e9049cb0f0477d6";
5063
5063
  function validate$x(obj, path = 'CarePlanBulkOutputRepresentation') {
5064
5064
  const v_error = (() => {
@@ -5122,7 +5122,7 @@ const ingest$c = function CarePlanBulkOutputRepresentationIngest(input, path, lu
5122
5122
  }
5123
5123
  }
5124
5124
  const key = keyBuilderFromType$3(luvio, input);
5125
- const ttlToUse = TTL$2;
5125
+ const ttlToUse = TTL$3;
5126
5126
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "education", VERSION$p, RepresentationType$c, equals$p);
5127
5127
  return createLink(key);
5128
5128
  };
@@ -5620,6 +5620,7 @@ function equals$n(existing, incoming) {
5620
5620
  return true;
5621
5621
  }
5622
5622
 
5623
+ const TTL$2 = 500;
5623
5624
  const VERSION$m = "33fcd02404150683fc2b8c66cd715130";
5624
5625
  function validate$s(obj, path = 'MentoringMatchingSelectorOutputRepresentation') {
5625
5626
  const v_error = (() => {
@@ -5685,7 +5686,7 @@ const ingest$a = function MentoringMatchingSelectorOutputRepresentationIngest(in
5685
5686
  }
5686
5687
  }
5687
5688
  const key = path.fullPath;
5688
- const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
5689
+ const ttlToUse = TTL$2;
5689
5690
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "education", VERSION$m, RepresentationType$a, equals$m);
5690
5691
  return createLink(key);
5691
5692
  };
@@ -5728,7 +5729,13 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
5728
5729
  function ingestError$8(luvio, params, error, snapshotRefresh) {
5729
5730
  const key = keyBuilder$j(luvio, params);
5730
5731
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
5731
- luvio.storeIngestError(key, errorSnapshot);
5732
+ const storeMetadataParams = {
5733
+ ttl: TTL$2,
5734
+ namespace: keyPrefix,
5735
+ version: VERSION$m,
5736
+ representationName: RepresentationType$a
5737
+ };
5738
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
5732
5739
  return errorSnapshot;
5733
5740
  }
5734
5741
  function createResourceRequest$b(config) {
@@ -1,5 +1,6 @@
1
1
  import { MentoringProfileOption as MentoringProfileOption_MentoringProfileOption } from './MentoringProfileOption';
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 TTL = 500;
3
4
  export declare const VERSION = "33fcd02404150683fc2b8c66cd715130";
4
5
  export declare function validate(obj: any, path?: string): TypeError | null;
5
6
  export declare const RepresentationType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-education",
3
- "version": "1.284.0",
3
+ "version": "1.286.0",
4
4
  "description": "Education Cloud related actions",
5
5
  "license": "MIT",
6
6
  "main": "dist/es/es2018/industries-education.js",
@@ -46,11 +46,11 @@
46
46
  "test:unit": "jest --config=./jest.config.js"
47
47
  },
48
48
  "dependencies": {
49
- "@salesforce/lds-bindings": "^1.284.0"
49
+ "@salesforce/lds-bindings": "^1.286.0"
50
50
  },
51
51
  "devDependencies": {
52
- "@salesforce/lds-compiler-plugins": "^1.284.0",
53
- "@salesforce/lds-karma": "^1.284.0"
52
+ "@salesforce/lds-compiler-plugins": "^1.286.0",
53
+ "@salesforce/lds-karma": "^1.286.0"
54
54
  },
55
55
  "nx": {
56
56
  "targets": {
package/sfdc/index.js CHANGED
@@ -739,7 +739,7 @@ function validate$$(obj, path = 'CarePlanBulkInputRepresentation') {
739
739
  return v_error === undefined ? null : v_error;
740
740
  }
741
741
 
742
- const TTL$6 = 100;
742
+ const TTL$7 = 100;
743
743
  const VERSION$J = "83a45266096a71720e9049cb0f0477d6";
744
744
  function validate$_(obj, path = 'CarePlanBulkOutputRepresentation') {
745
745
  const v_error = (() => {
@@ -803,7 +803,7 @@ const ingest$k = function CarePlanBulkOutputRepresentationIngest(input, path, lu
803
803
  }
804
804
  }
805
805
  const key = keyBuilderFromType$5(luvio, input);
806
- const ttlToUse = TTL$6;
806
+ const ttlToUse = TTL$7;
807
807
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "education", VERSION$J, RepresentationType$k, equals$H);
808
808
  return createLink(key);
809
809
  };
@@ -937,7 +937,7 @@ function validate$Z(obj, path = 'PreliminaryApplicationReferencesInputRepresenta
937
937
  return v_error === undefined ? null : v_error;
938
938
  }
939
939
 
940
- const TTL$5 = 100;
940
+ const TTL$6 = 100;
941
941
  const VERSION$I = "99c70aaad84edf6fe13e82411117c732";
942
942
  function validate$Y(obj, path = 'PreliminaryApplicationReferencesOutputRepresentation') {
943
943
  const v_error = (() => {
@@ -1008,7 +1008,7 @@ const ingest$j = function PreliminaryApplicationReferencesOutputRepresentationIn
1008
1008
  }
1009
1009
  }
1010
1010
  const key = keyBuilderFromType$4(luvio, input);
1011
- const ttlToUse = TTL$5;
1011
+ const ttlToUse = TTL$6;
1012
1012
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "education", VERSION$I, RepresentationType$j, equals$G);
1013
1013
  return createLink(key);
1014
1014
  };
@@ -2026,7 +2026,7 @@ function validate$Q(obj, path = 'GetApplicationDetailsResult') {
2026
2026
  return v_error === undefined ? null : v_error;
2027
2027
  }
2028
2028
 
2029
- const TTL$4 = 100;
2029
+ const TTL$5 = 100;
2030
2030
  const VERSION$D = "20a50ee9f09ba0dc956412cc14d5b6d5";
2031
2031
  function validate$P(obj, path = 'ApplicationDetailsOutputRepresentation') {
2032
2032
  const v_error = (() => {
@@ -2072,7 +2072,7 @@ const ingest$g = function ApplicationDetailsOutputRepresentationIngest(input, pa
2072
2072
  }
2073
2073
  }
2074
2074
  const key = path.fullPath;
2075
- const ttlToUse = TTL$4;
2075
+ const ttlToUse = TTL$5;
2076
2076
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "education", VERSION$D, RepresentationType$g, equals$B);
2077
2077
  return createLink(key);
2078
2078
  };
@@ -2116,7 +2116,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
2116
2116
  const key = keyBuilder$u(luvio, params);
2117
2117
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2118
2118
  const storeMetadataParams = {
2119
- ttl: TTL$4,
2119
+ ttl: TTL$5,
2120
2120
  namespace: keyPrefix,
2121
2121
  version: VERSION$D,
2122
2122
  representationName: RepresentationType$g
@@ -2349,7 +2349,7 @@ function validate$N(obj, path = 'GetApplicationsResult') {
2349
2349
  return v_error === undefined ? null : v_error;
2350
2350
  }
2351
2351
 
2352
- const TTL$3 = 100;
2352
+ const TTL$4 = 100;
2353
2353
  const VERSION$C = "1947ca622740f63d1812cfa7d4dd5989";
2354
2354
  function validate$M(obj, path = 'ApplicationsOutputRepresentation') {
2355
2355
  const v_error = (() => {
@@ -2395,7 +2395,7 @@ const ingest$f = function ApplicationsOutputRepresentationIngest(input, path, lu
2395
2395
  }
2396
2396
  }
2397
2397
  const key = path.fullPath;
2398
- const ttlToUse = TTL$3;
2398
+ const ttlToUse = TTL$4;
2399
2399
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "education", VERSION$C, RepresentationType$f, equals$A);
2400
2400
  return createLink(key);
2401
2401
  };
@@ -2439,7 +2439,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
2439
2439
  const key = keyBuilder$s();
2440
2440
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
2441
2441
  const storeMetadataParams = {
2442
- ttl: TTL$3,
2442
+ ttl: TTL$4,
2443
2443
  namespace: keyPrefix,
2444
2444
  version: VERSION$C,
2445
2445
  representationName: RepresentationType$f
@@ -4570,7 +4570,7 @@ const getAvailableTopicsAdapterFactory = (luvio) => function education__getAvail
4570
4570
  buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
4571
4571
  };
4572
4572
 
4573
- const TTL$2 = 100;
4573
+ const TTL$3 = 100;
4574
4574
  const VERSION$s = "51a57763ac92bf86b3c62c32e17dbd49";
4575
4575
  function validate$B(obj, path = 'IndividualApplicationTaskOutputRepresentation') {
4576
4576
  const v_error = (() => {
@@ -4616,7 +4616,7 @@ const ingest$b = function IndividualApplicationTaskOutputRepresentationIngest(in
4616
4616
  }
4617
4617
  }
4618
4618
  const key = path.fullPath;
4619
- const ttlToUse = TTL$2;
4619
+ const ttlToUse = TTL$3;
4620
4620
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "education", VERSION$s, RepresentationType$b, equals$q);
4621
4621
  return createLink(key);
4622
4622
  };
@@ -4660,7 +4660,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
4660
4660
  const key = keyBuilder$k(luvio, params);
4661
4661
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
4662
4662
  const storeMetadataParams = {
4663
- ttl: TTL$2,
4663
+ ttl: TTL$3,
4664
4664
  namespace: keyPrefix,
4665
4665
  version: VERSION$s,
4666
4666
  representationName: RepresentationType$b
@@ -9320,7 +9320,7 @@ function validate$8(obj, path = 'CreateLearningInputRepresentation') {
9320
9320
  return v_error === undefined ? null : v_error;
9321
9321
  }
9322
9322
 
9323
- const TTL$1 = 100;
9323
+ const TTL$2 = 100;
9324
9324
  const VERSION$3 = "007261ab77a4c0e4b59ae9c1245e9305";
9325
9325
  function validate$7(obj, path = 'CreateLearningOutputRepresentation') {
9326
9326
  const v_error = (() => {
@@ -9426,7 +9426,7 @@ const ingest$2 = function CreateLearningOutputRepresentationIngest(input, path,
9426
9426
  }
9427
9427
  }
9428
9428
  const key = keyBuilderFromType$1(luvio, input);
9429
- const ttlToUse = TTL$1;
9429
+ const ttlToUse = TTL$2;
9430
9430
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "education", VERSION$3, RepresentationType$2, equals$3);
9431
9431
  return createLink(key);
9432
9432
  };
@@ -9606,6 +9606,7 @@ function equals$2(existing, incoming) {
9606
9606
  return true;
9607
9607
  }
9608
9608
 
9609
+ const TTL$1 = 500;
9609
9610
  const VERSION$1 = "33fcd02404150683fc2b8c66cd715130";
9610
9611
  function validate$4(obj, path = 'MentoringMatchingSelectorOutputRepresentation') {
9611
9612
  const v_error = (() => {
@@ -9671,7 +9672,7 @@ const ingest$1 = function MentoringMatchingSelectorOutputRepresentationIngest(in
9671
9672
  }
9672
9673
  }
9673
9674
  const key = path.fullPath;
9674
- const ttlToUse = path.ttl !== undefined ? path.ttl : 360000;
9675
+ const ttlToUse = TTL$1;
9675
9676
  ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "education", VERSION$1, RepresentationType$1, equals$1);
9676
9677
  return createLink(key);
9677
9678
  };
@@ -9714,7 +9715,13 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
9714
9715
  function ingestError(luvio, params, error, snapshotRefresh) {
9715
9716
  const key = keyBuilder$2(luvio, params);
9716
9717
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
9717
- luvio.storeIngestError(key, errorSnapshot);
9718
+ const storeMetadataParams = {
9719
+ ttl: TTL$1,
9720
+ namespace: keyPrefix,
9721
+ version: VERSION$1,
9722
+ representationName: RepresentationType$1
9723
+ };
9724
+ luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
9718
9725
  return errorSnapshot;
9719
9726
  }
9720
9727
  function createResourceRequest$3(config) {
@@ -10346,7 +10353,11 @@ const getProgramTermApplicationTimelinesMetadata = {
10346
10353
  name: 'getProgramTermApplicationTimelines',
10347
10354
  };
10348
10355
  const getSuccessTeamMetadata = { apiFamily: 'education', name: 'getSuccessTeam' };
10349
- const postMatchingSelectorMetadata = { apiFamily: 'education', name: 'postMatchingSelector' };
10356
+ const postMatchingSelectorMetadata = {
10357
+ apiFamily: 'education',
10358
+ name: 'postMatchingSelector',
10359
+ ttl: 500,
10360
+ };
10350
10361
  // Notify Update Available
10351
10362
  function bindExportsTo(luvio) {
10352
10363
  // LDS Adapters
@@ -10456,4 +10467,4 @@ withDefaultLuvio((luvio) => {
10456
10467
  });
10457
10468
 
10458
10469
  export { createCarePlans, createPreliminaryApplicationReferences, createTask, getAcademicTerms, getAcademicTerms_imperative, getApplicationDetails, getApplicationDetails_imperative, getApplications, getApplications_imperative, getAptsTasksPlans, getAptsTasksPlans_imperative, getAvailableTimeSlots, getAvailableTimeSlots_imperative, getAvailableTopics, getAvailableTopics_imperative, getIndividualApplicationTask, getIndividualApplicationTask_imperative, getLearnerProgress, getLearnerProgress_imperative, getNewApplicationPreliminaryData, getNewApplicationPreliminaryData_imperative, getPersonPublicProfile, getPersonPublicProfile_imperative, getPicklistValues, getPicklistValues_imperative, getPreviewLearningProgramPlan, getPreviewLearningProgramPlan_imperative, getProgramTermApplicationTimelines, getProgramTermApplicationTimelines_imperative, getSuccessTeam, getSuccessTeam_imperative, postBenefitAssignment, postCreateLearning, postMatchingSelector, postMatchingSelector_imperative, postPublishLearningProgramPlan, updateLearning, updateTaskStatus };
10459
- // version: 1.284.0-8b78b708e
10470
+ // version: 1.286.0-27bef7c46
@@ -47,6 +47,8 @@ types:
47
47
  IndividualApplicationTaskOutputRepresentation:
48
48
  (luvio.opaque): true
49
49
  (luvio.ttl): 100
50
+ MentoringMatchingSelectorOutputRepresentation:
51
+ (luvio.ttl): 500
50
52
 
51
53
  /connect/education:
52
54
  /mentoring: