@salesforce/lds-adapters-commerce-extensions 1.121.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/commerce-extensions.js +2051 -0
- package/dist/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/types/src/generated/adapters/createMapping.d.ts +17 -0
- package/dist/types/src/generated/adapters/deleteMapping.d.ts +13 -0
- package/dist/types/src/generated/adapters/getExtensions.d.ts +25 -0
- package/dist/types/src/generated/adapters/getMapping.d.ts +27 -0
- package/dist/types/src/generated/adapters/getMappings.d.ts +27 -0
- package/dist/types/src/generated/adapters/getProviders.d.ts +27 -0
- package/dist/types/src/generated/adapters/updateMapping.d.ts +18 -0
- package/dist/types/src/generated/artifacts/main.d.ts +7 -0
- package/dist/types/src/generated/artifacts/sfdc.d.ts +13 -0
- package/dist/types/src/generated/resources/deleteCommerceExtensionMappingsByMappingId.d.ts +12 -0
- package/dist/types/src/generated/resources/getCommerceExtensionExtensions.d.ts +12 -0
- package/dist/types/src/generated/resources/getCommerceExtensionMappings.d.ts +16 -0
- package/dist/types/src/generated/resources/getCommerceExtensionMappingsByMappingId.d.ts +16 -0
- package/dist/types/src/generated/resources/getCommerceExtensionProviders.d.ts +16 -0
- package/dist/types/src/generated/resources/postCommerceExtensionMappings.d.ts +15 -0
- package/dist/types/src/generated/resources/putCommerceExtensionMappingsByMappingId.d.ts +18 -0
- package/dist/types/src/generated/types/ApexClassOutputRepresentation.d.ts +38 -0
- package/dist/types/src/generated/types/EffectiveMappingRepresentation.d.ts +29 -0
- package/dist/types/src/generated/types/ExtensionOutputCollectionRepresentation.d.ts +43 -0
- package/dist/types/src/generated/types/ExtensionOutputRepresentation.d.ts +57 -0
- package/dist/types/src/generated/types/MappingInputRepresentation.d.ts +48 -0
- package/dist/types/src/generated/types/MappingOutputCollectionRepresentation.d.ts +43 -0
- package/dist/types/src/generated/types/MappingOutputRepresentation.d.ts +49 -0
- package/dist/types/src/generated/types/ProviderOutputCollectionRepresentation.d.ts +43 -0
- package/dist/types/src/generated/types/ProviderOutputRepresentation.d.ts +53 -0
- package/dist/types/src/generated/types/type-utils.d.ts +39 -0
- package/dist/types/src/main.d.ts +2 -0
- package/dist/types/src/sfdc.d.ts +3 -0
- package/dist/umd/es2018/commerce-extensions.js +2066 -0
- package/dist/umd/es5/commerce-extensions.js +2074 -0
- package/package.json +68 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2164 -0
- package/src/raml/api.raml +256 -0
- package/src/raml/luvio.raml +67 -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 = "extensions";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_postCommerceExtensionMappings_ResourceRequestConfig } from '../resources/postCommerceExtensionMappings';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { MappingOutputRepresentation as types_MappingOutputRepresentation_MappingOutputRepresentation } from '../types/MappingOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "createMapping";
|
|
6
|
+
export declare const createMapping_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface CreateMappingConfig {
|
|
8
|
+
epn: string;
|
|
9
|
+
id?: string;
|
|
10
|
+
providerName: string;
|
|
11
|
+
webstoreId: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function createResourceParams(config: CreateMappingConfig): resources_postCommerceExtensionMappings_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateMappingConfig>): adapter$45$utils_Untrusted<CreateMappingConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateMappingConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateMappingConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, any>>;
|
|
17
|
+
export declare const createMappingAdapterFactory: $64$luvio_engine_AdapterFactory<CreateMappingConfig, types_MappingOutputRepresentation_MappingOutputRepresentation>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_deleteCommerceExtensionMappingsByMappingId_ResourceRequestConfig } from '../resources/deleteCommerceExtensionMappingsByMappingId';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, DeleteAdapterFactory as $64$luvio_engine_DeleteAdapterFactory } from '@luvio/engine';
|
|
4
|
+
export declare const adapterName = "deleteMapping";
|
|
5
|
+
export declare const deleteMapping_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
6
|
+
export interface DeleteMappingConfig {
|
|
7
|
+
mappingId: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function createResourceParams(config: DeleteMappingConfig): resources_deleteCommerceExtensionMappingsByMappingId_ResourceRequestConfig;
|
|
10
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeleteMappingConfig>): adapter$45$utils_Untrusted<DeleteMappingConfig>;
|
|
11
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeleteMappingConfig | null;
|
|
12
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeleteMappingConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<void>;
|
|
13
|
+
export declare const deleteMappingAdapterFactory: $64$luvio_engine_DeleteAdapterFactory<DeleteMappingConfig>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getCommerceExtensionExtensions_ResourceRequestConfig } from '../resources/getCommerceExtensionExtensions';
|
|
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 { ExtensionOutputCollectionRepresentation as types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation } from '../types/ExtensionOutputCollectionRepresentation';
|
|
5
|
+
export declare const adapterName = "getExtensions";
|
|
6
|
+
export declare const getExtensions_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetExtensionsConfig {
|
|
8
|
+
}
|
|
9
|
+
export declare function createResourceParams(config: GetExtensionsConfig): resources_getCommerceExtensionExtensions_ResourceRequestConfig;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetExtensionsConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetExtensionsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetExtensionsConfig>): adapter$45$utils_Untrusted<GetExtensionsConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetExtensionsConfig | null;
|
|
14
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetExtensionsConfig): $64$luvio_engine_Fragment;
|
|
15
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetExtensionsConfig): $64$luvio_engine_Snapshot<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation, any>;
|
|
16
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetExtensionsConfig, resourceParams: resources_getCommerceExtensionExtensions_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation, {}>>;
|
|
17
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetExtensionsConfig, resourceParams: resources_getCommerceExtensionExtensions_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
18
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetExtensionsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation, any>>;
|
|
19
|
+
export type BuildSnapshotContext = {
|
|
20
|
+
luvio: $64$luvio_engine_Luvio;
|
|
21
|
+
config: GetExtensionsConfig;
|
|
22
|
+
};
|
|
23
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation, any>>;
|
|
24
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation>): $64$luvio_engine_Snapshot<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation, any>;
|
|
25
|
+
export declare const getExtensionsAdapterFactory: $64$luvio_engine_AdapterFactory<GetExtensionsConfig, types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation>;
|
|
@@ -0,0 +1,27 @@
|
|
|
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_getCommerceExtensionMappingsByMappingId_ResourceRequestConfig } from '../resources/getCommerceExtensionMappingsByMappingId';
|
|
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 { MappingOutputRepresentation as types_MappingOutputRepresentation_MappingOutputRepresentation, KeyParams as types_MappingOutputRepresentation_KeyParams } from '../types/MappingOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getMapping";
|
|
6
|
+
export declare const getMapping_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetMappingConfig {
|
|
8
|
+
mappingId: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function createResourceParams(config: GetMappingConfig): resources_getCommerceExtensionMappingsByMappingId_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetMappingConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetMappingConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetMappingConfig>): adapter$45$utils_Untrusted<GetMappingConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetMappingConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetMappingConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetMappingConfig): $64$luvio_engine_Snapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetMappingConfig, resourceParams: resources_getCommerceExtensionMappingsByMappingId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_MappingOutputRepresentation_MappingOutputRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetMappingConfig, resourceParams: resources_getCommerceExtensionMappingsByMappingId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetMappingConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetMappingConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_MappingOutputRepresentation_MappingOutputRepresentation>): $64$luvio_engine_Snapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, any>;
|
|
26
|
+
export declare const getMappingAdapterFactory: $64$luvio_engine_AdapterFactory<GetMappingConfig, types_MappingOutputRepresentation_MappingOutputRepresentation>;
|
|
27
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_MappingOutputRepresentation_KeyParams, any>[]) => void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getCommerceExtensionMappings_ResourceRequestConfig } from '../resources/getCommerceExtensionMappings';
|
|
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 { MappingOutputCollectionRepresentation as types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation } from '../types/MappingOutputCollectionRepresentation';
|
|
5
|
+
export declare const adapterName = "getMappings";
|
|
6
|
+
export declare const getMappings_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetMappingsConfig {
|
|
8
|
+
epn?: string;
|
|
9
|
+
webstoreId?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: GetMappingsConfig): resources_getCommerceExtensionMappings_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetMappingsConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetMappingsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetMappingsConfig>): adapter$45$utils_Untrusted<GetMappingsConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetMappingsConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetMappingsConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetMappingsConfig): $64$luvio_engine_Snapshot<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetMappingsConfig, resourceParams: resources_getCommerceExtensionMappings_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation, {}>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetMappingsConfig, resourceParams: resources_getCommerceExtensionMappings_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetMappingsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetMappingsConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation>): $64$luvio_engine_Snapshot<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation, any>;
|
|
27
|
+
export declare const getMappingsAdapterFactory: $64$luvio_engine_AdapterFactory<GetMappingsConfig, types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getCommerceExtensionProviders_ResourceRequestConfig } from '../resources/getCommerceExtensionProviders';
|
|
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 { ProviderOutputCollectionRepresentation as types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation } from '../types/ProviderOutputCollectionRepresentation';
|
|
5
|
+
export declare const adapterName = "getProviders";
|
|
6
|
+
export declare const getProviders_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetProvidersConfig {
|
|
8
|
+
effectiveMappingsWebstoreId?: string;
|
|
9
|
+
epn?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: GetProvidersConfig): resources_getCommerceExtensionProviders_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetProvidersConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetProvidersConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetProvidersConfig>): adapter$45$utils_Untrusted<GetProvidersConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetProvidersConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetProvidersConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetProvidersConfig): $64$luvio_engine_Snapshot<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetProvidersConfig, resourceParams: resources_getCommerceExtensionProviders_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation, {}>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetProvidersConfig, resourceParams: resources_getCommerceExtensionProviders_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetProvidersConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetProvidersConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation>): $64$luvio_engine_Snapshot<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation, any>;
|
|
27
|
+
export declare const getProvidersAdapterFactory: $64$luvio_engine_AdapterFactory<GetProvidersConfig, types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_putCommerceExtensionMappingsByMappingId_ResourceRequestConfig } from '../resources/putCommerceExtensionMappingsByMappingId';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { MappingOutputRepresentation as types_MappingOutputRepresentation_MappingOutputRepresentation } from '../types/MappingOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "updateMapping";
|
|
6
|
+
export declare const updateMapping_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface UpdateMappingConfig {
|
|
8
|
+
mappingId: string;
|
|
9
|
+
epn: string;
|
|
10
|
+
id?: string;
|
|
11
|
+
providerName: string;
|
|
12
|
+
webstoreId: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function createResourceParams(config: UpdateMappingConfig): resources_putCommerceExtensionMappingsByMappingId_ResourceRequestConfig;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateMappingConfig>): adapter$45$utils_Untrusted<UpdateMappingConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateMappingConfig | null;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateMappingConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, any>>;
|
|
18
|
+
export declare const updateMappingAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateMappingConfig, types_MappingOutputRepresentation_MappingOutputRepresentation>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { getExtensionsAdapterFactory } from '../adapters/getExtensions';
|
|
2
|
+
export { getMappingsAdapterFactory } from '../adapters/getMappings';
|
|
3
|
+
export { createMappingAdapterFactory } from '../adapters/createMapping';
|
|
4
|
+
export { deleteMappingAdapterFactory } from '../adapters/deleteMapping';
|
|
5
|
+
export { getMappingAdapterFactory } from '../adapters/getMapping';
|
|
6
|
+
export { updateMappingAdapterFactory } from '../adapters/updateMapping';
|
|
7
|
+
export { getProvidersAdapterFactory } from '../adapters/getProviders';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare let createMapping: any;
|
|
2
|
+
declare let deleteMapping: any;
|
|
3
|
+
declare let getExtensions: any;
|
|
4
|
+
declare let getMapping: any;
|
|
5
|
+
declare let getMappingNotifyChange: any;
|
|
6
|
+
declare let getMappings: any;
|
|
7
|
+
declare let getProviders: any;
|
|
8
|
+
declare let updateMapping: any;
|
|
9
|
+
declare let getExtensions_imperative: any;
|
|
10
|
+
declare let getMapping_imperative: any;
|
|
11
|
+
declare let getMappings_imperative: any;
|
|
12
|
+
declare let getProviders_imperative: any;
|
|
13
|
+
export { createMapping, deleteMapping, getExtensions, getMapping, getMappingNotifyChange, getMappings, getProviders, updateMapping, getExtensions_imperative, getMapping_imperative, getMappings_imperative, getProviders_imperative };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
export interface ResourceRequestConfig {
|
|
3
|
+
urlParams: {
|
|
4
|
+
mappingId: string;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
8
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
9
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
10
|
+
export declare function evictSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
|
|
11
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,12 @@
|
|
|
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 { ExtensionOutputCollectionRepresentation as types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation } from '../types/ExtensionOutputCollectionRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
}
|
|
5
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
6
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
7
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
8
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
9
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation, any>;
|
|
10
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExtensionOutputCollectionRepresentation_ExtensionOutputCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
11
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
+
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, 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 { MappingOutputCollectionRepresentation as types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation } from '../types/MappingOutputCollectionRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
epn?: string;
|
|
6
|
+
webstoreId?: 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_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_MappingOutputCollectionRepresentation_MappingOutputCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
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, 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 { MappingOutputRepresentation as types_MappingOutputRepresentation_MappingOutputRepresentation } from '../types/MappingOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
mappingId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_MappingOutputRepresentation_MappingOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_MappingOutputRepresentation_MappingOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_MappingOutputRepresentation_MappingOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_MappingOutputRepresentation_MappingOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
16
|
+
export declare function createResourceRequestFromRepresentation(representation: types_MappingOutputRepresentation_MappingOutputRepresentation): $64$luvio_engine_ResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 { ProviderOutputCollectionRepresentation as types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation } from '../types/ProviderOutputCollectionRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
effectiveMappingsWebstoreId?: string;
|
|
6
|
+
epn?: 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_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ProviderOutputCollectionRepresentation_ProviderOutputCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
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';
|
|
2
|
+
import { MappingOutputRepresentation as types_MappingOutputRepresentation_MappingOutputRepresentation } from '../types/MappingOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
body: {
|
|
5
|
+
epn: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
providerName: string;
|
|
8
|
+
webstoreId: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
12
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_MappingOutputRepresentation_MappingOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_MappingOutputRepresentation_MappingOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, any>;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
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';
|
|
2
|
+
import { MappingOutputRepresentation as types_MappingOutputRepresentation_MappingOutputRepresentation } from '../types/MappingOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
mappingId: string;
|
|
6
|
+
};
|
|
7
|
+
body: {
|
|
8
|
+
epn: string;
|
|
9
|
+
id?: string;
|
|
10
|
+
providerName: string;
|
|
11
|
+
webstoreId: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
15
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_MappingOutputRepresentation_MappingOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_MappingOutputRepresentation_MappingOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_MappingOutputRepresentation_MappingOutputRepresentation, any>;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "bed780ad418f5f02446c1b0f9d165e5d";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ApexClassOutputRepresentation, existing: ApexClassOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ApexClassOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ApexClassOutputRepresentationNormalized, incoming: ApexClassOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ApexClassOutputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ApexClassOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Output representation of a provider's apex class.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ApexClassOutputRepresentationNormalized {
|
|
18
|
+
/** Unique identifier for the apex class. */
|
|
19
|
+
classId: string;
|
|
20
|
+
/** Name of the main class containing the entry methods. */
|
|
21
|
+
className: string;
|
|
22
|
+
/** Unique identifier for the company supplying the provider */
|
|
23
|
+
namespace: string;
|
|
24
|
+
/** The version of the apex class */
|
|
25
|
+
version: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Output representation of a provider's apex class.
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface ApexClassOutputRepresentation {
|
|
34
|
+
classId: string;
|
|
35
|
+
className: string;
|
|
36
|
+
namespace: string;
|
|
37
|
+
version: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 = "5d74820ea8d6cfbe4e56d4a37b7cdb77";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: EffectiveMappingRepresentation, existing: EffectiveMappingRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): EffectiveMappingRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: EffectiveMappingRepresentationNormalized, incoming: EffectiveMappingRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: EffectiveMappingRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: EffectiveMappingRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Output representation of a list of webstores that are effectivly mapped to an Extension.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface EffectiveMappingRepresentationNormalized {
|
|
18
|
+
/** The unique webstore identifier. */
|
|
19
|
+
webstoreId: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Output representation of a list of webstores that are effectivly mapped to an Extension.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface EffectiveMappingRepresentation {
|
|
28
|
+
webstoreId: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, 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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
import { ExtensionOutputRepresentation as ExtensionOutputRepresentation_ExtensionOutputRepresentation } from './ExtensionOutputRepresentation';
|
|
3
|
+
export declare const TTL = 60000;
|
|
4
|
+
export declare const VERSION = "d4f70ccafbea6d39e182d71c60d4ba89";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: ExtensionOutputCollectionRepresentation, existing: ExtensionOutputCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExtensionOutputCollectionRepresentationNormalized;
|
|
8
|
+
export interface DynamicIngestParams {
|
|
9
|
+
items: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
}
|
|
11
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: ExtensionOutputCollectionRepresentation, existing: ExtensionOutputCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => ExtensionOutputCollectionRepresentationNormalized;
|
|
12
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
13
|
+
export interface DynamicSelectParams {
|
|
14
|
+
items?: $64$luvio_engine_LinkSelection;
|
|
15
|
+
}
|
|
16
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: ExtensionOutputCollectionRepresentationNormalized, incoming: ExtensionOutputCollectionRepresentationNormalized): boolean;
|
|
18
|
+
export declare function deepFreeze(input: ExtensionOutputCollectionRepresentation): void;
|
|
19
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExtensionOutputCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
21
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
22
|
+
/**
|
|
23
|
+
* Output representation of a list of extensions.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ExtensionOutputCollectionRepresentationNormalized {
|
|
29
|
+
/** Total count of extensions */
|
|
30
|
+
count: number;
|
|
31
|
+
/** List of extensions. */
|
|
32
|
+
items: Array<$64$luvio_engine_StoreLink>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Output representation of a list of extensions.
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* (none)
|
|
39
|
+
*/
|
|
40
|
+
export interface ExtensionOutputCollectionRepresentation {
|
|
41
|
+
count: number;
|
|
42
|
+
items: Array<ExtensionOutputRepresentation_ExtensionOutputRepresentation>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 60000;
|
|
3
|
+
export declare const VERSION = "504c635d0167987915edb8f94a23ca6d";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
epn: string;
|
|
8
|
+
}
|
|
9
|
+
export type ExtensionOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialExtensionOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ExtensionOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ExtensionOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ExtensionOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: ExtensionOutputRepresentation, existing: ExtensionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExtensionOutputRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: ExtensionOutputRepresentationNormalized, incoming: ExtensionOutputRepresentationNormalized): boolean;
|
|
18
|
+
export declare function deepFreeze(input: ExtensionOutputRepresentation): void;
|
|
19
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExtensionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
21
|
+
/**
|
|
22
|
+
* Output representation of one Extension.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* epn (string): epn
|
|
26
|
+
*/
|
|
27
|
+
export interface ExtensionOutputRepresentationNormalized {
|
|
28
|
+
/** The service domain the Extension belongs to. */
|
|
29
|
+
domain: string;
|
|
30
|
+
/** Extension's unique identifier. */
|
|
31
|
+
epn: string;
|
|
32
|
+
/** The name of the extension. */
|
|
33
|
+
name: string;
|
|
34
|
+
/** The Salesforce family the Extension belongs to. */
|
|
35
|
+
product: string;
|
|
36
|
+
/** Where this EPN is in its SDLC. */
|
|
37
|
+
status: string;
|
|
38
|
+
/** Allowable values are Domain and Endpoint. */
|
|
39
|
+
type: string;
|
|
40
|
+
/** The version of the extension. */
|
|
41
|
+
version: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Output representation of one Extension.
|
|
45
|
+
*
|
|
46
|
+
* Keys:
|
|
47
|
+
* epn (string): epn
|
|
48
|
+
*/
|
|
49
|
+
export interface ExtensionOutputRepresentation {
|
|
50
|
+
domain: string;
|
|
51
|
+
epn: string;
|
|
52
|
+
name: string;
|
|
53
|
+
product: string;
|
|
54
|
+
status: string;
|
|
55
|
+
type: string;
|
|
56
|
+
version: number;
|
|
57
|
+
}
|