@salesforce/lds-adapters-industries-decisiontable 1.447.0 → 1.448.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.
@@ -1868,6 +1868,7 @@ const postDecisionTableFile_ConfigPropertyMetadata = [
1868
1868
  generateParamConfigMetadata('decisionTableId', true, 0 /* UrlParameter */, 0 /* String */),
1869
1869
  generateParamConfigMetadata('versionNumber', false, 1 /* QueryParameter */, 3 /* Integer */),
1870
1870
  generateParamConfigMetadata('deleteAllRows', false, 2 /* Body */, 1 /* Boolean */),
1871
+ generateParamConfigMetadata('replaceAllRows', false, 2 /* Body */, 1 /* Boolean */),
1871
1872
  generateParamConfigMetadata('fileId', true, 2 /* Body */, 0 /* String */),
1872
1873
  ];
1873
1874
  const postDecisionTableFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, postDecisionTableFile_ConfigPropertyMetadata);
@@ -9,6 +9,7 @@ export interface PostDecisionTableFileConfig {
9
9
  decisionTableId: string;
10
10
  versionNumber?: number;
11
11
  deleteAllRows?: boolean;
12
+ replaceAllRows?: boolean;
12
13
  fileId: string;
13
14
  }
14
15
  export declare const createResourceParams: (config: PostDecisionTableFileConfig) => resources_postConnectBusinessRulesDecisionTableFileByDecisionTableId_ResourceRequestConfig;
@@ -9,6 +9,7 @@ export interface ResourceRequestConfig {
9
9
  };
10
10
  body: {
11
11
  deleteAllRows?: boolean;
12
+ replaceAllRows?: boolean;
12
13
  fileId: string;
13
14
  };
14
15
  }
@@ -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 = "b511ee7fc01bf22805ba0a2ed83ccf49";
2
+ export declare const VERSION = "3bc4f37a6e604f4accdf4e3f1c11971b";
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: DecisionTableFileInputRepresentation, existing: DecisionTableFileInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DecisionTableFileInputRepresentationNormalized;
@@ -18,6 +18,8 @@ export interface DecisionTableFileInputRepresentationNormalized {
18
18
  deleteAllRows?: boolean;
19
19
  /** Represents the id of the CSV file */
20
20
  fileId: string;
21
+ /** Specifies if all rows should be replaced */
22
+ replaceAllRows?: boolean;
21
23
  }
22
24
  /**
23
25
  * Represents the information to upload file in CSV based Decision Table
@@ -28,4 +30,5 @@ export interface DecisionTableFileInputRepresentationNormalized {
28
30
  export interface DecisionTableFileInputRepresentation {
29
31
  deleteAllRows?: boolean;
30
32
  fileId: string;
33
+ replaceAllRows?: boolean;
31
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-decisiontable",
3
- "version": "1.447.0",
3
+ "version": "1.448.0",
4
4
  "description": "Industries BRE DecisionTable",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-decisiontable.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest --config=./jest.config.js"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.447.0"
43
+ "@salesforce/lds-bindings": "^1.448.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.447.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.448.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1664,6 +1664,7 @@ const postDecisionTableFile_ConfigPropertyMetadata = [
1664
1664
  generateParamConfigMetadata('decisionTableId', true, 0 /* UrlParameter */, 0 /* String */),
1665
1665
  generateParamConfigMetadata('versionNumber', false, 1 /* QueryParameter */, 3 /* Integer */),
1666
1666
  generateParamConfigMetadata('deleteAllRows', false, 2 /* Body */, 1 /* Boolean */),
1667
+ generateParamConfigMetadata('replaceAllRows', false, 2 /* Body */, 1 /* Boolean */),
1667
1668
  generateParamConfigMetadata('fileId', true, 2 /* Body */, 0 /* String */),
1668
1669
  ];
1669
1670
  const postDecisionTableFile_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, postDecisionTableFile_ConfigPropertyMetadata);
@@ -2216,4 +2217,4 @@ withDefaultLuvio((luvio) => {
2216
2217
  });
2217
2218
 
2218
2219
  export { getDecisionTable, getDecisionTableFile, getDecisionTableFile_imperative, getDecisionTableRows, getDecisionTableRows_imperative, getDecisionTableTemplate, getDecisionTableTemplateList, getDecisionTableTemplateList_imperative, getDecisionTableTemplate_imperative, getDecisionTable_imperative, postDecisionTableFile, postDecisionTableRows, refresh };
2219
- // version: 1.447.0-b75721e8dd
2220
+ // version: 1.448.0-8bacde725a
package/src/raml/api.raml CHANGED
@@ -198,6 +198,10 @@ types:
198
198
  description: Specifies if rows should be deleted
199
199
  type: boolean
200
200
  required: false
201
+ replaceAllRows:
202
+ description: Specifies if all rows should be replaced
203
+ type: boolean
204
+ required: false
201
205
  fileId:
202
206
  description: Represents the id of the CSV file
203
207
  type: string