@salesforce/lds-adapters-industries-education 0.131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/industries-education.js +2285 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/createCarePlans.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/getAvailableTimeSlots.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/adapters/getAvailableTopics.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/adapters/getSuccessTeam.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectEducationAppointmentBookingAvailableTopics.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getConnectEducationSuccessTeamByAccountId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectEducationAppointmentBookingAvailableTimeSlots.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectEducationCareplanBulk.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/AvailableStaff.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/AvailableTeam.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/AvailableTimeSlotsInputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/AvailableTimeSlotsInputRepresentationData.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/AvailableTimeSlotsOuputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/AvailableTopic.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/AvailableTopicsOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/BenefitAssignmentInputRepresentation.d.ts +72 -0
- package/dist/es/es2018/types/src/generated/types/BenefitAssignmentListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/BenefitDisbursementForBenefitSessionInputRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/BenefitDisbursementListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanBulkInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanBulkInputWrapperRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanBulkOutputRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanInputRepresentation.d.ts +68 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/CarePlanTaskInputRepresentation.d.ts +50 -0
- package/dist/es/es2018/types/src/generated/types/CustomFieldInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CustomFieldListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/GetSuccessTeamResult.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/GoalAssignmentInputRepresentation.d.ts +68 -0
- package/dist/es/es2018/types/src/generated/types/GoalAssignmentListInputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ServiceAppointment.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ServiceLocation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/SuccessTeamOutputRepresentation.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/TimeSlot.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/WorkType.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +69 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2339 -0
- package/src/raml/api.raml +703 -0
- package/src/raml/luvio.raml +35 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
|
+
declare const ObjectKeys: {
|
|
4
|
+
(o: object): string[];
|
|
5
|
+
(o: {}): string[];
|
|
6
|
+
}, ObjectFreeze: {
|
|
7
|
+
<T extends Function>(f: T): T;
|
|
8
|
+
<T_1 extends {
|
|
9
|
+
[idx: string]: object | U | null | undefined;
|
|
10
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
11
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
12
|
+
}, ObjectCreate: {
|
|
13
|
+
(o: object | null): any;
|
|
14
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
15
|
+
};
|
|
16
|
+
export { ObjectFreeze, ObjectCreate, ObjectKeys };
|
|
17
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
18
|
+
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
19
|
+
export interface AdapterValidationConfig {
|
|
20
|
+
displayName: string;
|
|
21
|
+
parameters: {
|
|
22
|
+
required: string[];
|
|
23
|
+
optional: string[];
|
|
24
|
+
unsupported?: string[];
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Validates an adapter config is well-formed.
|
|
29
|
+
* @param config The config to validate.
|
|
30
|
+
* @param adapter The adapter validation configuration.
|
|
31
|
+
* @param oneOf The keys the config must contain at least one of.
|
|
32
|
+
* @throws A TypeError if config doesn't satisfy the adapter's config validation.
|
|
33
|
+
*/
|
|
34
|
+
export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
|
|
35
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
36
|
+
export type UncoercedConfiguration<Base, Options extends {
|
|
37
|
+
[key in keyof Base]?: any;
|
|
38
|
+
}> = {
|
|
39
|
+
[Key in keyof Base]?: Base[Key] | Options[Key];
|
|
40
|
+
};
|
|
41
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
42
|
+
export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
|
|
43
|
+
export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
|
|
44
|
+
export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
|
|
45
|
+
export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
|
|
46
|
+
export declare const snapshotRefreshOptions: {
|
|
47
|
+
overrides: {
|
|
48
|
+
headers: {
|
|
49
|
+
'Cache-Control': string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
55
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
56
|
+
* JSON.stringify({a: 1, b: 2})
|
|
57
|
+
* "{"a":1,"b":2}"
|
|
58
|
+
* JSON.stringify({b: 2, a: 1})
|
|
59
|
+
* "{"b":2,"a":1}"
|
|
60
|
+
* @param data Data to be JSON-stringified.
|
|
61
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
62
|
+
*/
|
|
63
|
+
export declare function stableJSONStringify(node: any): string | undefined;
|
|
64
|
+
export declare function getFetchResponseStatusText(status: number): string;
|
|
65
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
66
|
+
export declare const keyPrefix = "education";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { CarePlanBulkInputRepresentation as types_CarePlanBulkInputRepresentation_CarePlanBulkInputRepresentation } from '../types/CarePlanBulkInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectEducationCareplanBulk_ResourceRequestConfig } from '../resources/postConnectEducationCareplanBulk';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { CarePlanBulkOutputRepresentation as types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation } from '../types/CarePlanBulkOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "createCarePlans";
|
|
7
|
+
export declare const createCarePlans_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateCarePlansConfig {
|
|
9
|
+
carePlanBulkRecord: types_CarePlanBulkInputRepresentation_CarePlanBulkInputRepresentation;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: CreateCarePlansConfig): resources_postConnectEducationCareplanBulk_ResourceRequestConfig;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateCarePlansConfig>): adapter$45$utils_Untrusted<CreateCarePlansConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateCarePlansConfig | null;
|
|
14
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateCarePlansConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation, any>>;
|
|
15
|
+
export declare const createCarePlansAdapterFactory: $64$luvio_engine_AdapterFactory<CreateCarePlansConfig, types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { AvailableTimeSlotsInputRepresentation as types_AvailableTimeSlotsInputRepresentation_AvailableTimeSlotsInputRepresentation } from '../types/AvailableTimeSlotsInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectEducationAppointmentBookingAvailableTimeSlots_ResourceRequestConfig } from '../resources/postConnectEducationAppointmentBookingAvailableTimeSlots';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { AvailableTimeSlotsOuputRepresentation as types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation } from '../types/AvailableTimeSlotsOuputRepresentation';
|
|
6
|
+
export declare const adapterName = "getAvailableTimeSlots";
|
|
7
|
+
export declare const getAvailableTimeSlots_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetAvailableTimeSlotsConfig {
|
|
9
|
+
availableTimeSlotsInput: types_AvailableTimeSlotsInputRepresentation_AvailableTimeSlotsInputRepresentation;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: GetAvailableTimeSlotsConfig): resources_postConnectEducationAppointmentBookingAvailableTimeSlots_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAvailableTimeSlotsConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAvailableTimeSlotsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAvailableTimeSlotsConfig>): adapter$45$utils_Untrusted<GetAvailableTimeSlotsConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetAvailableTimeSlotsConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetAvailableTimeSlotsConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAvailableTimeSlotsConfig): $64$luvio_engine_Snapshot<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAvailableTimeSlotsConfig, resourceParams: resources_postConnectEducationAppointmentBookingAvailableTimeSlots_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAvailableTimeSlotsConfig, resourceParams: resources_postConnectEducationAppointmentBookingAvailableTimeSlots_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAvailableTimeSlotsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetAvailableTimeSlotsConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation>): $64$luvio_engine_Snapshot<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation, any>;
|
|
27
|
+
export declare const getAvailableTimeSlotsAdapterFactory: $64$luvio_engine_AdapterFactory<GetAvailableTimeSlotsConfig, types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectEducationAppointmentBookingAvailableTopics_ResourceRequestConfig } from '../resources/getConnectEducationAppointmentBookingAvailableTopics';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { AvailableTopicsOutputRepresentation as types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation } from '../types/AvailableTopicsOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getAvailableTopics";
|
|
6
|
+
export declare const getAvailableTopics_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetAvailableTopicsConfig {
|
|
8
|
+
}
|
|
9
|
+
export declare function createResourceParams(config: GetAvailableTopicsConfig): resources_getConnectEducationAppointmentBookingAvailableTopics_ResourceRequestConfig;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetAvailableTopicsConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetAvailableTopicsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetAvailableTopicsConfig>): adapter$45$utils_Untrusted<GetAvailableTopicsConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetAvailableTopicsConfig | null;
|
|
14
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetAvailableTopicsConfig): $64$luvio_engine_Fragment;
|
|
15
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAvailableTopicsConfig): $64$luvio_engine_Snapshot<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation, any>;
|
|
16
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetAvailableTopicsConfig, resourceParams: resources_getConnectEducationAppointmentBookingAvailableTopics_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation, any>>;
|
|
17
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetAvailableTopicsConfig, resourceParams: resources_getConnectEducationAppointmentBookingAvailableTopics_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
18
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetAvailableTopicsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation, any>>;
|
|
19
|
+
export type BuildSnapshotContext = {
|
|
20
|
+
luvio: $64$luvio_engine_Luvio;
|
|
21
|
+
config: GetAvailableTopicsConfig;
|
|
22
|
+
};
|
|
23
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation, any>>;
|
|
24
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation>): $64$luvio_engine_Snapshot<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation, any>;
|
|
25
|
+
export declare const getAvailableTopicsAdapterFactory: $64$luvio_engine_AdapterFactory<GetAvailableTopicsConfig, types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ResourceRequestConfig as resources_getConnectEducationSuccessTeamByAccountId_ResourceRequestConfig } from '../resources/getConnectEducationSuccessTeamByAccountId';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
4
|
+
import { SuccessTeamOutputRepresentation as types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation } from '../types/SuccessTeamOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getSuccessTeam";
|
|
6
|
+
export declare const getSuccessTeam_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface GetSuccessTeamConfig {
|
|
8
|
+
accountId: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function createResourceParams(config: GetSuccessTeamConfig): resources_getConnectEducationSuccessTeamByAccountId_ResourceRequestConfig;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSuccessTeamConfig): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSuccessTeamConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSuccessTeamConfig>): adapter$45$utils_Untrusted<GetSuccessTeamConfig>;
|
|
14
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSuccessTeamConfig | null;
|
|
15
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSuccessTeamConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSuccessTeamConfig): $64$luvio_engine_Snapshot<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation, any>;
|
|
17
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSuccessTeamConfig, resourceParams: resources_getConnectEducationSuccessTeamByAccountId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation, any>>;
|
|
18
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSuccessTeamConfig, resourceParams: resources_getConnectEducationSuccessTeamByAccountId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
19
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSuccessTeamConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation, any>>;
|
|
20
|
+
export type BuildSnapshotContext = {
|
|
21
|
+
luvio: $64$luvio_engine_Luvio;
|
|
22
|
+
config: GetSuccessTeamConfig;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation, any>>;
|
|
25
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation>): $64$luvio_engine_Snapshot<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation, any>;
|
|
26
|
+
export declare const getSuccessTeamAdapterFactory: $64$luvio_engine_AdapterFactory<GetSuccessTeamConfig, types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { getAvailableTimeSlotsAdapterFactory } from '../adapters/getAvailableTimeSlots';
|
|
2
|
+
export { getAvailableTopicsAdapterFactory } from '../adapters/getAvailableTopics';
|
|
3
|
+
export { createCarePlansAdapterFactory } from '../adapters/createCarePlans';
|
|
4
|
+
export { getSuccessTeamAdapterFactory } from '../adapters/getSuccessTeam';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare let createCarePlans: any;
|
|
2
|
+
declare let getAvailableTimeSlots: any;
|
|
3
|
+
declare let getAvailableTopics: any;
|
|
4
|
+
declare let getSuccessTeam: any;
|
|
5
|
+
declare let getAvailableTimeSlots_imperative: any;
|
|
6
|
+
declare let getAvailableTopics_imperative: any;
|
|
7
|
+
declare let getSuccessTeam_imperative: any;
|
|
8
|
+
export { createCarePlans, getAvailableTimeSlots, getAvailableTopics, getSuccessTeam, getAvailableTimeSlots_imperative, getAvailableTopics_imperative, getSuccessTeam_imperative };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { AvailableTopicsOutputRepresentation as types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation } from '../types/AvailableTopicsOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
}
|
|
5
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
6
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
7
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
8
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
9
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation, any>;
|
|
10
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AvailableTopicsOutputRepresentation_AvailableTopicsOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
11
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
12
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/getConnectEducationSuccessTeamByAccountId.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SuccessTeamOutputRepresentation as types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation } from '../types/SuccessTeamOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
accountId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SuccessTeamOutputRepresentation_SuccessTeamOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AvailableTimeSlotsInputRepresentation as types_AvailableTimeSlotsInputRepresentation_AvailableTimeSlotsInputRepresentation } from '../types/AvailableTimeSlotsInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { AvailableTimeSlotsOuputRepresentation as types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation } from '../types/AvailableTimeSlotsOuputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
availableTimeSlotsInput: types_AvailableTimeSlotsInputRepresentation_AvailableTimeSlotsInputRepresentation;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_AvailableTimeSlotsOuputRepresentation_AvailableTimeSlotsOuputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CarePlanBulkInputRepresentation as types_CarePlanBulkInputRepresentation_CarePlanBulkInputRepresentation } from '../types/CarePlanBulkInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { CarePlanBulkOutputRepresentation as types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation } from '../types/CarePlanBulkOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
carePlanBulkRecord: types_CarePlanBulkInputRepresentation_CarePlanBulkInputRepresentation;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CarePlanBulkOutputRepresentation_CarePlanBulkOutputRepresentation, any>;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ServiceAppointment as ServiceAppointment_ServiceAppointment } from './ServiceAppointment';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "a1daa18e99ac8657a80963428630e581";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: AvailableStaff, existing: AvailableStaffNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AvailableStaffNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: AvailableStaffNormalized, incoming: AvailableStaffNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: AvailableStaff): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AvailableStaff, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Representation of the available staff result.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface AvailableStaffNormalized {
|
|
19
|
+
/** The ID of the case that’s available to the staff member. */
|
|
20
|
+
caseId?: string;
|
|
21
|
+
/** The record type name of the case that's available to the staff member. */
|
|
22
|
+
caseRecordTypeName?: string;
|
|
23
|
+
/** The staff member's case team role. */
|
|
24
|
+
caseTeamRole?: string;
|
|
25
|
+
/** The staff member's email. */
|
|
26
|
+
email?: string;
|
|
27
|
+
lastServiceAppointment?: ServiceAppointment_ServiceAppointment;
|
|
28
|
+
/** The service locations in the staff member’s service territories that are available for scheduling. */
|
|
29
|
+
locations?: {
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
/** The name of the staff member. */
|
|
33
|
+
name?: string;
|
|
34
|
+
/** The staff member's phone number. */
|
|
35
|
+
phone?: string;
|
|
36
|
+
/** The URL for the staff member's photo. */
|
|
37
|
+
profilePhotoUrl?: string;
|
|
38
|
+
/** The service resource ID for the staff. */
|
|
39
|
+
serviceResourceId?: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Representation of the available staff result.
|
|
43
|
+
*
|
|
44
|
+
* Keys:
|
|
45
|
+
* (none)
|
|
46
|
+
*/
|
|
47
|
+
export interface AvailableStaff {
|
|
48
|
+
caseId?: string;
|
|
49
|
+
caseRecordTypeName?: string;
|
|
50
|
+
caseTeamRole?: string;
|
|
51
|
+
email?: string;
|
|
52
|
+
lastServiceAppointment?: ServiceAppointment_ServiceAppointment;
|
|
53
|
+
locations?: {
|
|
54
|
+
[key: string]: unknown;
|
|
55
|
+
};
|
|
56
|
+
name?: string;
|
|
57
|
+
phone?: string;
|
|
58
|
+
profilePhotoUrl?: string;
|
|
59
|
+
serviceResourceId?: string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "256a3344cb09454a859ca2f0645eb0bc";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: AvailableTeam, existing: AvailableTeamNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AvailableTeamNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: AvailableTeamNormalized, incoming: AvailableTeamNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: AvailableTeam): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AvailableTeam, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Representation of the available team result.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface AvailableTeamNormalized {
|
|
18
|
+
/** Indicates that a team is available for scheduling by the associated account through Experience Cloud. */
|
|
19
|
+
canSelfSchedule?: boolean;
|
|
20
|
+
/** The ID of the case that's related to the support of the associated account. */
|
|
21
|
+
caseId?: string;
|
|
22
|
+
/** The record type name of the open case that's associated with the account. */
|
|
23
|
+
caseRecordTypeName?: string;
|
|
24
|
+
/** List of staff members on the available team. */
|
|
25
|
+
members?: {
|
|
26
|
+
[key: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
/** The name of the team that's available to support the associated account. */
|
|
29
|
+
name?: string;
|
|
30
|
+
/** The ID of the team that's available to support the associated account. */
|
|
31
|
+
teamId?: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Representation of the available team result.
|
|
35
|
+
*
|
|
36
|
+
* Keys:
|
|
37
|
+
* (none)
|
|
38
|
+
*/
|
|
39
|
+
export interface AvailableTeam {
|
|
40
|
+
canSelfSchedule?: boolean;
|
|
41
|
+
caseId?: string;
|
|
42
|
+
caseRecordTypeName?: string;
|
|
43
|
+
members?: {
|
|
44
|
+
[key: string]: unknown;
|
|
45
|
+
};
|
|
46
|
+
name?: string;
|
|
47
|
+
teamId?: string;
|
|
48
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "f0f91123d36b4cd5756c525edfaad9e9";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: AvailableTimeSlotsInputRepresentation, existing: AvailableTimeSlotsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AvailableTimeSlotsInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: AvailableTimeSlotsInputRepresentationNormalized, incoming: AvailableTimeSlotsInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: AvailableTimeSlotsInputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AvailableTimeSlotsInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Contains the information to search for available appointment time slots.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface AvailableTimeSlotsInputRepresentationNormalized {
|
|
18
|
+
/** Latest time that an appointment can end. */
|
|
19
|
+
endTime?: string;
|
|
20
|
+
/** The IDs of the engagement channel type records. Time slot availability is based on the selected engagement channel types. */
|
|
21
|
+
engagementChannelTypeIds: Array<string>;
|
|
22
|
+
/** List of service resource IDs to filter the API response. */
|
|
23
|
+
serviceResourceIds: Array<string>;
|
|
24
|
+
/** List of IDs for the service territories where the work will be performed. */
|
|
25
|
+
serviceTerritoryIds: Array<string>;
|
|
26
|
+
/** Earliest time that an appointment can begin. If empty, the default is the time of the request. */
|
|
27
|
+
startTime?: string;
|
|
28
|
+
/** ID of the work type group containing the work types that are being performed. */
|
|
29
|
+
workTypeGroupId: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Contains the information to search for available appointment time slots.
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* (none)
|
|
36
|
+
*/
|
|
37
|
+
export interface AvailableTimeSlotsInputRepresentation {
|
|
38
|
+
endTime?: string;
|
|
39
|
+
engagementChannelTypeIds: Array<string>;
|
|
40
|
+
serviceResourceIds: Array<string>;
|
|
41
|
+
serviceTerritoryIds: Array<string>;
|
|
42
|
+
startTime?: string;
|
|
43
|
+
workTypeGroupId: string;
|
|
44
|
+
}
|
package/dist/es/es2018/types/src/generated/types/AvailableTimeSlotsInputRepresentationData.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AvailableTimeSlotsInputRepresentation as AvailableTimeSlotsInputRepresentation_AvailableTimeSlotsInputRepresentation } from './AvailableTimeSlotsInputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "f35a7667a777b590ede6684f42b44da4";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: AvailableTimeSlotsInputRepresentationData, existing: AvailableTimeSlotsInputRepresentationDataNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AvailableTimeSlotsInputRepresentationDataNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: AvailableTimeSlotsInputRepresentationDataNormalized, incoming: AvailableTimeSlotsInputRepresentationDataNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: AvailableTimeSlotsInputRepresentationData): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AvailableTimeSlotsInputRepresentationData, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* A wrapper around AvailableTimeSlotsInputRepresentation
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface AvailableTimeSlotsInputRepresentationDataNormalized {
|
|
19
|
+
/** The Oas Body name for get available time slots */
|
|
20
|
+
availableTimeSlotsInput: AvailableTimeSlotsInputRepresentation_AvailableTimeSlotsInputRepresentation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A wrapper around AvailableTimeSlotsInputRepresentation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface AvailableTimeSlotsInputRepresentationData {
|
|
29
|
+
availableTimeSlotsInput: AvailableTimeSlotsInputRepresentation_AvailableTimeSlotsInputRepresentation;
|
|
30
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { TimeSlot as TimeSlot_TimeSlot } from './TimeSlot';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "9c2ef94b89ee532c50c8423528617441";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: AvailableTimeSlotsOuputRepresentation, existing: AvailableTimeSlotsOuputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AvailableTimeSlotsOuputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: AvailableTimeSlotsOuputRepresentationNormalized, incoming: AvailableTimeSlotsOuputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: AvailableTimeSlotsOuputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AvailableTimeSlotsOuputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Output of the post available time slots request.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface AvailableTimeSlotsOuputRepresentationNormalized {
|
|
19
|
+
/** List of time slots that are available for scheduling. */
|
|
20
|
+
timeSlots: Array<TimeSlot_TimeSlot>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Output of the post available time slots request.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface AvailableTimeSlotsOuputRepresentation {
|
|
29
|
+
timeSlots: Array<TimeSlot_TimeSlot>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "c470aba735607497dd11c1fcd34489d1";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: AvailableTopic, existing: AvailableTopicNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AvailableTopicNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: AvailableTopicNormalized, incoming: AvailableTopicNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: AvailableTopic): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AvailableTopic, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Representation of the available topic.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface AvailableTopicNormalized {
|
|
18
|
+
/** The name of the parent work type group of the topic that represents the available topic. */
|
|
19
|
+
parentWorkTypeGroupName?: string;
|
|
20
|
+
/** Details about the topic that's available for scheduling for the related service territories. */
|
|
21
|
+
serviceTerritoryWorkTypes?: {
|
|
22
|
+
[key: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
/** The ID of the work type group that represents the available topic. */
|
|
25
|
+
workTypeGroupId?: string;
|
|
26
|
+
/** The name of the work type group that represents the available topic. */
|
|
27
|
+
workTypeGroupName?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Representation of the available topic.
|
|
31
|
+
*
|
|
32
|
+
* Keys:
|
|
33
|
+
* (none)
|
|
34
|
+
*/
|
|
35
|
+
export interface AvailableTopic {
|
|
36
|
+
parentWorkTypeGroupName?: string;
|
|
37
|
+
serviceTerritoryWorkTypes?: {
|
|
38
|
+
[key: string]: unknown;
|
|
39
|
+
};
|
|
40
|
+
workTypeGroupId?: string;
|
|
41
|
+
workTypeGroupName?: string;
|
|
42
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AvailableTopic as AvailableTopic_AvailableTopic } from './AvailableTopic';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "3cb0110faf688dc57056aa83be527181";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: AvailableTopicsOutputRepresentation, existing: AvailableTopicsOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AvailableTopicsOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: AvailableTopicsOutputRepresentationNormalized, incoming: AvailableTopicsOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: AvailableTopicsOutputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: AvailableTopicsOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Output representation of the get available topics request.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface AvailableTopicsOutputRepresentationNormalized {
|
|
19
|
+
/** List of topics that are available for scheduling. */
|
|
20
|
+
topics: Array<AvailableTopic_AvailableTopic>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Output representation of the get available topics request.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface AvailableTopicsOutputRepresentation {
|
|
29
|
+
topics: Array<AvailableTopic_AvailableTopic>;
|
|
30
|
+
}
|