@open-dpp/dto 0.6.0 → 1.0.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.
Files changed (39) hide show
  1. package/dist/aas/element-classifications.d.ts +6 -0
  2. package/dist/aas/element-classifications.d.ts.map +1 -0
  3. package/dist/aas/element-classifications.js +33 -0
  4. package/dist/analytics/passport-page-view.dto.d.ts +7 -0
  5. package/dist/analytics/passport-page-view.dto.d.ts.map +1 -0
  6. package/dist/analytics/passport-page-view.dto.js +9 -0
  7. package/dist/branding/branding.dto.d.ts +1 -0
  8. package/dist/branding/branding.dto.d.ts.map +1 -1
  9. package/dist/branding/branding.dto.js +2 -0
  10. package/dist/index.d.ts +5 -0
  11. package/dist/index.d.ts.map +1 -1
  12. package/dist/index.js +5 -0
  13. package/dist/instance-settings/instance-settings.dto.d.ts +11 -0
  14. package/dist/instance-settings/instance-settings.dto.d.ts.map +1 -1
  15. package/dist/instance-settings/instance-settings.dto.js +9 -1
  16. package/dist/permalinks/permalink.dto.d.ts +161 -0
  17. package/dist/permalinks/permalink.dto.d.ts.map +1 -0
  18. package/dist/permalinks/permalink.dto.js +62 -0
  19. package/dist/presentation-configurations/presentation-configuration.dto.d.ts +187 -0
  20. package/dist/presentation-configurations/presentation-configuration.dto.d.ts.map +1 -0
  21. package/dist/presentation-configurations/presentation-configuration.dto.js +71 -0
  22. package/dist/shared/digital-product-document.schemas.d.ts.map +1 -1
  23. package/dist/shared/digital-product-document.schemas.js +16 -1
  24. package/dist/shared/permalink-base-url.schema.d.ts +5 -0
  25. package/dist/shared/permalink-base-url.schema.d.ts.map +1 -0
  26. package/dist/shared/permalink-base-url.schema.js +48 -0
  27. package/package.json +1 -1
  28. package/src/aas/element-classifications.ts +32 -0
  29. package/src/analytics/passport-page-view.dto.ts +9 -0
  30. package/src/branding/branding.dto.ts +2 -0
  31. package/src/index.ts +5 -0
  32. package/src/instance-settings/instance-settings.dto.ts +11 -0
  33. package/src/permalinks/permalink.dto.spec.ts +206 -0
  34. package/src/permalinks/permalink.dto.ts +87 -0
  35. package/src/presentation-configurations/presentation-configuration.dto.spec.ts +165 -0
  36. package/src/presentation-configurations/presentation-configuration.dto.ts +110 -0
  37. package/src/shared/digital-product-document.schemas.ts +20 -4
  38. package/src/shared/permalink-base-url.schema.spec.ts +95 -0
  39. package/src/shared/permalink-base-url.schema.ts +53 -0
@@ -0,0 +1,6 @@
1
+ import { type DataTypeDefType } from "./enums/data-type-def";
2
+ export declare const INTEGER_DATA_TYPES: ReadonlySet<DataTypeDefType>;
3
+ export declare const NUMERIC_DATA_TYPES: ReadonlySet<DataTypeDefType>;
4
+ export declare function isIntegerDataType(value: string | undefined | null): value is DataTypeDefType;
5
+ export declare function isNumericDataType(value: string | undefined | null): value is DataTypeDefType;
6
+ //# sourceMappingURL=element-classifications.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"element-classifications.d.ts","sourceRoot":"","sources":["../../src/aas/element-classifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE1E,eAAO,MAAM,kBAAkB,EAAE,WAAW,CAAC,eAAe,CAc1D,CAAC;AAEH,eAAO,MAAM,kBAAkB,EAAE,WAAW,CAAC,eAAe,CAK1D,CAAC;AAEH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,KAAK,IAAI,eAAe,CAE5F;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,KAAK,IAAI,eAAe,CAE5F"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NUMERIC_DATA_TYPES = exports.INTEGER_DATA_TYPES = void 0;
4
+ exports.isIntegerDataType = isIntegerDataType;
5
+ exports.isNumericDataType = isNumericDataType;
6
+ const data_type_def_1 = require("./enums/data-type-def");
7
+ exports.INTEGER_DATA_TYPES = new Set([
8
+ data_type_def_1.DataTypeDef.Integer,
9
+ data_type_def_1.DataTypeDef.Long,
10
+ data_type_def_1.DataTypeDef.Int,
11
+ data_type_def_1.DataTypeDef.Short,
12
+ data_type_def_1.DataTypeDef.Byte,
13
+ data_type_def_1.DataTypeDef.NegativeInteger,
14
+ data_type_def_1.DataTypeDef.NonNegativeInteger,
15
+ data_type_def_1.DataTypeDef.NonPositiveInteger,
16
+ data_type_def_1.DataTypeDef.PositiveInteger,
17
+ data_type_def_1.DataTypeDef.UnsignedByte,
18
+ data_type_def_1.DataTypeDef.UnsignedInt,
19
+ data_type_def_1.DataTypeDef.UnsignedLong,
20
+ data_type_def_1.DataTypeDef.UnsignedShort,
21
+ ]);
22
+ exports.NUMERIC_DATA_TYPES = new Set([
23
+ ...exports.INTEGER_DATA_TYPES,
24
+ data_type_def_1.DataTypeDef.Decimal,
25
+ data_type_def_1.DataTypeDef.Double,
26
+ data_type_def_1.DataTypeDef.Float,
27
+ ]);
28
+ function isIntegerDataType(value) {
29
+ return typeof value === "string" && exports.INTEGER_DATA_TYPES.has(value);
30
+ }
31
+ function isNumericDataType(value) {
32
+ return typeof value === "string" && exports.NUMERIC_DATA_TYPES.has(value);
33
+ }
@@ -0,0 +1,7 @@
1
+ import { z } from "zod";
2
+ export declare const PassportPageViewSchema: z.ZodObject<{
3
+ permalink: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
4
+ page: z.ZodString;
5
+ }, z.core.$strip>;
6
+ export type PassportPageViewDto = z.infer<typeof PassportPageViewSchema>;
7
+ //# sourceMappingURL=passport-page-view.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"passport-page-view.dto.d.ts","sourceRoot":"","sources":["../../src/analytics/passport-page-view.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,sBAAsB;;;iBAGjC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PassportPageViewSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const permalink_dto_1 = require("../permalinks/permalink.dto");
6
+ exports.PassportPageViewSchema = zod_1.z.object({
7
+ permalink: permalink_dto_1.PermalinkSchema,
8
+ page: zod_1.z.string(),
9
+ });
@@ -2,6 +2,7 @@ import { z } from "zod";
2
2
  export declare const BrandingDtoSchema: z.ZodObject<{
3
3
  logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4
4
  primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
+ permalinkBaseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5
6
  }, z.core.$strip>;
6
7
  export type BrandingDto = z.infer<typeof BrandingDtoSchema>;
7
8
  //# sourceMappingURL=branding.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"branding.dto.d.ts","sourceRoot":"","sources":["../../src/branding/branding.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,iBAAiB;;;iBAG5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"branding.dto.d.ts","sourceRoot":"","sources":["../../src/branding/branding.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,iBAAiB;;;;iBAI5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -2,7 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BrandingDtoSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ const permalink_base_url_schema_1 = require("../shared/permalink-base-url.schema");
5
6
  exports.BrandingDtoSchema = zod_1.z.object({
6
7
  logo: zod_1.z.string().nullish(),
7
8
  primaryColor: zod_1.z.string().nullish(),
9
+ permalinkBaseUrl: permalink_base_url_schema_1.PermalinkBaseUrlSchema.nullish(),
8
10
  });
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from "./aas/administrative-information-json-schema";
2
+ export * from "./analytics/passport-page-view.dto";
2
3
  export * from "./aas/asset-administration-shell-json-schema";
3
4
  export * from "./aas/asset-information-json-schema";
4
5
  export * from "./aas/common/basic-json-schema";
@@ -13,6 +14,7 @@ export * from "./aas/common/reference-json-schema";
13
14
  export * from "./aas/concept-description-json-schema";
14
15
  export * from "./aas/concept-description-json-schema";
15
16
  export * from "./aas/dto/value-response.dto";
17
+ export * from "./aas/element-classifications";
16
18
  export * from "./aas/embedded-data-specification-json-schema";
17
19
  export * from "./aas/enums/aas-submodel-elements";
18
20
  export * from "./aas/enums/asset-kind-enum";
@@ -49,8 +51,11 @@ export * from "./aas/submodel-base/submodel-json-schema";
49
51
  export * from "./branding/branding.dto";
50
52
  export * from "./organizations/member.dto";
51
53
  export * from "./passports/passport.dto";
54
+ export * from "./permalinks/permalink.dto";
55
+ export * from "./presentation-configurations/presentation-configuration.dto";
52
56
  export * from "./shared/digital-product-document.schemas";
53
57
  export * from "./shared/pagination.dto";
58
+ export * from "./shared/permalink-base-url.schema";
54
59
  export * from "./shared/populate.dto";
55
60
  export * from "./shared/table.dto";
56
61
  export * from "./status/status.dto";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AAEvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,gCAAgC,CAAC;AAE/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6BAA6B,CAAC;AAE5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,gEAAgE,CAAC;AAE/E,cAAc,sCAAsC,CAAC;AACrD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AACrD,cAAc,yDAAyD,CAAC;AACxE,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC;AACrE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,uDAAuD,CAAC;AACtE,cAAc,0DAA0D,CAAC;AAEzE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oCAAoC,CAAC;AACnD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,qCAAqC,CAAC;AACpD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AAEvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,gCAAgC,CAAC;AAE/C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6BAA6B,CAAC;AAE5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,gEAAgE,CAAC;AAE/E,cAAc,sCAAsC,CAAC;AACrD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,sCAAsC,CAAC;AACrD,cAAc,yDAAyD,CAAC;AACxE,cAAc,0CAA0C,CAAC;AACzD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC;AACrE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,6DAA6D,CAAC;AAC5E,cAAc,uDAAuD,CAAC;AACtE,cAAc,0DAA0D,CAAC;AAEzE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,8DAA8D,CAAC;AAC7E,cAAc,2CAA2C,CAAC;AAC1D,cAAc,yBAAyB,CAAC;AACxC,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC"}
package/dist/index.js CHANGED
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./aas/administrative-information-json-schema"), exports);
18
+ __exportStar(require("./analytics/passport-page-view.dto"), exports);
18
19
  __exportStar(require("./aas/asset-administration-shell-json-schema"), exports);
19
20
  __exportStar(require("./aas/asset-information-json-schema"), exports);
20
21
  __exportStar(require("./aas/common/basic-json-schema"), exports);
@@ -29,6 +30,7 @@ __exportStar(require("./aas/common/reference-json-schema"), exports);
29
30
  __exportStar(require("./aas/concept-description-json-schema"), exports);
30
31
  __exportStar(require("./aas/concept-description-json-schema"), exports);
31
32
  __exportStar(require("./aas/dto/value-response.dto"), exports);
33
+ __exportStar(require("./aas/element-classifications"), exports);
32
34
  __exportStar(require("./aas/embedded-data-specification-json-schema"), exports);
33
35
  __exportStar(require("./aas/enums/aas-submodel-elements"), exports);
34
36
  __exportStar(require("./aas/enums/asset-kind-enum"), exports);
@@ -65,8 +67,11 @@ __exportStar(require("./aas/submodel-base/submodel-json-schema"), exports);
65
67
  __exportStar(require("./branding/branding.dto"), exports);
66
68
  __exportStar(require("./organizations/member.dto"), exports);
67
69
  __exportStar(require("./passports/passport.dto"), exports);
70
+ __exportStar(require("./permalinks/permalink.dto"), exports);
71
+ __exportStar(require("./presentation-configurations/presentation-configuration.dto"), exports);
68
72
  __exportStar(require("./shared/digital-product-document.schemas"), exports);
69
73
  __exportStar(require("./shared/pagination.dto"), exports);
74
+ __exportStar(require("./shared/permalink-base-url.schema"), exports);
70
75
  __exportStar(require("./shared/populate.dto"), exports);
71
76
  __exportStar(require("./shared/table.dto"), exports);
72
77
  __exportStar(require("./status/status.dto"), exports);
@@ -4,6 +4,11 @@ export declare const BooleanSettingsResponseDtoSchema: z.ZodObject<{
4
4
  locked: z.ZodOptional<z.ZodBoolean>;
5
5
  }, z.core.$strip>;
6
6
  export type BooleanSettingsResponseDto = z.infer<typeof BooleanSettingsResponseDtoSchema>;
7
+ export declare const StringSettingsResponseDtoSchema: z.ZodObject<{
8
+ value: z.ZodNullable<z.ZodString>;
9
+ locked: z.ZodOptional<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ export type StringSettingsResponseDto = z.infer<typeof StringSettingsResponseDtoSchema>;
7
12
  export declare const InstanceSettingsDtoSchema: z.ZodObject<{
8
13
  id: z.ZodString;
9
14
  signupEnabled: z.ZodObject<{
@@ -14,11 +19,17 @@ export declare const InstanceSettingsDtoSchema: z.ZodObject<{
14
19
  value: z.ZodBoolean;
15
20
  locked: z.ZodOptional<z.ZodBoolean>;
16
21
  }, z.core.$strip>;
22
+ permalinkBaseUrl: z.ZodObject<{
23
+ value: z.ZodNullable<z.ZodString>;
24
+ locked: z.ZodOptional<z.ZodBoolean>;
25
+ }, z.core.$strip>;
26
+ effectiveFallback: z.ZodString;
17
27
  }, z.core.$strip>;
18
28
  export type InstanceSettingsDto = z.infer<typeof InstanceSettingsDtoSchema>;
19
29
  export declare const InstanceSettingsUpdateDtoSchema: z.ZodObject<{
20
30
  signupEnabled: z.ZodOptional<z.ZodBoolean>;
21
31
  organizationCreationEnabled: z.ZodOptional<z.ZodBoolean>;
32
+ permalinkBaseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
33
  }, z.core.$strip>;
23
34
  export type InstanceSettingsUpdateDto = z.infer<typeof InstanceSettingsUpdateDtoSchema>;
24
35
  export declare const PublicInstanceSettingsDtoSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"instance-settings.dto.d.ts","sourceRoot":"","sources":["../../src/instance-settings/instance-settings.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,gCAAgC;;;iBAG3C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,eAAO,MAAM,yBAAyB;;;;;;;;;;iBAIpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
1
+ {"version":3,"file":"instance-settings.dto.d.ts","sourceRoot":"","sources":["../../src/instance-settings/instance-settings.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,gCAAgC;;;iBAG3C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;iBAMpC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,eAAO,MAAM,+BAA+B;;;;iBAI1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAExF,eAAO,MAAM,+BAA+B;;;iBAG1C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC"}
@@ -1,19 +1,27 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PublicInstanceSettingsDtoSchema = exports.InstanceSettingsUpdateDtoSchema = exports.InstanceSettingsDtoSchema = exports.BooleanSettingsResponseDtoSchema = void 0;
3
+ exports.PublicInstanceSettingsDtoSchema = exports.InstanceSettingsUpdateDtoSchema = exports.InstanceSettingsDtoSchema = exports.StringSettingsResponseDtoSchema = exports.BooleanSettingsResponseDtoSchema = void 0;
4
4
  const zod_1 = require("zod");
5
+ const permalink_base_url_schema_1 = require("../shared/permalink-base-url.schema");
5
6
  exports.BooleanSettingsResponseDtoSchema = zod_1.z.object({
6
7
  value: zod_1.z.boolean(),
7
8
  locked: zod_1.z.boolean().optional(),
8
9
  });
10
+ exports.StringSettingsResponseDtoSchema = zod_1.z.object({
11
+ value: zod_1.z.string().nullable(),
12
+ locked: zod_1.z.boolean().optional(),
13
+ });
9
14
  exports.InstanceSettingsDtoSchema = zod_1.z.object({
10
15
  id: zod_1.z.string(),
11
16
  signupEnabled: exports.BooleanSettingsResponseDtoSchema,
12
17
  organizationCreationEnabled: exports.BooleanSettingsResponseDtoSchema,
18
+ permalinkBaseUrl: exports.StringSettingsResponseDtoSchema,
19
+ effectiveFallback: zod_1.z.string(),
13
20
  });
14
21
  exports.InstanceSettingsUpdateDtoSchema = zod_1.z.object({
15
22
  signupEnabled: zod_1.z.boolean().optional(),
16
23
  organizationCreationEnabled: zod_1.z.boolean().optional(),
24
+ permalinkBaseUrl: permalink_base_url_schema_1.PermalinkBaseUrlSchema.nullable().optional(),
17
25
  });
18
26
  exports.PublicInstanceSettingsDtoSchema = zod_1.z.object({
19
27
  signupEnabled: zod_1.z.boolean(),
@@ -0,0 +1,161 @@
1
+ import { z } from "zod";
2
+ export declare const PERMALINK_RESERVED_SLUGS: readonly string[];
3
+ export declare const PermalinkSlugSchema: z.ZodString;
4
+ export type PermalinkSlug = z.infer<typeof PermalinkSlugSchema>;
5
+ export declare const PermalinkSchema: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
6
+ export declare const PermalinkPublishedUrlSchema: z.ZodString;
7
+ export type PermalinkPublishedUrl = z.infer<typeof PermalinkPublishedUrlSchema>;
8
+ export declare const PermalinkInvariantsSchema: z.ZodObject<{
9
+ presentationConfigurationId: z.ZodUUID;
10
+ slug: z.ZodNullable<z.ZodString>;
11
+ baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ }, z.core.$strip>;
13
+ export declare const PermalinkDtoSchema: z.ZodObject<{
14
+ id: z.ZodUUID;
15
+ slug: z.ZodNullable<z.ZodString>;
16
+ baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ publishedUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ presentationConfigurationId: z.ZodUUID;
19
+ createdAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
20
+ updatedAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
21
+ }, z.core.$strip>;
22
+ export type PermalinkDto = z.infer<typeof PermalinkDtoSchema>;
23
+ export declare const PermalinkFallbackBaseUrlSourceSchema: z.ZodEnum<{
24
+ branding: "branding";
25
+ instance: "instance";
26
+ }>;
27
+ export type PermalinkFallbackBaseUrlSource = z.infer<typeof PermalinkFallbackBaseUrlSourceSchema>;
28
+ export declare const PermalinkPublicDtoSchema: z.ZodObject<{
29
+ id: z.ZodUUID;
30
+ slug: z.ZodNullable<z.ZodString>;
31
+ baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ publishedUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ presentationConfigurationId: z.ZodUUID;
34
+ createdAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
35
+ updatedAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
36
+ publicUrl: z.ZodString;
37
+ fallbackBaseUrl: z.ZodString;
38
+ fallbackBaseUrlSource: z.ZodEnum<{
39
+ branding: "branding";
40
+ instance: "instance";
41
+ }>;
42
+ }, z.core.$strip>;
43
+ export type PermalinkPublicDto = z.infer<typeof PermalinkPublicDtoSchema>;
44
+ export declare const PermalinkListDtoSchema: z.ZodArray<z.ZodObject<{
45
+ id: z.ZodUUID;
46
+ slug: z.ZodNullable<z.ZodString>;
47
+ baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ publishedUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ presentationConfigurationId: z.ZodUUID;
50
+ createdAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
51
+ updatedAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
52
+ publicUrl: z.ZodString;
53
+ fallbackBaseUrl: z.ZodString;
54
+ fallbackBaseUrlSource: z.ZodEnum<{
55
+ branding: "branding";
56
+ instance: "instance";
57
+ }>;
58
+ }, z.core.$strip>>;
59
+ export type PermalinkListDto = z.infer<typeof PermalinkListDtoSchema>;
60
+ export declare const PermalinkMetadataDtoSchema: z.ZodObject<{
61
+ passportId: z.ZodUUID;
62
+ organizationId: z.ZodString;
63
+ templateId: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
64
+ }, z.core.$strip>;
65
+ export type PermalinkMetadataDto = z.infer<typeof PermalinkMetadataDtoSchema>;
66
+ export declare const PermalinkUpdateRequestSchema: z.ZodObject<{
67
+ slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ baseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
+ }, z.core.$strip>;
70
+ export type PermalinkUpdateRequest = z.infer<typeof PermalinkUpdateRequestSchema>;
71
+ export declare const PassportPermalinkBundleDtoSchema: z.ZodObject<{
72
+ passport: z.ZodObject<{
73
+ id: z.ZodString;
74
+ organizationId: z.ZodString;
75
+ environment: z.ZodUnion<readonly [z.ZodObject<{
76
+ assetAdministrationShells: z.ZodArray<z.ZodString>;
77
+ submodels: z.ZodArray<z.ZodString>;
78
+ conceptDescriptions: z.ZodArray<z.ZodString>;
79
+ }, z.core.$strip>, z.ZodObject<{
80
+ assetAdministrationShells: z.ZodArray<z.ZodXor<readonly [z.ZodString, z.ZodObject<{
81
+ id: z.ZodString;
82
+ displayName: z.ZodArray<z.ZodObject<{
83
+ language: z.ZodEnum<{
84
+ readonly en: "en";
85
+ readonly de: "de";
86
+ }>;
87
+ text: z.ZodString;
88
+ }, z.core.$strip>>;
89
+ }, z.core.$strip>]>>;
90
+ submodels: z.ZodArray<z.ZodString>;
91
+ conceptDescriptions: z.ZodArray<z.ZodString>;
92
+ }, z.core.$strip>]>;
93
+ createdAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
94
+ updatedAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
95
+ lastStatusChange: z.ZodObject<{
96
+ previousStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
97
+ readonly Draft: "Draft";
98
+ readonly Published: "Published";
99
+ readonly Archived: "Archived";
100
+ }>>>;
101
+ currentStatus: z.ZodEnum<{
102
+ readonly Draft: "Draft";
103
+ readonly Published: "Published";
104
+ readonly Archived: "Archived";
105
+ }>;
106
+ }, z.core.$strip>;
107
+ templateId: z.ZodNullable<z.ZodString>;
108
+ uniqueProductIdentifierUuid: z.ZodOptional<z.ZodUUID>;
109
+ }, z.core.$strip>;
110
+ branding: z.ZodObject<{
111
+ logo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
112
+ primaryColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
113
+ permalinkBaseUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
114
+ }, z.core.$strip>;
115
+ presentationConfiguration: z.ZodObject<{
116
+ id: z.ZodUUID;
117
+ organizationId: z.ZodString;
118
+ referenceId: z.ZodUUID;
119
+ referenceType: z.ZodEnum<{
120
+ readonly Template: "template";
121
+ readonly Passport: "passport";
122
+ }>;
123
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
124
+ elementDesign: z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodString, z.ZodEnum<{
125
+ readonly BigNumber: "BigNumber";
126
+ }>>>>;
127
+ defaultComponents: z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
128
+ readonly AnnotatedRelationshipElement: "AnnotatedRelationshipElement";
129
+ readonly AssetAdministrationShell: "AssetAdministrationShell";
130
+ readonly BasicEventElement: "BasicEventElement";
131
+ readonly Blob: "Blob";
132
+ readonly Capability: "Capability";
133
+ readonly ConceptDescription: "ConceptDescription";
134
+ readonly DataElement: "DataElement";
135
+ readonly Entity: "Entity";
136
+ readonly EventElement: "EventElement";
137
+ readonly File: "File";
138
+ readonly FragmentReference: "FragmentReference";
139
+ readonly GlobalReference: "GlobalReference";
140
+ readonly Identifiable: "Identifiable";
141
+ readonly MultiLanguageProperty: "MultiLanguageProperty";
142
+ readonly Operation: "Operation";
143
+ readonly Property: "Property";
144
+ readonly Range: "Range";
145
+ readonly Referable: "Referable";
146
+ readonly ReferenceElement: "ReferenceElement";
147
+ readonly RelationshipElement: "RelationshipElement";
148
+ readonly Submodel: "Submodel";
149
+ readonly SubmodelElement: "SubmodelElement";
150
+ readonly SubmodelElementCollection: "SubmodelElementCollection";
151
+ readonly SubmodelElementList: "SubmodelElementList";
152
+ }> & z.core.$partial, z.ZodEnum<{
153
+ readonly BigNumber: "BigNumber";
154
+ }>>>>;
155
+ createdAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
156
+ updatedAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
157
+ }, z.core.$strip>;
158
+ publicUrl: z.ZodString;
159
+ }, z.core.$strip>;
160
+ export type PassportPermalinkBundleDto = z.infer<typeof PassportPermalinkBundleDtoSchema>;
161
+ //# sourceMappingURL=permalink.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"permalink.dto.d.ts","sourceRoot":"","sources":["../../src/permalinks/permalink.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,wBAAwB,EAAE,SAAS,MAAM,EAAoB,CAAC;AAI3E,eAAO,MAAM,mBAAmB,aAM8C,CAAC;AAE/E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,eAAe,+CAA2C,CAAC;AAExE,eAAO,MAAM,2BAA2B,aAA6B,CAAC;AACtE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;iBAUH,CAAC;AAE7B,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,oCAAoC;;;EAAmC,CAAC;AACrF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;iBAIH,CAAC;AAEnC,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;kBAAoC,CAAC;AACxE,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,0BAA0B;;;;iBAIrC,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,4BAA4B;;;iBAKA,CAAC;AAE1C,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOH,CAAC;AAE3C,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC"}
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PassportPermalinkBundleDtoSchema = exports.PermalinkUpdateRequestSchema = exports.PermalinkMetadataDtoSchema = exports.PermalinkListDtoSchema = exports.PermalinkPublicDtoSchema = exports.PermalinkFallbackBaseUrlSourceSchema = exports.PermalinkDtoSchema = exports.PermalinkInvariantsSchema = exports.PermalinkPublishedUrlSchema = exports.PermalinkSchema = exports.PermalinkSlugSchema = exports.PERMALINK_RESERVED_SLUGS = void 0;
4
+ const zod_1 = require("zod");
5
+ const branding_dto_1 = require("../branding/branding.dto");
6
+ const passport_dto_1 = require("../passports/passport.dto");
7
+ const presentation_configuration_dto_1 = require("../presentation-configurations/presentation-configuration.dto");
8
+ const digital_product_document_schemas_1 = require("../shared/digital-product-document.schemas");
9
+ const permalink_base_url_schema_1 = require("../shared/permalink-base-url.schema");
10
+ exports.PERMALINK_RESERVED_SLUGS = ["new", "edit"];
11
+ const reservedSlugSet = new Set(exports.PERMALINK_RESERVED_SLUGS);
12
+ exports.PermalinkSlugSchema = zod_1.z
13
+ .string()
14
+ .min(2)
15
+ .max(64)
16
+ .regex(/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/)
17
+ .refine((slug) => !/^\d+$/.test(slug), { error: "Slug cannot be numeric-only" })
18
+ .refine((slug) => !reservedSlugSet.has(slug), { error: "Slug is reserved" });
19
+ exports.PermalinkSchema = zod_1.z.union([zod_1.z.uuid(), exports.PermalinkSlugSchema]);
20
+ exports.PermalinkPublishedUrlSchema = zod_1.z.string().url().max(2048);
21
+ exports.PermalinkInvariantsSchema = zod_1.z.object({
22
+ presentationConfigurationId: zod_1.z.uuid(),
23
+ slug: exports.PermalinkSlugSchema.nullable(),
24
+ baseUrl: permalink_base_url_schema_1.PermalinkBaseUrlSchema.nullable().optional(),
25
+ });
26
+ exports.PermalinkDtoSchema = zod_1.z
27
+ .object({
28
+ id: zod_1.z.uuid(),
29
+ slug: exports.PermalinkSlugSchema.nullable(),
30
+ baseUrl: permalink_base_url_schema_1.PermalinkBaseUrlSchema.nullish(),
31
+ publishedUrl: exports.PermalinkPublishedUrlSchema.nullish(),
32
+ presentationConfigurationId: zod_1.z.uuid(),
33
+ createdAt: digital_product_document_schemas_1.DateTimeSchema,
34
+ updatedAt: digital_product_document_schemas_1.DateTimeSchema,
35
+ })
36
+ .meta({ id: "Permalink" });
37
+ exports.PermalinkFallbackBaseUrlSourceSchema = zod_1.z.enum(["branding", "instance"]);
38
+ exports.PermalinkPublicDtoSchema = exports.PermalinkDtoSchema.extend({
39
+ publicUrl: zod_1.z.string().url(),
40
+ fallbackBaseUrl: permalink_base_url_schema_1.PermalinkBaseUrlSchema,
41
+ fallbackBaseUrlSource: exports.PermalinkFallbackBaseUrlSourceSchema,
42
+ }).meta({ id: "PermalinkPublic" });
43
+ exports.PermalinkListDtoSchema = zod_1.z.array(exports.PermalinkPublicDtoSchema);
44
+ exports.PermalinkMetadataDtoSchema = zod_1.z.object({
45
+ passportId: zod_1.z.uuid(),
46
+ organizationId: zod_1.z.string().min(1),
47
+ templateId: zod_1.z.uuid().nullish(),
48
+ });
49
+ exports.PermalinkUpdateRequestSchema = zod_1.z
50
+ .object({
51
+ slug: exports.PermalinkSlugSchema.nullish(),
52
+ baseUrl: permalink_base_url_schema_1.PermalinkBaseUrlSchema.nullish(),
53
+ })
54
+ .meta({ id: "PermalinkUpdateRequest" });
55
+ exports.PassportPermalinkBundleDtoSchema = zod_1.z
56
+ .object({
57
+ passport: passport_dto_1.PassportDtoSchema,
58
+ branding: branding_dto_1.BrandingDtoSchema,
59
+ presentationConfiguration: presentation_configuration_dto_1.PresentationConfigurationDtoSchema,
60
+ publicUrl: zod_1.z.string().url(),
61
+ })
62
+ .meta({ id: "PassportPermalinkBundle" });
@@ -0,0 +1,187 @@
1
+ import { z } from "zod";
2
+ export declare const PresentationReferenceType: {
3
+ readonly Template: "template";
4
+ readonly Passport: "passport";
5
+ };
6
+ export declare const PresentationReferenceTypeEnum: z.ZodEnum<{
7
+ readonly Template: "template";
8
+ readonly Passport: "passport";
9
+ }>;
10
+ export type PresentationReferenceTypeType = z.infer<typeof PresentationReferenceTypeEnum>;
11
+ export declare const PresentationComponentName: {
12
+ readonly BigNumber: "BigNumber";
13
+ };
14
+ export declare const PresentationComponentNameEnum: z.ZodEnum<{
15
+ readonly BigNumber: "BigNumber";
16
+ }>;
17
+ export type PresentationComponentNameType = z.infer<typeof PresentationComponentNameEnum>;
18
+ export declare const PresentationConfigurationDtoSchema: z.ZodObject<{
19
+ id: z.ZodUUID;
20
+ organizationId: z.ZodString;
21
+ referenceId: z.ZodUUID;
22
+ referenceType: z.ZodEnum<{
23
+ readonly Template: "template";
24
+ readonly Passport: "passport";
25
+ }>;
26
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
27
+ elementDesign: z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodString, z.ZodEnum<{
28
+ readonly BigNumber: "BigNumber";
29
+ }>>>>;
30
+ defaultComponents: z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
31
+ readonly AnnotatedRelationshipElement: "AnnotatedRelationshipElement";
32
+ readonly AssetAdministrationShell: "AssetAdministrationShell";
33
+ readonly BasicEventElement: "BasicEventElement";
34
+ readonly Blob: "Blob";
35
+ readonly Capability: "Capability";
36
+ readonly ConceptDescription: "ConceptDescription";
37
+ readonly DataElement: "DataElement";
38
+ readonly Entity: "Entity";
39
+ readonly EventElement: "EventElement";
40
+ readonly File: "File";
41
+ readonly FragmentReference: "FragmentReference";
42
+ readonly GlobalReference: "GlobalReference";
43
+ readonly Identifiable: "Identifiable";
44
+ readonly MultiLanguageProperty: "MultiLanguageProperty";
45
+ readonly Operation: "Operation";
46
+ readonly Property: "Property";
47
+ readonly Range: "Range";
48
+ readonly Referable: "Referable";
49
+ readonly ReferenceElement: "ReferenceElement";
50
+ readonly RelationshipElement: "RelationshipElement";
51
+ readonly Submodel: "Submodel";
52
+ readonly SubmodelElement: "SubmodelElement";
53
+ readonly SubmodelElementCollection: "SubmodelElementCollection";
54
+ readonly SubmodelElementList: "SubmodelElementList";
55
+ }> & z.core.$partial, z.ZodEnum<{
56
+ readonly BigNumber: "BigNumber";
57
+ }>>>>;
58
+ createdAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
59
+ updatedAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
60
+ }, z.core.$strip>;
61
+ export type PresentationConfigurationDto = z.infer<typeof PresentationConfigurationDtoSchema>;
62
+ export declare const PresentationConfigurationInvariantsSchema: z.ZodObject<{
63
+ organizationId: z.ZodString;
64
+ referenceId: z.ZodUUID;
65
+ referenceType: z.ZodEnum<{
66
+ readonly Template: "template";
67
+ readonly Passport: "passport";
68
+ }>;
69
+ label: z.ZodNullable<z.ZodString>;
70
+ }, z.core.$strip>;
71
+ export declare const PresentationConfigurationExportSchema: z.ZodObject<{
72
+ elementDesign: z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodString, z.ZodEnum<{
73
+ readonly BigNumber: "BigNumber";
74
+ }>>>>;
75
+ defaultComponents: z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
76
+ readonly AnnotatedRelationshipElement: "AnnotatedRelationshipElement";
77
+ readonly AssetAdministrationShell: "AssetAdministrationShell";
78
+ readonly BasicEventElement: "BasicEventElement";
79
+ readonly Blob: "Blob";
80
+ readonly Capability: "Capability";
81
+ readonly ConceptDescription: "ConceptDescription";
82
+ readonly DataElement: "DataElement";
83
+ readonly Entity: "Entity";
84
+ readonly EventElement: "EventElement";
85
+ readonly File: "File";
86
+ readonly FragmentReference: "FragmentReference";
87
+ readonly GlobalReference: "GlobalReference";
88
+ readonly Identifiable: "Identifiable";
89
+ readonly MultiLanguageProperty: "MultiLanguageProperty";
90
+ readonly Operation: "Operation";
91
+ readonly Property: "Property";
92
+ readonly Range: "Range";
93
+ readonly Referable: "Referable";
94
+ readonly ReferenceElement: "ReferenceElement";
95
+ readonly RelationshipElement: "RelationshipElement";
96
+ readonly Submodel: "Submodel";
97
+ readonly SubmodelElement: "SubmodelElement";
98
+ readonly SubmodelElementCollection: "SubmodelElementCollection";
99
+ readonly SubmodelElementList: "SubmodelElementList";
100
+ }> & z.core.$partial, z.ZodEnum<{
101
+ readonly BigNumber: "BigNumber";
102
+ }>>>>;
103
+ }, z.core.$strip>;
104
+ export type PresentationConfigurationExportDto = z.infer<typeof PresentationConfigurationExportSchema>;
105
+ export declare const PresentationConfigurationCreateRequestSchema: z.ZodObject<{
106
+ label: z.ZodNullable<z.ZodString>;
107
+ }, z.core.$strip>;
108
+ export type PresentationConfigurationCreateRequestDto = z.infer<typeof PresentationConfigurationCreateRequestSchema>;
109
+ export declare const PresentationConfigurationListResponseSchema: z.ZodArray<z.ZodObject<{
110
+ id: z.ZodUUID;
111
+ organizationId: z.ZodString;
112
+ referenceId: z.ZodUUID;
113
+ referenceType: z.ZodEnum<{
114
+ readonly Template: "template";
115
+ readonly Passport: "passport";
116
+ }>;
117
+ label: z.ZodDefault<z.ZodNullable<z.ZodString>>;
118
+ elementDesign: z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodString, z.ZodEnum<{
119
+ readonly BigNumber: "BigNumber";
120
+ }>>>>;
121
+ defaultComponents: z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodRecord<z.ZodEnum<{
122
+ readonly AnnotatedRelationshipElement: "AnnotatedRelationshipElement";
123
+ readonly AssetAdministrationShell: "AssetAdministrationShell";
124
+ readonly BasicEventElement: "BasicEventElement";
125
+ readonly Blob: "Blob";
126
+ readonly Capability: "Capability";
127
+ readonly ConceptDescription: "ConceptDescription";
128
+ readonly DataElement: "DataElement";
129
+ readonly Entity: "Entity";
130
+ readonly EventElement: "EventElement";
131
+ readonly File: "File";
132
+ readonly FragmentReference: "FragmentReference";
133
+ readonly GlobalReference: "GlobalReference";
134
+ readonly Identifiable: "Identifiable";
135
+ readonly MultiLanguageProperty: "MultiLanguageProperty";
136
+ readonly Operation: "Operation";
137
+ readonly Property: "Property";
138
+ readonly Range: "Range";
139
+ readonly Referable: "Referable";
140
+ readonly ReferenceElement: "ReferenceElement";
141
+ readonly RelationshipElement: "RelationshipElement";
142
+ readonly Submodel: "Submodel";
143
+ readonly SubmodelElement: "SubmodelElement";
144
+ readonly SubmodelElementCollection: "SubmodelElementCollection";
145
+ readonly SubmodelElementList: "SubmodelElementList";
146
+ }> & z.core.$partial, z.ZodEnum<{
147
+ readonly BigNumber: "BigNumber";
148
+ }>>>>;
149
+ createdAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
150
+ updatedAt: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
151
+ }, z.core.$strip>>;
152
+ export type PresentationConfigurationListResponseDto = z.infer<typeof PresentationConfigurationListResponseSchema>;
153
+ export declare const PresentationConfigurationPatchSchema: z.ZodObject<{
154
+ elementDesign: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodEnum<{
155
+ readonly BigNumber: "BigNumber";
156
+ }>>>>;
157
+ defaultComponents: z.ZodOptional<z.ZodRecord<z.ZodEnum<{
158
+ readonly AnnotatedRelationshipElement: "AnnotatedRelationshipElement";
159
+ readonly AssetAdministrationShell: "AssetAdministrationShell";
160
+ readonly BasicEventElement: "BasicEventElement";
161
+ readonly Blob: "Blob";
162
+ readonly Capability: "Capability";
163
+ readonly ConceptDescription: "ConceptDescription";
164
+ readonly DataElement: "DataElement";
165
+ readonly Entity: "Entity";
166
+ readonly EventElement: "EventElement";
167
+ readonly File: "File";
168
+ readonly FragmentReference: "FragmentReference";
169
+ readonly GlobalReference: "GlobalReference";
170
+ readonly Identifiable: "Identifiable";
171
+ readonly MultiLanguageProperty: "MultiLanguageProperty";
172
+ readonly Operation: "Operation";
173
+ readonly Property: "Property";
174
+ readonly Range: "Range";
175
+ readonly Referable: "Referable";
176
+ readonly ReferenceElement: "ReferenceElement";
177
+ readonly RelationshipElement: "RelationshipElement";
178
+ readonly Submodel: "Submodel";
179
+ readonly SubmodelElement: "SubmodelElement";
180
+ readonly SubmodelElementCollection: "SubmodelElementCollection";
181
+ readonly SubmodelElementList: "SubmodelElementList";
182
+ }> & z.core.$partial, z.ZodNullable<z.ZodEnum<{
183
+ readonly BigNumber: "BigNumber";
184
+ }>>>>;
185
+ }, z.core.$strip>;
186
+ export type PresentationConfigurationPatchDto = z.infer<typeof PresentationConfigurationPatchSchema>;
187
+ //# sourceMappingURL=presentation-configuration.dto.d.ts.map