@salesforce/lds-adapters-industries-public-sector 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 (89) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-public-sector.js +4061 -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/createBenefitDisbursements.d.ts +17 -0
  5. package/dist/es/es2018/types/src/generated/adapters/createCarePlanTasks.d.ts +17 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getCarePlanBenefitSessionDetails.d.ts +27 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getCarePlanDefinition.d.ts +28 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getCarePlanDetails.d.ts +30 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getCarePlanTasks.d.ts +28 -0
  10. package/dist/es/es2018/types/src/generated/adapters/getCarePlanTemplateDetails.d.ts +28 -0
  11. package/dist/es/es2018/types/src/generated/adapters/postCarePlanDetails.d.ts +16 -0
  12. package/dist/es/es2018/types/src/generated/adapters/postCarePlanTemplateDetails.d.ts +18 -0
  13. package/dist/es/es2018/types/src/generated/adapters/updateCarePlanDetails.d.ts +17 -0
  14. package/dist/es/es2018/types/src/generated/adapters/updateCarePlanTasks.d.ts +17 -0
  15. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +13 -0
  16. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +23 -0
  17. package/dist/es/es2018/types/src/generated/resources/getConnectCareplanBenefitSessionByCarePlanId.d.ts +15 -0
  18. package/dist/es/es2018/types/src/generated/resources/getConnectCareplanCarePlansByCarePlanId.d.ts +20 -0
  19. package/dist/es/es2018/types/src/generated/resources/getConnectCareplanCarePlansTasksByCarePlanId.d.ts +18 -0
  20. package/dist/es/es2018/types/src/generated/resources/getConnectCareplanCareplanTemplatesByCarePlanTemplateId.d.ts +16 -0
  21. package/dist/es/es2018/types/src/generated/resources/getConnectCareplanDefinitionsByDefinitionId.d.ts +16 -0
  22. package/dist/es/es2018/types/src/generated/resources/patchConnectCareplanCarePlansByCarePlanId.d.ts +16 -0
  23. package/dist/es/es2018/types/src/generated/resources/patchConnectCareplanCarePlansTasksByCarePlanId.d.ts +16 -0
  24. package/dist/es/es2018/types/src/generated/resources/postConnectBenefitAssignmentBenefitDisbursementsByBenefitAssignmentId.d.ts +16 -0
  25. package/dist/es/es2018/types/src/generated/resources/postConnectCareplanCarePlans.d.ts +13 -0
  26. package/dist/es/es2018/types/src/generated/resources/postConnectCareplanCarePlansTasksByCarePlanId.d.ts +16 -0
  27. package/dist/es/es2018/types/src/generated/resources/postConnectCareplanCareplanTemplatesActionsByActionTypeAndCarePlanTemplateId.d.ts +17 -0
  28. package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateItemRepresentation.d.ts +43 -0
  29. package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateItemsRepresentation.d.ts +29 -0
  30. package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateListRepresentation.d.ts +29 -0
  31. package/dist/es/es2018/types/src/generated/types/ActionPlanTemplateRepresentation.d.ts +35 -0
  32. package/dist/es/es2018/types/src/generated/types/AdhocCarePlanTaskListInputRepresentation.d.ts +29 -0
  33. package/dist/es/es2018/types/src/generated/types/BenefitAssignmentInputRepresentation.d.ts +70 -0
  34. package/dist/es/es2018/types/src/generated/types/BenefitAssignmentListInputRepresentation.d.ts +29 -0
  35. package/dist/es/es2018/types/src/generated/types/BenefitAssignmentListRepresentation.d.ts +29 -0
  36. package/dist/es/es2018/types/src/generated/types/BenefitAssignmentRepresentation.d.ts +79 -0
  37. package/dist/es/es2018/types/src/generated/types/BenefitDisbursementForBenefitSessionInputRepresentation.d.ts +46 -0
  38. package/dist/es/es2018/types/src/generated/types/BenefitDisbursementListInputRepresentation.d.ts +29 -0
  39. package/dist/es/es2018/types/src/generated/types/BenefitDisbursementsForBenefitSessionInputRepresentation.d.ts +29 -0
  40. package/dist/es/es2018/types/src/generated/types/BenefitDisbursementsForBenefitSessionInputRepresentationWrapper.d.ts +28 -0
  41. package/dist/es/es2018/types/src/generated/types/BenefitListRepresentation.d.ts +29 -0
  42. package/dist/es/es2018/types/src/generated/types/BenefitOutputRepresentation.d.ts +56 -0
  43. package/dist/es/es2018/types/src/generated/types/CarePlanBenefitSessionInfoListRepresentation.d.ts +29 -0
  44. package/dist/es/es2018/types/src/generated/types/CarePlanBenefitSessionInfoRepresentation.d.ts +37 -0
  45. package/dist/es/es2018/types/src/generated/types/CarePlanBenefitSessionOutputRepresentation.d.ts +33 -0
  46. package/dist/es/es2018/types/src/generated/types/CarePlanDefinitionOutputRepresentation.d.ts +45 -0
  47. package/dist/es/es2018/types/src/generated/types/CarePlanInputRepresentation.d.ts +68 -0
  48. package/dist/es/es2018/types/src/generated/types/CarePlanInputRepresentationWrapper.d.ts +28 -0
  49. package/dist/es/es2018/types/src/generated/types/CarePlanRepresentation.d.ts +91 -0
  50. package/dist/es/es2018/types/src/generated/types/CarePlanSessionEnrolleeInfoListRepresentation.d.ts +29 -0
  51. package/dist/es/es2018/types/src/generated/types/CarePlanSessionEnrolleeInfoRepresentation.d.ts +43 -0
  52. package/dist/es/es2018/types/src/generated/types/CarePlanTaskInputRepresentation.d.ts +49 -0
  53. package/dist/es/es2018/types/src/generated/types/CarePlanTaskListInputRepresentation.d.ts +29 -0
  54. package/dist/es/es2018/types/src/generated/types/CarePlanTaskListRepresentation.d.ts +29 -0
  55. package/dist/es/es2018/types/src/generated/types/CarePlanTaskRepresentation.d.ts +59 -0
  56. package/dist/es/es2018/types/src/generated/types/CarePlanTasksInputRepresentation.d.ts +36 -0
  57. package/dist/es/es2018/types/src/generated/types/CarePlanTasksMapInputRepresentation.d.ts +33 -0
  58. package/dist/es/es2018/types/src/generated/types/CarePlanTasksMapInputRepresentationWrapper.d.ts +28 -0
  59. package/dist/es/es2018/types/src/generated/types/CarePlanTasksMapRepresentation.d.ts +34 -0
  60. package/dist/es/es2018/types/src/generated/types/CarePlanTasksRepresentation.d.ts +29 -0
  61. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateAssociationsInputRepresentation.d.ts +31 -0
  62. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateAssociationsInputRepresentationWrapper.d.ts +28 -0
  63. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateBenefitInputRepresentation.d.ts +31 -0
  64. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateBenefitListInputRepresentation.d.ts +29 -0
  65. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateBenefitListRepresentation.d.ts +29 -0
  66. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateBenefitRepresentation.d.ts +35 -0
  67. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateGoalInputRepresentation.d.ts +31 -0
  68. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateGoalListInputRepresentation.d.ts +29 -0
  69. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateGoalListRepresentation.d.ts +29 -0
  70. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateGoalRepresentation.d.ts +34 -0
  71. package/dist/es/es2018/types/src/generated/types/CarePlanTemplateRepresentation.d.ts +57 -0
  72. package/dist/es/es2018/types/src/generated/types/CustomFieldInputRepresentation.d.ts +34 -0
  73. package/dist/es/es2018/types/src/generated/types/CustomFieldListInputRepresentation.d.ts +29 -0
  74. package/dist/es/es2018/types/src/generated/types/CustomFieldListRepresentation.d.ts +29 -0
  75. package/dist/es/es2018/types/src/generated/types/CustomFieldRepresentation.d.ts +34 -0
  76. package/dist/es/es2018/types/src/generated/types/ExcludedCarePlanTaskInputRepresentation.d.ts +28 -0
  77. package/dist/es/es2018/types/src/generated/types/GenericOutputRepresentation.d.ts +46 -0
  78. package/dist/es/es2018/types/src/generated/types/GoalAssignmentInputRepresentation.d.ts +73 -0
  79. package/dist/es/es2018/types/src/generated/types/GoalAssignmentListInputRepresentation.d.ts +29 -0
  80. package/dist/es/es2018/types/src/generated/types/GoalAssignmentListRepresentation.d.ts +29 -0
  81. package/dist/es/es2018/types/src/generated/types/GoalAssignmentRepresentation.d.ts +89 -0
  82. package/dist/es/es2018/types/src/generated/types/GoalDefinitionListRepresentation.d.ts +29 -0
  83. package/dist/es/es2018/types/src/generated/types/GoalDefinitionOutputRepresentation.d.ts +55 -0
  84. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  85. package/package.json +77 -0
  86. package/sfdc/index.d.ts +1 -0
  87. package/sfdc/index.js +4303 -0
  88. package/src/raml/api.raml +1363 -0
  89. package/src/raml/luvio.raml +123 -0
@@ -0,0 +1,29 @@
1
+ import { CustomFieldRepresentation as CustomFieldRepresentation_CustomFieldRepresentation } from './CustomFieldRepresentation';
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 = "14d65abd70fc09f8b5c002936a594b46";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: CustomFieldListRepresentation, existing: CustomFieldListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomFieldListRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: CustomFieldListRepresentationNormalized, incoming: CustomFieldListRepresentationNormalized): 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: CustomFieldListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Output Representation of custom field
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface CustomFieldListRepresentationNormalized {
18
+ /** list of Custom Fields */
19
+ records: Array<CustomFieldRepresentation_CustomFieldRepresentation>;
20
+ }
21
+ /**
22
+ * Output Representation of custom field
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface CustomFieldListRepresentation {
28
+ records: Array<CustomFieldRepresentation_CustomFieldRepresentation>;
29
+ }
@@ -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 = "45ead18d14934c8dcac515a56fcb1d96";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: CustomFieldRepresentation, existing: CustomFieldRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomFieldRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: CustomFieldRepresentationNormalized, incoming: CustomFieldRepresentationNormalized): 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: CustomFieldRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Output Representation of CustomField
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface CustomFieldRepresentationNormalized {
17
+ /** DataType of Custom Field */
18
+ dataType?: string;
19
+ /** Name of Custom Field */
20
+ fieldName: string;
21
+ /** Value of Custom Field */
22
+ fieldValue: unknown;
23
+ }
24
+ /**
25
+ * Output Representation of CustomField
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface CustomFieldRepresentation {
31
+ dataType?: string;
32
+ fieldName: string;
33
+ fieldValue: unknown;
34
+ }
@@ -0,0 +1,28 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "6f6ff83048f10764f120b02ab062d04c";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ExcludedCarePlanTaskInputRepresentation, existing: ExcludedCarePlanTaskInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExcludedCarePlanTaskInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ExcludedCarePlanTaskInputRepresentationNormalized, incoming: ExcludedCarePlanTaskInputRepresentationNormalized): 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: ExcludedCarePlanTaskInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for Excluded Care Plan Tasks
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ExcludedCarePlanTaskInputRepresentationNormalized {
17
+ /** Excluded Sfdc Tasks for a Care Plan */
18
+ tasks: Array<string>;
19
+ }
20
+ /**
21
+ * Input representation for Excluded Care Plan Tasks
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface ExcludedCarePlanTaskInputRepresentation {
27
+ tasks: Array<string>;
28
+ }
@@ -0,0 +1,46 @@
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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "e187a2dda299808dd271b80c30c55942";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
6
+ id: string;
7
+ }
8
+ export type GenericOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
9
+ export type PartialGenericOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
11
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): GenericOutputRepresentationNormalizedKeyMetadata;
12
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: GenericOutputRepresentation): string;
13
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: GenericOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
14
+ export declare function normalize(input: GenericOutputRepresentation, existing: GenericOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GenericOutputRepresentationNormalized;
15
+ export declare const select: () => $64$luvio_engine_BaseFragment;
16
+ export declare function equals(existing: GenericOutputRepresentationNormalized, incoming: GenericOutputRepresentationNormalized): boolean;
17
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
18
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: GenericOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
19
+ /**
20
+ * Generic Output Representation
21
+ *
22
+ * Keys:
23
+ * id (string): id
24
+ */
25
+ export interface GenericOutputRepresentationNormalized {
26
+ /** API code */
27
+ code?: string;
28
+ /** id */
29
+ id: string;
30
+ /** API success status */
31
+ isSuccess?: boolean;
32
+ /** API message */
33
+ message?: string;
34
+ }
35
+ /**
36
+ * Generic Output Representation
37
+ *
38
+ * Keys:
39
+ * id (string): id
40
+ */
41
+ export interface GenericOutputRepresentation {
42
+ code?: string;
43
+ id: string;
44
+ isSuccess?: boolean;
45
+ message?: string;
46
+ }
@@ -0,0 +1,73 @@
1
+ import { BenefitAssignmentListInputRepresentation as BenefitAssignmentListInputRepresentation_BenefitAssignmentListInputRepresentation } from './BenefitAssignmentListInputRepresentation';
2
+ import { GoalAssignmentListInputRepresentation as GoalAssignmentListInputRepresentation_GoalAssignmentListInputRepresentation } from './GoalAssignmentListInputRepresentation';
3
+ import { CustomFieldListInputRepresentation as CustomFieldListInputRepresentation_CustomFieldListInputRepresentation } from './CustomFieldListInputRepresentation';
4
+ import { CarePlanTaskInputRepresentation as CarePlanTaskInputRepresentation_CarePlanTaskInputRepresentation } from './CarePlanTaskInputRepresentation';
5
+ 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';
6
+ export declare const VERSION = "97c74a972a7867bd2ffd5373720750b0";
7
+ export declare function validate(obj: any, path?: string): TypeError | null;
8
+ export declare const RepresentationType: string;
9
+ export declare function normalize(input: GoalAssignmentInputRepresentation, existing: GoalAssignmentInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GoalAssignmentInputRepresentationNormalized;
10
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
11
+ export declare function equals(existing: GoalAssignmentInputRepresentationNormalized, incoming: GoalAssignmentInputRepresentationNormalized): boolean;
12
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
13
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: GoalAssignmentInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
14
+ /**
15
+ * Input representation for GoalAssignment
16
+ *
17
+ * Keys:
18
+ * (none)
19
+ */
20
+ export interface GoalAssignmentInputRepresentationNormalized {
21
+ /** Associated SubBenefit Assignments */
22
+ associatedBenefitAssignments?: BenefitAssignmentListInputRepresentation_BenefitAssignmentListInputRepresentation;
23
+ associatedSubGoalAssignments?: GoalAssignmentListInputRepresentation_GoalAssignmentListInputRepresentation;
24
+ /** CompletionDate of the GoalAssignment */
25
+ completionDate?: string | null;
26
+ /** CompletionPercentage of the GoalAssignment */
27
+ completionPercentage?: number;
28
+ /** CustomFields of the GoalAssignment */
29
+ customFields?: CustomFieldListInputRepresentation_CustomFieldListInputRepresentation;
30
+ /** The displayed name of the GoalAssignment */
31
+ customGoalName?: string;
32
+ /** Description of the Goal Assignment */
33
+ description?: string;
34
+ /** GoalAssigneeId of the GoalAssignment */
35
+ goalAssigneeId?: string;
36
+ /** Tasks for Goal Assignment */
37
+ goalAssignmentTasks?: CarePlanTaskInputRepresentation_CarePlanTaskInputRepresentation;
38
+ /** GoalDefinitionId of the GoalAssignment */
39
+ goalDefinitionId: string;
40
+ /** Id of the GoalAssignment */
41
+ id?: string;
42
+ /** Priority of the GoalAssignment */
43
+ priority?: string;
44
+ /** StartDate of the GoalAssignment */
45
+ startDate?: string | null;
46
+ /** Status of the GoalAssignment */
47
+ status?: string;
48
+ /** TargetCompletionDate of the GoalAssignment */
49
+ targetCompletionDate?: string | null;
50
+ }
51
+ /**
52
+ * Input representation for GoalAssignment
53
+ *
54
+ * Keys:
55
+ * (none)
56
+ */
57
+ export interface GoalAssignmentInputRepresentation {
58
+ associatedBenefitAssignments?: BenefitAssignmentListInputRepresentation_BenefitAssignmentListInputRepresentation;
59
+ associatedSubGoalAssignments?: GoalAssignmentListInputRepresentation_GoalAssignmentListInputRepresentation;
60
+ completionDate?: string | null;
61
+ completionPercentage?: number;
62
+ customFields?: CustomFieldListInputRepresentation_CustomFieldListInputRepresentation;
63
+ customGoalName?: string;
64
+ description?: string;
65
+ goalAssigneeId?: string;
66
+ goalAssignmentTasks?: CarePlanTaskInputRepresentation_CarePlanTaskInputRepresentation;
67
+ goalDefinitionId: string;
68
+ id?: string;
69
+ priority?: string;
70
+ startDate?: string | null;
71
+ status?: string;
72
+ targetCompletionDate?: string | null;
73
+ }
@@ -0,0 +1,29 @@
1
+ import { GoalAssignmentInputRepresentation as GoalAssignmentInputRepresentation_GoalAssignmentInputRepresentation } from './GoalAssignmentInputRepresentation';
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 = "1139321acb30aea58b24e92a1a827a4f";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: GoalAssignmentListInputRepresentation, existing: GoalAssignmentListInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GoalAssignmentListInputRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: GoalAssignmentListInputRepresentationNormalized, incoming: GoalAssignmentListInputRepresentationNormalized): 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: GoalAssignmentListInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Input representation for List of GoalAssignment
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface GoalAssignmentListInputRepresentationNormalized {
18
+ /** List of GoalAssignments */
19
+ records: Array<GoalAssignmentInputRepresentation_GoalAssignmentInputRepresentation>;
20
+ }
21
+ /**
22
+ * Input representation for List of GoalAssignment
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface GoalAssignmentListInputRepresentation {
28
+ records: Array<GoalAssignmentInputRepresentation_GoalAssignmentInputRepresentation>;
29
+ }
@@ -0,0 +1,29 @@
1
+ import { GoalAssignmentRepresentation as GoalAssignmentRepresentation_GoalAssignmentRepresentation } from './GoalAssignmentRepresentation';
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 = "583dee719accea96561c95f96d54ca22";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: GoalAssignmentListRepresentation, existing: GoalAssignmentListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GoalAssignmentListRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: GoalAssignmentListRepresentationNormalized, incoming: GoalAssignmentListRepresentationNormalized): 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: GoalAssignmentListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * List Representation of GoalAssignment
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface GoalAssignmentListRepresentationNormalized {
18
+ /** list of GoalAssignment records */
19
+ records: Array<GoalAssignmentRepresentation_GoalAssignmentRepresentation>;
20
+ }
21
+ /**
22
+ * List Representation of GoalAssignment
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface GoalAssignmentListRepresentation {
28
+ records: Array<GoalAssignmentRepresentation_GoalAssignmentRepresentation>;
29
+ }
@@ -0,0 +1,89 @@
1
+ import { BenefitAssignmentListRepresentation as BenefitAssignmentListRepresentation_BenefitAssignmentListRepresentation } from './BenefitAssignmentListRepresentation';
2
+ import { GoalAssignmentListRepresentation as GoalAssignmentListRepresentation_GoalAssignmentListRepresentation } from './GoalAssignmentListRepresentation';
3
+ import { CustomFieldListRepresentation as CustomFieldListRepresentation_CustomFieldListRepresentation } from './CustomFieldListRepresentation';
4
+ import { CarePlanTasksRepresentation as CarePlanTasksRepresentation_CarePlanTasksRepresentation } from './CarePlanTasksRepresentation';
5
+ 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';
6
+ export declare const VERSION = "1a89ff449717247e98723a8204c7bace";
7
+ export declare function validate(obj: any, path?: string): TypeError | null;
8
+ export declare const RepresentationType: string;
9
+ export declare function normalize(input: GoalAssignmentRepresentation, existing: GoalAssignmentRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GoalAssignmentRepresentationNormalized;
10
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
11
+ export declare function equals(existing: GoalAssignmentRepresentationNormalized, incoming: GoalAssignmentRepresentationNormalized): boolean;
12
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
13
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: GoalAssignmentRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
14
+ /**
15
+ * Output Representation of GoalAssignment
16
+ *
17
+ * Keys:
18
+ * (none)
19
+ */
20
+ export interface GoalAssignmentRepresentationNormalized {
21
+ /** Associated benefit assignments for Goal Assignment */
22
+ associatedBenefitAssignments?: BenefitAssignmentListRepresentation_BenefitAssignmentListRepresentation;
23
+ /** Associated sub goals for Goal Assignment */
24
+ associatedSubGoalAssignments?: GoalAssignmentListRepresentation_GoalAssignmentListRepresentation;
25
+ /** Completion Date of GoalAssignment record */
26
+ completionDate?: string;
27
+ /** Completion Percentage of GoalAssignment record */
28
+ completionPercentage?: number;
29
+ /** List of customFields associated with this GoalAssignment record */
30
+ customFields?: CustomFieldListRepresentation_CustomFieldListRepresentation;
31
+ /** The displayed name of the GoalAssignment record */
32
+ customGoalName?: string;
33
+ /** description of a Goal Assignment */
34
+ description?: string;
35
+ /** Id of Goal Assignee of this GoalAssignment record */
36
+ goalAssigneeId?: string;
37
+ /** Name of Goal Assignee of this GoalAssignment record */
38
+ goalAssigneeName?: string;
39
+ /** Task records for Goal Assignment */
40
+ goalAssignmentTasks?: CarePlanTasksRepresentation_CarePlanTasksRepresentation;
41
+ /** GoalDefinition Id for this GoalAssignment */
42
+ goalDefinitionId: string;
43
+ /** Name of Associated GoalDefinition with this record */
44
+ goalDefinitionName: string;
45
+ /** Goal type of this record */
46
+ goalType?: string;
47
+ /** Id of GoalAssignment record */
48
+ id: string;
49
+ /** Priority of GoalAssignment */
50
+ priority?: string;
51
+ /** Start Date of GoalAssignment record */
52
+ startDate?: string;
53
+ /** Status of GoalAssignment record */
54
+ status?: string;
55
+ /** Target Completion Date of GoalAssignment record */
56
+ targetCompletionDate?: string;
57
+ /** TaskJobStatus of GoalAssignment */
58
+ taskJobStatus?: string;
59
+ /** TaskJobStatusReason of GoalAssignment */
60
+ taskJobStatusReason?: string;
61
+ }
62
+ /**
63
+ * Output Representation of GoalAssignment
64
+ *
65
+ * Keys:
66
+ * (none)
67
+ */
68
+ export interface GoalAssignmentRepresentation {
69
+ associatedBenefitAssignments?: BenefitAssignmentListRepresentation_BenefitAssignmentListRepresentation;
70
+ associatedSubGoalAssignments?: GoalAssignmentListRepresentation_GoalAssignmentListRepresentation;
71
+ completionDate?: string;
72
+ completionPercentage?: number;
73
+ customFields?: CustomFieldListRepresentation_CustomFieldListRepresentation;
74
+ customGoalName?: string;
75
+ description?: string;
76
+ goalAssigneeId?: string;
77
+ goalAssigneeName?: string;
78
+ goalAssignmentTasks?: CarePlanTasksRepresentation_CarePlanTasksRepresentation;
79
+ goalDefinitionId: string;
80
+ goalDefinitionName: string;
81
+ goalType?: string;
82
+ id: string;
83
+ priority?: string;
84
+ startDate?: string;
85
+ status?: string;
86
+ targetCompletionDate?: string;
87
+ taskJobStatus?: string;
88
+ taskJobStatusReason?: string;
89
+ }
@@ -0,0 +1,29 @@
1
+ import { GoalDefinitionOutputRepresentation as GoalDefinitionOutputRepresentation_GoalDefinitionOutputRepresentation } from './GoalDefinitionOutputRepresentation';
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 = "a674faa5c548b6b3ea88026564fa2119";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: GoalDefinitionListRepresentation, existing: GoalDefinitionListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GoalDefinitionListRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: GoalDefinitionListRepresentationNormalized, incoming: GoalDefinitionListRepresentationNormalized): 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: GoalDefinitionListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * List of Records of GoalDefinition
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface GoalDefinitionListRepresentationNormalized {
18
+ /** List of Records of GoalDefinition */
19
+ records: Array<GoalDefinitionOutputRepresentation_GoalDefinitionOutputRepresentation>;
20
+ }
21
+ /**
22
+ * List of Records of GoalDefinition
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface GoalDefinitionListRepresentation {
28
+ records: Array<GoalDefinitionOutputRepresentation_GoalDefinitionOutputRepresentation>;
29
+ }
@@ -0,0 +1,55 @@
1
+ import { ActionPlanTemplateListRepresentation as ActionPlanTemplateListRepresentation_ActionPlanTemplateListRepresentation } from './ActionPlanTemplateListRepresentation';
2
+ import { BenefitListRepresentation as BenefitListRepresentation_BenefitListRepresentation } from './BenefitListRepresentation';
3
+ import { GoalDefinitionListRepresentation as GoalDefinitionListRepresentation_GoalDefinitionListRepresentation } from './GoalDefinitionListRepresentation';
4
+ 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';
5
+ export declare const VERSION = "594cfb796a049900d8dd6884c217740f";
6
+ export declare function validate(obj: any, path?: string): TypeError | null;
7
+ export declare const RepresentationType: string;
8
+ export declare function normalize(input: GoalDefinitionOutputRepresentation, existing: GoalDefinitionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GoalDefinitionOutputRepresentationNormalized;
9
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
10
+ export declare function equals(existing: GoalDefinitionOutputRepresentationNormalized, incoming: GoalDefinitionOutputRepresentationNormalized): boolean;
11
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
12
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: GoalDefinitionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
13
+ /**
14
+ * Output Representation of Goal Definition
15
+ *
16
+ * Keys:
17
+ * (none)
18
+ */
19
+ export interface GoalDefinitionOutputRepresentationNormalized {
20
+ /** List of Associated Action Plan Template Records */
21
+ associatedActionPlanTemplates?: ActionPlanTemplateListRepresentation_ActionPlanTemplateListRepresentation;
22
+ /** List of Associated Action Plan Template Records */
23
+ associatedBenefits?: BenefitListRepresentation_BenefitListRepresentation;
24
+ /** List of Associated Action Plan Template Records */
25
+ associatedSubGoals?: GoalDefinitionListRepresentation_GoalDefinitionListRepresentation;
26
+ /** Record Id of goal Definition */
27
+ id: string;
28
+ /** Indicates whether a custom goal name is required for a goal assignment related to the goal definition */
29
+ isCustomGoalNameRequired?: boolean;
30
+ /** Name of Goal Definition */
31
+ name: string;
32
+ /** Status of Goal Definition */
33
+ status?: string;
34
+ /** Type of Goal Definition */
35
+ type?: string;
36
+ /** Usage Type of Goal Definition */
37
+ usageType?: string;
38
+ }
39
+ /**
40
+ * Output Representation of Goal Definition
41
+ *
42
+ * Keys:
43
+ * (none)
44
+ */
45
+ export interface GoalDefinitionOutputRepresentation {
46
+ associatedActionPlanTemplates?: ActionPlanTemplateListRepresentation_ActionPlanTemplateListRepresentation;
47
+ associatedBenefits?: BenefitListRepresentation_BenefitListRepresentation;
48
+ associatedSubGoals?: GoalDefinitionListRepresentation_GoalDefinitionListRepresentation;
49
+ id: string;
50
+ isCustomGoalNameRequired?: boolean;
51
+ name: string;
52
+ status?: string;
53
+ type?: string;
54
+ usageType?: string;
55
+ }
@@ -0,0 +1,32 @@
1
+ import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const ObjectKeys: {
3
+ (o: object): string[];
4
+ (o: {}): string[];
5
+ }, ObjectCreate: {
6
+ (o: object | null): any;
7
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
8
+ }, ObjectAssign: {
9
+ <T extends {}, U>(target: T, source: U): T & U;
10
+ <T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
11
+ <T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
12
+ (target: object, ...sources: any[]): any;
13
+ };
14
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
15
+ export declare const JSONStringify: {
16
+ (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
17
+ (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
18
+ };
19
+ type AllowedPrimitives = boolean | string | number | Date | null;
20
+ type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
21
+ export type RecursivePartial<T> = null | {
22
+ [P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
23
+ };
24
+ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
25
+ export declare function equalsObject<U, V extends {
26
+ [key: string]: U;
27
+ }>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
28
+ export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
29
+ __ref: string;
30
+ };
31
+ export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
32
+ export {};
package/package.json ADDED
@@ -0,0 +1,77 @@
1
+ {
2
+ "name": "@salesforce/lds-adapters-industries-public-sector",
3
+ "version": "0.1.0-dev1",
4
+ "license": "SEE LICENSE IN LICENSE.txt",
5
+ "description": "This has files related to Public Sector APIs",
6
+ "main": "dist/es/es2018/industries-public-sector.js",
7
+ "module": "dist/es/es2018/industries-public-sector.js",
8
+ "types": "dist/es/es2018/types/src/main.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "sfdc",
12
+ "src/raml/*"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/es/es2018/types/src/main.d.ts",
17
+ "import": "./dist/es/es2018/industries-public-sector.js",
18
+ "require": "./dist/es/es2018/industries-public-sector.js"
19
+ },
20
+ "./sfdc": {
21
+ "types": "./sfdc/index.d.ts",
22
+ "import": "./sfdc/index.js",
23
+ "default": "./sfdc/index.js"
24
+ }
25
+ },
26
+ "contributors": [
27
+ "rjagnani@salesforce.com",
28
+ "aashishgoel@salesforce.com",
29
+ "manju.prasad@salesforce.com"
30
+ ],
31
+ "sfdc": {
32
+ "namespace": "lightning",
33
+ "module": "industriesPublicSectorApi"
34
+ },
35
+ "scripts": {
36
+ "build": "yarn build:services",
37
+ "build:karma": "rollup --bundleConfigAsCjs --config rollup.config.karma.js",
38
+ "build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
39
+ "build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
40
+ "clean": "rm -rf dist sfdc src/generated karma/dist",
41
+ "release:core": "../../scripts/release/core.js --adapter=lds-adapters-industries-public-sector",
42
+ "release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-industries-public-sector",
43
+ "start": "nx build:karma && karma start",
44
+ "test": "nx build:karma && karma start --single-run",
45
+ "test:unit": "jest"
46
+ },
47
+ "dependencies": {
48
+ "@salesforce/lds-bindings": "^0.1.0-dev1"
49
+ },
50
+ "devDependencies": {
51
+ "@salesforce/lds-compiler-plugins": "^0.1.0-dev1",
52
+ "@salesforce/lds-karma": "^0.1.0-dev1"
53
+ },
54
+ "nx": {
55
+ "targets": {
56
+ "build": {
57
+ "outputs": [
58
+ "{projectRoot}/dist",
59
+ "{projectRoot}/sfdc"
60
+ ]
61
+ },
62
+ "build:raml": {
63
+ "outputs": [
64
+ "{projectRoot}/src/generated"
65
+ ]
66
+ },
67
+ "build:karma": {
68
+ "outputs": [
69
+ "{projectRoot}/karma/dist"
70
+ ]
71
+ }
72
+ }
73
+ },
74
+ "volta": {
75
+ "extends": "../../package.json"
76
+ }
77
+ }
@@ -0,0 +1 @@
1
+ export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';