@salesforce/lds-adapters-industries-documentmatrix 1.231.0 → 1.233.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.
@@ -162,7 +162,7 @@ function validate$1(obj, path = 'DecisionTableDocumentDecisionRepresentation') {
162
162
  return v_error === undefined ? null : v_error;
163
163
  }
164
164
 
165
- const TTL = 10000;
165
+ const TTL = 300;
166
166
  const VERSION = "6bd68bfab828ce0f9e1f82bd1920e04d";
167
167
  function validate(obj, path = 'DocumentDecisionResponseRepresentation') {
168
168
  const v_error = (() => {
@@ -278,7 +278,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
278
278
  function createResourceRequest(config) {
279
279
  const headers = {};
280
280
  return {
281
- baseUri: '/services/data/v59.0',
281
+ baseUri: '/services/data/v60.0',
282
282
  basePath: '/connect/document-matrix/document-decision/' + config.urlParams.decisionTableId + '',
283
283
  method: 'post',
284
284
  body: config.body,
@@ -1,6 +1,6 @@
1
1
  import { DecisionTableDocumentDecisionRepresentation as DecisionTableDocumentDecisionRepresentation_DecisionTableDocumentDecisionRepresentation } from './DecisionTableDocumentDecisionRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const TTL = 10000;
3
+ export declare const TTL = 300;
4
4
  export declare const VERSION = "6bd68bfab828ce0f9e1f82bd1920e04d";
5
5
  export declare function validate(obj: any, path?: string): TypeError | null;
6
6
  export declare const RepresentationType: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-documentmatrix",
3
- "version": "1.231.0",
3
+ "version": "1.233.0",
4
4
  "description": "Document Matrix component is a custom OS element by Discovery Framework. It is an out-of-box solution that removes the need for Admins to create multiple Assessments with the same set of questions but with a different set of files to upload at the end.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/industries-documentmatrix.js",
package/sfdc/index.js CHANGED
@@ -172,7 +172,7 @@ function validate$1(obj, path = 'DecisionTableDocumentDecisionRepresentation') {
172
172
  return v_error === undefined ? null : v_error;
173
173
  }
174
174
 
175
- const TTL = 10000;
175
+ const TTL = 300;
176
176
  const VERSION = "6bd68bfab828ce0f9e1f82bd1920e04d";
177
177
  function validate(obj, path = 'DocumentDecisionResponseRepresentation') {
178
178
  const v_error = (() => {
@@ -288,7 +288,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
288
288
  function createResourceRequest(config) {
289
289
  const headers = {};
290
290
  return {
291
- baseUri: '/services/data/v59.0',
291
+ baseUri: '/services/data/v60.0',
292
292
  basePath: '/connect/document-matrix/document-decision/' + config.urlParams.decisionTableId + '',
293
293
  method: 'post',
294
294
  body: config.body,
@@ -392,7 +392,7 @@ let getDocumentDecision;
392
392
  // Imperative GET Adapters
393
393
  let getDocumentDecision_imperative;
394
394
  // Adapter Metadata
395
- const getDocumentDecisionMetadata = { apiFamily: 'DocumentMatrix', name: 'getDocumentDecision', ttl: 10000 };
395
+ const getDocumentDecisionMetadata = { apiFamily: 'DocumentMatrix', name: 'getDocumentDecision', ttl: 300 };
396
396
  function bindExportsTo(luvio) {
397
397
  // LDS Adapters
398
398
  const getDocumentDecision_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getDocumentDecision', getDocumentDecisionAdapterFactory), getDocumentDecisionMetadata);
@@ -410,4 +410,4 @@ withDefaultLuvio((luvio) => {
410
410
  });
411
411
 
412
412
  export { getDocumentDecision, getDocumentDecision_imperative };
413
- // version: 1.231.0-2b4244fb5
413
+ // version: 1.233.0-e0ba7cc7b
package/src/raml/api.raml CHANGED
@@ -6,7 +6,7 @@ version: '59.0'
6
6
  mediaType: application/json
7
7
  protocols:
8
8
  - https
9
- baseUri: /services/data/v59.0
9
+ baseUri: /services/data/v60.0
10
10
  securitySchemes:
11
11
  OAuth2:
12
12
  type: OAuth 2.0
@@ -9,7 +9,7 @@ uses:
9
9
 
10
10
  types:
11
11
  DocumentDecisionResponseRepresentation:
12
- (luvio.ttl): 10000
12
+ (luvio.ttl): 300
13
13
  (luvio.opaque): true
14
14
 
15
15
  /connect/document-matrix/document-decision/{decisionTableId}: