@salesforce/lds-adapters-industries-actionablelist 1.239.0 → 1.241.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.
@@ -950,6 +950,34 @@ function validate$h(obj, path = 'ActionableListDefinitionCreateInputRepresentati
950
950
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
951
951
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
952
952
  }
953
+ if (obj.batchCalcJobDefinitionId !== undefined) {
954
+ const obj_batchCalcJobDefinitionId = obj.batchCalcJobDefinitionId;
955
+ const path_batchCalcJobDefinitionId = path + '.batchCalcJobDefinitionId';
956
+ let obj_batchCalcJobDefinitionId_union0 = null;
957
+ const obj_batchCalcJobDefinitionId_union0_error = (() => {
958
+ if (typeof obj_batchCalcJobDefinitionId !== 'string') {
959
+ return new TypeError('Expected "string" but received "' + typeof obj_batchCalcJobDefinitionId + '" (at "' + path_batchCalcJobDefinitionId + '")');
960
+ }
961
+ })();
962
+ if (obj_batchCalcJobDefinitionId_union0_error != null) {
963
+ obj_batchCalcJobDefinitionId_union0 = obj_batchCalcJobDefinitionId_union0_error.message;
964
+ }
965
+ let obj_batchCalcJobDefinitionId_union1 = null;
966
+ const obj_batchCalcJobDefinitionId_union1_error = (() => {
967
+ if (obj_batchCalcJobDefinitionId !== null) {
968
+ return new TypeError('Expected "null" but received "' + typeof obj_batchCalcJobDefinitionId + '" (at "' + path_batchCalcJobDefinitionId + '")');
969
+ }
970
+ })();
971
+ if (obj_batchCalcJobDefinitionId_union1_error != null) {
972
+ obj_batchCalcJobDefinitionId_union1 = obj_batchCalcJobDefinitionId_union1_error.message;
973
+ }
974
+ if (obj_batchCalcJobDefinitionId_union0 && obj_batchCalcJobDefinitionId_union1) {
975
+ let message = 'Object doesn\'t match union (at "' + path_batchCalcJobDefinitionId + '")';
976
+ message += '\n' + obj_batchCalcJobDefinitionId_union0.split('\n').map((line) => '\t' + line).join('\n');
977
+ message += '\n' + obj_batchCalcJobDefinitionId_union1.split('\n').map((line) => '\t' + line).join('\n');
978
+ return new TypeError(message);
979
+ }
980
+ }
953
981
  const obj_developerName = obj.developerName;
954
982
  const path_developerName = path + '.developerName';
955
983
  if (typeof obj_developerName !== '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 = "77cf96bfe65c3e7ba5038db6ce167d8c";
2
+ export declare const VERSION = "243e12be989fcda3679af043fa6e1dbe";
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: ActionableListDefinitionCreateInputRepresentation, existing: ActionableListDefinitionCreateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDefinitionCreateInputRepresentationNormalized;
@@ -14,6 +14,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
14
14
  * (none)
15
15
  */
16
16
  export interface ActionableListDefinitionCreateInputRepresentationNormalized {
17
+ /** Set batchCalcJobDefinition id for create actionable list definition */
18
+ batchCalcJobDefinitionId?: string | null;
17
19
  /** Set developer name for create actionable list definition */
18
20
  developerName: string;
19
21
  /** Set label for create actionable list definition */
@@ -28,6 +30,7 @@ export interface ActionableListDefinitionCreateInputRepresentationNormalized {
28
30
  * (none)
29
31
  */
30
32
  export interface ActionableListDefinitionCreateInputRepresentation {
33
+ batchCalcJobDefinitionId?: string | null;
31
34
  developerName: string;
32
35
  label: string;
33
36
  objectName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-actionablelist",
3
- "version": "1.239.0",
3
+ "version": "1.241.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapter for actionable list connect APIs",
6
6
  "main": "dist/es/es2018/industries-actionablelist.js",
package/sfdc/index.js CHANGED
@@ -182,6 +182,34 @@ function validate$l(obj, path = 'ActionableListDefinitionCreateInputRepresentati
182
182
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
183
183
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
184
184
  }
185
+ if (obj.batchCalcJobDefinitionId !== undefined) {
186
+ const obj_batchCalcJobDefinitionId = obj.batchCalcJobDefinitionId;
187
+ const path_batchCalcJobDefinitionId = path + '.batchCalcJobDefinitionId';
188
+ let obj_batchCalcJobDefinitionId_union0 = null;
189
+ const obj_batchCalcJobDefinitionId_union0_error = (() => {
190
+ if (typeof obj_batchCalcJobDefinitionId !== 'string') {
191
+ return new TypeError('Expected "string" but received "' + typeof obj_batchCalcJobDefinitionId + '" (at "' + path_batchCalcJobDefinitionId + '")');
192
+ }
193
+ })();
194
+ if (obj_batchCalcJobDefinitionId_union0_error != null) {
195
+ obj_batchCalcJobDefinitionId_union0 = obj_batchCalcJobDefinitionId_union0_error.message;
196
+ }
197
+ let obj_batchCalcJobDefinitionId_union1 = null;
198
+ const obj_batchCalcJobDefinitionId_union1_error = (() => {
199
+ if (obj_batchCalcJobDefinitionId !== null) {
200
+ return new TypeError('Expected "null" but received "' + typeof obj_batchCalcJobDefinitionId + '" (at "' + path_batchCalcJobDefinitionId + '")');
201
+ }
202
+ })();
203
+ if (obj_batchCalcJobDefinitionId_union1_error != null) {
204
+ obj_batchCalcJobDefinitionId_union1 = obj_batchCalcJobDefinitionId_union1_error.message;
205
+ }
206
+ if (obj_batchCalcJobDefinitionId_union0 && obj_batchCalcJobDefinitionId_union1) {
207
+ let message = 'Object doesn\'t match union (at "' + path_batchCalcJobDefinitionId + '")';
208
+ message += '\n' + obj_batchCalcJobDefinitionId_union0.split('\n').map((line) => '\t' + line).join('\n');
209
+ message += '\n' + obj_batchCalcJobDefinitionId_union1.split('\n').map((line) => '\t' + line).join('\n');
210
+ return new TypeError(message);
211
+ }
212
+ }
185
213
  const obj_developerName = obj.developerName;
186
214
  const path_developerName = path + '.developerName';
187
215
  if (typeof obj_developerName !== 'string') {
@@ -4055,4 +4083,4 @@ withDefaultLuvio((luvio) => {
4055
4083
  });
4056
4084
 
4057
4085
  export { createActionableListDefinition, getActionableListDatasetInfo, getActionableListDatasetInfo_imperative, getActionableListDefinitions, getActionableListDefinitions_imperative, getActionableListMembers, getActionableListMembers_imperative, upsertActionableList, upsertActionableListDatasetColumnUser, upsertActionableListRefreshFilter };
4058
- // version: 1.239.0-7d2be7b39
4086
+ // version: 1.241.0-b1c9bf601
package/src/raml/api.raml CHANGED
@@ -79,6 +79,10 @@ types:
79
79
  description: Input representation for create actionable list definition API
80
80
  type: object
81
81
  properties:
82
+ batchCalcJobDefinitionId:
83
+ description: Set batchCalcJobDefinition id for create actionable list definition
84
+ type: string | nil
85
+ required: false # TODO handrolled W-9314597
82
86
  developerName:
83
87
  description: Set developer name for create actionable list definition
84
88
  type: string