@salesforce/lds-adapters-industries-service-excellence 1.228.1 → 1.229.0-dev2

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.
@@ -94,10 +94,12 @@ function validate$7(obj, path = 'ActionLaunchInputRepresentation') {
94
94
  if (typeof obj_actionType !== 'string') {
95
95
  return new TypeError('Expected "string" but received "' + typeof obj_actionType + '" (at "' + path_actionType + '")');
96
96
  }
97
- const obj_deploymentId = obj.deploymentId;
98
- const path_deploymentId = path + '.deploymentId';
99
- if (typeof obj_deploymentId !== 'string') {
100
- return new TypeError('Expected "string" but received "' + typeof obj_deploymentId + '" (at "' + path_deploymentId + '")');
97
+ if (obj.deploymentId !== undefined) {
98
+ const obj_deploymentId = obj.deploymentId;
99
+ const path_deploymentId = path + '.deploymentId';
100
+ if (typeof obj_deploymentId !== 'string') {
101
+ return new TypeError('Expected "string" but received "' + typeof obj_deploymentId + '" (at "' + path_deploymentId + '")');
102
+ }
101
103
  }
102
104
  const obj_objectKeyPrefix = obj.objectKeyPrefix;
103
105
  const path_objectKeyPrefix = path + '.objectKeyPrefix';
@@ -1,5 +1,5 @@
1
1
  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';
2
- export declare const VERSION = "25308fc602e961165f7877a2677e0a3a";
2
+ export declare const VERSION = "ca63c8bc3f130d800841c1bf695598ae";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: ActionLaunchInputRepresentation, existing: ActionLaunchInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionLaunchInputRepresentationNormalized;
@@ -19,7 +19,7 @@ export interface ActionLaunchInputRepresentationNormalized {
19
19
  /** set the type of action */
20
20
  actionType: string;
21
21
  /** set deployment id of the deployment */
22
- deploymentId: string;
22
+ deploymentId?: string;
23
23
  /** set the key prefix of object corresponding to the record page where the action was launched */
24
24
  objectKeyPrefix: string;
25
25
  }
@@ -32,6 +32,6 @@ export interface ActionLaunchInputRepresentationNormalized {
32
32
  export interface ActionLaunchInputRepresentation {
33
33
  actionDevName: string;
34
34
  actionType: string;
35
- deploymentId: string;
35
+ deploymentId?: string;
36
36
  objectKeyPrefix: string;
37
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-service-excellence",
3
- "version": "1.228.1",
3
+ "version": "1.229.0-dev2",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "This is LDS adapters for all service excellence related connect APIs",
6
6
  "main": "dist/es/es2018/industries-service-excellence.js",
@@ -43,11 +43,11 @@
43
43
  "test:compat": "karma start --single-run --compat"
44
44
  },
45
45
  "dependencies": {
46
- "@salesforce/lds-bindings": "*"
46
+ "@salesforce/lds-bindings": "1.229.0-dev2"
47
47
  },
48
48
  "devDependencies": {
49
- "@salesforce/lds-compiler-plugins": "*",
50
- "@salesforce/lds-karma": "*"
49
+ "@salesforce/lds-compiler-plugins": "1.229.0-dev2",
50
+ "@salesforce/lds-karma": "1.229.0-dev2"
51
51
  },
52
52
  "nx": {
53
53
  "targets": {
package/sfdc/index.js CHANGED
@@ -104,10 +104,12 @@ function validate$7(obj, path = 'ActionLaunchInputRepresentation') {
104
104
  if (typeof obj_actionType !== 'string') {
105
105
  return new TypeError('Expected "string" but received "' + typeof obj_actionType + '" (at "' + path_actionType + '")');
106
106
  }
107
- const obj_deploymentId = obj.deploymentId;
108
- const path_deploymentId = path + '.deploymentId';
109
- if (typeof obj_deploymentId !== 'string') {
110
- return new TypeError('Expected "string" but received "' + typeof obj_deploymentId + '" (at "' + path_deploymentId + '")');
107
+ if (obj.deploymentId !== undefined) {
108
+ const obj_deploymentId = obj.deploymentId;
109
+ const path_deploymentId = path + '.deploymentId';
110
+ if (typeof obj_deploymentId !== 'string') {
111
+ return new TypeError('Expected "string" but received "' + typeof obj_deploymentId + '" (at "' + path_deploymentId + '")');
112
+ }
111
113
  }
112
114
  const obj_objectKeyPrefix = obj.objectKeyPrefix;
113
115
  const path_objectKeyPrefix = path + '.objectKeyPrefix';
@@ -943,4 +945,4 @@ withDefaultLuvio((luvio) => {
943
945
  });
944
946
 
945
947
  export { createActionLaunchDetails, getRecentActions, getRecentActions_imperative, getServiceCatalogItems, getServiceCatalogItems_imperative };
946
- // version: 1.228.1-0cb6f94f1
948
+ // version: 1.229.0-dev2-696fe5026
package/src/raml/api.raml CHANGED
@@ -38,6 +38,7 @@ types:
38
38
  deploymentId:
39
39
  description: set deployment id of the deployment
40
40
  type: string
41
+ required: false
41
42
  objectKeyPrefix:
42
43
  description: set the key prefix of object corresponding to the record page
43
44
  where the action was launched