@salesforce/lds-adapters-service-serviceplan 1.338.0 → 1.340.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.
@@ -1539,7 +1539,7 @@ function validate$2(obj, path = 'ServicePlanStepDetailsRepresentation') {
1539
1539
  return v_error === undefined ? null : v_error;
1540
1540
  }
1541
1541
 
1542
- const VERSION$1 = "b4f5b09aa7f657ce0b31e25aa7b50b1c";
1542
+ const VERSION$1 = "c9695b537d7f54ccb9bfd42af5ddaa1d";
1543
1543
  function validate$1(obj, path = 'ServicePlanDetailsRepresentation') {
1544
1544
  const v_error = (() => {
1545
1545
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1649,6 +1649,32 @@ function validate$1(obj, path = 'ServicePlanDetailsRepresentation') {
1649
1649
  message += '\n' + obj_feedbackId_union1.split('\n').map((line) => '\t' + line).join('\n');
1650
1650
  return new TypeError(message);
1651
1651
  }
1652
+ const obj_planHeader = obj.planHeader;
1653
+ const path_planHeader = path + '.planHeader';
1654
+ let obj_planHeader_union0 = null;
1655
+ const obj_planHeader_union0_error = (() => {
1656
+ if (typeof obj_planHeader !== 'string') {
1657
+ return new TypeError('Expected "string" but received "' + typeof obj_planHeader + '" (at "' + path_planHeader + '")');
1658
+ }
1659
+ })();
1660
+ if (obj_planHeader_union0_error != null) {
1661
+ obj_planHeader_union0 = obj_planHeader_union0_error.message;
1662
+ }
1663
+ let obj_planHeader_union1 = null;
1664
+ const obj_planHeader_union1_error = (() => {
1665
+ if (obj_planHeader !== null) {
1666
+ return new TypeError('Expected "null" but received "' + typeof obj_planHeader + '" (at "' + path_planHeader + '")');
1667
+ }
1668
+ })();
1669
+ if (obj_planHeader_union1_error != null) {
1670
+ obj_planHeader_union1 = obj_planHeader_union1_error.message;
1671
+ }
1672
+ if (obj_planHeader_union0 && obj_planHeader_union1) {
1673
+ let message = 'Object doesn\'t match union (at "' + path_planHeader + '")';
1674
+ message += '\n' + obj_planHeader_union0.split('\n').map((line) => '\t' + line).join('\n');
1675
+ message += '\n' + obj_planHeader_union1.split('\n').map((line) => '\t' + line).join('\n');
1676
+ return new TypeError(message);
1677
+ }
1652
1678
  const obj_planId = obj.planId;
1653
1679
  const path_planId = path + '.planId';
1654
1680
  let obj_planId_union0 = null;
@@ -1,6 +1,6 @@
1
1
  import { ServicePlanStepDetailsRepresentation as ServicePlanStepDetailsRepresentation_ServicePlanStepDetailsRepresentation } from './ServicePlanStepDetailsRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "b4f5b09aa7f657ce0b31e25aa7b50b1c";
3
+ export declare const VERSION = "c9695b537d7f54ccb9bfd42af5ddaa1d";
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: ServicePlanDetailsRepresentation, existing: ServicePlanDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ServicePlanDetailsRepresentationNormalized;
@@ -23,6 +23,8 @@ export interface ServicePlanDetailsRepresentationNormalized {
23
23
  executionStatus: string | null;
24
24
  /** Feedback ID */
25
25
  feedbackId: string | null;
26
+ /** PlanHeader */
27
+ planHeader: string | null;
26
28
  /** Plan ID */
27
29
  planId: string | null;
28
30
  /** Service Plan Steps */
@@ -41,6 +43,7 @@ export interface ServicePlanDetailsRepresentation {
41
43
  createdDate: string | null;
42
44
  executionStatus: string | null;
43
45
  feedbackId: string | null;
46
+ planHeader: string | null;
44
47
  planId: string | null;
45
48
  servicePlanSteps: Array<ServicePlanStepDetailsRepresentation_ServicePlanStepDetailsRepresentation>;
46
49
  topic: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-service-serviceplan",
3
- "version": "1.338.0",
3
+ "version": "1.340.0",
4
4
  "description": "collectionof service plan apis",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/service-serviceplan.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.338.0"
43
+ "@salesforce/lds-bindings": "^1.340.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.338.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.340.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1549,7 +1549,7 @@ function validate$2(obj, path = 'ServicePlanStepDetailsRepresentation') {
1549
1549
  return v_error === undefined ? null : v_error;
1550
1550
  }
1551
1551
 
1552
- const VERSION$1 = "b4f5b09aa7f657ce0b31e25aa7b50b1c";
1552
+ const VERSION$1 = "c9695b537d7f54ccb9bfd42af5ddaa1d";
1553
1553
  function validate$1(obj, path = 'ServicePlanDetailsRepresentation') {
1554
1554
  const v_error = (() => {
1555
1555
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1659,6 +1659,32 @@ function validate$1(obj, path = 'ServicePlanDetailsRepresentation') {
1659
1659
  message += '\n' + obj_feedbackId_union1.split('\n').map((line) => '\t' + line).join('\n');
1660
1660
  return new TypeError(message);
1661
1661
  }
1662
+ const obj_planHeader = obj.planHeader;
1663
+ const path_planHeader = path + '.planHeader';
1664
+ let obj_planHeader_union0 = null;
1665
+ const obj_planHeader_union0_error = (() => {
1666
+ if (typeof obj_planHeader !== 'string') {
1667
+ return new TypeError('Expected "string" but received "' + typeof obj_planHeader + '" (at "' + path_planHeader + '")');
1668
+ }
1669
+ })();
1670
+ if (obj_planHeader_union0_error != null) {
1671
+ obj_planHeader_union0 = obj_planHeader_union0_error.message;
1672
+ }
1673
+ let obj_planHeader_union1 = null;
1674
+ const obj_planHeader_union1_error = (() => {
1675
+ if (obj_planHeader !== null) {
1676
+ return new TypeError('Expected "null" but received "' + typeof obj_planHeader + '" (at "' + path_planHeader + '")');
1677
+ }
1678
+ })();
1679
+ if (obj_planHeader_union1_error != null) {
1680
+ obj_planHeader_union1 = obj_planHeader_union1_error.message;
1681
+ }
1682
+ if (obj_planHeader_union0 && obj_planHeader_union1) {
1683
+ let message = 'Object doesn\'t match union (at "' + path_planHeader + '")';
1684
+ message += '\n' + obj_planHeader_union0.split('\n').map((line) => '\t' + line).join('\n');
1685
+ message += '\n' + obj_planHeader_union1.split('\n').map((line) => '\t' + line).join('\n');
1686
+ return new TypeError(message);
1687
+ }
1662
1688
  const obj_planId = obj.planId;
1663
1689
  const path_planId = path + '.planId';
1664
1690
  let obj_planId_union0 = null;
@@ -2180,4 +2206,4 @@ withDefaultLuvio((luvio) => {
2180
2206
  });
2181
2207
 
2182
2208
  export { executeServicePlan, generateServicePlan, getGenerationRequest, getGenerationRequest_imperative, getServicePlan, getServicePlanNotifyChange, getServicePlan_imperative, notifyServicePlanDetailsUpdateAvailable, notifyServicePlanGenerationUpdateAvailable };
2183
- // version: 1.338.0-08547ecb90
2209
+ // version: 1.340.0-08235a5e1b
package/src/raml/api.raml CHANGED
@@ -129,6 +129,9 @@ types:
129
129
  clientFeatureId:
130
130
  description: clientFeature ID
131
131
  type: string | nil
132
+ planHeader:
133
+ description: PlanHeader
134
+ type: string | nil
132
135
  planId:
133
136
  description: Plan ID
134
137
  type: string | nil