@ziwako/contact 0.0.0-stage → 0.2.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/dist/axios.cjs +597 -0
- package/dist/axios.cjs.map +1 -0
- package/dist/axios.d.cts +229 -0
- package/dist/axios.d.ts +229 -0
- package/dist/axios.js +502 -0
- package/dist/axios.js.map +1 -0
- package/dist/chunk-7NM6YSHA.js +60 -0
- package/dist/chunk-7NM6YSHA.js.map +1 -0
- package/dist/index.cjs +87 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +54 -0
- package/dist/index.d.ts +54 -0
- package/dist/index.js +56 -0
- package/dist/index.js.map +1 -0
- package/dist/instance-B82No27F.d.cts +11 -0
- package/dist/instance-B82No27F.d.ts +11 -0
- package/dist/react-query.cjs +1673 -0
- package/dist/react-query.cjs.map +1 -0
- package/dist/react-query.d.cts +1233 -0
- package/dist/react-query.d.ts +1233 -0
- package/dist/react-query.js +1446 -0
- package/dist/react-query.js.map +1 -0
- package/dist/uploadLeadMagnetFileBody.tanstack-ClBcqB6y.d.cts +861 -0
- package/dist/uploadLeadMagnetFileBody.tanstack-ClBcqB6y.d.ts +861 -0
- package/package.json +45 -4
- package/README.md +0 -3
|
@@ -0,0 +1,861 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.19.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Default module
|
|
5
|
+
* OpenAPI spec version: 1.0.0
|
|
6
|
+
*/
|
|
7
|
+
type AddAudienceContactBody = {
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Generated by orval v8.19.0 🍺
|
|
13
|
+
* Do not edit manually.
|
|
14
|
+
* Default module
|
|
15
|
+
* OpenAPI spec version: 1.0.0
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Type d'adresse
|
|
19
|
+
*/
|
|
20
|
+
type AddressType = typeof AddressType[keyof typeof AddressType];
|
|
21
|
+
declare const AddressType: {
|
|
22
|
+
readonly Home: "home";
|
|
23
|
+
readonly Work: "work";
|
|
24
|
+
readonly Other: "other";
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Generated by orval v8.19.0 🍺
|
|
29
|
+
* Do not edit manually.
|
|
30
|
+
* Default module
|
|
31
|
+
* OpenAPI spec version: 1.0.0
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
interface Address {
|
|
35
|
+
/** Type d'adresse */
|
|
36
|
+
type?: AddressType;
|
|
37
|
+
/** Rue */
|
|
38
|
+
street?: string;
|
|
39
|
+
/** Ville */
|
|
40
|
+
city?: string;
|
|
41
|
+
/** Région / Département */
|
|
42
|
+
region?: string;
|
|
43
|
+
/** Code postal */
|
|
44
|
+
postalCode?: string;
|
|
45
|
+
/** Pays */
|
|
46
|
+
country?: string;
|
|
47
|
+
/** Libellé personnalisé */
|
|
48
|
+
label?: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Generated by orval v8.19.0 🍺
|
|
53
|
+
* Do not edit manually.
|
|
54
|
+
* Default module
|
|
55
|
+
* OpenAPI spec version: 1.0.0
|
|
56
|
+
*/
|
|
57
|
+
interface ApiResponse {
|
|
58
|
+
type?: string;
|
|
59
|
+
code?: string;
|
|
60
|
+
status?: number;
|
|
61
|
+
message?: string;
|
|
62
|
+
data?: unknown;
|
|
63
|
+
[key: string]: unknown;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Generated by orval v8.19.0 🍺
|
|
68
|
+
* Do not edit manually.
|
|
69
|
+
* Default module
|
|
70
|
+
* OpenAPI spec version: 1.0.0
|
|
71
|
+
*/
|
|
72
|
+
type AssignLabelBody = {
|
|
73
|
+
labelIds: string[];
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Generated by orval v8.19.0 🍺
|
|
78
|
+
* Do not edit manually.
|
|
79
|
+
* Default module
|
|
80
|
+
* OpenAPI spec version: 1.0.0
|
|
81
|
+
*/
|
|
82
|
+
interface ContactName {
|
|
83
|
+
/** Prénom */
|
|
84
|
+
givenName?: string;
|
|
85
|
+
/** Nom de famille */
|
|
86
|
+
familyName?: string;
|
|
87
|
+
/** Deuxième prénom */
|
|
88
|
+
middleName?: string;
|
|
89
|
+
/** Titre (M., Mme, Dr) */
|
|
90
|
+
prefix?: string;
|
|
91
|
+
/** Suffixe (Jr, Sr, III) */
|
|
92
|
+
suffix?: string;
|
|
93
|
+
/** Nom affiché (auto-généré si vide) */
|
|
94
|
+
displayName?: string;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Generated by orval v8.19.0 🍺
|
|
99
|
+
* Do not edit manually.
|
|
100
|
+
* Default module
|
|
101
|
+
* OpenAPI spec version: 1.0.0
|
|
102
|
+
*/
|
|
103
|
+
/**
|
|
104
|
+
* Type d'email
|
|
105
|
+
*/
|
|
106
|
+
type EmailType = typeof EmailType[keyof typeof EmailType];
|
|
107
|
+
declare const EmailType: {
|
|
108
|
+
readonly Home: "home";
|
|
109
|
+
readonly Work: "work";
|
|
110
|
+
readonly Other: "other";
|
|
111
|
+
};
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Generated by orval v8.19.0 🍺
|
|
115
|
+
* Do not edit manually.
|
|
116
|
+
* Default module
|
|
117
|
+
* OpenAPI spec version: 1.0.0
|
|
118
|
+
*/
|
|
119
|
+
|
|
120
|
+
interface Email {
|
|
121
|
+
/** Type d'email */
|
|
122
|
+
type: EmailType;
|
|
123
|
+
/** Adresse email */
|
|
124
|
+
email: string;
|
|
125
|
+
/** Libellé personnalisé */
|
|
126
|
+
label?: string;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Generated by orval v8.19.0 🍺
|
|
131
|
+
* Do not edit manually.
|
|
132
|
+
* Default module
|
|
133
|
+
* OpenAPI spec version: 1.0.0
|
|
134
|
+
*/
|
|
135
|
+
/**
|
|
136
|
+
* Type de téléphone
|
|
137
|
+
*/
|
|
138
|
+
type PhoneNumberType = typeof PhoneNumberType[keyof typeof PhoneNumberType];
|
|
139
|
+
declare const PhoneNumberType: {
|
|
140
|
+
readonly Mobile: "mobile";
|
|
141
|
+
readonly Home: "home";
|
|
142
|
+
readonly Work: "work";
|
|
143
|
+
readonly Main: "main";
|
|
144
|
+
readonly HomeFax: "homeFax";
|
|
145
|
+
readonly WorkFax: "workFax";
|
|
146
|
+
readonly Pager: "pager";
|
|
147
|
+
readonly Other: "other";
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Generated by orval v8.19.0 🍺
|
|
152
|
+
* Do not edit manually.
|
|
153
|
+
* Default module
|
|
154
|
+
* OpenAPI spec version: 1.0.0
|
|
155
|
+
*/
|
|
156
|
+
|
|
157
|
+
interface PhoneNumber {
|
|
158
|
+
/** Type de téléphone */
|
|
159
|
+
type: PhoneNumberType;
|
|
160
|
+
/** Numéro de téléphone */
|
|
161
|
+
number: string;
|
|
162
|
+
/** Libellé personnalisé */
|
|
163
|
+
label?: string;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Generated by orval v8.19.0 🍺
|
|
168
|
+
* Do not edit manually.
|
|
169
|
+
* Default module
|
|
170
|
+
* OpenAPI spec version: 1.0.0
|
|
171
|
+
*/
|
|
172
|
+
/**
|
|
173
|
+
* Type de relation
|
|
174
|
+
*/
|
|
175
|
+
type RelationType = typeof RelationType[keyof typeof RelationType];
|
|
176
|
+
declare const RelationType: {
|
|
177
|
+
readonly Spouse: "spouse";
|
|
178
|
+
readonly Child: "child";
|
|
179
|
+
readonly Parent: "parent";
|
|
180
|
+
readonly Sibling: "sibling";
|
|
181
|
+
readonly Partner: "partner";
|
|
182
|
+
readonly Assistant: "assistant";
|
|
183
|
+
readonly Manager: "manager";
|
|
184
|
+
readonly Other: "other";
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Generated by orval v8.19.0 🍺
|
|
189
|
+
* Do not edit manually.
|
|
190
|
+
* Default module
|
|
191
|
+
* OpenAPI spec version: 1.0.0
|
|
192
|
+
*/
|
|
193
|
+
|
|
194
|
+
interface Relation {
|
|
195
|
+
/** Type de relation */
|
|
196
|
+
type: RelationType;
|
|
197
|
+
/** Nom de la personne liée */
|
|
198
|
+
name: string;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Generated by orval v8.19.0 🍺
|
|
203
|
+
* Do not edit manually.
|
|
204
|
+
* Default module
|
|
205
|
+
* OpenAPI spec version: 1.0.0
|
|
206
|
+
*/
|
|
207
|
+
|
|
208
|
+
interface Relation1 {
|
|
209
|
+
/** ID MongoDB */
|
|
210
|
+
id?: string;
|
|
211
|
+
/** ID du propriétaire (Better-Auth) */
|
|
212
|
+
userId?: string;
|
|
213
|
+
name?: ContactName;
|
|
214
|
+
phoneNumbers?: PhoneNumber[];
|
|
215
|
+
emails?: Email[];
|
|
216
|
+
addresses?: Address[];
|
|
217
|
+
organizations?: unknown[];
|
|
218
|
+
urls?: unknown[];
|
|
219
|
+
/** Notes libres */
|
|
220
|
+
notes?: string;
|
|
221
|
+
/** Date d'anniversaire */
|
|
222
|
+
birthday?: string;
|
|
223
|
+
relations?: Relation[];
|
|
224
|
+
/** URL de la photo */
|
|
225
|
+
photoUrl?: string;
|
|
226
|
+
/** Marqué comme favori */
|
|
227
|
+
isFavorite?: boolean;
|
|
228
|
+
/** Groupes associés */
|
|
229
|
+
labels?: unknown[];
|
|
230
|
+
createdAt?: string;
|
|
231
|
+
updatedAt?: string;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Generated by orval v8.19.0 🍺
|
|
236
|
+
* Do not edit manually.
|
|
237
|
+
* Default module
|
|
238
|
+
* OpenAPI spec version: 1.0.0
|
|
239
|
+
*/
|
|
240
|
+
|
|
241
|
+
interface ContactList {
|
|
242
|
+
docs?: Relation1[];
|
|
243
|
+
totalDocs?: number;
|
|
244
|
+
limit?: number;
|
|
245
|
+
totalPages?: number;
|
|
246
|
+
page?: number;
|
|
247
|
+
pagingCounter?: number;
|
|
248
|
+
hasPrevPage?: boolean;
|
|
249
|
+
hasNextPage?: boolean;
|
|
250
|
+
prevPage?: number;
|
|
251
|
+
nextPage?: number;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Generated by orval v8.19.0 🍺
|
|
256
|
+
* Do not edit manually.
|
|
257
|
+
* Default module
|
|
258
|
+
* OpenAPI spec version: 1.0.0
|
|
259
|
+
*/
|
|
260
|
+
|
|
261
|
+
interface ContactListResponse {
|
|
262
|
+
/** status */
|
|
263
|
+
status?: number;
|
|
264
|
+
message?: string;
|
|
265
|
+
data?: ContactList;
|
|
266
|
+
type: string;
|
|
267
|
+
code: string;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Generated by orval v8.19.0 🍺
|
|
272
|
+
* Do not edit manually.
|
|
273
|
+
* Default module
|
|
274
|
+
* OpenAPI spec version: 1.0.0
|
|
275
|
+
*/
|
|
276
|
+
|
|
277
|
+
interface ContactResponse {
|
|
278
|
+
/** status */
|
|
279
|
+
status?: number;
|
|
280
|
+
message?: string;
|
|
281
|
+
data?: Relation1;
|
|
282
|
+
type: string;
|
|
283
|
+
code: string;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Generated by orval v8.19.0 🍺
|
|
288
|
+
* Do not edit manually.
|
|
289
|
+
* Default module
|
|
290
|
+
* OpenAPI spec version: 1.0.0
|
|
291
|
+
*/
|
|
292
|
+
type CreateApiKeyBody = {
|
|
293
|
+
[key: string]: unknown;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Generated by orval v8.19.0 🍺
|
|
298
|
+
* Do not edit manually.
|
|
299
|
+
* Default module
|
|
300
|
+
* OpenAPI spec version: 1.0.0
|
|
301
|
+
*/
|
|
302
|
+
type CreateAudienceBody = {
|
|
303
|
+
[key: string]: unknown;
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Generated by orval v8.19.0 🍺
|
|
308
|
+
* Do not edit manually.
|
|
309
|
+
* Default module
|
|
310
|
+
* OpenAPI spec version: 1.0.0
|
|
311
|
+
*/
|
|
312
|
+
type CreateContactBodyAddressesItem = {
|
|
313
|
+
type?: string;
|
|
314
|
+
street?: string;
|
|
315
|
+
city?: string;
|
|
316
|
+
region?: string;
|
|
317
|
+
postalCode?: string;
|
|
318
|
+
country?: string;
|
|
319
|
+
label?: string;
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Generated by orval v8.19.0 🍺
|
|
324
|
+
* Do not edit manually.
|
|
325
|
+
* Default module
|
|
326
|
+
* OpenAPI spec version: 1.0.0
|
|
327
|
+
*/
|
|
328
|
+
type CreateContactBodyEmailsItem = {
|
|
329
|
+
type: string;
|
|
330
|
+
email: string;
|
|
331
|
+
label: string;
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* Generated by orval v8.19.0 🍺
|
|
336
|
+
* Do not edit manually.
|
|
337
|
+
* Default module
|
|
338
|
+
* OpenAPI spec version: 1.0.0
|
|
339
|
+
*/
|
|
340
|
+
type CreateContactBodyName = {
|
|
341
|
+
givenName: string;
|
|
342
|
+
familyName: string;
|
|
343
|
+
middleName: string;
|
|
344
|
+
prefix: string;
|
|
345
|
+
suffix: string;
|
|
346
|
+
displayName: string;
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Generated by orval v8.19.0 🍺
|
|
351
|
+
* Do not edit manually.
|
|
352
|
+
* Default module
|
|
353
|
+
* OpenAPI spec version: 1.0.0
|
|
354
|
+
*/
|
|
355
|
+
type CreateContactBodyOrganizationsItem = {
|
|
356
|
+
name?: string;
|
|
357
|
+
title?: string;
|
|
358
|
+
department?: string;
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Generated by orval v8.19.0 🍺
|
|
363
|
+
* Do not edit manually.
|
|
364
|
+
* Default module
|
|
365
|
+
* OpenAPI spec version: 1.0.0
|
|
366
|
+
*/
|
|
367
|
+
type CreateContactBodyPhoneNumbersItem = {
|
|
368
|
+
type: string;
|
|
369
|
+
number: string;
|
|
370
|
+
label: string;
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Generated by orval v8.19.0 🍺
|
|
375
|
+
* Do not edit manually.
|
|
376
|
+
* Default module
|
|
377
|
+
* OpenAPI spec version: 1.0.0
|
|
378
|
+
*/
|
|
379
|
+
type CreateContactBodyRelationsItem = {
|
|
380
|
+
type?: string;
|
|
381
|
+
name?: string;
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Generated by orval v8.19.0 🍺
|
|
386
|
+
* Do not edit manually.
|
|
387
|
+
* Default module
|
|
388
|
+
* OpenAPI spec version: 1.0.0
|
|
389
|
+
*/
|
|
390
|
+
type CreateContactBodyUrlsItem = {
|
|
391
|
+
type?: string;
|
|
392
|
+
url?: string;
|
|
393
|
+
label?: string;
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Generated by orval v8.19.0 🍺
|
|
398
|
+
* Do not edit manually.
|
|
399
|
+
* Default module
|
|
400
|
+
* OpenAPI spec version: 1.0.0
|
|
401
|
+
*/
|
|
402
|
+
|
|
403
|
+
type CreateContactBody = {
|
|
404
|
+
name: CreateContactBodyName;
|
|
405
|
+
phoneNumbers: CreateContactBodyPhoneNumbersItem[];
|
|
406
|
+
emails: CreateContactBodyEmailsItem[];
|
|
407
|
+
addresses: CreateContactBodyAddressesItem[];
|
|
408
|
+
organizations: CreateContactBodyOrganizationsItem[];
|
|
409
|
+
urls: CreateContactBodyUrlsItem[];
|
|
410
|
+
notes: string;
|
|
411
|
+
birthday: string;
|
|
412
|
+
relations: CreateContactBodyRelationsItem[];
|
|
413
|
+
photoUrl: string;
|
|
414
|
+
isFavorite: boolean;
|
|
415
|
+
labels: string[];
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Generated by orval v8.19.0 🍺
|
|
420
|
+
* Do not edit manually.
|
|
421
|
+
* Default module
|
|
422
|
+
* OpenAPI spec version: 1.0.0
|
|
423
|
+
*/
|
|
424
|
+
type CreateLabelBody = {
|
|
425
|
+
/** Nom du groupe */
|
|
426
|
+
name?: string;
|
|
427
|
+
/**
|
|
428
|
+
* Couleur hexadécimale
|
|
429
|
+
* @pattern ^#[0-9a-fA-F]{6}$
|
|
430
|
+
*/
|
|
431
|
+
color?: string;
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Generated by orval v8.19.0 🍺
|
|
436
|
+
* Do not edit manually.
|
|
437
|
+
* Default module
|
|
438
|
+
* OpenAPI spec version: 1.0.0
|
|
439
|
+
*/
|
|
440
|
+
type CreateLeadMagnetBody = {
|
|
441
|
+
[key: string]: unknown;
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Generated by orval v8.19.0 🍺
|
|
446
|
+
* Do not edit manually.
|
|
447
|
+
* Default module
|
|
448
|
+
* OpenAPI spec version: 1.0.0
|
|
449
|
+
*/
|
|
450
|
+
type CreateSuppressionBody = {
|
|
451
|
+
[key: string]: unknown;
|
|
452
|
+
};
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Generated by orval v8.19.0 🍺
|
|
456
|
+
* Do not edit manually.
|
|
457
|
+
* Default module
|
|
458
|
+
* OpenAPI spec version: 1.0.0
|
|
459
|
+
*/
|
|
460
|
+
type DeletedContact200Data = {
|
|
461
|
+
[key: string]: unknown;
|
|
462
|
+
};
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Generated by orval v8.19.0 🍺
|
|
466
|
+
* Do not edit manually.
|
|
467
|
+
* Default module
|
|
468
|
+
* OpenAPI spec version: 1.0.0
|
|
469
|
+
*/
|
|
470
|
+
|
|
471
|
+
type DeletedContact200 = {
|
|
472
|
+
type: string;
|
|
473
|
+
code: string;
|
|
474
|
+
message: string;
|
|
475
|
+
data?: DeletedContact200Data;
|
|
476
|
+
/** status */
|
|
477
|
+
status: number;
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Generated by orval v8.19.0 🍺
|
|
482
|
+
* Do not edit manually.
|
|
483
|
+
* Default module
|
|
484
|
+
* OpenAPI spec version: 1.0.0
|
|
485
|
+
*/
|
|
486
|
+
type DeleteLabel200Data = {
|
|
487
|
+
[key: string]: unknown;
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Generated by orval v8.19.0 🍺
|
|
492
|
+
* Do not edit manually.
|
|
493
|
+
* Default module
|
|
494
|
+
* OpenAPI spec version: 1.0.0
|
|
495
|
+
*/
|
|
496
|
+
|
|
497
|
+
type DeleteLabel200 = {
|
|
498
|
+
type: string;
|
|
499
|
+
code: string;
|
|
500
|
+
message: string;
|
|
501
|
+
data?: DeleteLabel200Data;
|
|
502
|
+
/** status */
|
|
503
|
+
status: number;
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Generated by orval v8.19.0 🍺
|
|
508
|
+
* Do not edit manually.
|
|
509
|
+
* Default module
|
|
510
|
+
* OpenAPI spec version: 1.0.0
|
|
511
|
+
*/
|
|
512
|
+
type ExportToCsv200Data = {
|
|
513
|
+
[key: string]: unknown;
|
|
514
|
+
};
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Generated by orval v8.19.0 🍺
|
|
518
|
+
* Do not edit manually.
|
|
519
|
+
* Default module
|
|
520
|
+
* OpenAPI spec version: 1.0.0
|
|
521
|
+
*/
|
|
522
|
+
|
|
523
|
+
type ExportToCsv200 = {
|
|
524
|
+
type: string;
|
|
525
|
+
code: string;
|
|
526
|
+
message: string;
|
|
527
|
+
data?: ExportToCsv200Data;
|
|
528
|
+
/** status */
|
|
529
|
+
status: number;
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* Generated by orval v8.19.0 🍺
|
|
534
|
+
* Do not edit manually.
|
|
535
|
+
* Default module
|
|
536
|
+
* OpenAPI spec version: 1.0.0
|
|
537
|
+
*/
|
|
538
|
+
type ExportToVcard200Data = {
|
|
539
|
+
[key: string]: unknown;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Generated by orval v8.19.0 🍺
|
|
544
|
+
* Do not edit manually.
|
|
545
|
+
* Default module
|
|
546
|
+
* OpenAPI spec version: 1.0.0
|
|
547
|
+
*/
|
|
548
|
+
|
|
549
|
+
type ExportToVcard200 = {
|
|
550
|
+
type: string;
|
|
551
|
+
code: string;
|
|
552
|
+
message: string;
|
|
553
|
+
data?: ExportToVcard200Data;
|
|
554
|
+
/** status */
|
|
555
|
+
status: number;
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Generated by orval v8.19.0 🍺
|
|
560
|
+
* Do not edit manually.
|
|
561
|
+
* Default module
|
|
562
|
+
* OpenAPI spec version: 1.0.0
|
|
563
|
+
*/
|
|
564
|
+
type ImportFromCsv200Data = {
|
|
565
|
+
[key: string]: unknown;
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Generated by orval v8.19.0 🍺
|
|
570
|
+
* Do not edit manually.
|
|
571
|
+
* Default module
|
|
572
|
+
* OpenAPI spec version: 1.0.0
|
|
573
|
+
*/
|
|
574
|
+
|
|
575
|
+
type ImportFromCsv200 = {
|
|
576
|
+
type: string;
|
|
577
|
+
code: string;
|
|
578
|
+
message: string;
|
|
579
|
+
data?: ImportFromCsv200Data;
|
|
580
|
+
/** status */
|
|
581
|
+
status: number;
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Generated by orval v8.19.0 🍺
|
|
586
|
+
* Do not edit manually.
|
|
587
|
+
* Default module
|
|
588
|
+
* OpenAPI spec version: 1.0.0
|
|
589
|
+
*/
|
|
590
|
+
type ImportFromCsvBody = {
|
|
591
|
+
file?: Blob;
|
|
592
|
+
};
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Generated by orval v8.19.0 🍺
|
|
596
|
+
* Do not edit manually.
|
|
597
|
+
* Default module
|
|
598
|
+
* OpenAPI spec version: 1.0.0
|
|
599
|
+
*/
|
|
600
|
+
type ImportFromVcard200Data = {
|
|
601
|
+
[key: string]: unknown;
|
|
602
|
+
};
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Generated by orval v8.19.0 🍺
|
|
606
|
+
* Do not edit manually.
|
|
607
|
+
* Default module
|
|
608
|
+
* OpenAPI spec version: 1.0.0
|
|
609
|
+
*/
|
|
610
|
+
|
|
611
|
+
type ImportFromVcard200 = {
|
|
612
|
+
type: string;
|
|
613
|
+
code: string;
|
|
614
|
+
message: string;
|
|
615
|
+
data?: ImportFromVcard200Data;
|
|
616
|
+
/** status */
|
|
617
|
+
status: number;
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Generated by orval v8.19.0 🍺
|
|
622
|
+
* Do not edit manually.
|
|
623
|
+
* Default module
|
|
624
|
+
* OpenAPI spec version: 1.0.0
|
|
625
|
+
*/
|
|
626
|
+
type ImportFromVcardBody = {
|
|
627
|
+
file?: Blob;
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Generated by orval v8.19.0 🍺
|
|
632
|
+
* Do not edit manually.
|
|
633
|
+
* Default module
|
|
634
|
+
* OpenAPI spec version: 1.0.0
|
|
635
|
+
*/
|
|
636
|
+
type ImportLeadsBody = {
|
|
637
|
+
file?: Blob;
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* Generated by orval v8.19.0 🍺
|
|
642
|
+
* Do not edit manually.
|
|
643
|
+
* Default module
|
|
644
|
+
* OpenAPI spec version: 1.0.0
|
|
645
|
+
*/
|
|
646
|
+
interface Label {
|
|
647
|
+
/** ID MongoDB */
|
|
648
|
+
id?: string;
|
|
649
|
+
/** ID du propriétaire */
|
|
650
|
+
userId?: string;
|
|
651
|
+
/** Nom du groupe */
|
|
652
|
+
name?: string;
|
|
653
|
+
/**
|
|
654
|
+
* Couleur hexadécimale
|
|
655
|
+
* @pattern ^#[0-9a-fA-F]{6}$
|
|
656
|
+
*/
|
|
657
|
+
color?: string;
|
|
658
|
+
createdAt?: string;
|
|
659
|
+
updatedAt?: string;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Generated by orval v8.19.0 🍺
|
|
664
|
+
* Do not edit manually.
|
|
665
|
+
* Default module
|
|
666
|
+
* OpenAPI spec version: 1.0.0
|
|
667
|
+
*/
|
|
668
|
+
|
|
669
|
+
interface LabelList {
|
|
670
|
+
docs?: Label[];
|
|
671
|
+
totalDocs?: number;
|
|
672
|
+
limit?: number;
|
|
673
|
+
totalPages?: number;
|
|
674
|
+
page?: number;
|
|
675
|
+
pagingCounter?: number;
|
|
676
|
+
hasPrevPage?: boolean;
|
|
677
|
+
hasNextPage?: boolean;
|
|
678
|
+
prevPage?: number;
|
|
679
|
+
nextPage?: number;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Generated by orval v8.19.0 🍺
|
|
684
|
+
* Do not edit manually.
|
|
685
|
+
* Default module
|
|
686
|
+
* OpenAPI spec version: 1.0.0
|
|
687
|
+
*/
|
|
688
|
+
|
|
689
|
+
interface LabelListResponse {
|
|
690
|
+
/** status */
|
|
691
|
+
status?: number;
|
|
692
|
+
message?: string;
|
|
693
|
+
data?: LabelList;
|
|
694
|
+
type: string;
|
|
695
|
+
code: string;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Generated by orval v8.19.0 🍺
|
|
700
|
+
* Do not edit manually.
|
|
701
|
+
* Default module
|
|
702
|
+
* OpenAPI spec version: 1.0.0
|
|
703
|
+
*/
|
|
704
|
+
|
|
705
|
+
interface LabelResponse {
|
|
706
|
+
/** status */
|
|
707
|
+
status?: number;
|
|
708
|
+
message?: string;
|
|
709
|
+
data?: Label;
|
|
710
|
+
type: string;
|
|
711
|
+
code: string;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Generated by orval v8.19.0 🍺
|
|
716
|
+
* Do not edit manually.
|
|
717
|
+
* Default module
|
|
718
|
+
* OpenAPI spec version: 1.0.0
|
|
719
|
+
*/
|
|
720
|
+
type ListContactParams = {
|
|
721
|
+
search?: string;
|
|
722
|
+
label?: string;
|
|
723
|
+
favorite?: string;
|
|
724
|
+
page?: number;
|
|
725
|
+
limit?: number;
|
|
726
|
+
sort?: string;
|
|
727
|
+
};
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Generated by orval v8.19.0 🍺
|
|
731
|
+
* Do not edit manually.
|
|
732
|
+
* Default module
|
|
733
|
+
* OpenAPI spec version: 1.0.0
|
|
734
|
+
*/
|
|
735
|
+
type ListDuplicate200DataItem = {
|
|
736
|
+
primary: string;
|
|
737
|
+
duplicates: string[];
|
|
738
|
+
};
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Generated by orval v8.19.0 🍺
|
|
742
|
+
* Do not edit manually.
|
|
743
|
+
* Default module
|
|
744
|
+
* OpenAPI spec version: 1.0.0
|
|
745
|
+
*/
|
|
746
|
+
|
|
747
|
+
type ListDuplicate200 = {
|
|
748
|
+
type: string;
|
|
749
|
+
code: string;
|
|
750
|
+
message: string;
|
|
751
|
+
data?: ListDuplicate200DataItem[];
|
|
752
|
+
/** status */
|
|
753
|
+
status: number;
|
|
754
|
+
};
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Generated by orval v8.19.0 🍺
|
|
758
|
+
* Do not edit manually.
|
|
759
|
+
* Default module
|
|
760
|
+
* OpenAPI spec version: 1.0.0
|
|
761
|
+
*/
|
|
762
|
+
type ListLeadsParams = {
|
|
763
|
+
page?: number;
|
|
764
|
+
limit?: number;
|
|
765
|
+
search?: string;
|
|
766
|
+
status?: string;
|
|
767
|
+
stage?: string;
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Generated by orval v8.19.0 🍺
|
|
772
|
+
* Do not edit manually.
|
|
773
|
+
* Default module
|
|
774
|
+
* OpenAPI spec version: 1.0.0
|
|
775
|
+
*/
|
|
776
|
+
type MergeContactBody = {
|
|
777
|
+
primaryId: string;
|
|
778
|
+
duplicateIds: string[];
|
|
779
|
+
};
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Generated by orval v8.19.0 🍺
|
|
783
|
+
* Do not edit manually.
|
|
784
|
+
* Default module
|
|
785
|
+
* OpenAPI spec version: 1.0.0
|
|
786
|
+
*/
|
|
787
|
+
type UpdateAudienceBody = {
|
|
788
|
+
[key: string]: unknown;
|
|
789
|
+
};
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Generated by orval v8.19.0 🍺
|
|
793
|
+
* Do not edit manually.
|
|
794
|
+
* Default module
|
|
795
|
+
* OpenAPI spec version: 1.0.0
|
|
796
|
+
*/
|
|
797
|
+
|
|
798
|
+
type UpdateContactBody = {
|
|
799
|
+
name?: ContactName;
|
|
800
|
+
phoneNumbers?: PhoneNumber[];
|
|
801
|
+
emails?: Email[];
|
|
802
|
+
addresses?: Address[];
|
|
803
|
+
organizations?: unknown[];
|
|
804
|
+
urls?: unknown[];
|
|
805
|
+
/** Notes libres */
|
|
806
|
+
notes?: string;
|
|
807
|
+
/** Date d'anniversaire */
|
|
808
|
+
birthday?: string;
|
|
809
|
+
relations?: Relation[];
|
|
810
|
+
/** URL de la photo */
|
|
811
|
+
photoUrl?: string;
|
|
812
|
+
/** Marqué comme favori */
|
|
813
|
+
isFavorite?: boolean;
|
|
814
|
+
/** Groupes associés */
|
|
815
|
+
labels?: unknown[];
|
|
816
|
+
createdAt?: string;
|
|
817
|
+
updatedAt?: string;
|
|
818
|
+
};
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Generated by orval v8.19.0 🍺
|
|
822
|
+
* Do not edit manually.
|
|
823
|
+
* Default module
|
|
824
|
+
* OpenAPI spec version: 1.0.0
|
|
825
|
+
*/
|
|
826
|
+
type UpdateLabelBody = {
|
|
827
|
+
name: string;
|
|
828
|
+
color: string;
|
|
829
|
+
};
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Generated by orval v8.19.0 🍺
|
|
833
|
+
* Do not edit manually.
|
|
834
|
+
* Default module
|
|
835
|
+
* OpenAPI spec version: 1.0.0
|
|
836
|
+
*/
|
|
837
|
+
type UpdateLeadBody = {
|
|
838
|
+
[key: string]: unknown;
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* Generated by orval v8.19.0 🍺
|
|
843
|
+
* Do not edit manually.
|
|
844
|
+
* Default module
|
|
845
|
+
* OpenAPI spec version: 1.0.0
|
|
846
|
+
*/
|
|
847
|
+
type UpdateLeadMagnetBody = {
|
|
848
|
+
[key: string]: unknown;
|
|
849
|
+
};
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Generated by orval v8.19.0 🍺
|
|
853
|
+
* Do not edit manually.
|
|
854
|
+
* Default module
|
|
855
|
+
* OpenAPI spec version: 1.0.0
|
|
856
|
+
*/
|
|
857
|
+
type UploadLeadMagnetFileBody = {
|
|
858
|
+
file?: Blob;
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
export { type ListDuplicate200DataItem as $, type ApiResponse as A, type ContactList as B, type CreateSuppressionBody as C, type DeleteLabel200 as D, type ExportToVcard200 as E, type ContactName as F, type CreateContactBodyAddressesItem as G, type CreateContactBodyEmailsItem as H, type ImportLeadsBody as I, type CreateContactBodyName as J, type CreateContactBodyOrganizationsItem as K, type ListLeadsParams as L, type MergeContactBody as M, type CreateContactBodyPhoneNumbersItem as N, type CreateContactBodyRelationsItem as O, type CreateContactBodyUrlsItem as P, type DeleteLabel200Data as Q, type DeletedContact200Data as R, type Email as S, EmailType as T, type UploadLeadMagnetFileBody as U, type ExportToCsv200Data as V, type ExportToVcard200Data as W, type ImportFromCsv200Data as X, type ImportFromVcard200Data as Y, type Label as Z, type LabelList as _, type CreateLeadMagnetBody as a, type PhoneNumber as a0, PhoneNumberType as a1, type Relation as a2, type Relation1 as a3, RelationType as a4, type UpdateLeadMagnetBody as b, type UpdateLeadBody as c, type CreateLabelBody as d, type LabelResponse as e, type LabelListResponse as f, type UpdateLabelBody as g, type CreateContactBody as h, type ContactResponse as i, type ListContactParams as j, type ContactListResponse as k, type UpdateContactBody as l, type DeletedContact200 as m, type AssignLabelBody as n, type ListDuplicate200 as o, type ImportFromVcardBody as p, type ImportFromVcard200 as q, type ImportFromCsvBody as r, type ImportFromCsv200 as s, type ExportToCsv200 as t, type CreateAudienceBody as u, type UpdateAudienceBody as v, type AddAudienceContactBody as w, type CreateApiKeyBody as x, type Address as y, AddressType as z };
|