@kl1/contracts 1.2.26-uat → 1.2.27-uat
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 +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
|
@@ -37,21 +37,22 @@ export declare const companyContract: {
|
|
|
37
37
|
}, {
|
|
38
38
|
value: string;
|
|
39
39
|
}>;
|
|
40
|
-
customFields: z.ZodArray<z.ZodObject<{
|
|
40
|
+
customFields: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
41
41
|
isRequired: z.ZodBoolean;
|
|
42
42
|
attributeId: z.ZodString;
|
|
43
|
+
}, {
|
|
43
44
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
44
45
|
type: z.ZodString;
|
|
45
46
|
isDefaultAttribute: z.ZodBoolean;
|
|
46
|
-
}
|
|
47
|
+
}>, "strip", z.ZodTypeAny, {
|
|
47
48
|
type: string;
|
|
48
|
-
value:
|
|
49
|
+
value: string | string[];
|
|
49
50
|
isRequired: boolean;
|
|
50
51
|
attributeId: string;
|
|
51
52
|
isDefaultAttribute: boolean;
|
|
52
53
|
}, {
|
|
53
54
|
type: string;
|
|
54
|
-
value:
|
|
55
|
+
value: string | string[];
|
|
55
56
|
isRequired: boolean;
|
|
56
57
|
attributeId: string;
|
|
57
58
|
isDefaultAttribute: boolean;
|
|
@@ -71,7 +72,7 @@ export declare const companyContract: {
|
|
|
71
72
|
};
|
|
72
73
|
customFields: {
|
|
73
74
|
type: string;
|
|
74
|
-
value:
|
|
75
|
+
value: string | string[];
|
|
75
76
|
isRequired: boolean;
|
|
76
77
|
attributeId: string;
|
|
77
78
|
isDefaultAttribute: boolean;
|
|
@@ -91,7 +92,7 @@ export declare const companyContract: {
|
|
|
91
92
|
};
|
|
92
93
|
customFields: {
|
|
93
94
|
type: string;
|
|
94
|
-
value:
|
|
95
|
+
value: string | string[];
|
|
95
96
|
isRequired: boolean;
|
|
96
97
|
attributeId: string;
|
|
97
98
|
isDefaultAttribute: boolean;
|
|
@@ -99,32 +100,37 @@ export declare const companyContract: {
|
|
|
99
100
|
}>;
|
|
100
101
|
summary: "Create a new company";
|
|
101
102
|
method: "POST";
|
|
103
|
+
path: "contact-service/companies";
|
|
102
104
|
responses: {
|
|
103
|
-
201: z.ZodObject<{
|
|
105
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
|
104
106
|
requestId: z.ZodString;
|
|
105
|
-
|
|
107
|
+
}, {
|
|
108
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
106
109
|
id: z.ZodString;
|
|
107
110
|
createdAt: z.ZodDate;
|
|
108
111
|
updatedAt: z.ZodDate;
|
|
109
112
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
113
|
+
}, {
|
|
110
114
|
name: z.ZodOptional<z.ZodString>;
|
|
111
115
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
112
116
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
117
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
118
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
115
119
|
id: z.ZodString;
|
|
116
120
|
createdAt: z.ZodDate;
|
|
117
121
|
updatedAt: z.ZodDate;
|
|
118
122
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
123
|
+
}, {
|
|
119
124
|
textValue: z.ZodNullable<z.ZodString>;
|
|
120
125
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
121
126
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
122
127
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
123
|
-
attribute: z.ZodObject<Omit<{
|
|
128
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
124
129
|
id: z.ZodString;
|
|
125
130
|
createdAt: z.ZodDate;
|
|
126
131
|
updatedAt: z.ZodDate;
|
|
127
132
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
133
|
+
}, {
|
|
128
134
|
systemName: z.ZodString;
|
|
129
135
|
displayName: z.ZodString;
|
|
130
136
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -133,13 +139,14 @@ export declare const companyContract: {
|
|
|
133
139
|
isArchived: z.ZodBoolean;
|
|
134
140
|
isRequired: z.ZodBoolean;
|
|
135
141
|
isUnique: z.ZodBoolean;
|
|
136
|
-
options: z.ZodArray<z.ZodObject<{
|
|
137
|
-
position: z.ZodNumber;
|
|
138
|
-
value: z.ZodString;
|
|
142
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
139
143
|
label: z.ZodString;
|
|
144
|
+
value: z.ZodString;
|
|
140
145
|
isDefault: z.ZodBoolean;
|
|
146
|
+
position: z.ZodNumber;
|
|
147
|
+
}, {
|
|
141
148
|
id: z.ZodString;
|
|
142
|
-
}
|
|
149
|
+
}>, "strip", z.ZodTypeAny, {
|
|
143
150
|
id: string;
|
|
144
151
|
position: number;
|
|
145
152
|
value: string;
|
|
@@ -152,14 +159,15 @@ export declare const companyContract: {
|
|
|
152
159
|
label: string;
|
|
153
160
|
isDefault: boolean;
|
|
154
161
|
}>, "many">;
|
|
155
|
-
group: z.ZodObject<{
|
|
162
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
156
163
|
id: z.ZodString;
|
|
157
164
|
createdAt: z.ZodDate;
|
|
158
165
|
updatedAt: z.ZodDate;
|
|
159
166
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
167
|
+
}, {
|
|
160
168
|
systemName: z.ZodString;
|
|
161
169
|
displayName: z.ZodString;
|
|
162
|
-
}
|
|
170
|
+
}>, "strip", z.ZodTypeAny, {
|
|
163
171
|
id: string;
|
|
164
172
|
createdAt: Date;
|
|
165
173
|
updatedAt: Date;
|
|
@@ -174,7 +182,7 @@ export declare const companyContract: {
|
|
|
174
182
|
systemName: string;
|
|
175
183
|
displayName: string;
|
|
176
184
|
}>;
|
|
177
|
-
}
|
|
185
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
178
186
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
179
187
|
id: string;
|
|
180
188
|
position: number;
|
|
@@ -201,7 +209,7 @@ export declare const companyContract: {
|
|
|
201
209
|
isRequired: boolean;
|
|
202
210
|
isUnique: boolean;
|
|
203
211
|
}>;
|
|
204
|
-
}
|
|
212
|
+
}>, "strip", z.ZodTypeAny, {
|
|
205
213
|
id: string;
|
|
206
214
|
createdAt: Date;
|
|
207
215
|
updatedAt: Date;
|
|
@@ -248,14 +256,14 @@ export declare const companyContract: {
|
|
|
248
256
|
numberValue: number | null;
|
|
249
257
|
dateValue: Date | null;
|
|
250
258
|
}>, "many">>;
|
|
251
|
-
}
|
|
259
|
+
}>, "strip", z.ZodTypeAny, {
|
|
252
260
|
id: string;
|
|
253
261
|
createdAt: Date;
|
|
254
262
|
updatedAt: Date;
|
|
255
263
|
deletedAt: Date | null;
|
|
256
264
|
name?: string | undefined;
|
|
257
|
-
phone?: string | null | undefined;
|
|
258
265
|
address?: string | null | undefined;
|
|
266
|
+
phone?: string | null | undefined;
|
|
259
267
|
industry?: string | null | undefined;
|
|
260
268
|
customFields?: {
|
|
261
269
|
id: string;
|
|
@@ -287,8 +295,8 @@ export declare const companyContract: {
|
|
|
287
295
|
updatedAt: Date;
|
|
288
296
|
deletedAt: Date | null;
|
|
289
297
|
name?: string | undefined;
|
|
290
|
-
phone?: string | null | undefined;
|
|
291
298
|
address?: string | null | undefined;
|
|
299
|
+
phone?: string | null | undefined;
|
|
292
300
|
industry?: string | null | undefined;
|
|
293
301
|
customFields?: {
|
|
294
302
|
id: string;
|
|
@@ -315,15 +323,15 @@ export declare const companyContract: {
|
|
|
315
323
|
dateValue: Date | null;
|
|
316
324
|
}[] | undefined;
|
|
317
325
|
}>;
|
|
318
|
-
}
|
|
326
|
+
}>, "strip", z.ZodTypeAny, {
|
|
319
327
|
data: {
|
|
320
328
|
id: string;
|
|
321
329
|
createdAt: Date;
|
|
322
330
|
updatedAt: Date;
|
|
323
331
|
deletedAt: Date | null;
|
|
324
332
|
name?: string | undefined;
|
|
325
|
-
phone?: string | null | undefined;
|
|
326
333
|
address?: string | null | undefined;
|
|
334
|
+
phone?: string | null | undefined;
|
|
327
335
|
industry?: string | null | undefined;
|
|
328
336
|
customFields?: {
|
|
329
337
|
id: string;
|
|
@@ -358,8 +366,8 @@ export declare const companyContract: {
|
|
|
358
366
|
updatedAt: Date;
|
|
359
367
|
deletedAt: Date | null;
|
|
360
368
|
name?: string | undefined;
|
|
361
|
-
phone?: string | null | undefined;
|
|
362
369
|
address?: string | null | undefined;
|
|
370
|
+
phone?: string | null | undefined;
|
|
363
371
|
industry?: string | null | undefined;
|
|
364
372
|
customFields?: {
|
|
365
373
|
id: string;
|
|
@@ -440,7 +448,6 @@ export declare const companyContract: {
|
|
|
440
448
|
error?: any;
|
|
441
449
|
}>;
|
|
442
450
|
};
|
|
443
|
-
path: "contact-service/companies";
|
|
444
451
|
};
|
|
445
452
|
update: {
|
|
446
453
|
body: z.ZodObject<{
|
|
@@ -472,21 +479,22 @@ export declare const companyContract: {
|
|
|
472
479
|
}, {
|
|
473
480
|
value: string;
|
|
474
481
|
}>>;
|
|
475
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
482
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
476
483
|
isRequired: z.ZodBoolean;
|
|
477
484
|
attributeId: z.ZodString;
|
|
485
|
+
}, {
|
|
478
486
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
479
487
|
type: z.ZodString;
|
|
480
488
|
isDefaultAttribute: z.ZodBoolean;
|
|
481
|
-
}
|
|
489
|
+
}>, "strip", z.ZodTypeAny, {
|
|
482
490
|
type: string;
|
|
483
|
-
value:
|
|
491
|
+
value: string | string[];
|
|
484
492
|
isRequired: boolean;
|
|
485
493
|
attributeId: string;
|
|
486
494
|
isDefaultAttribute: boolean;
|
|
487
495
|
}, {
|
|
488
496
|
type: string;
|
|
489
|
-
value:
|
|
497
|
+
value: string | string[];
|
|
490
498
|
isRequired: boolean;
|
|
491
499
|
attributeId: string;
|
|
492
500
|
isDefaultAttribute: boolean;
|
|
@@ -495,10 +503,10 @@ export declare const companyContract: {
|
|
|
495
503
|
name?: {
|
|
496
504
|
value: string;
|
|
497
505
|
} | undefined;
|
|
498
|
-
|
|
506
|
+
address?: {
|
|
499
507
|
value: string;
|
|
500
508
|
} | undefined;
|
|
501
|
-
|
|
509
|
+
phone?: {
|
|
502
510
|
value: string;
|
|
503
511
|
} | undefined;
|
|
504
512
|
industry?: {
|
|
@@ -506,7 +514,7 @@ export declare const companyContract: {
|
|
|
506
514
|
} | undefined;
|
|
507
515
|
customFields?: {
|
|
508
516
|
type: string;
|
|
509
|
-
value:
|
|
517
|
+
value: string | string[];
|
|
510
518
|
isRequired: boolean;
|
|
511
519
|
attributeId: string;
|
|
512
520
|
isDefaultAttribute: boolean;
|
|
@@ -515,10 +523,10 @@ export declare const companyContract: {
|
|
|
515
523
|
name?: {
|
|
516
524
|
value: string;
|
|
517
525
|
} | undefined;
|
|
518
|
-
|
|
526
|
+
address?: {
|
|
519
527
|
value: string;
|
|
520
528
|
} | undefined;
|
|
521
|
-
|
|
529
|
+
phone?: {
|
|
522
530
|
value: string;
|
|
523
531
|
} | undefined;
|
|
524
532
|
industry?: {
|
|
@@ -526,7 +534,7 @@ export declare const companyContract: {
|
|
|
526
534
|
} | undefined;
|
|
527
535
|
customFields?: {
|
|
528
536
|
type: string;
|
|
529
|
-
value:
|
|
537
|
+
value: string | string[];
|
|
530
538
|
isRequired: boolean;
|
|
531
539
|
attributeId: string;
|
|
532
540
|
isDefaultAttribute: boolean;
|
|
@@ -541,32 +549,37 @@ export declare const companyContract: {
|
|
|
541
549
|
}, {
|
|
542
550
|
id: string;
|
|
543
551
|
}>;
|
|
552
|
+
path: "contact-service/companies/:id";
|
|
544
553
|
responses: {
|
|
545
|
-
201: z.ZodObject<{
|
|
554
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
|
546
555
|
requestId: z.ZodString;
|
|
547
|
-
|
|
556
|
+
}, {
|
|
557
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
548
558
|
id: z.ZodString;
|
|
549
559
|
createdAt: z.ZodDate;
|
|
550
560
|
updatedAt: z.ZodDate;
|
|
551
561
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
562
|
+
}, {
|
|
552
563
|
name: z.ZodOptional<z.ZodString>;
|
|
553
564
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
554
565
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
566
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
556
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
567
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
557
568
|
id: z.ZodString;
|
|
558
569
|
createdAt: z.ZodDate;
|
|
559
570
|
updatedAt: z.ZodDate;
|
|
560
571
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
572
|
+
}, {
|
|
561
573
|
textValue: z.ZodNullable<z.ZodString>;
|
|
562
574
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
563
575
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
564
576
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
565
|
-
attribute: z.ZodObject<Omit<{
|
|
577
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
566
578
|
id: z.ZodString;
|
|
567
579
|
createdAt: z.ZodDate;
|
|
568
580
|
updatedAt: z.ZodDate;
|
|
569
581
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
582
|
+
}, {
|
|
570
583
|
systemName: z.ZodString;
|
|
571
584
|
displayName: z.ZodString;
|
|
572
585
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -575,13 +588,14 @@ export declare const companyContract: {
|
|
|
575
588
|
isArchived: z.ZodBoolean;
|
|
576
589
|
isRequired: z.ZodBoolean;
|
|
577
590
|
isUnique: z.ZodBoolean;
|
|
578
|
-
options: z.ZodArray<z.ZodObject<{
|
|
579
|
-
position: z.ZodNumber;
|
|
580
|
-
value: z.ZodString;
|
|
591
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
581
592
|
label: z.ZodString;
|
|
593
|
+
value: z.ZodString;
|
|
582
594
|
isDefault: z.ZodBoolean;
|
|
595
|
+
position: z.ZodNumber;
|
|
596
|
+
}, {
|
|
583
597
|
id: z.ZodString;
|
|
584
|
-
}
|
|
598
|
+
}>, "strip", z.ZodTypeAny, {
|
|
585
599
|
id: string;
|
|
586
600
|
position: number;
|
|
587
601
|
value: string;
|
|
@@ -594,14 +608,15 @@ export declare const companyContract: {
|
|
|
594
608
|
label: string;
|
|
595
609
|
isDefault: boolean;
|
|
596
610
|
}>, "many">;
|
|
597
|
-
group: z.ZodObject<{
|
|
611
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
598
612
|
id: z.ZodString;
|
|
599
613
|
createdAt: z.ZodDate;
|
|
600
614
|
updatedAt: z.ZodDate;
|
|
601
615
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
616
|
+
}, {
|
|
602
617
|
systemName: z.ZodString;
|
|
603
618
|
displayName: z.ZodString;
|
|
604
|
-
}
|
|
619
|
+
}>, "strip", z.ZodTypeAny, {
|
|
605
620
|
id: string;
|
|
606
621
|
createdAt: Date;
|
|
607
622
|
updatedAt: Date;
|
|
@@ -616,7 +631,7 @@ export declare const companyContract: {
|
|
|
616
631
|
systemName: string;
|
|
617
632
|
displayName: string;
|
|
618
633
|
}>;
|
|
619
|
-
}
|
|
634
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
620
635
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
621
636
|
id: string;
|
|
622
637
|
position: number;
|
|
@@ -643,7 +658,7 @@ export declare const companyContract: {
|
|
|
643
658
|
isRequired: boolean;
|
|
644
659
|
isUnique: boolean;
|
|
645
660
|
}>;
|
|
646
|
-
}
|
|
661
|
+
}>, "strip", z.ZodTypeAny, {
|
|
647
662
|
id: string;
|
|
648
663
|
createdAt: Date;
|
|
649
664
|
updatedAt: Date;
|
|
@@ -690,14 +705,14 @@ export declare const companyContract: {
|
|
|
690
705
|
numberValue: number | null;
|
|
691
706
|
dateValue: Date | null;
|
|
692
707
|
}>, "many">>;
|
|
693
|
-
}
|
|
708
|
+
}>, "strip", z.ZodTypeAny, {
|
|
694
709
|
id: string;
|
|
695
710
|
createdAt: Date;
|
|
696
711
|
updatedAt: Date;
|
|
697
712
|
deletedAt: Date | null;
|
|
698
713
|
name?: string | undefined;
|
|
699
|
-
phone?: string | null | undefined;
|
|
700
714
|
address?: string | null | undefined;
|
|
715
|
+
phone?: string | null | undefined;
|
|
701
716
|
industry?: string | null | undefined;
|
|
702
717
|
customFields?: {
|
|
703
718
|
id: string;
|
|
@@ -729,8 +744,8 @@ export declare const companyContract: {
|
|
|
729
744
|
updatedAt: Date;
|
|
730
745
|
deletedAt: Date | null;
|
|
731
746
|
name?: string | undefined;
|
|
732
|
-
phone?: string | null | undefined;
|
|
733
747
|
address?: string | null | undefined;
|
|
748
|
+
phone?: string | null | undefined;
|
|
734
749
|
industry?: string | null | undefined;
|
|
735
750
|
customFields?: {
|
|
736
751
|
id: string;
|
|
@@ -757,15 +772,15 @@ export declare const companyContract: {
|
|
|
757
772
|
dateValue: Date | null;
|
|
758
773
|
}[] | undefined;
|
|
759
774
|
}>;
|
|
760
|
-
}
|
|
775
|
+
}>, "strip", z.ZodTypeAny, {
|
|
761
776
|
data: {
|
|
762
777
|
id: string;
|
|
763
778
|
createdAt: Date;
|
|
764
779
|
updatedAt: Date;
|
|
765
780
|
deletedAt: Date | null;
|
|
766
781
|
name?: string | undefined;
|
|
767
|
-
phone?: string | null | undefined;
|
|
768
782
|
address?: string | null | undefined;
|
|
783
|
+
phone?: string | null | undefined;
|
|
769
784
|
industry?: string | null | undefined;
|
|
770
785
|
customFields?: {
|
|
771
786
|
id: string;
|
|
@@ -800,8 +815,8 @@ export declare const companyContract: {
|
|
|
800
815
|
updatedAt: Date;
|
|
801
816
|
deletedAt: Date | null;
|
|
802
817
|
name?: string | undefined;
|
|
803
|
-
phone?: string | null | undefined;
|
|
804
818
|
address?: string | null | undefined;
|
|
819
|
+
phone?: string | null | undefined;
|
|
805
820
|
industry?: string | null | undefined;
|
|
806
821
|
customFields?: {
|
|
807
822
|
id: string;
|
|
@@ -882,7 +897,6 @@ export declare const companyContract: {
|
|
|
882
897
|
error?: any;
|
|
883
898
|
}>;
|
|
884
899
|
};
|
|
885
|
-
path: "contact-service/companies/:id";
|
|
886
900
|
};
|
|
887
901
|
delete: {
|
|
888
902
|
body: null;
|
|
@@ -895,11 +909,13 @@ export declare const companyContract: {
|
|
|
895
909
|
}, {
|
|
896
910
|
id: string;
|
|
897
911
|
}>;
|
|
912
|
+
path: "contact-service/companies/:id";
|
|
898
913
|
responses: {
|
|
899
|
-
201: z.ZodObject<{
|
|
914
|
+
201: z.ZodObject<z.objectUtil.extendShape<{
|
|
900
915
|
requestId: z.ZodString;
|
|
916
|
+
}, {
|
|
901
917
|
message: z.ZodString;
|
|
902
|
-
}
|
|
918
|
+
}>, "strip", z.ZodTypeAny, {
|
|
903
919
|
message: string;
|
|
904
920
|
requestId: string;
|
|
905
921
|
}, {
|
|
@@ -958,7 +974,6 @@ export declare const companyContract: {
|
|
|
958
974
|
error?: any;
|
|
959
975
|
}>;
|
|
960
976
|
};
|
|
961
|
-
path: "contact-service/companies/:id";
|
|
962
977
|
};
|
|
963
978
|
getById: {
|
|
964
979
|
summary: "Get a company by id";
|
|
@@ -970,32 +985,37 @@ export declare const companyContract: {
|
|
|
970
985
|
}, {
|
|
971
986
|
id: string;
|
|
972
987
|
}>;
|
|
988
|
+
path: "contact-service/companies/:id";
|
|
973
989
|
responses: {
|
|
974
|
-
200: z.ZodObject<{
|
|
990
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
975
991
|
requestId: z.ZodString;
|
|
976
|
-
|
|
992
|
+
}, {
|
|
993
|
+
data: z.ZodObject<z.objectUtil.extendShape<{
|
|
977
994
|
id: z.ZodString;
|
|
978
995
|
createdAt: z.ZodDate;
|
|
979
996
|
updatedAt: z.ZodDate;
|
|
980
997
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
998
|
+
}, {
|
|
981
999
|
name: z.ZodOptional<z.ZodString>;
|
|
982
1000
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
983
1001
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
984
1002
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
985
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1003
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
986
1004
|
id: z.ZodString;
|
|
987
1005
|
createdAt: z.ZodDate;
|
|
988
1006
|
updatedAt: z.ZodDate;
|
|
989
1007
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1008
|
+
}, {
|
|
990
1009
|
textValue: z.ZodNullable<z.ZodString>;
|
|
991
1010
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
992
1011
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
993
1012
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
994
|
-
attribute: z.ZodObject<Omit<{
|
|
1013
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
995
1014
|
id: z.ZodString;
|
|
996
1015
|
createdAt: z.ZodDate;
|
|
997
1016
|
updatedAt: z.ZodDate;
|
|
998
1017
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1018
|
+
}, {
|
|
999
1019
|
systemName: z.ZodString;
|
|
1000
1020
|
displayName: z.ZodString;
|
|
1001
1021
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -1004,13 +1024,14 @@ export declare const companyContract: {
|
|
|
1004
1024
|
isArchived: z.ZodBoolean;
|
|
1005
1025
|
isRequired: z.ZodBoolean;
|
|
1006
1026
|
isUnique: z.ZodBoolean;
|
|
1007
|
-
options: z.ZodArray<z.ZodObject<{
|
|
1008
|
-
position: z.ZodNumber;
|
|
1009
|
-
value: z.ZodString;
|
|
1027
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1010
1028
|
label: z.ZodString;
|
|
1029
|
+
value: z.ZodString;
|
|
1011
1030
|
isDefault: z.ZodBoolean;
|
|
1031
|
+
position: z.ZodNumber;
|
|
1032
|
+
}, {
|
|
1012
1033
|
id: z.ZodString;
|
|
1013
|
-
}
|
|
1034
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1014
1035
|
id: string;
|
|
1015
1036
|
position: number;
|
|
1016
1037
|
value: string;
|
|
@@ -1023,14 +1044,15 @@ export declare const companyContract: {
|
|
|
1023
1044
|
label: string;
|
|
1024
1045
|
isDefault: boolean;
|
|
1025
1046
|
}>, "many">;
|
|
1026
|
-
group: z.ZodObject<{
|
|
1047
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
1027
1048
|
id: z.ZodString;
|
|
1028
1049
|
createdAt: z.ZodDate;
|
|
1029
1050
|
updatedAt: z.ZodDate;
|
|
1030
1051
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1052
|
+
}, {
|
|
1031
1053
|
systemName: z.ZodString;
|
|
1032
1054
|
displayName: z.ZodString;
|
|
1033
|
-
}
|
|
1055
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1034
1056
|
id: string;
|
|
1035
1057
|
createdAt: Date;
|
|
1036
1058
|
updatedAt: Date;
|
|
@@ -1045,7 +1067,7 @@ export declare const companyContract: {
|
|
|
1045
1067
|
systemName: string;
|
|
1046
1068
|
displayName: string;
|
|
1047
1069
|
}>;
|
|
1048
|
-
}
|
|
1070
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
1049
1071
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
1050
1072
|
id: string;
|
|
1051
1073
|
position: number;
|
|
@@ -1072,7 +1094,7 @@ export declare const companyContract: {
|
|
|
1072
1094
|
isRequired: boolean;
|
|
1073
1095
|
isUnique: boolean;
|
|
1074
1096
|
}>;
|
|
1075
|
-
}
|
|
1097
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1076
1098
|
id: string;
|
|
1077
1099
|
createdAt: Date;
|
|
1078
1100
|
updatedAt: Date;
|
|
@@ -1119,14 +1141,14 @@ export declare const companyContract: {
|
|
|
1119
1141
|
numberValue: number | null;
|
|
1120
1142
|
dateValue: Date | null;
|
|
1121
1143
|
}>, "many">>;
|
|
1122
|
-
}
|
|
1144
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1123
1145
|
id: string;
|
|
1124
1146
|
createdAt: Date;
|
|
1125
1147
|
updatedAt: Date;
|
|
1126
1148
|
deletedAt: Date | null;
|
|
1127
1149
|
name?: string | undefined;
|
|
1128
|
-
phone?: string | null | undefined;
|
|
1129
1150
|
address?: string | null | undefined;
|
|
1151
|
+
phone?: string | null | undefined;
|
|
1130
1152
|
industry?: string | null | undefined;
|
|
1131
1153
|
customFields?: {
|
|
1132
1154
|
id: string;
|
|
@@ -1158,8 +1180,8 @@ export declare const companyContract: {
|
|
|
1158
1180
|
updatedAt: Date;
|
|
1159
1181
|
deletedAt: Date | null;
|
|
1160
1182
|
name?: string | undefined;
|
|
1161
|
-
phone?: string | null | undefined;
|
|
1162
1183
|
address?: string | null | undefined;
|
|
1184
|
+
phone?: string | null | undefined;
|
|
1163
1185
|
industry?: string | null | undefined;
|
|
1164
1186
|
customFields?: {
|
|
1165
1187
|
id: string;
|
|
@@ -1186,15 +1208,15 @@ export declare const companyContract: {
|
|
|
1186
1208
|
dateValue: Date | null;
|
|
1187
1209
|
}[] | undefined;
|
|
1188
1210
|
}>;
|
|
1189
|
-
}
|
|
1211
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1190
1212
|
data: {
|
|
1191
1213
|
id: string;
|
|
1192
1214
|
createdAt: Date;
|
|
1193
1215
|
updatedAt: Date;
|
|
1194
1216
|
deletedAt: Date | null;
|
|
1195
1217
|
name?: string | undefined;
|
|
1196
|
-
phone?: string | null | undefined;
|
|
1197
1218
|
address?: string | null | undefined;
|
|
1219
|
+
phone?: string | null | undefined;
|
|
1198
1220
|
industry?: string | null | undefined;
|
|
1199
1221
|
customFields?: {
|
|
1200
1222
|
id: string;
|
|
@@ -1229,8 +1251,8 @@ export declare const companyContract: {
|
|
|
1229
1251
|
updatedAt: Date;
|
|
1230
1252
|
deletedAt: Date | null;
|
|
1231
1253
|
name?: string | undefined;
|
|
1232
|
-
phone?: string | null | undefined;
|
|
1233
1254
|
address?: string | null | undefined;
|
|
1255
|
+
phone?: string | null | undefined;
|
|
1234
1256
|
industry?: string | null | undefined;
|
|
1235
1257
|
customFields?: {
|
|
1236
1258
|
id: string;
|
|
@@ -1311,7 +1333,6 @@ export declare const companyContract: {
|
|
|
1311
1333
|
error?: any;
|
|
1312
1334
|
}>;
|
|
1313
1335
|
};
|
|
1314
|
-
path: "contact-service/companies/:id";
|
|
1315
1336
|
};
|
|
1316
1337
|
getAll: {
|
|
1317
1338
|
summary: "Get all companies";
|
|
@@ -1331,72 +1352,77 @@ export declare const companyContract: {
|
|
|
1331
1352
|
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
1332
1353
|
}, "strip", z.ZodTypeAny, {
|
|
1333
1354
|
type: string;
|
|
1334
|
-
value:
|
|
1355
|
+
value: string | string[];
|
|
1335
1356
|
attributeId: string;
|
|
1336
1357
|
}, {
|
|
1337
1358
|
type: string;
|
|
1338
|
-
value:
|
|
1359
|
+
value: string | string[];
|
|
1339
1360
|
attributeId: string;
|
|
1340
1361
|
}>, "many">>;
|
|
1341
1362
|
}, "strip", z.ZodTypeAny, {
|
|
1342
|
-
page?: number | undefined;
|
|
1343
|
-
pageSize?: number | undefined;
|
|
1344
|
-
keyword?: string | undefined;
|
|
1345
|
-
industry?: string[] | undefined;
|
|
1346
1363
|
name?: string | undefined;
|
|
1347
1364
|
address?: string | undefined;
|
|
1365
|
+
page?: number | undefined;
|
|
1366
|
+
pageSize?: number | undefined;
|
|
1348
1367
|
phone?: string | undefined;
|
|
1349
|
-
|
|
1368
|
+
industry?: string[] | undefined;
|
|
1350
1369
|
customFields?: {
|
|
1351
1370
|
type: string;
|
|
1352
|
-
value:
|
|
1371
|
+
value: string | string[];
|
|
1353
1372
|
attributeId: string;
|
|
1354
1373
|
}[] | undefined;
|
|
1355
|
-
}, {
|
|
1356
|
-
page?: number | undefined;
|
|
1357
|
-
pageSize?: number | undefined;
|
|
1358
1374
|
keyword?: string | undefined;
|
|
1359
|
-
|
|
1375
|
+
selectedDate?: string | undefined;
|
|
1376
|
+
}, {
|
|
1360
1377
|
name?: string | undefined;
|
|
1361
1378
|
address?: string | undefined;
|
|
1379
|
+
page?: number | undefined;
|
|
1380
|
+
pageSize?: number | undefined;
|
|
1362
1381
|
phone?: string | undefined;
|
|
1363
|
-
|
|
1382
|
+
industry?: string[] | undefined;
|
|
1364
1383
|
customFields?: {
|
|
1365
1384
|
type: string;
|
|
1366
|
-
value:
|
|
1385
|
+
value: string | string[];
|
|
1367
1386
|
attributeId: string;
|
|
1368
1387
|
}[] | undefined;
|
|
1388
|
+
keyword?: string | undefined;
|
|
1389
|
+
selectedDate?: string | undefined;
|
|
1369
1390
|
}>;
|
|
1391
|
+
path: "contact-service/companies";
|
|
1370
1392
|
responses: {
|
|
1371
|
-
200: z.ZodObject<{
|
|
1393
|
+
200: z.ZodObject<z.objectUtil.extendShape<{
|
|
1372
1394
|
requestId: z.ZodString;
|
|
1395
|
+
}, {
|
|
1373
1396
|
page: z.ZodNumber;
|
|
1374
1397
|
pageSize: z.ZodNumber;
|
|
1375
1398
|
total: z.ZodNumber;
|
|
1376
1399
|
lastPage: z.ZodNumber;
|
|
1377
|
-
data: z.ZodArray<z.ZodObject<{
|
|
1400
|
+
data: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1378
1401
|
id: z.ZodString;
|
|
1379
1402
|
createdAt: z.ZodDate;
|
|
1380
1403
|
updatedAt: z.ZodDate;
|
|
1381
1404
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1405
|
+
}, {
|
|
1382
1406
|
name: z.ZodOptional<z.ZodString>;
|
|
1383
1407
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1384
1408
|
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1385
1409
|
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1386
|
-
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1410
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1387
1411
|
id: z.ZodString;
|
|
1388
1412
|
createdAt: z.ZodDate;
|
|
1389
1413
|
updatedAt: z.ZodDate;
|
|
1390
1414
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1415
|
+
}, {
|
|
1391
1416
|
textValue: z.ZodNullable<z.ZodString>;
|
|
1392
1417
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
|
1393
1418
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
|
1394
1419
|
dateValue: z.ZodNullable<z.ZodDate>;
|
|
1395
|
-
attribute: z.ZodObject<Omit<{
|
|
1420
|
+
attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
|
|
1396
1421
|
id: z.ZodString;
|
|
1397
1422
|
createdAt: z.ZodDate;
|
|
1398
1423
|
updatedAt: z.ZodDate;
|
|
1399
1424
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1425
|
+
}, {
|
|
1400
1426
|
systemName: z.ZodString;
|
|
1401
1427
|
displayName: z.ZodString;
|
|
1402
1428
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
|
@@ -1405,13 +1431,14 @@ export declare const companyContract: {
|
|
|
1405
1431
|
isArchived: z.ZodBoolean;
|
|
1406
1432
|
isRequired: z.ZodBoolean;
|
|
1407
1433
|
isUnique: z.ZodBoolean;
|
|
1408
|
-
options: z.ZodArray<z.ZodObject<{
|
|
1409
|
-
position: z.ZodNumber;
|
|
1410
|
-
value: z.ZodString;
|
|
1434
|
+
options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1411
1435
|
label: z.ZodString;
|
|
1436
|
+
value: z.ZodString;
|
|
1412
1437
|
isDefault: z.ZodBoolean;
|
|
1438
|
+
position: z.ZodNumber;
|
|
1439
|
+
}, {
|
|
1413
1440
|
id: z.ZodString;
|
|
1414
|
-
}
|
|
1441
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1415
1442
|
id: string;
|
|
1416
1443
|
position: number;
|
|
1417
1444
|
value: string;
|
|
@@ -1424,14 +1451,15 @@ export declare const companyContract: {
|
|
|
1424
1451
|
label: string;
|
|
1425
1452
|
isDefault: boolean;
|
|
1426
1453
|
}>, "many">;
|
|
1427
|
-
group: z.ZodObject<{
|
|
1454
|
+
group: z.ZodObject<z.objectUtil.extendShape<{
|
|
1428
1455
|
id: z.ZodString;
|
|
1429
1456
|
createdAt: z.ZodDate;
|
|
1430
1457
|
updatedAt: z.ZodDate;
|
|
1431
1458
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
1459
|
+
}, {
|
|
1432
1460
|
systemName: z.ZodString;
|
|
1433
1461
|
displayName: z.ZodString;
|
|
1434
|
-
}
|
|
1462
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1435
1463
|
id: string;
|
|
1436
1464
|
createdAt: Date;
|
|
1437
1465
|
updatedAt: Date;
|
|
@@ -1446,7 +1474,7 @@ export declare const companyContract: {
|
|
|
1446
1474
|
systemName: string;
|
|
1447
1475
|
displayName: string;
|
|
1448
1476
|
}>;
|
|
1449
|
-
}
|
|
1477
|
+
}>, "options" | "group">, "strip", z.ZodTypeAny, {
|
|
1450
1478
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
|
1451
1479
|
id: string;
|
|
1452
1480
|
position: number;
|
|
@@ -1473,7 +1501,7 @@ export declare const companyContract: {
|
|
|
1473
1501
|
isRequired: boolean;
|
|
1474
1502
|
isUnique: boolean;
|
|
1475
1503
|
}>;
|
|
1476
|
-
}
|
|
1504
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1477
1505
|
id: string;
|
|
1478
1506
|
createdAt: Date;
|
|
1479
1507
|
updatedAt: Date;
|
|
@@ -1520,14 +1548,14 @@ export declare const companyContract: {
|
|
|
1520
1548
|
numberValue: number | null;
|
|
1521
1549
|
dateValue: Date | null;
|
|
1522
1550
|
}>, "many">>;
|
|
1523
|
-
}
|
|
1551
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1524
1552
|
id: string;
|
|
1525
1553
|
createdAt: Date;
|
|
1526
1554
|
updatedAt: Date;
|
|
1527
1555
|
deletedAt: Date | null;
|
|
1528
1556
|
name?: string | undefined;
|
|
1529
|
-
phone?: string | null | undefined;
|
|
1530
1557
|
address?: string | null | undefined;
|
|
1558
|
+
phone?: string | null | undefined;
|
|
1531
1559
|
industry?: string | null | undefined;
|
|
1532
1560
|
customFields?: {
|
|
1533
1561
|
id: string;
|
|
@@ -1559,8 +1587,8 @@ export declare const companyContract: {
|
|
|
1559
1587
|
updatedAt: Date;
|
|
1560
1588
|
deletedAt: Date | null;
|
|
1561
1589
|
name?: string | undefined;
|
|
1562
|
-
phone?: string | null | undefined;
|
|
1563
1590
|
address?: string | null | undefined;
|
|
1591
|
+
phone?: string | null | undefined;
|
|
1564
1592
|
industry?: string | null | undefined;
|
|
1565
1593
|
customFields?: {
|
|
1566
1594
|
id: string;
|
|
@@ -1587,15 +1615,15 @@ export declare const companyContract: {
|
|
|
1587
1615
|
dateValue: Date | null;
|
|
1588
1616
|
}[] | undefined;
|
|
1589
1617
|
}>, "many">;
|
|
1590
|
-
}
|
|
1618
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1591
1619
|
data: {
|
|
1592
1620
|
id: string;
|
|
1593
1621
|
createdAt: Date;
|
|
1594
1622
|
updatedAt: Date;
|
|
1595
1623
|
deletedAt: Date | null;
|
|
1596
1624
|
name?: string | undefined;
|
|
1597
|
-
phone?: string | null | undefined;
|
|
1598
1625
|
address?: string | null | undefined;
|
|
1626
|
+
phone?: string | null | undefined;
|
|
1599
1627
|
industry?: string | null | undefined;
|
|
1600
1628
|
customFields?: {
|
|
1601
1629
|
id: string;
|
|
@@ -1634,8 +1662,8 @@ export declare const companyContract: {
|
|
|
1634
1662
|
updatedAt: Date;
|
|
1635
1663
|
deletedAt: Date | null;
|
|
1636
1664
|
name?: string | undefined;
|
|
1637
|
-
phone?: string | null | undefined;
|
|
1638
1665
|
address?: string | null | undefined;
|
|
1666
|
+
phone?: string | null | undefined;
|
|
1639
1667
|
industry?: string | null | undefined;
|
|
1640
1668
|
customFields?: {
|
|
1641
1669
|
id: string;
|
|
@@ -1720,7 +1748,6 @@ export declare const companyContract: {
|
|
|
1720
1748
|
error?: any;
|
|
1721
1749
|
}>;
|
|
1722
1750
|
};
|
|
1723
|
-
path: "contact-service/companies";
|
|
1724
1751
|
};
|
|
1725
1752
|
};
|
|
1726
1753
|
//# sourceMappingURL=index.d.ts.map
|