@salesforce/lds-adapters-industries-constraints 1.308.0-dev2 → 1.308.0-dev4
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-constraints.js +356 -128
- package/dist/es/es2018/types/src/generated/adapters/createConstraintVersion.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/getConstraintVersion.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/updateConstraintVersion.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -4
- package/dist/es/es2018/types/src/generated/resources/{getIndustriesConstraintActionsViewByExpressionSetDefinitionVersionId.d.ts → getIndustriesConstraintsVersionsByExpressionSetId.d.ts} +5 -5
- package/dist/es/es2018/types/src/generated/resources/getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/{patchIndustriesConstraintActionsUpdateByExpressionSetDefinitionVersionId.d.ts → patchIndustriesConstraintsVersionsByExpressionSetId.d.ts} +4 -4
- package/dist/es/es2018/types/src/generated/resources/patchIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/postIndustriesConstraintsVersionsByExpressionSetId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/{ViewConstraintOutputRepresentation.d.ts → ConstraintVersionOutputRepresentation.d.ts} +8 -8
- package/dist/es/es2018/types/src/generated/types/CreateConstraintVersionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CreateConstraintVersionOutputRepresentation.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/types/{ConstraintInputRepresentation.d.ts → UpdateConstraintVersionInputRepresentation.d.ts} +8 -8
- package/dist/es/es2018/types/src/generated/types/{ConstraintOutputRepresentation.d.ts → UpdateConstraintVersionOutputRepresentation.d.ts} +14 -14
- package/package.json +3 -3
- package/sfdc/index.js +359 -126
- package/src/raml/api.raml +123 -42
- package/src/raml/luvio.raml +24 -17
- package/dist/es/es2018/types/src/generated/adapters/getViewConstraint.d.ts +0 -27
- package/dist/es/es2018/types/src/generated/adapters/patchUpdateConstraint.d.ts +0 -18
|
@@ -0,0 +1,18 @@
|
|
|
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_postIndustriesConstraintsVersionsByExpressionSetId_ResourceRequestConfig } from '../resources/postIndustriesConstraintsVersionsByExpressionSetId';
|
|
4
|
+
import { CreateConstraintVersionOutputRepresentation as types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation } from '../types/CreateConstraintVersionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "createConstraintVersion";
|
|
6
|
+
export declare const createConstraintVersion_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const createConstraintVersion_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateConstraintVersionConfig {
|
|
9
|
+
expressionSetId: string;
|
|
10
|
+
constraintModel: string;
|
|
11
|
+
description: string;
|
|
12
|
+
status: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const createResourceParams: (config: CreateConstraintVersionConfig) => resources_postIndustriesConstraintsVersionsByExpressionSetId_ResourceRequestConfig;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateConstraintVersionConfig>): adapter$45$utils_Untrusted<CreateConstraintVersionConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateConstraintVersionConfig | null;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateConstraintVersionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, any>>;
|
|
18
|
+
export declare const createConstraintVersionAdapterFactory: $64$luvio_engine_AdapterFactory<CreateConstraintVersionConfig, types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, 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_getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig } from '../resources/getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId';
|
|
4
|
+
import { ConstraintVersionOutputRepresentation as types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation } from '../types/ConstraintVersionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getConstraintVersion";
|
|
6
|
+
export declare const getConstraintVersion_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getConstraintVersion_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetConstraintVersionConfig {
|
|
9
|
+
expressionSetId: string;
|
|
10
|
+
expressionSetVersionId: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetConstraintVersionConfig) => resources_getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetConstraintVersionConfig>): adapter$45$utils_Untrusted<GetConstraintVersionConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetConstraintVersionConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig): $64$luvio_engine_Snapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig, resourceParams: resources_getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig, resourceParams: resources_getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetConstraintVersionConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): $64$luvio_engine_Snapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>;
|
|
28
|
+
export declare const getConstraintVersionAdapterFactory: $64$luvio_engine_AdapterFactory<GetConstraintVersionConfig, types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>;
|
|
@@ -0,0 +1,19 @@
|
|
|
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_patchIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig } from '../resources/patchIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId';
|
|
4
|
+
import { UpdateConstraintVersionOutputRepresentation as types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation } from '../types/UpdateConstraintVersionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "updateConstraintVersion";
|
|
6
|
+
export declare const updateConstraintVersion_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const updateConstraintVersion_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface UpdateConstraintVersionConfig {
|
|
9
|
+
expressionSetId: string;
|
|
10
|
+
expressionSetVersionId: string;
|
|
11
|
+
constraintModel?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
status?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const createResourceParams: (config: UpdateConstraintVersionConfig) => resources_patchIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateConstraintVersionConfig>): adapter$45$utils_Untrusted<UpdateConstraintVersionConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateConstraintVersionConfig | null;
|
|
18
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateConstraintVersionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, any>>;
|
|
19
|
+
export declare const updateConstraintVersionAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateConstraintVersionConfig, types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { createConstraintVersionAdapterFactory } from '../adapters/createConstraintVersion';
|
|
2
|
+
export { getConstraintVersionAdapterFactory } from '../adapters/getConstraintVersion';
|
|
3
|
+
export { updateConstraintVersionAdapterFactory } from '../adapters/updateConstraintVersion';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
declare let
|
|
2
|
-
declare let
|
|
3
|
-
declare let
|
|
4
|
-
|
|
1
|
+
declare let createConstraintVersion: any;
|
|
2
|
+
declare let getConstraintVersion: any;
|
|
3
|
+
declare let updateConstraintVersion: any;
|
|
4
|
+
declare let getConstraintVersion_imperative: any;
|
|
5
|
+
export { createConstraintVersion, getConstraintVersion, updateConstraintVersion, getConstraintVersion_imperative, };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
-
import {
|
|
2
|
+
import { ConstraintVersionOutputRepresentation as types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation } from '../types/ConstraintVersionOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
5
|
-
|
|
5
|
+
expressionSetId: string;
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response:
|
|
12
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<
|
|
13
|
-
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
15
|
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { ConstraintVersionOutputRepresentation as types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation } from '../types/ConstraintVersionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
expressionSetId: string;
|
|
6
|
+
expressionSetVersionId: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
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 {
|
|
2
|
+
import { UpdateConstraintVersionOutputRepresentation as types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation } from '../types/UpdateConstraintVersionOutputRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
5
|
-
|
|
5
|
+
expressionSetId: string;
|
|
6
6
|
};
|
|
7
7
|
body: {
|
|
8
8
|
constraintModel?: string;
|
|
@@ -11,7 +11,7 @@ export interface ResourceRequestConfig {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
-
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response:
|
|
15
|
-
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation): void;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, any>;
|
|
16
16
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
17
|
export default createResourceRequest;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { UpdateConstraintVersionOutputRepresentation as types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation } from '../types/UpdateConstraintVersionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
expressionSetId: string;
|
|
6
|
+
expressionSetVersionId: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
constraintModel?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
status?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
15
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation): void;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, any>;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { CreateConstraintVersionOutputRepresentation as types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation } from '../types/CreateConstraintVersionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
expressionSetId: string;
|
|
6
|
+
};
|
|
7
|
+
body: {
|
|
8
|
+
constraintModel: string;
|
|
9
|
+
description: string;
|
|
10
|
+
status: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation): void;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, any>;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { CreateConstraintVersionOutputRepresentation as types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation } from '../types/CreateConstraintVersionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
expressionSetId: string;
|
|
6
|
+
expressionSetVersionId: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
constraintModel: string;
|
|
10
|
+
description: string;
|
|
11
|
+
status: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
15
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation): void;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, any>;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
|
@@ -1,20 +1,20 @@
|
|
|
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 = 1000;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "77293f36036fd711f0617fb4a5f21057";
|
|
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:
|
|
6
|
+
export declare function normalize(input: ConstraintVersionOutputRepresentation, existing: ConstraintVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConstraintVersionOutputRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
-
export declare function equals(existing:
|
|
8
|
+
export declare function equals(existing: ConstraintVersionOutputRepresentationNormalized, incoming: ConstraintVersionOutputRepresentationNormalized): 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:
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ConstraintVersionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Constraint Version Connect API output representation
|
|
13
13
|
*
|
|
14
14
|
* Keys:
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface ConstraintVersionOutputRepresentationNormalized {
|
|
18
18
|
/** Constraint Model */
|
|
19
19
|
constraintModel: string;
|
|
20
20
|
/** Constraint Description */
|
|
@@ -23,12 +23,12 @@ export interface ViewConstraintOutputRepresentationNormalized {
|
|
|
23
23
|
status: string;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Constraint Version Connect API output representation
|
|
27
27
|
*
|
|
28
28
|
* Keys:
|
|
29
29
|
* (none)
|
|
30
30
|
*/
|
|
31
|
-
export interface
|
|
31
|
+
export interface ConstraintVersionOutputRepresentation {
|
|
32
32
|
constraintModel: string;
|
|
33
33
|
description: string;
|
|
34
34
|
status: string;
|
package/dist/es/es2018/types/src/generated/types/CreateConstraintVersionInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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 = "21d2810addc0c5d95b1108ba4df3a647";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CreateConstraintVersionInputRepresentation, existing: CreateConstraintVersionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateConstraintVersionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CreateConstraintVersionInputRepresentationNormalized, incoming: CreateConstraintVersionInputRepresentationNormalized): 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: CreateConstraintVersionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Create new constraint input representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CreateConstraintVersionInputRepresentationNormalized {
|
|
17
|
+
/** Constraint model of the version */
|
|
18
|
+
constraintModel: string;
|
|
19
|
+
/** Description of the constraint version */
|
|
20
|
+
description: string;
|
|
21
|
+
/** Status of the constraint version */
|
|
22
|
+
status: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Create new constraint input representation
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface CreateConstraintVersionInputRepresentation {
|
|
31
|
+
constraintModel: string;
|
|
32
|
+
description: string;
|
|
33
|
+
status: string;
|
|
34
|
+
}
|
package/dist/es/es2018/types/src/generated/types/CreateConstraintVersionOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
import { ConstraintErrorResponseRepresentation as ConstraintErrorResponseRepresentation_ConstraintErrorResponseRepresentation } from './ConstraintErrorResponseRepresentation';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "faf4a72fe3721080fa45e289d0a79216";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
success: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type CreateConstraintVersionOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialCreateConstraintVersionOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): CreateConstraintVersionOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: CreateConstraintVersionOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: CreateConstraintVersionOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: CreateConstraintVersionOutputRepresentation, existing: CreateConstraintVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateConstraintVersionOutputRepresentationNormalized;
|
|
17
|
+
export interface DynamicIngestParams {
|
|
18
|
+
errors: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
}
|
|
20
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: CreateConstraintVersionOutputRepresentation, existing: CreateConstraintVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => CreateConstraintVersionOutputRepresentationNormalized;
|
|
21
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
22
|
+
export interface DynamicSelectParams {
|
|
23
|
+
errors?: $64$luvio_engine_LinkSelection;
|
|
24
|
+
}
|
|
25
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
26
|
+
export declare function equals(existing: CreateConstraintVersionOutputRepresentationNormalized, incoming: CreateConstraintVersionOutputRepresentationNormalized): boolean;
|
|
27
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
28
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CreateConstraintVersionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
29
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
30
|
+
/**
|
|
31
|
+
* Create Constraint Version Connect API Output
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* success (boolean): success
|
|
35
|
+
*/
|
|
36
|
+
export interface CreateConstraintVersionOutputRepresentationNormalized {
|
|
37
|
+
/** List of errors encountered during the API processing. */
|
|
38
|
+
errors: Array<$64$luvio_engine_StoreLink>;
|
|
39
|
+
/** API request successfully completed */
|
|
40
|
+
success: boolean;
|
|
41
|
+
/** New constraint version ID */
|
|
42
|
+
versionId: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Create Constraint Version Connect API Output
|
|
46
|
+
*
|
|
47
|
+
* Keys:
|
|
48
|
+
* success (boolean): success
|
|
49
|
+
*/
|
|
50
|
+
export interface CreateConstraintVersionOutputRepresentation {
|
|
51
|
+
errors: Array<ConstraintErrorResponseRepresentation_ConstraintErrorResponseRepresentation>;
|
|
52
|
+
success: boolean;
|
|
53
|
+
versionId: string;
|
|
54
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
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 = "263cdc808d78644f2322157dbc0dea1f";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
|
-
export declare function normalize(input:
|
|
5
|
+
export declare function normalize(input: UpdateConstraintVersionInputRepresentation, existing: UpdateConstraintVersionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateConstraintVersionInputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
-
export declare function equals(existing:
|
|
7
|
+
export declare function equals(existing: UpdateConstraintVersionInputRepresentationNormalized, incoming: UpdateConstraintVersionInputRepresentationNormalized): boolean;
|
|
8
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:
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateConstraintVersionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
|
-
* Update
|
|
11
|
+
* Update constraint input representation
|
|
12
12
|
*
|
|
13
13
|
* Keys:
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
|
-
export interface
|
|
16
|
+
export interface UpdateConstraintVersionInputRepresentationNormalized {
|
|
17
17
|
/** Constraint Model */
|
|
18
18
|
constraintModel?: string;
|
|
19
19
|
/** Constraint Model */
|
|
@@ -22,12 +22,12 @@ export interface ConstraintInputRepresentationNormalized {
|
|
|
22
22
|
status?: string;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* Update
|
|
25
|
+
* Update constraint input representation
|
|
26
26
|
*
|
|
27
27
|
* Keys:
|
|
28
28
|
* (none)
|
|
29
29
|
*/
|
|
30
|
-
export interface
|
|
30
|
+
export interface UpdateConstraintVersionInputRepresentation {
|
|
31
31
|
constraintModel?: string;
|
|
32
32
|
description?: string;
|
|
33
33
|
status?: string;
|
|
@@ -1,51 +1,51 @@
|
|
|
1
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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
import { ConstraintErrorResponseRepresentation as ConstraintErrorResponseRepresentation_ConstraintErrorResponseRepresentation } from './ConstraintErrorResponseRepresentation';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "b590e58041197454c14f0163a2fc28e3";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
8
|
success: boolean;
|
|
9
9
|
}
|
|
10
|
-
export type
|
|
11
|
-
export type
|
|
10
|
+
export type UpdateConstraintVersionOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialUpdateConstraintVersionOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
12
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
-
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams):
|
|
14
|
-
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object:
|
|
15
|
-
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object:
|
|
16
|
-
export declare function normalize(input:
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): UpdateConstraintVersionOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: UpdateConstraintVersionOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: UpdateConstraintVersionOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: UpdateConstraintVersionOutputRepresentation, existing: UpdateConstraintVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateConstraintVersionOutputRepresentationNormalized;
|
|
17
17
|
export interface DynamicIngestParams {
|
|
18
18
|
errors: $64$luvio_engine_ResourceIngest;
|
|
19
19
|
}
|
|
20
|
-
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input:
|
|
20
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: UpdateConstraintVersionOutputRepresentation, existing: UpdateConstraintVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => UpdateConstraintVersionOutputRepresentationNormalized;
|
|
21
21
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
22
22
|
export interface DynamicSelectParams {
|
|
23
23
|
errors?: $64$luvio_engine_LinkSelection;
|
|
24
24
|
}
|
|
25
25
|
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
26
|
-
export declare function equals(existing:
|
|
26
|
+
export declare function equals(existing: UpdateConstraintVersionOutputRepresentationNormalized, incoming: UpdateConstraintVersionOutputRepresentationNormalized): boolean;
|
|
27
27
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
28
|
-
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input:
|
|
28
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateConstraintVersionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
29
29
|
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
30
30
|
/**
|
|
31
|
-
* Update Constraint Connect API
|
|
31
|
+
* Update Constraint Version Connect API Output
|
|
32
32
|
*
|
|
33
33
|
* Keys:
|
|
34
34
|
* success (boolean): success
|
|
35
35
|
*/
|
|
36
|
-
export interface
|
|
36
|
+
export interface UpdateConstraintVersionOutputRepresentationNormalized {
|
|
37
37
|
/** List of errors encountered during the API processing. */
|
|
38
38
|
errors: Array<$64$luvio_engine_StoreLink>;
|
|
39
39
|
/** API request successfully completed */
|
|
40
40
|
success: boolean;
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
|
-
* Update Constraint Connect API
|
|
43
|
+
* Update Constraint Version Connect API Output
|
|
44
44
|
*
|
|
45
45
|
* Keys:
|
|
46
46
|
* success (boolean): success
|
|
47
47
|
*/
|
|
48
|
-
export interface
|
|
48
|
+
export interface UpdateConstraintVersionOutputRepresentation {
|
|
49
49
|
errors: Array<ConstraintErrorResponseRepresentation_ConstraintErrorResponseRepresentation>;
|
|
50
50
|
success: boolean;
|
|
51
51
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-constraints",
|
|
3
|
-
"version": "1.308.0-
|
|
3
|
+
"version": "1.308.0-dev4",
|
|
4
4
|
"description": "Read/Update CML API",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/industries-constraints.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.308.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.308.0-dev4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.308.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.308.0-dev4"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|