@sassoftware/vi-api 0.0.29

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 (140) hide show
  1. package/alert-reps/index.d.ts +677 -0
  2. package/alert-reps/package.json +5 -0
  3. package/component/bindings.d.ts +85 -0
  4. package/component/bindings.js +1 -0
  5. package/component/index.d.ts +49 -0
  6. package/component/index.js +16 -0
  7. package/component/package.json +9 -0
  8. package/component/public-api.d.ts +1 -0
  9. package/component/public-api.js +1 -0
  10. package/config/config-api.d.ts +92 -0
  11. package/config/config-api.js +6 -0
  12. package/config/package.json +9 -0
  13. package/config/public-api.d.ts +1 -0
  14. package/config/public-api.js +1 -0
  15. package/control/control-api.d.ts +450 -0
  16. package/control/control-api.js +1 -0
  17. package/control/data-types.d.ts +9 -0
  18. package/control/data-types.js +1 -0
  19. package/control/events.d.ts +75 -0
  20. package/control/events.js +5 -0
  21. package/control/file.d.ts +14 -0
  22. package/control/file.js +1 -0
  23. package/control/image.d.ts +14 -0
  24. package/control/image.js +1 -0
  25. package/control/package.json +9 -0
  26. package/control/page.d.ts +55 -0
  27. package/control/page.js +1 -0
  28. package/control/public-api.d.ts +8 -0
  29. package/control/public-api.js +8 -0
  30. package/control/restrictions.d.ts +33 -0
  31. package/control/restrictions.js +1 -0
  32. package/control/toolbar-property-api.d.ts +16 -0
  33. package/control/toolbar-property-api.js +1 -0
  34. package/current-user/currentUser-api.d.ts +65 -0
  35. package/current-user/currentUser-api.js +11 -0
  36. package/current-user/package.json +9 -0
  37. package/current-user/public-api.d.ts +1 -0
  38. package/current-user/public-api.js +1 -0
  39. package/event/event-api.d.ts +57 -0
  40. package/event/event-api.js +26 -0
  41. package/event/package.json +9 -0
  42. package/event/public-api.d.ts +1 -0
  43. package/event/public-api.js +1 -0
  44. package/file/file-api.d.ts +44 -0
  45. package/file/file-api.js +1 -0
  46. package/file/package.json +9 -0
  47. package/file/public-api.d.ts +1 -0
  48. package/file/public-api.js +1 -0
  49. package/http/index.d.ts +364 -0
  50. package/http/index.js +45 -0
  51. package/http/package.json +9 -0
  52. package/http/public-api.d.ts +1 -0
  53. package/http/public-api.js +1 -0
  54. package/index.d.ts +65 -0
  55. package/index.js +1 -0
  56. package/localization/localization-api.d.ts +26 -0
  57. package/localization/localization-api.js +1 -0
  58. package/localization/package.json +9 -0
  59. package/localization/public-api.d.ts +1 -0
  60. package/localization/public-api.js +1 -0
  61. package/metadata/admin/admin-metadata-api.d.ts +18 -0
  62. package/metadata/admin/admin-metadata-api.js +1 -0
  63. package/metadata/metadata-api.d.ts +237 -0
  64. package/metadata/metadata-api.js +1 -0
  65. package/metadata/package.json +9 -0
  66. package/metadata/public-api.d.ts +2 -0
  67. package/metadata/public-api.js +2 -0
  68. package/object/object-api.d.ts +507 -0
  69. package/object/object-api.js +13 -0
  70. package/object/package.json +9 -0
  71. package/object/public-api.d.ts +1 -0
  72. package/object/public-api.js +1 -0
  73. package/package.json +14 -0
  74. package/page-admin/package.json +9 -0
  75. package/page-admin/page-admin-api.d.ts +29 -0
  76. package/page-admin/page-admin-api.js +11 -0
  77. package/page-admin/public-api.d.ts +1 -0
  78. package/page-admin/public-api.js +1 -0
  79. package/page-model/package.json +9 -0
  80. package/page-model/page-model-api.d.ts +126 -0
  81. package/page-model/page-model-api.js +11 -0
  82. package/page-model/public-api.d.ts +1 -0
  83. package/page-model/public-api.js +1 -0
  84. package/page-state/package.json +9 -0
  85. package/page-state/page-state-api.d.ts +59 -0
  86. package/page-state/page-state-api.js +1 -0
  87. package/page-state/public-api.d.ts +1 -0
  88. package/page-state/public-api.js +1 -0
  89. package/property/package.json +9 -0
  90. package/property/property-api.d.ts +46 -0
  91. package/property/property-api.js +17 -0
  92. package/property/public-api.d.ts +1 -0
  93. package/property/public-api.js +1 -0
  94. package/public-api.d.ts +1 -0
  95. package/public-api.js +1 -0
  96. package/reference-data/package.json +9 -0
  97. package/reference-data/public-api.d.ts +1 -0
  98. package/reference-data/public-api.js +1 -0
  99. package/reference-data/refData.d.ts +72 -0
  100. package/reference-data/refData.js +1 -0
  101. package/resource/package.json +9 -0
  102. package/resource/public-api.d.ts +1 -0
  103. package/resource/public-api.js +1 -0
  104. package/resource/resource-api.d.ts +17 -0
  105. package/resource/resource-api.js +1 -0
  106. package/score-reps/index.d.ts +133 -0
  107. package/score-reps/package.json +5 -0
  108. package/search/client/client-search-api.d.ts +159 -0
  109. package/search/client/client-search-api.js +14 -0
  110. package/search/package.json +9 -0
  111. package/search/public-api.d.ts +2 -0
  112. package/search/public-api.js +2 -0
  113. package/search/search-api.d.ts +72 -0
  114. package/search/search-api.js +1 -0
  115. package/sheet/package.json +9 -0
  116. package/sheet/public-api.d.ts +1 -0
  117. package/sheet/public-api.js +1 -0
  118. package/sheet/sheet-api.d.ts +184 -0
  119. package/sheet/sheet-api.js +1 -0
  120. package/svi-datahub/index.d.ts +4514 -0
  121. package/svi-datahub/package.json +5 -0
  122. package/svi-sand/index.d.ts +1057 -0
  123. package/svi-sand/package.json +5 -0
  124. package/tab/package.json +9 -0
  125. package/tab/public-api.d.ts +1 -0
  126. package/tab/public-api.js +1 -0
  127. package/tab/tab-api.d.ts +33 -0
  128. package/tab/tab-api.js +1 -0
  129. package/theme/package.json +9 -0
  130. package/theme/public-api.d.ts +1 -0
  131. package/theme/public-api.js +1 -0
  132. package/theme/theme-api.d.ts +35 -0
  133. package/theme/theme-api.js +17 -0
  134. package/time-slider/index.d.ts +35 -0
  135. package/time-slider/index.js +17 -0
  136. package/traversal/package.json +9 -0
  137. package/traversal/public-api.d.ts +1 -0
  138. package/traversal/public-api.js +1 -0
  139. package/traversal/traversal-api.d.ts +34 -0
  140. package/traversal/traversal-api.js +1 -0
@@ -0,0 +1,126 @@
1
+ import { Control } from "../control/page";
2
+ import { FileOperation, SASObjectAttachedFile } from "../file/file-api";
3
+ import { ObjectFieldRestrictions } from "../object/object-api";
4
+ export declare enum PageMode {
5
+ Create = "create",
6
+ Edit = "edit",
7
+ View = "view",
8
+ Design = "design"
9
+ }
10
+ export declare const enum ServerPageMode {
11
+ CREATE = "C",
12
+ EDIT = "E",
13
+ VIEW = "V"
14
+ }
15
+ export interface Condition {
16
+ type: string;
17
+ parameters: Array<string | number | boolean | Condition>;
18
+ }
19
+ export interface PageAction {
20
+ attrs: {
21
+ actionId: number;
22
+ actionName: string;
23
+ attributes: {
24
+ [property: string]: any;
25
+ displayName: string;
26
+ disabled: string;
27
+ };
28
+ controlId?: number;
29
+ displayName: string;
30
+ };
31
+ }
32
+ export interface PageActions {
33
+ items?: PageAction[];
34
+ }
35
+ export interface PageModelData {
36
+ [property: string]: any;
37
+ }
38
+ export interface PageModelObjectData {
39
+ clientApplication: string;
40
+ data: PageModelData;
41
+ displayLabel?: string;
42
+ fieldRestrictions?: ObjectFieldRestrictions;
43
+ fileRestrictions?: ObjectFieldRestrictions;
44
+ id?: string;
45
+ linkedPages?: any[];
46
+ mode?: PageMode;
47
+ objectTypeId?: string;
48
+ objectTypeVersion?: number;
49
+ serverPageMode?: ServerPageMode;
50
+ template?: PageTemplate;
51
+ templateMetadata?: PageTemplateMetadata;
52
+ toolbar?: {
53
+ disabled: boolean;
54
+ items: Control[];
55
+ };
56
+ type?: string;
57
+ }
58
+ export interface PageModel extends PageModelObjectData {
59
+ attachmentCount?: number;
60
+ disableDragDrop?: boolean;
61
+ fileOperations?: FileOperation[];
62
+ isFormSearch?: boolean;
63
+ isSourceDocument?: boolean;
64
+ parent?: PageModel;
65
+ updateData(data: PageModelData | undefined): void;
66
+ isEditable(): boolean;
67
+ isInCreateMode(): boolean;
68
+ isValid(): Promise<boolean>;
69
+ addFileOperation(operation: string, id: string, data?: SASObjectAttachedFile): void;
70
+ removeFileOperation(operation: string, id: string): void;
71
+ removeAllFileOperations(): void;
72
+ getAllMissingFileCategories(): Promise<string[]>;
73
+ getAllMissingRequiredFields(): string[];
74
+ setParentModel(parentModel: PageModel): void;
75
+ getParentModel(): PageModel;
76
+ destroy(): void;
77
+ }
78
+ export interface PageTemplate {
79
+ errors?: boolean;
80
+ errorDetails?: Error;
81
+ showTabs: boolean;
82
+ id?: number;
83
+ screens: PageTemplateScreen[];
84
+ }
85
+ export interface PageTemplateMetadata {
86
+ dataSources: PageTemplateMetadataDataSource[];
87
+ insightsCreationEnabled: boolean;
88
+ insightsEnabled: boolean;
89
+ linkedTemplates: any[];
90
+ resources: {
91
+ [property: string]: string;
92
+ };
93
+ workspaceCreationEnabled: boolean;
94
+ workspaceEnabled: boolean;
95
+ }
96
+ export interface PageTemplateMetadataDataSource {
97
+ objectName: string;
98
+ fields: string[];
99
+ }
100
+ export interface PageTemplateScreen {
101
+ id: string;
102
+ name: string;
103
+ locked?: boolean;
104
+ childNodes?: Control[];
105
+ }
106
+ /**
107
+ * This API is used for creating a PageModel object from source data.
108
+ * Accessed from the window at window.sas.vi.pageModel.
109
+ */
110
+ export interface PageModelApi {
111
+ /**
112
+ * @method
113
+ * @description Creates a new instance of a PageModel when given the object source.
114
+ * @param objectSource {PageModelObjectData} Object containing data for the page model.
115
+ * @param [options] {PageModelApi~CreateFromObjectOptions} Contains a boolean "clone" declaring whether to deep clone the object
116
+ * when creating the Page Model.
117
+ * @returns The instance of PageModel
118
+ */
119
+ createFromObject(objectSource: PageModelObjectData, options?: {
120
+ clone?: boolean;
121
+ }): PageModel;
122
+ }
123
+ /**
124
+ * @typedef {object} PageModelApi~CreateFromObjectOptions
125
+ * @property [clone] {boolean} Whether or not to clone the page model data or use the referenced values.
126
+ */
@@ -0,0 +1,11 @@
1
+ export var PageMode;
2
+ (function (PageMode) {
3
+ PageMode["Create"] = "create";
4
+ PageMode["Edit"] = "edit";
5
+ PageMode["View"] = "view";
6
+ PageMode["Design"] = "design";
7
+ })(PageMode || (PageMode = {}));
8
+ /**
9
+ * @typedef {object} PageModelApi~CreateFromObjectOptions
10
+ * @property [clone] {boolean} Whether or not to clone the page model data or use the referenced values.
11
+ */
@@ -0,0 +1 @@
1
+ export * from "./page-model-api";
@@ -0,0 +1 @@
1
+ export * from "./page-model-api";
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "@sassoftware/vi-api/page-state",
3
+ "files": [
4
+ "**/*.d.ts",
5
+ "**/*.js"
6
+ ],
7
+ "main": "public-api.js",
8
+ "types": "public-api.d.ts"
9
+ }
@@ -0,0 +1,59 @@
1
+ /**
2
+ * SAS Visual Investigator API's representation of a UI-Router state.
3
+ * Accessed from the window at window.sas.vi.pageState.
4
+ */
5
+ export interface StateObject {
6
+ /** The parent StateObject. */
7
+ parent: StateObject;
8
+ /** Name used to register the state. */
9
+ name: string;
10
+ /** Parent StateObject array from this state up to the root. */
11
+ path: StateObject[];
12
+ data: any;
13
+ /**
14
+ * An object containing the parent States' names as keys and
15
+ * true as their values.
16
+ */
17
+ includes: {
18
+ [name: string]: boolean;
19
+ };
20
+ /**
21
+ * Function to return the root node of this state's tree.
22
+ *
23
+ * @returns The root of this state's tree.
24
+ */
25
+ root(): StateObject;
26
+ toString(): string;
27
+ }
28
+ /**
29
+ * This API provides functionality that pertains to the page state.
30
+ * Accessed from the window at window.sas.vi.pageState.
31
+ */
32
+ export interface PageStateApi {
33
+ /**
34
+ * @method
35
+ * @description Returns the state of the current page.
36
+ * @returns An object containing the page state data or undefined if no page exists.
37
+ */
38
+ getCurrent(): StateObject | undefined;
39
+ /**
40
+ * @method
41
+ * @description Returns the state of the page matching the ID.
42
+ * @param id {string | number} Page ID for which the state will be returned.
43
+ * @returns An object containing the page state data or undefined if the ID doesn't exist.
44
+ */
45
+ get(id: string | number): StateObject | undefined;
46
+ /**
47
+ * @method
48
+ * @description Creates a page state.
49
+ * @param id {string | number} Page ID to be created.
50
+ * @param state {StateObject} Object containing the state data required to create the page.
51
+ */
52
+ add(id: string | number, state: StateObject): void;
53
+ /**
54
+ * @method
55
+ * @description Deletes a page state.
56
+ * @param id {string | number} ID of the page to be deleted.
57
+ */
58
+ remove(id: string | number): void;
59
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from "./page-state-api";
@@ -0,0 +1 @@
1
+ export * from "./page-state-api";
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "@sassoftware/vi-api/property",
3
+ "files": [
4
+ "**/*.d.ts",
5
+ "**/*.js"
6
+ ],
7
+ "main": "public-api.js",
8
+ "types": "public-api.d.ts"
9
+ }
@@ -0,0 +1,46 @@
1
+ import { Control } from "../control/page";
2
+ import { TypeAttributes } from "../object/object-api";
3
+ import { PageTemplateMetadata } from "../page-model/page-model-api";
4
+ export interface ToolbarPropertyControl {
5
+ typeAttributes: TypeAttributes;
6
+ }
7
+ export interface PropertyConfig {
8
+ [property: string]: any;
9
+ order?: number;
10
+ required?: boolean;
11
+ type: string;
12
+ }
13
+ /**
14
+ * This API provides the utility or miscellaneous functionality in SAS Visual Investigator.
15
+ * Accessed from the window at window.sas.vi.property.
16
+ */
17
+ export interface PropertyApi {
18
+ /**
19
+ * @method
20
+ * @description Registers a custom element to be rendered as the property editor.
21
+ * The element is rendered as a custom web component.
22
+ * The element is passed selectedNode, property, propertyKey and categoryKey as attributes.
23
+ * Throws a console error if the type is already used by another registered editor.
24
+ * @param elementName {string} Element to be rendered. For example "custom-editor" renders an element with the tag name "custom-editor".
25
+ * @param type {string} A custom type that is expected to be unique among registered editors.
26
+ * @param [validatorFn] {PropertyApi~isPropertyEditorValid} Function to provide custom logic for determining if the editor is valid.
27
+ * @param [metadataFn] {PropertyApi~getPropertyEditorMetadata} Function to provide custom metadata.
28
+ */
29
+ registerCustomEditor(elementName: string, type: string, validatorFn?: (propertyConfig: PropertyConfig, propertyKey: string, control: Control | ToolbarPropertyControl) => boolean, metadataFn?: (propertyConfig: PropertyConfig, propertyKey: string, control: Control | ToolbarPropertyControl) => PageTemplateMetadata): void;
30
+ }
31
+ /**
32
+ * Determines whether or not the property editor is valid.
33
+ * @callback PropertyApi~isPropertyEditorValid
34
+ * @param {PropertyConfig} propertyConfig Configuration details relating to the custom property type. For example, required, type and so on.
35
+ * @param {string} propertyKey Key where this property's value is stored.
36
+ * @param {Control | ToolbarPropertyControl} control The control.
37
+ * @returns {boolean} true if valid, false if not.
38
+ */
39
+ /**
40
+ * Get metadata for the property editor.
41
+ * @callback PropertyApi~getPropertyEditorMetadata
42
+ * @param {PropertyConfig} propertyConfig Configuration details relating to the custom property type. For example, required, type and so on.
43
+ * @param {string} propertyKey Key where this property's value is stored.
44
+ * @param {Control | ToolbarPropertyControl} control The control.
45
+ * @returns {PageTemplateMetadata}
46
+ */
@@ -0,0 +1,17 @@
1
+ export {};
2
+ /**
3
+ * Determines whether or not the property editor is valid.
4
+ * @callback PropertyApi~isPropertyEditorValid
5
+ * @param {PropertyConfig} propertyConfig Configuration details relating to the custom property type. For example, required, type and so on.
6
+ * @param {string} propertyKey Key where this property's value is stored.
7
+ * @param {Control | ToolbarPropertyControl} control The control.
8
+ * @returns {boolean} true if valid, false if not.
9
+ */
10
+ /**
11
+ * Get metadata for the property editor.
12
+ * @callback PropertyApi~getPropertyEditorMetadata
13
+ * @param {PropertyConfig} propertyConfig Configuration details relating to the custom property type. For example, required, type and so on.
14
+ * @param {string} propertyKey Key where this property's value is stored.
15
+ * @param {Control | ToolbarPropertyControl} control The control.
16
+ * @returns {PageTemplateMetadata}
17
+ */
@@ -0,0 +1 @@
1
+ export * from "./property-api";
@@ -0,0 +1 @@
1
+ export * from "./property-api";
@@ -0,0 +1 @@
1
+ export { SviClientApi, SviAdminApi, SviWindow } from "./index";
package/public-api.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "@sassoftware/vi-api/reference-data",
3
+ "files": [
4
+ "**/*.d.ts",
5
+ "**/*.js"
6
+ ],
7
+ "main": "public-api.js",
8
+ "types": "public-api.d.ts"
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./refData";
@@ -0,0 +1 @@
1
+ export * from "./refData";
@@ -0,0 +1,72 @@
1
+ import { PersistableObject } from "../metadata/metadata-api";
2
+ export interface ReferenceList extends ReferenceListBase {
3
+ maxCodeLength: number;
4
+ archived: boolean;
5
+ type?: string;
6
+ localizedLabels?: LocalizedLabel[];
7
+ items: ReferenceListItem[];
8
+ alphabeticalSort: boolean;
9
+ hierarchyLevel?: number;
10
+ referenceListType?: string;
11
+ usedByField?: boolean;
12
+ }
13
+ export interface ReferenceListBase {
14
+ id?: string | number;
15
+ name: string;
16
+ label: string;
17
+ referenceListType?: string;
18
+ localizedLabels?: LocalizedLabel[];
19
+ }
20
+ export interface ReferenceListItem {
21
+ id?: string | number;
22
+ label: string;
23
+ code: string;
24
+ localizedLabels?: LocalizedLabel[];
25
+ archived?: boolean;
26
+ displayIndex?: number;
27
+ parentCode?: string;
28
+ newItem?: boolean;
29
+ hasChildren?: boolean;
30
+ }
31
+ export interface HierarchicalList extends ReferenceListBase {
32
+ levels: ReferenceList[];
33
+ }
34
+ export interface LocalizedLabel extends PersistableObject {
35
+ localeCd: string;
36
+ label: string;
37
+ }
38
+ /**
39
+ * This API provides functionality related to retrieving reference data.
40
+ * Accessed from the window at window.sas.vi.refData.
41
+ *
42
+ */
43
+ export interface RefDataApi {
44
+ /**
45
+ * @method
46
+ * @description Gets all reference data lists.
47
+ * @returns Promise containing the array of reference data lists.
48
+ */
49
+ getReferenceLists(): Promise<ReferenceList[]>;
50
+ /**
51
+ * @method
52
+ * @description Gets all reference data hierarchies.
53
+ * @returns Promise containing the array of reference data hierarchies.
54
+ */
55
+ getReferenceHierarchies(): Promise<HierarchicalList[]>;
56
+ /**
57
+ * @method
58
+ * @description Gets reference data list with the given name.
59
+ * @param name {string} Name of the reference data list.
60
+ * @param [includeArchived] {boolean} Boolean to determine if an archived list can be returned.
61
+ * @returns Promise containing the reference data list.
62
+ */
63
+ getReferenceList(name: string, includeArchived?: boolean): Promise<ReferenceList>;
64
+ /**
65
+ * @method
66
+ * @description Gets reference data hierarchy with the given name.
67
+ * @param name {name} Name of the reference data hierarchy.
68
+ * @param [includeArchived] {boolean} Boolean to determine if an archived hierarchy can be returned.
69
+ * @returns Promise containing the reference data hierarchy.
70
+ */
71
+ getReferenceHierarchy(name: string, includeArchived?: boolean): Promise<HierarchicalList>;
72
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "@sassoftware/vi-api/resource",
3
+ "files": [
4
+ "**/*.d.ts",
5
+ "**/*.js"
6
+ ],
7
+ "main": "public-api.js",
8
+ "types": "public-api.d.ts"
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./resource-api";
@@ -0,0 +1 @@
1
+ export * from "./resource-api";
@@ -0,0 +1,17 @@
1
+ export interface I18nResources {
2
+ [key: string]: string | I18nResources;
3
+ }
4
+ /**
5
+ * This API provides the resource functionality in SAS Visual Investigator.
6
+ * Accessed from the window at window.sas.vi.resource.
7
+ */
8
+ export interface ResourceApi {
9
+ /**
10
+ * @method
11
+ * @description Register a resource bundle with the Resource Service.
12
+ * @param bundleName {string} Name for the bundle to be stored in the resource cache.
13
+ * @param resources {I18nResources} Object containing the resources to be added for the bundle
14
+ * specified by the bundleName parameter.
15
+ */
16
+ registerResourceBundle(bundleName: string, resources: I18nResources): void;
17
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,133 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ // Generated using typescript-generator version 2.15.527 on 2022-01-30 09:29:49.
4
+
5
+ export interface BaseRep extends TrackedResource {
6
+ links?: Link[];
7
+ }
8
+
9
+ export interface BatchJobRep extends BaseRep {
10
+ batchId?: string;
11
+ scorecardDefinitionId?: string;
12
+ batchStatus?: string;
13
+ dropZoneType?: string;
14
+ casLibraryName?: string;
15
+ inputScoreTableName?: string;
16
+ inputElementTableName?: string;
17
+ dropZoneTimeToLive?: number;
18
+ deleteCasTablesAfterCompletionFlag?: boolean;
19
+ expirationTimeStamp?: string;
20
+ }
21
+
22
+ export interface ElementRep extends BaseRep {
23
+ version?: number;
24
+ elementId?: string;
25
+ scoreId?: string;
26
+ batchId?: string;
27
+ elementEntityType?: string;
28
+ elementEntityId?: string;
29
+ elementEntityLabel?: string;
30
+ elementNativeId?: string;
31
+ elementNativeName?: string;
32
+ elementDescription?: string;
33
+ displayFlag?: boolean;
34
+ displayOrder?: number;
35
+ displayTypeCode?: DisplayType;
36
+ messageTemplateText?: string;
37
+ messageValuesJson?: { [index: string]: any };
38
+ score?: number;
39
+ minimumScore?: number;
40
+ maximumScore?: number;
41
+ meanScore?: number;
42
+ displayFormat?: string;
43
+ valueType?: ValueType;
44
+ valueText?: string;
45
+ valueBoolean?: boolean;
46
+ valueNumeric?: number;
47
+ valueTimeStamp?: string;
48
+ }
49
+
50
+ export interface EntityElementsRep {
51
+ entityType?: string;
52
+ entityId?: string;
53
+ entityLabel?: string;
54
+ elements?: ElementRep[];
55
+ version?: number;
56
+ }
57
+
58
+ export interface ScorecardDefinitionRep extends BaseRep {
59
+ currentTableName?: string;
60
+ domainId?: string;
61
+ elementTableName?: string;
62
+ entityType?: string;
63
+ historyTableName?: string;
64
+ inputElementTableName?: string;
65
+ inputScoreTableName?: string;
66
+ origin?: string;
67
+ scorecardDefinitionDescription?: string;
68
+ scorecardDefinitionId?: string;
69
+ scorecardDefinitionName?: string;
70
+ solutionId?: string;
71
+ }
72
+
73
+ export interface ScorecardFullRep extends ScorecardSummaryRep {
74
+ entities?: EntityElementsRep[];
75
+ }
76
+
77
+ export interface ScorecardSummaryRep extends BaseRep {
78
+ version?: number;
79
+ scoreId?: string;
80
+ batchId?: string;
81
+ actionableEntityType?: string;
82
+ actionableEntityId?: string;
83
+ actionableEntityLabel?: string;
84
+ score?: number;
85
+ scoreDescription?: string;
86
+ effectiveTimeStamp?: string;
87
+ }
88
+
89
+ export interface Link extends Serializable {
90
+ method?: string;
91
+ rel?: string;
92
+ href?: string;
93
+ uri?: string;
94
+ type?: string;
95
+ responseType?: string;
96
+ itemType?: string;
97
+ responseItemType?: string;
98
+ title?: string;
99
+ }
100
+
101
+ export interface TrackedResource extends Serializable, ETaggable, TimeTrackedResource, ETagAndLastModifiedProvider {
102
+ createdBy?: string;
103
+ modifiedBy?: string;
104
+ }
105
+
106
+ export interface Serializable {
107
+ }
108
+
109
+ export interface ETaggable extends Preconditionable {
110
+ etag?: string;
111
+ }
112
+
113
+ export interface TimeTrackedResource extends LastModifiedProviderFromModifiedTimeStamp {
114
+ creationTimeStamp?: string;
115
+ }
116
+
117
+ export interface ETagAndLastModifiedProvider extends ETaggable, LastModifiedProvider {
118
+ }
119
+
120
+ export interface Preconditionable {
121
+ }
122
+
123
+ export interface LastModifiedProviderFromModifiedTimeStamp extends LastModifiedProvider {
124
+ modifiedTimeStamp?: string;
125
+ }
126
+
127
+ export interface LastModifiedProvider extends Preconditionable {
128
+ lastModifiedHeaderDate?: string;
129
+ }
130
+
131
+ export type DisplayType = 'TEXT' | 'VARIABLE' | 'UNKNOWN';
132
+
133
+ export type ValueType = 'TEXT' | 'NUMERIC' | 'TIMESTAMP' | 'BOOLEAN' | 'UNKNOWN';
@@ -0,0 +1,5 @@
1
+ {
2
+ "name": "@types/score-reps",
3
+ "version": "2.3.63",
4
+ "types": "index.d.ts"
5
+ }