hvp-shared 9.0.0 → 9.2.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.
|
@@ -55,6 +55,13 @@ export declare enum DocumentType {
|
|
|
55
55
|
format = "format",
|
|
56
56
|
tool = "tool",
|
|
57
57
|
policy = "policy",
|
|
58
|
+
/**
|
|
59
|
+
* Living registry/tracker. The structure is fixed but the data evolves over
|
|
60
|
+
* time (e.g. monthly income tracker, supplier promotional log). Differs from
|
|
61
|
+
* `format` (a template instance is filled once) and from `reference_data`
|
|
62
|
+
* (typically static reference like catalogs). Added in 9.2.0.
|
|
63
|
+
*/
|
|
64
|
+
control = "control",
|
|
58
65
|
reference_data = "reference_data",
|
|
59
66
|
training_material = "training_material",
|
|
60
67
|
legal_document = "legal_document",
|
|
@@ -70,6 +70,13 @@ var DocumentType;
|
|
|
70
70
|
DocumentType["format"] = "format";
|
|
71
71
|
DocumentType["tool"] = "tool";
|
|
72
72
|
DocumentType["policy"] = "policy";
|
|
73
|
+
/**
|
|
74
|
+
* Living registry/tracker. The structure is fixed but the data evolves over
|
|
75
|
+
* time (e.g. monthly income tracker, supplier promotional log). Differs from
|
|
76
|
+
* `format` (a template instance is filled once) and from `reference_data`
|
|
77
|
+
* (typically static reference like catalogs). Added in 9.2.0.
|
|
78
|
+
*/
|
|
79
|
+
DocumentType["control"] = "control";
|
|
73
80
|
// Resource
|
|
74
81
|
DocumentType["reference_data"] = "reference_data";
|
|
75
82
|
DocumentType["training_material"] = "training_material";
|
|
@@ -88,6 +95,7 @@ exports.DOCUMENT_TYPE_LABELS = {
|
|
|
88
95
|
[DocumentType.format]: "Formato",
|
|
89
96
|
[DocumentType.tool]: "Herramienta",
|
|
90
97
|
[DocumentType.policy]: "Política",
|
|
98
|
+
[DocumentType.control]: "Control",
|
|
91
99
|
[DocumentType.reference_data]: "Datos de referencia",
|
|
92
100
|
[DocumentType.training_material]: "Material de capacitación",
|
|
93
101
|
[DocumentType.legal_document]: "Documento legal",
|
|
@@ -212,6 +212,17 @@ export interface ListDocumentsQuery {
|
|
|
212
212
|
search?: string;
|
|
213
213
|
requiredForOnboarding?: boolean;
|
|
214
214
|
requiresAcknowledgment?: boolean;
|
|
215
|
+
/**
|
|
216
|
+
* If true, the response includes `obsolete` documents. Default: false (the
|
|
217
|
+
* server hides obsolete docs unless the caller asks for them). Ignored when
|
|
218
|
+
* `status` is set explicitly. Writer-only flag.
|
|
219
|
+
*/
|
|
220
|
+
includeObsolete?: boolean;
|
|
221
|
+
/**
|
|
222
|
+
* If true, the response includes `archived` documents. Default: false.
|
|
223
|
+
* Ignored when `status` is set explicitly. Writer-only flag.
|
|
224
|
+
*/
|
|
225
|
+
includeArchived?: boolean;
|
|
215
226
|
limit?: number;
|
|
216
227
|
skip?: number;
|
|
217
228
|
}
|