@salesforce/lds-adapters-industries-serviceprocess 1.327.0 → 1.328.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.
@@ -120,6 +120,58 @@ function validate$5(obj, path = 'AttributeRepresentation') {
120
120
  if (typeof obj_dataType !== 'string') {
121
121
  return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
122
122
  }
123
+ const obj_referenceObjApiName = obj.referenceObjApiName;
124
+ const path_referenceObjApiName = path + '.referenceObjApiName';
125
+ let obj_referenceObjApiName_union0 = null;
126
+ const obj_referenceObjApiName_union0_error = (() => {
127
+ if (typeof obj_referenceObjApiName !== 'string') {
128
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceObjApiName + '" (at "' + path_referenceObjApiName + '")');
129
+ }
130
+ })();
131
+ if (obj_referenceObjApiName_union0_error != null) {
132
+ obj_referenceObjApiName_union0 = obj_referenceObjApiName_union0_error.message;
133
+ }
134
+ let obj_referenceObjApiName_union1 = null;
135
+ const obj_referenceObjApiName_union1_error = (() => {
136
+ if (obj_referenceObjApiName !== null) {
137
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceObjApiName + '" (at "' + path_referenceObjApiName + '")');
138
+ }
139
+ })();
140
+ if (obj_referenceObjApiName_union1_error != null) {
141
+ obj_referenceObjApiName_union1 = obj_referenceObjApiName_union1_error.message;
142
+ }
143
+ if (obj_referenceObjApiName_union0 && obj_referenceObjApiName_union1) {
144
+ let message = 'Object doesn\'t match union (at "' + path_referenceObjApiName + '")';
145
+ message += '\n' + obj_referenceObjApiName_union0.split('\n').map((line) => '\t' + line).join('\n');
146
+ message += '\n' + obj_referenceObjApiName_union1.split('\n').map((line) => '\t' + line).join('\n');
147
+ return new TypeError(message);
148
+ }
149
+ const obj_referenceObjNameFieldApiName = obj.referenceObjNameFieldApiName;
150
+ const path_referenceObjNameFieldApiName = path + '.referenceObjNameFieldApiName';
151
+ let obj_referenceObjNameFieldApiName_union0 = null;
152
+ const obj_referenceObjNameFieldApiName_union0_error = (() => {
153
+ if (typeof obj_referenceObjNameFieldApiName !== 'string') {
154
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceObjNameFieldApiName + '" (at "' + path_referenceObjNameFieldApiName + '")');
155
+ }
156
+ })();
157
+ if (obj_referenceObjNameFieldApiName_union0_error != null) {
158
+ obj_referenceObjNameFieldApiName_union0 = obj_referenceObjNameFieldApiName_union0_error.message;
159
+ }
160
+ let obj_referenceObjNameFieldApiName_union1 = null;
161
+ const obj_referenceObjNameFieldApiName_union1_error = (() => {
162
+ if (obj_referenceObjNameFieldApiName !== null) {
163
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceObjNameFieldApiName + '" (at "' + path_referenceObjNameFieldApiName + '")');
164
+ }
165
+ })();
166
+ if (obj_referenceObjNameFieldApiName_union1_error != null) {
167
+ obj_referenceObjNameFieldApiName_union1 = obj_referenceObjNameFieldApiName_union1_error.message;
168
+ }
169
+ if (obj_referenceObjNameFieldApiName_union0 && obj_referenceObjNameFieldApiName_union1) {
170
+ let message = 'Object doesn\'t match union (at "' + path_referenceObjNameFieldApiName + '")';
171
+ message += '\n' + obj_referenceObjNameFieldApiName_union0.split('\n').map((line) => '\t' + line).join('\n');
172
+ message += '\n' + obj_referenceObjNameFieldApiName_union1.split('\n').map((line) => '\t' + line).join('\n');
173
+ return new TypeError(message);
174
+ }
123
175
  const obj_sortOrder = obj.sortOrder;
124
176
  const path_sortOrder = path + '.sortOrder';
125
177
  if (typeof obj_sortOrder !== 'string') {
@@ -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 = "10b841857be09fc35579a2967e4d8fae";
2
+ export declare const VERSION = "79cb4cadfc67448a8d6cbadada4f5c5a";
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: AttributeRepresentation, existing: AttributeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AttributeRepresentationNormalized;
@@ -24,6 +24,10 @@ export interface AttributeRepresentationNormalized {
24
24
  childAttributes: Array<AttributeRepresentation>;
25
25
  /** svc catalog item attribute data type */
26
26
  dataType: string;
27
+ /** svc catalog item attribute's reference object api name */
28
+ referenceObjApiName: string | null;
29
+ /** svc catalog item attribute's reference object name field api name */
30
+ referenceObjNameFieldApiName: string | null;
27
31
  /** svc catalog item attribute order */
28
32
  sortOrder: string;
29
33
  }
@@ -39,5 +43,7 @@ export interface AttributeRepresentation {
39
43
  attributeName: string;
40
44
  childAttributes: Array<AttributeRepresentation>;
41
45
  dataType: string;
46
+ referenceObjApiName: string | null;
47
+ referenceObjNameFieldApiName: string | null;
42
48
  sortOrder: string;
43
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-serviceprocess",
3
- "version": "1.327.0",
3
+ "version": "1.328.0",
4
4
  "description": "Connect apis for fetching and updating service processes",
5
5
  "license": "MIT",
6
6
  "main": "dist/es/es2018/industries-serviceprocess.js",
@@ -39,11 +39,11 @@
39
39
  "test:unit": "jest --config=./jest.config.js"
40
40
  },
41
41
  "dependencies": {
42
- "@salesforce/lds-bindings": "^1.327.0"
42
+ "@salesforce/lds-bindings": "^1.328.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@salesforce/lds-compiler-plugins": "^1.327.0",
46
- "@salesforce/lds-karma": "^1.327.0"
45
+ "@salesforce/lds-compiler-plugins": "^1.328.0",
46
+ "@salesforce/lds-karma": "^1.328.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -130,6 +130,58 @@ function validate$5(obj, path = 'AttributeRepresentation') {
130
130
  if (typeof obj_dataType !== 'string') {
131
131
  return new TypeError('Expected "string" but received "' + typeof obj_dataType + '" (at "' + path_dataType + '")');
132
132
  }
133
+ const obj_referenceObjApiName = obj.referenceObjApiName;
134
+ const path_referenceObjApiName = path + '.referenceObjApiName';
135
+ let obj_referenceObjApiName_union0 = null;
136
+ const obj_referenceObjApiName_union0_error = (() => {
137
+ if (typeof obj_referenceObjApiName !== 'string') {
138
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceObjApiName + '" (at "' + path_referenceObjApiName + '")');
139
+ }
140
+ })();
141
+ if (obj_referenceObjApiName_union0_error != null) {
142
+ obj_referenceObjApiName_union0 = obj_referenceObjApiName_union0_error.message;
143
+ }
144
+ let obj_referenceObjApiName_union1 = null;
145
+ const obj_referenceObjApiName_union1_error = (() => {
146
+ if (obj_referenceObjApiName !== null) {
147
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceObjApiName + '" (at "' + path_referenceObjApiName + '")');
148
+ }
149
+ })();
150
+ if (obj_referenceObjApiName_union1_error != null) {
151
+ obj_referenceObjApiName_union1 = obj_referenceObjApiName_union1_error.message;
152
+ }
153
+ if (obj_referenceObjApiName_union0 && obj_referenceObjApiName_union1) {
154
+ let message = 'Object doesn\'t match union (at "' + path_referenceObjApiName + '")';
155
+ message += '\n' + obj_referenceObjApiName_union0.split('\n').map((line) => '\t' + line).join('\n');
156
+ message += '\n' + obj_referenceObjApiName_union1.split('\n').map((line) => '\t' + line).join('\n');
157
+ return new TypeError(message);
158
+ }
159
+ const obj_referenceObjNameFieldApiName = obj.referenceObjNameFieldApiName;
160
+ const path_referenceObjNameFieldApiName = path + '.referenceObjNameFieldApiName';
161
+ let obj_referenceObjNameFieldApiName_union0 = null;
162
+ const obj_referenceObjNameFieldApiName_union0_error = (() => {
163
+ if (typeof obj_referenceObjNameFieldApiName !== 'string') {
164
+ return new TypeError('Expected "string" but received "' + typeof obj_referenceObjNameFieldApiName + '" (at "' + path_referenceObjNameFieldApiName + '")');
165
+ }
166
+ })();
167
+ if (obj_referenceObjNameFieldApiName_union0_error != null) {
168
+ obj_referenceObjNameFieldApiName_union0 = obj_referenceObjNameFieldApiName_union0_error.message;
169
+ }
170
+ let obj_referenceObjNameFieldApiName_union1 = null;
171
+ const obj_referenceObjNameFieldApiName_union1_error = (() => {
172
+ if (obj_referenceObjNameFieldApiName !== null) {
173
+ return new TypeError('Expected "null" but received "' + typeof obj_referenceObjNameFieldApiName + '" (at "' + path_referenceObjNameFieldApiName + '")');
174
+ }
175
+ })();
176
+ if (obj_referenceObjNameFieldApiName_union1_error != null) {
177
+ obj_referenceObjNameFieldApiName_union1 = obj_referenceObjNameFieldApiName_union1_error.message;
178
+ }
179
+ if (obj_referenceObjNameFieldApiName_union0 && obj_referenceObjNameFieldApiName_union1) {
180
+ let message = 'Object doesn\'t match union (at "' + path_referenceObjNameFieldApiName + '")';
181
+ message += '\n' + obj_referenceObjNameFieldApiName_union0.split('\n').map((line) => '\t' + line).join('\n');
182
+ message += '\n' + obj_referenceObjNameFieldApiName_union1.split('\n').map((line) => '\t' + line).join('\n');
183
+ return new TypeError(message);
184
+ }
133
185
  const obj_sortOrder = obj.sortOrder;
134
186
  const path_sortOrder = path + '.sortOrder';
135
187
  if (typeof obj_sortOrder !== 'string') {
@@ -708,4 +760,4 @@ withDefaultLuvio((luvio) => {
708
760
  });
709
761
 
710
762
  export { fetchServiceProcessDefinition, fetchServiceProcessDefinition_imperative, getCaseServiceProcessLayoutData, getCaseServiceProcessLayoutData_imperative };
711
- // version: 1.327.0-a29a47f236
763
+ // version: 1.328.0-e51e28f7fc
package/src/raml/api.raml CHANGED
@@ -46,6 +46,12 @@ types:
46
46
  dataType:
47
47
  description: svc catalog item attribute data type
48
48
  type: string
49
+ referenceObjApiName:
50
+ description: svc catalog item attribute's reference object api name
51
+ type: string | nil
52
+ referenceObjNameFieldApiName:
53
+ description: svc catalog item attribute's reference object name field api name
54
+ type: string | nil
49
55
  sortOrder:
50
56
  description: svc catalog item attribute order
51
57
  type: string