@kl1/contracts 1.2.26-uat → 1.2.27-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
- package/dist/api-contracts/src/attribute/index.d.ts +164 -148
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +51 -47
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +43 -31
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +3 -2
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +8 -6
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +17 -13
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +118 -109
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +3 -2
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +1064 -1039
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +38 -38
- package/dist/api-contracts/src/channel/validation.d.ts +52 -52
- package/dist/api-contracts/src/chat/index.d.ts +14634 -14201
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +2120 -1984
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3894 -3827
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +281 -224
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +68 -50
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/validation.d.ts +1 -1
- package/dist/api-contracts/src/company/index.d.ts +136 -109
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +33 -24
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +78 -62
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +686 -568
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +56 -42
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +299 -218
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +23919 -22617
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +684 -644
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +448 -405
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
- package/dist/api-contracts/src/dashboard/index.d.ts +378 -337
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +24 -18
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +4 -3
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +118 -112
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +1872 -1802
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +73 -62
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +96 -79
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/group/schema.d.ts +3 -2
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +37 -27
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/index.d.ts +1 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +1366 -1316
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
- package/dist/api-contracts/src/line/index.d.ts +1469 -1419
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +12 -11
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +98 -98
- package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +184 -174
- package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +461 -416
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +24 -18
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +1368 -1316
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +96 -79
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +16 -12
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/permission/index.d.ts +17 -17
- package/dist/api-contracts/src/presence-status/index.d.ts +84 -81
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +260 -196
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +88 -83
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +209 -154
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/schema.d.ts +22 -0
- package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +76 -54
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +71 -49
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +79 -72
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +1214 -1166
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +58 -54
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +1214 -1149
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
- package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +722 -623
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +57 -55
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +36 -34
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +3 -2
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +114 -108
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +5 -4
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +3 -2
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +1341 -1293
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +2461 -2416
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +2715 -2666
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -2
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +139 -128
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +3 -2
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +1500 -1465
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
- package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +4 -3
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/index.js +4242 -4219
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4239 -4217
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -3,6 +3,23 @@ export declare const activityLogContract: {
|
|
3
3
|
getActivityLogs: {
|
4
4
|
summary: "Get all activity logs";
|
5
5
|
method: "GET";
|
6
|
+
path: "activity-log";
|
7
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
8
|
+
'x-tenant': z.ZodString;
|
9
|
+
authorization: z.ZodString;
|
10
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
11
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
13
|
+
'x-tenant': string;
|
14
|
+
authorization: string;
|
15
|
+
'x-client-timezone': string;
|
16
|
+
'x-code'?: string | undefined;
|
17
|
+
}, {
|
18
|
+
'x-tenant': string;
|
19
|
+
authorization: string;
|
20
|
+
'x-code'?: string | undefined;
|
21
|
+
'x-client-timezone'?: string | undefined;
|
22
|
+
}>>>;
|
6
23
|
responses: {
|
7
24
|
200: z.ZodArray<z.ZodObject<{
|
8
25
|
id: z.ZodString;
|
@@ -384,23 +401,6 @@ export declare const activityLogContract: {
|
|
384
401
|
error?: any;
|
385
402
|
}>;
|
386
403
|
};
|
387
|
-
path: "activity-log";
|
388
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
389
|
-
'x-tenant': z.ZodString;
|
390
|
-
authorization: z.ZodString;
|
391
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
392
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
393
|
-
}, "strip", z.ZodTypeAny, {
|
394
|
-
'x-tenant': string;
|
395
|
-
authorization: string;
|
396
|
-
'x-client-timezone': string;
|
397
|
-
'x-code'?: string | undefined;
|
398
|
-
}, {
|
399
|
-
'x-tenant': string;
|
400
|
-
authorization: string;
|
401
|
-
'x-code'?: string | undefined;
|
402
|
-
'x-client-timezone'?: string | undefined;
|
403
|
-
}>>>;
|
404
404
|
};
|
405
405
|
};
|
406
406
|
//# sourceMappingURL=index.d.ts.map
|
@@ -57,14 +57,33 @@ export declare const attributeContract: {
|
|
57
57
|
isVisible: boolean;
|
58
58
|
}>;
|
59
59
|
method: "POST";
|
60
|
+
path: "attributes";
|
61
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
62
|
+
'x-tenant': z.ZodString;
|
63
|
+
authorization: z.ZodString;
|
64
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
65
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
66
|
+
}, "strip", z.ZodTypeAny, {
|
67
|
+
'x-tenant': string;
|
68
|
+
authorization: string;
|
69
|
+
'x-client-timezone': string;
|
70
|
+
'x-code'?: string | undefined;
|
71
|
+
}, {
|
72
|
+
'x-tenant': string;
|
73
|
+
authorization: string;
|
74
|
+
'x-code'?: string | undefined;
|
75
|
+
'x-client-timezone'?: string | undefined;
|
76
|
+
}>>>;
|
60
77
|
responses: {
|
61
|
-
201: z.ZodObject<{
|
78
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
62
79
|
requestId: z.ZodString;
|
63
|
-
|
80
|
+
}, {
|
81
|
+
attribute: z.ZodObject<z.objectUtil.extendShape<{
|
64
82
|
id: z.ZodString;
|
65
83
|
createdAt: z.ZodDate;
|
66
84
|
updatedAt: z.ZodDate;
|
67
85
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
86
|
+
}, {
|
68
87
|
systemName: z.ZodString;
|
69
88
|
displayName: z.ZodString;
|
70
89
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -73,13 +92,14 @@ export declare const attributeContract: {
|
|
73
92
|
isArchived: z.ZodBoolean;
|
74
93
|
isRequired: z.ZodBoolean;
|
75
94
|
isUnique: z.ZodBoolean;
|
76
|
-
options: z.ZodArray<z.ZodObject<{
|
77
|
-
position: z.ZodNumber;
|
78
|
-
value: z.ZodString;
|
95
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
79
96
|
label: z.ZodString;
|
97
|
+
value: z.ZodString;
|
80
98
|
isDefault: z.ZodBoolean;
|
99
|
+
position: z.ZodNumber;
|
100
|
+
}, {
|
81
101
|
id: z.ZodString;
|
82
|
-
}
|
102
|
+
}>, "strip", z.ZodTypeAny, {
|
83
103
|
id: string;
|
84
104
|
position: number;
|
85
105
|
value: string;
|
@@ -92,14 +112,15 @@ export declare const attributeContract: {
|
|
92
112
|
label: string;
|
93
113
|
isDefault: boolean;
|
94
114
|
}>, "many">;
|
95
|
-
group: z.ZodObject<{
|
115
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
96
116
|
id: z.ZodString;
|
97
117
|
createdAt: z.ZodDate;
|
98
118
|
updatedAt: z.ZodDate;
|
99
119
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
120
|
+
}, {
|
100
121
|
systemName: z.ZodString;
|
101
122
|
displayName: z.ZodString;
|
102
|
-
}
|
123
|
+
}>, "strip", z.ZodTypeAny, {
|
103
124
|
id: string;
|
104
125
|
createdAt: Date;
|
105
126
|
updatedAt: Date;
|
@@ -114,7 +135,7 @@ export declare const attributeContract: {
|
|
114
135
|
systemName: string;
|
115
136
|
displayName: string;
|
116
137
|
}>;
|
117
|
-
}
|
138
|
+
}>, "strip", z.ZodTypeAny, {
|
118
139
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
119
140
|
id: string;
|
120
141
|
position: number;
|
@@ -171,7 +192,7 @@ export declare const attributeContract: {
|
|
171
192
|
isRequired: boolean;
|
172
193
|
isUnique: boolean;
|
173
194
|
}>;
|
174
|
-
}
|
195
|
+
}>, "strip", z.ZodTypeAny, {
|
175
196
|
requestId: string;
|
176
197
|
attribute: {
|
177
198
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
@@ -245,6 +266,19 @@ export declare const attributeContract: {
|
|
245
266
|
error?: any;
|
246
267
|
}>;
|
247
268
|
};
|
269
|
+
};
|
270
|
+
getAttributes: {
|
271
|
+
method: "GET";
|
272
|
+
query: z.ZodObject<{
|
273
|
+
group: z.ZodString;
|
274
|
+
visibleOnly: z.ZodDefault<z.ZodBoolean>;
|
275
|
+
}, "strip", z.ZodTypeAny, {
|
276
|
+
group: string;
|
277
|
+
visibleOnly: boolean;
|
278
|
+
}, {
|
279
|
+
group: string;
|
280
|
+
visibleOnly?: boolean | undefined;
|
281
|
+
}>;
|
248
282
|
path: "attributes";
|
249
283
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
250
284
|
'x-tenant': z.ZodString;
|
@@ -262,27 +296,16 @@ export declare const attributeContract: {
|
|
262
296
|
'x-code'?: string | undefined;
|
263
297
|
'x-client-timezone'?: string | undefined;
|
264
298
|
}>>>;
|
265
|
-
};
|
266
|
-
getAttributes: {
|
267
|
-
method: "GET";
|
268
|
-
query: z.ZodObject<{
|
269
|
-
group: z.ZodString;
|
270
|
-
visibleOnly: z.ZodDefault<z.ZodBoolean>;
|
271
|
-
}, "strip", z.ZodTypeAny, {
|
272
|
-
group: string;
|
273
|
-
visibleOnly: boolean;
|
274
|
-
}, {
|
275
|
-
group: string;
|
276
|
-
visibleOnly?: boolean | undefined;
|
277
|
-
}>;
|
278
299
|
responses: {
|
279
|
-
200: z.ZodObject<{
|
300
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
280
301
|
requestId: z.ZodString;
|
281
|
-
|
302
|
+
}, {
|
303
|
+
attributes: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
282
304
|
id: z.ZodString;
|
283
305
|
createdAt: z.ZodDate;
|
284
306
|
updatedAt: z.ZodDate;
|
285
307
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
308
|
+
}, {
|
286
309
|
systemName: z.ZodString;
|
287
310
|
displayName: z.ZodString;
|
288
311
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -291,13 +314,14 @@ export declare const attributeContract: {
|
|
291
314
|
isArchived: z.ZodBoolean;
|
292
315
|
isRequired: z.ZodBoolean;
|
293
316
|
isUnique: z.ZodBoolean;
|
294
|
-
options: z.ZodArray<z.ZodObject<{
|
295
|
-
position: z.ZodNumber;
|
296
|
-
value: z.ZodString;
|
317
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
297
318
|
label: z.ZodString;
|
319
|
+
value: z.ZodString;
|
298
320
|
isDefault: z.ZodBoolean;
|
321
|
+
position: z.ZodNumber;
|
322
|
+
}, {
|
299
323
|
id: z.ZodString;
|
300
|
-
}
|
324
|
+
}>, "strip", z.ZodTypeAny, {
|
301
325
|
id: string;
|
302
326
|
position: number;
|
303
327
|
value: string;
|
@@ -310,14 +334,15 @@ export declare const attributeContract: {
|
|
310
334
|
label: string;
|
311
335
|
isDefault: boolean;
|
312
336
|
}>, "many">;
|
313
|
-
group: z.ZodObject<{
|
337
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
314
338
|
id: z.ZodString;
|
315
339
|
createdAt: z.ZodDate;
|
316
340
|
updatedAt: z.ZodDate;
|
317
341
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
342
|
+
}, {
|
318
343
|
systemName: z.ZodString;
|
319
344
|
displayName: z.ZodString;
|
320
|
-
}
|
345
|
+
}>, "strip", z.ZodTypeAny, {
|
321
346
|
id: string;
|
322
347
|
createdAt: Date;
|
323
348
|
updatedAt: Date;
|
@@ -332,7 +357,7 @@ export declare const attributeContract: {
|
|
332
357
|
systemName: string;
|
333
358
|
displayName: string;
|
334
359
|
}>;
|
335
|
-
}
|
360
|
+
}>, "strip", z.ZodTypeAny, {
|
336
361
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
337
362
|
id: string;
|
338
363
|
position: number;
|
@@ -389,7 +414,7 @@ export declare const attributeContract: {
|
|
389
414
|
isRequired: boolean;
|
390
415
|
isUnique: boolean;
|
391
416
|
}>, "many">;
|
392
|
-
}
|
417
|
+
}>, "strip", z.ZodTypeAny, {
|
393
418
|
attributes: {
|
394
419
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
395
420
|
id: string;
|
@@ -463,23 +488,6 @@ export declare const attributeContract: {
|
|
463
488
|
error?: any;
|
464
489
|
}>;
|
465
490
|
};
|
466
|
-
path: "attributes";
|
467
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
468
|
-
'x-tenant': z.ZodString;
|
469
|
-
authorization: z.ZodString;
|
470
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
471
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
472
|
-
}, "strip", z.ZodTypeAny, {
|
473
|
-
'x-tenant': string;
|
474
|
-
authorization: string;
|
475
|
-
'x-client-timezone': string;
|
476
|
-
'x-code'?: string | undefined;
|
477
|
-
}, {
|
478
|
-
'x-tenant': string;
|
479
|
-
authorization: string;
|
480
|
-
'x-code'?: string | undefined;
|
481
|
-
'x-client-timezone'?: string | undefined;
|
482
|
-
}>>>;
|
483
491
|
};
|
484
492
|
updateAttribute: {
|
485
493
|
body: z.ZodObject<{
|
@@ -537,14 +545,33 @@ export declare const attributeContract: {
|
|
537
545
|
}, {
|
538
546
|
id: string;
|
539
547
|
}>;
|
548
|
+
path: "attributes/:id";
|
549
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
550
|
+
'x-tenant': z.ZodString;
|
551
|
+
authorization: z.ZodString;
|
552
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
553
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
554
|
+
}, "strip", z.ZodTypeAny, {
|
555
|
+
'x-tenant': string;
|
556
|
+
authorization: string;
|
557
|
+
'x-client-timezone': string;
|
558
|
+
'x-code'?: string | undefined;
|
559
|
+
}, {
|
560
|
+
'x-tenant': string;
|
561
|
+
authorization: string;
|
562
|
+
'x-code'?: string | undefined;
|
563
|
+
'x-client-timezone'?: string | undefined;
|
564
|
+
}>>>;
|
540
565
|
responses: {
|
541
|
-
200: z.ZodObject<{
|
566
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
542
567
|
requestId: z.ZodString;
|
543
|
-
|
568
|
+
}, {
|
569
|
+
attribute: z.ZodObject<z.objectUtil.extendShape<{
|
544
570
|
id: z.ZodString;
|
545
571
|
createdAt: z.ZodDate;
|
546
572
|
updatedAt: z.ZodDate;
|
547
573
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
574
|
+
}, {
|
548
575
|
systemName: z.ZodString;
|
549
576
|
displayName: z.ZodString;
|
550
577
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -553,13 +580,14 @@ export declare const attributeContract: {
|
|
553
580
|
isArchived: z.ZodBoolean;
|
554
581
|
isRequired: z.ZodBoolean;
|
555
582
|
isUnique: z.ZodBoolean;
|
556
|
-
options: z.ZodArray<z.ZodObject<{
|
557
|
-
position: z.ZodNumber;
|
558
|
-
value: z.ZodString;
|
583
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
559
584
|
label: z.ZodString;
|
585
|
+
value: z.ZodString;
|
560
586
|
isDefault: z.ZodBoolean;
|
587
|
+
position: z.ZodNumber;
|
588
|
+
}, {
|
561
589
|
id: z.ZodString;
|
562
|
-
}
|
590
|
+
}>, "strip", z.ZodTypeAny, {
|
563
591
|
id: string;
|
564
592
|
position: number;
|
565
593
|
value: string;
|
@@ -572,14 +600,15 @@ export declare const attributeContract: {
|
|
572
600
|
label: string;
|
573
601
|
isDefault: boolean;
|
574
602
|
}>, "many">;
|
575
|
-
group: z.ZodObject<{
|
603
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
576
604
|
id: z.ZodString;
|
577
605
|
createdAt: z.ZodDate;
|
578
606
|
updatedAt: z.ZodDate;
|
579
607
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
608
|
+
}, {
|
580
609
|
systemName: z.ZodString;
|
581
610
|
displayName: z.ZodString;
|
582
|
-
}
|
611
|
+
}>, "strip", z.ZodTypeAny, {
|
583
612
|
id: string;
|
584
613
|
createdAt: Date;
|
585
614
|
updatedAt: Date;
|
@@ -594,7 +623,7 @@ export declare const attributeContract: {
|
|
594
623
|
systemName: string;
|
595
624
|
displayName: string;
|
596
625
|
}>;
|
597
|
-
}
|
626
|
+
}>, "strip", z.ZodTypeAny, {
|
598
627
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
599
628
|
id: string;
|
600
629
|
position: number;
|
@@ -651,7 +680,7 @@ export declare const attributeContract: {
|
|
651
680
|
isRequired: boolean;
|
652
681
|
isUnique: boolean;
|
653
682
|
}>;
|
654
|
-
}
|
683
|
+
}>, "strip", z.ZodTypeAny, {
|
655
684
|
requestId: string;
|
656
685
|
attribute: {
|
657
686
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
@@ -725,23 +754,6 @@ export declare const attributeContract: {
|
|
725
754
|
error?: any;
|
726
755
|
}>;
|
727
756
|
};
|
728
|
-
path: "attributes/:id";
|
729
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
730
|
-
'x-tenant': z.ZodString;
|
731
|
-
authorization: z.ZodString;
|
732
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
733
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
734
|
-
}, "strip", z.ZodTypeAny, {
|
735
|
-
'x-tenant': string;
|
736
|
-
authorization: string;
|
737
|
-
'x-client-timezone': string;
|
738
|
-
'x-code'?: string | undefined;
|
739
|
-
}, {
|
740
|
-
'x-tenant': string;
|
741
|
-
authorization: string;
|
742
|
-
'x-code'?: string | undefined;
|
743
|
-
'x-client-timezone'?: string | undefined;
|
744
|
-
}>>>;
|
745
757
|
};
|
746
758
|
changeVisibility: {
|
747
759
|
body: z.ZodObject<{
|
@@ -759,11 +771,29 @@ export declare const attributeContract: {
|
|
759
771
|
}, {
|
760
772
|
id: string;
|
761
773
|
}>;
|
774
|
+
path: "attributes/visibility/:id";
|
775
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
776
|
+
'x-tenant': z.ZodString;
|
777
|
+
authorization: z.ZodString;
|
778
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
779
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
780
|
+
}, "strip", z.ZodTypeAny, {
|
781
|
+
'x-tenant': string;
|
782
|
+
authorization: string;
|
783
|
+
'x-client-timezone': string;
|
784
|
+
'x-code'?: string | undefined;
|
785
|
+
}, {
|
786
|
+
'x-tenant': string;
|
787
|
+
authorization: string;
|
788
|
+
'x-code'?: string | undefined;
|
789
|
+
'x-client-timezone'?: string | undefined;
|
790
|
+
}>>>;
|
762
791
|
responses: {
|
763
|
-
200: z.ZodObject<{
|
792
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
764
793
|
requestId: z.ZodString;
|
794
|
+
}, {
|
765
795
|
message: z.ZodOptional<z.ZodString>;
|
766
|
-
}
|
796
|
+
}>, "strip", z.ZodTypeAny, {
|
767
797
|
requestId: string;
|
768
798
|
message?: string | undefined;
|
769
799
|
}, {
|
@@ -781,23 +811,6 @@ export declare const attributeContract: {
|
|
781
811
|
error?: any;
|
782
812
|
}>;
|
783
813
|
};
|
784
|
-
path: "attributes/visibility/:id";
|
785
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
786
|
-
'x-tenant': z.ZodString;
|
787
|
-
authorization: z.ZodString;
|
788
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
789
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
790
|
-
}, "strip", z.ZodTypeAny, {
|
791
|
-
'x-tenant': string;
|
792
|
-
authorization: string;
|
793
|
-
'x-client-timezone': string;
|
794
|
-
'x-code'?: string | undefined;
|
795
|
-
}, {
|
796
|
-
'x-tenant': string;
|
797
|
-
authorization: string;
|
798
|
-
'x-code'?: string | undefined;
|
799
|
-
'x-client-timezone'?: string | undefined;
|
800
|
-
}>>>;
|
801
814
|
};
|
802
815
|
changeRequired: {
|
803
816
|
body: z.ZodObject<{
|
@@ -815,11 +828,29 @@ export declare const attributeContract: {
|
|
815
828
|
}, {
|
816
829
|
id: string;
|
817
830
|
}>;
|
831
|
+
path: "attributes/required/:id";
|
832
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
833
|
+
'x-tenant': z.ZodString;
|
834
|
+
authorization: z.ZodString;
|
835
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
836
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
837
|
+
}, "strip", z.ZodTypeAny, {
|
838
|
+
'x-tenant': string;
|
839
|
+
authorization: string;
|
840
|
+
'x-client-timezone': string;
|
841
|
+
'x-code'?: string | undefined;
|
842
|
+
}, {
|
843
|
+
'x-tenant': string;
|
844
|
+
authorization: string;
|
845
|
+
'x-code'?: string | undefined;
|
846
|
+
'x-client-timezone'?: string | undefined;
|
847
|
+
}>>>;
|
818
848
|
responses: {
|
819
|
-
200: z.ZodObject<{
|
849
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
820
850
|
requestId: z.ZodString;
|
851
|
+
}, {
|
821
852
|
message: z.ZodOptional<z.ZodString>;
|
822
|
-
}
|
853
|
+
}>, "strip", z.ZodTypeAny, {
|
823
854
|
requestId: string;
|
824
855
|
message?: string | undefined;
|
825
856
|
}, {
|
@@ -837,23 +868,6 @@ export declare const attributeContract: {
|
|
837
868
|
error?: any;
|
838
869
|
}>;
|
839
870
|
};
|
840
|
-
path: "attributes/required/:id";
|
841
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
842
|
-
'x-tenant': z.ZodString;
|
843
|
-
authorization: z.ZodString;
|
844
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
845
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
846
|
-
}, "strip", z.ZodTypeAny, {
|
847
|
-
'x-tenant': string;
|
848
|
-
authorization: string;
|
849
|
-
'x-client-timezone': string;
|
850
|
-
'x-code'?: string | undefined;
|
851
|
-
}, {
|
852
|
-
'x-tenant': string;
|
853
|
-
authorization: string;
|
854
|
-
'x-code'?: string | undefined;
|
855
|
-
'x-client-timezone'?: string | undefined;
|
856
|
-
}>>>;
|
857
871
|
};
|
858
872
|
updatePosition: {
|
859
873
|
body: z.ZodObject<{
|
@@ -879,11 +893,29 @@ export declare const attributeContract: {
|
|
879
893
|
}[];
|
880
894
|
}>;
|
881
895
|
method: "POST";
|
896
|
+
path: "attributes/position";
|
897
|
+
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
898
|
+
'x-tenant': z.ZodString;
|
899
|
+
authorization: z.ZodString;
|
900
|
+
'x-code': z.ZodOptional<z.ZodString>;
|
901
|
+
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
902
|
+
}, "strip", z.ZodTypeAny, {
|
903
|
+
'x-tenant': string;
|
904
|
+
authorization: string;
|
905
|
+
'x-client-timezone': string;
|
906
|
+
'x-code'?: string | undefined;
|
907
|
+
}, {
|
908
|
+
'x-tenant': string;
|
909
|
+
authorization: string;
|
910
|
+
'x-code'?: string | undefined;
|
911
|
+
'x-client-timezone'?: string | undefined;
|
912
|
+
}>>>;
|
882
913
|
responses: {
|
883
|
-
200: z.ZodObject<{
|
914
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
884
915
|
requestId: z.ZodString;
|
916
|
+
}, {
|
885
917
|
message: z.ZodOptional<z.ZodString>;
|
886
|
-
}
|
918
|
+
}>, "strip", z.ZodTypeAny, {
|
887
919
|
requestId: string;
|
888
920
|
message?: string | undefined;
|
889
921
|
}, {
|
@@ -901,7 +933,18 @@ export declare const attributeContract: {
|
|
901
933
|
error?: any;
|
902
934
|
}>;
|
903
935
|
};
|
904
|
-
|
936
|
+
};
|
937
|
+
deleteAttribute: {
|
938
|
+
body: z.ZodOptional<z.ZodAny>;
|
939
|
+
method: "DELETE";
|
940
|
+
pathParams: z.ZodObject<{
|
941
|
+
id: z.ZodString;
|
942
|
+
}, "strip", z.ZodTypeAny, {
|
943
|
+
id: string;
|
944
|
+
}, {
|
945
|
+
id: string;
|
946
|
+
}>;
|
947
|
+
path: "attributes/:id";
|
905
948
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
906
949
|
'x-tenant': z.ZodString;
|
907
950
|
authorization: z.ZodString;
|
@@ -918,22 +961,12 @@ export declare const attributeContract: {
|
|
918
961
|
'x-code'?: string | undefined;
|
919
962
|
'x-client-timezone'?: string | undefined;
|
920
963
|
}>>>;
|
921
|
-
};
|
922
|
-
deleteAttribute: {
|
923
|
-
body: z.ZodOptional<z.ZodAny>;
|
924
|
-
method: "DELETE";
|
925
|
-
pathParams: z.ZodObject<{
|
926
|
-
id: z.ZodString;
|
927
|
-
}, "strip", z.ZodTypeAny, {
|
928
|
-
id: string;
|
929
|
-
}, {
|
930
|
-
id: string;
|
931
|
-
}>;
|
932
964
|
responses: {
|
933
|
-
200: z.ZodObject<{
|
965
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
934
966
|
requestId: z.ZodString;
|
967
|
+
}, {
|
935
968
|
message: z.ZodString;
|
936
|
-
}
|
969
|
+
}>, "strip", z.ZodTypeAny, {
|
937
970
|
message: string;
|
938
971
|
requestId: string;
|
939
972
|
}, {
|
@@ -951,23 +984,6 @@ export declare const attributeContract: {
|
|
951
984
|
error?: any;
|
952
985
|
}>;
|
953
986
|
};
|
954
|
-
path: "attributes/:id";
|
955
|
-
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
956
|
-
'x-tenant': z.ZodString;
|
957
|
-
authorization: z.ZodString;
|
958
|
-
'x-code': z.ZodOptional<z.ZodString>;
|
959
|
-
'x-client-timezone': z.ZodDefault<z.ZodString>;
|
960
|
-
}, "strip", z.ZodTypeAny, {
|
961
|
-
'x-tenant': string;
|
962
|
-
authorization: string;
|
963
|
-
'x-client-timezone': string;
|
964
|
-
'x-code'?: string | undefined;
|
965
|
-
}, {
|
966
|
-
'x-tenant': string;
|
967
|
-
authorization: string;
|
968
|
-
'x-code'?: string | undefined;
|
969
|
-
'x-client-timezone'?: string | undefined;
|
970
|
-
}>>>;
|
971
987
|
};
|
972
988
|
};
|
973
989
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/attribute/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACvE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACzE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,iBAAiB
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/attribute/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EACL,qBAAqB,EACrB,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACrB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACvE,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC3E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACzE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6F7B,CAAC"}
|
@@ -16,11 +16,12 @@ export declare const AttributeOptionSchema: z.ZodObject<{
|
|
16
16
|
label: string;
|
17
17
|
isDefault: boolean;
|
18
18
|
}>;
|
19
|
-
export declare const AttributeSchema: z.ZodObject<{
|
19
|
+
export declare const AttributeSchema: z.ZodObject<z.objectUtil.extendShape<{
|
20
20
|
id: z.ZodString;
|
21
21
|
createdAt: z.ZodDate;
|
22
22
|
updatedAt: z.ZodDate;
|
23
23
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
24
|
+
}, {
|
24
25
|
systemName: z.ZodString;
|
25
26
|
displayName: z.ZodString;
|
26
27
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -29,13 +30,14 @@ export declare const AttributeSchema: z.ZodObject<{
|
|
29
30
|
isArchived: z.ZodBoolean;
|
30
31
|
isRequired: z.ZodBoolean;
|
31
32
|
isUnique: z.ZodBoolean;
|
32
|
-
options: z.ZodArray<z.ZodObject<{
|
33
|
-
position: z.ZodNumber;
|
34
|
-
value: z.ZodString;
|
33
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
35
34
|
label: z.ZodString;
|
35
|
+
value: z.ZodString;
|
36
36
|
isDefault: z.ZodBoolean;
|
37
|
+
position: z.ZodNumber;
|
38
|
+
}, {
|
37
39
|
id: z.ZodString;
|
38
|
-
}
|
40
|
+
}>, "strip", z.ZodTypeAny, {
|
39
41
|
id: string;
|
40
42
|
position: number;
|
41
43
|
value: string;
|
@@ -48,14 +50,15 @@ export declare const AttributeSchema: z.ZodObject<{
|
|
48
50
|
label: string;
|
49
51
|
isDefault: boolean;
|
50
52
|
}>, "many">;
|
51
|
-
group: z.ZodObject<{
|
53
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
52
54
|
id: z.ZodString;
|
53
55
|
createdAt: z.ZodDate;
|
54
56
|
updatedAt: z.ZodDate;
|
55
57
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
58
|
+
}, {
|
56
59
|
systemName: z.ZodString;
|
57
60
|
displayName: z.ZodString;
|
58
|
-
}
|
61
|
+
}>, "strip", z.ZodTypeAny, {
|
59
62
|
id: string;
|
60
63
|
createdAt: Date;
|
61
64
|
updatedAt: Date;
|
@@ -70,7 +73,7 @@ export declare const AttributeSchema: z.ZodObject<{
|
|
70
73
|
systemName: string;
|
71
74
|
displayName: string;
|
72
75
|
}>;
|
73
|
-
}
|
76
|
+
}>, "strip", z.ZodTypeAny, {
|
74
77
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
75
78
|
id: string;
|
76
79
|
position: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/attribute/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,mBAAmB,8JAO9B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAOH,eAAO,MAAM,eAAe
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/attribute/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAGpB,eAAO,MAAM,mBAAmB,8JAO9B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAOH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW1B,CAAC"}
|