@salesforce/lds-adapters-service-ecm 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/service-ecm.js +9423 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createAgentAction.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/createAgentFlow.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/createCatalogItem.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/adapters/deployTemplate.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/generateIntakeForm.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/generateOmniScript.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/getAgentActions.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getAllServiceAutomationDep.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getAllServiceProcessTemplate.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/getCatalogItem.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getServiceRequest.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/updateCatalogItem.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/adapters/updateEpcCategories.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectServiceAutomationCatalogCatalogItemByCatalogItemId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectServiceAutomationGenAiActions.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectServiceAutomationServiceProcessGetAllTemplates.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectServiceAutomationServiceRequestServiceCatalogRequestByServiceRequestId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectServiceAutomationCatalogCategoriesByCatalogId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationAgentAutolaunchedFlow.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationCatalogCatalogItem.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationGenAiActions.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationIntakeFormGenerateIntakeForm.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationIntakeFormGenerateIntakeOmniscript.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationQuery.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectServiceAutomationTemplateDeployByTemplateId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/AgentActionAttributeOutputRepresentation.d.ts +64 -0
- package/dist/es/es2018/types/src/generated/types/AgentActionInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AgentActionOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/AgentAutolaunchedFlowInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AgentAutolaunchedFlowRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/AgentAutolaunchedFlowStatusRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/AssociatedArticleOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeInputRepresentation.d.ts +74 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemAttributeOutputRepresentation.d.ts +77 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemCreateInputRepresentation.d.ts +86 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemOutputRepresentation.d.ts +101 -0
- package/dist/es/es2018/types/src/generated/types/CatalogItemUpdateInputRepresentation.d.ts +89 -0
- package/dist/es/es2018/types/src/generated/types/CategoriesInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CategoryAndParentErrorOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/CategoryAndParentOutputRepresentation.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/CategoryInput.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DeploymentOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionOutputRepresentation.d.ts +72 -0
- package/dist/es/es2018/types/src/generated/types/EinsteinAgentActionsOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/EligibilityRuleOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/EligibilityRulesInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FilterInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentFlowInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/FulfillmentFlowOutputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/GenerateIntakeFormInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/GenerateIntakeFormOutputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/GenericCustomObject.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/IntakeFormCreationInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/IntakeFormInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/IntakeFormOutputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/IntegrationDefInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/IntegrationDefinitionOutputPresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/KnowledgeArticleInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/OmniIntakeOutputRepresentation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/PicklistAttributeTypeInputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/PicklistAttributeTypeOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/PreprocessorInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/PreprocessorOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ProductDetailsInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/ProductDetailsOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ProductRequestCreateInputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/ProductRequestOutputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/ProductRequestUpdateInputRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/SectionInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/SectionOutputRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/ServiceAutomationDepOutputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/ServiceAutomationDepReadInputRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ServiceAutomationOutputRecordRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ServiceProcessTemplateOutputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ServiceProcessTemplatesOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ServiceRequestGetOutputRepresentation.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +9524 -0
- package/src/raml/api.raml +1712 -0
- package/src/raml/luvio.raml +101 -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 = "ecm";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectServiceAutomationGenAiActions_ResourceRequestConfig } from '../resources/postConnectServiceAutomationGenAiActions';
|
|
4
|
+
import { EinsteinAgentActionOutputRepresentation as types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation } from '../types/EinsteinAgentActionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "createAgentAction";
|
|
6
|
+
export declare const createAgentAction_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const createAgentAction_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateAgentActionConfig {
|
|
9
|
+
description: string;
|
|
10
|
+
developerName: string;
|
|
11
|
+
invocationTargetIdentifier: string;
|
|
12
|
+
invocationTargetType: string;
|
|
13
|
+
label: string;
|
|
14
|
+
serviceProcessId: string;
|
|
15
|
+
}
|
|
16
|
+
export declare const createResourceParams: (config: CreateAgentActionConfig) => resources_postConnectServiceAutomationGenAiActions_ResourceRequestConfig;
|
|
17
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateAgentActionConfig>): adapter$45$utils_Untrusted<CreateAgentActionConfig>;
|
|
18
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateAgentActionConfig | null;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateAgentActionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation, any>>;
|
|
20
|
+
export declare const createAgentActionAdapterFactory: $64$luvio_engine_AdapterFactory<CreateAgentActionConfig, types_EinsteinAgentActionOutputRepresentation_EinsteinAgentActionOutputRepresentation>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectServiceAutomationAgentAutolaunchedFlow_ResourceRequestConfig } from '../resources/postConnectServiceAutomationAgentAutolaunchedFlow';
|
|
4
|
+
import { AgentAutolaunchedFlowRepresentation as types_AgentAutolaunchedFlowRepresentation_AgentAutolaunchedFlowRepresentation } from '../types/AgentAutolaunchedFlowRepresentation';
|
|
5
|
+
export declare const adapterName = "createAgentFlow";
|
|
6
|
+
export declare const createAgentFlow_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const createAgentFlow_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateAgentFlowConfig {
|
|
9
|
+
description: string;
|
|
10
|
+
developerName: string;
|
|
11
|
+
label: string;
|
|
12
|
+
serviceProcessId: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const createResourceParams: (config: CreateAgentFlowConfig) => resources_postConnectServiceAutomationAgentAutolaunchedFlow_ResourceRequestConfig;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateAgentFlowConfig>): adapter$45$utils_Untrusted<CreateAgentFlowConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateAgentFlowConfig | null;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateAgentFlowConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_AgentAutolaunchedFlowRepresentation_AgentAutolaunchedFlowRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_AgentAutolaunchedFlowRepresentation_AgentAutolaunchedFlowRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_AgentAutolaunchedFlowRepresentation_AgentAutolaunchedFlowRepresentation, any>>;
|
|
18
|
+
export declare const createAgentFlowAdapterFactory: $64$luvio_engine_AdapterFactory<CreateAgentFlowConfig, types_AgentAutolaunchedFlowRepresentation_AgentAutolaunchedFlowRepresentation>;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { AgentActionInputRepresentation as types_AgentActionInputRepresentation_AgentActionInputRepresentation } from '../types/AgentActionInputRepresentation';
|
|
4
|
+
import { KnowledgeArticleInputRepresentation as types_KnowledgeArticleInputRepresentation_KnowledgeArticleInputRepresentation } from '../types/KnowledgeArticleInputRepresentation';
|
|
5
|
+
import { CatalogItemAttributeInputRepresentation as types_CatalogItemAttributeInputRepresentation_CatalogItemAttributeInputRepresentation } from '../types/CatalogItemAttributeInputRepresentation';
|
|
6
|
+
import { SectionInputRepresentation as types_SectionInputRepresentation_SectionInputRepresentation } from '../types/SectionInputRepresentation';
|
|
7
|
+
import { EligibilityRulesInputRepresentation as types_EligibilityRulesInputRepresentation_EligibilityRulesInputRepresentation } from '../types/EligibilityRulesInputRepresentation';
|
|
8
|
+
import { FulfillmentFlowInputRepresentation as types_FulfillmentFlowInputRepresentation_FulfillmentFlowInputRepresentation } from '../types/FulfillmentFlowInputRepresentation';
|
|
9
|
+
import { IntakeFormInputRepresentation as types_IntakeFormInputRepresentation_IntakeFormInputRepresentation } from '../types/IntakeFormInputRepresentation';
|
|
10
|
+
import { IntegrationDefInputRepresentation as types_IntegrationDefInputRepresentation_IntegrationDefInputRepresentation } from '../types/IntegrationDefInputRepresentation';
|
|
11
|
+
import { PreprocessorInputRepresentation as types_PreprocessorInputRepresentation_PreprocessorInputRepresentation } from '../types/PreprocessorInputRepresentation';
|
|
12
|
+
import { ProductRequestCreateInputRepresentation as types_ProductRequestCreateInputRepresentation_ProductRequestCreateInputRepresentation } from '../types/ProductRequestCreateInputRepresentation';
|
|
13
|
+
import { ResourceRequestConfig as resources_postConnectServiceAutomationCatalogCatalogItem_ResourceRequestConfig } from '../resources/postConnectServiceAutomationCatalogCatalogItem';
|
|
14
|
+
import { CatalogItemOutputRepresentation as types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation } from '../types/CatalogItemOutputRepresentation';
|
|
15
|
+
export declare const adapterName = "createCatalogItem";
|
|
16
|
+
export declare const createCatalogItem_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
17
|
+
export declare const createCatalogItem_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
18
|
+
export interface CreateCatalogItemConfig {
|
|
19
|
+
agentAction?: types_AgentActionInputRepresentation_AgentActionInputRepresentation | null;
|
|
20
|
+
associatedArticles?: Array<types_KnowledgeArticleInputRepresentation_KnowledgeArticleInputRepresentation | null>;
|
|
21
|
+
attributes?: Array<types_CatalogItemAttributeInputRepresentation_CatalogItemAttributeInputRepresentation | null>;
|
|
22
|
+
sections?: Array<types_SectionInputRepresentation_SectionInputRepresentation | null>;
|
|
23
|
+
contextDefinitionDevNameOrId?: string | null;
|
|
24
|
+
description?: string | null;
|
|
25
|
+
displayUrl?: string | null;
|
|
26
|
+
eligibilityRules?: Array<types_EligibilityRulesInputRepresentation_EligibilityRulesInputRepresentation | null>;
|
|
27
|
+
fulfillmentFlow?: types_FulfillmentFlowInputRepresentation_FulfillmentFlowInputRepresentation | null;
|
|
28
|
+
intakeForm?: types_IntakeFormInputRepresentation_IntakeFormInputRepresentation | null;
|
|
29
|
+
integrations?: Array<types_IntegrationDefInputRepresentation_IntegrationDefInputRepresentation | null>;
|
|
30
|
+
isActive?: boolean | null;
|
|
31
|
+
name?: string | null;
|
|
32
|
+
preProcessors?: Array<types_PreprocessorInputRepresentation_PreprocessorInputRepresentation | null>;
|
|
33
|
+
productRequests?: Array<types_ProductRequestCreateInputRepresentation_ProductRequestCreateInputRepresentation | null>;
|
|
34
|
+
targetObject: string | null;
|
|
35
|
+
usedFor?: string | null;
|
|
36
|
+
}
|
|
37
|
+
export declare const createResourceParams: (config: CreateCatalogItemConfig) => resources_postConnectServiceAutomationCatalogCatalogItem_ResourceRequestConfig;
|
|
38
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateCatalogItemConfig>): adapter$45$utils_Untrusted<CreateCatalogItemConfig>;
|
|
39
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateCatalogItemConfig | null;
|
|
40
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateCatalogItemConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>>;
|
|
41
|
+
export declare const createCatalogItemAdapterFactory: $64$luvio_engine_AdapterFactory<CreateCatalogItemConfig, types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectServiceAutomationTemplateDeployByTemplateId_ResourceRequestConfig } from '../resources/postConnectServiceAutomationTemplateDeployByTemplateId';
|
|
4
|
+
import { DeploymentOutputRepresentation as types_DeploymentOutputRepresentation_DeploymentOutputRepresentation } from '../types/DeploymentOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "deployTemplate";
|
|
6
|
+
export declare const deployTemplate_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const deployTemplate_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface DeployTemplateConfig {
|
|
9
|
+
templateId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: DeployTemplateConfig) => resources_postConnectServiceAutomationTemplateDeployByTemplateId_ResourceRequestConfig;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeployTemplateConfig>): adapter$45$utils_Untrusted<DeployTemplateConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeployTemplateConfig | null;
|
|
14
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeployTemplateConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_DeploymentOutputRepresentation_DeploymentOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_DeploymentOutputRepresentation_DeploymentOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_DeploymentOutputRepresentation_DeploymentOutputRepresentation, any>>;
|
|
15
|
+
export declare const deployTemplateAdapterFactory: $64$luvio_engine_AdapterFactory<DeployTemplateConfig, types_DeploymentOutputRepresentation_DeploymentOutputRepresentation>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectServiceAutomationIntakeFormGenerateIntakeForm_ResourceRequestConfig } from '../resources/postConnectServiceAutomationIntakeFormGenerateIntakeForm';
|
|
4
|
+
import { GenerateIntakeFormOutputRepresentation as types_GenerateIntakeFormOutputRepresentation_GenerateIntakeFormOutputRepresentation } from '../types/GenerateIntakeFormOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "generateIntakeForm";
|
|
6
|
+
export declare const generateIntakeForm_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const generateIntakeForm_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GenerateIntakeFormConfig {
|
|
9
|
+
description?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
productId?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const createResourceParams: (config: GenerateIntakeFormConfig) => resources_postConnectServiceAutomationIntakeFormGenerateIntakeForm_ResourceRequestConfig;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GenerateIntakeFormConfig>): adapter$45$utils_Untrusted<GenerateIntakeFormConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GenerateIntakeFormConfig | null;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GenerateIntakeFormConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GenerateIntakeFormOutputRepresentation_GenerateIntakeFormOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_GenerateIntakeFormOutputRepresentation_GenerateIntakeFormOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_GenerateIntakeFormOutputRepresentation_GenerateIntakeFormOutputRepresentation, any>>;
|
|
18
|
+
export declare const generateIntakeFormAdapterFactory: $64$luvio_engine_AdapterFactory<GenerateIntakeFormConfig, types_GenerateIntakeFormOutputRepresentation_GenerateIntakeFormOutputRepresentation>;
|
|
@@ -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 { ResourceRequestConfig as resources_postConnectServiceAutomationIntakeFormGenerateIntakeOmniscript_ResourceRequestConfig } from '../resources/postConnectServiceAutomationIntakeFormGenerateIntakeOmniscript';
|
|
4
|
+
import { OmniIntakeOutputRepresentation as types_OmniIntakeOutputRepresentation_OmniIntakeOutputRepresentation } from '../types/OmniIntakeOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "generateOmniScript";
|
|
6
|
+
export declare const generateOmniScript_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const generateOmniScript_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GenerateOmniScriptConfig {
|
|
9
|
+
productId: string;
|
|
10
|
+
scriptDescription: string;
|
|
11
|
+
scriptName: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GenerateOmniScriptConfig) => resources_postConnectServiceAutomationIntakeFormGenerateIntakeOmniscript_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GenerateOmniScriptConfig>): adapter$45$utils_Untrusted<GenerateOmniScriptConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GenerateOmniScriptConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GenerateOmniScriptConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_OmniIntakeOutputRepresentation_OmniIntakeOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_OmniIntakeOutputRepresentation_OmniIntakeOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_OmniIntakeOutputRepresentation_OmniIntakeOutputRepresentation, any>>;
|
|
17
|
+
export declare const generateOmniScriptAdapterFactory: $64$luvio_engine_AdapterFactory<GenerateOmniScriptConfig, types_OmniIntakeOutputRepresentation_OmniIntakeOutputRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectServiceAutomationGenAiActions_ResourceRequestConfig } from '../resources/getConnectServiceAutomationGenAiActions';
|
|
4
|
+
import { EinsteinAgentActionsOutputRepresentation as types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation } from '../types/EinsteinAgentActionsOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getAgentActions";
|
|
6
|
+
export declare const getAgentActions_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getAgentActions_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetAgentActionsConfig {
|
|
9
|
+
actionDevName?: string;
|
|
10
|
+
resourceType?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetAgentActionsConfig) => resources_getConnectServiceAutomationGenAiActions_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAgentActionsConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAgentActionsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAgentActionsConfig>): adapter$45$utils_Untrusted<GetAgentActionsConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetAgentActionsConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetAgentActionsConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAgentActionsConfig): $64$luvio_engine_Snapshot<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAgentActionsConfig, resourceParams: resources_getConnectServiceAutomationGenAiActions_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAgentActionsConfig, resourceParams: resources_getConnectServiceAutomationGenAiActions_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAgentActionsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetAgentActionsConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation>): $64$luvio_engine_Snapshot<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation, any>;
|
|
28
|
+
export declare const getAgentActionsAdapterFactory: $64$luvio_engine_AdapterFactory<GetAgentActionsConfig, types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation>;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 { FilterInputRepresentation as types_FilterInputRepresentation_FilterInputRepresentation } from '../types/FilterInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectServiceAutomationQuery_ResourceRequestConfig } from '../resources/postConnectServiceAutomationQuery';
|
|
5
|
+
import { ServiceAutomationDepOutputRepresentation as types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation } from '../types/ServiceAutomationDepOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "getAllServiceAutomationDep";
|
|
7
|
+
export declare const getAllServiceAutomationDep_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const getAllServiceAutomationDep_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface GetAllServiceAutomationDepConfig {
|
|
10
|
+
entityName: string;
|
|
11
|
+
fields: Array<string>;
|
|
12
|
+
filters: Array<types_FilterInputRepresentation_FilterInputRepresentation>;
|
|
13
|
+
limit?: number | null;
|
|
14
|
+
}
|
|
15
|
+
export declare const createResourceParams: (config: GetAllServiceAutomationDepConfig) => resources_postConnectServiceAutomationQuery_ResourceRequestConfig;
|
|
16
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig): string;
|
|
17
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
18
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAllServiceAutomationDepConfig>): adapter$45$utils_Untrusted<GetAllServiceAutomationDepConfig>;
|
|
19
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetAllServiceAutomationDepConfig | null;
|
|
20
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig): $64$luvio_engine_Fragment;
|
|
21
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig): $64$luvio_engine_Snapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, any>;
|
|
22
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig, resourceParams: resources_postConnectServiceAutomationQuery_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, any>>;
|
|
23
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig, resourceParams: resources_postConnectServiceAutomationQuery_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
24
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAllServiceAutomationDepConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, any>>;
|
|
25
|
+
export type BuildSnapshotContext = {
|
|
26
|
+
luvio: $64$luvio_engine_Luvio;
|
|
27
|
+
config: GetAllServiceAutomationDepConfig;
|
|
28
|
+
};
|
|
29
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, any>>;
|
|
30
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation>): $64$luvio_engine_Snapshot<types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation, any>;
|
|
31
|
+
export declare const getAllServiceAutomationDepAdapterFactory: $64$luvio_engine_AdapterFactory<GetAllServiceAutomationDepConfig, types_ServiceAutomationDepOutputRepresentation_ServiceAutomationDepOutputRepresentation>;
|
|
@@ -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_getConnectServiceAutomationServiceProcessGetAllTemplates_ResourceRequestConfig } from '../resources/getConnectServiceAutomationServiceProcessGetAllTemplates';
|
|
4
|
+
import { ServiceProcessTemplatesOutputRepresentation as types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation } from '../types/ServiceProcessTemplatesOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getAllServiceProcessTemplate";
|
|
6
|
+
export declare const getAllServiceProcessTemplate_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getAllServiceProcessTemplate_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetAllServiceProcessTemplateConfig {
|
|
9
|
+
}
|
|
10
|
+
export declare const createResourceParams: (config: GetAllServiceProcessTemplateConfig) => resources_getConnectServiceAutomationServiceProcessGetAllTemplates_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAllServiceProcessTemplateConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAllServiceProcessTemplateConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAllServiceProcessTemplateConfig>): adapter$45$utils_Untrusted<GetAllServiceProcessTemplateConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetAllServiceProcessTemplateConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetAllServiceProcessTemplateConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAllServiceProcessTemplateConfig): $64$luvio_engine_Snapshot<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAllServiceProcessTemplateConfig, resourceParams: resources_getConnectServiceAutomationServiceProcessGetAllTemplates_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation, any>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAllServiceProcessTemplateConfig, resourceParams: resources_getConnectServiceAutomationServiceProcessGetAllTemplates_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAllServiceProcessTemplateConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetAllServiceProcessTemplateConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation>): $64$luvio_engine_Snapshot<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation, any>;
|
|
26
|
+
export declare const getAllServiceProcessTemplateAdapterFactory: $64$luvio_engine_AdapterFactory<GetAllServiceProcessTemplateConfig, types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig } from '../resources/getConnectServiceAutomationCatalogCatalogItemByCatalogItemId';
|
|
4
|
+
import { CatalogItemOutputRepresentation as types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation } from '../types/CatalogItemOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getCatalogItem";
|
|
6
|
+
export declare const getCatalogItem_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getCatalogItem_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetCatalogItemConfig {
|
|
9
|
+
catalogItemId: string;
|
|
10
|
+
isRuntime?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetCatalogItemConfig) => resources_getConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCatalogItemConfig>): adapter$45$utils_Untrusted<GetCatalogItemConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCatalogItemConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig): $64$luvio_engine_Snapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig, resourceParams: resources_getConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig, resourceParams: resources_getConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCatalogItemConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetCatalogItemConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation>): $64$luvio_engine_Snapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>;
|
|
28
|
+
export declare const getCatalogItemAdapterFactory: $64$luvio_engine_AdapterFactory<GetCatalogItemConfig, types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation>;
|
|
@@ -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_getConnectServiceAutomationServiceRequestServiceCatalogRequestByServiceRequestId_ResourceRequestConfig } from '../resources/getConnectServiceAutomationServiceRequestServiceCatalogRequestByServiceRequestId';
|
|
4
|
+
import { ServiceRequestGetOutputRepresentation as types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation } from '../types/ServiceRequestGetOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getServiceRequest";
|
|
6
|
+
export declare const getServiceRequest_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getServiceRequest_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetServiceRequestConfig {
|
|
9
|
+
serviceRequestId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetServiceRequestConfig) => resources_getConnectServiceAutomationServiceRequestServiceCatalogRequestByServiceRequestId_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetServiceRequestConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetServiceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetServiceRequestConfig>): adapter$45$utils_Untrusted<GetServiceRequestConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetServiceRequestConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetServiceRequestConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetServiceRequestConfig): $64$luvio_engine_Snapshot<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetServiceRequestConfig, resourceParams: resources_getConnectServiceAutomationServiceRequestServiceCatalogRequestByServiceRequestId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetServiceRequestConfig, resourceParams: resources_getConnectServiceAutomationServiceRequestServiceCatalogRequestByServiceRequestId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetServiceRequestConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetServiceRequestConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation>): $64$luvio_engine_Snapshot<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation, any>;
|
|
27
|
+
export declare const getServiceRequestAdapterFactory: $64$luvio_engine_AdapterFactory<GetServiceRequestConfig, types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation>;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { AgentActionInputRepresentation as types_AgentActionInputRepresentation_AgentActionInputRepresentation } from '../types/AgentActionInputRepresentation';
|
|
4
|
+
import { KnowledgeArticleInputRepresentation as types_KnowledgeArticleInputRepresentation_KnowledgeArticleInputRepresentation } from '../types/KnowledgeArticleInputRepresentation';
|
|
5
|
+
import { CatalogItemAttributeInputRepresentation as types_CatalogItemAttributeInputRepresentation_CatalogItemAttributeInputRepresentation } from '../types/CatalogItemAttributeInputRepresentation';
|
|
6
|
+
import { SectionInputRepresentation as types_SectionInputRepresentation_SectionInputRepresentation } from '../types/SectionInputRepresentation';
|
|
7
|
+
import { EligibilityRulesInputRepresentation as types_EligibilityRulesInputRepresentation_EligibilityRulesInputRepresentation } from '../types/EligibilityRulesInputRepresentation';
|
|
8
|
+
import { FulfillmentFlowInputRepresentation as types_FulfillmentFlowInputRepresentation_FulfillmentFlowInputRepresentation } from '../types/FulfillmentFlowInputRepresentation';
|
|
9
|
+
import { IntakeFormInputRepresentation as types_IntakeFormInputRepresentation_IntakeFormInputRepresentation } from '../types/IntakeFormInputRepresentation';
|
|
10
|
+
import { IntegrationDefInputRepresentation as types_IntegrationDefInputRepresentation_IntegrationDefInputRepresentation } from '../types/IntegrationDefInputRepresentation';
|
|
11
|
+
import { PreprocessorInputRepresentation as types_PreprocessorInputRepresentation_PreprocessorInputRepresentation } from '../types/PreprocessorInputRepresentation';
|
|
12
|
+
import { ProductRequestCreateInputRepresentation as types_ProductRequestCreateInputRepresentation_ProductRequestCreateInputRepresentation } from '../types/ProductRequestCreateInputRepresentation';
|
|
13
|
+
import { ResourceRequestConfig as resources_patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig } from '../resources/patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId';
|
|
14
|
+
import { CatalogItemOutputRepresentation as types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation } from '../types/CatalogItemOutputRepresentation';
|
|
15
|
+
export declare const adapterName = "updateCatalogItem";
|
|
16
|
+
export declare const updateCatalogItem_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
17
|
+
export declare const updateCatalogItem_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
18
|
+
export interface UpdateCatalogItemConfig {
|
|
19
|
+
catalogItemId: string;
|
|
20
|
+
agentAction?: types_AgentActionInputRepresentation_AgentActionInputRepresentation | null;
|
|
21
|
+
productId?: string | null;
|
|
22
|
+
associatedArticles?: Array<types_KnowledgeArticleInputRepresentation_KnowledgeArticleInputRepresentation | null>;
|
|
23
|
+
attributes?: Array<types_CatalogItemAttributeInputRepresentation_CatalogItemAttributeInputRepresentation | null>;
|
|
24
|
+
sections?: Array<types_SectionInputRepresentation_SectionInputRepresentation | null>;
|
|
25
|
+
contextDefinitionDevNameOrId?: string | null;
|
|
26
|
+
description?: string | null;
|
|
27
|
+
displayUrl?: string | null;
|
|
28
|
+
eligibilityRules?: Array<types_EligibilityRulesInputRepresentation_EligibilityRulesInputRepresentation | null>;
|
|
29
|
+
fulfillmentFlow?: types_FulfillmentFlowInputRepresentation_FulfillmentFlowInputRepresentation | null;
|
|
30
|
+
intakeForm?: types_IntakeFormInputRepresentation_IntakeFormInputRepresentation | null;
|
|
31
|
+
integrations?: Array<types_IntegrationDefInputRepresentation_IntegrationDefInputRepresentation | null>;
|
|
32
|
+
isActive?: boolean | null;
|
|
33
|
+
name?: string | null;
|
|
34
|
+
preProcessors?: Array<types_PreprocessorInputRepresentation_PreprocessorInputRepresentation | null>;
|
|
35
|
+
productRequests?: Array<types_ProductRequestCreateInputRepresentation_ProductRequestCreateInputRepresentation | null>;
|
|
36
|
+
targetObject?: string | null;
|
|
37
|
+
usedFor?: string | null;
|
|
38
|
+
}
|
|
39
|
+
export declare const createResourceParams: (config: UpdateCatalogItemConfig) => resources_patchConnectServiceAutomationCatalogCatalogItemByCatalogItemId_ResourceRequestConfig;
|
|
40
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateCatalogItemConfig>): adapter$45$utils_Untrusted<UpdateCatalogItemConfig>;
|
|
41
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateCatalogItemConfig | null;
|
|
42
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateCatalogItemConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>>;
|
|
43
|
+
export declare const updateCatalogItemAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateCatalogItemConfig, types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation>;
|
|
@@ -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 { CategoryInput as types_CategoryInput_CategoryInput } from '../types/CategoryInput';
|
|
4
|
+
import { ResourceRequestConfig as resources_patchConnectServiceAutomationCatalogCategoriesByCatalogId_ResourceRequestConfig } from '../resources/patchConnectServiceAutomationCatalogCategoriesByCatalogId';
|
|
5
|
+
import { CategoryAndParentOutputRepresentation as types_CategoryAndParentOutputRepresentation_CategoryAndParentOutputRepresentation } from '../types/CategoryAndParentOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "updateEpcCategories";
|
|
7
|
+
export declare const updateEpcCategories_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const updateEpcCategories_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface UpdateEpcCategoriesConfig {
|
|
10
|
+
catalogId: string;
|
|
11
|
+
categories: Array<types_CategoryInput_CategoryInput>;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: UpdateEpcCategoriesConfig) => resources_patchConnectServiceAutomationCatalogCategoriesByCatalogId_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateEpcCategoriesConfig>): adapter$45$utils_Untrusted<UpdateEpcCategoriesConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateEpcCategoriesConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateEpcCategoriesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CategoryAndParentOutputRepresentation_CategoryAndParentOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CategoryAndParentOutputRepresentation_CategoryAndParentOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CategoryAndParentOutputRepresentation_CategoryAndParentOutputRepresentation, any>>;
|
|
17
|
+
export declare const updateEpcCategoriesAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateEpcCategoriesConfig, types_CategoryAndParentOutputRepresentation_CategoryAndParentOutputRepresentation>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { createCatalogItemAdapterFactory } from '../adapters/createCatalogItem';
|
|
2
|
+
export { getCatalogItemAdapterFactory } from '../adapters/getCatalogItem';
|
|
3
|
+
export { updateCatalogItemAdapterFactory } from '../adapters/updateCatalogItem';
|
|
4
|
+
export { updateEpcCategoriesAdapterFactory } from '../adapters/updateEpcCategories';
|
|
5
|
+
export { getAllServiceAutomationDepAdapterFactory } from '../adapters/getAllServiceAutomationDep';
|
|
6
|
+
export { getAllServiceProcessTemplateAdapterFactory } from '../adapters/getAllServiceProcessTemplate';
|
|
7
|
+
export { getAgentActionsAdapterFactory } from '../adapters/getAgentActions';
|
|
8
|
+
export { createAgentActionAdapterFactory } from '../adapters/createAgentAction';
|
|
9
|
+
export { createAgentFlowAdapterFactory } from '../adapters/createAgentFlow';
|
|
10
|
+
export { generateIntakeFormAdapterFactory } from '../adapters/generateIntakeForm';
|
|
11
|
+
export { generateOmniScriptAdapterFactory } from '../adapters/generateOmniScript';
|
|
12
|
+
export { getServiceRequestAdapterFactory } from '../adapters/getServiceRequest';
|
|
13
|
+
export { deployTemplateAdapterFactory } from '../adapters/deployTemplate';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare let createAgentAction: any;
|
|
2
|
+
declare let createAgentFlow: any;
|
|
3
|
+
declare let createCatalogItem: any;
|
|
4
|
+
declare let deployTemplate: any;
|
|
5
|
+
declare let generateIntakeForm: any;
|
|
6
|
+
declare let generateOmniScript: any;
|
|
7
|
+
declare let getAgentActions: any;
|
|
8
|
+
declare let getAllServiceAutomationDep: any;
|
|
9
|
+
declare let getAllServiceProcessTemplate: any;
|
|
10
|
+
declare let getCatalogItem: any;
|
|
11
|
+
declare let getServiceRequest: any;
|
|
12
|
+
declare let updateCatalogItem: any;
|
|
13
|
+
declare let updateEpcCategories: any;
|
|
14
|
+
declare let getAgentActions_imperative: any;
|
|
15
|
+
declare let getAllServiceAutomationDep_imperative: any;
|
|
16
|
+
declare let getAllServiceProcessTemplate_imperative: any;
|
|
17
|
+
declare let getCatalogItem_imperative: any;
|
|
18
|
+
declare let getServiceRequest_imperative: any;
|
|
19
|
+
export { createAgentAction, createAgentFlow, createCatalogItem, deployTemplate, generateIntakeForm, generateOmniScript, getAgentActions, getAllServiceAutomationDep, getAllServiceProcessTemplate, getCatalogItem, getServiceRequest, updateCatalogItem, updateEpcCategories, getAgentActions_imperative, getAllServiceAutomationDep_imperative, getAllServiceProcessTemplate_imperative, getCatalogItem_imperative, getServiceRequest_imperative, };
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { CatalogItemOutputRepresentation as types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation } from '../types/CatalogItemOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
catalogItemId: string;
|
|
6
|
+
};
|
|
7
|
+
queryParams: {
|
|
8
|
+
isRuntime?: boolean;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation): void;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation, any>;
|
|
16
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CatalogItemOutputRepresentation_CatalogItemOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/getConnectServiceAutomationGenAiActions.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { EinsteinAgentActionsOutputRepresentation as types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation } from '../types/EinsteinAgentActionsOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
actionDevName?: string;
|
|
6
|
+
resourceType?: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_EinsteinAgentActionsOutputRepresentation_EinsteinAgentActionsOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
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, 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 { ServiceProcessTemplatesOutputRepresentation as types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation } from '../types/ServiceProcessTemplatesOutputRepresentation';
|
|
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_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation): void;
|
|
9
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation, any>;
|
|
10
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ServiceProcessTemplatesOutputRepresentation_ServiceProcessTemplatesOutputRepresentation>): $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 { ServiceRequestGetOutputRepresentation as types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation } from '../types/ServiceRequestGetOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
serviceRequestId: 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_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ServiceRequestGetOutputRepresentation_ServiceRequestGetOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|