@salesforce/lds-adapters-industries-clm 1.243.0 → 1.245.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.
@@ -2343,6 +2343,11 @@ function validate$6(obj, path = 'ContractDocumentVersionReviewInputRepresentatio
2343
2343
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
2344
2344
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
2345
2345
  }
2346
+ const obj_message = obj.message;
2347
+ const path_message = path + '.message';
2348
+ if (typeof obj_message !== 'string') {
2349
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
2350
+ }
2346
2351
  const obj_reviewers = obj.reviewers;
2347
2352
  const path_reviewers = path + '.reviewers';
2348
2353
  if (!ArrayIsArray(obj_reviewers)) {
@@ -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 = "96d0944905bba8eea1a60e9fa94a012c";
3
+ export declare const VERSION = "9e1a39d00d226f1148324e7a031ddc3b";
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: ContractDocumentVersionReviewInputRepresentation, existing: ContractDocumentVersionReviewInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContractDocumentVersionReviewInputRepresentationNormalized;
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface ContractDocumentVersionReviewInputRepresentationNormalized {
18
+ /** Personalized message to be sent with the invitation email */
19
+ message: string;
18
20
  /** List of reviewers assigned by the contract author */
19
21
  reviewers: Array<{}>;
20
22
  /** whether to send email notifications for the reviewers or not */
@@ -27,6 +29,7 @@ export interface ContractDocumentVersionReviewInputRepresentationNormalized {
27
29
  * (none)
28
30
  */
29
31
  export interface ContractDocumentVersionReviewInputRepresentation {
32
+ message: string;
30
33
  reviewers: Array<{}>;
31
34
  sendEmailNotification: boolean;
32
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-clm",
3
- "version": "1.243.0",
3
+ "version": "1.245.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",
@@ -27,7 +27,7 @@
27
27
  "sunitha.hegde@salesforce.com"
28
28
  ],
29
29
  "scripts": {
30
- "build": "yarn build:raml && yarn build:services && yarn build:karma",
30
+ "build": "yarn build:services && yarn build:karma",
31
31
  "build:karma": "rollup --bundleConfigAsCjs --config rollup.config.karma.js",
32
32
  "build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
33
33
  "build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
@@ -52,7 +52,11 @@
52
52
  "outputs": [
53
53
  "{projectRoot}/dist",
54
54
  "{projectRoot}/karma/dist",
55
- "{projectRoot}/sfdc",
55
+ "{projectRoot}/sfdc"
56
+ ]
57
+ },
58
+ "build:raml": {
59
+ "outputs": [
56
60
  "{projectRoot}/src/generated"
57
61
  ]
58
62
  }
package/sfdc/index.js CHANGED
@@ -731,6 +731,11 @@ function validate$e(obj, path = 'ContractDocumentVersionReviewInputRepresentatio
731
731
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
732
732
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
733
733
  }
734
+ const obj_message = obj.message;
735
+ const path_message = path + '.message';
736
+ if (typeof obj_message !== 'string') {
737
+ return new TypeError('Expected "string" but received "' + typeof obj_message + '" (at "' + path_message + '")');
738
+ }
734
739
  const obj_reviewers = obj.reviewers;
735
740
  const path_reviewers = path + '.reviewers';
736
741
  if (!ArrayIsArray(obj_reviewers)) {
@@ -3766,4 +3771,4 @@ withDefaultLuvio((luvio) => {
3766
3771
  });
3767
3772
 
3768
3773
  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, getTemplates, getTemplates_imperative, lockContractDocumentVersion, saveExternalDocument, unlock, updateContractDocumentVersionReview, updateContractDocumentVersionWithTemplate };
3769
- // version: 1.243.0-c7d8ec9e0
3774
+ // version: 1.245.0-df5596041
package/src/raml/api.raml CHANGED
@@ -192,6 +192,9 @@ types:
192
192
  sendEmailNotification:
193
193
  description: whether to send email notifications for the reviewers or not
194
194
  type: boolean
195
+ message:
196
+ description: Personalized message to be sent with the invitation email
197
+ type: string
195
198
  ContractDocumentVersionReviewOutputRepresentation:
196
199
  description: Output representation for createContractDocumentVersionReview
197
200
  type: object