@webitel/api-services 26.8.70 → 26.8.72

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 (55) hide show
  1. package/package.json +1 -1
  2. package/src/api/clients/outboundResources/outboundResources.ts +44 -81
  3. package/src/api/clients/outboundResources/resourceDisplays.ts +106 -32
  4. package/src/enums/ResourceCidType/ResourceCidType.ts +8 -0
  5. package/src/enums/ResourceIgnoreEarlyMedia/ResourceIgnoreEarlyMedia.ts +9 -0
  6. package/src/enums/index.ts +4 -0
  7. package/src/locale/en/en.ts +4 -0
  8. package/src/locale/es/es.ts +4 -0
  9. package/src/locale/kz/kz.ts +4 -0
  10. package/src/locale/pl/pl.ts +4 -0
  11. package/src/locale/ro/ro.ts +4 -0
  12. package/src/locale/ru/ru.ts +4 -0
  13. package/src/locale/uk/uk.ts +4 -0
  14. package/src/locale/uz/uz.ts +4 -0
  15. package/src/locale/vi/vi.ts +4 -0
  16. package/src/scripts/convertTimeUnits/__tests__/convertTimeUnits.spec.ts +19 -0
  17. package/src/scripts/convertTimeUnits/convertTimeUnits.ts +3 -0
  18. package/src/scripts/index.ts +3 -0
  19. package/src/validations/_shared/timeRange.validations.ts +103 -0
  20. package/src/validations/calendar/__tests__/calendar.validations.spec.ts +9 -9
  21. package/src/validations/calendar/calendar.validations.ts +10 -131
  22. package/src/validations/index.ts +5 -0
  23. package/src/validations/resource/__tests__/resource.validations.spec.ts +102 -0
  24. package/src/validations/resource/resource.validations.ts +28 -0
  25. package/src/validations/resourceDisplay/__tests__/resourceDisplay.validations.spec.ts +45 -0
  26. package/src/validations/resourceDisplay/resourceDisplay.validations.ts +9 -0
  27. package/src/validations/resourceGroup/__tests__/resourceGroup.validations.spec.ts +191 -0
  28. package/src/validations/resourceGroup/resourceGroup.validations.ts +36 -0
  29. package/src/validations/resourceInGroup/__tests__/resourceInGroup.validations.spec.ts +38 -0
  30. package/src/validations/resourceInGroup/resourceInGroup.validations.ts +16 -0
  31. package/types/.tsbuildinfo +1 -1
  32. package/types/api/clients/outboundResources/outboundResources.d.ts +2 -7
  33. package/types/api/clients/outboundResources/resourceDisplays.d.ts +7 -1
  34. package/types/enums/ResourceCidType/ResourceCidType.d.ts +6 -0
  35. package/types/enums/ResourceIgnoreEarlyMedia/ResourceIgnoreEarlyMedia.d.ts +7 -0
  36. package/types/enums/index.d.ts +3 -1
  37. package/types/locale/en/en.d.ts +3 -0
  38. package/types/locale/es/es.d.ts +3 -0
  39. package/types/locale/index.d.ts +27 -0
  40. package/types/locale/kz/kz.d.ts +3 -0
  41. package/types/locale/pl/pl.d.ts +3 -0
  42. package/types/locale/ro/ro.d.ts +3 -0
  43. package/types/locale/ru/ru.d.ts +3 -0
  44. package/types/locale/uk/uk.d.ts +3 -0
  45. package/types/locale/uz/uz.d.ts +3 -0
  46. package/types/locale/vi/vi.d.ts +3 -0
  47. package/types/scripts/convertTimeUnits/convertTimeUnits.d.ts +2 -0
  48. package/types/scripts/index.d.ts +2 -1
  49. package/types/validations/_shared/timeRange.validations.d.ts +18 -0
  50. package/types/validations/calendar/calendar.validations.d.ts +1 -7
  51. package/types/validations/index.d.ts +5 -0
  52. package/types/validations/resource/resource.validations.d.ts +26 -0
  53. package/types/validations/resourceDisplay/resourceDisplay.validations.d.ts +5 -0
  54. package/types/validations/resourceGroup/resourceGroup.validations.d.ts +17 -0
  55. package/types/validations/resourceInGroup/resourceInGroup.validations.d.ts +8 -0
@@ -1,8 +1,4 @@
1
1
  import type { AddItemParams, ApiParams, DeleteItemParams, GetItemParams, PatchItemParams, UpdateItemParams } from '../_shared/types';
2
- declare const getResourcesList: (params: ApiParams) => Promise<{
3
- items: any;
4
- next: any;
5
- }>;
6
2
  export declare const OutboundResourcesAPI: {
7
3
  getPermissionsList: ({ parentId, ...params }: {
8
4
  parentId: import("../_shared/types").ApiId;
@@ -17,12 +13,11 @@ export declare const OutboundResourcesAPI: {
17
13
  }>;
18
14
  get: ({ itemId: id }: GetItemParams) => Promise<any>;
19
15
  add: ({ itemInstance }: AddItemParams) => Promise<any>;
20
- patch: ({ changes, id }: PatchItemParams) => Promise<any>;
21
16
  update: ({ itemInstance, itemId: id, }: UpdateItemParams) => Promise<any>;
17
+ patch: ({ changes, id }: PatchItemParams) => Promise<any>;
22
18
  delete: ({ id }: DeleteItemParams) => Promise<any>;
23
- getLookup: (params: Parameters<typeof getResourcesList>[0]) => Promise<{
19
+ getLookup: (params: ApiParams) => Promise<{
24
20
  items: any;
25
21
  next: any;
26
22
  }>;
27
23
  };
28
- export {};
@@ -1,4 +1,4 @@
1
- import type { ApiParams, NestedAddItemParams, NestedDeleteItemParams, NestedGetItemParams, NestedUpdateItemParams } from '../_shared/types';
1
+ import type { ApiId, ApiParams, NestedAddItemParams, NestedDeleteItemParams, NestedGetItemParams, NestedUpdateItemParams } from '../_shared/types';
2
2
  export declare const ResourceDisplaysAPI: {
3
3
  getList: (params: ApiParams) => Promise<{
4
4
  items: any;
@@ -8,4 +8,10 @@ export declare const ResourceDisplaysAPI: {
8
8
  add: ({ parentId, itemInstance, }: NestedAddItemParams) => Promise<any>;
9
9
  update: ({ parentId, itemInstance, itemId: id, }: NestedUpdateItemParams) => Promise<any>;
10
10
  delete: ({ parentId, id, }: NestedDeleteItemParams) => Promise<any>;
11
+ upload: ({ parentId, file, delimiter, map, }: {
12
+ parentId: ApiId;
13
+ file: File;
14
+ delimiter: string;
15
+ map: string;
16
+ }) => Promise<any>;
11
17
  };
@@ -0,0 +1,6 @@
1
+ export declare const ResourceCidType: {
2
+ readonly None: "none";
3
+ readonly Rpid: "rpid";
4
+ readonly Pid: "pid";
5
+ };
6
+ export type ResourceCidType = (typeof ResourceCidType)[keyof typeof ResourceCidType];
@@ -0,0 +1,7 @@
1
+ export declare const ResourceIgnoreEarlyMedia: {
2
+ readonly True: "true";
3
+ readonly False: "false";
4
+ readonly Consume: "consume";
5
+ readonly RingReady: "ring_ready";
6
+ };
7
+ export type ResourceIgnoreEarlyMedia = (typeof ResourceIgnoreEarlyMedia)[keyof typeof ResourceIgnoreEarlyMedia];
@@ -9,8 +9,10 @@ import { QueuePeriod } from './QueuePeriod/QueuePeriod';
9
9
  import { QueueStrategy, QueueStrategyList } from './QueueStrategy/QueueStrategy';
10
10
  import { QueueType, QueueTypeName } from './QueueType/QueueType';
11
11
  import { RelativeDatetimeValue } from './RelativeDatetimeValue/RelativeDatetimeValue';
12
+ import { ResourceCidType } from './ResourceCidType/ResourceCidType';
13
+ import { ResourceIgnoreEarlyMedia } from './ResourceIgnoreEarlyMedia/ResourceIgnoreEarlyMedia';
12
14
  import { TimeBaseScore } from './TimeBaseScore/TimeBaseScore';
13
15
  import { TypesResourceStrategy } from './TypesResourceStrategy/TypesResourceStrategy';
14
16
  import { UrlProtocol } from './UrlProtocol/UrlProtocol';
15
17
  import { UserPresenceStatus } from './UserPresenceStatus/UserPresenceStatus';
16
- export { AgentStatus, CallReportingStatus, ChannelState, ChannelType, ChatGatewayProvider, FormatDateMode, MemberStopCause, QueuePeriod, QueueStrategy, QueueStrategyList, QueueType, QueueTypeName, RelativeDatetimeValue, TimeBaseScore, TypesResourceStrategy, UrlProtocol, UserPresenceStatus, };
18
+ export { AgentStatus, CallReportingStatus, ChannelState, ChannelType, ChatGatewayProvider, FormatDateMode, MemberStopCause, QueuePeriod, QueueStrategy, QueueStrategyList, QueueType, QueueTypeName, RelativeDatetimeValue, ResourceCidType, ResourceIgnoreEarlyMedia, TimeBaseScore, TypesResourceStrategy, UrlProtocol, UserPresenceStatus, };
@@ -1,6 +1,9 @@
1
1
  import type { MessageContext } from 'vue-i18n';
2
2
  declare const _default: {
3
3
  backendErrors: {
4
+ ccOutboundResource: {
5
+ validatePhoneNumber: ({ linked }: MessageContext) => string;
6
+ };
4
7
  contacts: {
5
8
  search: {
6
9
  filters: {
@@ -1,6 +1,9 @@
1
1
  import type { MessageContext } from 'vue-i18n';
2
2
  declare const _default: {
3
3
  backendErrors: {
4
+ ccOutboundResource: {
5
+ validatePhoneNumber: ({ linked }: MessageContext) => string;
6
+ };
4
7
  contacts: {
5
8
  search: {
6
9
  filters: {
@@ -10,6 +10,9 @@ import vi from './vi/vi';
10
10
  export declare const messages: {
11
11
  en: {
12
12
  backendErrors: {
13
+ ccOutboundResource: {
14
+ validatePhoneNumber: ({ linked }: import("vue-i18n").MessageContext) => string;
15
+ };
13
16
  contacts: {
14
17
  search: {
15
18
  filters: {
@@ -40,6 +43,9 @@ export declare const messages: {
40
43
  };
41
44
  uk: {
42
45
  backendErrors: {
46
+ ccOutboundResource: {
47
+ validatePhoneNumber: ({ linked }: import("vue-i18n").MessageContext) => string;
48
+ };
43
49
  contacts: {
44
50
  search: {
45
51
  filters: {
@@ -70,6 +76,9 @@ export declare const messages: {
70
76
  };
71
77
  ru: {
72
78
  backendErrors: {
79
+ ccOutboundResource: {
80
+ validatePhoneNumber: ({ linked }: import("vue-i18n").MessageContext) => string;
81
+ };
73
82
  contacts: {
74
83
  search: {
75
84
  filters: {
@@ -100,6 +109,9 @@ export declare const messages: {
100
109
  };
101
110
  es: {
102
111
  backendErrors: {
112
+ ccOutboundResource: {
113
+ validatePhoneNumber: ({ linked }: import("vue-i18n").MessageContext) => string;
114
+ };
103
115
  contacts: {
104
116
  search: {
105
117
  filters: {
@@ -130,6 +142,9 @@ export declare const messages: {
130
142
  };
131
143
  pl: {
132
144
  backendErrors: {
145
+ ccOutboundResource: {
146
+ validatePhoneNumber: ({ linked }: import("vue-i18n").MessageContext) => string;
147
+ };
133
148
  contacts: {
134
149
  search: {
135
150
  filters: {
@@ -160,6 +175,9 @@ export declare const messages: {
160
175
  };
161
176
  ro: {
162
177
  backendErrors: {
178
+ ccOutboundResource: {
179
+ validatePhoneNumber: ({ linked }: import("vue-i18n").MessageContext) => string;
180
+ };
163
181
  contacts: {
164
182
  search: {
165
183
  filters: {
@@ -190,6 +208,9 @@ export declare const messages: {
190
208
  };
191
209
  kz: {
192
210
  backendErrors: {
211
+ ccOutboundResource: {
212
+ validatePhoneNumber: ({ linked }: import("vue-i18n").MessageContext) => string;
213
+ };
193
214
  contacts: {
194
215
  search: {
195
216
  filters: {
@@ -220,6 +241,9 @@ export declare const messages: {
220
241
  };
221
242
  uz: {
222
243
  backendErrors: {
244
+ ccOutboundResource: {
245
+ validatePhoneNumber: ({ linked }: import("vue-i18n").MessageContext) => string;
246
+ };
223
247
  contacts: {
224
248
  search: {
225
249
  filters: {
@@ -250,6 +274,9 @@ export declare const messages: {
250
274
  };
251
275
  vi: {
252
276
  backendErrors: {
277
+ ccOutboundResource: {
278
+ validatePhoneNumber: ({ linked }: import("vue-i18n").MessageContext) => string;
279
+ };
253
280
  contacts: {
254
281
  search: {
255
282
  filters: {
@@ -1,6 +1,9 @@
1
1
  import type { MessageContext } from 'vue-i18n';
2
2
  declare const _default: {
3
3
  backendErrors: {
4
+ ccOutboundResource: {
5
+ validatePhoneNumber: ({ linked }: MessageContext) => string;
6
+ };
4
7
  contacts: {
5
8
  search: {
6
9
  filters: {
@@ -1,6 +1,9 @@
1
1
  import type { MessageContext } from 'vue-i18n';
2
2
  declare const _default: {
3
3
  backendErrors: {
4
+ ccOutboundResource: {
5
+ validatePhoneNumber: ({ linked }: MessageContext) => string;
6
+ };
4
7
  contacts: {
5
8
  search: {
6
9
  filters: {
@@ -1,6 +1,9 @@
1
1
  import type { MessageContext } from 'vue-i18n';
2
2
  declare const _default: {
3
3
  backendErrors: {
4
+ ccOutboundResource: {
5
+ validatePhoneNumber: ({ linked }: MessageContext) => string;
6
+ };
4
7
  contacts: {
5
8
  search: {
6
9
  filters: {
@@ -1,6 +1,9 @@
1
1
  import type { MessageContext } from 'vue-i18n';
2
2
  declare const _default: {
3
3
  backendErrors: {
4
+ ccOutboundResource: {
5
+ validatePhoneNumber: ({ linked }: MessageContext) => string;
6
+ };
4
7
  contacts: {
5
8
  search: {
6
9
  filters: {
@@ -1,6 +1,9 @@
1
1
  import type { MessageContext } from 'vue-i18n';
2
2
  declare const _default: {
3
3
  backendErrors: {
4
+ ccOutboundResource: {
5
+ validatePhoneNumber: ({ linked }: MessageContext) => string;
6
+ };
4
7
  contacts: {
5
8
  search: {
6
9
  filters: {
@@ -1,6 +1,9 @@
1
1
  import type { MessageContext } from 'vue-i18n';
2
2
  declare const _default: {
3
3
  backendErrors: {
4
+ ccOutboundResource: {
5
+ validatePhoneNumber: ({ linked }: MessageContext) => string;
6
+ };
4
7
  contacts: {
5
8
  search: {
6
9
  filters: {
@@ -1,6 +1,9 @@
1
1
  import type { MessageContext } from 'vue-i18n';
2
2
  declare const _default: {
3
3
  backendErrors: {
4
+ ccOutboundResource: {
5
+ validatePhoneNumber: ({ linked }: MessageContext) => string;
6
+ };
4
7
  contacts: {
5
8
  search: {
6
9
  filters: {
@@ -0,0 +1,2 @@
1
+ export declare const minToSec: (min: number) => number;
2
+ export declare const secToMin: (sec: number) => number;
@@ -1,6 +1,7 @@
1
1
  import convertDuration from './convertDuration/convertDuration';
2
+ import { minToSec, secToMin } from './convertTimeUnits/convertTimeUnits';
2
3
  import downloadFile from './downloadFile/downloadFile';
3
4
  import { FileFormat } from './downloadFile/types/fileFormat.types';
4
5
  import { isRelativeDatetimeValue, normalizeDatetimeRange, normalizeToTimestamp } from './normalizeDatetime/normalizeDatetime';
5
6
  export type { DatetimeRangeValue, NormalizeDatetimeOptions, NormalizeDatetimeValueParam, RelativeDatetimeRoundOption, } from './normalizeDatetime/normalizeDatetime';
6
- export { convertDuration, downloadFile, FileFormat, isRelativeDatetimeValue, normalizeDatetimeRange, normalizeToTimestamp, };
7
+ export { convertDuration, downloadFile, FileFormat, isRelativeDatetimeValue, minToSec, normalizeDatetimeRange, normalizeToTimestamp, secToMin, };
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ export declare const dayMinuteSchema: z.ZodNumber;
3
+ export type TimeRange = {
4
+ start: number;
5
+ end: number;
6
+ };
7
+ export type TimeRangeError = {
8
+ index: number;
9
+ prop: string;
10
+ key: string;
11
+ };
12
+ export declare const refineTimeRangeStartLessThanEnd: (item: TimeRange, ctx: z.RefinementCtx) => void;
13
+ export declare const timeRangeSchema: z.ZodObject<{
14
+ start: z.ZodNumber;
15
+ end: z.ZodNumber;
16
+ }, z.core.$strip>;
17
+ export declare const refineTimeRangesNotIntersect: <T extends TimeRange>(groupBy?: (item: T) => unknown) => (items: T[], ctx: z.RefinementCtx) => void;
18
+ export declare const getTimeRangeErrors: (schema: z.ZodType, items: unknown) => TimeRangeError[];
@@ -1,10 +1,4 @@
1
1
  import { z } from 'zod';
2
- export type CalendarDayRangeIssue = {
3
- index: number;
4
- prop: string;
5
- /** message key, resolve as `validation.<key>` */
6
- key: string;
7
- };
8
2
  /**
9
3
  * The same rules as the card schema, reported per row so a form can mark the
10
4
  * offending inputs while the user types.
@@ -13,7 +7,7 @@ export type CalendarDayRangeIssue = {
13
7
  * verdicts (overlapping ranges) are only re-derived by a full `$validate()`,
14
8
  * so a row the user has not touched keeps a message that is no longer true.
15
9
  */
16
- export declare const getCalendarDayRangeIssues: (items: unknown) => CalendarDayRangeIssue[];
10
+ export declare const getCalendarDayRangeErrors: (items: unknown) => import("..").TimeRangeError[];
17
11
  export declare const calendarExceptSchema: z.ZodObject<{
18
12
  name: z.ZodString;
19
13
  date: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
@@ -3,6 +3,7 @@ export * from './_shared/duration.validations';
3
3
  export * from './_shared/i18nIssue';
4
4
  export * from './_shared/lookup.validations';
5
5
  export * from './_shared/phoneNumber.validations';
6
+ export * from './_shared/timeRange.validations';
6
7
  export * from './_shared/variablePair.validations';
7
8
  export * from './adjunctType/adjunctType.validations';
8
9
  export * from './agent/agent.validations';
@@ -44,6 +45,10 @@ export * from './queueMember/memberCommunication.validations';
44
45
  export * from './queueMember/queueMember.validations';
45
46
  export * from './queueResGroup/queueResGroup.validations';
46
47
  export * from './queueSkill/queueSkill.validations';
48
+ export * from './resource/resource.validations';
49
+ export * from './resourceDisplay/resourceDisplay.validations';
50
+ export * from './resourceGroup/resourceGroup.validations';
51
+ export * from './resourceInGroup/resourceInGroup.validations';
47
52
  export * from './sla/sla.validations';
48
53
  export * from './slaCondition/slaCondition.validations';
49
54
  export * from './team/team.validations';
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+ export declare const resourceSchema: z.ZodObject<{
3
+ parameters?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
4
+ createdAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
5
+ createdBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
6
+ description?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
7
+ domainId?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
8
+ enabled?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
9
+ errorIds?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
10
+ failureDialDelay?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
11
+ gateway?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
12
+ id?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
13
+ lastErrorAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
14
+ lastErrorId?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
15
+ limit?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
16
+ maxSuccessivelyErrors?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
17
+ name?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
18
+ number?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
19
+ patterns?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
20
+ reserve?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
21
+ rps?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
22
+ successivelyErrors?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
23
+ updatedAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
24
+ updatedBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
25
+ variables?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
26
+ }, z.core.$strip>;
@@ -0,0 +1,5 @@
1
+ import { z } from 'zod';
2
+ export declare const resourceDisplaySchema: z.ZodObject<{
3
+ display?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
4
+ id?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
5
+ }, z.core.$strip>;
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ import { type TimeRange } from '../_shared/timeRange.validations';
3
+ export declare const getResourceGroupTimeRangeErrors: (items: unknown) => import("..").TimeRangeError[];
4
+ export declare const getDefaultResourceGroupTimeRange: () => TimeRange;
5
+ export declare const resourceGroupSchema: z.ZodObject<{
6
+ communication?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
7
+ createdAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
8
+ createdBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
9
+ description?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
10
+ domainId?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
11
+ id?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
12
+ name?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
13
+ strategy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
14
+ time?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
15
+ updatedAt?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
16
+ updatedBy?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
17
+ }, z.core.$strip>;
@@ -0,0 +1,8 @@
1
+ import { z } from 'zod';
2
+ export declare const resourceInGroupSchema: z.ZodObject<{
3
+ groupId?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
4
+ id?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
5
+ priority?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
6
+ reserveResource?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
7
+ resource?: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> | undefined;
8
+ }, z.core.$strip>;