clivly 0.13.0 → 0.15.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 +13 -6
- package/{adapter-DTMeGGsl.d.cts → adapter-BMAUq4hf.d.mts} +28 -1
- package/{adapter-DhPBRNpi.d.mts → adapter-IH3r_I8v.d.cts} +28 -1
- package/{auth-adapter-C6rDx3XH.d.mts → auth-adapter-Bt1GZiag.d.cts} +1 -1
- package/{auth-adapter-Csk9KkvI.d.cts → auth-adapter-CHy273qb.d.mts} +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-sync-engine.cjs +3 -1
- package/core-sync-engine.d.cts +2 -2
- package/core-sync-engine.d.mts +2 -2
- package/core-sync-engine.mjs +2 -2
- package/core-types.d.cts +1 -1
- package/core-types.d.mts +1 -1
- package/core.cjs +4 -2
- package/core.d.cts +6 -6
- package/core.d.mts +6 -6
- package/core.mjs +3 -3
- package/index.cjs +102 -1
- package/index.mjs +102 -1
- package/{internal-Cmx7Zevf.d.mts → internal-C7NlPM3M.d.mts} +3 -1
- package/{internal-u0Bks5Gr.mjs → internal-CLvZdVj5.mjs} +12 -0
- package/{internal-vH5Rlg6Q.d.cts → internal-D2J4VQWT.d.cts} +3 -1
- package/{internal-BxtvxF7Z.cjs → internal-DsArcqkP.cjs} +12 -0
- 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-sync-engine.cjs +3 -1
- package/internal-sync-engine.d.cts +2 -2
- package/internal-sync-engine.d.mts +2 -2
- package/internal-sync-engine.mjs +2 -2
- package/internal-types.d.cts +1 -1
- package/internal-types.d.mts +1 -1
- package/internal.cjs +4 -2
- package/internal.d.cts +6 -6
- package/internal.d.mts +6 -6
- package/internal.mjs +3 -3
- package/package.json +1 -1
- package/{sdk-B-dp1tZN.mjs → sdk-DLoVPlGB.mjs} +139 -5
- package/{sdk-DKfKhJD_.cjs → sdk-ZMy4C4VK.cjs} +156 -4
- package/sdk.cjs +4 -1
- package/sdk.d.cts +32 -0
- package/sdk.d.mts +32 -0
- package/sdk.mjs +2 -2
- package/{sync-engine-Dwm_KDUS.cjs → sync-engine-BGVDsrOQ.cjs} +131 -71
- package/{sync-engine-V3_UutGv.d.cts → sync-engine-CYsWOujz.d.cts} +63 -22
- package/{sync-engine--M9EaONC.d.mts → sync-engine-C_5TpvfX.d.mts} +63 -22
- package/{sync-engine-Df2MCs_n.mjs → sync-engine-DH058G3w.mjs} +120 -72
- package/{types-B17TWEOL.d.cts → types-CpAtAtxd.d.cts} +35 -0
- package/{types-B17TWEOL.d.mts → types-CpAtAtxd.d.mts} +35 -0
|
@@ -84,12 +84,21 @@ interface Company {
|
|
|
84
84
|
}
|
|
85
85
|
interface Deal {
|
|
86
86
|
closeDate: Date | null;
|
|
87
|
+
/** The organisation this deal belongs to, when one is linked. */
|
|
88
|
+
companyId: string | null;
|
|
87
89
|
contactId: string | null;
|
|
88
90
|
createdAt: Date;
|
|
89
91
|
id: string;
|
|
90
92
|
name: string;
|
|
91
93
|
orgId: string;
|
|
92
94
|
owner: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* The board this deal belongs to. NULL means the org's default pipeline: the
|
|
97
|
+
* sync mirror wrote deals before pipelines existed, and a deal created with
|
|
98
|
+
* no pipeline lands on the default. Stage keys are unique per pipeline, so
|
|
99
|
+
* a board must filter on this, never on stage key alone.
|
|
100
|
+
*/
|
|
101
|
+
pipelineId: string | null;
|
|
93
102
|
position: number | null;
|
|
94
103
|
stage: DealStage;
|
|
95
104
|
/**
|
|
@@ -116,6 +125,11 @@ interface Task {
|
|
|
116
125
|
createdAt: Date;
|
|
117
126
|
createdBy: string | null;
|
|
118
127
|
description: string | null;
|
|
128
|
+
/**
|
|
129
|
+
* Whether `dueAt` is a calendar date (stored as midnight UTC) rather than a
|
|
130
|
+
* moment. Absent or null: a midnight-UTC `dueAt` is read as a date.
|
|
131
|
+
*/
|
|
132
|
+
dueAllDay?: boolean | null;
|
|
119
133
|
dueAt: Date | null;
|
|
120
134
|
entityId: string | null;
|
|
121
135
|
entityType: TaskEntityType | null;
|
|
@@ -203,6 +217,11 @@ interface CreateTaskInput {
|
|
|
203
217
|
assignee?: string;
|
|
204
218
|
createdBy?: string;
|
|
205
219
|
description?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Whether `dueAt` is a calendar date (stored as midnight UTC) rather than a
|
|
222
|
+
* moment. Absent or null: a midnight-UTC `dueAt` is read as a date.
|
|
223
|
+
*/
|
|
224
|
+
dueAllDay?: boolean | null;
|
|
206
225
|
dueAt?: Date;
|
|
207
226
|
entityId?: string;
|
|
208
227
|
entityType?: TaskEntityType;
|
|
@@ -212,6 +231,11 @@ interface CreateTaskInput {
|
|
|
212
231
|
interface UpdateTaskInput {
|
|
213
232
|
assignee?: string | null;
|
|
214
233
|
description?: string | null;
|
|
234
|
+
/**
|
|
235
|
+
* Whether `dueAt` is a calendar date (stored as midnight UTC) rather than a
|
|
236
|
+
* moment. Absent or null: a midnight-UTC `dueAt` is read as a date.
|
|
237
|
+
*/
|
|
238
|
+
dueAllDay?: boolean | null;
|
|
215
239
|
dueAt?: Date | null;
|
|
216
240
|
entityId?: string | null;
|
|
217
241
|
entityType?: TaskEntityType | null;
|
|
@@ -244,6 +268,17 @@ interface ContactFilters {
|
|
|
244
268
|
* row is no longer sync-provenanced.
|
|
245
269
|
*/
|
|
246
270
|
excludeArchived?: boolean;
|
|
271
|
+
/**
|
|
272
|
+
* Case-insensitive substring match on name or email.
|
|
273
|
+
*
|
|
274
|
+
* Applied in SQL, not over an already-fetched page: a filter applied after
|
|
275
|
+
* paging returns a partial page and a cursor that skips the rows it dropped,
|
|
276
|
+
* so "page 2" of a search is not the second page of the matches. An empty or
|
|
277
|
+
* whitespace-only value is ignored rather than matching nothing.
|
|
278
|
+
*
|
|
279
|
+
* LIKE metacharacters in the term are escaped and matched literally — a
|
|
280
|
+
* search for `%` finds contacts containing a percent sign, not every row.
|
|
281
|
+
*/
|
|
247
282
|
search?: string;
|
|
248
283
|
source?: RecordSource;
|
|
249
284
|
status?: ContactStatus;
|