clivly 0.17.1 → 0.19.0
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/README.md +15 -6
- package/{adapter-C63F9VZL.d.mts → adapter-BXykDFyG.d.mts} +1 -1
- package/{adapter-OO5g17qF.d.cts → adapter-BiUN_I3u.d.cts} +1 -1
- package/{auth-adapter-COMP0Fud.d.cts → auth-adapter-BNvri2gX.d.mts} +1 -1
- package/{auth-adapter-ZlhllVpm.d.mts → auth-adapter-D2MUT1Hk.d.cts} +1 -1
- package/auth-better-auth.d.cts +1 -1
- package/auth-better-auth.d.mts +1 -1
- package/auth-clerk.d.cts +1 -1
- package/auth-clerk.d.mts +1 -1
- package/auth-workos.d.cts +1 -1
- package/auth-workos.d.mts +1 -1
- package/core-adapter.d.cts +1 -1
- package/core-adapter.d.mts +1 -1
- package/core-auth-adapter.d.cts +1 -1
- package/core-auth-adapter.d.mts +1 -1
- package/core-types.d.cts +2 -2
- package/core-types.d.mts +2 -2
- package/core.d.cts +4 -4
- package/core.d.mts +4 -4
- package/drizzle.cjs +51 -2
- package/drizzle.d.cts +34 -2
- package/drizzle.d.mts +34 -2
- package/drizzle.mjs +50 -3
- package/index.cjs +64 -8
- package/index.mjs +64 -8
- package/internal-adapter.d.cts +1 -1
- package/internal-adapter.d.mts +1 -1
- package/internal-auth-adapter.d.cts +1 -1
- package/internal-auth-adapter.d.mts +1 -1
- package/internal-types.d.cts +2 -2
- package/internal-types.d.mts +2 -2
- package/internal.d.cts +4 -4
- package/internal.d.mts +4 -4
- package/{namespace-probe-BHk3NcyI.d.cts → namespace-probe-C1tm5rGh.d.cts} +92 -4
- package/{namespace-probe-Dt_HXcI-.d.mts → namespace-probe-ah2awcHO.d.mts} +92 -4
- package/package.json +1 -1
- package/{sdk-BZSTXPyK.cjs → sdk-BEHVvB18.cjs} +261 -31
- package/{sdk-KzHpSf7F.mjs → sdk-ChyrSl32.mjs} +261 -31
- package/sdk.cjs +1 -1
- package/sdk.d.cts +2 -2
- package/sdk.d.mts +2 -2
- package/sdk.mjs +1 -1
- package/{types-CQ2DgEH7.d.cts → types-C08UluBS.d.cts} +22 -1
- package/{types-C9_2vW5a.d.mts → types-CZsSYbeC.d.mts} +22 -1
- package/vite.d.cts +1 -1
- package/vite.d.mts +1 -1
|
@@ -57,6 +57,8 @@ interface Contact {
|
|
|
57
57
|
name: string;
|
|
58
58
|
orgId: string;
|
|
59
59
|
phone: string | null;
|
|
60
|
+
/** Where the contact came from, set once at creation; null if not recorded. */
|
|
61
|
+
source?: ContactSource | null;
|
|
60
62
|
/**
|
|
61
63
|
* The host row this contact mirrors, or null when it was created in the CRM.
|
|
62
64
|
*
|
|
@@ -156,6 +158,11 @@ interface Task {
|
|
|
156
158
|
*/
|
|
157
159
|
dueAllDay?: boolean | null;
|
|
158
160
|
dueAt: Date | null;
|
|
161
|
+
/**
|
|
162
|
+
* How long a timed task runs from `dueAt`, in minutes. Null: a point in
|
|
163
|
+
* time. Always null for an all-day or undated task.
|
|
164
|
+
*/
|
|
165
|
+
durationMinutes?: number | null;
|
|
159
166
|
entityId: string | null;
|
|
160
167
|
entityType: TaskEntityType | null;
|
|
161
168
|
id: string;
|
|
@@ -188,11 +195,15 @@ interface Activity {
|
|
|
188
195
|
summary: string;
|
|
189
196
|
type: ActivityType;
|
|
190
197
|
}
|
|
198
|
+
/** Where a contact came from; null when it was not recorded. */
|
|
199
|
+
type ContactSource = "agent" | "app_sync" | "chat" | "import" | "inbound_email" | "manual" | "outbound_email";
|
|
191
200
|
interface CreateContactInput {
|
|
192
201
|
companyId?: string;
|
|
193
202
|
email: string;
|
|
194
203
|
name: string;
|
|
195
204
|
phone?: string;
|
|
205
|
+
/** Defaults to `manual`: a person created it. */
|
|
206
|
+
source?: ContactSource;
|
|
196
207
|
status?: ContactStatus;
|
|
197
208
|
title?: string;
|
|
198
209
|
}
|
|
@@ -250,6 +261,11 @@ interface CreateTaskInput {
|
|
|
250
261
|
*/
|
|
251
262
|
dueAllDay?: boolean | null;
|
|
252
263
|
dueAt?: Date;
|
|
264
|
+
/**
|
|
265
|
+
* How long a timed task runs from `dueAt`, in minutes. Null: a point in
|
|
266
|
+
* time. Always null for an all-day or undated task.
|
|
267
|
+
*/
|
|
268
|
+
durationMinutes?: number | null;
|
|
253
269
|
entityId?: string;
|
|
254
270
|
entityType?: TaskEntityType;
|
|
255
271
|
priority?: TaskPriority;
|
|
@@ -264,6 +280,11 @@ interface UpdateTaskInput {
|
|
|
264
280
|
*/
|
|
265
281
|
dueAllDay?: boolean | null;
|
|
266
282
|
dueAt?: Date | null;
|
|
283
|
+
/**
|
|
284
|
+
* How long a timed task runs from `dueAt`, in minutes. Null: a point in
|
|
285
|
+
* time. Always null for an all-day or undated task.
|
|
286
|
+
*/
|
|
287
|
+
durationMinutes?: number | null;
|
|
267
288
|
entityId?: string | null;
|
|
268
289
|
entityType?: TaskEntityType | null;
|
|
269
290
|
priority?: TaskPriority;
|
|
@@ -347,4 +368,4 @@ interface TaskFilters {
|
|
|
347
368
|
priority?: TaskPriority;
|
|
348
369
|
status?: TaskStatus;
|
|
349
370
|
}
|
|
350
|
-
export {
|
|
371
|
+
export { TaskStatus as A, PipelineStageConfig as C, TaskEntityType as D, Task as E, ValueInterval as F, isClosedStageType as I, ContactSegment as L, UpdateContactInput as M, UpdateDealInput as N, TaskFilters as O, UpdateTaskInput as P, contactSegmentSchema as R, PipelineKind as S, StageType as T, Note as _, Contact as a, PageRequest as b, ContactStatus as c, CreateContactInput as d, CreateDealInput as f, DealStage as g, Deal as h, CompanyFilters as i, UpdateCompanyInput as j, TaskPriority as k, CreateActivityInput as l, CrmRole as m, ActivityType as n, ContactFilters as o, CreateTaskInput as p, Company as r, ContactSource as s, Activity as t, CreateCompanyInput as u, OPEN_STAGE_TYPE as v, RecordSource as w, PipelineConfig as x, Page as y };
|
package/vite.d.cts
CHANGED
package/vite.d.mts
CHANGED