@salesforce/lds-adapters-industries-field-service 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.
Files changed (30) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-field-service.js +1287 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/bookAppointmentSlot.d.ts +16 -0
  5. package/dist/es/es2018/types/src/generated/adapters/createProductServiceCampaign.d.ts +15 -0
  6. package/dist/es/es2018/types/src/generated/adapters/createWorkOrders.d.ts +16 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getAppointmentSlots.d.ts +29 -0
  8. package/dist/es/es2018/types/src/generated/adapters/priceItemWithCoverage.d.ts +21 -0
  9. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +6 -0
  10. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +10 -0
  11. package/dist/es/es2018/types/src/generated/resources/getConnectIndustriesFieldServiceAppointmentSchedulingSlotsByServiceAppointmentIdAndSchedulingPolicyId.d.ts +17 -0
  12. package/dist/es/es2018/types/src/generated/resources/postConnectIndustriesFieldServiceProductServiceCampaignItemsFromList.d.ts +12 -0
  13. package/dist/es/es2018/types/src/generated/resources/postConnectIndustriesFieldServiceProductServiceCampaignWorkOrder.d.ts +13 -0
  14. package/dist/es/es2018/types/src/generated/resources/putConnectIndustriesFieldServiceAppointmentSchedulingSlotsByServiceAppointmentIdAndSchedulingPolicyId.d.ts +13 -0
  15. package/dist/es/es2018/types/src/generated/resources/putConnectIndustriesFieldServiceWorkOrderEstimationPriceItem.d.ts +18 -0
  16. package/dist/es/es2018/types/src/generated/types/AppointmentSchedulingRepresentation.d.ts +55 -0
  17. package/dist/es/es2018/types/src/generated/types/AppointmentSlotRepresentation.d.ts +34 -0
  18. package/dist/es/es2018/types/src/generated/types/AssetCoverageInputRepresentation.d.ts +34 -0
  19. package/dist/es/es2018/types/src/generated/types/PriceItemWithCoverageInputRepresentation.d.ts +42 -0
  20. package/dist/es/es2018/types/src/generated/types/PriceItemWithCoverageRepresentation.d.ts +47 -0
  21. package/dist/es/es2018/types/src/generated/types/ProductServiceCampaignItemsFromListInputRepresentation.d.ts +38 -0
  22. package/dist/es/es2018/types/src/generated/types/ProductServiceCampaignItemsFromListRepresentation.d.ts +44 -0
  23. package/dist/es/es2018/types/src/generated/types/WorkOrderForProductServiceCampaignItemInputRepresentation.d.ts +32 -0
  24. package/dist/es/es2018/types/src/generated/types/WorkOrderForProductServiceCampaignItemRepresentation.d.ts +44 -0
  25. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  26. package/package.json +67 -0
  27. package/sfdc/index.d.ts +1 -0
  28. package/sfdc/index.js +1387 -0
  29. package/src/raml/api.raml +251 -0
  30. package/src/raml/luvio.raml +60 -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 = "field-service";
@@ -0,0 +1,16 @@
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_putConnectIndustriesFieldServiceAppointmentSchedulingSlotsByServiceAppointmentIdAndSchedulingPolicyId_ResourceRequestConfig } from '../resources/putConnectIndustriesFieldServiceAppointmentSchedulingSlotsByServiceAppointmentIdAndSchedulingPolicyId';
4
+ import { AppointmentSchedulingRepresentation as types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation } from '../types/AppointmentSchedulingRepresentation';
5
+ export declare const adapterName = "bookAppointmentSlot";
6
+ export declare const bookAppointmentSlot_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const bookAppointmentSlot_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface BookAppointmentSlotConfig {
9
+ serviceAppointmentId: string;
10
+ schedulingPolicyId: string;
11
+ }
12
+ export declare const createResourceParams: (config: BookAppointmentSlotConfig) => resources_putConnectIndustriesFieldServiceAppointmentSchedulingSlotsByServiceAppointmentIdAndSchedulingPolicyId_ResourceRequestConfig;
13
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<BookAppointmentSlotConfig>): adapter$45$utils_Untrusted<BookAppointmentSlotConfig>;
14
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): BookAppointmentSlotConfig | null;
15
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: BookAppointmentSlotConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, any>>;
16
+ export declare const bookAppointmentSlotAdapterFactory: $64$luvio_engine_AdapterFactory<BookAppointmentSlotConfig, types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation>;
@@ -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_postConnectIndustriesFieldServiceProductServiceCampaignItemsFromList_ResourceRequestConfig } from '../resources/postConnectIndustriesFieldServiceProductServiceCampaignItemsFromList';
4
+ import { ProductServiceCampaignItemsFromListRepresentation as types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation } from '../types/ProductServiceCampaignItemsFromListRepresentation';
5
+ export declare const adapterName = "createProductServiceCampaign";
6
+ export declare const createProductServiceCampaign_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const createProductServiceCampaign_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface CreateProductServiceCampaignConfig {
9
+ actionableListId: string;
10
+ }
11
+ export declare const createResourceParams: (config: CreateProductServiceCampaignConfig) => resources_postConnectIndustriesFieldServiceProductServiceCampaignItemsFromList_ResourceRequestConfig;
12
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateProductServiceCampaignConfig>): adapter$45$utils_Untrusted<CreateProductServiceCampaignConfig>;
13
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateProductServiceCampaignConfig | null;
14
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateProductServiceCampaignConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation, any>>;
15
+ export declare const createProductServiceCampaignAdapterFactory: $64$luvio_engine_AdapterFactory<CreateProductServiceCampaignConfig, types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation>;
@@ -0,0 +1,16 @@
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_postConnectIndustriesFieldServiceProductServiceCampaignWorkOrder_ResourceRequestConfig } from '../resources/postConnectIndustriesFieldServiceProductServiceCampaignWorkOrder';
4
+ import { WorkOrderForProductServiceCampaignItemRepresentation as types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation } from '../types/WorkOrderForProductServiceCampaignItemRepresentation';
5
+ export declare const adapterName = "createWorkOrders";
6
+ export declare const createWorkOrders_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const createWorkOrders_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface CreateWorkOrdersConfig {
9
+ productServiceCampaignId?: string;
10
+ productServiceCampaignItemIds?: Array<string | null>;
11
+ }
12
+ export declare const createResourceParams: (config: CreateWorkOrdersConfig) => resources_postConnectIndustriesFieldServiceProductServiceCampaignWorkOrder_ResourceRequestConfig;
13
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateWorkOrdersConfig>): adapter$45$utils_Untrusted<CreateWorkOrdersConfig>;
14
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateWorkOrdersConfig | null;
15
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateWorkOrdersConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation, any>>;
16
+ export declare const createWorkOrdersAdapterFactory: $64$luvio_engine_AdapterFactory<CreateWorkOrdersConfig, types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation>;
@@ -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, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_getConnectIndustriesFieldServiceAppointmentSchedulingSlotsByServiceAppointmentIdAndSchedulingPolicyId_ResourceRequestConfig } from '../resources/getConnectIndustriesFieldServiceAppointmentSchedulingSlotsByServiceAppointmentIdAndSchedulingPolicyId';
4
+ import { AppointmentSchedulingRepresentation as types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, KeyParams as types_AppointmentSchedulingRepresentation_KeyParams } from '../types/AppointmentSchedulingRepresentation';
5
+ export declare const adapterName = "getAppointmentSlots";
6
+ export declare const getAppointmentSlots_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getAppointmentSlots_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetAppointmentSlotsConfig {
9
+ serviceAppointmentId: string;
10
+ schedulingPolicyId: string;
11
+ }
12
+ export declare const createResourceParams: (config: GetAppointmentSlotsConfig) => resources_getConnectIndustriesFieldServiceAppointmentSchedulingSlotsByServiceAppointmentIdAndSchedulingPolicyId_ResourceRequestConfig;
13
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAppointmentSlotsConfig): string;
14
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAppointmentSlotsConfig): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAppointmentSlotsConfig>): adapter$45$utils_Untrusted<GetAppointmentSlotsConfig>;
16
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetAppointmentSlotsConfig | null;
17
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetAppointmentSlotsConfig): $64$luvio_engine_Fragment;
18
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAppointmentSlotsConfig): $64$luvio_engine_Snapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, any>;
19
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAppointmentSlotsConfig, resourceParams: resources_getConnectIndustriesFieldServiceAppointmentSchedulingSlotsByServiceAppointmentIdAndSchedulingPolicyId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, any>>;
20
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAppointmentSlotsConfig, resourceParams: resources_getConnectIndustriesFieldServiceAppointmentSchedulingSlotsByServiceAppointmentIdAndSchedulingPolicyId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
21
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAppointmentSlotsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, any>>;
22
+ export type BuildSnapshotContext = {
23
+ luvio: $64$luvio_engine_Luvio;
24
+ config: GetAppointmentSlotsConfig;
25
+ };
26
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, any>>;
27
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation>): $64$luvio_engine_Snapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, any>;
28
+ export declare const getAppointmentSlotsAdapterFactory: $64$luvio_engine_AdapterFactory<GetAppointmentSlotsConfig, types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation>;
29
+ export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_AppointmentSchedulingRepresentation_KeyParams, any>[]) => void;
@@ -0,0 +1,21 @@
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 { AssetCoverageInputRepresentation as types_AssetCoverageInputRepresentation_AssetCoverageInputRepresentation } from '../types/AssetCoverageInputRepresentation';
4
+ import { ResourceRequestConfig as resources_putConnectIndustriesFieldServiceWorkOrderEstimationPriceItem_ResourceRequestConfig } from '../resources/putConnectIndustriesFieldServiceWorkOrderEstimationPriceItem';
5
+ import { PriceItemWithCoverageRepresentation as types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation } from '../types/PriceItemWithCoverageRepresentation';
6
+ export declare const adapterName = "priceItemWithCoverage";
7
+ export declare const priceItemWithCoverage_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
8
+ export declare const priceItemWithCoverage_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
9
+ export interface PriceItemWithCoverageConfig {
10
+ assetCoverageMap: {
11
+ [key: string]: types_AssetCoverageInputRepresentation_AssetCoverageInputRepresentation;
12
+ };
13
+ childItems: Array<string>;
14
+ itemId: string;
15
+ pricingProcedure: string;
16
+ }
17
+ export declare const createResourceParams: (config: PriceItemWithCoverageConfig) => resources_putConnectIndustriesFieldServiceWorkOrderEstimationPriceItem_ResourceRequestConfig;
18
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PriceItemWithCoverageConfig>): adapter$45$utils_Untrusted<PriceItemWithCoverageConfig>;
19
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PriceItemWithCoverageConfig | null;
20
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PriceItemWithCoverageConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation, any>>;
21
+ export declare const priceItemWithCoverageAdapterFactory: $64$luvio_engine_AdapterFactory<PriceItemWithCoverageConfig, types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation>;
@@ -0,0 +1,6 @@
1
+ export { getAppointmentSlotsAdapterFactory } from '../adapters/getAppointmentSlots';
2
+ export { bookAppointmentSlotAdapterFactory } from '../adapters/bookAppointmentSlot';
3
+ export { createProductServiceCampaignAdapterFactory } from '../adapters/createProductServiceCampaign';
4
+ export { createWorkOrdersAdapterFactory } from '../adapters/createWorkOrders';
5
+ export { priceItemWithCoverageAdapterFactory } from '../adapters/priceItemWithCoverage';
6
+ export { notifyUpdateAvailableFactory as notifyAppointmentSchedulingUpdateAvailableFactory } from '../types/AppointmentSchedulingRepresentation';
@@ -0,0 +1,10 @@
1
+ declare let bookAppointmentSlot: any;
2
+ declare let createProductServiceCampaign: any;
3
+ declare let createWorkOrders: any;
4
+ declare let getAppointmentSlots: any;
5
+ declare let getAppointmentSlotsNotifyChange: any;
6
+ declare let priceItemWithCoverage: any;
7
+ declare let getAppointmentSlots_imperative: any;
8
+ declare let notifyAppointmentSchedulingUpdateAvailable: any;
9
+ export { bookAppointmentSlot, createProductServiceCampaign, createWorkOrders, getAppointmentSlots, getAppointmentSlotsNotifyChange, priceItemWithCoverage, getAppointmentSlots_imperative, };
10
+ export { notifyAppointmentSchedulingUpdateAvailable };
@@ -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 { AppointmentSchedulingRepresentation as types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation } from '../types/AppointmentSchedulingRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ serviceAppointmentId: string;
6
+ schedulingPolicyId: 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_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation): void;
13
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, any>;
14
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation>): $64$luvio_engine_ErrorSnapshot;
15
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
16
+ export default createResourceRequest;
17
+ export declare function createResourceRequestFromRepresentation(representation: types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation): $64$luvio_engine_ResourceRequest;
@@ -0,0 +1,12 @@
1
+ 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';
2
+ import { ProductServiceCampaignItemsFromListRepresentation as types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation } from '../types/ProductServiceCampaignItemsFromListRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ body: {
5
+ actionableListId: string;
6
+ };
7
+ }
8
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
9
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation): void;
10
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProductServiceCampaignItemsFromListRepresentation_ProductServiceCampaignItemsFromListRepresentation, any>;
11
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
12
+ export default createResourceRequest;
@@ -0,0 +1,13 @@
1
+ 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';
2
+ import { WorkOrderForProductServiceCampaignItemRepresentation as types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation } from '../types/WorkOrderForProductServiceCampaignItemRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ body: {
5
+ productServiceCampaignId?: string;
6
+ productServiceCampaignItemIds?: Array<string | null>;
7
+ };
8
+ }
9
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation): void;
11
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_WorkOrderForProductServiceCampaignItemRepresentation_WorkOrderForProductServiceCampaignItemRepresentation, any>;
12
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
13
+ export default createResourceRequest;
@@ -0,0 +1,13 @@
1
+ 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';
2
+ import { AppointmentSchedulingRepresentation as types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation } from '../types/AppointmentSchedulingRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ serviceAppointmentId: string;
6
+ schedulingPolicyId: string;
7
+ };
8
+ }
9
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation): void;
11
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_AppointmentSchedulingRepresentation_AppointmentSchedulingRepresentation, any>;
12
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
13
+ export default createResourceRequest;
@@ -0,0 +1,18 @@
1
+ import { AssetCoverageInputRepresentation as types_AssetCoverageInputRepresentation_AssetCoverageInputRepresentation } from '../types/AssetCoverageInputRepresentation';
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 { PriceItemWithCoverageRepresentation as types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation } from '../types/PriceItemWithCoverageRepresentation';
4
+ export interface ResourceRequestConfig {
5
+ body: {
6
+ assetCoverageMap: {
7
+ [key: string]: types_AssetCoverageInputRepresentation_AssetCoverageInputRepresentation;
8
+ };
9
+ childItems: Array<string>;
10
+ itemId: string;
11
+ pricingProcedure: string;
12
+ };
13
+ }
14
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
15
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation): void;
16
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_PriceItemWithCoverageRepresentation_PriceItemWithCoverageRepresentation, any>;
17
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
18
+ export default createResourceRequest;
@@ -0,0 +1,55 @@
1
+ import { AppointmentSlotRepresentation as AppointmentSlotRepresentation_AppointmentSlotRepresentation } from './AppointmentSlotRepresentation';
2
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
+ export declare const TTL = 1000;
4
+ export declare const VERSION = "adf3d4fd725138657e26bece6c0bc136";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
8
+ id: string;
9
+ }
10
+ export type AppointmentSchedulingRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export type PartialAppointmentSchedulingRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): AppointmentSchedulingRepresentationNormalizedKeyMetadata;
14
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: AppointmentSchedulingRepresentation): string;
15
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: AppointmentSchedulingRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function normalize(input: AppointmentSchedulingRepresentation, existing: AppointmentSchedulingRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppointmentSchedulingRepresentationNormalized;
17
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
18
+ export declare function equals(existing: AppointmentSchedulingRepresentationNormalized, incoming: AppointmentSchedulingRepresentationNormalized): boolean;
19
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
20
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AppointmentSchedulingRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
21
+ /**
22
+ * Output Representation Of The Appointment Scheduling Response
23
+ *
24
+ * Keys:
25
+ * id (string): serviceAppointmentId
26
+ */
27
+ export interface AppointmentSchedulingRepresentationNormalized {
28
+ /** The details of the slots available for the service appointment */
29
+ appointmentSlots: Array<AppointmentSlotRepresentation_AppointmentSlotRepresentation>;
30
+ /** The code of the error due to which the scheduling request failed */
31
+ errorCode: string;
32
+ /** The details of the error if the scheduling operation was unsuccessful */
33
+ errorMessage: string;
34
+ /** Specifies if the scheduling operation was successful (true) or not (false) */
35
+ isSuccess: boolean;
36
+ /** The details of the service resource assigned */
37
+ resourceId: string;
38
+ /** The details of the service appointment */
39
+ serviceAppointmentId: string;
40
+ }
41
+ /**
42
+ * Output Representation Of The Appointment Scheduling Response
43
+ *
44
+ * Keys:
45
+ * id (string): serviceAppointmentId
46
+ */
47
+ export interface AppointmentSchedulingRepresentation {
48
+ appointmentSlots: Array<AppointmentSlotRepresentation_AppointmentSlotRepresentation>;
49
+ errorCode: string;
50
+ errorMessage: string;
51
+ isSuccess: boolean;
52
+ resourceId: string;
53
+ serviceAppointmentId: string;
54
+ }
55
+ export declare const notifyUpdateAvailableFactory: (luvio: $64$luvio_engine_Luvio) => (configs: Partial<KeyParams>[]) => Promise<void>;
@@ -0,0 +1,34 @@
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 = "2f0233a95128b9599e2fdc4792332572";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: AppointmentSlotRepresentation, existing: AppointmentSlotRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppointmentSlotRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: AppointmentSlotRepresentationNormalized, incoming: AppointmentSlotRepresentationNormalized): 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: AppointmentSlotRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Output Representation Of The Appointment Slot Response For The Service Appointment Request
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface AppointmentSlotRepresentationNormalized {
17
+ /** Service Appointment Slot Finish Interval */
18
+ finishInterval: string;
19
+ /** Service Appointment Slot Grade */
20
+ grade: number;
21
+ /** Service Appointment Slot Start Interval */
22
+ startInterval: string;
23
+ }
24
+ /**
25
+ * Output Representation Of The Appointment Slot Response For The Service Appointment Request
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface AppointmentSlotRepresentation {
31
+ finishInterval: string;
32
+ grade: number;
33
+ startInterval: string;
34
+ }
@@ -0,0 +1,34 @@
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 = "0a3adfff498107a03e78403a5b619788";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: AssetCoverageInputRepresentation, existing: AssetCoverageInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AssetCoverageInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: AssetCoverageInputRepresentationNormalized, incoming: AssetCoverageInputRepresentationNormalized): 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: AssetCoverageInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for Coverage
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface AssetCoverageInputRepresentationNormalized {
17
+ /** The list of contracts */
18
+ contractIds: Array<string>;
19
+ /** The list of entitlements */
20
+ entitlementIds: Array<string>;
21
+ /** The list of warranties */
22
+ warrantyIds: Array<string>;
23
+ }
24
+ /**
25
+ * Input representation for Coverage
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface AssetCoverageInputRepresentation {
31
+ contractIds: Array<string>;
32
+ entitlementIds: Array<string>;
33
+ warrantyIds: Array<string>;
34
+ }
@@ -0,0 +1,42 @@
1
+ import { AssetCoverageInputRepresentation as AssetCoverageInputRepresentation_AssetCoverageInputRepresentation } from './AssetCoverageInputRepresentation';
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 = "891b11c9ec568fccd2e9db50938aa2fb";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: PriceItemWithCoverageInputRepresentation, existing: PriceItemWithCoverageInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PriceItemWithCoverageInputRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: PriceItemWithCoverageInputRepresentationNormalized, incoming: PriceItemWithCoverageInputRepresentationNormalized): 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: PriceItemWithCoverageInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Input representation to Price an Entity with Coverage
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PriceItemWithCoverageInputRepresentationNormalized {
18
+ /** The map of assets and associated coverages */
19
+ assetCoverageMap: {
20
+ [key: string]: AssetCoverageInputRepresentation_AssetCoverageInputRepresentation;
21
+ };
22
+ /** The list of child items to be priced */
23
+ childItems: Array<string>;
24
+ /** The item Id to be priced */
25
+ itemId: string;
26
+ /** The pricing procedure to be used */
27
+ pricingProcedure: string;
28
+ }
29
+ /**
30
+ * Input representation to Price an Entity with Coverage
31
+ *
32
+ * Keys:
33
+ * (none)
34
+ */
35
+ export interface PriceItemWithCoverageInputRepresentation {
36
+ assetCoverageMap: {
37
+ [key: string]: AssetCoverageInputRepresentation_AssetCoverageInputRepresentation;
38
+ };
39
+ childItems: Array<string>;
40
+ itemId: string;
41
+ pricingProcedure: string;
42
+ }
@@ -0,0 +1,47 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const TTL = 300;
3
+ export declare const VERSION = "015dacd597244984e1677034427a3f46";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ itemId: string;
8
+ }
9
+ export type PriceItemWithCoverageRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialPriceItemWithCoverageRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): PriceItemWithCoverageRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: PriceItemWithCoverageRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: PriceItemWithCoverageRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: PriceItemWithCoverageRepresentation, existing: PriceItemWithCoverageRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PriceItemWithCoverageRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: PriceItemWithCoverageRepresentationNormalized, incoming: PriceItemWithCoverageRepresentationNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PriceItemWithCoverageRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * Output representation of the error response for the price item with coverage request.
22
+ *
23
+ * Keys:
24
+ * itemId (string): itemId
25
+ */
26
+ export interface PriceItemWithCoverageRepresentationNormalized {
27
+ /** The code of the error due to which the request failed. */
28
+ errorCode: string;
29
+ /** The details of the error if the operation was unsuccessful. */
30
+ errorMessage: string;
31
+ /** Specifies if the operation was successful (true) or not (false) */
32
+ isSuccess: boolean;
33
+ /** The details of the item being processed. */
34
+ itemId: string;
35
+ }
36
+ /**
37
+ * Output representation of the error response for the price item with coverage request.
38
+ *
39
+ * Keys:
40
+ * itemId (string): itemId
41
+ */
42
+ export interface PriceItemWithCoverageRepresentation {
43
+ errorCode: string;
44
+ errorMessage: string;
45
+ isSuccess: boolean;
46
+ itemId: string;
47
+ }
@@ -0,0 +1,38 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const TTL = 300;
3
+ export declare const VERSION = "2d988d51293112860e27be9c879a36c1";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ id: string;
8
+ }
9
+ export type ProductServiceCampaignItemsFromListInputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialProductServiceCampaignItemsFromListInputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ProductServiceCampaignItemsFromListInputRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ProductServiceCampaignItemsFromListInputRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ProductServiceCampaignItemsFromListInputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: ProductServiceCampaignItemsFromListInputRepresentation, existing: ProductServiceCampaignItemsFromListInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductServiceCampaignItemsFromListInputRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: ProductServiceCampaignItemsFromListInputRepresentationNormalized, incoming: ProductServiceCampaignItemsFromListInputRepresentationNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductServiceCampaignItemsFromListInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * Input representation to create product service campaign items for each actionable list member in an actionable list.
22
+ *
23
+ * Keys:
24
+ * id (string): actionableListId
25
+ */
26
+ export interface ProductServiceCampaignItemsFromListInputRepresentationNormalized {
27
+ /** The ID of the Actionable List record. */
28
+ actionableListId: string;
29
+ }
30
+ /**
31
+ * Input representation to create product service campaign items for each actionable list member in an actionable list.
32
+ *
33
+ * Keys:
34
+ * id (string): actionableListId
35
+ */
36
+ export interface ProductServiceCampaignItemsFromListInputRepresentation {
37
+ actionableListId: string;
38
+ }
@@ -0,0 +1,44 @@
1
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const TTL = 300;
3
+ export declare const VERSION = "5c4aa8faf25b64f7b7f98f8739c11b45";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ isSuccess: boolean;
8
+ }
9
+ export type ProductServiceCampaignItemsFromListRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialProductServiceCampaignItemsFromListRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ProductServiceCampaignItemsFromListRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ProductServiceCampaignItemsFromListRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ProductServiceCampaignItemsFromListRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: ProductServiceCampaignItemsFromListRepresentation, existing: ProductServiceCampaignItemsFromListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductServiceCampaignItemsFromListRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: ProductServiceCampaignItemsFromListRepresentationNormalized, incoming: ProductServiceCampaignItemsFromListRepresentationNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ProductServiceCampaignItemsFromListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * Output representation of the error response for the product service campaign items creation request.
22
+ *
23
+ * Keys:
24
+ * isSuccess (boolean): isSuccess
25
+ */
26
+ export interface ProductServiceCampaignItemsFromListRepresentationNormalized {
27
+ /** The code of the error due to which the request failed. */
28
+ errorCode: string | null;
29
+ /** The details of the error if the operation was unsuccessful. */
30
+ errorMessage: string | null;
31
+ /** Specifies if the operation was successful (true) or not (false) */
32
+ isSuccess: boolean;
33
+ }
34
+ /**
35
+ * Output representation of the error response for the product service campaign items creation request.
36
+ *
37
+ * Keys:
38
+ * isSuccess (boolean): isSuccess
39
+ */
40
+ export interface ProductServiceCampaignItemsFromListRepresentation {
41
+ errorCode: string | null;
42
+ errorMessage: string | null;
43
+ isSuccess: boolean;
44
+ }