@salesforce/lds-adapters-industries-healthcloud 1.150.7 → 1.151.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/dist/es/es2018/industries-healthcloud.js +48 -1
- package/dist/es/es2018/types/src/generated/types/GetSlotsInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/GetSlotsOutputRepresentation.d.ts +8 -1
- package/package.json +1 -1
- package/sfdc/index.js +49 -2
- package/src/raml/api.raml +12 -0
|
@@ -732,6 +732,13 @@ function validate$f(obj, path = 'GetSlotsInputRepresentation') {
|
|
|
732
732
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
733
733
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
734
734
|
}
|
|
735
|
+
if (obj.careProgramEnrolleeId !== undefined) {
|
|
736
|
+
const obj_careProgramEnrolleeId = obj.careProgramEnrolleeId;
|
|
737
|
+
const path_careProgramEnrolleeId = path + '.careProgramEnrolleeId';
|
|
738
|
+
if (typeof obj_careProgramEnrolleeId !== 'string') {
|
|
739
|
+
return new TypeError('Expected "string" but received "' + typeof obj_careProgramEnrolleeId + '" (at "' + path_careProgramEnrolleeId + '")');
|
|
740
|
+
}
|
|
741
|
+
}
|
|
735
742
|
if (obj.endTime !== undefined) {
|
|
736
743
|
const obj_endTime = obj.endTime;
|
|
737
744
|
const path_endTime = path + '.endTime';
|
|
@@ -770,7 +777,7 @@ function validate$f(obj, path = 'GetSlotsInputRepresentation') {
|
|
|
770
777
|
return v_error === undefined ? null : v_error;
|
|
771
778
|
}
|
|
772
779
|
|
|
773
|
-
const VERSION$6 = "
|
|
780
|
+
const VERSION$6 = "21bcc7331e8d2943e1f2182cc502d1dc";
|
|
774
781
|
function validate$e(obj, path = 'GetSlotsOutputRepresentation') {
|
|
775
782
|
const v_error = (() => {
|
|
776
783
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -786,6 +793,22 @@ function validate$e(obj, path = 'GetSlotsOutputRepresentation') {
|
|
|
786
793
|
if (typeof obj_isSuccess !== 'boolean') {
|
|
787
794
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
788
795
|
}
|
|
796
|
+
if (obj.leadTimeMap !== undefined) {
|
|
797
|
+
const obj_leadTimeMap = obj.leadTimeMap;
|
|
798
|
+
const path_leadTimeMap = path + '.leadTimeMap';
|
|
799
|
+
if (typeof obj_leadTimeMap !== 'object' || ArrayIsArray(obj_leadTimeMap) || obj_leadTimeMap === null) {
|
|
800
|
+
return new TypeError('Expected "object" but received "' + typeof obj_leadTimeMap + '" (at "' + path_leadTimeMap + '")');
|
|
801
|
+
}
|
|
802
|
+
const obj_leadTimeMap_keys = ObjectKeys(obj_leadTimeMap);
|
|
803
|
+
for (let i = 0; i < obj_leadTimeMap_keys.length; i++) {
|
|
804
|
+
const key = obj_leadTimeMap_keys[i];
|
|
805
|
+
const obj_leadTimeMap_prop = obj_leadTimeMap[key];
|
|
806
|
+
const path_leadTimeMap_prop = path_leadTimeMap + '["' + key + '"]';
|
|
807
|
+
if (typeof obj_leadTimeMap_prop !== 'number' || (typeof obj_leadTimeMap_prop === 'number' && Math.floor(obj_leadTimeMap_prop) !== obj_leadTimeMap_prop)) {
|
|
808
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_leadTimeMap_prop + '" (at "' + path_leadTimeMap_prop + '")');
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
}
|
|
789
812
|
if (obj.message !== undefined) {
|
|
790
813
|
const obj_message = obj.message;
|
|
791
814
|
const path_message = path + '.message';
|
|
@@ -855,6 +878,12 @@ const select$d = function GetSlotsOutputRepresentationSelect() {
|
|
|
855
878
|
name: 'isSuccess',
|
|
856
879
|
kind: 'Scalar'
|
|
857
880
|
},
|
|
881
|
+
{
|
|
882
|
+
name: 'leadTimeMap',
|
|
883
|
+
kind: 'Scalar',
|
|
884
|
+
map: true,
|
|
885
|
+
required: false
|
|
886
|
+
},
|
|
858
887
|
{
|
|
859
888
|
name: 'message',
|
|
860
889
|
kind: 'Scalar',
|
|
@@ -892,6 +921,24 @@ function equals$6(existing, incoming) {
|
|
|
892
921
|
return false;
|
|
893
922
|
}
|
|
894
923
|
}
|
|
924
|
+
const existing_leadTimeMap = existing.leadTimeMap;
|
|
925
|
+
const incoming_leadTimeMap = incoming.leadTimeMap;
|
|
926
|
+
// if at least one of these optionals is defined
|
|
927
|
+
if (existing_leadTimeMap !== undefined || incoming_leadTimeMap !== undefined) {
|
|
928
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
929
|
+
// not equal
|
|
930
|
+
if (existing_leadTimeMap === undefined || incoming_leadTimeMap === undefined) {
|
|
931
|
+
return false;
|
|
932
|
+
}
|
|
933
|
+
const equals_leadTimeMap_props = equalsObject(existing_leadTimeMap, incoming_leadTimeMap, (existing_leadTimeMap_prop, incoming_leadTimeMap_prop) => {
|
|
934
|
+
if (!(existing_leadTimeMap_prop === incoming_leadTimeMap_prop)) {
|
|
935
|
+
return false;
|
|
936
|
+
}
|
|
937
|
+
});
|
|
938
|
+
if (equals_leadTimeMap_props === false) {
|
|
939
|
+
return false;
|
|
940
|
+
}
|
|
941
|
+
}
|
|
895
942
|
const existing_workTypeDateTerritorySlotRepresentation = existing.workTypeDateTerritorySlotRepresentation;
|
|
896
943
|
const incoming_workTypeDateTerritorySlotRepresentation = incoming.workTypeDateTerritorySlotRepresentation;
|
|
897
944
|
// if at least one of these optionals is defined
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SearchConditionInputRepresentation as SearchConditionInputRepresentation_SearchConditionInputRepresentation } from './SearchConditionInputRepresentation';
|
|
2
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 = "
|
|
3
|
+
export declare const VERSION = "28806bd7e7c54d336b54e0e58000ba6b";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: GetSlotsInputRepresentation, existing: GetSlotsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GetSlotsInputRepresentationNormalized;
|
|
@@ -15,6 +15,8 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: G
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface GetSlotsInputRepresentationNormalized {
|
|
18
|
+
/** Care Program Enrollee Id */
|
|
19
|
+
careProgramEnrolleeId?: string;
|
|
18
20
|
/** End Time */
|
|
19
21
|
endTime?: string;
|
|
20
22
|
/** Search Conditions List */
|
|
@@ -31,6 +33,7 @@ export interface GetSlotsInputRepresentationNormalized {
|
|
|
31
33
|
* (none)
|
|
32
34
|
*/
|
|
33
35
|
export interface GetSlotsInputRepresentation {
|
|
36
|
+
careProgramEnrolleeId?: string;
|
|
34
37
|
endTime?: string;
|
|
35
38
|
searchConditions: Array<SearchConditionInputRepresentation_SearchConditionInputRepresentation>;
|
|
36
39
|
startTime: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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 VERSION = "
|
|
2
|
+
export declare const VERSION = "21bcc7331e8d2943e1f2182cc502d1dc";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -27,6 +27,10 @@ export interface GetSlotsOutputRepresentationNormalized {
|
|
|
27
27
|
code: string;
|
|
28
28
|
/** Get Slots API Status flag */
|
|
29
29
|
isSuccess: boolean;
|
|
30
|
+
/** Get Slots lead time map */
|
|
31
|
+
leadTimeMap?: {
|
|
32
|
+
[key: string]: number;
|
|
33
|
+
};
|
|
30
34
|
/** Get Slots API Error Message */
|
|
31
35
|
message?: string;
|
|
32
36
|
/** WorkTypeDateTerritorySlotRepresentation */
|
|
@@ -45,6 +49,9 @@ export interface GetSlotsOutputRepresentationNormalized {
|
|
|
45
49
|
export interface GetSlotsOutputRepresentation {
|
|
46
50
|
code: string;
|
|
47
51
|
isSuccess: boolean;
|
|
52
|
+
leadTimeMap?: {
|
|
53
|
+
[key: string]: number;
|
|
54
|
+
};
|
|
48
55
|
message?: string;
|
|
49
56
|
workTypeDateTerritorySlotRepresentation?: {
|
|
50
57
|
[key: string]: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-healthcloud",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.151.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "The Healthcloud Discovery family of APIs",
|
|
6
6
|
"main": "dist/es/es2018/industries-healthcloud.js",
|
package/sfdc/index.js
CHANGED
|
@@ -1917,6 +1917,13 @@ function validate$7(obj, path = 'GetSlotsInputRepresentation') {
|
|
|
1917
1917
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1918
1918
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1919
1919
|
}
|
|
1920
|
+
if (obj.careProgramEnrolleeId !== undefined) {
|
|
1921
|
+
const obj_careProgramEnrolleeId = obj.careProgramEnrolleeId;
|
|
1922
|
+
const path_careProgramEnrolleeId = path + '.careProgramEnrolleeId';
|
|
1923
|
+
if (typeof obj_careProgramEnrolleeId !== 'string') {
|
|
1924
|
+
return new TypeError('Expected "string" but received "' + typeof obj_careProgramEnrolleeId + '" (at "' + path_careProgramEnrolleeId + '")');
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1920
1927
|
if (obj.endTime !== undefined) {
|
|
1921
1928
|
const obj_endTime = obj.endTime;
|
|
1922
1929
|
const path_endTime = path + '.endTime';
|
|
@@ -1955,7 +1962,7 @@ function validate$7(obj, path = 'GetSlotsInputRepresentation') {
|
|
|
1955
1962
|
return v_error === undefined ? null : v_error;
|
|
1956
1963
|
}
|
|
1957
1964
|
|
|
1958
|
-
const VERSION$3 = "
|
|
1965
|
+
const VERSION$3 = "21bcc7331e8d2943e1f2182cc502d1dc";
|
|
1959
1966
|
function validate$6(obj, path = 'GetSlotsOutputRepresentation') {
|
|
1960
1967
|
const v_error = (() => {
|
|
1961
1968
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1971,6 +1978,22 @@ function validate$6(obj, path = 'GetSlotsOutputRepresentation') {
|
|
|
1971
1978
|
if (typeof obj_isSuccess !== 'boolean') {
|
|
1972
1979
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isSuccess + '" (at "' + path_isSuccess + '")');
|
|
1973
1980
|
}
|
|
1981
|
+
if (obj.leadTimeMap !== undefined) {
|
|
1982
|
+
const obj_leadTimeMap = obj.leadTimeMap;
|
|
1983
|
+
const path_leadTimeMap = path + '.leadTimeMap';
|
|
1984
|
+
if (typeof obj_leadTimeMap !== 'object' || ArrayIsArray(obj_leadTimeMap) || obj_leadTimeMap === null) {
|
|
1985
|
+
return new TypeError('Expected "object" but received "' + typeof obj_leadTimeMap + '" (at "' + path_leadTimeMap + '")');
|
|
1986
|
+
}
|
|
1987
|
+
const obj_leadTimeMap_keys = ObjectKeys(obj_leadTimeMap);
|
|
1988
|
+
for (let i = 0; i < obj_leadTimeMap_keys.length; i++) {
|
|
1989
|
+
const key = obj_leadTimeMap_keys[i];
|
|
1990
|
+
const obj_leadTimeMap_prop = obj_leadTimeMap[key];
|
|
1991
|
+
const path_leadTimeMap_prop = path_leadTimeMap + '["' + key + '"]';
|
|
1992
|
+
if (typeof obj_leadTimeMap_prop !== 'number' || (typeof obj_leadTimeMap_prop === 'number' && Math.floor(obj_leadTimeMap_prop) !== obj_leadTimeMap_prop)) {
|
|
1993
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_leadTimeMap_prop + '" (at "' + path_leadTimeMap_prop + '")');
|
|
1994
|
+
}
|
|
1995
|
+
}
|
|
1996
|
+
}
|
|
1974
1997
|
if (obj.message !== undefined) {
|
|
1975
1998
|
const obj_message = obj.message;
|
|
1976
1999
|
const path_message = path + '.message';
|
|
@@ -2040,6 +2063,12 @@ const select$7 = function GetSlotsOutputRepresentationSelect() {
|
|
|
2040
2063
|
name: 'isSuccess',
|
|
2041
2064
|
kind: 'Scalar'
|
|
2042
2065
|
},
|
|
2066
|
+
{
|
|
2067
|
+
name: 'leadTimeMap',
|
|
2068
|
+
kind: 'Scalar',
|
|
2069
|
+
map: true,
|
|
2070
|
+
required: false
|
|
2071
|
+
},
|
|
2043
2072
|
{
|
|
2044
2073
|
name: 'message',
|
|
2045
2074
|
kind: 'Scalar',
|
|
@@ -2077,6 +2106,24 @@ function equals$3(existing, incoming) {
|
|
|
2077
2106
|
return false;
|
|
2078
2107
|
}
|
|
2079
2108
|
}
|
|
2109
|
+
const existing_leadTimeMap = existing.leadTimeMap;
|
|
2110
|
+
const incoming_leadTimeMap = incoming.leadTimeMap;
|
|
2111
|
+
// if at least one of these optionals is defined
|
|
2112
|
+
if (existing_leadTimeMap !== undefined || incoming_leadTimeMap !== undefined) {
|
|
2113
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
2114
|
+
// not equal
|
|
2115
|
+
if (existing_leadTimeMap === undefined || incoming_leadTimeMap === undefined) {
|
|
2116
|
+
return false;
|
|
2117
|
+
}
|
|
2118
|
+
const equals_leadTimeMap_props = equalsObject(existing_leadTimeMap, incoming_leadTimeMap, (existing_leadTimeMap_prop, incoming_leadTimeMap_prop) => {
|
|
2119
|
+
if (!(existing_leadTimeMap_prop === incoming_leadTimeMap_prop)) {
|
|
2120
|
+
return false;
|
|
2121
|
+
}
|
|
2122
|
+
});
|
|
2123
|
+
if (equals_leadTimeMap_props === false) {
|
|
2124
|
+
return false;
|
|
2125
|
+
}
|
|
2126
|
+
}
|
|
2080
2127
|
const existing_workTypeDateTerritorySlotRepresentation = existing.workTypeDateTerritorySlotRepresentation;
|
|
2081
2128
|
const incoming_workTypeDateTerritorySlotRepresentation = incoming.workTypeDateTerritorySlotRepresentation;
|
|
2082
2129
|
// if at least one of these optionals is defined
|
|
@@ -3358,4 +3405,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3358
3405
|
});
|
|
3359
3406
|
|
|
3360
3407
|
export { bookSlotChain, cancelSlotChain, genericConnectApiGET, genericConnectApiGET_imperative, genericConnectApiPOST, getEntityDetailsInfo, getEntityDetailsInfo_imperative, getSlots, getWorkTypeServiceTerritories, getWorkTypeServiceTerritories_imperative, moveToNextStep, rescheduleSlotChain };
|
|
3361
|
-
// version: 1.
|
|
3408
|
+
// version: 1.151.0-ba530b8c2
|
package/src/raml/api.raml
CHANGED
|
@@ -92,6 +92,10 @@ types:
|
|
|
92
92
|
description: Input representation for get Slots API
|
|
93
93
|
type: object
|
|
94
94
|
properties:
|
|
95
|
+
careProgramEnrolleeId:
|
|
96
|
+
description: Care Program Enrollee Id
|
|
97
|
+
type: string
|
|
98
|
+
required: false
|
|
95
99
|
endTime:
|
|
96
100
|
description: End Time
|
|
97
101
|
type: string
|
|
@@ -118,6 +122,14 @@ types:
|
|
|
118
122
|
isSuccess:
|
|
119
123
|
description: Get Slots API Status flag
|
|
120
124
|
type: boolean
|
|
125
|
+
leadTimeMap:
|
|
126
|
+
description: Get Slots lead time map
|
|
127
|
+
type: object
|
|
128
|
+
required: false
|
|
129
|
+
properties:
|
|
130
|
+
//:
|
|
131
|
+
type: integer
|
|
132
|
+
required: false
|
|
121
133
|
message:
|
|
122
134
|
description: Get Slots API Error Message
|
|
123
135
|
type: string
|