@voyantjs/crm-react 0.6.7 → 0.6.9
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/hooks/use-people.d.ts +0 -3
- package/dist/hooks/use-people.d.ts.map +1 -1
- package/dist/hooks/use-person-mutation.d.ts +0 -9
- package/dist/hooks/use-person-mutation.d.ts.map +1 -1
- package/dist/hooks/use-person.d.ts +0 -3
- package/dist/hooks/use-person.d.ts.map +1 -1
- package/dist/query-options.d.ts +0 -36
- package/dist/query-options.d.ts.map +1 -1
- package/dist/schemas.d.ts +0 -12
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +1 -4
- package/package.json +5 -5
|
@@ -29,9 +29,6 @@ export declare function usePeople(options?: UsePeopleOptions): import("@tanstack
|
|
|
29
29
|
email: string | null;
|
|
30
30
|
phone: string | null;
|
|
31
31
|
website: string | null;
|
|
32
|
-
address: string | null;
|
|
33
|
-
city: string | null;
|
|
34
|
-
country: string | null;
|
|
35
32
|
}[];
|
|
36
33
|
total: number;
|
|
37
34
|
limit: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-people.d.ts","sourceRoot":"","sources":["../../src/hooks/use-people.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGvE,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,OAAO,GAAE,gBAAqB
|
|
1
|
+
{"version":3,"file":"use-people.d.ts","sourceRoot":"","sources":["../../src/hooks/use-people.ts"],"names":[],"mappings":"AAMA,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAGvE,MAAM,WAAW,gBAAiB,SAAQ,iBAAiB;IACzD,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;UAuBvD"}
|
|
@@ -8,9 +8,6 @@ export interface CreatePersonInput {
|
|
|
8
8
|
email?: string | null;
|
|
9
9
|
phone?: string | null;
|
|
10
10
|
website?: string | null;
|
|
11
|
-
address?: string | null;
|
|
12
|
-
city?: string | null;
|
|
13
|
-
country?: string | null;
|
|
14
11
|
tags?: string[];
|
|
15
12
|
notes?: string | null;
|
|
16
13
|
[key: string]: unknown;
|
|
@@ -43,9 +40,6 @@ export declare function usePersonMutation(): {
|
|
|
43
40
|
email: string | null;
|
|
44
41
|
phone: string | null;
|
|
45
42
|
website: string | null;
|
|
46
|
-
address: string | null;
|
|
47
|
-
city: string | null;
|
|
48
|
-
country: string | null;
|
|
49
43
|
}, Error, CreatePersonInput, unknown>;
|
|
50
44
|
update: import("@tanstack/react-query").UseMutationResult<{
|
|
51
45
|
id: string;
|
|
@@ -68,9 +62,6 @@ export declare function usePersonMutation(): {
|
|
|
68
62
|
email: string | null;
|
|
69
63
|
phone: string | null;
|
|
70
64
|
website: string | null;
|
|
71
|
-
address: string | null;
|
|
72
|
-
city: string | null;
|
|
73
|
-
country: string | null;
|
|
74
65
|
}, Error, {
|
|
75
66
|
id: string;
|
|
76
67
|
input: UpdatePersonInput;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-person-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-person-mutation.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,
|
|
1
|
+
{"version":3,"file":"use-person-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-person-mutation.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAED,MAAM,MAAM,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAA;AAI1D;;;;GAIG;AACH,wBAAgB,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAoBW,MAAM;eAAS,iBAAiB;;;;;EA+B3E"}
|
|
@@ -27,8 +27,5 @@ export declare function usePerson(id: string | undefined, options?: UsePersonOpt
|
|
|
27
27
|
email: string | null;
|
|
28
28
|
phone: string | null;
|
|
29
29
|
website: string | null;
|
|
30
|
-
address: string | null;
|
|
31
|
-
city: string | null;
|
|
32
|
-
country: string | null;
|
|
33
30
|
}, Error>;
|
|
34
31
|
//# sourceMappingURL=use-person.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-person.d.ts","sourceRoot":"","sources":["../../src/hooks/use-person.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,GAAE,gBAAqB
|
|
1
|
+
{"version":3,"file":"use-person.d.ts","sourceRoot":"","sources":["../../src/hooks/use-person.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;UAgB/E"}
|
package/dist/query-options.d.ts
CHANGED
|
@@ -104,9 +104,6 @@ export declare function getPeopleQueryOptions(client: FetchWithValidationOptions
|
|
|
104
104
|
email: string | null;
|
|
105
105
|
phone: string | null;
|
|
106
106
|
website: string | null;
|
|
107
|
-
address: string | null;
|
|
108
|
-
city: string | null;
|
|
109
|
-
country: string | null;
|
|
110
107
|
}[];
|
|
111
108
|
total: number;
|
|
112
109
|
limit: number;
|
|
@@ -133,9 +130,6 @@ export declare function getPeopleQueryOptions(client: FetchWithValidationOptions
|
|
|
133
130
|
email: string | null;
|
|
134
131
|
phone: string | null;
|
|
135
132
|
website: string | null;
|
|
136
|
-
address: string | null;
|
|
137
|
-
city: string | null;
|
|
138
|
-
country: string | null;
|
|
139
133
|
}[];
|
|
140
134
|
total: number;
|
|
141
135
|
limit: number;
|
|
@@ -163,9 +157,6 @@ export declare function getPeopleQueryOptions(client: FetchWithValidationOptions
|
|
|
163
157
|
email: string | null;
|
|
164
158
|
phone: string | null;
|
|
165
159
|
website: string | null;
|
|
166
|
-
address: string | null;
|
|
167
|
-
city: string | null;
|
|
168
|
-
country: string | null;
|
|
169
160
|
}[];
|
|
170
161
|
total: number;
|
|
171
162
|
limit: number;
|
|
@@ -195,9 +186,6 @@ export declare function getPeopleQueryOptions(client: FetchWithValidationOptions
|
|
|
195
186
|
email: string | null;
|
|
196
187
|
phone: string | null;
|
|
197
188
|
website: string | null;
|
|
198
|
-
address: string | null;
|
|
199
|
-
city: string | null;
|
|
200
|
-
country: string | null;
|
|
201
189
|
}[];
|
|
202
190
|
total: number;
|
|
203
191
|
limit: number;
|
|
@@ -227,9 +215,6 @@ export declare function getPersonQueryOptions(client: FetchWithValidationOptions
|
|
|
227
215
|
email: string | null;
|
|
228
216
|
phone: string | null;
|
|
229
217
|
website: string | null;
|
|
230
|
-
address: string | null;
|
|
231
|
-
city: string | null;
|
|
232
|
-
country: string | null;
|
|
233
218
|
}, Error, {
|
|
234
219
|
id: string;
|
|
235
220
|
organizationId: string | null;
|
|
@@ -251,9 +236,6 @@ export declare function getPersonQueryOptions(client: FetchWithValidationOptions
|
|
|
251
236
|
email: string | null;
|
|
252
237
|
phone: string | null;
|
|
253
238
|
website: string | null;
|
|
254
|
-
address: string | null;
|
|
255
|
-
city: string | null;
|
|
256
|
-
country: string | null;
|
|
257
239
|
}, readonly ["voyant", "crm", "people", "detail", string]>, "queryFn"> & {
|
|
258
240
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
259
241
|
id: string;
|
|
@@ -276,9 +258,6 @@ export declare function getPersonQueryOptions(client: FetchWithValidationOptions
|
|
|
276
258
|
email: string | null;
|
|
277
259
|
phone: string | null;
|
|
278
260
|
website: string | null;
|
|
279
|
-
address: string | null;
|
|
280
|
-
city: string | null;
|
|
281
|
-
country: string | null;
|
|
282
261
|
}, readonly ["voyant", "crm", "people", "detail", string], never> | undefined;
|
|
283
262
|
} & {
|
|
284
263
|
queryKey: readonly ["voyant", "crm", "people", "detail", string] & {
|
|
@@ -303,9 +282,6 @@ export declare function getPersonQueryOptions(client: FetchWithValidationOptions
|
|
|
303
282
|
email: string | null;
|
|
304
283
|
phone: string | null;
|
|
305
284
|
website: string | null;
|
|
306
|
-
address: string | null;
|
|
307
|
-
city: string | null;
|
|
308
|
-
country: string | null;
|
|
309
285
|
};
|
|
310
286
|
[dataTagErrorSymbol]: Error;
|
|
311
287
|
};
|
|
@@ -318,9 +294,6 @@ export declare function getPersonNotesQueryOptions(client: FetchWithValidationOp
|
|
|
318
294
|
content: string;
|
|
319
295
|
createdAt: string;
|
|
320
296
|
}[];
|
|
321
|
-
total: number;
|
|
322
|
-
limit: number;
|
|
323
|
-
offset: number;
|
|
324
297
|
}, Error, {
|
|
325
298
|
data: {
|
|
326
299
|
id: string;
|
|
@@ -329,9 +302,6 @@ export declare function getPersonNotesQueryOptions(client: FetchWithValidationOp
|
|
|
329
302
|
content: string;
|
|
330
303
|
createdAt: string;
|
|
331
304
|
}[];
|
|
332
|
-
total: number;
|
|
333
|
-
limit: number;
|
|
334
|
-
offset: number;
|
|
335
305
|
}, string[]>, "queryFn"> & {
|
|
336
306
|
queryFn?: import("@tanstack/react-query").QueryFunction<{
|
|
337
307
|
data: {
|
|
@@ -341,9 +311,6 @@ export declare function getPersonNotesQueryOptions(client: FetchWithValidationOp
|
|
|
341
311
|
content: string;
|
|
342
312
|
createdAt: string;
|
|
343
313
|
}[];
|
|
344
|
-
total: number;
|
|
345
|
-
limit: number;
|
|
346
|
-
offset: number;
|
|
347
314
|
}, string[], never> | undefined;
|
|
348
315
|
} & {
|
|
349
316
|
queryKey: string[] & {
|
|
@@ -355,9 +322,6 @@ export declare function getPersonNotesQueryOptions(client: FetchWithValidationOp
|
|
|
355
322
|
content: string;
|
|
356
323
|
createdAt: string;
|
|
357
324
|
}[];
|
|
358
|
-
total: number;
|
|
359
|
-
limit: number;
|
|
360
|
-
offset: number;
|
|
361
325
|
};
|
|
362
326
|
[dataTagErrorSymbol]: Error;
|
|
363
327
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"query-options.d.ts","sourceRoot":"","sources":["../src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;;;;;;;;;;;;;;;;;;;;;;;;EAYxF;AAED,wBAAgB,qBAAqB,CACnC,MAAM,EAAE,0BAA0B,EAClC,OAAO,GAAE,gBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB/B;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,0BAA0B,EAAE,EAAE,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWlF;AAED,wBAAgB,yBAAyB,CAAC,MAAM,EAAE,0BAA0B,EAAE,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe5F"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -46,9 +46,6 @@ export declare const personRecordSchema: z.ZodObject<{
|
|
|
46
46
|
email: z.ZodNullable<z.ZodString>;
|
|
47
47
|
phone: z.ZodNullable<z.ZodString>;
|
|
48
48
|
website: z.ZodNullable<z.ZodString>;
|
|
49
|
-
address: z.ZodNullable<z.ZodString>;
|
|
50
|
-
city: z.ZodNullable<z.ZodString>;
|
|
51
|
-
country: z.ZodNullable<z.ZodString>;
|
|
52
49
|
}, z.core.$strip>;
|
|
53
50
|
export type PersonRecord = z.infer<typeof personRecordSchema>;
|
|
54
51
|
export declare const organizationRecordSchema: z.ZodObject<{
|
|
@@ -93,9 +90,6 @@ export declare const personListResponse: z.ZodObject<{
|
|
|
93
90
|
email: z.ZodNullable<z.ZodString>;
|
|
94
91
|
phone: z.ZodNullable<z.ZodString>;
|
|
95
92
|
website: z.ZodNullable<z.ZodString>;
|
|
96
|
-
address: z.ZodNullable<z.ZodString>;
|
|
97
|
-
city: z.ZodNullable<z.ZodString>;
|
|
98
|
-
country: z.ZodNullable<z.ZodString>;
|
|
99
93
|
}, z.core.$strip>>;
|
|
100
94
|
total: z.ZodNumber;
|
|
101
95
|
limit: z.ZodNumber;
|
|
@@ -123,9 +117,6 @@ export declare const personSingleResponse: z.ZodObject<{
|
|
|
123
117
|
email: z.ZodNullable<z.ZodString>;
|
|
124
118
|
phone: z.ZodNullable<z.ZodString>;
|
|
125
119
|
website: z.ZodNullable<z.ZodString>;
|
|
126
|
-
address: z.ZodNullable<z.ZodString>;
|
|
127
|
-
city: z.ZodNullable<z.ZodString>;
|
|
128
|
-
country: z.ZodNullable<z.ZodString>;
|
|
129
120
|
}, z.core.$strip>;
|
|
130
121
|
}, z.core.$strip>;
|
|
131
122
|
export declare const organizationListResponse: z.ZodObject<{
|
|
@@ -420,9 +411,6 @@ export declare const personNoteListResponse: z.ZodObject<{
|
|
|
420
411
|
content: z.ZodString;
|
|
421
412
|
createdAt: z.ZodString;
|
|
422
413
|
}, z.core.$strip>>;
|
|
423
|
-
total: z.ZodNumber;
|
|
424
|
-
limit: z.ZodNumber;
|
|
425
|
-
offset: z.ZodNumber;
|
|
426
414
|
}, z.core.$strip>;
|
|
427
415
|
export declare const quoteRecordSchema: z.ZodObject<{
|
|
428
416
|
id: z.ZodString;
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB;;;;GAIG;AAEH,eAAO,MAAM,iBAAiB,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;;;;iBAM7D,CAAA;AAEJ,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAA6B,CAAA;AAE3F,eAAO,MAAM,YAAY,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC;;iBAAsC,CAAA;AAElG,eAAO,MAAM,eAAe;;iBAAqC,CAAA;AAEjE;;;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KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAErE,eAAO,MAAM,sBAAsB;;;;;;;;iBAAuC,CAAA;AAE1E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;iBAa5B,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAA;AAE3D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;iBAAuC,CAAA;AACrE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;iBAAoC,CAAA;AAEpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;iBAYhC,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEnE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;iBAAsC,CAAA;AACxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;iBAAwC,CAAA"}
|
package/dist/schemas.js
CHANGED
|
@@ -41,9 +41,6 @@ export const personRecordSchema = z.object({
|
|
|
41
41
|
email: z.string().nullable(),
|
|
42
42
|
phone: z.string().nullable(),
|
|
43
43
|
website: z.string().nullable(),
|
|
44
|
-
address: z.string().nullable(),
|
|
45
|
-
city: z.string().nullable(),
|
|
46
|
-
country: z.string().nullable(),
|
|
47
44
|
});
|
|
48
45
|
export const organizationRecordSchema = z.object({
|
|
49
46
|
id: z.string(),
|
|
@@ -153,7 +150,7 @@ export const personNoteRecordSchema = z.object({
|
|
|
153
150
|
content: z.string(),
|
|
154
151
|
createdAt: z.string(),
|
|
155
152
|
});
|
|
156
|
-
export const personNoteListResponse =
|
|
153
|
+
export const personNoteListResponse = listEnvelope(personNoteRecordSchema);
|
|
157
154
|
export const quoteRecordSchema = z.object({
|
|
158
155
|
id: z.string(),
|
|
159
156
|
opportunityId: z.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/crm-react",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.9",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"react": "^19.0.0",
|
|
36
36
|
"react-dom": "^19.0.0",
|
|
37
37
|
"zod": "^4.0.0",
|
|
38
|
-
"@voyantjs/crm": "0.6.
|
|
38
|
+
"@voyantjs/crm": "0.6.9"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@tanstack/react-query": "^5.96.2",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"typescript": "^6.0.2",
|
|
47
47
|
"vitest": "^4.1.2",
|
|
48
48
|
"zod": "^4.3.6",
|
|
49
|
-
"@voyantjs/crm": "0.6.
|
|
50
|
-
"@voyantjs/react": "0.6.
|
|
49
|
+
"@voyantjs/crm": "0.6.9",
|
|
50
|
+
"@voyantjs/react": "0.6.9",
|
|
51
51
|
"@voyantjs/voyant-typescript-config": "0.1.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@voyantjs/react": "0.6.
|
|
54
|
+
"@voyantjs/react": "0.6.9"
|
|
55
55
|
},
|
|
56
56
|
"files": [
|
|
57
57
|
"dist"
|