@salesforce/lds-adapters-industries-externaldocument 1.221.0 → 1.223.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.
@@ -1,38 +1,41 @@
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 = "bc91506fe1d08d7ee37b8497770578c0";
3
+ export declare const VERSION = "ace0b3de2256c5450de6b049bb170fef";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
- export declare function normalize(input: ExternalDocumentContentRepresentation, existing: ExternalDocumentContentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExternalDocumentContentRepresentationNormalized;
6
+ export declare function normalize(input: DocumentAuthoredContentRepresentation, existing: DocumentAuthoredContentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DocumentAuthoredContentRepresentationNormalized;
7
7
  export declare const select: () => $64$luvio_engine_BaseFragment;
8
- export declare function equals(existing: ExternalDocumentContentRepresentationNormalized, incoming: ExternalDocumentContentRepresentationNormalized): boolean;
8
+ export declare function equals(existing: DocumentAuthoredContentRepresentationNormalized, incoming: DocumentAuthoredContentRepresentationNormalized): boolean;
9
9
  export declare const ingest: $64$luvio_engine_ResourceIngest;
10
- export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ExternalDocumentContentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DocumentAuthoredContentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
11
  /**
12
- * Input representation of a external document content
12
+ * Input representation of a Document Authored Content
13
13
  *
14
14
  * Keys:
15
15
  * (none)
16
16
  */
17
- export interface ExternalDocumentContentRepresentationNormalized {
17
+ export interface DocumentAuthoredContentRepresentationNormalized {
18
18
  /** Checksum */
19
19
  checksum: string;
20
- /** GUID */
21
- guid: string;
20
+ /** Content Generation Source */
21
+ contentGenerationSource: string;
22
+ /** Content Type */
23
+ contentType: string;
24
+ /** DocumentAuthoredContentIdentifier */
25
+ documentAuthoredContentIdentifier: string;
22
26
  /** Name */
23
27
  name: string;
24
- /** Content Type */
25
- type: string;
26
28
  }
27
29
  /**
28
- * Input representation of a external document content
30
+ * Input representation of a Document Authored Content
29
31
  *
30
32
  * Keys:
31
33
  * (none)
32
34
  */
33
- export interface ExternalDocumentContentRepresentation {
35
+ export interface DocumentAuthoredContentRepresentation {
34
36
  checksum: string;
35
- guid: string;
37
+ contentGenerationSource: string;
38
+ contentType: string;
39
+ documentAuthoredContentIdentifier: string;
36
40
  name: string;
37
- type: string;
38
41
  }
@@ -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 = "438d06b747152d26a4653e07ef348651";
3
+ export declare const VERSION = "99dbf15ed87bf486388ed9484f1546f6";
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: ExternalDocumentMetadataRepresentation, existing: ExternalDocumentMetadataRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExternalDocumentMetadataRepresentationNormalized;
@@ -15,8 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface ExternalDocumentMetadataRepresentationNormalized {
18
- /** External Document Content List */
19
- externalDocumentContents: Array<{}>;
18
+ /** Document Authored Content List */
19
+ documentAuthoredContents: Array<{}>;
20
20
  /** ObjectReferences List */
21
21
  objectReferences: Array<{}>;
22
22
  /** Metadata of document reviewers */
@@ -29,7 +29,7 @@ export interface ExternalDocumentMetadataRepresentationNormalized {
29
29
  * (none)
30
30
  */
31
31
  export interface ExternalDocumentMetadataRepresentation {
32
- externalDocumentContents: Array<{}>;
32
+ documentAuthoredContents: Array<{}>;
33
33
  objectReferences: Array<{}>;
34
34
  reviewersMetadata: Array<{}>;
35
35
  }
@@ -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 = "8681dc6c85e9b2734a747f1b9247e3ab";
3
+ export declare const VERSION = "088bb1ff9e6ad5596ed0a1d16402956a";
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: ObjectReferenceRepresentation, existing: ObjectReferenceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ObjectReferenceRepresentationNormalized;
@@ -15,8 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface ObjectReferenceRepresentationNormalized {
18
- /** GUID */
19
- guid: string;
18
+ /** DocumentAuthoredContentIdentifier */
19
+ documentAuthoredContentIdentifier: string;
20
20
  /** ObjectId */
21
21
  objectId: string;
22
22
  /** ObjectType */
@@ -31,7 +31,7 @@ export interface ObjectReferenceRepresentationNormalized {
31
31
  * (none)
32
32
  */
33
33
  export interface ObjectReferenceRepresentation {
34
- guid: string;
34
+ documentAuthoredContentIdentifier: string;
35
35
  objectId: string;
36
36
  objectType: string;
37
37
  usages: {};
@@ -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 = "6aa9439ad0d2bd32f07e8497509355fa";
3
+ export declare const VERSION = "5fd507513064088bf0778520da819b4e";
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: ParentContentRepresentation, existing: ParentContentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ParentContentRepresentationNormalized;
@@ -15,8 +15,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  * (none)
16
16
  */
17
17
  export interface ParentContentRepresentationNormalized {
18
- /** GUID */
19
- guid: string;
18
+ /** DocumentAuthoredContentIdentifier */
19
+ documentAuthoredContentIdentifier: string;
20
20
  /** ObjectId */
21
21
  objectId: string;
22
22
  /** ObjectType */
@@ -29,7 +29,7 @@ export interface ParentContentRepresentationNormalized {
29
29
  * (none)
30
30
  */
31
31
  export interface ParentContentRepresentation {
32
- guid: string;
32
+ documentAuthoredContentIdentifier: string;
33
33
  objectId: string;
34
34
  objectType: string;
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-externaldocument",
3
- "version": "1.221.0",
3
+ "version": "1.223.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "This External Document API family will allow to create, edit or read the information about the document which is present in the external editor outside Salesforce. ",
6
6
  "main": "dist/es/es2018/industries-externaldocument.js",
package/sfdc/index.js CHANGED
@@ -985,4 +985,4 @@ withDefaultLuvio((luvio) => {
985
985
  });
986
986
 
987
987
  export { createExternalDocument, getExternalDocument, getExternalDocumentUsers, getExternalDocumentUsers_imperative, getExternalDocument_imperative, saveExternalDocument };
988
- // version: 1.221.0-a9e832603
988
+ // version: 1.223.0-c8d49800b
package/src/raml/api.raml CHANGED
@@ -25,6 +25,25 @@ annotationTypes:
25
25
  type: string
26
26
  allowedTargets: TypeDeclaration
27
27
  types:
28
+ DocumentAuthoredContentRepresentation:
29
+ description: Input representation of a Document Authored Content
30
+ type: object
31
+ properties:
32
+ checksum:
33
+ description: Checksum
34
+ type: string
35
+ contentGenerationSource:
36
+ description: Content Generation Source
37
+ type: string
38
+ contentType:
39
+ description: Content Type
40
+ type: string
41
+ documentAuthoredContentIdentifier:
42
+ description: DocumentAuthoredContentIdentifier
43
+ type: string
44
+ name:
45
+ description: Name
46
+ type: string
28
47
  ExternalDocCreationInputRepresentation:
29
48
  description: Input representation to Create External Document
30
49
  type: object
@@ -60,28 +79,12 @@ types:
60
79
  ssoLinkUrl:
61
80
  description: Provides a description of the error message in case of failure
62
81
  type: string
63
- ExternalDocumentContentRepresentation:
64
- description: Input representation of a external document content
65
- type: object
66
- properties:
67
- checksum:
68
- description: Checksum
69
- type: string
70
- guid:
71
- description: GUID
72
- type: string
73
- name:
74
- description: Name
75
- type: string
76
- type:
77
- description: Content Type
78
- type: string
79
82
  ExternalDocumentMetadataRepresentation:
80
83
  description: Input representation of external document metadata
81
84
  type: object
82
85
  properties:
83
- externalDocumentContents:
84
- description: External Document Content List
86
+ documentAuthoredContents:
87
+ description: Document Authored Content List
85
88
  type: array
86
89
  items:
87
90
  type: object
@@ -151,8 +154,8 @@ types:
151
154
  description: Input representation of objectReference
152
155
  type: object
153
156
  properties:
154
- guid:
155
- description: GUID
157
+ documentAuthoredContentIdentifier:
158
+ description: DocumentAuthoredContentIdentifier
156
159
  type: string
157
160
  objectId:
158
161
  description: ObjectId
@@ -167,8 +170,8 @@ types:
167
170
  description: Input representation of parent content
168
171
  type: object
169
172
  properties:
170
- guid:
171
- description: GUID
173
+ documentAuthoredContentIdentifier:
174
+ description: DocumentAuthoredContentIdentifier
172
175
  type: string
173
176
  objectId:
174
177
  description: ObjectId
@@ -39,7 +39,7 @@ types:
39
39
  ReviewerMetadataRepresentation:
40
40
  (luvio.ttl): 60000
41
41
  (luvio.opaque): true
42
- ExternalDocumentContentRepresentation:
42
+ DocumentAuthoredContentRepresentation:
43
43
  (luvio.ttl): 60000
44
44
  (luvio.opaque): true
45
45
  ParentContentRepresentation: