@salesforce/lds-adapters-industries-clm 1.280.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.
- package/dist/es/es2018/industries-clm.js +33 -1
- package/dist/es/es2018/types/src/generated/types/ContentDocumentRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/RecipientOutputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +34 -2
- package/src/raml/api.raml +12 -4
|
@@ -93,7 +93,7 @@ function createLink(ref) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
const VERSION$d = "
|
|
96
|
+
const VERSION$d = "10a4016bd578741648f18e2d3b74f46b";
|
|
97
97
|
function validate$m(obj, path = 'ContentDocumentRepresentation') {
|
|
98
98
|
const v_error = (() => {
|
|
99
99
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -121,6 +121,13 @@ function validate$m(obj, path = 'ContentDocumentRepresentation') {
|
|
|
121
121
|
if (typeof obj_createdDate !== 'string') {
|
|
122
122
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
123
123
|
}
|
|
124
|
+
if (obj.documentType !== undefined) {
|
|
125
|
+
const obj_documentType = obj.documentType;
|
|
126
|
+
const path_documentType = path + '.documentType';
|
|
127
|
+
if (typeof obj_documentType !== 'string') {
|
|
128
|
+
return new TypeError('Expected "string" but received "' + typeof obj_documentType + '" (at "' + path_documentType + '")');
|
|
129
|
+
}
|
|
130
|
+
}
|
|
124
131
|
if (obj.fileExtension !== undefined) {
|
|
125
132
|
const obj_fileExtension = obj.fileExtension;
|
|
126
133
|
const path_fileExtension = path + '.fileExtension';
|
|
@@ -171,6 +178,11 @@ const select$y = function ContentDocumentRepresentationSelect() {
|
|
|
171
178
|
name: 'createdDate',
|
|
172
179
|
kind: 'Scalar'
|
|
173
180
|
},
|
|
181
|
+
{
|
|
182
|
+
name: 'documentType',
|
|
183
|
+
kind: 'Scalar',
|
|
184
|
+
required: false
|
|
185
|
+
},
|
|
174
186
|
{
|
|
175
187
|
name: 'fileExtension',
|
|
176
188
|
kind: 'Scalar',
|
|
@@ -234,6 +246,19 @@ function equals$d(existing, incoming) {
|
|
|
234
246
|
if (!(existing_createdDate === incoming_createdDate)) {
|
|
235
247
|
return false;
|
|
236
248
|
}
|
|
249
|
+
const existing_documentType = existing.documentType;
|
|
250
|
+
const incoming_documentType = incoming.documentType;
|
|
251
|
+
// if at least one of these optionals is defined
|
|
252
|
+
if (existing_documentType !== undefined || incoming_documentType !== undefined) {
|
|
253
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
254
|
+
// not equal
|
|
255
|
+
if (existing_documentType === undefined || incoming_documentType === undefined) {
|
|
256
|
+
return false;
|
|
257
|
+
}
|
|
258
|
+
if (!(existing_documentType === incoming_documentType)) {
|
|
259
|
+
return false;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
237
262
|
const existing_fileExtension = existing.fileExtension;
|
|
238
263
|
const incoming_fileExtension = incoming.fileExtension;
|
|
239
264
|
// if at least one of these optionals is defined
|
|
@@ -560,6 +585,13 @@ function validate$k(obj, path = 'RecipientOutputRepresentation') {
|
|
|
560
585
|
if (typeof obj_status !== 'string') {
|
|
561
586
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
562
587
|
}
|
|
588
|
+
if (obj.type !== undefined) {
|
|
589
|
+
const obj_type = obj.type;
|
|
590
|
+
const path_type = path + '.type';
|
|
591
|
+
if (typeof obj_type !== 'string') {
|
|
592
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
593
|
+
}
|
|
594
|
+
}
|
|
563
595
|
})();
|
|
564
596
|
return v_error === undefined ? null : v_error;
|
|
565
597
|
}
|
|
@@ -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 = "
|
|
2
|
+
export declare const VERSION = "10a4016bd578741648f18e2d3b74f46b";
|
|
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: ContentDocumentRepresentation, existing: ContentDocumentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContentDocumentRepresentationNormalized;
|
|
@@ -22,6 +22,8 @@ export interface ContentDocumentRepresentationNormalized {
|
|
|
22
22
|
contractDocumentVersionId: string;
|
|
23
23
|
/** The createdDate of ContentDocument */
|
|
24
24
|
createdDate: string;
|
|
25
|
+
/** Document type for the current Document */
|
|
26
|
+
documentType?: string;
|
|
25
27
|
/** The fileExtension of ContentDocument */
|
|
26
28
|
fileExtension?: string;
|
|
27
29
|
/** If true, file can be viewed by all the users */
|
|
@@ -42,6 +44,7 @@ export interface ContentDocumentRepresentation {
|
|
|
42
44
|
contentDocumentLinkId?: string;
|
|
43
45
|
contractDocumentVersionId: string;
|
|
44
46
|
createdDate: string;
|
|
47
|
+
documentType?: string;
|
|
45
48
|
fileExtension?: string;
|
|
46
49
|
isSharedExternally?: boolean;
|
|
47
50
|
lastModifiedDate: string;
|
|
@@ -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 = "
|
|
2
|
+
export declare const VERSION = "d78ba536d6cc3f67134a7a16cc843dc4";
|
|
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: RecipientOutputRepresentation, existing: RecipientOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecipientOutputRepresentationNormalized;
|
|
@@ -24,6 +24,8 @@ export interface RecipientOutputRepresentationNormalized {
|
|
|
24
24
|
name: string;
|
|
25
25
|
/** The status of the recipient */
|
|
26
26
|
status: string;
|
|
27
|
+
/** The type of the recipient */
|
|
28
|
+
type?: string;
|
|
27
29
|
}
|
|
28
30
|
/**
|
|
29
31
|
* Document Recipient Details
|
|
@@ -37,4 +39,5 @@ export interface RecipientOutputRepresentation {
|
|
|
37
39
|
finalStatusDateTime: string;
|
|
38
40
|
name: string;
|
|
39
41
|
status: string;
|
|
42
|
+
type?: string;
|
|
40
43
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-clm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.282.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.
|
|
42
|
+
"@salesforce/lds-bindings": "^1.282.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
-
"@salesforce/lds-karma": "^1.
|
|
45
|
+
"@salesforce/lds-compiler-plugins": "^1.282.0",
|
|
46
|
+
"@salesforce/lds-karma": "^1.282.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -306,7 +306,7 @@ function validate$l(obj, path = 'TemplateInputRepresentation') {
|
|
|
306
306
|
return v_error === undefined ? null : v_error;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
const VERSION$c = "
|
|
309
|
+
const VERSION$c = "10a4016bd578741648f18e2d3b74f46b";
|
|
310
310
|
function validate$k(obj, path = 'ContentDocumentRepresentation') {
|
|
311
311
|
const v_error = (() => {
|
|
312
312
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -334,6 +334,13 @@ function validate$k(obj, path = 'ContentDocumentRepresentation') {
|
|
|
334
334
|
if (typeof obj_createdDate !== 'string') {
|
|
335
335
|
return new TypeError('Expected "string" but received "' + typeof obj_createdDate + '" (at "' + path_createdDate + '")');
|
|
336
336
|
}
|
|
337
|
+
if (obj.documentType !== undefined) {
|
|
338
|
+
const obj_documentType = obj.documentType;
|
|
339
|
+
const path_documentType = path + '.documentType';
|
|
340
|
+
if (typeof obj_documentType !== 'string') {
|
|
341
|
+
return new TypeError('Expected "string" but received "' + typeof obj_documentType + '" (at "' + path_documentType + '")');
|
|
342
|
+
}
|
|
343
|
+
}
|
|
337
344
|
if (obj.fileExtension !== undefined) {
|
|
338
345
|
const obj_fileExtension = obj.fileExtension;
|
|
339
346
|
const path_fileExtension = path + '.fileExtension';
|
|
@@ -384,6 +391,11 @@ const select$w = function ContentDocumentRepresentationSelect() {
|
|
|
384
391
|
name: 'createdDate',
|
|
385
392
|
kind: 'Scalar'
|
|
386
393
|
},
|
|
394
|
+
{
|
|
395
|
+
name: 'documentType',
|
|
396
|
+
kind: 'Scalar',
|
|
397
|
+
required: false
|
|
398
|
+
},
|
|
387
399
|
{
|
|
388
400
|
name: 'fileExtension',
|
|
389
401
|
kind: 'Scalar',
|
|
@@ -447,6 +459,19 @@ function equals$c(existing, incoming) {
|
|
|
447
459
|
if (!(existing_createdDate === incoming_createdDate)) {
|
|
448
460
|
return false;
|
|
449
461
|
}
|
|
462
|
+
const existing_documentType = existing.documentType;
|
|
463
|
+
const incoming_documentType = incoming.documentType;
|
|
464
|
+
// if at least one of these optionals is defined
|
|
465
|
+
if (existing_documentType !== undefined || incoming_documentType !== undefined) {
|
|
466
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
467
|
+
// not equal
|
|
468
|
+
if (existing_documentType === undefined || incoming_documentType === undefined) {
|
|
469
|
+
return false;
|
|
470
|
+
}
|
|
471
|
+
if (!(existing_documentType === incoming_documentType)) {
|
|
472
|
+
return false;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
450
475
|
const existing_fileExtension = existing.fileExtension;
|
|
451
476
|
const incoming_fileExtension = incoming.fileExtension;
|
|
452
477
|
// if at least one of these optionals is defined
|
|
@@ -2913,6 +2938,13 @@ function validate$7(obj, path = 'RecipientOutputRepresentation') {
|
|
|
2913
2938
|
if (typeof obj_status !== 'string') {
|
|
2914
2939
|
return new TypeError('Expected "string" but received "' + typeof obj_status + '" (at "' + path_status + '")');
|
|
2915
2940
|
}
|
|
2941
|
+
if (obj.type !== undefined) {
|
|
2942
|
+
const obj_type = obj.type;
|
|
2943
|
+
const path_type = path + '.type';
|
|
2944
|
+
if (typeof obj_type !== 'string') {
|
|
2945
|
+
return new TypeError('Expected "string" but received "' + typeof obj_type + '" (at "' + path_type + '")');
|
|
2946
|
+
}
|
|
2947
|
+
}
|
|
2916
2948
|
})();
|
|
2917
2949
|
return v_error === undefined ? null : v_error;
|
|
2918
2950
|
}
|
|
@@ -4760,4 +4792,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4760
4792
|
});
|
|
4761
4793
|
|
|
4762
4794
|
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 };
|
|
4763
|
-
// version: 1.
|
|
4795
|
+
// version: 1.282.0-dd2e9831c
|
package/src/raml/api.raml
CHANGED
|
@@ -56,20 +56,24 @@ types:
|
|
|
56
56
|
createdDate:
|
|
57
57
|
description: The createdDate of ContentDocument
|
|
58
58
|
type: string
|
|
59
|
+
documentType:
|
|
60
|
+
description: Document type for the current Document
|
|
61
|
+
type: string
|
|
62
|
+
required: false
|
|
59
63
|
fileExtension:
|
|
60
64
|
description: The fileExtension of ContentDocument
|
|
61
65
|
type: string
|
|
62
66
|
required: false
|
|
67
|
+
isSharedExternally:
|
|
68
|
+
description: If true, file can be viewed by all the users
|
|
69
|
+
type: boolean
|
|
70
|
+
required: false
|
|
63
71
|
lastModifiedDate:
|
|
64
72
|
description: The lastModifiedDate of ContentDocument
|
|
65
73
|
type: string
|
|
66
74
|
title:
|
|
67
75
|
description: The title of ContentDocument
|
|
68
76
|
type: string
|
|
69
|
-
isSharedExternally:
|
|
70
|
-
description: If true, file can be viewed by all the users
|
|
71
|
-
type: boolean
|
|
72
|
-
required: false
|
|
73
77
|
ContractDocumentVersionCCRepresentation:
|
|
74
78
|
description: ContractDocumentVersion record
|
|
75
79
|
type: object
|
|
@@ -566,6 +570,10 @@ types:
|
|
|
566
570
|
status:
|
|
567
571
|
description: The status of the recipient
|
|
568
572
|
type: string
|
|
573
|
+
type:
|
|
574
|
+
description: The type of the recipient
|
|
575
|
+
required: false
|
|
576
|
+
type: string
|
|
569
577
|
ExternalDocumentReviewCCRepresentation:
|
|
570
578
|
description: External Document Version Review
|
|
571
579
|
type: object
|