@kl1/contracts 1.4.62 → 1.4.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +21 -20
- package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/activity-log/schema.d.ts +4 -3
- package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +132 -116
- package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute/schema.d.ts +5 -2
- package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/attribute-option/schema.d.ts +1 -0
- package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/auth/index.d.ts +22 -20
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +148 -126
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +9 -6
- package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +4 -2
- package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/index.d.ts +29 -22
- package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
- package/dist/api-contracts/src/botpress/validation.d.ts +20 -17
- package/dist/api-contracts/src/botpress/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/index.d.ts +16 -4
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/business-calendar/schema.d.ts +5 -0
- package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/call-log/schema.d.ts +3 -2
- package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +100 -91
- package/dist/api-contracts/src/category/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/schema.d.ts +1 -0
- package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/index.d.ts +3915 -1965
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +90 -82
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +178 -104
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +13716 -12748
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +3111 -2895
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +3523 -3254
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +227 -155
- package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/schema.d.ts +52 -29
- package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/index.d.ts +162 -55
- package/dist/api-contracts/src/company/index.d.ts.map +1 -1
- package/dist/api-contracts/src/company/schema.d.ts +15 -6
- package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/company/validation.d.ts +86 -30
- package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/index.d.ts +437 -318
- package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/schema.d.ts +28 -14
- package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact/validation.d.ts +137 -56
- package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-email/schema.d.ts +1 -0
- package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contact-phone/schema.d.ts +1 -0
- package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +66841 -98172
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/custom-field/schema.d.ts +1 -0
- 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 +1 -0
- package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-intelligence/index.d.ts +44 -41
- package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +686 -627
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +464 -402
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/validation.d.ts +40 -40
- package/dist/api-contracts/src/dashboard/index.d.ts +355 -312
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +3 -2
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +14 -10
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +2 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/schema.d.ts +1 -0
- package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/export/index.d.ts +2 -1
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/extension/index.d.ts +106 -100
- package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +3335 -3151
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +100 -81
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +99 -83
- 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 +1 -0
- package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +49 -30
- package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/schema.d.ts +10 -4
- package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
- 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 +2116 -1968
- 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/invoice/index.d.ts +3 -1
- package/dist/api-contracts/src/invoice/index.d.ts.map +1 -1
- package/dist/api-contracts/src/invoice/schema.d.ts +1 -0
- package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/klink-chat/index.d.ts +5930 -3695
- package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/klink-chat/schema.d.ts +8 -8
- package/dist/api-contracts/src/klink-chat/validation.d.ts +3 -3
- package/dist/api-contracts/src/line/index.d.ts +2077 -1937
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/schema.d.ts +10 -9
- package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +157 -148
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/log-form/schema.d.ts +1 -0
- package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/account-contract.d.ts +223 -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 +2 -1
- 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 +426 -306
- package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts +12 -6
- package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/message-contract.d.ts +86 -80
- package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/room-contract.d.ts +105 -46
- package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +27 -0
- package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +3 -0
- package/dist/api-contracts/src/mail/schemas/account.schema.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 +34 -21
- 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 +18 -6
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/index.d.ts +2109 -1960
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +99 -83
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +20 -13
- package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/schema.d.ts +12 -9
- package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/validation.d.ts +4 -3
- package/dist/api-contracts/src/notification/validation.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 +87 -83
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +4 -3
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/index.d.ts +4516 -104
- package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/schema.d.ts +20 -6
- package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/public-api/validation.d.ts +63 -38
- package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +80 -75
- package/dist/api-contracts/src/role/index.d.ts.map +1 -1
- package/dist/api-contracts/src/sms/index.d.ts +588 -542
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +32 -10
- package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/schema.d.ts +7 -0
- package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/validation.d.ts +3 -2
- package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/index.d.ts +474 -6
- package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/subscription/schema.d.ts +31 -0
- package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +65 -58
- package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/schema.d.ts +1 -0
- package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tag-group/schema.d.ts +1 -0
- package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telegram/index.d.ts +2505 -2381
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +38 -463
- 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 +5 -6
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.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 +756 -702
- package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +170 -144
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/validation.d.ts +43 -39
- 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 +1 -0
- 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 +1 -0
- package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/tenant/schema.d.ts +1 -0
- package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +564 -452
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/schema.d.ts +47 -21
- package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +53 -51
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/index.d.ts +32 -30
- package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
- package/dist/api-contracts/src/upload/schema.d.ts +1 -0
- package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/index.d.ts +137 -126
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/schema.d.ts +4 -3
- package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/user/validation.d.ts +3 -2
- package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +34 -32
- 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 +5 -3
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +2494 -2370
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +1754 -1630
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +1848 -1705
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/validation.d.ts +15 -4
- package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +145 -132
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +1 -0
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +16 -16
- package/dist/api-contracts/src/workflow-rule/index.d.ts +2062 -1907
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/schema.d.ts +1 -0
- package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +128 -109
- 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 +3 -0
- 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 +19 -18
- package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
- package/dist/api-contracts/utils.d.ts +2 -1
- package/dist/api-contracts/utils.d.ts.map +1 -1
- package/dist/entities/src/enums/chat.d.ts +2 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +1296 -1084
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1295 -1084
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
@@ -11,47 +11,72 @@ export declare const companyContract: {
|
|
11
11
|
body: z.ZodObject<{
|
12
12
|
name: z.ZodObject<{
|
13
13
|
value: z.ZodString;
|
14
|
+
isRequired: z.ZodBoolean;
|
15
|
+
attributeId: z.ZodString;
|
14
16
|
}, "strip", z.ZodTypeAny, {
|
15
17
|
value: string;
|
18
|
+
isRequired: boolean;
|
19
|
+
attributeId: string;
|
16
20
|
}, {
|
17
21
|
value: string;
|
22
|
+
isRequired: boolean;
|
23
|
+
attributeId: string;
|
18
24
|
}>;
|
19
25
|
phone: z.ZodObject<{
|
20
26
|
value: z.ZodString;
|
27
|
+
isRequired: z.ZodBoolean;
|
28
|
+
attributeId: z.ZodString;
|
21
29
|
}, "strip", z.ZodTypeAny, {
|
22
30
|
value: string;
|
31
|
+
isRequired: boolean;
|
32
|
+
attributeId: string;
|
23
33
|
}, {
|
24
34
|
value: string;
|
35
|
+
isRequired: boolean;
|
36
|
+
attributeId: string;
|
25
37
|
}>;
|
26
38
|
address: z.ZodObject<{
|
27
39
|
value: z.ZodString;
|
40
|
+
isRequired: z.ZodBoolean;
|
41
|
+
attributeId: z.ZodString;
|
28
42
|
}, "strip", z.ZodTypeAny, {
|
29
43
|
value: string;
|
44
|
+
isRequired: boolean;
|
45
|
+
attributeId: string;
|
30
46
|
}, {
|
31
47
|
value: string;
|
48
|
+
isRequired: boolean;
|
49
|
+
attributeId: string;
|
32
50
|
}>;
|
33
51
|
industry: z.ZodObject<{
|
34
52
|
value: z.ZodString;
|
53
|
+
isRequired: z.ZodBoolean;
|
54
|
+
attributeId: z.ZodString;
|
35
55
|
}, "strip", z.ZodTypeAny, {
|
36
56
|
value: string;
|
57
|
+
isRequired: boolean;
|
58
|
+
attributeId: string;
|
37
59
|
}, {
|
38
60
|
value: string;
|
61
|
+
isRequired: boolean;
|
62
|
+
attributeId: string;
|
39
63
|
}>;
|
40
64
|
customFields: z.ZodArray<z.ZodObject<{
|
41
65
|
isRequired: z.ZodBoolean;
|
42
66
|
attributeId: z.ZodString;
|
67
|
+
} & {
|
43
68
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
44
69
|
type: z.ZodString;
|
45
70
|
isDefaultAttribute: z.ZodBoolean;
|
46
71
|
}, "strip", z.ZodTypeAny, {
|
47
72
|
type: string;
|
48
|
-
value:
|
73
|
+
value: string | string[];
|
49
74
|
isRequired: boolean;
|
50
75
|
attributeId: string;
|
51
76
|
isDefaultAttribute: boolean;
|
52
77
|
}, {
|
53
78
|
type: string;
|
54
|
-
value:
|
79
|
+
value: string | string[];
|
55
80
|
isRequired: boolean;
|
56
81
|
attributeId: string;
|
57
82
|
isDefaultAttribute: boolean;
|
@@ -59,19 +84,27 @@ export declare const companyContract: {
|
|
59
84
|
}, "strip", z.ZodTypeAny, {
|
60
85
|
name: {
|
61
86
|
value: string;
|
87
|
+
isRequired: boolean;
|
88
|
+
attributeId: string;
|
62
89
|
};
|
63
90
|
address: {
|
64
91
|
value: string;
|
92
|
+
isRequired: boolean;
|
93
|
+
attributeId: string;
|
65
94
|
};
|
66
95
|
phone: {
|
67
96
|
value: string;
|
97
|
+
isRequired: boolean;
|
98
|
+
attributeId: string;
|
68
99
|
};
|
69
100
|
industry: {
|
70
101
|
value: string;
|
102
|
+
isRequired: boolean;
|
103
|
+
attributeId: string;
|
71
104
|
};
|
72
105
|
customFields: {
|
73
106
|
type: string;
|
74
|
-
value:
|
107
|
+
value: string | string[];
|
75
108
|
isRequired: boolean;
|
76
109
|
attributeId: string;
|
77
110
|
isDefaultAttribute: boolean;
|
@@ -79,19 +112,27 @@ export declare const companyContract: {
|
|
79
112
|
}, {
|
80
113
|
name: {
|
81
114
|
value: string;
|
115
|
+
isRequired: boolean;
|
116
|
+
attributeId: string;
|
82
117
|
};
|
83
118
|
address: {
|
84
119
|
value: string;
|
120
|
+
isRequired: boolean;
|
121
|
+
attributeId: string;
|
85
122
|
};
|
86
123
|
phone: {
|
87
124
|
value: string;
|
125
|
+
isRequired: boolean;
|
126
|
+
attributeId: string;
|
88
127
|
};
|
89
128
|
industry: {
|
90
129
|
value: string;
|
130
|
+
isRequired: boolean;
|
131
|
+
attributeId: string;
|
91
132
|
};
|
92
133
|
customFields: {
|
93
134
|
type: string;
|
94
|
-
value:
|
135
|
+
value: string | string[];
|
95
136
|
isRequired: boolean;
|
96
137
|
attributeId: string;
|
97
138
|
isDefaultAttribute: boolean;
|
@@ -99,14 +140,17 @@ export declare const companyContract: {
|
|
99
140
|
}>;
|
100
141
|
summary: "Create a new company";
|
101
142
|
method: "POST";
|
143
|
+
path: "ccs/api/v1/company";
|
102
144
|
responses: {
|
103
145
|
201: z.ZodObject<{
|
104
146
|
requestId: z.ZodString;
|
147
|
+
} & {
|
105
148
|
data: z.ZodObject<{
|
106
149
|
id: z.ZodString;
|
107
150
|
createdAt: z.ZodDate;
|
108
151
|
updatedAt: z.ZodDate;
|
109
152
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
153
|
+
} & {
|
110
154
|
name: z.ZodOptional<z.ZodString>;
|
111
155
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
112
156
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -116,6 +160,7 @@ export declare const companyContract: {
|
|
116
160
|
createdAt: z.ZodDate;
|
117
161
|
updatedAt: z.ZodDate;
|
118
162
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
163
|
+
} & {
|
119
164
|
textValue: z.ZodNullable<z.ZodString>;
|
120
165
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
121
166
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -125,6 +170,7 @@ export declare const companyContract: {
|
|
125
170
|
createdAt: z.ZodDate;
|
126
171
|
updatedAt: z.ZodDate;
|
127
172
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
173
|
+
} & {
|
128
174
|
systemName: z.ZodString;
|
129
175
|
displayName: z.ZodString;
|
130
176
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -134,10 +180,11 @@ export declare const companyContract: {
|
|
134
180
|
isRequired: z.ZodBoolean;
|
135
181
|
isUnique: z.ZodBoolean;
|
136
182
|
options: z.ZodArray<z.ZodObject<{
|
137
|
-
position: z.ZodNumber;
|
138
|
-
value: z.ZodString;
|
139
183
|
label: z.ZodString;
|
184
|
+
value: z.ZodString;
|
140
185
|
isDefault: z.ZodBoolean;
|
186
|
+
position: z.ZodNumber;
|
187
|
+
} & {
|
141
188
|
id: z.ZodString;
|
142
189
|
}, "strip", z.ZodTypeAny, {
|
143
190
|
id: string;
|
@@ -157,6 +204,7 @@ export declare const companyContract: {
|
|
157
204
|
createdAt: z.ZodDate;
|
158
205
|
updatedAt: z.ZodDate;
|
159
206
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
207
|
+
} & {
|
160
208
|
systemName: z.ZodString;
|
161
209
|
displayName: z.ZodString;
|
162
210
|
}, "strip", z.ZodTypeAny, {
|
@@ -254,8 +302,8 @@ export declare const companyContract: {
|
|
254
302
|
updatedAt: Date;
|
255
303
|
deletedAt: Date | null;
|
256
304
|
name?: string | undefined;
|
257
|
-
phone?: string | null | undefined;
|
258
305
|
address?: string | null | undefined;
|
306
|
+
phone?: string | null | undefined;
|
259
307
|
industry?: string | null | undefined;
|
260
308
|
customFields?: {
|
261
309
|
id: string;
|
@@ -287,8 +335,8 @@ export declare const companyContract: {
|
|
287
335
|
updatedAt: Date;
|
288
336
|
deletedAt: Date | null;
|
289
337
|
name?: string | undefined;
|
290
|
-
phone?: string | null | undefined;
|
291
338
|
address?: string | null | undefined;
|
339
|
+
phone?: string | null | undefined;
|
292
340
|
industry?: string | null | undefined;
|
293
341
|
customFields?: {
|
294
342
|
id: string;
|
@@ -322,8 +370,8 @@ export declare const companyContract: {
|
|
322
370
|
updatedAt: Date;
|
323
371
|
deletedAt: Date | null;
|
324
372
|
name?: string | undefined;
|
325
|
-
phone?: string | null | undefined;
|
326
373
|
address?: string | null | undefined;
|
374
|
+
phone?: string | null | undefined;
|
327
375
|
industry?: string | null | undefined;
|
328
376
|
customFields?: {
|
329
377
|
id: string;
|
@@ -358,8 +406,8 @@ export declare const companyContract: {
|
|
358
406
|
updatedAt: Date;
|
359
407
|
deletedAt: Date | null;
|
360
408
|
name?: string | undefined;
|
361
|
-
phone?: string | null | undefined;
|
362
409
|
address?: string | null | undefined;
|
410
|
+
phone?: string | null | undefined;
|
363
411
|
industry?: string | null | undefined;
|
364
412
|
customFields?: {
|
365
413
|
id: string;
|
@@ -440,53 +488,77 @@ export declare const companyContract: {
|
|
440
488
|
error?: any;
|
441
489
|
}>;
|
442
490
|
};
|
443
|
-
path: "ccs/api/v1/company";
|
444
491
|
};
|
445
492
|
update: {
|
446
493
|
body: z.ZodObject<{
|
447
494
|
name: z.ZodOptional<z.ZodObject<{
|
448
495
|
value: z.ZodString;
|
496
|
+
isRequired: z.ZodBoolean;
|
497
|
+
attributeId: z.ZodString;
|
449
498
|
}, "strip", z.ZodTypeAny, {
|
450
499
|
value: string;
|
500
|
+
isRequired: boolean;
|
501
|
+
attributeId: string;
|
451
502
|
}, {
|
452
503
|
value: string;
|
504
|
+
isRequired: boolean;
|
505
|
+
attributeId: string;
|
453
506
|
}>>;
|
454
507
|
phone: z.ZodOptional<z.ZodObject<{
|
455
508
|
value: z.ZodString;
|
509
|
+
isRequired: z.ZodBoolean;
|
510
|
+
attributeId: z.ZodString;
|
456
511
|
}, "strip", z.ZodTypeAny, {
|
457
512
|
value: string;
|
513
|
+
isRequired: boolean;
|
514
|
+
attributeId: string;
|
458
515
|
}, {
|
459
516
|
value: string;
|
517
|
+
isRequired: boolean;
|
518
|
+
attributeId: string;
|
460
519
|
}>>;
|
461
520
|
address: z.ZodOptional<z.ZodObject<{
|
462
521
|
value: z.ZodString;
|
522
|
+
isRequired: z.ZodBoolean;
|
523
|
+
attributeId: z.ZodString;
|
463
524
|
}, "strip", z.ZodTypeAny, {
|
464
525
|
value: string;
|
526
|
+
isRequired: boolean;
|
527
|
+
attributeId: string;
|
465
528
|
}, {
|
466
529
|
value: string;
|
530
|
+
isRequired: boolean;
|
531
|
+
attributeId: string;
|
467
532
|
}>>;
|
468
533
|
industry: z.ZodOptional<z.ZodObject<{
|
469
534
|
value: z.ZodString;
|
535
|
+
isRequired: z.ZodBoolean;
|
536
|
+
attributeId: z.ZodString;
|
470
537
|
}, "strip", z.ZodTypeAny, {
|
471
538
|
value: string;
|
539
|
+
isRequired: boolean;
|
540
|
+
attributeId: string;
|
472
541
|
}, {
|
473
542
|
value: string;
|
543
|
+
isRequired: boolean;
|
544
|
+
attributeId: string;
|
474
545
|
}>>;
|
475
546
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
476
547
|
isRequired: z.ZodBoolean;
|
477
548
|
attributeId: z.ZodString;
|
549
|
+
} & {
|
478
550
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
479
551
|
type: z.ZodString;
|
480
552
|
isDefaultAttribute: z.ZodBoolean;
|
481
553
|
}, "strip", z.ZodTypeAny, {
|
482
554
|
type: string;
|
483
|
-
value:
|
555
|
+
value: string | string[];
|
484
556
|
isRequired: boolean;
|
485
557
|
attributeId: string;
|
486
558
|
isDefaultAttribute: boolean;
|
487
559
|
}, {
|
488
560
|
type: string;
|
489
|
-
value:
|
561
|
+
value: string | string[];
|
490
562
|
isRequired: boolean;
|
491
563
|
attributeId: string;
|
492
564
|
isDefaultAttribute: boolean;
|
@@ -494,19 +566,27 @@ export declare const companyContract: {
|
|
494
566
|
}, "strip", z.ZodTypeAny, {
|
495
567
|
name?: {
|
496
568
|
value: string;
|
569
|
+
isRequired: boolean;
|
570
|
+
attributeId: string;
|
497
571
|
} | undefined;
|
498
|
-
|
572
|
+
address?: {
|
499
573
|
value: string;
|
574
|
+
isRequired: boolean;
|
575
|
+
attributeId: string;
|
500
576
|
} | undefined;
|
501
|
-
|
577
|
+
phone?: {
|
502
578
|
value: string;
|
579
|
+
isRequired: boolean;
|
580
|
+
attributeId: string;
|
503
581
|
} | undefined;
|
504
582
|
industry?: {
|
505
583
|
value: string;
|
584
|
+
isRequired: boolean;
|
585
|
+
attributeId: string;
|
506
586
|
} | undefined;
|
507
587
|
customFields?: {
|
508
588
|
type: string;
|
509
|
-
value:
|
589
|
+
value: string | string[];
|
510
590
|
isRequired: boolean;
|
511
591
|
attributeId: string;
|
512
592
|
isDefaultAttribute: boolean;
|
@@ -514,19 +594,27 @@ export declare const companyContract: {
|
|
514
594
|
}, {
|
515
595
|
name?: {
|
516
596
|
value: string;
|
597
|
+
isRequired: boolean;
|
598
|
+
attributeId: string;
|
517
599
|
} | undefined;
|
518
|
-
|
600
|
+
address?: {
|
519
601
|
value: string;
|
602
|
+
isRequired: boolean;
|
603
|
+
attributeId: string;
|
520
604
|
} | undefined;
|
521
|
-
|
605
|
+
phone?: {
|
522
606
|
value: string;
|
607
|
+
isRequired: boolean;
|
608
|
+
attributeId: string;
|
523
609
|
} | undefined;
|
524
610
|
industry?: {
|
525
611
|
value: string;
|
612
|
+
isRequired: boolean;
|
613
|
+
attributeId: string;
|
526
614
|
} | undefined;
|
527
615
|
customFields?: {
|
528
616
|
type: string;
|
529
|
-
value:
|
617
|
+
value: string | string[];
|
530
618
|
isRequired: boolean;
|
531
619
|
attributeId: string;
|
532
620
|
isDefaultAttribute: boolean;
|
@@ -541,14 +629,17 @@ export declare const companyContract: {
|
|
541
629
|
}, {
|
542
630
|
id: string;
|
543
631
|
}>;
|
632
|
+
path: "ccs/api/v1/company/:id";
|
544
633
|
responses: {
|
545
634
|
201: z.ZodObject<{
|
546
635
|
requestId: z.ZodString;
|
636
|
+
} & {
|
547
637
|
data: z.ZodObject<{
|
548
638
|
id: z.ZodString;
|
549
639
|
createdAt: z.ZodDate;
|
550
640
|
updatedAt: z.ZodDate;
|
551
641
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
642
|
+
} & {
|
552
643
|
name: z.ZodOptional<z.ZodString>;
|
553
644
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
554
645
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -558,6 +649,7 @@ export declare const companyContract: {
|
|
558
649
|
createdAt: z.ZodDate;
|
559
650
|
updatedAt: z.ZodDate;
|
560
651
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
652
|
+
} & {
|
561
653
|
textValue: z.ZodNullable<z.ZodString>;
|
562
654
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
563
655
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -567,6 +659,7 @@ export declare const companyContract: {
|
|
567
659
|
createdAt: z.ZodDate;
|
568
660
|
updatedAt: z.ZodDate;
|
569
661
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
662
|
+
} & {
|
570
663
|
systemName: z.ZodString;
|
571
664
|
displayName: z.ZodString;
|
572
665
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -576,10 +669,11 @@ export declare const companyContract: {
|
|
576
669
|
isRequired: z.ZodBoolean;
|
577
670
|
isUnique: z.ZodBoolean;
|
578
671
|
options: z.ZodArray<z.ZodObject<{
|
579
|
-
position: z.ZodNumber;
|
580
|
-
value: z.ZodString;
|
581
672
|
label: z.ZodString;
|
673
|
+
value: z.ZodString;
|
582
674
|
isDefault: z.ZodBoolean;
|
675
|
+
position: z.ZodNumber;
|
676
|
+
} & {
|
583
677
|
id: z.ZodString;
|
584
678
|
}, "strip", z.ZodTypeAny, {
|
585
679
|
id: string;
|
@@ -599,6 +693,7 @@ export declare const companyContract: {
|
|
599
693
|
createdAt: z.ZodDate;
|
600
694
|
updatedAt: z.ZodDate;
|
601
695
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
696
|
+
} & {
|
602
697
|
systemName: z.ZodString;
|
603
698
|
displayName: z.ZodString;
|
604
699
|
}, "strip", z.ZodTypeAny, {
|
@@ -696,8 +791,8 @@ export declare const companyContract: {
|
|
696
791
|
updatedAt: Date;
|
697
792
|
deletedAt: Date | null;
|
698
793
|
name?: string | undefined;
|
699
|
-
phone?: string | null | undefined;
|
700
794
|
address?: string | null | undefined;
|
795
|
+
phone?: string | null | undefined;
|
701
796
|
industry?: string | null | undefined;
|
702
797
|
customFields?: {
|
703
798
|
id: string;
|
@@ -729,8 +824,8 @@ export declare const companyContract: {
|
|
729
824
|
updatedAt: Date;
|
730
825
|
deletedAt: Date | null;
|
731
826
|
name?: string | undefined;
|
732
|
-
phone?: string | null | undefined;
|
733
827
|
address?: string | null | undefined;
|
828
|
+
phone?: string | null | undefined;
|
734
829
|
industry?: string | null | undefined;
|
735
830
|
customFields?: {
|
736
831
|
id: string;
|
@@ -764,8 +859,8 @@ export declare const companyContract: {
|
|
764
859
|
updatedAt: Date;
|
765
860
|
deletedAt: Date | null;
|
766
861
|
name?: string | undefined;
|
767
|
-
phone?: string | null | undefined;
|
768
862
|
address?: string | null | undefined;
|
863
|
+
phone?: string | null | undefined;
|
769
864
|
industry?: string | null | undefined;
|
770
865
|
customFields?: {
|
771
866
|
id: string;
|
@@ -800,8 +895,8 @@ export declare const companyContract: {
|
|
800
895
|
updatedAt: Date;
|
801
896
|
deletedAt: Date | null;
|
802
897
|
name?: string | undefined;
|
803
|
-
phone?: string | null | undefined;
|
804
898
|
address?: string | null | undefined;
|
899
|
+
phone?: string | null | undefined;
|
805
900
|
industry?: string | null | undefined;
|
806
901
|
customFields?: {
|
807
902
|
id: string;
|
@@ -882,7 +977,6 @@ export declare const companyContract: {
|
|
882
977
|
error?: any;
|
883
978
|
}>;
|
884
979
|
};
|
885
|
-
path: "ccs/api/v1/company/:id";
|
886
980
|
};
|
887
981
|
delete: {
|
888
982
|
body: null;
|
@@ -895,9 +989,11 @@ export declare const companyContract: {
|
|
895
989
|
}, {
|
896
990
|
id: string;
|
897
991
|
}>;
|
992
|
+
path: "ccs/api/v1/company/:id";
|
898
993
|
responses: {
|
899
994
|
201: z.ZodObject<{
|
900
995
|
requestId: z.ZodString;
|
996
|
+
} & {
|
901
997
|
message: z.ZodString;
|
902
998
|
}, "strip", z.ZodTypeAny, {
|
903
999
|
message: string;
|
@@ -958,7 +1054,6 @@ export declare const companyContract: {
|
|
958
1054
|
error?: any;
|
959
1055
|
}>;
|
960
1056
|
};
|
961
|
-
path: "ccs/api/v1/company/:id";
|
962
1057
|
};
|
963
1058
|
getById: {
|
964
1059
|
summary: "Get a company by id";
|
@@ -970,14 +1065,17 @@ export declare const companyContract: {
|
|
970
1065
|
}, {
|
971
1066
|
id: string;
|
972
1067
|
}>;
|
1068
|
+
path: "ccs/api/v1/company/:id";
|
973
1069
|
responses: {
|
974
1070
|
200: z.ZodObject<{
|
975
1071
|
requestId: z.ZodString;
|
1072
|
+
} & {
|
976
1073
|
data: z.ZodObject<{
|
977
1074
|
id: z.ZodString;
|
978
1075
|
createdAt: z.ZodDate;
|
979
1076
|
updatedAt: z.ZodDate;
|
980
1077
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1078
|
+
} & {
|
981
1079
|
name: z.ZodOptional<z.ZodString>;
|
982
1080
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
983
1081
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -987,6 +1085,7 @@ export declare const companyContract: {
|
|
987
1085
|
createdAt: z.ZodDate;
|
988
1086
|
updatedAt: z.ZodDate;
|
989
1087
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1088
|
+
} & {
|
990
1089
|
textValue: z.ZodNullable<z.ZodString>;
|
991
1090
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
992
1091
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -996,6 +1095,7 @@ export declare const companyContract: {
|
|
996
1095
|
createdAt: z.ZodDate;
|
997
1096
|
updatedAt: z.ZodDate;
|
998
1097
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1098
|
+
} & {
|
999
1099
|
systemName: z.ZodString;
|
1000
1100
|
displayName: z.ZodString;
|
1001
1101
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1005,10 +1105,11 @@ export declare const companyContract: {
|
|
1005
1105
|
isRequired: z.ZodBoolean;
|
1006
1106
|
isUnique: z.ZodBoolean;
|
1007
1107
|
options: z.ZodArray<z.ZodObject<{
|
1008
|
-
position: z.ZodNumber;
|
1009
|
-
value: z.ZodString;
|
1010
1108
|
label: z.ZodString;
|
1109
|
+
value: z.ZodString;
|
1011
1110
|
isDefault: z.ZodBoolean;
|
1111
|
+
position: z.ZodNumber;
|
1112
|
+
} & {
|
1012
1113
|
id: z.ZodString;
|
1013
1114
|
}, "strip", z.ZodTypeAny, {
|
1014
1115
|
id: string;
|
@@ -1028,6 +1129,7 @@ export declare const companyContract: {
|
|
1028
1129
|
createdAt: z.ZodDate;
|
1029
1130
|
updatedAt: z.ZodDate;
|
1030
1131
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1132
|
+
} & {
|
1031
1133
|
systemName: z.ZodString;
|
1032
1134
|
displayName: z.ZodString;
|
1033
1135
|
}, "strip", z.ZodTypeAny, {
|
@@ -1125,8 +1227,8 @@ export declare const companyContract: {
|
|
1125
1227
|
updatedAt: Date;
|
1126
1228
|
deletedAt: Date | null;
|
1127
1229
|
name?: string | undefined;
|
1128
|
-
phone?: string | null | undefined;
|
1129
1230
|
address?: string | null | undefined;
|
1231
|
+
phone?: string | null | undefined;
|
1130
1232
|
industry?: string | null | undefined;
|
1131
1233
|
customFields?: {
|
1132
1234
|
id: string;
|
@@ -1158,8 +1260,8 @@ export declare const companyContract: {
|
|
1158
1260
|
updatedAt: Date;
|
1159
1261
|
deletedAt: Date | null;
|
1160
1262
|
name?: string | undefined;
|
1161
|
-
phone?: string | null | undefined;
|
1162
1263
|
address?: string | null | undefined;
|
1264
|
+
phone?: string | null | undefined;
|
1163
1265
|
industry?: string | null | undefined;
|
1164
1266
|
customFields?: {
|
1165
1267
|
id: string;
|
@@ -1193,8 +1295,8 @@ export declare const companyContract: {
|
|
1193
1295
|
updatedAt: Date;
|
1194
1296
|
deletedAt: Date | null;
|
1195
1297
|
name?: string | undefined;
|
1196
|
-
phone?: string | null | undefined;
|
1197
1298
|
address?: string | null | undefined;
|
1299
|
+
phone?: string | null | undefined;
|
1198
1300
|
industry?: string | null | undefined;
|
1199
1301
|
customFields?: {
|
1200
1302
|
id: string;
|
@@ -1229,8 +1331,8 @@ export declare const companyContract: {
|
|
1229
1331
|
updatedAt: Date;
|
1230
1332
|
deletedAt: Date | null;
|
1231
1333
|
name?: string | undefined;
|
1232
|
-
phone?: string | null | undefined;
|
1233
1334
|
address?: string | null | undefined;
|
1335
|
+
phone?: string | null | undefined;
|
1234
1336
|
industry?: string | null | undefined;
|
1235
1337
|
customFields?: {
|
1236
1338
|
id: string;
|
@@ -1311,7 +1413,6 @@ export declare const companyContract: {
|
|
1311
1413
|
error?: any;
|
1312
1414
|
}>;
|
1313
1415
|
};
|
1314
|
-
path: "ccs/api/v1/company/:id";
|
1315
1416
|
};
|
1316
1417
|
getAll: {
|
1317
1418
|
summary: "Get all companies";
|
@@ -1331,45 +1432,47 @@ export declare const companyContract: {
|
|
1331
1432
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
1332
1433
|
}, "strip", z.ZodTypeAny, {
|
1333
1434
|
type: string;
|
1334
|
-
value:
|
1435
|
+
value: string | string[];
|
1335
1436
|
attributeId: string;
|
1336
1437
|
}, {
|
1337
1438
|
type: string;
|
1338
|
-
value:
|
1439
|
+
value: string | string[];
|
1339
1440
|
attributeId: string;
|
1340
1441
|
}>, "many">>;
|
1341
1442
|
}, "strip", z.ZodTypeAny, {
|
1342
|
-
page?: number | undefined;
|
1343
|
-
pageSize?: number | undefined;
|
1344
|
-
keyword?: string | undefined;
|
1345
|
-
industry?: string[] | undefined;
|
1346
1443
|
name?: string | undefined;
|
1347
1444
|
address?: string | undefined;
|
1445
|
+
page?: number | undefined;
|
1446
|
+
pageSize?: number | undefined;
|
1348
1447
|
phone?: string | undefined;
|
1349
|
-
|
1448
|
+
industry?: string[] | undefined;
|
1350
1449
|
customFields?: {
|
1351
1450
|
type: string;
|
1352
|
-
value:
|
1451
|
+
value: string | string[];
|
1353
1452
|
attributeId: string;
|
1354
1453
|
}[] | undefined;
|
1355
|
-
}, {
|
1356
|
-
page?: number | undefined;
|
1357
|
-
pageSize?: number | undefined;
|
1358
1454
|
keyword?: string | undefined;
|
1359
|
-
|
1455
|
+
selectedDate?: string | undefined;
|
1456
|
+
}, {
|
1360
1457
|
name?: string | undefined;
|
1361
1458
|
address?: string | undefined;
|
1459
|
+
page?: number | undefined;
|
1460
|
+
pageSize?: number | undefined;
|
1362
1461
|
phone?: string | undefined;
|
1363
|
-
|
1462
|
+
industry?: string[] | undefined;
|
1364
1463
|
customFields?: {
|
1365
1464
|
type: string;
|
1366
|
-
value:
|
1465
|
+
value: string | string[];
|
1367
1466
|
attributeId: string;
|
1368
1467
|
}[] | undefined;
|
1468
|
+
keyword?: string | undefined;
|
1469
|
+
selectedDate?: string | undefined;
|
1369
1470
|
}>;
|
1471
|
+
path: "ccs/api/v1/company";
|
1370
1472
|
responses: {
|
1371
1473
|
200: z.ZodObject<{
|
1372
1474
|
requestId: z.ZodString;
|
1475
|
+
} & {
|
1373
1476
|
page: z.ZodNumber;
|
1374
1477
|
pageSize: z.ZodNumber;
|
1375
1478
|
total: z.ZodNumber;
|
@@ -1379,6 +1482,7 @@ export declare const companyContract: {
|
|
1379
1482
|
createdAt: z.ZodDate;
|
1380
1483
|
updatedAt: z.ZodDate;
|
1381
1484
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1485
|
+
} & {
|
1382
1486
|
name: z.ZodOptional<z.ZodString>;
|
1383
1487
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
1384
1488
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -1388,6 +1492,7 @@ export declare const companyContract: {
|
|
1388
1492
|
createdAt: z.ZodDate;
|
1389
1493
|
updatedAt: z.ZodDate;
|
1390
1494
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1495
|
+
} & {
|
1391
1496
|
textValue: z.ZodNullable<z.ZodString>;
|
1392
1497
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1393
1498
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
@@ -1397,6 +1502,7 @@ export declare const companyContract: {
|
|
1397
1502
|
createdAt: z.ZodDate;
|
1398
1503
|
updatedAt: z.ZodDate;
|
1399
1504
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1505
|
+
} & {
|
1400
1506
|
systemName: z.ZodString;
|
1401
1507
|
displayName: z.ZodString;
|
1402
1508
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1406,10 +1512,11 @@ export declare const companyContract: {
|
|
1406
1512
|
isRequired: z.ZodBoolean;
|
1407
1513
|
isUnique: z.ZodBoolean;
|
1408
1514
|
options: z.ZodArray<z.ZodObject<{
|
1409
|
-
position: z.ZodNumber;
|
1410
|
-
value: z.ZodString;
|
1411
1515
|
label: z.ZodString;
|
1516
|
+
value: z.ZodString;
|
1412
1517
|
isDefault: z.ZodBoolean;
|
1518
|
+
position: z.ZodNumber;
|
1519
|
+
} & {
|
1413
1520
|
id: z.ZodString;
|
1414
1521
|
}, "strip", z.ZodTypeAny, {
|
1415
1522
|
id: string;
|
@@ -1429,6 +1536,7 @@ export declare const companyContract: {
|
|
1429
1536
|
createdAt: z.ZodDate;
|
1430
1537
|
updatedAt: z.ZodDate;
|
1431
1538
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1539
|
+
} & {
|
1432
1540
|
systemName: z.ZodString;
|
1433
1541
|
displayName: z.ZodString;
|
1434
1542
|
}, "strip", z.ZodTypeAny, {
|
@@ -1526,8 +1634,8 @@ export declare const companyContract: {
|
|
1526
1634
|
updatedAt: Date;
|
1527
1635
|
deletedAt: Date | null;
|
1528
1636
|
name?: string | undefined;
|
1529
|
-
phone?: string | null | undefined;
|
1530
1637
|
address?: string | null | undefined;
|
1638
|
+
phone?: string | null | undefined;
|
1531
1639
|
industry?: string | null | undefined;
|
1532
1640
|
customFields?: {
|
1533
1641
|
id: string;
|
@@ -1559,8 +1667,8 @@ export declare const companyContract: {
|
|
1559
1667
|
updatedAt: Date;
|
1560
1668
|
deletedAt: Date | null;
|
1561
1669
|
name?: string | undefined;
|
1562
|
-
phone?: string | null | undefined;
|
1563
1670
|
address?: string | null | undefined;
|
1671
|
+
phone?: string | null | undefined;
|
1564
1672
|
industry?: string | null | undefined;
|
1565
1673
|
customFields?: {
|
1566
1674
|
id: string;
|
@@ -1594,8 +1702,8 @@ export declare const companyContract: {
|
|
1594
1702
|
updatedAt: Date;
|
1595
1703
|
deletedAt: Date | null;
|
1596
1704
|
name?: string | undefined;
|
1597
|
-
phone?: string | null | undefined;
|
1598
1705
|
address?: string | null | undefined;
|
1706
|
+
phone?: string | null | undefined;
|
1599
1707
|
industry?: string | null | undefined;
|
1600
1708
|
customFields?: {
|
1601
1709
|
id: string;
|
@@ -1634,8 +1742,8 @@ export declare const companyContract: {
|
|
1634
1742
|
updatedAt: Date;
|
1635
1743
|
deletedAt: Date | null;
|
1636
1744
|
name?: string | undefined;
|
1637
|
-
phone?: string | null | undefined;
|
1638
1745
|
address?: string | null | undefined;
|
1746
|
+
phone?: string | null | undefined;
|
1639
1747
|
industry?: string | null | undefined;
|
1640
1748
|
customFields?: {
|
1641
1749
|
id: string;
|
@@ -1720,7 +1828,6 @@ export declare const companyContract: {
|
|
1720
1828
|
error?: any;
|
1721
1829
|
}>;
|
1722
1830
|
};
|
1723
|
-
path: "ccs/api/v1/company";
|
1724
1831
|
};
|
1725
1832
|
};
|
1726
1833
|
//# sourceMappingURL=index.d.ts.map
|