@yuuvis/client-core 3.2.2 → 3.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuuvis/client-core",
3
- "version": "3.2.2",
3
+ "version": "3.4.0",
4
4
  "author": "OPTIMAL SYSTEMS GmbH <npm@optimal-systems.de>",
5
5
  "license": "MIT",
6
6
  "peerDependencies": {
@@ -110,6 +110,9 @@ interface SearchQuery {
110
110
  filters?: SearchFilter[];
111
111
  tableFilters?: TableFilter[];
112
112
  sort?: SortOption[];
113
+ options?: {
114
+ includePermissions?: boolean;
115
+ };
113
116
  includePermissions?: boolean;
114
117
  }
115
118
  interface SortOption {
@@ -1108,6 +1111,8 @@ interface CatalogApiResponse {
1108
1111
  }
1109
1112
  /** A catalog entry mapped from the raw OData response */
1110
1113
  interface CatalogEntry {
1114
+ /** internal state of the catalog entry based on validity dates */
1115
+ _state: 'active' | 'upcoming' | 'expired';
1111
1116
  /** UUID of the catalog entry (system:objectId) */
1112
1117
  objectId: string;
1113
1118
  /** The entry key / name (system:nativeId) */
@@ -1122,6 +1127,8 @@ interface CatalogEntry {
1122
1127
  validUntil?: string;
1123
1128
  /** Additional catalog-specific properties (app prefix stripped) */
1124
1129
  properties: Record<string, unknown>;
1130
+ /** All property values in raw form, for maximum flexibility (e.g. for custom properties with unknown keys) */
1131
+ raw: Record<string, unknown>;
1125
1132
  }
1126
1133
  /** Paginated result of catalog entries */
1127
1134
  interface CatalogResult {
@@ -1135,6 +1142,8 @@ interface Catalog {
1135
1142
  objectId: string;
1136
1143
  /** Technical name (system:nativeId), unique per tenant, immutable */
1137
1144
  name: string;
1145
+ /** All property values in raw form, for maximum flexibility (e.g. for custom properties with unknown keys) */
1146
+ raw: Record<string, unknown>;
1138
1147
  }
1139
1148
  /** Payload for creating a catalog */
1140
1149
  interface CatalogPayload {
@@ -2273,6 +2282,7 @@ interface SchemaResponseTypeDefinition {
2273
2282
  baseId: string;
2274
2283
  propertyReference: {
2275
2284
  value: string;
2285
+ required: boolean;
2276
2286
  }[];
2277
2287
  secondaryObjectTypeId: {
2278
2288
  value: string;