@salesforce/lds-adapters-platform-external-services 0.1.0-dev1
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 +2748 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/getActionDetailsForService.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataShape.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getOpenApiSpec.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getStatistics.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getStatisticsForService.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/sendTestConnectionRequest.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/validateSchema.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +7 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalservicesActionsServicesByActionName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalservicesExternalserviceschemarequest.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalservicesStatisticsServices.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getExternalservicesStatisticsServicesByRegistrationName.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalservicesInferenceDatashapeByVersion.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalservicesInferenceDatashapeSendrequestByVersion.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalservicesInferenceOpenapispecByVersion.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postExternalservicesSchemasValidationBySchemaName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/types/ApiInfoRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ApiListRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ApiSchemaRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataShapeInferenceOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceActionOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceActionParameterRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceSchemaRequestRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceStatisticsBreakdownRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceStatisticsForServiceRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceStatisticsOutputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/ExternalServiceStatisticsOverviewRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/InferenceErrorMessageRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/NamedCredentialListRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/NamedCredentialRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/OpenApiSpecInferenceInputRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/OpenApiSpecInferenceInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/OpenApiSpecInferenceOutputRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/OpenApiSpecInferenceParameterRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SchemaValidationInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/SchemaValidationInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SchemaValidationMessageRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/SchemaValidationOutputRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/TestConnectionInputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/TestConnectionInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/TestConnectionOutputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/dist/es/es2018/types/src/main.d.ts +6 -0
- package/dist/es/es2018/types/src/raml-artifacts/types/ExternalServiceStatisticsOutputRepresentation/notifyUpdateAvailableFactory.d.ts +2 -0
- package/dist/es/es2018/types/src/sfdc.d.ts +7 -0
- package/package.json +76 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2856 -0
- package/src/raml/api.raml +615 -0
- package/src/raml/luvio.raml +55 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
|
+
declare const ObjectKeys: {
|
|
4
|
+
(o: object): string[];
|
|
5
|
+
(o: {}): string[];
|
|
6
|
+
}, ObjectCreate: {
|
|
7
|
+
(o: object | null): any;
|
|
8
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
9
|
+
};
|
|
10
|
+
export { ObjectCreate, ObjectKeys };
|
|
11
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
12
|
+
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
13
|
+
export interface AdapterValidationConfig {
|
|
14
|
+
displayName: string;
|
|
15
|
+
parameters: {
|
|
16
|
+
required: string[];
|
|
17
|
+
optional: string[];
|
|
18
|
+
unsupported?: string[];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Validates an adapter config is well-formed.
|
|
23
|
+
* @param config The config to validate.
|
|
24
|
+
* @param adapter The adapter validation configuration.
|
|
25
|
+
* @param oneOf The keys the config must contain at least one of.
|
|
26
|
+
* @throws A TypeError if config doesn't satisfy the adapter's config validation.
|
|
27
|
+
*/
|
|
28
|
+
export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
|
|
29
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
30
|
+
export type UncoercedConfiguration<Base, Options extends {
|
|
31
|
+
[key in keyof Base]?: any;
|
|
32
|
+
}> = {
|
|
33
|
+
[Key in keyof Base]?: Base[Key] | Options[Key];
|
|
34
|
+
};
|
|
35
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
36
|
+
export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
|
|
37
|
+
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>;
|
|
38
|
+
export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
|
|
39
|
+
export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
|
|
40
|
+
export declare const snapshotRefreshOptions: {
|
|
41
|
+
overrides: {
|
|
42
|
+
headers: {
|
|
43
|
+
'Cache-Control': string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
49
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
50
|
+
* JSON.stringify({a: 1, b: 2})
|
|
51
|
+
* "{"a":1,"b":2}"
|
|
52
|
+
* JSON.stringify({b: 2, a: 1})
|
|
53
|
+
* "{"b":2,"a":1}"
|
|
54
|
+
* @param data Data to be JSON-stringified.
|
|
55
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
56
|
+
*/
|
|
57
|
+
export declare function stableJSONStringify(node: any): string | undefined;
|
|
58
|
+
export declare function getFetchResponseStatusText(status: number): string;
|
|
59
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
60
|
+
export declare function generateParamConfigMetadata(name: string, required: boolean, resourceType: $64$luvio_engine_AdapterConfigMetadata['resourceType'], typeCheckShape: $64$luvio_engine_AdapterConfigMetadata['typeCheckShape'], isArrayShape?: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
|
|
61
|
+
export declare function buildAdapterValidationConfig(displayName: string, paramsMeta: $64$luvio_engine_AdapterConfigMetadata[]): AdapterValidationConfig;
|
|
62
|
+
export declare const keyPrefix = "external-services";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getExternalservicesActionsServicesByActionName_ResourceRequestConfig } from '../resources/getExternalservicesActionsServicesByActionName';
|
|
4
|
+
import { ExternalServiceActionOutputRepresentation as types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation } from '../types/ExternalServiceActionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getActionDetailsForService";
|
|
6
|
+
export declare const getActionDetailsForService_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getActionDetailsForService_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetActionDetailsForServiceConfig {
|
|
9
|
+
actionName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetActionDetailsForServiceConfig) => resources_getExternalservicesActionsServicesByActionName_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetActionDetailsForServiceConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetActionDetailsForServiceConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetActionDetailsForServiceConfig>): adapter$45$utils_Untrusted<GetActionDetailsForServiceConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetActionDetailsForServiceConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetActionDetailsForServiceConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetActionDetailsForServiceConfig): $64$luvio_engine_Snapshot<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetActionDetailsForServiceConfig, resourceParams: resources_getExternalservicesActionsServicesByActionName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetActionDetailsForServiceConfig, resourceParams: resources_getExternalservicesActionsServicesByActionName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetActionDetailsForServiceConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetActionDetailsForServiceConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation>): $64$luvio_engine_Snapshot<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation, any>;
|
|
27
|
+
export declare const getActionDetailsForServiceAdapterFactory: $64$luvio_engine_AdapterFactory<GetActionDetailsForServiceConfig, types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postExternalservicesInferenceDatashapeByVersion_ResourceRequestConfig } from '../resources/postExternalservicesInferenceDatashapeByVersion';
|
|
4
|
+
import { DataShapeInferenceOutputRepresentation as types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation } from '../types/DataShapeInferenceOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getDataShape";
|
|
6
|
+
export declare const getDataShape_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getDataShape_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetDataShapeConfig {
|
|
9
|
+
version: string;
|
|
10
|
+
exampleData?: string;
|
|
11
|
+
mediaType?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GetDataShapeConfig) => resources_postExternalservicesInferenceDatashapeByVersion_ResourceRequestConfig;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetDataShapeConfig>): adapter$45$utils_Untrusted<GetDataShapeConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetDataShapeConfig | null;
|
|
18
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetDataShapeConfig): $64$luvio_engine_Snapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, any>;
|
|
20
|
+
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").FulfilledSnapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, any>>;
|
|
21
|
+
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>;
|
|
22
|
+
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>>;
|
|
23
|
+
export type BuildSnapshotContext = {
|
|
24
|
+
luvio: $64$luvio_engine_Luvio;
|
|
25
|
+
config: GetDataShapeConfig;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, any>>;
|
|
28
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation>): $64$luvio_engine_Snapshot<types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation, any>;
|
|
29
|
+
export declare const getDataShapeAdapterFactory: $64$luvio_engine_AdapterFactory<GetDataShapeConfig, types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { OpenApiSpecInferenceInputRepresentation as types_OpenApiSpecInferenceInputRepresentation_OpenApiSpecInferenceInputRepresentation } from '../types/OpenApiSpecInferenceInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postExternalservicesInferenceOpenapispecByVersion_ResourceRequestConfig } from '../resources/postExternalservicesInferenceOpenapispecByVersion';
|
|
5
|
+
import { OpenApiSpecInferenceOutputRepresentation as types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation } from '../types/OpenApiSpecInferenceOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "getOpenApiSpec";
|
|
7
|
+
export declare const getOpenApiSpec_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const getOpenApiSpec_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface GetOpenApiSpecConfig {
|
|
10
|
+
version: string;
|
|
11
|
+
input: types_OpenApiSpecInferenceInputRepresentation_OpenApiSpecInferenceInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GetOpenApiSpecConfig) => resources_postExternalservicesInferenceOpenapispecByVersion_ResourceRequestConfig;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetOpenApiSpecConfig>): adapter$45$utils_Untrusted<GetOpenApiSpecConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetOpenApiSpecConfig | null;
|
|
18
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetOpenApiSpecConfig): $64$luvio_engine_Snapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, any>;
|
|
20
|
+
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").FulfilledSnapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, any>>;
|
|
21
|
+
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>;
|
|
22
|
+
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>>;
|
|
23
|
+
export type BuildSnapshotContext = {
|
|
24
|
+
luvio: $64$luvio_engine_Luvio;
|
|
25
|
+
config: GetOpenApiSpecConfig;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, any>>;
|
|
28
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation>): $64$luvio_engine_Snapshot<types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation, any>;
|
|
29
|
+
export declare const getOpenApiSpecAdapterFactory: $64$luvio_engine_AdapterFactory<GetOpenApiSpecConfig, types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getExternalservicesStatisticsServices_ResourceRequestConfig } from '../resources/getExternalservicesStatisticsServices';
|
|
4
|
+
import { ExternalServiceStatisticsOutputRepresentation as types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation } from '../types/ExternalServiceStatisticsOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getStatistics";
|
|
6
|
+
export declare const getStatistics_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getStatistics_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetStatisticsConfig {
|
|
9
|
+
}
|
|
10
|
+
export declare const createResourceParams: (config: GetStatisticsConfig) => resources_getExternalservicesStatisticsServices_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetStatisticsConfig>): adapter$45$utils_Untrusted<GetStatisticsConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetStatisticsConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetStatisticsConfig): $64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>;
|
|
17
|
+
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").FulfilledSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>>;
|
|
18
|
+
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>;
|
|
19
|
+
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>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetStatisticsConfig;
|
|
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 getStatisticsAdapterFactory: $64$luvio_engine_AdapterFactory<GetStatisticsConfig, types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getExternalservicesStatisticsServicesByRegistrationName_ResourceRequestConfig } from '../resources/getExternalservicesStatisticsServicesByRegistrationName';
|
|
4
|
+
import { ExternalServiceStatisticsOutputRepresentation as types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation } from '../types/ExternalServiceStatisticsOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getStatisticsForService";
|
|
6
|
+
export declare const getStatisticsForService_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getStatisticsForService_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetStatisticsForServiceConfig {
|
|
9
|
+
registrationName: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetStatisticsForServiceConfig) => resources_getExternalservicesStatisticsServicesByRegistrationName_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetStatisticsForServiceConfig>): adapter$45$utils_Untrusted<GetStatisticsForServiceConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetStatisticsForServiceConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetStatisticsForServiceConfig): $64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>;
|
|
18
|
+
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").FulfilledSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>>;
|
|
19
|
+
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>;
|
|
20
|
+
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>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetStatisticsForServiceConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>): $64$luvio_engine_Snapshot<types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation, any>;
|
|
27
|
+
export declare const getStatisticsForServiceAdapterFactory: $64$luvio_engine_AdapterFactory<GetStatisticsForServiceConfig, types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { TestConnectionInputRepresentation as types_TestConnectionInputRepresentation_TestConnectionInputRepresentation } from '../types/TestConnectionInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postExternalservicesInferenceDatashapeSendrequestByVersion_ResourceRequestConfig } from '../resources/postExternalservicesInferenceDatashapeSendrequestByVersion';
|
|
5
|
+
import { TestConnectionOutputRepresentation as types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation } from '../types/TestConnectionOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "sendTestConnectionRequest";
|
|
7
|
+
export declare const sendTestConnectionRequest_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const sendTestConnectionRequest_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface SendTestConnectionRequestConfig {
|
|
10
|
+
version: string;
|
|
11
|
+
configuration: types_TestConnectionInputRepresentation_TestConnectionInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: SendTestConnectionRequestConfig) => resources_postExternalservicesInferenceDatashapeSendrequestByVersion_ResourceRequestConfig;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: SendTestConnectionRequestConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: SendTestConnectionRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<SendTestConnectionRequestConfig>): adapter$45$utils_Untrusted<SendTestConnectionRequestConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): SendTestConnectionRequestConfig | null;
|
|
18
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: SendTestConnectionRequestConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: SendTestConnectionRequestConfig): $64$luvio_engine_Snapshot<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation, any>;
|
|
20
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: SendTestConnectionRequestConfig, resourceParams: resources_postExternalservicesInferenceDatashapeSendrequestByVersion_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation, any>>;
|
|
21
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: SendTestConnectionRequestConfig, resourceParams: resources_postExternalservicesInferenceDatashapeSendrequestByVersion_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
22
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: SendTestConnectionRequestConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation, any>>;
|
|
23
|
+
export type BuildSnapshotContext = {
|
|
24
|
+
luvio: $64$luvio_engine_Luvio;
|
|
25
|
+
config: SendTestConnectionRequestConfig;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation, any>>;
|
|
28
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation>): $64$luvio_engine_Snapshot<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation, any>;
|
|
29
|
+
export declare const sendTestConnectionRequestAdapterFactory: $64$luvio_engine_AdapterFactory<SendTestConnectionRequestConfig, types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { SchemaValidationInputRepresentation as types_SchemaValidationInputRepresentation_SchemaValidationInputRepresentation } from '../types/SchemaValidationInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postExternalservicesSchemasValidationBySchemaName_ResourceRequestConfig } from '../resources/postExternalservicesSchemasValidationBySchemaName';
|
|
5
|
+
import { SchemaValidationOutputRepresentation as types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation } from '../types/SchemaValidationOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "validateSchema";
|
|
7
|
+
export declare const validateSchema_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const validateSchema_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface ValidateSchemaConfig {
|
|
10
|
+
schemaName: string;
|
|
11
|
+
schema: types_SchemaValidationInputRepresentation_SchemaValidationInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: ValidateSchemaConfig) => resources_postExternalservicesSchemasValidationBySchemaName_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<ValidateSchemaConfig>): adapter$45$utils_Untrusted<ValidateSchemaConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): ValidateSchemaConfig | null;
|
|
16
|
+
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>>;
|
|
17
|
+
export declare const validateSchemaAdapterFactory: $64$luvio_engine_AdapterFactory<ValidateSchemaConfig, types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { getActionDetailsForServiceAdapterFactory } from '../adapters/getActionDetailsForService';
|
|
2
|
+
export { getDataShapeAdapterFactory } from '../adapters/getDataShape';
|
|
3
|
+
export { sendTestConnectionRequestAdapterFactory } from '../adapters/sendTestConnectionRequest';
|
|
4
|
+
export { getOpenApiSpecAdapterFactory } from '../adapters/getOpenApiSpec';
|
|
5
|
+
export { validateSchemaAdapterFactory } from '../adapters/validateSchema';
|
|
6
|
+
export { getStatisticsAdapterFactory } from '../adapters/getStatistics';
|
|
7
|
+
export { getStatisticsForServiceAdapterFactory } from '../adapters/getStatisticsForService';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare let getActionDetailsForService: any;
|
|
2
|
+
declare let getDataShape: any;
|
|
3
|
+
declare let getOpenApiSpec: any;
|
|
4
|
+
declare let getStatistics: any;
|
|
5
|
+
declare let getStatisticsForService: any;
|
|
6
|
+
declare let sendTestConnectionRequest: any;
|
|
7
|
+
declare let validateSchema: any;
|
|
8
|
+
declare let getActionDetailsForService_imperative: any;
|
|
9
|
+
declare let getDataShape_imperative: any;
|
|
10
|
+
declare let getOpenApiSpec_imperative: any;
|
|
11
|
+
declare let getStatistics_imperative: any;
|
|
12
|
+
declare let getStatisticsForService_imperative: any;
|
|
13
|
+
declare let sendTestConnectionRequest_imperative: any;
|
|
14
|
+
export { getActionDetailsForService, getDataShape, getOpenApiSpec, getStatistics, getStatisticsForService, sendTestConnectionRequest, validateSchema, getActionDetailsForService_imperative, getDataShape_imperative, getOpenApiSpec_imperative, getStatistics_imperative, getStatisticsForService_imperative, sendTestConnectionRequest_imperative, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { ExternalServiceActionOutputRepresentation as types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation } from '../types/ExternalServiceActionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
actionName: 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(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ExternalServiceActionOutputRepresentation_ExternalServiceActionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { 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(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExternalServiceSchemaRequestRepresentation_ExternalServiceSchemaRequestRepresentation): void;
|
|
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;
|
package/dist/es/es2018/types/src/generated/resources/getExternalservicesStatisticsServices.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { 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(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation): void;
|
|
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, 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(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ExternalServiceStatisticsOutputRepresentation_ExternalServiceStatisticsOutputRepresentation): void;
|
|
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;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { 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(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_DataShapeInferenceOutputRepresentation_DataShapeInferenceOutputRepresentation): void;
|
|
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;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TestConnectionInputRepresentation as types_TestConnectionInputRepresentation_TestConnectionInputRepresentation } from '../types/TestConnectionInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { TestConnectionOutputRepresentation as types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation } from '../types/TestConnectionOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
urlParams: {
|
|
6
|
+
version: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
configuration: types_TestConnectionInputRepresentation_TestConnectionInputRepresentation;
|
|
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(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation): void;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation, any>;
|
|
17
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_TestConnectionOutputRepresentation_TestConnectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
18
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|
|
@@ -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, 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(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_OpenApiSpecInferenceOutputRepresentation_OpenApiSpecInferenceOutputRepresentation): void;
|
|
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;
|
|
@@ -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, 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(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SchemaValidationOutputRepresentation_SchemaValidationOutputRepresentation): void;
|
|
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,37 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ApiInfoRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Information about an available API.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ApiInfoRepresentationNormalized {
|
|
17
|
+
/** Description of this API */
|
|
18
|
+
description: string;
|
|
19
|
+
/** Unique identifier for this API */
|
|
20
|
+
id: string;
|
|
21
|
+
/** Name of this API */
|
|
22
|
+
name: string;
|
|
23
|
+
/** Version of this API */
|
|
24
|
+
version: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Information about an available API.
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface ApiInfoRepresentation {
|
|
33
|
+
description: string;
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
version: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ApiListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* A list of available APIs.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiListRepresentationNormalized {
|
|
18
|
+
/** List of available APIs */
|
|
19
|
+
apis: Array<ApiInfoRepresentation_ApiInfoRepresentation>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A list of available APIs.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface ApiListRepresentation {
|
|
28
|
+
apis: Array<ApiInfoRepresentation_ApiInfoRepresentation>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ApiSchemaRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* The schema for an API.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ApiSchemaRepresentationNormalized {
|
|
17
|
+
/** Schema document contents */
|
|
18
|
+
schemaContents: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The schema for an API.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface ApiSchemaRepresentation {
|
|
27
|
+
schemaContents: string;
|
|
28
|
+
}
|