@anzusystems/common-admin 1.47.0-beta.41 → 1.47.0-beta.42

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.
@@ -592,7 +592,7 @@ onConfirm: (data: AssetSelectReturnData) => any;
592
592
  }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
593
593
  onOnConfirm?: ((data: AssetSelectReturnData) => any) | undefined;
594
594
  }>, {
595
- returnType: AssetSelectReturnType | AssetSelectReturnTypeValues;
595
+ returnType: AssetSelectReturnTypeType;
596
596
  configName: string;
597
597
  skipCurrentUserCheck: boolean;
598
598
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -1110,11 +1110,11 @@ declare let __VLS_typeProps_3: {
1110
1110
  };
1111
1111
 
1112
1112
  declare let __VLS_typeProps_4: {
1113
- assetType: DamAssetType | DamAssetTypeValues;
1113
+ assetType: DamAssetTypeType;
1114
1114
  minCount: number;
1115
1115
  maxCount: number;
1116
1116
  selectLicences: IntegerId[];
1117
- returnType?: AssetSelectReturnType | AssetSelectReturnTypeValues;
1117
+ returnType?: AssetSelectReturnTypeType;
1118
1118
  configName?: string;
1119
1119
  skipCurrentUserCheck?: boolean;
1120
1120
  };
@@ -2405,9 +2405,9 @@ priority: number;
2405
2405
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2406
2406
 
2407
2407
  export declare const AJobStatusChip: DefineComponent< {
2408
- value: JobStatus;
2408
+ value: JobStatusType;
2409
2409
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
2410
- value: JobStatus;
2410
+ value: JobStatusType;
2411
2411
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2412
2412
 
2413
2413
  export declare const ALanguageSelect: DefineComponent< {
@@ -2444,9 +2444,9 @@ loginUrl: () => string;
2444
2444
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2445
2445
 
2446
2446
  export declare const ALogLevelChip: DefineComponent< {
2447
- level: LogLevel;
2447
+ level: LogLevelType;
2448
2448
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
2449
- level: LogLevel;
2449
+ level: LogLevelType;
2450
2450
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2451
2451
 
2452
2452
  export declare const ALogoutView: DefineComponent< {
@@ -2528,23 +2528,23 @@ export declare interface AnzuUserMinimal {
2528
2528
  }
2529
2529
 
2530
2530
  export declare const APermissionGrantEditor: DefineComponent< {
2531
- availableGrants: Grant[];
2532
- selectedGrant: Grant | undefined;
2531
+ availableGrants: GrantType[];
2532
+ selectedGrant: GrantType | undefined;
2533
2533
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2534
- change: (data?: Grant | undefined) => any;
2534
+ change: (data?: GrantType | undefined) => any;
2535
2535
  }, string, PublicProps, Readonly<{
2536
- availableGrants: Grant[];
2537
- selectedGrant: Grant | undefined;
2536
+ availableGrants: GrantType[];
2537
+ selectedGrant: GrantType | undefined;
2538
2538
  }> & Readonly<{
2539
- onChange?: ((data?: Grant | undefined) => any) | undefined;
2539
+ onChange?: ((data?: GrantType | undefined) => any) | undefined;
2540
2540
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2541
2541
 
2542
2542
  export declare const APermissionValueChip: DefineComponent< {
2543
- grant: Grant;
2544
- grantOrigin: GrantOrigin;
2543
+ grant: GrantType;
2544
+ grantOrigin: GrantOriginType;
2545
2545
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
2546
- grant: Grant;
2547
- grantOrigin: GrantOrigin;
2546
+ grant: GrantType;
2547
+ grantOrigin: GrantOriginType;
2548
2548
  }> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2549
2549
 
2550
2550
  /**
@@ -2671,15 +2671,16 @@ export declare interface AssetFileDownloadLink extends AnzuUserAndTimeTrackingAw
2671
2671
  _resourceName: 'imageFile';
2672
2672
  }
2673
2673
 
2674
- export declare enum AssetFileFailReason {
2675
- None = "none",
2676
- Unknown = "unknown",
2677
- InvalidChecksum = "invalid_checksum",
2678
- InvalidMimeType = "invalid_mime_type",
2679
- DownloadFailed = "download_failed",
2680
- InvalidSize = "invalid_size",
2681
- Default = "none"
2682
- }
2674
+ export declare const AssetFileFailReason: {
2675
+ readonly None: "none";
2676
+ readonly Unknown: "unknown";
2677
+ readonly InvalidChecksum: "invalid_checksum";
2678
+ readonly InvalidMimeType: "invalid_mime_type";
2679
+ readonly DownloadFailed: "download_failed";
2680
+ readonly InvalidSize: "invalid_size";
2681
+ };
2682
+
2683
+ export declare type AssetFileFailReasonType = (typeof AssetFileFailReason)[keyof typeof AssetFileFailReason];
2683
2684
 
2684
2685
  export declare interface AssetFileImage extends AnzuUserAndTimeTrackingAware, AssetFileMainRouteAware {
2685
2686
  id: DocId;
@@ -2714,16 +2715,17 @@ export declare interface AssetFileLink {
2714
2715
  requestedHeight: number;
2715
2716
  url: string;
2716
2717
  title: string;
2717
- type: AssetFileLinkType;
2718
+ type: AssetFileLinkTypeType;
2718
2719
  }
2719
2720
 
2720
2721
  export declare type AssetFileLinks = Record<'image_list' | 'image_table' | 'image_detail' | 'image_animated' | 'audio', AssetFileLink> | Record<string, never>;
2721
2722
 
2722
- export declare enum AssetFileLinkType {
2723
- Image = "image",
2724
- Audio = "audio",
2725
- Default = "image"
2726
- }
2723
+ export declare const AssetFileLinkType: {
2724
+ readonly Image: "image";
2725
+ readonly Audio: "audio";
2726
+ };
2727
+
2728
+ export declare type AssetFileLinkTypeType = (typeof AssetFileLinkType)[keyof typeof AssetFileLinkType];
2727
2729
 
2728
2730
  export declare interface AssetFileMainRouteAware {
2729
2731
  mainRoute?: AssetFileRoute;
@@ -2731,14 +2733,16 @@ export declare interface AssetFileMainRouteAware {
2731
2733
 
2732
2734
  export declare type AssetFileNullable = AssetFileImage | AssetFileAudio | AssetFileVideo | AssetFileDocument | null;
2733
2735
 
2734
- export declare enum AssetFileProcessStatus {
2735
- Uploading = "uploading",// file entity created and ready to receive chunks
2736
- Uploaded = "uploaded",// all chunks were sent
2737
- Stored = "stored",// File is stored and ready to processing
2738
- Duplicate = "duplicate",// AssetFile is duplicate of another asset
2739
- Processed = "processed",// file processed and ready to serve
2740
- Failed = "failed"
2741
- }
2736
+ export declare const AssetFileProcessStatus: {
2737
+ readonly Uploading: "uploading";
2738
+ readonly Uploaded: "uploaded";
2739
+ readonly Stored: "stored";
2740
+ readonly Duplicate: "duplicate";
2741
+ readonly Processed: "processed";
2742
+ readonly Failed: "failed";
2743
+ };
2744
+
2745
+ export declare type AssetFileProcessStatusType = (typeof AssetFileProcessStatus)[keyof typeof AssetFileProcessStatus];
2742
2746
 
2743
2747
  export declare interface AssetFileProperties {
2744
2748
  distributesInServices: DamDistributionServiceName[];
@@ -2750,17 +2754,20 @@ export declare interface AssetFileProperties {
2750
2754
 
2751
2755
  export declare interface AssetFileRoute {
2752
2756
  id: DocId;
2753
- status: AssetFileRouteStatus;
2757
+ status: AssetFileRouteStatusType;
2754
2758
  main: boolean;
2755
2759
  publicUrl: string;
2756
2760
  _resourceName: 'assetFileRoute';
2757
2761
  }
2758
2762
 
2759
- export declare enum AssetFileRouteStatus {
2760
- Disabled = "disabled",
2761
- Active = "active",
2762
- Default = "disabled"
2763
- }
2763
+ export declare const AssetFileRouteStatus: {
2764
+ readonly Disabled: "disabled";
2765
+ readonly Active: "active";
2766
+ };
2767
+
2768
+ export declare const AssetFileRouteStatusDefault: "disabled";
2769
+
2770
+ export declare type AssetFileRouteStatusType = (typeof AssetFileRouteStatus)[keyof typeof AssetFileRouteStatus];
2764
2771
 
2765
2772
  export declare interface AssetFileVideo extends AnzuUserAndTimeTrackingAware {
2766
2773
  id: DocId;
@@ -2795,29 +2802,29 @@ export declare interface AssetSearchListItemDto extends AnzuUserAndTimeTrackingA
2795
2802
  }
2796
2803
 
2797
2804
  declare interface AssetSelectReturnAsset {
2798
- type: 'asset';
2805
+ type: typeof AssetSelectReturnType.Asset;
2799
2806
  value: Array<AssetSearchListItemDto>;
2800
2807
  }
2801
2808
 
2802
2809
  declare interface AssetSelectReturnAssetId {
2803
- type: 'assetId';
2810
+ type: typeof AssetSelectReturnType.AssetId;
2804
2811
  value: Array<DocId>;
2805
2812
  }
2806
2813
 
2807
2814
  export declare type AssetSelectReturnData = AssetSelectReturnMainFileId | AssetSelectReturnAssetId | AssetSelectReturnAsset;
2808
2815
 
2809
2816
  declare interface AssetSelectReturnMainFileId {
2810
- type: 'mainFileId';
2817
+ type: typeof AssetSelectReturnType.MainFileId;
2811
2818
  value: Array<DocId>;
2812
2819
  }
2813
2820
 
2814
- declare enum AssetSelectReturnType {
2815
- MainFileId = "mainFileId",
2816
- AssetId = "assetId",
2817
- Asset = "asset"
2818
- }
2821
+ declare const AssetSelectReturnType: {
2822
+ readonly MainFileId: "mainFileId";
2823
+ readonly AssetId: "assetId";
2824
+ readonly Asset: "asset";
2825
+ };
2819
2826
 
2820
- declare type AssetSelectReturnTypeValues = `${AssetSelectReturnType}`;
2827
+ declare type AssetSelectReturnTypeType = (typeof AssetSelectReturnType)[keyof typeof AssetSelectReturnType];
2821
2828
 
2822
2829
  export declare const ASubjectSelect: <TItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify_2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2823
2830
  props: __VLS_Prettify_2<Pick<Partial<{}> & Omit<{
@@ -2979,8 +2986,8 @@ hideModifiedAt: boolean;
2979
2986
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2980
2987
 
2981
2988
  declare interface Attributes {
2982
- assetType: DamAssetType;
2983
- assetStatus: DamAssetStatus;
2989
+ assetType: DamAssetTypeType;
2990
+ assetStatus: DamAssetStatusType;
2984
2991
  }
2985
2992
 
2986
2993
  declare interface AudioAttributes {
@@ -3499,27 +3506,31 @@ disableInitFetch: boolean;
3499
3506
  extSystemId: IntegerId | null;
3500
3507
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3501
3508
 
3502
- export declare enum DamAssetStatus {
3503
- Draft = "draft",
3504
- WithFile = "with_file",
3505
- Deleting = "deleting",
3506
- Default = "draft"
3507
- }
3509
+ export declare const DamAssetStatus: {
3510
+ readonly Draft: "draft";
3511
+ readonly WithFile: "with_file";
3512
+ readonly Deleting: "deleting";
3513
+ };
3508
3514
 
3509
- export declare enum DamAssetType {
3510
- Image = "image",
3511
- Audio = "audio",
3512
- Video = "video",
3513
- Document = "document",
3514
- Default = "image"
3515
- }
3515
+ export declare const DamAssetStatusDefault: "draft";
3516
+
3517
+ export declare type DamAssetStatusType = (typeof DamAssetStatus)[keyof typeof DamAssetStatus];
3518
+
3519
+ export declare const DamAssetType: {
3520
+ readonly Image: "image";
3521
+ readonly Audio: "audio";
3522
+ readonly Video: "video";
3523
+ readonly Document: "document";
3524
+ };
3525
+
3526
+ export declare const DamAssetTypeDefault: "image";
3516
3527
 
3517
- declare type DamAssetTypeValues = `${DamAssetType}`;
3528
+ export declare type DamAssetTypeType = (typeof DamAssetType)[keyof typeof DamAssetType];
3518
3529
 
3519
3530
  export declare interface DamAuthor extends DamAuthorMinimal, AnzuUserAndTimeTrackingAware, ResourceNameSystemAware {
3520
3531
  extSystem: IntegerId;
3521
3532
  flags: Flags_3;
3522
- type: DamAuthorType;
3533
+ type: DamAuthorTypeType;
3523
3534
  }
3524
3535
 
3525
3536
  export declare interface DamAuthorMinimal {
@@ -3528,13 +3539,16 @@ export declare interface DamAuthorMinimal {
3528
3539
  identifier: string;
3529
3540
  }
3530
3541
 
3531
- export declare enum DamAuthorType {
3532
- None = "none",
3533
- Internal = "internal",
3534
- External = "external",
3535
- Agency = "agency",
3536
- Default = "none"
3537
- }
3542
+ export declare const DamAuthorType: {
3543
+ readonly None: "none";
3544
+ readonly Internal: "internal";
3545
+ readonly External: "external";
3546
+ readonly Agency: "agency";
3547
+ };
3548
+
3549
+ export declare const DamAuthorTypeDefault: "none";
3550
+
3551
+ export declare type DamAuthorTypeType = (typeof DamAuthorType)[keyof typeof DamAuthorType];
3538
3552
 
3539
3553
  declare interface DamConfigLicenceExtSystem {
3540
3554
  extSystem: IntegerId;
@@ -3592,16 +3606,19 @@ export declare interface DamDistributionRequirementsConfig {
3592
3606
  requiredAuth: boolean;
3593
3607
  blockedBy: Array<DamDistributionServiceName>;
3594
3608
  categorySelect: DamDistributionRequirementsCategorySelectConfig;
3595
- strategy: DamDistributionRequirementStrategy;
3609
+ strategy: DamDistributionRequirementStrategyType;
3596
3610
  }
3597
3611
 
3598
- export declare enum DamDistributionRequirementStrategy {
3599
- None = "none",
3600
- AtLeastOne = "at_least_one",
3601
- OneFromType = "one_from_type",
3602
- WaitForAll = "wait_for_all",
3603
- Default = "none"
3604
- }
3612
+ export declare const DamDistributionRequirementStrategy: {
3613
+ readonly None: "none";
3614
+ readonly AtLeastOne: "at_least_one";
3615
+ readonly OneFromType: "one_from_type";
3616
+ readonly WaitForAll: "wait_for_all";
3617
+ };
3618
+
3619
+ export declare const DamDistributionRequirementStrategyDefault: "none";
3620
+
3621
+ export declare type DamDistributionRequirementStrategyType = (typeof DamDistributionRequirementStrategy)[keyof typeof DamDistributionRequirementStrategy];
3605
3622
 
3606
3623
  export declare type DamDistributionServiceName = string;
3607
3624
 
@@ -3629,20 +3646,25 @@ dataCy: string;
3629
3646
  multiple: boolean;
3630
3647
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3631
3648
 
3632
- export declare enum DamDistributionServiceType {
3633
- Youtube = "youtubeDistribution",
3634
- Jw = "jwDistribution",
3635
- Custom = "customDistribution"
3636
- }
3649
+ export declare const DamDistributionServiceType: {
3650
+ readonly Youtube: "youtubeDistribution";
3651
+ readonly Jw: "jwDistribution";
3652
+ readonly Custom: "customDistribution";
3653
+ };
3637
3654
 
3638
- export declare enum DamDistributionStatus {
3639
- Waiting = "waiting",
3640
- Distributing = "distributing",
3641
- RemoteProcessing = "remote_processing",
3642
- Distributed = "distributed",
3643
- Failed = "failed",
3644
- Default = "waiting"
3645
- }
3655
+ export declare type DamDistributionServiceTypeType = (typeof DamDistributionServiceType)[keyof typeof DamDistributionServiceType];
3656
+
3657
+ export declare const DamDistributionStatus: {
3658
+ readonly Waiting: "waiting";
3659
+ readonly Distributing: "distributing";
3660
+ readonly RemoteProcessing: "remote_processing";
3661
+ readonly Distributed: "distributed";
3662
+ readonly Failed: "failed";
3663
+ };
3664
+
3665
+ export declare const DamDistributionStatusDefault: "waiting";
3666
+
3667
+ export declare type DamDistributionStatusType = (typeof DamDistributionStatus)[keyof typeof DamDistributionStatus];
3646
3668
 
3647
3669
  export declare type DamExternalProviderAssetConfig = Record<DamExternalProviderAssetName, {
3648
3670
  listingLimit: number;
@@ -3687,7 +3709,7 @@ export declare interface DamExtSystemAssetTypeExifMetadata {
3687
3709
  required: boolean;
3688
3710
  }
3689
3711
 
3690
- export declare interface DamExtSystemConfig extends Record<DamAssetType, DamExtSystemConfigItem> {
3712
+ export declare interface DamExtSystemConfig extends Record<DamAssetTypeType, DamExtSystemConfigItem> {
3691
3713
  assetExternalProviders: DamExternalProviderAssetConfig;
3692
3714
  audio: DamExtSystemConfigItem;
3693
3715
  video: DamExtSystemConfigItem;
@@ -3782,9 +3804,9 @@ declare type DamNotificationAssetFileProcessed = DamNotificationEvent<typeof Dam
3782
3804
  declare interface DamNotificationAssetFileStatusData {
3783
3805
  id: DocId;
3784
3806
  asset: DocId;
3785
- status: AssetFileProcessStatus;
3786
- failReason: AssetFileFailReason;
3787
- assetType: DamAssetType;
3807
+ status: AssetFileProcessStatusType;
3808
+ failReason: AssetFileFailReasonType;
3809
+ assetType: DamAssetTypeType;
3788
3810
  originAssetFile: DocId;
3789
3811
  }
3790
3812
 
@@ -3801,7 +3823,7 @@ declare interface DamNotificationDistributionData {
3801
3823
  id: DocId;
3802
3824
  asset: DocId;
3803
3825
  assetFile: DocId;
3804
- status: DamDistributionStatus;
3826
+ status: DamDistributionStatusType;
3805
3827
  }
3806
3828
 
3807
3829
  declare type DamNotificationDistributionDistributed = DamNotificationEvent<typeof DamNotificationName.DistributionDistributed, DamNotificationDistributionData>;
@@ -3847,8 +3869,8 @@ export declare interface DamPrvConfig {
3847
3869
  [key: string]: {
3848
3870
  title: string;
3849
3871
  iconPath: string;
3850
- type: DamDistributionServiceType;
3851
- allowedRedistributeStatuses: Array<DamDistributionStatus>;
3872
+ type: DamDistributionServiceTypeType;
3873
+ allowedRedistributeStatuses: Array<DamDistributionStatusType>;
3852
3874
  };
3853
3875
  };
3854
3876
  colorSet: {
@@ -3870,7 +3892,7 @@ export declare interface DamPrvConfig {
3870
3892
  }
3871
3893
 
3872
3894
  export declare interface DamPubConfig {
3873
- userAuthType: UserAuthType;
3895
+ userAuthType: UserAuthTypeType;
3874
3896
  }
3875
3897
 
3876
3898
  export declare interface DamUploadStartResponse {
@@ -4052,12 +4074,12 @@ declare type fetchItemsByIdsType_2 = ((ids: IntegerId[]) => Promise<ValueObjectO
4052
4074
  declare type FetchItemsMinimalType = (pagination: Pagination, filterBag: FilterBag) => Promise<any[]>;
4053
4075
 
4054
4076
  declare interface FileAttributes {
4055
- status: AssetFileProcessStatus;
4077
+ status: AssetFileProcessStatusType;
4056
4078
  mimeType: string;
4057
4079
  size: number;
4058
4080
  originFileName: string;
4059
4081
  originUrl: string;
4060
- failReason: AssetFileFailReason;
4082
+ failReason: AssetFileFailReasonType;
4061
4083
  }
4062
4084
 
4063
4085
  export declare interface Filter<T = any> {
@@ -4098,22 +4120,28 @@ export declare const generateUUIDv1: () => any;
4098
4120
 
4099
4121
  export declare const generateUUIDv4: () => any;
4100
4122
 
4101
- export declare const getAssetTypeByMimeType: (mimeType: string, damConfigExtSystem: DamExtSystemConfig) => DamAssetType | null;
4123
+ export declare const getAssetTypeByMimeType: (mimeType: string, damConfigExtSystem: DamExtSystemConfig) => DamAssetTypeType | null;
4102
4124
 
4103
- export declare enum Grant {
4104
- Deny = 0,
4105
- AllowOwner = 1,
4106
- Allow = 2,
4107
- Default = 0
4108
- }
4125
+ export declare const Grant: {
4126
+ readonly Deny: 0;
4127
+ readonly AllowOwner: 1;
4128
+ readonly Allow: 2;
4129
+ };
4109
4130
 
4110
- export declare enum GrantOrigin {
4111
- Role = "role",
4112
- Group = "group",
4113
- User = "user",
4114
- DefaultGrant = "default",
4115
- Default = "default"
4116
- }
4131
+ export declare const GrantDefault: 0;
4132
+
4133
+ export declare const GrantOrigin: {
4134
+ readonly Role: "role";
4135
+ readonly Group: "group";
4136
+ readonly User: "user";
4137
+ readonly Default: "default";
4138
+ };
4139
+
4140
+ export declare const GrantOriginDefault: "default";
4141
+
4142
+ export declare type GrantOriginType = (typeof GrantOrigin)[keyof typeof GrantOrigin];
4143
+
4144
+ export declare type GrantType = (typeof Grant)[keyof typeof Grant];
4117
4145
 
4118
4146
  export declare const HTTP_STATUS_BAD_REQUEST = 400;
4119
4147
 
@@ -4947,7 +4975,7 @@ export declare interface JobBase<T extends JobBaseResource = JobBaseResource> ex
4947
4975
  readonly id: IntegerId;
4948
4976
  scheduledAt: DatetimeUTC;
4949
4977
  priority: number;
4950
- readonly status: JobStatus;
4978
+ readonly status: JobStatusType;
4951
4979
  readonly startedAt: DatetimeUTCNullable;
4952
4980
  readonly finishedAt: DatetimeUTCNullable;
4953
4981
  readonly lastBatchProcessedRecord: string;
@@ -4959,14 +4987,17 @@ export declare interface JobBase<T extends JobBaseResource = JobBaseResource> ex
4959
4987
 
4960
4988
  export declare type JobBaseResource = typeof JOB_RESOURCE_USER_DATA_DELETE | `job${string}`;
4961
4989
 
4962
- export declare enum JobStatus {
4963
- Waiting = "waiting",
4964
- Processing = "processing",
4965
- AwaitingBatchProcess = "awaiting_batch_process",
4966
- Done = "done",
4967
- Error = "error",
4968
- Default = "waiting"
4969
- }
4990
+ export declare const JobStatus: {
4991
+ readonly Waiting: "waiting";
4992
+ readonly Processing: "processing";
4993
+ readonly AwaitingBatchProcess: "awaiting_batch_process";
4994
+ readonly Done: "done";
4995
+ readonly Error: "error";
4996
+ };
4997
+
4998
+ export declare const JobStatusDefault: "waiting";
4999
+
5000
+ export declare type JobStatusType = (typeof JobStatus)[keyof typeof JobStatus];
4970
5001
 
4971
5002
  export declare interface JobUserDataDelete<T extends JobBaseResource = JobBaseResource> extends JobBase {
4972
5003
  targetUserId: IntegerIdNullable;
@@ -4992,7 +5023,7 @@ export declare interface Log {
4992
5023
  id: string;
4993
5024
  message: string;
4994
5025
  datetime: DatetimeUTC;
4995
- levelName: LogLevel;
5026
+ levelName: LogLevelType;
4996
5027
  context: {
4997
5028
  appVersion: string;
4998
5029
  appSystem: string;
@@ -5012,17 +5043,20 @@ export declare interface Log {
5012
5043
  _type: string;
5013
5044
  }
5014
5045
 
5015
- export declare enum LogLevel {
5016
- Debug = "DEBUG",
5017
- Info = "INFO",
5018
- Notice = "NOTICE",
5019
- Warning = "WARNING",
5020
- Error = "ERROR",
5021
- Critical = "CRITICAL",
5022
- Alert = "ALERT",
5023
- Emergency = "EMERGENCY",
5024
- Default = "INFO"
5025
- }
5046
+ export declare const LogLevel: {
5047
+ readonly Debug: "DEBUG";
5048
+ readonly Info: "INFO";
5049
+ readonly Notice: "NOTICE";
5050
+ readonly Warning: "WARNING";
5051
+ readonly Error: "ERROR";
5052
+ readonly Critical: "CRITICAL";
5053
+ readonly Alert: "ALERT";
5054
+ readonly Emergency: "EMERGENCY";
5055
+ };
5056
+
5057
+ export declare const LogLevelDefault: "INFO";
5058
+
5059
+ export declare type LogLevelType = (typeof LogLevel)[keyof typeof LogLevel];
5026
5060
 
5027
5061
  export declare function makeFilterHelper<T = any>(system?: string, subject?: string): (options?: Partial<MakeFilterOptions<T>>) => Filter<T>;
5028
5062
 
@@ -7220,11 +7254,11 @@ export declare interface Pagination {
7220
7254
 
7221
7255
  export declare interface PermissionConfig {
7222
7256
  roles: string[];
7223
- defaultGrants: Grant[];
7257
+ defaultGrants: GrantType[];
7224
7258
  config: {
7225
7259
  [subject: string]: {
7226
7260
  [action: string]: {
7227
- grants?: Grant[];
7261
+ grants?: GrantType[];
7228
7262
  };
7229
7263
  };
7230
7264
  };
@@ -7260,7 +7294,7 @@ export declare interface PermissionGroupMinimal {
7260
7294
  }
7261
7295
 
7262
7296
  declare type Permissions_2 = {
7263
- [key in AclValue]?: Grant;
7297
+ [key in AclValue]?: GrantType;
7264
7298
  };
7265
7299
  export { Permissions_2 as Permissions }
7266
7300
 
@@ -7404,16 +7438,20 @@ declare interface Texts {
7404
7438
  displayTitle: string;
7405
7439
  }
7406
7440
 
7407
- export declare enum Theme {
7408
- Light = "light",
7409
- Dark = "dark"
7410
- }
7441
+ export declare const Theme: {
7442
+ readonly Light: "light";
7443
+ readonly Dark: "dark";
7444
+ };
7411
7445
 
7412
- declare enum ThemeSettings {
7413
- Light = "light",
7414
- Dark = "dark",
7415
- Auto = "auto"
7416
- }
7446
+ declare const ThemeSettings: {
7447
+ readonly Light: "light";
7448
+ readonly Dark: "dark";
7449
+ readonly Auto: "auto";
7450
+ };
7451
+
7452
+ declare type ThemeSettingsType = (typeof ThemeSettings)[keyof typeof ThemeSettings];
7453
+
7454
+ declare type ThemeType = (typeof Theme)[keyof typeof Theme];
7417
7455
 
7418
7456
  export declare const timePretty: (isoDate: DatetimeUTC | DatetimeUTCNullable | string | null, edgeDateValue?: string) => string;
7419
7457
 
@@ -7439,11 +7477,11 @@ export declare interface UploadQueue {
7439
7477
  export declare interface UploadQueueItem {
7440
7478
  key: string;
7441
7479
  file: File | null;
7442
- status: UploadQueueItemStatus;
7443
- assetStatus: DamAssetStatus;
7480
+ status: UploadQueueItemStatusType;
7481
+ assetStatus: DamAssetStatusType;
7444
7482
  isDuplicate: boolean;
7445
- type: UploadQueueItemType;
7446
- assetType: DamAssetType;
7483
+ type: UploadQueueItemTypeType;
7484
+ assetType: DamAssetTypeType;
7447
7485
  displayTitle: string;
7448
7486
  assetId: DocIdNullable;
7449
7487
  duplicateAssetId: DocIdNullable;
@@ -7470,7 +7508,7 @@ export declare interface UploadQueueItem {
7470
7508
  error: {
7471
7509
  hasError: boolean;
7472
7510
  message: string;
7473
- assetFileFailReason: AssetFileFailReason;
7511
+ assetFileFailReason: AssetFileFailReasonType;
7474
7512
  };
7475
7513
  notificationFallbackTimer: ReturnType<typeof setTimeout> | undefined;
7476
7514
  notificationFallbackTry: number;
@@ -7478,22 +7516,26 @@ export declare interface UploadQueueItem {
7478
7516
  image: undefined | ImageAware;
7479
7517
  }
7480
7518
 
7481
- export declare enum UploadQueueItemStatus {
7482
- Loading = "loading",// loading additional api data
7483
- Waiting = "waiting",// waiting to be uploaded
7484
- Uploading = "uploading",// uploading right now
7485
- Processing = "processing",// all data sent by FE, server processing, waiting for notification, todo
7486
- Failed = "failed",// any error
7487
- Uploaded = "uploaded",// uploaded/ready after loading
7488
- Stop = "stop"
7489
- }
7519
+ export declare const UploadQueueItemStatus: {
7520
+ readonly Loading: "loading";
7521
+ readonly Waiting: "waiting";
7522
+ readonly Uploading: "uploading";
7523
+ readonly Processing: "processing";
7524
+ readonly Failed: "failed";
7525
+ readonly Uploaded: "uploaded";
7526
+ readonly Stop: "stop";
7527
+ };
7490
7528
 
7491
- export declare enum UploadQueueItemType {
7492
- File = "file",
7493
- Asset = "asset",
7494
- ExternalProviderAsset = "externalProviderAsset",
7495
- SlotFile = "slotFile"
7496
- }
7529
+ export declare type UploadQueueItemStatusType = (typeof UploadQueueItemStatus)[keyof typeof UploadQueueItemStatus];
7530
+
7531
+ export declare const UploadQueueItemType: {
7532
+ readonly File: "file";
7533
+ readonly Asset: "asset";
7534
+ readonly ExternalProviderAsset: "externalProviderAsset";
7535
+ readonly SlotFile: "slotFile";
7536
+ };
7537
+
7538
+ export declare type UploadQueueItemTypeType = (typeof UploadQueueItemType)[keyof typeof UploadQueueItemType];
7497
7539
 
7498
7540
  declare type UploadQueueKey = string;
7499
7541
 
@@ -7831,7 +7873,7 @@ export declare function useCustomDataFormElementType(): {
7831
7873
  } | undefined;
7832
7874
  };
7833
7875
 
7834
- export declare function useDamAcceptTypeAndSizeHelper(assetType: undefined | DamAssetType, damConfigExtSystem: DamExtSystemConfig): {
7876
+ export declare function useDamAcceptTypeAndSizeHelper(assetType: undefined | DamAssetTypeType, damConfigExtSystem: DamExtSystemConfig): {
7835
7877
  uploadSizes: ComputedRef< {
7836
7878
  [x: string]: number;
7837
7879
  }>;
@@ -7883,20 +7925,20 @@ export declare function useDamAuthorFactory(): {
7883
7925
 
7884
7926
  export declare function useDamAuthorType(): {
7885
7927
  authorTypeOptions: Ref< {
7886
- value: DamAuthorType;
7928
+ value: DamAuthorTypeType;
7887
7929
  title: string;
7888
7930
  color?: string | undefined;
7889
7931
  active?: false | undefined;
7890
7932
  subtitle?: string | undefined;
7891
- }[], ValueObjectOption<DamAuthorType>[] | {
7892
- value: DamAuthorType;
7933
+ }[], ValueObjectOption<DamAuthorTypeType>[] | {
7934
+ value: DamAuthorTypeType;
7893
7935
  title: string;
7894
7936
  color?: string | undefined;
7895
7937
  active?: false | undefined;
7896
7938
  subtitle?: string | undefined;
7897
7939
  }[]>;
7898
- getAuthorTypeOption: (value: DamAuthorType) => {
7899
- value: DamAuthorType;
7940
+ getAuthorTypeOption: (value: DamAuthorTypeType) => {
7941
+ value: DamAuthorTypeType;
7900
7942
  title: string;
7901
7943
  color?: string | undefined;
7902
7944
  active?: false | undefined;
@@ -8202,36 +8244,36 @@ export declare function useFilterHelpers(storeId?: string | undefined): {
8202
8244
 
8203
8245
  export declare function useGrant(): {
8204
8246
  grantOptions: Ref< {
8205
- value: Grant;
8247
+ value: GrantType;
8206
8248
  title: string;
8207
8249
  color?: string | undefined;
8208
8250
  active?: false | undefined;
8209
8251
  subtitle?: string | undefined;
8210
- }[], ValueObjectOption<Grant>[] | {
8211
- value: Grant;
8252
+ }[], ValueObjectOption<GrantType>[] | {
8253
+ value: GrantType;
8212
8254
  title: string;
8213
8255
  color?: string | undefined;
8214
8256
  active?: false | undefined;
8215
8257
  subtitle?: string | undefined;
8216
8258
  }[]>;
8217
- getGrantOption: (value: Grant) => ValueObjectOption<Grant>;
8259
+ getGrantOption: (value: GrantType) => ValueObjectOption<GrantType>;
8218
8260
  };
8219
8261
 
8220
8262
  export declare function useGrantOrigin(): {
8221
8263
  grantOriginOptions: Ref< {
8222
- value: GrantOrigin;
8264
+ value: GrantOriginType;
8223
8265
  title: string;
8224
8266
  color?: string | undefined;
8225
8267
  active?: false | undefined;
8226
8268
  subtitle?: string | undefined;
8227
- }[], ValueObjectOption<GrantOrigin>[] | {
8228
- value: GrantOrigin;
8269
+ }[], ValueObjectOption<GrantOriginType>[] | {
8270
+ value: GrantOriginType;
8229
8271
  title: string;
8230
8272
  color?: string | undefined;
8231
8273
  active?: false | undefined;
8232
8274
  subtitle?: string | undefined;
8233
8275
  }[]>;
8234
- getGrantOriginOption: (value: GrantOrigin) => ValueObjectOption<GrantOrigin>;
8276
+ getGrantOriginOption: (value: GrantOriginType) => ValueObjectOption<GrantOriginType>;
8235
8277
  };
8236
8278
 
8237
8279
  export { useI18n }
@@ -8269,19 +8311,19 @@ export declare function useJobBaseResource<T extends JobBaseResource = JobBaseRe
8269
8311
 
8270
8312
  export declare function useJobStatus(): {
8271
8313
  jobStatusOptions: Ref< {
8272
- value: JobStatus;
8314
+ value: JobStatusType;
8273
8315
  title: string;
8274
8316
  color?: string | undefined;
8275
8317
  active?: false | undefined;
8276
8318
  subtitle?: string | undefined;
8277
- }[], ValueObjectOption<JobStatus>[] | {
8278
- value: JobStatus;
8319
+ }[], ValueObjectOption<JobStatusType>[] | {
8320
+ value: JobStatusType;
8279
8321
  title: string;
8280
8322
  color?: string | undefined;
8281
8323
  active?: false | undefined;
8282
8324
  subtitle?: string | undefined;
8283
8325
  }[]>;
8284
- getJobStatusOption: (value: JobStatus) => ValueObjectOption<JobStatus>;
8326
+ getJobStatusOption: (value: JobStatusType) => ValueObjectOption<JobStatusType>;
8285
8327
  };
8286
8328
 
8287
8329
  export declare function useLanguageSettings(): {
@@ -8299,20 +8341,20 @@ export declare function useLoginStatus(to: RouteLocationNormalized): {
8299
8341
 
8300
8342
  export declare function useLogLevel(): {
8301
8343
  logLevelOptions: Ref< {
8302
- value: LogLevel;
8344
+ value: LogLevelType;
8303
8345
  title: string;
8304
8346
  color?: string | undefined;
8305
8347
  active?: false | undefined;
8306
8348
  subtitle?: string | undefined;
8307
- }[], ValueObjectOption<LogLevel>[] | {
8308
- value: LogLevel;
8349
+ }[], ValueObjectOption<LogLevelType>[] | {
8350
+ value: LogLevelType;
8309
8351
  title: string;
8310
8352
  color?: string | undefined;
8311
8353
  active?: false | undefined;
8312
8354
  subtitle?: string | undefined;
8313
8355
  }[]>;
8314
- getLogLevelOption: (value: LogLevel) => {
8315
- value: LogLevel;
8356
+ getLogLevelOption: (value: LogLevelType) => {
8357
+ value: LogLevelType;
8316
8358
  title: string;
8317
8359
  color?: string | undefined;
8318
8360
  active?: false | undefined;
@@ -8343,11 +8385,14 @@ export declare function usePermissionGroupFactory(): {
8343
8385
  createPermissionGroup: () => PermissionGroup;
8344
8386
  };
8345
8387
 
8346
- export declare enum UserAuthType {
8347
- JsonCredentials = "json_credentials",
8348
- OAuth2 = "oauth2",
8349
- Default = "json_credentials"
8350
- }
8388
+ export declare const UserAuthType: {
8389
+ readonly JsonCredentials: "json_credentials";
8390
+ readonly OAuth2: "oauth2";
8391
+ };
8392
+
8393
+ export declare const UserAuthTypeDefault: "json_credentials";
8394
+
8395
+ export declare type UserAuthTypeType = (typeof UserAuthType)[keyof typeof UserAuthType];
8351
8396
 
8352
8397
  export declare function useRemainingTime(): {
8353
8398
  remainingTimeShort: (seconds: number) => string;
@@ -8378,8 +8423,8 @@ export declare function useSubjectSelect<TItem>(datatableConfig: any, datatableH
8378
8423
  };
8379
8424
 
8380
8425
  export declare function useTheme(): {
8381
- settings: Readonly<Ref<ThemeSettings, ThemeSettings>>;
8382
- theme: Readonly<Ref<Theme, Theme>>;
8426
+ settings: Readonly<Ref<ThemeSettingsType, ThemeSettingsType>>;
8427
+ theme: Readonly<Ref<ThemeType, ThemeType>>;
8383
8428
  toolbarColor: Readonly<Ref<"white" | "#1A1A1A", "white" | "#1A1A1A">>;
8384
8429
  toggleTheme: () => void;
8385
8430
  setThemeAuto: () => void;
@@ -8388,7 +8433,7 @@ export declare function useTheme(): {
8388
8433
  };
8389
8434
 
8390
8435
  export declare function useUploadQueueItemFactory(): {
8391
- createDefault: (key: string, type: UploadQueueItemType, status: UploadQueueItemStatus, assetType: DamAssetType, chunkSize: number, licenceId: IntegerId) => UploadQueueItem;
8436
+ createDefault: (key: string, type: UploadQueueItemTypeType, status: UploadQueueItemStatusType, assetType: DamAssetTypeType, chunkSize: number, licenceId: IntegerId) => UploadQueueItem;
8392
8437
  };
8393
8438
 
8394
8439
  export declare function useValidate(): {