@cossistant/types 0.0.24 → 0.0.25
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/api/common.d.ts +17 -20
- package/api/common.d.ts.map +1 -1
- package/api/contact.d.ts +99 -101
- package/api/contact.d.ts.map +1 -1
- package/api/conversation.d.ts +322 -326
- package/api/conversation.d.ts.map +1 -1
- package/api/notification.d.ts +70 -73
- package/api/notification.d.ts.map +1 -1
- package/api/organization.d.ts +7 -9
- package/api/organization.d.ts.map +1 -1
- package/api/timeline-item.d.ts +261 -265
- package/api/timeline-item.d.ts.map +1 -1
- package/api/upload.d.ts +95 -98
- package/api/upload.d.ts.map +1 -1
- package/api/user.d.ts +19 -21
- package/api/user.d.ts.map +1 -1
- package/api/visitor.d.ts +110 -112
- package/api/visitor.d.ts.map +1 -1
- package/api/website.d.ts +177 -179
- package/api/website.d.ts.map +1 -1
- package/package.json +1 -1
- package/realtime-events.d.ts +330 -332
- package/realtime-events.d.ts.map +1 -1
- package/schemas.d.ts +80 -82
- package/schemas.d.ts.map +1 -1
- package/trpc/contact.d.ts +78 -80
- package/trpc/contact.d.ts.map +1 -1
- package/trpc/conversation.d.ts +328 -330
- package/trpc/conversation.d.ts.map +1 -1
- package/trpc/visitor.d.ts +105 -107
- package/trpc/visitor.d.ts.map +1 -1
- package/api.d.ts +0 -71
- package/api.d.ts.map +0 -1
- package/checks.d.ts +0 -189
- package/checks.d.ts.map +0 -1
- package/coerce.d.ts +0 -9
- package/coerce.d.ts.map +0 -1
- package/core.d.ts +0 -35
- package/core.d.ts.map +0 -1
- package/errors.d.ts +0 -121
- package/errors.d.ts.map +0 -1
- package/errors2.d.ts +0 -24
- package/errors2.d.ts.map +0 -1
- package/index2.d.ts +0 -4
- package/index3.d.ts +0 -1
- package/metadata.d.ts +0 -1
- package/openapi-generator.d.ts +0 -1
- package/openapi-generator2.d.ts +0 -1
- package/openapi-generator3.d.ts +0 -1
- package/openapi30.d.ts +0 -125
- package/openapi30.d.ts.map +0 -1
- package/openapi31.d.ts +0 -131
- package/openapi31.d.ts.map +0 -1
- package/parse.d.ts +0 -17
- package/parse.d.ts.map +0 -1
- package/registries.d.ts +0 -32
- package/registries.d.ts.map +0 -1
- package/schemas2.d.ts +0 -685
- package/schemas2.d.ts.map +0 -1
- package/schemas3.d.ts +0 -325
- package/schemas3.d.ts.map +0 -1
- package/specification-extension.d.ts +0 -9
- package/specification-extension.d.ts.map +0 -1
- package/standard-schema.d.ts +0 -59
- package/standard-schema.d.ts.map +0 -1
- package/util.d.ts +0 -41
- package/util.d.ts.map +0 -1
- package/versions.d.ts +0 -9
- package/versions.d.ts.map +0 -1
- package/zod-extensions.d.ts +0 -39
- package/zod-extensions.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation.d.ts","names":[],"sources":["../../src/api/conversation.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"conversation.d.ts","names":[],"sources":["../../src/api/conversation.ts"],"sourcesContent":[],"mappings":";;;cAIa,iCAA+B,CAAA,CAAA;;EAA/B,cAAA,eAAA,YAoBV,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAES,6BAAA,GAAgC,CAAA,CAAE,aACtC;cAGK,kCAAgC,CAAA,CAAA;;;;;;MA1BD,MAAA,EAAA,QAAA;MAAA,OAAA,EAAA,SAAA;IAsBhC,CAAA,CAAA;IAIC,IAAA,WAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KASD,8BAAA,GAAiC,CAAA,CAAE,aACvC;cAGK,gCAA8B,CAAA,CAAA;;;;;;;;;;;;EAbE,KAAA,cA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,YAAA,YAAA,CAAA;IAQ9B,EAAA,aAAA;IAIC,cAAA,aAAA;;;;IAAiC,UAAA,aAAA;IAAA,SAAA,aAAA;IAYlC,SAAA,aAAA;IAIC,SAAA,eAAA,YAYV,CAAA;;;KA4FS,+BAAA,GAAkC,CAAA,CAAE,aACxC"}
|
package/api/notification.d.ts
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { output } from "../core.js";
|
|
3
|
-
import { ZodArray, ZodBoolean, ZodEnum, ZodNullable, ZodNumber, ZodObject, ZodOptional, ZodRecord, ZodString, ZodUnknown } from "../schemas3.js";
|
|
4
|
-
import "../index3.js";
|
|
1
|
+
import { z } from "@hono/zod-openapi";
|
|
5
2
|
|
|
6
3
|
//#region src/api/notification.d.ts
|
|
7
4
|
declare const MemberNotificationChannel: {
|
|
@@ -11,14 +8,14 @@ declare const MemberNotificationChannel: {
|
|
|
11
8
|
readonly SOUND_NEW_MESSAGE: "sound_new_message";
|
|
12
9
|
readonly SOUND_TYPING: "sound_typing";
|
|
13
10
|
};
|
|
14
|
-
declare const memberNotificationChannelSchema: ZodEnum<{
|
|
11
|
+
declare const memberNotificationChannelSchema: z.ZodEnum<{
|
|
15
12
|
readonly EMAIL_MARKETING: "email_marketing";
|
|
16
13
|
readonly EMAIL_NEW_MESSAGE: "email_new_message";
|
|
17
14
|
readonly BROWSER_PUSH_NEW_MESSAGE: "browser_push_new_message";
|
|
18
15
|
readonly SOUND_NEW_MESSAGE: "sound_new_message";
|
|
19
16
|
readonly SOUND_TYPING: "sound_typing";
|
|
20
17
|
}>;
|
|
21
|
-
type MemberNotificationChannel =
|
|
18
|
+
type MemberNotificationChannel = z.infer<typeof memberNotificationChannelSchema>;
|
|
22
19
|
type MemberNotificationChannelDefinition = {
|
|
23
20
|
channel: MemberNotificationChannel;
|
|
24
21
|
label: string;
|
|
@@ -81,97 +78,97 @@ declare const MEMBER_NOTIFICATION_CHANNEL_DEFINITIONS: readonly [{
|
|
|
81
78
|
readonly supportsDelaySeconds: false;
|
|
82
79
|
readonly defaultConfig: null;
|
|
83
80
|
}];
|
|
84
|
-
declare const memberNotificationPreferenceSchema: ZodObject<{
|
|
85
|
-
channel: ZodEnum<{
|
|
81
|
+
declare const memberNotificationPreferenceSchema: z.ZodObject<{
|
|
82
|
+
channel: z.ZodEnum<{
|
|
86
83
|
readonly EMAIL_MARKETING: "email_marketing";
|
|
87
84
|
readonly EMAIL_NEW_MESSAGE: "email_new_message";
|
|
88
85
|
readonly BROWSER_PUSH_NEW_MESSAGE: "browser_push_new_message";
|
|
89
86
|
readonly SOUND_NEW_MESSAGE: "sound_new_message";
|
|
90
87
|
readonly SOUND_TYPING: "sound_typing";
|
|
91
88
|
}>;
|
|
92
|
-
label: ZodString;
|
|
93
|
-
description: ZodString;
|
|
94
|
-
enabled: ZodBoolean;
|
|
95
|
-
delaySeconds: ZodNumber;
|
|
96
|
-
priority: ZodNumber;
|
|
97
|
-
requiresSetup: ZodBoolean;
|
|
98
|
-
supportsDelaySeconds: ZodBoolean;
|
|
99
|
-
config: ZodNullable<ZodRecord<ZodString, ZodUnknown>>;
|
|
100
|
-
},
|
|
101
|
-
type MemberNotificationPreference =
|
|
102
|
-
declare const memberNotificationSettingsResponseSchema: ZodObject<{
|
|
103
|
-
organizationId: ZodString;
|
|
104
|
-
memberId: ZodString;
|
|
105
|
-
settings: ZodArray<ZodObject<{
|
|
106
|
-
channel: ZodEnum<{
|
|
89
|
+
label: z.ZodString;
|
|
90
|
+
description: z.ZodString;
|
|
91
|
+
enabled: z.ZodBoolean;
|
|
92
|
+
delaySeconds: z.ZodNumber;
|
|
93
|
+
priority: z.ZodNumber;
|
|
94
|
+
requiresSetup: z.ZodBoolean;
|
|
95
|
+
supportsDelaySeconds: z.ZodBoolean;
|
|
96
|
+
config: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
97
|
+
}, z.core.$strip>;
|
|
98
|
+
type MemberNotificationPreference = z.infer<typeof memberNotificationPreferenceSchema>;
|
|
99
|
+
declare const memberNotificationSettingsResponseSchema: z.ZodObject<{
|
|
100
|
+
organizationId: z.ZodString;
|
|
101
|
+
memberId: z.ZodString;
|
|
102
|
+
settings: z.ZodArray<z.ZodObject<{
|
|
103
|
+
channel: z.ZodEnum<{
|
|
107
104
|
readonly EMAIL_MARKETING: "email_marketing";
|
|
108
105
|
readonly EMAIL_NEW_MESSAGE: "email_new_message";
|
|
109
106
|
readonly BROWSER_PUSH_NEW_MESSAGE: "browser_push_new_message";
|
|
110
107
|
readonly SOUND_NEW_MESSAGE: "sound_new_message";
|
|
111
108
|
readonly SOUND_TYPING: "sound_typing";
|
|
112
109
|
}>;
|
|
113
|
-
label: ZodString;
|
|
114
|
-
description: ZodString;
|
|
115
|
-
enabled: ZodBoolean;
|
|
116
|
-
delaySeconds: ZodNumber;
|
|
117
|
-
priority: ZodNumber;
|
|
118
|
-
requiresSetup: ZodBoolean;
|
|
119
|
-
supportsDelaySeconds: ZodBoolean;
|
|
120
|
-
config: ZodNullable<ZodRecord<ZodString, ZodUnknown>>;
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
type MemberNotificationSettingsResponse =
|
|
124
|
-
declare const updateMemberNotificationSettingsRequestSchema: ZodObject<{
|
|
125
|
-
websiteSlug: ZodString;
|
|
126
|
-
settings: ZodArray<ZodObject<{
|
|
127
|
-
channel: ZodEnum<{
|
|
110
|
+
label: z.ZodString;
|
|
111
|
+
description: z.ZodString;
|
|
112
|
+
enabled: z.ZodBoolean;
|
|
113
|
+
delaySeconds: z.ZodNumber;
|
|
114
|
+
priority: z.ZodNumber;
|
|
115
|
+
requiresSetup: z.ZodBoolean;
|
|
116
|
+
supportsDelaySeconds: z.ZodBoolean;
|
|
117
|
+
config: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
type MemberNotificationSettingsResponse = z.infer<typeof memberNotificationSettingsResponseSchema>;
|
|
121
|
+
declare const updateMemberNotificationSettingsRequestSchema: z.ZodObject<{
|
|
122
|
+
websiteSlug: z.ZodString;
|
|
123
|
+
settings: z.ZodArray<z.ZodObject<{
|
|
124
|
+
channel: z.ZodEnum<{
|
|
128
125
|
readonly EMAIL_MARKETING: "email_marketing";
|
|
129
126
|
readonly EMAIL_NEW_MESSAGE: "email_new_message";
|
|
130
127
|
readonly BROWSER_PUSH_NEW_MESSAGE: "browser_push_new_message";
|
|
131
128
|
readonly SOUND_NEW_MESSAGE: "sound_new_message";
|
|
132
129
|
readonly SOUND_TYPING: "sound_typing";
|
|
133
130
|
}>;
|
|
134
|
-
enabled: ZodBoolean;
|
|
135
|
-
delaySeconds: ZodNumber;
|
|
136
|
-
priority: ZodNumber;
|
|
137
|
-
config: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
|
|
138
|
-
},
|
|
139
|
-
},
|
|
140
|
-
type UpdateMemberNotificationSettingsRequest =
|
|
141
|
-
declare const updateMemberNotificationSettingsResponseSchema: ZodObject<{
|
|
142
|
-
organizationId: ZodString;
|
|
143
|
-
memberId: ZodString;
|
|
144
|
-
settings: ZodArray<ZodObject<{
|
|
145
|
-
channel: ZodEnum<{
|
|
131
|
+
enabled: z.ZodBoolean;
|
|
132
|
+
delaySeconds: z.ZodNumber;
|
|
133
|
+
priority: z.ZodNumber;
|
|
134
|
+
config: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
135
|
+
}, z.core.$strip>>;
|
|
136
|
+
}, z.core.$strip>;
|
|
137
|
+
type UpdateMemberNotificationSettingsRequest = z.infer<typeof updateMemberNotificationSettingsRequestSchema>;
|
|
138
|
+
declare const updateMemberNotificationSettingsResponseSchema: z.ZodObject<{
|
|
139
|
+
organizationId: z.ZodString;
|
|
140
|
+
memberId: z.ZodString;
|
|
141
|
+
settings: z.ZodArray<z.ZodObject<{
|
|
142
|
+
channel: z.ZodEnum<{
|
|
146
143
|
readonly EMAIL_MARKETING: "email_marketing";
|
|
147
144
|
readonly EMAIL_NEW_MESSAGE: "email_new_message";
|
|
148
145
|
readonly BROWSER_PUSH_NEW_MESSAGE: "browser_push_new_message";
|
|
149
146
|
readonly SOUND_NEW_MESSAGE: "sound_new_message";
|
|
150
147
|
readonly SOUND_TYPING: "sound_typing";
|
|
151
148
|
}>;
|
|
152
|
-
label: ZodString;
|
|
153
|
-
description: ZodString;
|
|
154
|
-
enabled: ZodBoolean;
|
|
155
|
-
delaySeconds: ZodNumber;
|
|
156
|
-
priority: ZodNumber;
|
|
157
|
-
requiresSetup: ZodBoolean;
|
|
158
|
-
supportsDelaySeconds: ZodBoolean;
|
|
159
|
-
config: ZodNullable<ZodRecord<ZodString, ZodUnknown>>;
|
|
160
|
-
},
|
|
161
|
-
},
|
|
162
|
-
type UpdateMemberNotificationSettingsResponse =
|
|
163
|
-
declare const contactNotificationChannelConfigSchema: ZodObject<{
|
|
164
|
-
enabled: ZodOptional<ZodBoolean>;
|
|
165
|
-
config: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
|
|
166
|
-
},
|
|
167
|
-
declare const contactNotificationSettingsSchema: ZodObject<{
|
|
168
|
-
emailNotifications: ZodOptional<ZodBoolean>;
|
|
169
|
-
channels: ZodOptional<ZodRecord<ZodString, ZodObject<{
|
|
170
|
-
enabled: ZodOptional<ZodBoolean>;
|
|
171
|
-
config: ZodOptional<ZodRecord<ZodString, ZodUnknown>>;
|
|
172
|
-
},
|
|
173
|
-
},
|
|
174
|
-
type ContactNotificationSettings =
|
|
149
|
+
label: z.ZodString;
|
|
150
|
+
description: z.ZodString;
|
|
151
|
+
enabled: z.ZodBoolean;
|
|
152
|
+
delaySeconds: z.ZodNumber;
|
|
153
|
+
priority: z.ZodNumber;
|
|
154
|
+
requiresSetup: z.ZodBoolean;
|
|
155
|
+
supportsDelaySeconds: z.ZodBoolean;
|
|
156
|
+
config: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
157
|
+
}, z.core.$strip>>;
|
|
158
|
+
}, z.core.$strip>;
|
|
159
|
+
type UpdateMemberNotificationSettingsResponse = z.infer<typeof updateMemberNotificationSettingsResponseSchema>;
|
|
160
|
+
declare const contactNotificationChannelConfigSchema: z.ZodObject<{
|
|
161
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
163
|
+
}, z.core.$loose>;
|
|
164
|
+
declare const contactNotificationSettingsSchema: z.ZodObject<{
|
|
165
|
+
emailNotifications: z.ZodOptional<z.ZodBoolean>;
|
|
166
|
+
channels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
167
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
+
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
169
|
+
}, z.core.$loose>>>;
|
|
170
|
+
}, z.core.$loose>;
|
|
171
|
+
type ContactNotificationSettings = z.infer<typeof contactNotificationSettingsSchema>;
|
|
175
172
|
declare const MEMBER_NOTIFICATION_DEFINITION_MAP: Map<"email_marketing" | "email_new_message" | "browser_push_new_message" | "sound_new_message" | "sound_typing", MemberNotificationChannelDefinition>;
|
|
176
173
|
declare function getDefaultMemberNotificationPreference(channel: MemberNotificationChannel): MemberNotificationPreference;
|
|
177
174
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","names":[],"sources":["../../src/api/notification.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification.d.ts","names":[],"sources":["../../src/api/notification.ts"],"sourcesContent":[],"mappings":";;;cAEa;;EAAA,SAAA,iBAAA,EAMH,mBAAA;EAEG,SAAA,wBAAA,EAEZ,0BAF2C;EAIhC,SAAA,iBAAA,EAAyB,mBAC7B;EAGI,SAAA,YAAA,EAAA,cAAA;AAYZ,CAA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E,aACjD;cAGK,wCAAsC,CAAA,CAAA;;;;cAOtC,mCAAiC,CAAA,CAAA;;;;;;;KASlC,2BAAA,GAA8B,CAAA,CAAE,aACpC;cAGK,oCAAkC,iHAAA;iBAM/B,sCAAA,UACN,4BACP"}
|
package/api/organization.d.ts
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { output } from "../core.js";
|
|
3
|
-
import { ZodObject, ZodString, ZodULID } from "../schemas3.js";
|
|
4
|
-
import "../index3.js";
|
|
1
|
+
import { z } from "@hono/zod-openapi";
|
|
5
2
|
|
|
6
3
|
//#region src/api/organization.d.ts
|
|
4
|
+
|
|
7
5
|
/**
|
|
8
6
|
* Organization API response schema
|
|
9
7
|
*/
|
|
10
|
-
declare const organizationResponseSchema: ZodObject<{
|
|
11
|
-
id: ZodULID;
|
|
12
|
-
name: ZodString;
|
|
13
|
-
},
|
|
14
|
-
type OrganizationResponse =
|
|
8
|
+
declare const organizationResponseSchema: z.ZodObject<{
|
|
9
|
+
id: z.ZodULID;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
type OrganizationResponse = z.infer<typeof organizationResponseSchema>;
|
|
15
13
|
//#endregion
|
|
16
14
|
export { OrganizationResponse, organizationResponseSchema };
|
|
17
15
|
//# sourceMappingURL=organization.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","names":[],"sources":["../../src/api/organization.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"organization.d.ts","names":[],"sources":["../../src/api/organization.ts"],"sourcesContent":[],"mappings":";;;;;;AAKA;cAAa,4BAA0B,CAAA,CAAA;;;CAAA,eAAA,CAAA;AAAA,KAW3B,oBAAA,GAAuB,CAAA,CAAE,KAXE,CAAA,OAWW,0BAXX,CAAA"}
|