@salesforce/lds-adapters-experience-marketing-integration 0.131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/experience-marketing-integration.js +934 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/getForm.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/saveForm.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/submitForm.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -0
- package/dist/es/es2018/types/src/generated/resources/getSitesMarketingIntegrationFormsByFormIdAndSiteId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postSitesMarketingIntegrationFormsBySiteId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postSitesMarketingIntegrationFormsDataByFormIdAndSiteId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/types/FormFieldInputList.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FormFieldInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FormFieldList.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FormFieldRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FormInputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/FormInputWrapperRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FormRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/FormSubmissionFieldInputList.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FormSubmissionFieldInputRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FormSubmissionInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FormSubmissionInputWrapperRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FormSubmissionRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +53 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +1016 -0
- package/src/raml/api.raml +209 -0
- package/src/raml/luvio.raml +32 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
|
+
declare const ObjectKeys: {
|
|
4
|
+
(o: object): string[];
|
|
5
|
+
(o: {}): string[];
|
|
6
|
+
}, ObjectFreeze: {
|
|
7
|
+
<T extends Function>(f: T): T;
|
|
8
|
+
<T_1 extends {
|
|
9
|
+
[idx: string]: object | U | null | undefined;
|
|
10
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
11
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
12
|
+
}, ObjectCreate: {
|
|
13
|
+
(o: object | null): any;
|
|
14
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
15
|
+
};
|
|
16
|
+
export { ObjectFreeze, ObjectCreate, ObjectKeys };
|
|
17
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
18
|
+
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
19
|
+
export interface AdapterValidationConfig {
|
|
20
|
+
displayName: string;
|
|
21
|
+
parameters: {
|
|
22
|
+
required: string[];
|
|
23
|
+
optional: string[];
|
|
24
|
+
unsupported?: string[];
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Validates an adapter config is well-formed.
|
|
29
|
+
* @param config The config to validate.
|
|
30
|
+
* @param adapter The adapter validation configuration.
|
|
31
|
+
* @param oneOf The keys the config must contain at least one of.
|
|
32
|
+
* @throws A TypeError if config doesn't satisfy the adapter's config validation.
|
|
33
|
+
*/
|
|
34
|
+
export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
|
|
35
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
36
|
+
export type UncoercedConfiguration<Base, Options extends {
|
|
37
|
+
[key in keyof Base]?: any;
|
|
38
|
+
}> = {
|
|
39
|
+
[Key in keyof Base]?: Base[Key] | Options[Key];
|
|
40
|
+
};
|
|
41
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
42
|
+
export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
|
|
43
|
+
export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
|
|
44
|
+
export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
|
|
45
|
+
export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
|
|
46
|
+
export declare const snapshotRefreshOptions: {
|
|
47
|
+
overrides: {
|
|
48
|
+
headers: {
|
|
49
|
+
'Cache-Control': string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
55
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
56
|
+
* JSON.stringify({a: 1, b: 2})
|
|
57
|
+
* "{"a":1,"b":2}"
|
|
58
|
+
* JSON.stringify({b: 2, a: 1})
|
|
59
|
+
* "{"b":2,"a":1}"
|
|
60
|
+
* @param data Data to be JSON-stringified.
|
|
61
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
62
|
+
*/
|
|
63
|
+
export declare function stableJSONStringify(node: any): string | undefined;
|
|
64
|
+
export declare function getFetchResponseStatusText(status: number): string;
|
|
65
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
66
|
+
export declare const keyPrefix = "marketing-integration";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getSitesMarketingIntegrationFormsByFormIdAndSiteId_ResourceRequestConfig } from '../resources/getSitesMarketingIntegrationFormsByFormIdAndSiteId';
|
|
3
|
+
import { 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';
|
|
4
|
+
import { FormRepresentation as types_FormRepresentation_FormRepresentation, KeyParams as types_FormRepresentation_KeyParams } from '../types/FormRepresentation';
|
|
5
|
+
export declare const adapterName = "getForm";
|
|
6
|
+
export declare const getForm_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetFormConfig {
|
|
8
|
+
formId: string;
|
|
9
|
+
siteId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: GetFormConfig): resources_getSitesMarketingIntegrationFormsByFormIdAndSiteId_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetFormConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetFormConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetFormConfig>): adapter$45$utils_Untrusted<GetFormConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetFormConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetFormConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFormConfig): $64$luvio_engine_Snapshot<types_FormRepresentation_FormRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetFormConfig, resourceParams: resources_getSitesMarketingIntegrationFormsByFormIdAndSiteId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FormRepresentation_FormRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_FormRepresentation_FormRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FormRepresentation_FormRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FormRepresentation_FormRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetFormConfig, resourceParams: resources_getSitesMarketingIntegrationFormsByFormIdAndSiteId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetFormConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_FormRepresentation_FormRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetFormConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_FormRepresentation_FormRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_FormRepresentation_FormRepresentation>): $64$luvio_engine_Snapshot<types_FormRepresentation_FormRepresentation, any>;
|
|
27
|
+
export declare const getFormAdapterFactory: $64$luvio_engine_AdapterFactory<GetFormConfig, types_FormRepresentation_FormRepresentation>;
|
|
28
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_FormRepresentation_KeyParams, any>[]) => void;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { FormInputRepresentation as types_FormInputRepresentation_FormInputRepresentation } from '../types/FormInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postSitesMarketingIntegrationFormsBySiteId_ResourceRequestConfig } from '../resources/postSitesMarketingIntegrationFormsBySiteId';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { FormRepresentation as types_FormRepresentation_FormRepresentation } from '../types/FormRepresentation';
|
|
6
|
+
export declare const adapterName = "saveForm";
|
|
7
|
+
export declare const saveForm_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface SaveFormConfig {
|
|
9
|
+
siteId: string;
|
|
10
|
+
formInput: types_FormInputRepresentation_FormInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: SaveFormConfig): resources_postSitesMarketingIntegrationFormsBySiteId_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<SaveFormConfig>): adapter$45$utils_Untrusted<SaveFormConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): SaveFormConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: SaveFormConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_FormRepresentation_FormRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FormRepresentation_FormRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FormRepresentation_FormRepresentation, any>>;
|
|
16
|
+
export declare const saveFormAdapterFactory: $64$luvio_engine_AdapterFactory<SaveFormConfig, types_FormRepresentation_FormRepresentation>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { FormSubmissionInputRepresentation as types_FormSubmissionInputRepresentation_FormSubmissionInputRepresentation } from '../types/FormSubmissionInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postSitesMarketingIntegrationFormsDataByFormIdAndSiteId_ResourceRequestConfig } from '../resources/postSitesMarketingIntegrationFormsDataByFormIdAndSiteId';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { FormSubmissionRepresentation as types_FormSubmissionRepresentation_FormSubmissionRepresentation } from '../types/FormSubmissionRepresentation';
|
|
6
|
+
export declare const adapterName = "submitForm";
|
|
7
|
+
export declare const submitForm_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface SubmitFormConfig {
|
|
9
|
+
formId: string;
|
|
10
|
+
siteId: string;
|
|
11
|
+
formSubmissionInput: types_FormSubmissionInputRepresentation_FormSubmissionInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare function createResourceParams(config: SubmitFormConfig): resources_postSitesMarketingIntegrationFormsDataByFormIdAndSiteId_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<SubmitFormConfig>): adapter$45$utils_Untrusted<SubmitFormConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): SubmitFormConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: SubmitFormConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_FormSubmissionRepresentation_FormSubmissionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_FormSubmissionRepresentation_FormSubmissionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_FormSubmissionRepresentation_FormSubmissionRepresentation, any>>;
|
|
17
|
+
export declare const submitFormAdapterFactory: $64$luvio_engine_AdapterFactory<SubmitFormConfig, types_FormSubmissionRepresentation_FormSubmissionRepresentation>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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 { FormRepresentation as types_FormRepresentation_FormRepresentation } from '../types/FormRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
formId: string;
|
|
6
|
+
siteId: 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(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FormRepresentation_FormRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FormRepresentation_FormRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FormRepresentation_FormRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FormRepresentation_FormRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FormRepresentation_FormRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FormRepresentation_FormRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FormRepresentation_FormRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
17
|
+
export declare function createResourceRequestFromRepresentation(representation: types_FormRepresentation_FormRepresentation): $64$luvio_engine_ResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/postSitesMarketingIntegrationFormsBySiteId.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormInputRepresentation as types_FormInputRepresentation_FormInputRepresentation } from '../types/FormInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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';
|
|
3
|
+
import { FormRepresentation as types_FormRepresentation_FormRepresentation } from '../types/FormRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
siteId: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
formInput: types_FormInputRepresentation_FormInputRepresentation;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FormRepresentation_FormRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FormRepresentation_FormRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FormRepresentation_FormRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FormRepresentation_FormRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FormRepresentation_FormRepresentation, any>;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FormSubmissionInputRepresentation as types_FormSubmissionInputRepresentation_FormSubmissionInputRepresentation } from '../types/FormSubmissionInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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';
|
|
3
|
+
import { FormSubmissionRepresentation as types_FormSubmissionRepresentation_FormSubmissionRepresentation } from '../types/FormSubmissionRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
formId: string;
|
|
7
|
+
siteId: string;
|
|
8
|
+
};
|
|
9
|
+
body: {
|
|
10
|
+
formSubmissionInput: types_FormSubmissionInputRepresentation_FormSubmissionInputRepresentation;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FormSubmissionRepresentation_FormSubmissionRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FormSubmissionRepresentation_FormSubmissionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FormSubmissionRepresentation_FormSubmissionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FormSubmissionRepresentation_FormSubmissionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FormSubmissionRepresentation_FormSubmissionRepresentation, any>;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FormFieldInputRepresentation as FormFieldInputRepresentation_FormFieldInputRepresentation } from './FormFieldInputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "58064b8d0fe8e6e167c193cb7b90c68c";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FormFieldInputList, existing: FormFieldInputListNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormFieldInputListNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FormFieldInputListNormalized, incoming: FormFieldInputListNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FormFieldInputList): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormFieldInputList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Wraps a list of form fields in a marketing integration form.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FormFieldInputListNormalized {
|
|
19
|
+
/** List of form fields associated with the form. */
|
|
20
|
+
formFields: Array<FormFieldInputRepresentation_FormFieldInputRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Wraps a list of form fields in a marketing integration form.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface FormFieldInputList {
|
|
29
|
+
formFields: Array<FormFieldInputRepresentation_FormFieldInputRepresentation>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "9e6a15cc965349c99dc28fe627d4ea8a";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FormFieldInputRepresentation, existing: FormFieldInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormFieldInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FormFieldInputRepresentationNormalized, incoming: FormFieldInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: FormFieldInputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormFieldInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Input representation for Marketing Integration form field.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface FormFieldInputRepresentationNormalized {
|
|
18
|
+
/** Set a name of the form field. */
|
|
19
|
+
name: string;
|
|
20
|
+
/** Set a type of the form field. */
|
|
21
|
+
type: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Input representation for Marketing Integration form field.
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface FormFieldInputRepresentation {
|
|
30
|
+
name: string;
|
|
31
|
+
type: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FormFieldRepresentation as FormFieldRepresentation_FormFieldRepresentation } from './FormFieldRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "8bc86c34b586e7b5050caa1c4c45a801";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FormFieldList, existing: FormFieldListNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormFieldListNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FormFieldListNormalized, incoming: FormFieldListNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FormFieldList): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormFieldList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* List of form fields.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FormFieldListNormalized {
|
|
19
|
+
/** List of form fields associated with the marketing integration form. */
|
|
20
|
+
formFields: Array<FormFieldRepresentation_FormFieldRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* List of form fields.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface FormFieldList {
|
|
29
|
+
formFields: Array<FormFieldRepresentation_FormFieldRepresentation>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "dbb6d8636675e188a8a1a56ad6dead24";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FormFieldRepresentation, existing: FormFieldRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormFieldRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FormFieldRepresentationNormalized, incoming: FormFieldRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: FormFieldRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormFieldRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* A representation for a Marketing Integration form field.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface FormFieldRepresentationNormalized {
|
|
18
|
+
/** Name of the form field. */
|
|
19
|
+
name: string;
|
|
20
|
+
/** Type of the form field. */
|
|
21
|
+
type: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A representation for a Marketing Integration form field.
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface FormFieldRepresentation {
|
|
30
|
+
name: string;
|
|
31
|
+
type: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { FormFieldInputList as FormFieldInputList_FormFieldInputList } from './FormFieldInputList';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "1225b96b25ed6e79f4d334230db7a127";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FormInputRepresentation, existing: FormInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FormInputRepresentationNormalized, incoming: FormInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FormInputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Input representation for Marketing Integration forms.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FormInputRepresentationNormalized {
|
|
19
|
+
/** Set form fields for this form. */
|
|
20
|
+
formFieldsList: FormFieldInputList_FormFieldInputList;
|
|
21
|
+
/** Form name. */
|
|
22
|
+
formName: string;
|
|
23
|
+
/** Set Marketing Cloud's member identification code (mid) associated with this form */
|
|
24
|
+
memberIdentificationCode: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Input representation for Marketing Integration forms.
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface FormInputRepresentation {
|
|
33
|
+
formFieldsList: FormFieldInputList_FormFieldInputList;
|
|
34
|
+
formName: string;
|
|
35
|
+
memberIdentificationCode: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FormInputRepresentation as FormInputRepresentation_FormInputRepresentation } from './FormInputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "aad2fb1451a39f17b03dc11b1cad31ec";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FormInputWrapperRepresentation, existing: FormInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormInputWrapperRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FormInputWrapperRepresentationNormalized, incoming: FormInputWrapperRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FormInputWrapperRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* The data in the http body of Marketing Integration form creation.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FormInputWrapperRepresentationNormalized {
|
|
19
|
+
/** Form Input Representation */
|
|
20
|
+
formInput: FormInputRepresentation_FormInputRepresentation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The data in the http body of Marketing Integration form creation.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface FormInputWrapperRepresentation {
|
|
29
|
+
formInput: FormInputRepresentation_FormInputRepresentation;
|
|
30
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { FormFieldList as FormFieldList_FormFieldList } from './FormFieldList';
|
|
2
|
+
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';
|
|
3
|
+
export declare const TTL = 30000;
|
|
4
|
+
export declare const VERSION = "3c88c4c66505e9fa43c3198e8e40cd5d";
|
|
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
|
+
form_id: string;
|
|
9
|
+
}
|
|
10
|
+
export type FormRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialFormRepresentationNormalizedKeyMetadata = 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): FormRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: FormRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: FormRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: FormRepresentation, existing: FormRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
18
|
+
export declare function equals(existing: FormRepresentationNormalized, incoming: FormRepresentationNormalized): boolean;
|
|
19
|
+
export declare function deepFreeze(input: FormRepresentation): void;
|
|
20
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
21
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
22
|
+
/**
|
|
23
|
+
* A representation for a Marketing Integration form.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* form_id (string): formId
|
|
27
|
+
*/
|
|
28
|
+
export interface FormRepresentationNormalized {
|
|
29
|
+
/** Data extension id associated with the marketing integration form. */
|
|
30
|
+
dataExtensionId: string;
|
|
31
|
+
/** List of form fields associated with the marketing integration form. */
|
|
32
|
+
formFieldsList: FormFieldList_FormFieldList;
|
|
33
|
+
/** Marketing integration form id. */
|
|
34
|
+
formId: string;
|
|
35
|
+
/** Name of the marketing integration form. */
|
|
36
|
+
formName: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* A representation for a Marketing Integration form.
|
|
40
|
+
*
|
|
41
|
+
* Keys:
|
|
42
|
+
* form_id (string): formId
|
|
43
|
+
*/
|
|
44
|
+
export interface FormRepresentation {
|
|
45
|
+
dataExtensionId: string;
|
|
46
|
+
formFieldsList: FormFieldList_FormFieldList;
|
|
47
|
+
formId: string;
|
|
48
|
+
formName: string;
|
|
49
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FormSubmissionFieldInputRepresentation as FormSubmissionFieldInputRepresentation_FormSubmissionFieldInputRepresentation } from './FormSubmissionFieldInputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "b56d77002de6f010b618ca1f05e1126a";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FormSubmissionFieldInputList, existing: FormSubmissionFieldInputListNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormSubmissionFieldInputListNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FormSubmissionFieldInputListNormalized, incoming: FormSubmissionFieldInputListNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FormSubmissionFieldInputList): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormSubmissionFieldInputList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Wraps a list of form submission fields in a marketing integration form.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FormSubmissionFieldInputListNormalized {
|
|
19
|
+
/** List of form fields associated with the form submission. */
|
|
20
|
+
formFields: Array<FormSubmissionFieldInputRepresentation_FormSubmissionFieldInputRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Wraps a list of form submission fields in a marketing integration form.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface FormSubmissionFieldInputList {
|
|
29
|
+
formFields: Array<FormSubmissionFieldInputRepresentation_FormSubmissionFieldInputRepresentation>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "86282b0d5f7d7045f1204eb166bf5723";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FormSubmissionFieldInputRepresentation, existing: FormSubmissionFieldInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormSubmissionFieldInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FormSubmissionFieldInputRepresentationNormalized, incoming: FormSubmissionFieldInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: FormSubmissionFieldInputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormSubmissionFieldInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Input representation for Marketing Integration form field submission.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface FormSubmissionFieldInputRepresentationNormalized {
|
|
18
|
+
/** Set the name of the form field. */
|
|
19
|
+
name: string;
|
|
20
|
+
/** Set the value of the form field. */
|
|
21
|
+
value: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Input representation for Marketing Integration form field submission.
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface FormSubmissionFieldInputRepresentation {
|
|
30
|
+
name: string;
|
|
31
|
+
value: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FormSubmissionFieldInputList as FormSubmissionFieldInputList_FormSubmissionFieldInputList } from './FormSubmissionFieldInputList';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "a8ef4218e7383d5ac84dd8f5006fc928";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FormSubmissionInputRepresentation, existing: FormSubmissionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormSubmissionInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FormSubmissionInputRepresentationNormalized, incoming: FormSubmissionInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FormSubmissionInputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormSubmissionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Input representation for Marketing Integration forms submission.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FormSubmissionInputRepresentationNormalized {
|
|
19
|
+
/** Set form fields for this form. */
|
|
20
|
+
formFieldsList: FormSubmissionFieldInputList_FormSubmissionFieldInputList;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Input representation for Marketing Integration forms submission.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface FormSubmissionInputRepresentation {
|
|
29
|
+
formFieldsList: FormSubmissionFieldInputList_FormSubmissionFieldInputList;
|
|
30
|
+
}
|
package/dist/es/es2018/types/src/generated/types/FormSubmissionInputWrapperRepresentation.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FormSubmissionInputRepresentation as FormSubmissionInputRepresentation_FormSubmissionInputRepresentation } from './FormSubmissionInputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "85c0c715408edf9f395207eec88a1df0";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FormSubmissionInputWrapperRepresentation, existing: FormSubmissionInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormSubmissionInputWrapperRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FormSubmissionInputWrapperRepresentationNormalized, incoming: FormSubmissionInputWrapperRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FormSubmissionInputWrapperRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormSubmissionInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* The data in the http body of forms submission.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FormSubmissionInputWrapperRepresentationNormalized {
|
|
19
|
+
/** Set form fields for this form. */
|
|
20
|
+
formSubmissionInput: FormSubmissionInputRepresentation_FormSubmissionInputRepresentation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The data in the http body of forms submission.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface FormSubmissionInputWrapperRepresentation {
|
|
29
|
+
formSubmissionInput: FormSubmissionInputRepresentation_FormSubmissionInputRepresentation;
|
|
30
|
+
}
|