@salesforce/lds-adapters-industries-docgen 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.
@@ -0,0 +1,22 @@
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_postConnectClauseLibraryPromoteClause_ResourceRequestConfig } from '../resources/postConnectClauseLibraryPromoteClause';
4
+ import { DocumentClausePromotionResponse as types_DocumentClausePromotionResponse_DocumentClausePromotionResponse } from '../types/DocumentClausePromotionResponse';
5
+ export declare const adapterName = "postDocumentClausePromotion";
6
+ export declare const postDocumentClausePromotion_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const postDocumentClausePromotion_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface PostDocumentClausePromotionConfig {
9
+ clauseContent: string;
10
+ clauseDescription: string;
11
+ clauseName: string;
12
+ clauseSetId: string;
13
+ isAlternateClause: boolean;
14
+ language: string;
15
+ nonStandardClauseRecordId: string;
16
+ notifyOnCompletion: boolean;
17
+ }
18
+ export declare const createResourceParams: (config: PostDocumentClausePromotionConfig) => resources_postConnectClauseLibraryPromoteClause_ResourceRequestConfig;
19
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PostDocumentClausePromotionConfig>): adapter$45$utils_Untrusted<PostDocumentClausePromotionConfig>;
20
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PostDocumentClausePromotionConfig | null;
21
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PostDocumentClausePromotionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_DocumentClausePromotionResponse_DocumentClausePromotionResponse, {}> | import("@luvio/engine").StaleSnapshot<types_DocumentClausePromotionResponse_DocumentClausePromotionResponse, {}> | import("@luvio/engine").PendingSnapshot<types_DocumentClausePromotionResponse_DocumentClausePromotionResponse, any>>;
22
+ export declare const postDocumentClausePromotionAdapterFactory: $64$luvio_engine_AdapterFactory<PostDocumentClausePromotionConfig, types_DocumentClausePromotionResponse_DocumentClausePromotionResponse>;
@@ -1,6 +1,7 @@
1
1
  export { getDocumentClauseSetCategoriesAdapterFactory } from '../adapters/getDocumentClauseSetCategories';
2
2
  export { getDocumentClauseSetsAdapterFactory } from '../adapters/getDocumentClauseSets';
3
3
  export { getDocumentClauseFieldsAdapterFactory } from '../adapters/getDocumentClauseFields';
4
+ export { postDocumentClausePromotionAdapterFactory } from '../adapters/postDocumentClausePromotion';
4
5
  export { performDocGenerationBatchProcessActionAdapterFactory } from '../adapters/performDocGenerationBatchProcessAction';
5
6
  export { getDocumentTemplatesAdapterFactory } from '../adapters/getDocumentTemplates';
6
7
  export { updateDocumentTemplateAdapterFactory } from '../adapters/updateDocumentTemplate';
@@ -9,6 +9,7 @@ declare let getESignNotificationSettings: any;
9
9
  declare let getRecipients: any;
10
10
  declare let getSignerRoles: any;
11
11
  declare let performDocGenerationBatchProcessAction: any;
12
+ declare let postDocumentClausePromotion: any;
12
13
  declare let updateDocumentTemplate: any;
13
14
  declare let updateEnvelope: any;
14
15
  declare let updateVoidedEnvelope: any;
@@ -20,4 +21,4 @@ declare let getDocuments_imperative: any;
20
21
  declare let getESignNotificationSettings_imperative: any;
21
22
  declare let getRecipients_imperative: any;
22
23
  declare let getSignerRoles_imperative: any;
23
- export { createDocumentEnvelopeForEsign, createDocumentTemplate, getDocumentClauseFields, getDocumentClauseSetCategories, getDocumentClauseSets, getDocumentTemplates, getDocuments, getESignNotificationSettings, getRecipients, getSignerRoles, performDocGenerationBatchProcessAction, updateDocumentTemplate, updateEnvelope, updateVoidedEnvelope, getDocumentClauseFields_imperative, getDocumentClauseSetCategories_imperative, getDocumentClauseSets_imperative, getDocumentTemplates_imperative, getDocuments_imperative, getESignNotificationSettings_imperative, getRecipients_imperative, getSignerRoles_imperative, };
24
+ export { createDocumentEnvelopeForEsign, createDocumentTemplate, getDocumentClauseFields, getDocumentClauseSetCategories, getDocumentClauseSets, getDocumentTemplates, getDocuments, getESignNotificationSettings, getRecipients, getSignerRoles, performDocGenerationBatchProcessAction, postDocumentClausePromotion, updateDocumentTemplate, updateEnvelope, updateVoidedEnvelope, getDocumentClauseFields_imperative, getDocumentClauseSetCategories_imperative, getDocumentClauseSets_imperative, getDocumentTemplates_imperative, getDocuments_imperative, getESignNotificationSettings_imperative, getRecipients_imperative, getSignerRoles_imperative, };
@@ -0,0 +1,19 @@
1
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
+ import { DocumentClausePromotionResponse as types_DocumentClausePromotionResponse_DocumentClausePromotionResponse } from '../types/DocumentClausePromotionResponse';
3
+ export interface ResourceRequestConfig {
4
+ body: {
5
+ clauseContent: string;
6
+ clauseDescription: string;
7
+ clauseName: string;
8
+ clauseSetId: string;
9
+ isAlternateClause: boolean;
10
+ language: string;
11
+ nonStandardClauseRecordId: string;
12
+ notifyOnCompletion: boolean;
13
+ };
14
+ }
15
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
16
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_DocumentClausePromotionResponse_DocumentClausePromotionResponse): void;
17
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_DocumentClausePromotionResponse_DocumentClausePromotionResponse>): $64$luvio_engine_FulfilledSnapshot<types_DocumentClausePromotionResponse_DocumentClausePromotionResponse, {}> | $64$luvio_engine_StaleSnapshot<types_DocumentClausePromotionResponse_DocumentClausePromotionResponse, {}> | $64$luvio_engine_PendingSnapshot<types_DocumentClausePromotionResponse_DocumentClausePromotionResponse, any>;
18
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
19
+ export default createResourceRequest;
@@ -0,0 +1,50 @@
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 = 60000;
3
+ export declare const VERSION = "854f4d7f5ca3539be013ce1e6a7e5703";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: DocumentClausePromotionRequest, existing: DocumentClausePromotionRequestNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DocumentClausePromotionRequestNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: DocumentClausePromotionRequestNormalized, incoming: DocumentClausePromotionRequestNormalized): 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: DocumentClausePromotionRequest, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Input representation of a clause promotion request
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface DocumentClausePromotionRequestNormalized {
18
+ /** Content of the clause */
19
+ clauseContent: string;
20
+ /** Description of the clause */
21
+ clauseDescription: string;
22
+ /** Name of the clause */
23
+ clauseName: string;
24
+ /** ID of the clauseSet in which this clause should be added */
25
+ clauseSetId: string;
26
+ /** Whether the clause is alternate or main within the clause set */
27
+ isAlternateClause: boolean;
28
+ /** Language of the clause */
29
+ language: string;
30
+ /** Record ID of the non-standard clause which needs to be promoted */
31
+ nonStandardClauseRecordId: string;
32
+ /** Whether to notify the user once the clause is promoted to the library */
33
+ notifyOnCompletion: boolean;
34
+ }
35
+ /**
36
+ * Input representation of a clause promotion request
37
+ *
38
+ * Keys:
39
+ * (none)
40
+ */
41
+ export interface DocumentClausePromotionRequest {
42
+ clauseContent: string;
43
+ clauseDescription: string;
44
+ clauseName: string;
45
+ clauseSetId: string;
46
+ isAlternateClause: boolean;
47
+ language: string;
48
+ nonStandardClauseRecordId: string;
49
+ notifyOnCompletion: boolean;
50
+ }
@@ -0,0 +1,41 @@
1
+ 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';
2
+ export declare const TTL = 60000;
3
+ export declare const VERSION = "af0246ac09fd1b3b2a939d90b8caa15d";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ isSuccess: boolean;
8
+ }
9
+ export type DocumentClausePromotionResponseNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialDocumentClausePromotionResponseNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): DocumentClausePromotionResponseNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: DocumentClausePromotionResponse): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: DocumentClausePromotionResponse): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: DocumentClausePromotionResponse, existing: DocumentClausePromotionResponseNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DocumentClausePromotionResponseNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: DocumentClausePromotionResponseNormalized, incoming: DocumentClausePromotionResponseNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: DocumentClausePromotionResponse, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * API Response Representation for Document Clause promotion
22
+ *
23
+ * Keys:
24
+ * isSuccess (boolean): isSuccess
25
+ */
26
+ export interface DocumentClausePromotionResponseNormalized {
27
+ /** whether request is submitted or not */
28
+ isSuccess: boolean;
29
+ /** error/warning message if any */
30
+ message: string;
31
+ }
32
+ /**
33
+ * API Response Representation for Document Clause promotion
34
+ *
35
+ * Keys:
36
+ * isSuccess (boolean): isSuccess
37
+ */
38
+ export interface DocumentClausePromotionResponse {
39
+ isSuccess: boolean;
40
+ message: string;
41
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-docgen",
3
- "version": "1.282.0",
3
+ "version": "1.284.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Contract E-Signature APIs ",
6
6
  "main": "dist/es/es2018/industries-docgen.js",
@@ -43,11 +43,11 @@
43
43
  "test:unit": "jest"
44
44
  },
45
45
  "dependencies": {
46
- "@salesforce/lds-bindings": "^1.282.0"
46
+ "@salesforce/lds-bindings": "^1.284.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@salesforce/lds-compiler-plugins": "^1.282.0",
50
- "@salesforce/lds-karma": "^1.282.0"
49
+ "@salesforce/lds-compiler-plugins": "^1.284.0",
50
+ "@salesforce/lds-karma": "^1.284.0"
51
51
  },
52
52
  "nx": {
53
53
  "targets": {