@salesforce/lds-adapters-industries-actionablelist 1.281.0 → 1.282.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.
@@ -4010,6 +4010,11 @@ function validate$7(obj, path = 'ActionableListUpsertInputRepresentation') {
4010
4010
  }
4011
4011
  }
4012
4012
  }
4013
+ const obj_additionalContext = obj.additionalContext;
4014
+ const path_additionalContext = path + '.additionalContext';
4015
+ if (typeof obj_additionalContext !== 'object' || ArrayIsArray(obj_additionalContext) || obj_additionalContext === null) {
4016
+ return new TypeError('Expected "object" but received "' + typeof obj_additionalContext + '" (at "' + path_additionalContext + '")');
4017
+ }
4013
4018
  if (obj.defaultMemberStatusId !== undefined) {
4014
4019
  const obj_defaultMemberStatusId = obj.defaultMemberStatusId;
4015
4020
  const path_defaultMemberStatusId = path + '.defaultMemberStatusId';
@@ -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 = "ded4f87c2cfe47b38a3ead05bc57de80";
2
+ export declare const VERSION = "63931178426fb485e572f7f916a3f33d";
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: ActionableListUpsertInputRepresentation, existing: ActionableListUpsertInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListUpsertInputRepresentationNormalized;
@@ -20,6 +20,8 @@ export interface ActionableListUpsertInputRepresentationNormalized {
20
20
  actionableListDefinitionId?: string | null;
21
21
  /** Upsert actionable list members of actionable list */
22
22
  actionableListMemberIds?: Array<string>;
23
+ /** Additional context of the actionable list */
24
+ additionalContext: {};
23
25
  /** Upsert default member status Id of actionable list */
24
26
  defaultMemberStatusId?: string | null;
25
27
  /** Upsert description of actionable list */
@@ -47,6 +49,7 @@ export interface ActionableListUpsertInputRepresentation {
47
49
  actionableListColumns?: Array<string>;
48
50
  actionableListDefinitionId?: string | null;
49
51
  actionableListMemberIds?: Array<string>;
52
+ additionalContext: {};
50
53
  defaultMemberStatusId?: string | null;
51
54
  description?: string | null;
52
55
  filterLogic?: string;
@@ -0,0 +1,28 @@
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 = "8dde810d5feec2fd46c811876b70135c";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: AdditionalContextRepresentation, existing: AdditionalContextRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AdditionalContextRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: AdditionalContextRepresentationNormalized, incoming: AdditionalContextRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AdditionalContextRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for additional context
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface AdditionalContextRepresentationNormalized {
17
+ /** Context record Id of the actionable list */
18
+ contextRecordId: string;
19
+ }
20
+ /**
21
+ * Input representation for additional context
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface AdditionalContextRepresentation {
27
+ contextRecordId: string;
28
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-actionablelist",
3
- "version": "1.281.0",
3
+ "version": "1.282.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",
@@ -42,11 +42,11 @@
42
42
  "test": "nx build:karma && karma start --single-run"
43
43
  },
44
44
  "dependencies": {
45
- "@salesforce/lds-bindings": "^1.281.0"
45
+ "@salesforce/lds-bindings": "^1.282.0"
46
46
  },
47
47
  "devDependencies": {
48
- "@salesforce/lds-compiler-plugins": "^1.281.0",
49
- "@salesforce/lds-karma": "^1.281.0"
48
+ "@salesforce/lds-compiler-plugins": "^1.282.0",
49
+ "@salesforce/lds-karma": "^1.282.0"
50
50
  },
51
51
  "nx": {
52
52
  "targets": {
package/sfdc/index.js CHANGED
@@ -4019,6 +4019,11 @@ function validate$9(obj, path = 'ActionableListUpsertInputRepresentation') {
4019
4019
  }
4020
4020
  }
4021
4021
  }
4022
+ const obj_additionalContext = obj.additionalContext;
4023
+ const path_additionalContext = path + '.additionalContext';
4024
+ if (typeof obj_additionalContext !== 'object' || ArrayIsArray(obj_additionalContext) || obj_additionalContext === null) {
4025
+ return new TypeError('Expected "object" but received "' + typeof obj_additionalContext + '" (at "' + path_additionalContext + '")');
4026
+ }
4022
4027
  if (obj.defaultMemberStatusId !== undefined) {
4023
4028
  const obj_defaultMemberStatusId = obj.defaultMemberStatusId;
4024
4029
  const path_defaultMemberStatusId = path + '.defaultMemberStatusId';
@@ -5864,4 +5869,4 @@ withDefaultLuvio((luvio) => {
5864
5869
  });
5865
5870
 
5866
5871
  export { createActionableListDefinition, createBulkActionPlans, deleteFilterTemplate, getActionableListDatasetInfo, getActionableListDatasetInfo_imperative, getActionableListDefinitions, getActionableListDefinitions_imperative, getActionableListMembers, getActionableListMembers_imperative, getDatasetColumnValues, getDatasetColumnValues_imperative, getFilterTemplate, getFilterTemplateNotifyChange, getFilterTemplate_imperative, getFilterTemplatesForListDefinition, getFilterTemplatesForListDefinition_imperative, upsertActionableList, upsertActionableListDatasetColumnUser, upsertActionableListFilterTemplate, upsertActionableListRefreshFilter };
5867
- // version: 1.281.0-bcef40769
5872
+ // version: 1.282.0-dd2e9831c
package/src/raml/api.raml CHANGED
@@ -558,6 +558,9 @@ types:
558
558
  type: array
559
559
  items:
560
560
  type: string
561
+ additionalContext:
562
+ description: Additional context of the actionable list
563
+ type: object
561
564
  defaultMemberStatusId:
562
565
  description: Upsert default member status Id of actionable list
563
566
  type: string | nil
@@ -603,6 +606,13 @@ types:
603
606
  isSuccess:
604
607
  description: Flag to detonate that actionable list successfully upserted
605
608
  type: string | nil
609
+ AdditionalContextRepresentation:
610
+ description: Input representation for additional context
611
+ type: object
612
+ properties:
613
+ contextRecordId:
614
+ description: Context record Id of the actionable list
615
+ type: string
606
616
  # TODO Hand-rolled W-11954472: ActionableListDefinitionWrapperInputRepresentation added manually
607
617
  ActionableListDefinitionWrapperInputRepresentation:
608
618
  description: wrapper of ActionableListDefinitionCreateInputRepresentation