@salesforce/lds-adapters-platform-external-services 1.100.2
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/platform-external-services.js +2221 -0
- package/dist/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/types/src/generated/adapters/getDataShape.d.ts +28 -0
- package/dist/types/src/generated/adapters/getOpenApiSpec.d.ts +28 -0
- package/dist/types/src/generated/adapters/getStatistics.d.ts +25 -0
- package/dist/types/src/generated/adapters/getStatisticsForService.d.ts +26 -0
- package/dist/types/src/generated/adapters/validateSchema.d.ts +16 -0
- package/dist/types/src/generated/artifacts/main.d.ts +5 -0
- package/dist/types/src/generated/artifacts/sfdc.d.ts +10 -0
- package/dist/types/src/generated/resources/getExternalservicesExternalserviceschemarequest.d.ts +17 -0
- package/dist/types/src/generated/resources/getExternalservicesStatisticsServices.d.ts +12 -0
- package/dist/types/src/generated/resources/getExternalservicesStatisticsServicesByRegistrationName.d.ts +15 -0
- package/dist/types/src/generated/resources/postExternalservicesInferenceDatashapeByVersion.d.ts +19 -0
- package/dist/types/src/generated/resources/postExternalservicesInferenceOpenapispecByVersion.d.ts +19 -0
- package/dist/types/src/generated/resources/postExternalservicesSchemasValidationBySchemaName.d.ts +16 -0
- package/dist/types/src/generated/types/ApiInfoRepresentation.d.ts +38 -0
- package/dist/types/src/generated/types/ApiListRepresentation.d.ts +30 -0
- package/dist/types/src/generated/types/ApiSchemaRepresentation.d.ts +29 -0
- package/dist/types/src/generated/types/DataShapeInferenceOutputRepresentation.d.ts +49 -0
- package/dist/types/src/generated/types/ExternalServiceSchemaRequestRepresentation.d.ts +32 -0
- package/dist/types/src/generated/types/ExternalServiceStatisticsBreakdownRepresentation.d.ts +44 -0
- package/dist/types/src/generated/types/ExternalServiceStatisticsForServiceRepresentation.d.ts +42 -0
- package/dist/types/src/generated/types/ExternalServiceStatisticsOutputRepresentation.d.ts +37 -0
- package/dist/types/src/generated/types/ExternalServiceStatisticsOverviewRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/InferenceErrorMessageRepresentation.d.ts +32 -0
- package/dist/types/src/generated/types/NamedCredentialListRepresentation.d.ts +30 -0
- package/dist/types/src/generated/types/NamedCredentialRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/OpenApiSpecInferenceInputRepresentation.d.ts +57 -0
- package/dist/types/src/generated/types/OpenApiSpecInferenceInputWrapperRepresentation.d.ts +29 -0
- package/dist/types/src/generated/types/OpenApiSpecInferenceOutputRepresentation.d.ts +36 -0
- package/dist/types/src/generated/types/OpenApiSpecInferenceParameterRepresentation.d.ts +41 -0
- package/dist/types/src/generated/types/SchemaValidationInputRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/SchemaValidationInputWrapperRepresentation.d.ts +29 -0
- package/dist/types/src/generated/types/SchemaValidationMessageRepresentation.d.ts +53 -0
- package/dist/types/src/generated/types/SchemaValidationOutputRepresentation.d.ts +51 -0
- package/dist/types/src/generated/types/type-utils.d.ts +39 -0
- package/dist/umd/es2018/platform-external-services.js +2233 -0
- package/dist/umd/es5/platform-external-services.js +2245 -0
- package/package.json +70 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2284 -0
- package/src/raml/api.raml +485 -0
- package/src/raml/luvio.raml +41 -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 = "external-services";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_postExternalservicesInferenceDatashapeByVersion_ResourceRequestConfig } from '../resources/postExternalservicesInferenceDatashapeByVersion';
|
|
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 { DataShapeInferenceOutputRepresentation as types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation } from '../types/DataShapeInferenceOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getDataShape";
|
|
6
|
+
export declare const getDataShape_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetDataShapeConfig {
|
|
8
|
+
version: string;
|
|
9
|
+
exampleData?: string;
|
|
10
|
+
mediaType?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: GetDataShapeConfig): resources_postExternalservicesInferenceDatashapeByVersion_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetDataShapeConfig>): adapter$45$utils_Untrusted<GetDataShapeConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetDataShapeConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig): $64$luvio_engine_Snapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig, resourceParams: resources_postExternalservicesInferenceDatashapeByVersion_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, {}>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig, resourceParams: resources_postExternalservicesInferenceDatashapeByVersion_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetDataShapeConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation>): $64$luvio_engine_Snapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, any>;
|
|
28
|
+
export declare const getDataShapeAdapterFactory: $64$luvio_engine_AdapterFactory<GetDataShapeConfig, types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { OpenApiSpecInferenceInputRepresentation as types_OpenApiSpecInferenceInputRepresentation_OpenApiSpecInferenceInputRepresentation } from '../types/OpenApiSpecInferenceInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postExternalservicesInferenceOpenapispecByVersion_ResourceRequestConfig } from '../resources/postExternalservicesInferenceOpenapispecByVersion';
|
|
4
|
+
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';
|
|
5
|
+
import { OpenApiSpecInferenceOutputRepresentation as types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation } from '../types/OpenApiSpecInferenceOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "getOpenApiSpec";
|
|
7
|
+
export declare const getOpenApiSpec_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetOpenApiSpecConfig {
|
|
9
|
+
version: string;
|
|
10
|
+
input: types_OpenApiSpecInferenceInputRepresentation_OpenApiSpecInferenceInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: GetOpenApiSpecConfig): resources_postExternalservicesInferenceOpenapispecByVersion_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetOpenApiSpecConfig>): adapter$45$utils_Untrusted<GetOpenApiSpecConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetOpenApiSpecConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig): $64$luvio_engine_Snapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig, resourceParams: resources_postExternalservicesInferenceOpenapispecByVersion_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, {}>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig, resourceParams: resources_postExternalservicesInferenceOpenapispecByVersion_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetOpenApiSpecConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation>): $64$luvio_engine_Snapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, any>;
|
|
28
|
+
export declare const getOpenApiSpecAdapterFactory: $64$luvio_engine_AdapterFactory<GetOpenApiSpecConfig, types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation>;
|
|
@@ -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_getExternalservicesStatisticsServices_ResourceRequestConfig } from '../resources/getExternalservicesStatisticsServices';
|
|
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 { ExternalServiceStatisticsOutputRepresentation as types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation } from '../types/ExternalServiceStatisticsOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getStatistics";
|
|
6
|
+
export declare const getStatistics_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetStatisticsConfig {
|
|
8
|
+
}
|
|
9
|
+
export declare function createResourceParams(config: GetStatisticsConfig): resources_getExternalservicesStatisticsServices_ResourceRequestConfig;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetStatisticsConfig>): adapter$45$utils_Untrusted<GetStatisticsConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetStatisticsConfig | null;
|
|
14
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig): $64$luvio_engine_Fragment;
|
|
15
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig): $64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>;
|
|
16
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig, resourceParams: resources_getExternalservicesStatisticsServices_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}>>;
|
|
17
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig, resourceParams: resources_getExternalservicesStatisticsServices_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
18
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>>;
|
|
19
|
+
export type BuildSnapshotContext = {
|
|
20
|
+
luvio: $64$luvio_engine_Luvio;
|
|
21
|
+
config: GetStatisticsConfig;
|
|
22
|
+
};
|
|
23
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>>;
|
|
24
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>): $64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>;
|
|
25
|
+
export declare const getStatisticsAdapterFactory: $64$luvio_engine_AdapterFactory<GetStatisticsConfig, types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getExternalservicesStatisticsServicesByRegistrationName_ResourceRequestConfig } from '../resources/getExternalservicesStatisticsServicesByRegistrationName';
|
|
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 { ExternalServiceStatisticsOutputRepresentation as types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation } from '../types/ExternalServiceStatisticsOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getStatisticsForService";
|
|
6
|
+
export declare const getStatisticsForService_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetStatisticsForServiceConfig {
|
|
8
|
+
registrationName: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function createResourceParams(config: GetStatisticsForServiceConfig): resources_getExternalservicesStatisticsServicesByRegistrationName_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetStatisticsForServiceConfig>): adapter$45$utils_Untrusted<GetStatisticsForServiceConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetStatisticsForServiceConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig): $64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig, resourceParams: resources_getExternalservicesStatisticsServicesByRegistrationName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>): Promise<import("@luvio/engine").PendingSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any> | import("@luvio/engine").FulfilledSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig, resourceParams: resources_getExternalservicesStatisticsServicesByRegistrationName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetStatisticsForServiceConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>): $64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>;
|
|
26
|
+
export declare const getStatisticsForServiceAdapterFactory: $64$luvio_engine_AdapterFactory<GetStatisticsForServiceConfig, types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { SchemaValidationInputRepresentation as types_SchemaValidationInputRepresentation_SchemaValidationInputRepresentation } from '../types/SchemaValidationInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postExternalservicesSchemasValidationBySchemaName_ResourceRequestConfig } from '../resources/postExternalservicesSchemasValidationBySchemaName';
|
|
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 { SchemaValidationOutputRepresentation as types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation } from '../types/SchemaValidationOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "validateSchema";
|
|
7
|
+
export declare const validateSchema_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface ValidateSchemaConfig {
|
|
9
|
+
schemaName: string;
|
|
10
|
+
schema: types_SchemaValidationInputRepresentation_SchemaValidationInputRepresentation;
|
|
11
|
+
}
|
|
12
|
+
export declare function createResourceParams(config: ValidateSchemaConfig): resources_postExternalservicesSchemasValidationBySchemaName_ResourceRequestConfig;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ValidateSchemaConfig>): adapter$45$utils_Untrusted<ValidateSchemaConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ValidateSchemaConfig | null;
|
|
15
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: ValidateSchemaConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation, any>>;
|
|
16
|
+
export declare const validateSchemaAdapterFactory: $64$luvio_engine_AdapterFactory<ValidateSchemaConfig, types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { getDataShapeAdapterFactory } from '../adapters/getDataShape';
|
|
2
|
+
export { getOpenApiSpecAdapterFactory } from '../adapters/getOpenApiSpec';
|
|
3
|
+
export { validateSchemaAdapterFactory } from '../adapters/validateSchema';
|
|
4
|
+
export { getStatisticsAdapterFactory } from '../adapters/getStatistics';
|
|
5
|
+
export { getStatisticsForServiceAdapterFactory } from '../adapters/getStatisticsForService';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare let getDataShape: any;
|
|
2
|
+
declare let getOpenApiSpec: any;
|
|
3
|
+
declare let getStatistics: any;
|
|
4
|
+
declare let getStatisticsForService: any;
|
|
5
|
+
declare let validateSchema: any;
|
|
6
|
+
declare let getDataShape_imperative: any;
|
|
7
|
+
declare let getOpenApiSpec_imperative: any;
|
|
8
|
+
declare let getStatistics_imperative: any;
|
|
9
|
+
declare let getStatisticsForService_imperative: any;
|
|
10
|
+
export { getDataShape, getOpenApiSpec, getStatistics, getStatisticsForService, validateSchema, getDataShape_imperative, getOpenApiSpec_imperative, getStatistics_imperative, getStatisticsForService_imperative };
|
package/dist/types/src/generated/resources/getExternalservicesExternalserviceschemarequest.d.ts
ADDED
|
@@ -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 { ExternalServiceSchemaRequestRepresentation as types_ExternalServiceSchemaRequestRepresentation_ExternalServiceSchemaRequestRepresentation } from '../types/ExternalServiceSchemaRequestRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
namedCredentialId?: string;
|
|
6
|
+
schemaAbsolutePath?: string;
|
|
7
|
+
schemaPath?: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExternalServiceSchemaRequestRepresentation_ExternalServiceSchemaRequestRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExternalServiceSchemaRequestRepresentation_ExternalServiceSchemaRequestRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExternalServiceSchemaRequestRepresentation_ExternalServiceSchemaRequestRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ExternalServiceSchemaRequestRepresentation_ExternalServiceSchemaRequestRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ExternalServiceSchemaRequestRepresentation_ExternalServiceSchemaRequestRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ExternalServiceSchemaRequestRepresentation_ExternalServiceSchemaRequestRepresentation, any>;
|
|
15
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExternalServiceSchemaRequestRepresentation_ExternalServiceSchemaRequestRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
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 { ExternalServiceStatisticsOutputRepresentation as types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation } from '../types/ExternalServiceStatisticsOutputRepresentation';
|
|
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_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
9
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>;
|
|
10
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
11
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { ExternalServiceStatisticsOutputRepresentation as types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation } from '../types/ExternalServiceStatisticsOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
registrationName: 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_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
package/dist/types/src/generated/resources/postExternalservicesInferenceDatashapeByVersion.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
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 { DataShapeInferenceOutputRepresentation as types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation } from '../types/DataShapeInferenceOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
version: string;
|
|
6
|
+
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
exampleData?: string;
|
|
9
|
+
mediaType?: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, any>;
|
|
17
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
18
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|
package/dist/types/src/generated/resources/postExternalservicesInferenceOpenapispecByVersion.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OpenApiSpecInferenceInputRepresentation as types_OpenApiSpecInferenceInputRepresentation_OpenApiSpecInferenceInputRepresentation } from '../types/OpenApiSpecInferenceInputRepresentation';
|
|
2
|
+
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';
|
|
3
|
+
import { OpenApiSpecInferenceOutputRepresentation as types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation } from '../types/OpenApiSpecInferenceOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
version: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
input: types_OpenApiSpecInferenceInputRepresentation_OpenApiSpecInferenceInputRepresentation;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, any>;
|
|
17
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
18
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|
package/dist/types/src/generated/resources/postExternalservicesSchemasValidationBySchemaName.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SchemaValidationInputRepresentation as types_SchemaValidationInputRepresentation_SchemaValidationInputRepresentation } from '../types/SchemaValidationInputRepresentation';
|
|
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 { SchemaValidationOutputRepresentation as types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation } from '../types/SchemaValidationOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
schemaName: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
schema: types_SchemaValidationInputRepresentation_SchemaValidationInputRepresentation;
|
|
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_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation, any>;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
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 = "7b116d9a4d282e9e8921156398ed1eea";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ApiInfoRepresentation, existing: ApiInfoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ApiInfoRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ApiInfoRepresentationNormalized, incoming: ApiInfoRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ApiInfoRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ApiInfoRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Information about an available API.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiInfoRepresentationNormalized {
|
|
18
|
+
/** Description of this API */
|
|
19
|
+
description: string;
|
|
20
|
+
/** Unique identifier for this API */
|
|
21
|
+
id: string;
|
|
22
|
+
/** Name of this API */
|
|
23
|
+
name: string;
|
|
24
|
+
/** Version of this API */
|
|
25
|
+
version: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Information about an available API.
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface ApiInfoRepresentation {
|
|
34
|
+
description: string;
|
|
35
|
+
id: string;
|
|
36
|
+
name: string;
|
|
37
|
+
version: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ApiInfoRepresentation as ApiInfoRepresentation_ApiInfoRepresentation } from './ApiInfoRepresentation';
|
|
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 = "b1890d1f40833a57bf7fe21cd35d141d";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ApiListRepresentation, existing: ApiListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ApiListRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ApiListRepresentationNormalized, incoming: ApiListRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: ApiListRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ApiListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* A list of available APIs.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiListRepresentationNormalized {
|
|
19
|
+
/** List of available APIs */
|
|
20
|
+
apis: Array<ApiInfoRepresentation_ApiInfoRepresentation>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A list of available APIs.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ApiListRepresentation {
|
|
29
|
+
apis: Array<ApiInfoRepresentation_ApiInfoRepresentation>;
|
|
30
|
+
}
|
|
@@ -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 = "b079483884996dc343af5b66abd40116";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ApiSchemaRepresentation, existing: ApiSchemaRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ApiSchemaRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ApiSchemaRepresentationNormalized, incoming: ApiSchemaRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ApiSchemaRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ApiSchemaRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* The schema for an API.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiSchemaRepresentationNormalized {
|
|
18
|
+
/** Schema document contents */
|
|
19
|
+
schemaContents: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The schema for an API.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface ApiSchemaRepresentation {
|
|
28
|
+
schemaContents: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { InferenceErrorMessageRepresentation as InferenceErrorMessageRepresentation_InferenceErrorMessageRepresentation } from './InferenceErrorMessageRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "d45a6a39072862479f5c25fe921c0926";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: DataShapeInferenceOutputRepresentation, existing: DataShapeInferenceOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DataShapeInferenceOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: DataShapeInferenceOutputRepresentationNormalized, incoming: DataShapeInferenceOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: DataShapeInferenceOutputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DataShapeInferenceOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Represents inferred data shape
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface DataShapeInferenceOutputRepresentationNormalized {
|
|
19
|
+
/** Error messages */
|
|
20
|
+
errorMessages: Array<InferenceErrorMessageRepresentation_InferenceErrorMessageRepresentation>;
|
|
21
|
+
/** Example of the inferred field */
|
|
22
|
+
example?: string;
|
|
23
|
+
/** Items of the inferred array field */
|
|
24
|
+
items: Array<$64$luvio_engine_StoreLink>;
|
|
25
|
+
/** Properties of the inferred schema */
|
|
26
|
+
properties: {
|
|
27
|
+
[key: string]: $64$luvio_engine_StoreLink;
|
|
28
|
+
};
|
|
29
|
+
/** Status of the inferring */
|
|
30
|
+
success: boolean;
|
|
31
|
+
/** Data type of the inferred field */
|
|
32
|
+
type?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Represents inferred data shape
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* (none)
|
|
39
|
+
*/
|
|
40
|
+
export interface DataShapeInferenceOutputRepresentation {
|
|
41
|
+
errorMessages: Array<InferenceErrorMessageRepresentation_InferenceErrorMessageRepresentation>;
|
|
42
|
+
example?: string;
|
|
43
|
+
items: Array<DataShapeInferenceOutputRepresentation>;
|
|
44
|
+
properties: {
|
|
45
|
+
[key: string]: DataShapeInferenceOutputRepresentation;
|
|
46
|
+
};
|
|
47
|
+
success: boolean;
|
|
48
|
+
type?: string;
|
|
49
|
+
}
|
|
@@ -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 = "d7c05c5cd878611ec185f9b032e0a893";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ExternalServiceSchemaRequestRepresentation, existing: ExternalServiceSchemaRequestRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExternalServiceSchemaRequestRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ExternalServiceSchemaRequestRepresentationNormalized, incoming: ExternalServiceSchemaRequestRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ExternalServiceSchemaRequestRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExternalServiceSchemaRequestRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Results of an external service schema request
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ExternalServiceSchemaRequestRepresentationNormalized {
|
|
18
|
+
/** Error encountered if any */
|
|
19
|
+
error: string;
|
|
20
|
+
/** Raw service schema retrieved using named credentials */
|
|
21
|
+
serviceSchema: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Results of an external service schema request
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface ExternalServiceSchemaRequestRepresentation {
|
|
30
|
+
error: string;
|
|
31
|
+
serviceSchema: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 = "7dd4168caef7cc755bcbcb7dddf11b57";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ExternalServiceStatisticsBreakdownRepresentation, existing: ExternalServiceStatisticsBreakdownRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExternalServiceStatisticsBreakdownRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ExternalServiceStatisticsBreakdownRepresentationNormalized, incoming: ExternalServiceStatisticsBreakdownRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ExternalServiceStatisticsBreakdownRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ExternalServiceStatisticsBreakdownRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* External Services statistics breakdown results for a Service / Operation component
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ExternalServiceStatisticsBreakdownRepresentationNormalized {
|
|
18
|
+
/** Is the parent component active */
|
|
19
|
+
active: boolean;
|
|
20
|
+
/** The active count of the component */
|
|
21
|
+
activeCount: number;
|
|
22
|
+
/** The name of the parent component */
|
|
23
|
+
component: string;
|
|
24
|
+
/** The type of the parent component */
|
|
25
|
+
componentType: string;
|
|
26
|
+
/** The component type of this statistics for */
|
|
27
|
+
statisticFor: string;
|
|
28
|
+
/** The total count of the component */
|
|
29
|
+
totalCount: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* External Services statistics breakdown results for a Service / Operation component
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* (none)
|
|
36
|
+
*/
|
|
37
|
+
export interface ExternalServiceStatisticsBreakdownRepresentation {
|
|
38
|
+
active: boolean;
|
|
39
|
+
activeCount: number;
|
|
40
|
+
component: string;
|
|
41
|
+
componentType: string;
|
|
42
|
+
statisticFor: string;
|
|
43
|
+
totalCount: number;
|
|
44
|
+
}
|