@salesforce/lds-adapters-platform-files 0.1.0-dev1

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.
Files changed (45) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/platform-files.js +5240 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createContentDocFromContentBody.d.ts +34 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getFilePreview.d.ts +31 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getFilePreviewCommunity.d.ts +32 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getFileUploadConfig.d.ts +26 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
  9. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
  10. package/dist/es/es2018/types/src/generated/resources/getConnectCommunitiesFilesPreviewsByCommunityIdAndFileIdAndPreviewFormat.d.ts +22 -0
  11. package/dist/es/es2018/types/src/generated/resources/getConnectFileUploadConfig.d.ts +12 -0
  12. package/dist/es/es2018/types/src/generated/resources/getConnectFilesPreviewsByFileIdAndPreviewFormat.d.ts +21 -0
  13. package/dist/es/es2018/types/src/generated/resources/postConnectFilesUsersByUserId.d.ts +33 -0
  14. package/dist/es/es2018/types/src/generated/types/ContentHubPermissionTypeRepresentation.d.ts +31 -0
  15. package/dist/es/es2018/types/src/generated/types/ContentHubProviderTypeRepresentation.d.ts +31 -0
  16. package/dist/es/es2018/types/src/generated/types/ContentHubRepositoryAuthenticationRepresentation.d.ts +34 -0
  17. package/dist/es/es2018/types/src/generated/types/ContentHubRepositoryFeaturesRepresentation.d.ts +31 -0
  18. package/dist/es/es2018/types/src/generated/types/ContentHubRepositoryRepresentation.d.ts +76 -0
  19. package/dist/es/es2018/types/src/generated/types/ExternalFilePermissionInformationRepresentation.d.ts +42 -0
  20. package/dist/es/es2018/types/src/generated/types/FileAssetRepresentation.d.ts +49 -0
  21. package/dist/es/es2018/types/src/generated/types/FileDetailRepresentation.d.ts +190 -0
  22. package/dist/es/es2018/types/src/generated/types/FileInputRepresentation.d.ts +82 -0
  23. package/dist/es/es2018/types/src/generated/types/FilePreviewRepresentation.d.ts +42 -0
  24. package/dist/es/es2018/types/src/generated/types/FilePreviewUrlRepresentation.d.ts +31 -0
  25. package/dist/es/es2018/types/src/generated/types/FileUploadConfigRepresentation.d.ts +38 -0
  26. package/dist/es/es2018/types/src/generated/types/ModerationFlagItemRepresentation.d.ts +43 -0
  27. package/dist/es/es2018/types/src/generated/types/ModerationFlagsCollectionRepresentation.d.ts +44 -0
  28. package/dist/es/es2018/types/src/generated/types/ModerationFlagsRepresentation.d.ts +42 -0
  29. package/dist/es/es2018/types/src/generated/types/MotifRepresentation.d.ts +40 -0
  30. package/dist/es/es2018/types/src/generated/types/OutOfOfficeRepresentation.d.ts +28 -0
  31. package/dist/es/es2018/types/src/generated/types/PhotoRepresentation.d.ts +46 -0
  32. package/dist/es/es2018/types/src/generated/types/ReferenceRepresentation.d.ts +31 -0
  33. package/dist/es/es2018/types/src/generated/types/RepositoryGroupSummaryRepresentation.d.ts +43 -0
  34. package/dist/es/es2018/types/src/generated/types/ReputationLevelRepresentation.d.ts +34 -0
  35. package/dist/es/es2018/types/src/generated/types/ReputationRepresentation.d.ts +35 -0
  36. package/dist/es/es2018/types/src/generated/types/TopicCollectionRepresentation.d.ts +35 -0
  37. package/dist/es/es2018/types/src/generated/types/TopicImagesRepresentation.d.ts +31 -0
  38. package/dist/es/es2018/types/src/generated/types/TopicRepresentation.d.ts +53 -0
  39. package/dist/es/es2018/types/src/generated/types/UserSummaryRepresentation.d.ts +87 -0
  40. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  41. package/package.json +66 -0
  42. package/sfdc/index.d.ts +1 -0
  43. package/sfdc/index.js +5300 -0
  44. package/src/raml/api.raml +1011 -0
  45. package/src/raml/luvio.raml +37 -0
@@ -0,0 +1,49 @@
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 = "4ffe76c088b0010d6c07321f8fc71413";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: FileAssetRepresentation, existing: FileAssetRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FileAssetRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: FileAssetRepresentationNormalized, incoming: FileAssetRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FileAssetRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Representation of a file asset.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface FileAssetRepresentationNormalized {
17
+ /** Base download URL of the asset. */
18
+ baseAssetUrl: string;
19
+ /** Base unauthenticated download URL of the asset. */
20
+ baseUnauthenticatedAssetUrl: string;
21
+ /** The id of the asset */
22
+ id: string;
23
+ /** Flag for public access to asset. */
24
+ isVisibleByExternalUsers: boolean;
25
+ /** Master label of the asset. */
26
+ masterLabel: string;
27
+ /** The unique name of the asset */
28
+ name: string;
29
+ /** The namespacePrefix of the package containing the asset */
30
+ namespacePrefix: string;
31
+ /** The type of this representation */
32
+ type: string;
33
+ }
34
+ /**
35
+ * Representation of a file asset.
36
+ *
37
+ * Keys:
38
+ * (none)
39
+ */
40
+ export interface FileAssetRepresentation {
41
+ baseAssetUrl: string;
42
+ baseUnauthenticatedAssetUrl: string;
43
+ id: string;
44
+ isVisibleByExternalUsers: boolean;
45
+ masterLabel: string;
46
+ name: string;
47
+ namespacePrefix: string;
48
+ type: string;
49
+ }
@@ -0,0 +1,190 @@
1
+ import { ContentHubRepositoryRepresentation as ContentHubRepositoryRepresentation_ContentHubRepositoryRepresentation } from './ContentHubRepositoryRepresentation';
2
+ import { ExternalFilePermissionInformationRepresentation as ExternalFilePermissionInformationRepresentation_ExternalFilePermissionInformationRepresentation } from './ExternalFilePermissionInformationRepresentation';
3
+ import { FileAssetRepresentation as FileAssetRepresentation_FileAssetRepresentation } from './FileAssetRepresentation';
4
+ import { ModerationFlagsRepresentation as ModerationFlagsRepresentation_ModerationFlagsRepresentation } from './ModerationFlagsRepresentation';
5
+ import { MotifRepresentation as MotifRepresentation_MotifRepresentation } from './MotifRepresentation';
6
+ import { ReferenceRepresentation as ReferenceRepresentation_ReferenceRepresentation } from './ReferenceRepresentation';
7
+ import { UserSummaryRepresentation as UserSummaryRepresentation_UserSummaryRepresentation } from './UserSummaryRepresentation';
8
+ import { TopicCollectionRepresentation as TopicCollectionRepresentation_TopicCollectionRepresentation } from './TopicCollectionRepresentation';
9
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
10
+ export declare const TTL = 100;
11
+ export declare const VERSION = "472a1bdc1617b702fa962cd73dd73eee";
12
+ export declare function validate(obj: any, path?: string): TypeError | null;
13
+ export declare const RepresentationType: string;
14
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
15
+ id: string | null;
16
+ }
17
+ export type FileDetailRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
18
+ export type PartialFileDetailRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
19
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
20
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): FileDetailRepresentationNormalizedKeyMetadata;
21
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: FileDetailRepresentation): string;
22
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: FileDetailRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
23
+ export declare function normalize(input: FileDetailRepresentation, existing: FileDetailRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FileDetailRepresentationNormalized;
24
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
25
+ export declare function equals(existing: FileDetailRepresentationNormalized, incoming: FileDetailRepresentationNormalized): boolean;
26
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
27
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FileDetailRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
28
+ /**
29
+ * Detail description of a file.
30
+ *
31
+ * Keys:
32
+ * id (string | null): id
33
+ */
34
+ export interface FileDetailRepresentationNormalized {
35
+ /** MD5 checksum for the file. */
36
+ checksum: string | null;
37
+ /** The external datasource associated with this file, or null if it does not point to an external file. */
38
+ contentHubRepository: ContentHubRepositoryRepresentation_ContentHubRepositoryRepresentation | null;
39
+ /** File specific modified date, which is only updated for direct file operations, e.g. rename. This can also be optionally initialized by users to reflect the file's modified date outside of the cloud. ISO8601 date string, for example, 2011-02-25T18:24:31.000Z. */
40
+ contentModifiedDate: string | null;
41
+ /** Size of the file in bytes. */
42
+ contentSize: number | null;
43
+ /** If the file is a link, returns the URL, otherwise null. */
44
+ contentUrl: string | null;
45
+ /** The content version ID for this file */
46
+ contentVersionId: string | null;
47
+ /** Returns the file creation date. ISO8601 date string, for example,2011-02-25T18:24:31.000Z. */
48
+ createdDate: string | null;
49
+ /** Description of the file. */
50
+ description: string | null;
51
+ /** URL to the file contents. */
52
+ downloadUrl: string | null;
53
+ /** The external URL this file points to, or null if it does not point to an external file. */
54
+ externalDocumentUrl: string | null;
55
+ /** External file permission related information (available groups, available permission types, current sharing status). Will contain the failure reason if it was to fail. Null if includeExternalFilePermissionsInfo is false or non external files */
56
+ externalFilePermissionInformation: ExternalFilePermissionInformationRepresentation_ExternalFilePermissionInformationRepresentation | null;
57
+ /** The asset information about this file. */
58
+ fileAsset: FileAssetRepresentation_FileAssetRepresentation | null;
59
+ /** Extension of the file. */
60
+ fileExtension: string | null;
61
+ /** Type of file, such as PDF, PowerPoint, and so on. */
62
+ fileType: string | null;
63
+ /** Specifies the status of the rendering of the flash preview of the file. Should be either Processing, Failed, Success, or Na if unavailable. */
64
+ flashRenditionStatus: string | null;
65
+ /** Id of the content document */
66
+ id: string | null;
67
+ /** Indicates whether this file is an asset or not */
68
+ isFileAsset: boolean | null;
69
+ /** Indicates whether the file is synced. */
70
+ isInMyFileSync: boolean | null;
71
+ /** Indicates whether the latest version of the file is a major version. */
72
+ isMajorVersion: boolean | null;
73
+ /** File's MIME type. */
74
+ mimeType: string | null;
75
+ /** Flags for this file. Community moderators can view and take action on flagged items. Null if network moderation is not enabled. */
76
+ moderationFlags: ModerationFlagsRepresentation_ModerationFlagsRepresentation | null;
77
+ /** Salesforce standard last modified date of the file in the cloud, i.e. any modifications to the file from within Salesforce will update this. ISO8601 date string, for example, 2011-02-25T18:24:31.000Z. */
78
+ modifiedDate: string | null;
79
+ /** Small, medium, and large icons indicating the record's type. */
80
+ motif: MotifRepresentation_MotifRepresentation | null;
81
+ /** If the logged-in user is following this user, this contains information about the subscription, else returns null. */
82
+ mySubscription: ReferenceRepresentation_ReferenceRepresentation | null;
83
+ /** Name of the file. */
84
+ name: string | null;
85
+ /** Specifies the file source. Valid values are: Chatter -- file came from Chatter, Content -- file came from content, FileField -- file came from a record or other form. */
86
+ origin: string | null;
87
+ /** Owner of the file. */
88
+ owner: UserSummaryRepresentation_UserSummaryRepresentation | null;
89
+ /** Number of pages for documents that support flash renditions, or the number of slides in a presentation. Returns 0 if the flash rendition fails, or if it isn't supported for the file type. */
90
+ pageCount: number | null;
91
+ /** The folder containing this file. */
92
+ parentFolder: ReferenceRepresentation_ReferenceRepresentation | null;
93
+ /** Specifies the status of the rendering of the PDF preview of the file. Should be either Processing, Failed, Success, or Na if unavailable. */
94
+ pdfRenditionStatus: string | null;
95
+ /** Indicates the publish status of a file. */
96
+ publishStatus: string | null;
97
+ /** URL to the rendition for the file if available. Renditions are processed asynchronously and may not be available immediately after the file has been uploaded. This defaults to the 120px by 90px size.Note that the image returned will be as large as possible up to the rendition type size while maintaing the aspect ratio. */
98
+ renditionUrl: string | null;
99
+ /** URL to the 240px by 180px rendition for the file if available. Renditions are processed asynchronously and may not be available immediately after the file has been uploaded.Note that the image returned will be as large as possible up to 240px by 180px while maintaing the aspect ratio. */
100
+ renditionUrl240By180: string | null;
101
+ /** URL to the 720px by 480px rendition for the file if available. Renditions are processed asynchronously and may not be available immediately after the file has been uploaded.Note that the image returned will be as large as possible up to 720px by 480px while maintaing the aspect ratio. */
102
+ renditionUrl720By480: string | null;
103
+ /** The id of this file in its external repository. Null if the file is not an external file */
104
+ repositoryFileId: string | null;
105
+ /** The URL of the Connect endpoint giving access to the external repository file properties, or null if this file does not point to an external file. */
106
+ repositoryFileUrl: string | null;
107
+ /** Contains the sharing option of a file. */
108
+ sharingOption: string | null;
109
+ /** Contains the sharing privacy of a file. */
110
+ sharingPrivacy: string | null;
111
+ /** Indicates the sharing type of a file. */
112
+ sharingRole: string | null;
113
+ /** Returns SystemModstamp of the file. When a user updates the record or any automated system processes(like triggers) updates the record, SystemModstamp will be updated. ISO8601 date string, for example, 2011-02-25T18:24:31.000Z. */
114
+ systemModstamp: string | null;
115
+ /** Text preview of the file if available, null otherwise. */
116
+ textPreview: string | null;
117
+ /** Specifies the status of the rendering of the 120x90 pixel sized preview image of the file. Should be either Processing, Failed, Success, or Na if unavailable. */
118
+ thumb120By90RenditionStatus: string | null;
119
+ /** Specifies the status of the rendering of the 240x180 pixel sized preview image of the file. Should be either Processing, Failed, Success, or Na if unavailable. */
120
+ thumb240By180RenditionStatus: string | null;
121
+ /** Specifies the status of the rendering of the 720x480 pixel sized preview image of the file. Should be either Processing, Failed, Success, or Na if unavailable. */
122
+ thumb720By480RenditionStatus: string | null;
123
+ /** Title of the file. */
124
+ title: string | null;
125
+ /** Gets the topics associated with a file. */
126
+ topics: TopicCollectionRepresentation_TopicCollectionRepresentation | null;
127
+ /** A fixed type name for this object that can be checked to determine the shape of a payload. */
128
+ type: string | null;
129
+ /** URL to the Connect resource for this object. */
130
+ url: string | null;
131
+ /** Version number of the file. */
132
+ versionNumber: string | null;
133
+ }
134
+ /**
135
+ * Detail description of a file.
136
+ *
137
+ * Keys:
138
+ * id (string | null): id
139
+ */
140
+ export interface FileDetailRepresentation {
141
+ checksum: string | null;
142
+ contentHubRepository: ContentHubRepositoryRepresentation_ContentHubRepositoryRepresentation | null;
143
+ contentModifiedDate: string | null;
144
+ contentSize: number | null;
145
+ contentUrl: string | null;
146
+ contentVersionId: string | null;
147
+ createdDate: string | null;
148
+ description: string | null;
149
+ downloadUrl: string | null;
150
+ externalDocumentUrl: string | null;
151
+ externalFilePermissionInformation: ExternalFilePermissionInformationRepresentation_ExternalFilePermissionInformationRepresentation | null;
152
+ fileAsset: FileAssetRepresentation_FileAssetRepresentation | null;
153
+ fileExtension: string | null;
154
+ fileType: string | null;
155
+ flashRenditionStatus: string | null;
156
+ id: string | null;
157
+ isFileAsset: boolean | null;
158
+ isInMyFileSync: boolean | null;
159
+ isMajorVersion: boolean | null;
160
+ mimeType: string | null;
161
+ moderationFlags: ModerationFlagsRepresentation_ModerationFlagsRepresentation | null;
162
+ modifiedDate: string | null;
163
+ motif: MotifRepresentation_MotifRepresentation | null;
164
+ mySubscription: ReferenceRepresentation_ReferenceRepresentation | null;
165
+ name: string | null;
166
+ origin: string | null;
167
+ owner: UserSummaryRepresentation_UserSummaryRepresentation | null;
168
+ pageCount: number | null;
169
+ parentFolder: ReferenceRepresentation_ReferenceRepresentation | null;
170
+ pdfRenditionStatus: string | null;
171
+ publishStatus: string | null;
172
+ renditionUrl: string | null;
173
+ renditionUrl240By180: string | null;
174
+ renditionUrl720By480: string | null;
175
+ repositoryFileId: string | null;
176
+ repositoryFileUrl: string | null;
177
+ sharingOption: string | null;
178
+ sharingPrivacy: string | null;
179
+ sharingRole: string | null;
180
+ systemModstamp: string | null;
181
+ textPreview: string | null;
182
+ thumb120By90RenditionStatus: string | null;
183
+ thumb240By180RenditionStatus: string | null;
184
+ thumb720By480RenditionStatus: string | null;
185
+ title: string | null;
186
+ topics: TopicCollectionRepresentation_TopicCollectionRepresentation | null;
187
+ type: string | null;
188
+ url: string | null;
189
+ versionNumber: string | null;
190
+ }
@@ -0,0 +1,82 @@
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 = "ff58d7915c819ca2ceb9b0930d1836ec";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: FileInputRepresentation, existing: FileInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FileInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: FileInputRepresentationNormalized, incoming: FileInputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FileInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Describes a new file input. To upload a file, provide the binary file in a multipart/form-data body part where name="fileData".
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface FileInputRepresentationNormalized {
17
+ /** The content body id */
18
+ contentBodyId: string;
19
+ /** File specific last modified date that can be used to set a client-side modified date. */
20
+ contentModifiedDate?: string;
21
+ /** Description of the file to be uploaded. */
22
+ desc?: string;
23
+ /** Name of a custom field on the ContentVersion object. */
24
+ fieldName?: string;
25
+ /** Value to store in the custom field specified by FieldName. */
26
+ fieldValue?: string;
27
+ /** The record id of the first published location */
28
+ firstPublishLocationId?: string;
29
+ /** Whether or not we want to retrieve external file permissions information when creating a TPCF */
30
+ includeExternalFilePermissionsInfo?: boolean;
31
+ /** Whether a file is synced. */
32
+ isInMyFileSync?: boolean;
33
+ /** Whether a file is a major version. */
34
+ isMajorVersion?: boolean;
35
+ /** The network id */
36
+ networkId: string;
37
+ /** The parent folder ID of the file. */
38
+ parentFolderId?: string;
39
+ /** The path on client */
40
+ pathOnClient: string;
41
+ /** The external file identifier. */
42
+ repositoryFileId?: string;
43
+ /** The external file uri. */
44
+ repositoryFileUri?: string;
45
+ /** The Files Connect external data source identifier. */
46
+ repositoryId?: string;
47
+ /** Whether or not to reuse an existing reference to a repository files instead of creating a new one */
48
+ reuseReference?: boolean;
49
+ /** File sharing option that can be use to prevent further file sharing. */
50
+ sharingOption?: string;
51
+ /** File sharing privacy to make the file private on records. */
52
+ sharingPrivacy?: string;
53
+ /** Title of the file. */
54
+ title: string;
55
+ }
56
+ /**
57
+ * Describes a new file input. To upload a file, provide the binary file in a multipart/form-data body part where name="fileData".
58
+ *
59
+ * Keys:
60
+ * (none)
61
+ */
62
+ export interface FileInputRepresentation {
63
+ contentBodyId: string;
64
+ contentModifiedDate?: string;
65
+ desc?: string;
66
+ fieldName?: string;
67
+ fieldValue?: string;
68
+ firstPublishLocationId?: string;
69
+ includeExternalFilePermissionsInfo?: boolean;
70
+ isInMyFileSync?: boolean;
71
+ isMajorVersion?: boolean;
72
+ networkId: string;
73
+ parentFolderId?: string;
74
+ pathOnClient: string;
75
+ repositoryFileId?: string;
76
+ repositoryFileUri?: string;
77
+ repositoryId?: string;
78
+ reuseReference?: boolean;
79
+ sharingOption?: string;
80
+ sharingPrivacy?: string;
81
+ title: string;
82
+ }
@@ -0,0 +1,42 @@
1
+ import { FilePreviewUrlRepresentation as FilePreviewUrlRepresentation_FilePreviewUrlRepresentation } from './FilePreviewUrlRepresentation';
2
+ 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';
3
+ export declare const TTL = 100;
4
+ export declare const VERSION = "3465c0cb2d3d706149acdcef3dd51708";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: FilePreviewRepresentation, existing: FilePreviewRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FilePreviewRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: FilePreviewRepresentationNormalized, incoming: FilePreviewRepresentationNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FilePreviewRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Description of a file preview.
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface FilePreviewRepresentationNormalized {
19
+ /** Represents the format of the preview. */
20
+ format: string;
21
+ /** Represents the number of preview items this preview type has. */
22
+ previewUrlCount: number;
23
+ /** Represents a URI to retrieve the preview for a specific preview. */
24
+ previewUrls: Array<FilePreviewUrlRepresentation_FilePreviewUrlRepresentation>;
25
+ /** Represents the availability status of the preview. */
26
+ status: string;
27
+ /** The URL for this representation, which summaries the preview for the specified format. */
28
+ url: string;
29
+ }
30
+ /**
31
+ * Description of a file preview.
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface FilePreviewRepresentation {
37
+ format: string;
38
+ previewUrlCount: number;
39
+ previewUrls: Array<FilePreviewUrlRepresentation_FilePreviewUrlRepresentation>;
40
+ status: string;
41
+ url: string;
42
+ }
@@ -0,0 +1,31 @@
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 = "991f7d9d5aaae8933546ed0cdf495355";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: FilePreviewUrlRepresentation, existing: FilePreviewUrlRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FilePreviewUrlRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: FilePreviewUrlRepresentationNormalized, incoming: FilePreviewUrlRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FilePreviewUrlRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Represents the information to retrieve a preview item of a file.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface FilePreviewUrlRepresentationNormalized {
17
+ /** Preview Page Number (Optional) */
18
+ pageNumber: number;
19
+ /** Represents the file preview URL. */
20
+ previewUrl: string;
21
+ }
22
+ /**
23
+ * Represents the information to retrieve a preview item of a file.
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface FilePreviewUrlRepresentation {
29
+ pageNumber: number;
30
+ previewUrl: string;
31
+ }
@@ -0,0 +1,38 @@
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 TTL = 100;
3
+ export declare const VERSION = "0ebfcb4004619c58d2d8352ba253d6c1";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: FileUploadConfigRepresentation, existing: FileUploadConfigRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FileUploadConfigRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: FileUploadConfigRepresentationNormalized, incoming: FileUploadConfigRepresentationNormalized): boolean;
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: FileUploadConfigRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Information about a file upload config
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface FileUploadConfigRepresentationNormalized {
18
+ /** Flag to indicate if ContentVersion has custom record types */
19
+ hasCustomRecordTypes: boolean;
20
+ /** Get the Maximum File Attachments on Feed */
21
+ maxFileAttachmentsOnFeed: number;
22
+ /** The CSRF Token for the file upload request. This token is used to authenticate the file upload */
23
+ token: string;
24
+ /** Get the file upload url. This is the decoupled mode url */
25
+ uploadUrl: string;
26
+ }
27
+ /**
28
+ * Information about a file upload config
29
+ *
30
+ * Keys:
31
+ * (none)
32
+ */
33
+ export interface FileUploadConfigRepresentation {
34
+ hasCustomRecordTypes: boolean;
35
+ maxFileAttachmentsOnFeed: number;
36
+ token: string;
37
+ uploadUrl: string;
38
+ }
@@ -0,0 +1,43 @@
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 = "33984440af1a8d58f347ad7f777f3599";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ModerationFlagItemRepresentation, existing: ModerationFlagItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ModerationFlagItemRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ModerationFlagItemRepresentationNormalized, incoming: ModerationFlagItemRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ModerationFlagItemRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Represents flag details on a moderation enabled entity.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ModerationFlagItemRepresentationNormalized {
17
+ /** The flagger id. */
18
+ createdBy: string;
19
+ /** The visibility access for the user. */
20
+ createdDate: string;
21
+ /** The moderation id. */
22
+ id: string;
23
+ /** The moderation type. */
24
+ moderationType: string;
25
+ /** The additional note added by flagger. */
26
+ note: string;
27
+ /** The visibility access for the user. */
28
+ visibility: string;
29
+ }
30
+ /**
31
+ * Represents flag details on a moderation enabled entity.
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface ModerationFlagItemRepresentation {
37
+ createdBy: string;
38
+ createdDate: string;
39
+ id: string;
40
+ moderationType: string;
41
+ note: string;
42
+ visibility: string;
43
+ }
@@ -0,0 +1,44 @@
1
+ import { ModerationFlagItemRepresentation as ModerationFlagItemRepresentation_ModerationFlagItemRepresentation } from './ModerationFlagItemRepresentation';
2
+ 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';
3
+ export declare const VERSION = "352260f98bea3d1c4691d37f0a76a0b9";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: ModerationFlagsCollectionRepresentation, existing: ModerationFlagsCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ModerationFlagsCollectionRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: ModerationFlagsCollectionRepresentationNormalized, incoming: ModerationFlagsCollectionRepresentationNormalized): boolean;
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: ModerationFlagsCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Represents list of flags on a feed item or comment or a content document.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface ModerationFlagsCollectionRepresentationNormalized {
18
+ /** The current page URL. */
19
+ currentPageToken: string;
20
+ /** The current page URL. */
21
+ currentPageUrl: string;
22
+ /** The list of flag details for a feed element. */
23
+ flags: Array<ModerationFlagItemRepresentation_ModerationFlagItemRepresentation>;
24
+ /** The current page URL. */
25
+ nextPageToken: string;
26
+ /** The next page URL. */
27
+ nextPageUrl: string;
28
+ /** The default page size for the queue representation. */
29
+ pageSize: number;
30
+ }
31
+ /**
32
+ * Represents list of flags on a feed item or comment or a content document.
33
+ *
34
+ * Keys:
35
+ * (none)
36
+ */
37
+ export interface ModerationFlagsCollectionRepresentation {
38
+ currentPageToken: string;
39
+ currentPageUrl: string;
40
+ flags: Array<ModerationFlagItemRepresentation_ModerationFlagItemRepresentation>;
41
+ nextPageToken: string;
42
+ nextPageUrl: string;
43
+ pageSize: number;
44
+ }
@@ -0,0 +1,42 @@
1
+ import { ModerationFlagsCollectionRepresentation as ModerationFlagsCollectionRepresentation_ModerationFlagsCollectionRepresentation } from './ModerationFlagsCollectionRepresentation';
2
+ 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';
3
+ export declare const VERSION = "13562eb8ff78d5886789a53d2bd5a8a4";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: ModerationFlagsRepresentation, existing: ModerationFlagsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ModerationFlagsRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: ModerationFlagsRepresentationNormalized, incoming: ModerationFlagsRepresentationNormalized): boolean;
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: ModerationFlagsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Represents a number of flags on a feed item or comment.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface ModerationFlagsRepresentationNormalized {
18
+ /** The number of moderation flags on this feed item or comment, will be null if the user does not have permission to view the number of moderation flags (the context user is not a moderator). */
19
+ flagCount: number;
20
+ /** Returns the count of moderaton flags categorized by reasons. */
21
+ flagCountByReason: {
22
+ [key: string]: number;
23
+ };
24
+ /** True if the context user has flagged it for moderation; false otherwise. */
25
+ flaggedByMe: boolean;
26
+ /** Returns the collection of moderaton flags. */
27
+ flags: ModerationFlagsCollectionRepresentation_ModerationFlagsCollectionRepresentation;
28
+ }
29
+ /**
30
+ * Represents a number of flags on a feed item or comment.
31
+ *
32
+ * Keys:
33
+ * (none)
34
+ */
35
+ export interface ModerationFlagsRepresentation {
36
+ flagCount: number;
37
+ flagCountByReason: {
38
+ [key: string]: number;
39
+ };
40
+ flaggedByMe: boolean;
41
+ flags: ModerationFlagsCollectionRepresentation_ModerationFlagsCollectionRepresentation;
42
+ }
@@ -0,0 +1,40 @@
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 = "ea2628b3acfa34a5fb973e3cdc2dcbe0";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: MotifRepresentation, existing: MotifRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MotifRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: MotifRepresentationNormalized, incoming: MotifRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: MotifRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Describes the UI for an object. URL properties give icon URLs. Common record types in Chatter are files, users, and groups, but all record types have a set of motif icons. Custom object records use their tab style icon. All icons are available to unauthenticated users so that, for example, you can display the motif icons in an email.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface MotifRepresentationNormalized {
17
+ /** Hexidecimal color definition. */
18
+ color: string;
19
+ /** Large icon. */
20
+ largeIconUrl: string;
21
+ /** Medium icon. */
22
+ mediumIconUrl: string;
23
+ /** Small icon. */
24
+ smallIconUrl: string;
25
+ /** Vector graphics icon. */
26
+ svgIconUrl: string | null;
27
+ }
28
+ /**
29
+ * Describes the UI for an object. URL properties give icon URLs. Common record types in Chatter are files, users, and groups, but all record types have a set of motif icons. Custom object records use their tab style icon. All icons are available to unauthenticated users so that, for example, you can display the motif icons in an email.
30
+ *
31
+ * Keys:
32
+ * (none)
33
+ */
34
+ export interface MotifRepresentation {
35
+ color: string;
36
+ largeIconUrl: string;
37
+ mediumIconUrl: string;
38
+ smallIconUrl: string;
39
+ svgIconUrl: string | null;
40
+ }
@@ -0,0 +1,28 @@
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 = "05d2b9c24b3e86c43f4585b49253d98e";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: OutOfOfficeRepresentation, existing: OutOfOfficeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): OutOfOfficeRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: OutOfOfficeRepresentationNormalized, incoming: OutOfOfficeRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: OutOfOfficeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * User's OutOfOfficeMessage
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface OutOfOfficeRepresentationNormalized {
17
+ /** out of office message of the user */
18
+ message: string;
19
+ }
20
+ /**
21
+ * User's OutOfOfficeMessage
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface OutOfOfficeRepresentation {
27
+ message: string;
28
+ }