@salesforce/lds-adapters-industries-clm 1.282.0 → 1.284.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.
@@ -842,16 +842,18 @@ const getDocumentRecipientAndStatusAdapterFactory = (luvio) => function clm__get
842
842
  };
843
843
 
844
844
  const TTL$9 = 60000;
845
- const VERSION$a = "03da7477aacba1366b698e5b14227304";
845
+ const VERSION$a = "342f2d9512f0292bb07b3bba0f8817f0";
846
846
  function validate$i(obj, path = 'ExternalDocumentReviewCCRepresentation') {
847
847
  const v_error = (() => {
848
848
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
849
849
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
850
850
  }
851
- const obj_contentVersionId = obj.contentVersionId;
852
- const path_contentVersionId = path + '.contentVersionId';
853
- if (typeof obj_contentVersionId !== 'string') {
854
- return new TypeError('Expected "string" but received "' + typeof obj_contentVersionId + '" (at "' + path_contentVersionId + '")');
851
+ if (obj.contentVersionId !== undefined) {
852
+ const obj_contentVersionId = obj.contentVersionId;
853
+ const path_contentVersionId = path + '.contentVersionId';
854
+ if (typeof obj_contentVersionId !== 'string') {
855
+ return new TypeError('Expected "string" but received "' + typeof obj_contentVersionId + '" (at "' + path_contentVersionId + '")');
856
+ }
855
857
  }
856
858
  const obj_contractDocumentVersionId = obj.contractDocumentVersionId;
857
859
  const path_contractDocumentVersionId = path + '.contractDocumentVersionId';
@@ -1,6 +1,6 @@
1
1
  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';
2
2
  export declare const TTL = 60000;
3
- export declare const VERSION = "03da7477aacba1366b698e5b14227304";
3
+ export declare const VERSION = "342f2d9512f0292bb07b3bba0f8817f0";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: ExternalDocumentReviewCCRepresentation, existing: ExternalDocumentReviewCCRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExternalDocumentReviewCCRepresentationNormalized;
@@ -16,7 +16,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  */
17
17
  export interface ExternalDocumentReviewCCRepresentationNormalized {
18
18
  /** The record Id of ContentVersion associated to External Document */
19
- contentVersionId: string;
19
+ contentVersionId?: string;
20
20
  /** The record Id of ContractDocumentVersion */
21
21
  contractDocumentVersionId: string;
22
22
  /** The record Id of External Document */
@@ -33,7 +33,7 @@ export interface ExternalDocumentReviewCCRepresentationNormalized {
33
33
  * (none)
34
34
  */
35
35
  export interface ExternalDocumentReviewCCRepresentation {
36
- contentVersionId: string;
36
+ contentVersionId?: string;
37
37
  contractDocumentVersionId: string;
38
38
  externalDocumentId: string;
39
39
  isReviewCompletedByCurrentUser?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-clm",
3
- "version": "1.282.0",
3
+ "version": "1.284.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Contract Life Cycle Management",
6
6
  "main": "dist/es/es2018/industries-clm.js",
@@ -39,11 +39,11 @@
39
39
  "test:unit": "jest"
40
40
  },
41
41
  "dependencies": {
42
- "@salesforce/lds-bindings": "^1.282.0"
42
+ "@salesforce/lds-bindings": "^1.284.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@salesforce/lds-compiler-plugins": "^1.282.0",
46
- "@salesforce/lds-karma": "^1.282.0"
45
+ "@salesforce/lds-compiler-plugins": "^1.284.0",
46
+ "@salesforce/lds-karma": "^1.284.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -3195,16 +3195,18 @@ const getDocumentRecipientAndStatusAdapterFactory = (luvio) => function clm__get
3195
3195
  };
3196
3196
 
3197
3197
  const TTL$3 = 60000;
3198
- const VERSION$3 = "03da7477aacba1366b698e5b14227304";
3198
+ const VERSION$3 = "342f2d9512f0292bb07b3bba0f8817f0";
3199
3199
  function validate$5(obj, path = 'ExternalDocumentReviewCCRepresentation') {
3200
3200
  const v_error = (() => {
3201
3201
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
3202
3202
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
3203
3203
  }
3204
- const obj_contentVersionId = obj.contentVersionId;
3205
- const path_contentVersionId = path + '.contentVersionId';
3206
- if (typeof obj_contentVersionId !== 'string') {
3207
- return new TypeError('Expected "string" but received "' + typeof obj_contentVersionId + '" (at "' + path_contentVersionId + '")');
3204
+ if (obj.contentVersionId !== undefined) {
3205
+ const obj_contentVersionId = obj.contentVersionId;
3206
+ const path_contentVersionId = path + '.contentVersionId';
3207
+ if (typeof obj_contentVersionId !== 'string') {
3208
+ return new TypeError('Expected "string" but received "' + typeof obj_contentVersionId + '" (at "' + path_contentVersionId + '")');
3209
+ }
3208
3210
  }
3209
3211
  const obj_contractDocumentVersionId = obj.contractDocumentVersionId;
3210
3212
  const path_contractDocumentVersionId = path + '.contractDocumentVersionId';
@@ -4792,4 +4794,4 @@ withDefaultLuvio((luvio) => {
4792
4794
  });
4793
4795
 
4794
4796
  export { checkIn, checkoutContractDocumentVersion, createContractDocumentVersionAndInitializeGenerateDocumentProcess, createContractDocumentVersionReview, createExternalReviewDocument, deleteAttachment, deleteContractDocumentVersionReview, executeContractAction, getContentDocument, getContentDocumentNotifyChange, getContentDocument_imperative, getContractActions, getContractActionsNotifyChange, getContractActions_imperative, getContractDocumentVersion, getContractDocumentVersionReview, getContractDocumentVersionReviewNotifyChange, getContractDocumentVersionReview_imperative, getContractDocumentVersion_imperative, getDocumentGenerationProcessDetails, getDocumentGenerationProcessDetails_imperative, getDocumentRecipientAndStatus, getDocumentRecipientAndStatus_imperative, getExternalDocumentReviewCC, getExternalDocumentReviewCC_imperative, getLatestContractDocumentVersionCC, getLatestContractDocumentVersionCCNotifyChange, getLatestContractDocumentVersionCC_imperative, getTemplates, getTemplates_imperative, lockContractDocumentVersion, saveExternalDocument, unlock, updateContractDocumentVersionReview, updateContractDocumentVersionWithTemplate, updateSharingOnAttachment };
4795
- // version: 1.282.0-dd2e9831c
4797
+ // version: 1.284.0-8b78b708e
package/src/raml/api.raml CHANGED
@@ -581,6 +581,7 @@ types:
581
581
  contentVersionId:
582
582
  description: The record Id of ContentVersion associated to External Document
583
583
  type: string
584
+ required: false
584
585
  contractDocumentVersionId:
585
586
  description: The record Id of ContractDocumentVersion
586
587
  type: string