dentalplan-crmtypes 1.0.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/index.d.ts +385 -0
- package/index.d.ts.map +1 -0
- package/index.js +95 -0
- package/index.js.map +1 -0
- package/package.json +12 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
export type CRMApiResponse<T> = {
|
|
2
|
+
ok: true;
|
|
3
|
+
result: T;
|
|
4
|
+
} | {
|
|
5
|
+
ok: false;
|
|
6
|
+
error: {
|
|
7
|
+
code: string;
|
|
8
|
+
message: string;
|
|
9
|
+
details?: unknown;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export interface CRMPagedResult<T> {
|
|
13
|
+
items: T[];
|
|
14
|
+
total: number;
|
|
15
|
+
take: number;
|
|
16
|
+
skip: number;
|
|
17
|
+
}
|
|
18
|
+
export declare enum CRMUserType {
|
|
19
|
+
internal = "internal",
|
|
20
|
+
external = "external"
|
|
21
|
+
}
|
|
22
|
+
export declare enum CRMUserRole {
|
|
23
|
+
superadmin = "superadmin",
|
|
24
|
+
admin = "admin",
|
|
25
|
+
manager = "manager",
|
|
26
|
+
agent = "agent",
|
|
27
|
+
user = "user",
|
|
28
|
+
bot = "bot"
|
|
29
|
+
}
|
|
30
|
+
export declare enum CRMTeamType {
|
|
31
|
+
customer = "customer",
|
|
32
|
+
clinic = "clinic",
|
|
33
|
+
lab = "lab",
|
|
34
|
+
internal = "internal"
|
|
35
|
+
}
|
|
36
|
+
export declare enum CRMChannelType {
|
|
37
|
+
whatsapp = "whatsapp",
|
|
38
|
+
instagram = "instagram",
|
|
39
|
+
email = "email",
|
|
40
|
+
webchat = "webchat",
|
|
41
|
+
sms = "sms"
|
|
42
|
+
}
|
|
43
|
+
export declare enum CRMConversationBox {
|
|
44
|
+
inbox = "inbox",
|
|
45
|
+
archived = "archived"
|
|
46
|
+
}
|
|
47
|
+
export declare enum CRMMessageDirection {
|
|
48
|
+
inbound = "inbound",
|
|
49
|
+
outbound = "outbound"
|
|
50
|
+
}
|
|
51
|
+
export declare enum CRMLeadStatus {
|
|
52
|
+
open = "open",
|
|
53
|
+
closed = "closed"
|
|
54
|
+
}
|
|
55
|
+
export declare enum CRMLeadCloseReason {
|
|
56
|
+
won = "won",
|
|
57
|
+
lost = "lost"
|
|
58
|
+
}
|
|
59
|
+
export declare enum CRMOfferStatus {
|
|
60
|
+
draft = "draft",
|
|
61
|
+
sent = "sent",
|
|
62
|
+
accepted = "accepted",
|
|
63
|
+
rejected = "rejected",
|
|
64
|
+
expired = "expired"
|
|
65
|
+
}
|
|
66
|
+
export declare enum CRMAppointmentType {
|
|
67
|
+
online = "online",
|
|
68
|
+
clinic_visit = "clinic_visit",
|
|
69
|
+
treatment_day = "treatment_day",
|
|
70
|
+
follow_up = "follow_up"
|
|
71
|
+
}
|
|
72
|
+
export declare enum CRMTaskStatus {
|
|
73
|
+
open = "open",
|
|
74
|
+
done = "done",
|
|
75
|
+
cancelled = "cancelled"
|
|
76
|
+
}
|
|
77
|
+
export declare enum CRMLeadActivityType {
|
|
78
|
+
created = "created",
|
|
79
|
+
updated = "updated",
|
|
80
|
+
stage_changed = "stage_changed",
|
|
81
|
+
source_changed = "source_changed",
|
|
82
|
+
assigned_changed = "assigned_changed",
|
|
83
|
+
note_added = "note_added",
|
|
84
|
+
note_updated = "note_updated",
|
|
85
|
+
note_deleted = "note_deleted",
|
|
86
|
+
offer_created = "offer_created",
|
|
87
|
+
offer_updated = "offer_updated",
|
|
88
|
+
appointment_created = "appointment_created",
|
|
89
|
+
appointment_updated = "appointment_updated",
|
|
90
|
+
trip_updated = "trip_updated",
|
|
91
|
+
converted_to_patient = "converted_to_patient",
|
|
92
|
+
merged = "merged",
|
|
93
|
+
deleted = "deleted"
|
|
94
|
+
}
|
|
95
|
+
export interface CRMTenantDTO {
|
|
96
|
+
id: string;
|
|
97
|
+
code: string;
|
|
98
|
+
name: string;
|
|
99
|
+
apiKey: string;
|
|
100
|
+
isActive: boolean;
|
|
101
|
+
createdAt: string;
|
|
102
|
+
updatedAt: string;
|
|
103
|
+
}
|
|
104
|
+
export interface CRMTeamDTO {
|
|
105
|
+
id: string;
|
|
106
|
+
tenantId: string;
|
|
107
|
+
externalId: string | null;
|
|
108
|
+
name: string;
|
|
109
|
+
type: CRMTeamType;
|
|
110
|
+
isActive: boolean;
|
|
111
|
+
createdAt: string;
|
|
112
|
+
updatedAt: string;
|
|
113
|
+
}
|
|
114
|
+
export interface CRMUserDTO {
|
|
115
|
+
id: string;
|
|
116
|
+
tenantId: string;
|
|
117
|
+
teamId: string | null;
|
|
118
|
+
externalId: string | null;
|
|
119
|
+
type: CRMUserType;
|
|
120
|
+
role: CRMUserRole;
|
|
121
|
+
email: string | null;
|
|
122
|
+
name: string | null;
|
|
123
|
+
avatarUrl: string | null;
|
|
124
|
+
isActive: boolean;
|
|
125
|
+
createdAt: string;
|
|
126
|
+
updatedAt: string;
|
|
127
|
+
}
|
|
128
|
+
export interface CRMContactDTO {
|
|
129
|
+
id: string;
|
|
130
|
+
tenantId: string;
|
|
131
|
+
externalId: string | null;
|
|
132
|
+
name: string | null;
|
|
133
|
+
phone: string | null;
|
|
134
|
+
email: string | null;
|
|
135
|
+
avatarUrl: string | null;
|
|
136
|
+
country: string | null;
|
|
137
|
+
city: string | null;
|
|
138
|
+
language: string | null;
|
|
139
|
+
note: string | null;
|
|
140
|
+
isActive: boolean;
|
|
141
|
+
createdAt: string;
|
|
142
|
+
updatedAt: string;
|
|
143
|
+
}
|
|
144
|
+
export interface CRMChannelAccountDTO {
|
|
145
|
+
id: string;
|
|
146
|
+
tenantId: string;
|
|
147
|
+
type: CRMChannelType;
|
|
148
|
+
name: string;
|
|
149
|
+
address: string | null;
|
|
150
|
+
isActive: boolean;
|
|
151
|
+
createdAt: string;
|
|
152
|
+
updatedAt: string;
|
|
153
|
+
}
|
|
154
|
+
export interface CRMConversationDTO {
|
|
155
|
+
id: string;
|
|
156
|
+
tenantId: string;
|
|
157
|
+
contactId: string;
|
|
158
|
+
channelAccountId: string;
|
|
159
|
+
box: CRMConversationBox;
|
|
160
|
+
assignedToUserId: string | null;
|
|
161
|
+
leadId: string | null;
|
|
162
|
+
lastMessageAt: string | null;
|
|
163
|
+
lastMessageText: string | null;
|
|
164
|
+
unreadCount: number;
|
|
165
|
+
createdAt: string;
|
|
166
|
+
updatedAt: string;
|
|
167
|
+
}
|
|
168
|
+
export interface CRMMessageDTO {
|
|
169
|
+
id: string;
|
|
170
|
+
tenantId: string;
|
|
171
|
+
conversationId: string;
|
|
172
|
+
externalId: string | null;
|
|
173
|
+
direction: CRMMessageDirection;
|
|
174
|
+
text: string | null;
|
|
175
|
+
payload: unknown | null;
|
|
176
|
+
sentAt: string;
|
|
177
|
+
createdAt: string;
|
|
178
|
+
}
|
|
179
|
+
export interface CRMLeadSourceDTO {
|
|
180
|
+
id: string;
|
|
181
|
+
tenantId: string;
|
|
182
|
+
key: string;
|
|
183
|
+
name: string;
|
|
184
|
+
color: string | null;
|
|
185
|
+
order: number;
|
|
186
|
+
isActive: boolean;
|
|
187
|
+
createdAt: string;
|
|
188
|
+
updatedAt: string;
|
|
189
|
+
}
|
|
190
|
+
export interface CRMPipelineStageDTO {
|
|
191
|
+
id: string;
|
|
192
|
+
tenantId: string;
|
|
193
|
+
key: string;
|
|
194
|
+
name: string;
|
|
195
|
+
order: number;
|
|
196
|
+
isClosed: boolean;
|
|
197
|
+
isActive: boolean;
|
|
198
|
+
createdAt: string;
|
|
199
|
+
updatedAt: string;
|
|
200
|
+
}
|
|
201
|
+
export interface CRMLeadDTO {
|
|
202
|
+
id: string;
|
|
203
|
+
tenantId: string;
|
|
204
|
+
teamId: string | null;
|
|
205
|
+
contactId: string;
|
|
206
|
+
stageId: string;
|
|
207
|
+
sourceId: string | null;
|
|
208
|
+
createdByUserId: string | null;
|
|
209
|
+
assignedToUserId: string | null;
|
|
210
|
+
status: CRMLeadStatus;
|
|
211
|
+
closeReason: CRMLeadCloseReason | null;
|
|
212
|
+
notes: string | null;
|
|
213
|
+
estValue: string | null;
|
|
214
|
+
currency: string | null;
|
|
215
|
+
interest: string | null;
|
|
216
|
+
desiredStartDate: string | null;
|
|
217
|
+
desiredEndDate: string | null;
|
|
218
|
+
companionCount: number | null;
|
|
219
|
+
accommodationNeed: boolean;
|
|
220
|
+
transferNeed: boolean;
|
|
221
|
+
externalLeadId: string | null;
|
|
222
|
+
externalPatientId: string | null;
|
|
223
|
+
convertedAt: string | null;
|
|
224
|
+
createdAt: string;
|
|
225
|
+
updatedAt: string;
|
|
226
|
+
}
|
|
227
|
+
export interface CRMLeadActivityDTO {
|
|
228
|
+
id: string;
|
|
229
|
+
tenantId: string;
|
|
230
|
+
leadId: string;
|
|
231
|
+
type: CRMLeadActivityType;
|
|
232
|
+
message: string | null;
|
|
233
|
+
meta: unknown | null;
|
|
234
|
+
byUserId: string | null;
|
|
235
|
+
createdAt: string;
|
|
236
|
+
}
|
|
237
|
+
export interface CRMOfferDTO {
|
|
238
|
+
id: string;
|
|
239
|
+
tenantId: string;
|
|
240
|
+
leadId: string;
|
|
241
|
+
status: CRMOfferStatus;
|
|
242
|
+
title: string | null;
|
|
243
|
+
summary: string | null;
|
|
244
|
+
total: string | null;
|
|
245
|
+
currency: string | null;
|
|
246
|
+
externalOfferId: string | null;
|
|
247
|
+
meta: unknown | null;
|
|
248
|
+
createdAt: string;
|
|
249
|
+
updatedAt: string;
|
|
250
|
+
}
|
|
251
|
+
export interface CRMAppointmentDTO {
|
|
252
|
+
id: string;
|
|
253
|
+
tenantId: string;
|
|
254
|
+
leadId: string;
|
|
255
|
+
type: CRMAppointmentType;
|
|
256
|
+
startsAt: string;
|
|
257
|
+
endsAt: string | null;
|
|
258
|
+
location: string | null;
|
|
259
|
+
note: string | null;
|
|
260
|
+
meta: unknown | null;
|
|
261
|
+
createdAt: string;
|
|
262
|
+
updatedAt: string;
|
|
263
|
+
}
|
|
264
|
+
export interface CRMTripPlanDTO {
|
|
265
|
+
id: string;
|
|
266
|
+
tenantId: string;
|
|
267
|
+
leadId: string;
|
|
268
|
+
arrivalAt: string | null;
|
|
269
|
+
departureAt: string | null;
|
|
270
|
+
flightInfo: string | null;
|
|
271
|
+
hotelName: string | null;
|
|
272
|
+
hotelAddress: string | null;
|
|
273
|
+
transferNeed: boolean;
|
|
274
|
+
companionCount: number | null;
|
|
275
|
+
meta: unknown | null;
|
|
276
|
+
createdAt: string;
|
|
277
|
+
updatedAt: string;
|
|
278
|
+
}
|
|
279
|
+
export interface CRMTaskDTO {
|
|
280
|
+
id: string;
|
|
281
|
+
tenantId: string;
|
|
282
|
+
leadId: string;
|
|
283
|
+
title: string;
|
|
284
|
+
status: CRMTaskStatus;
|
|
285
|
+
dueAt: string | null;
|
|
286
|
+
assignedToUserId: string | null;
|
|
287
|
+
note: string | null;
|
|
288
|
+
createdAt: string;
|
|
289
|
+
updatedAt: string;
|
|
290
|
+
}
|
|
291
|
+
export interface CRMAuthTokenDTO {
|
|
292
|
+
accessToken: string;
|
|
293
|
+
user: CRMUserDTO;
|
|
294
|
+
team: CRMTeamDTO | null;
|
|
295
|
+
}
|
|
296
|
+
export interface CRMGetOrCreateUserBody {
|
|
297
|
+
externalUserId: string;
|
|
298
|
+
externalTeamId?: string;
|
|
299
|
+
teamName?: string;
|
|
300
|
+
teamType?: CRMTeamType;
|
|
301
|
+
email?: string;
|
|
302
|
+
name?: string;
|
|
303
|
+
role?: CRMUserRole;
|
|
304
|
+
avatarUrl?: string;
|
|
305
|
+
}
|
|
306
|
+
export interface CRMPostInboundMessageBody {
|
|
307
|
+
channelAccountId: string;
|
|
308
|
+
channel: CRMChannelType;
|
|
309
|
+
externalMessageId?: string;
|
|
310
|
+
contactPhone?: string;
|
|
311
|
+
contactEmail?: string;
|
|
312
|
+
contactExternalId?: string;
|
|
313
|
+
contactName?: string;
|
|
314
|
+
text?: string;
|
|
315
|
+
payload?: unknown;
|
|
316
|
+
sentAt: string;
|
|
317
|
+
autoCreateLead?: boolean;
|
|
318
|
+
}
|
|
319
|
+
export interface CRMUpsertContactBody {
|
|
320
|
+
externalId?: string;
|
|
321
|
+
name?: string;
|
|
322
|
+
phone?: string;
|
|
323
|
+
email?: string;
|
|
324
|
+
avatarUrl?: string;
|
|
325
|
+
country?: string;
|
|
326
|
+
city?: string;
|
|
327
|
+
language?: string;
|
|
328
|
+
note?: string;
|
|
329
|
+
}
|
|
330
|
+
export interface CRMCreateLeadBody {
|
|
331
|
+
contactId?: string;
|
|
332
|
+
contactCreate?: CRMUpsertContactBody;
|
|
333
|
+
stageId: string;
|
|
334
|
+
sourceId?: string;
|
|
335
|
+
assignedToUserId?: string;
|
|
336
|
+
notes?: string;
|
|
337
|
+
estValue?: number;
|
|
338
|
+
currency?: string;
|
|
339
|
+
interest?: string;
|
|
340
|
+
}
|
|
341
|
+
export interface CRMUpdateLeadStageBody {
|
|
342
|
+
leadId: string;
|
|
343
|
+
stageId: string;
|
|
344
|
+
}
|
|
345
|
+
export interface CRMTripPlanUpsertBody {
|
|
346
|
+
arrivalAt?: string;
|
|
347
|
+
departureAt?: string;
|
|
348
|
+
flightInfo?: string;
|
|
349
|
+
hotelName?: string;
|
|
350
|
+
hotelAddress?: string;
|
|
351
|
+
transferNeed?: boolean;
|
|
352
|
+
companionCount?: number;
|
|
353
|
+
meta?: unknown;
|
|
354
|
+
}
|
|
355
|
+
export interface CRMCreateAppointmentBody {
|
|
356
|
+
type: CRMAppointmentType;
|
|
357
|
+
startsAt: string;
|
|
358
|
+
endsAt?: string;
|
|
359
|
+
location?: string;
|
|
360
|
+
note?: string;
|
|
361
|
+
meta?: unknown;
|
|
362
|
+
}
|
|
363
|
+
export interface CRMCreateOfferBody {
|
|
364
|
+
title?: string;
|
|
365
|
+
summary?: string;
|
|
366
|
+
total?: number;
|
|
367
|
+
currency?: string;
|
|
368
|
+
externalOfferId?: string;
|
|
369
|
+
meta?: unknown;
|
|
370
|
+
}
|
|
371
|
+
export interface CRMListQuery {
|
|
372
|
+
take?: number;
|
|
373
|
+
skip?: number;
|
|
374
|
+
}
|
|
375
|
+
export interface CRMConversationListQuery extends CRMListQuery {
|
|
376
|
+
box?: CRMConversationBox;
|
|
377
|
+
filter?: 'all' | 'mine' | 'unassigned';
|
|
378
|
+
q?: string;
|
|
379
|
+
}
|
|
380
|
+
export interface CRMLeadListQuery extends CRMListQuery {
|
|
381
|
+
stageId?: string;
|
|
382
|
+
assigned?: 'mine' | 'unassigned' | 'all';
|
|
383
|
+
q?: string;
|
|
384
|
+
}
|
|
385
|
+
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,CAAC,CAAC,IACxB;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,MAAM,EAAE,CAAC,CAAA;CAAE,GACvB;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,CAAA;KAAE,CAAA;CAAE,CAAC;AAE/E,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAID,oBAAY,WAAW;IACrB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB;AAED,oBAAY,WAAW;IACrB,UAAU,eAAe;IACzB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ;AAED,oBAAY,WAAW;IACrB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,QAAQ,aAAa;CACtB;AAED,oBAA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yB,SAAQ,YAAY;IAC5D,GAAG,CAAC,EAAE,kBAAkB,CAAC;IACzB,MAAM,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,YAAY,CAAC;IACvC,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,KAAK,CAAC;IACzC,CAAC,CAAC,EAAE,MAAM,CAAC;CACZ"}
|
package/index.js
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ─── Core response wrapper ────────────────────────────────────────────────────
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.CRMLeadActivityType = exports.CRMTaskStatus = exports.CRMAppointmentType = exports.CRMOfferStatus = exports.CRMLeadCloseReason = exports.CRMLeadStatus = exports.CRMMessageDirection = exports.CRMConversationBox = exports.CRMChannelType = exports.CRMTeamType = exports.CRMUserRole = exports.CRMUserType = void 0;
|
|
5
|
+
// ─── Enums ────────────────────────────────────────────────────────────────────
|
|
6
|
+
var CRMUserType;
|
|
7
|
+
(function (CRMUserType) {
|
|
8
|
+
CRMUserType["internal"] = "internal";
|
|
9
|
+
CRMUserType["external"] = "external";
|
|
10
|
+
})(CRMUserType || (exports.CRMUserType = CRMUserType = {}));
|
|
11
|
+
var CRMUserRole;
|
|
12
|
+
(function (CRMUserRole) {
|
|
13
|
+
CRMUserRole["superadmin"] = "superadmin";
|
|
14
|
+
CRMUserRole["admin"] = "admin";
|
|
15
|
+
CRMUserRole["manager"] = "manager";
|
|
16
|
+
CRMUserRole["agent"] = "agent";
|
|
17
|
+
CRMUserRole["user"] = "user";
|
|
18
|
+
CRMUserRole["bot"] = "bot";
|
|
19
|
+
})(CRMUserRole || (exports.CRMUserRole = CRMUserRole = {}));
|
|
20
|
+
var CRMTeamType;
|
|
21
|
+
(function (CRMTeamType) {
|
|
22
|
+
CRMTeamType["customer"] = "customer";
|
|
23
|
+
CRMTeamType["clinic"] = "clinic";
|
|
24
|
+
CRMTeamType["lab"] = "lab";
|
|
25
|
+
CRMTeamType["internal"] = "internal";
|
|
26
|
+
})(CRMTeamType || (exports.CRMTeamType = CRMTeamType = {}));
|
|
27
|
+
var CRMChannelType;
|
|
28
|
+
(function (CRMChannelType) {
|
|
29
|
+
CRMChannelType["whatsapp"] = "whatsapp";
|
|
30
|
+
CRMChannelType["instagram"] = "instagram";
|
|
31
|
+
CRMChannelType["email"] = "email";
|
|
32
|
+
CRMChannelType["webchat"] = "webchat";
|
|
33
|
+
CRMChannelType["sms"] = "sms";
|
|
34
|
+
})(CRMChannelType || (exports.CRMChannelType = CRMChannelType = {}));
|
|
35
|
+
var CRMConversationBox;
|
|
36
|
+
(function (CRMConversationBox) {
|
|
37
|
+
CRMConversationBox["inbox"] = "inbox";
|
|
38
|
+
CRMConversationBox["archived"] = "archived";
|
|
39
|
+
})(CRMConversationBox || (exports.CRMConversationBox = CRMConversationBox = {}));
|
|
40
|
+
var CRMMessageDirection;
|
|
41
|
+
(function (CRMMessageDirection) {
|
|
42
|
+
CRMMessageDirection["inbound"] = "inbound";
|
|
43
|
+
CRMMessageDirection["outbound"] = "outbound";
|
|
44
|
+
})(CRMMessageDirection || (exports.CRMMessageDirection = CRMMessageDirection = {}));
|
|
45
|
+
var CRMLeadStatus;
|
|
46
|
+
(function (CRMLeadStatus) {
|
|
47
|
+
CRMLeadStatus["open"] = "open";
|
|
48
|
+
CRMLeadStatus["closed"] = "closed";
|
|
49
|
+
})(CRMLeadStatus || (exports.CRMLeadStatus = CRMLeadStatus = {}));
|
|
50
|
+
var CRMLeadCloseReason;
|
|
51
|
+
(function (CRMLeadCloseReason) {
|
|
52
|
+
CRMLeadCloseReason["won"] = "won";
|
|
53
|
+
CRMLeadCloseReason["lost"] = "lost";
|
|
54
|
+
})(CRMLeadCloseReason || (exports.CRMLeadCloseReason = CRMLeadCloseReason = {}));
|
|
55
|
+
var CRMOfferStatus;
|
|
56
|
+
(function (CRMOfferStatus) {
|
|
57
|
+
CRMOfferStatus["draft"] = "draft";
|
|
58
|
+
CRMOfferStatus["sent"] = "sent";
|
|
59
|
+
CRMOfferStatus["accepted"] = "accepted";
|
|
60
|
+
CRMOfferStatus["rejected"] = "rejected";
|
|
61
|
+
CRMOfferStatus["expired"] = "expired";
|
|
62
|
+
})(CRMOfferStatus || (exports.CRMOfferStatus = CRMOfferStatus = {}));
|
|
63
|
+
var CRMAppointmentType;
|
|
64
|
+
(function (CRMAppointmentType) {
|
|
65
|
+
CRMAppointmentType["online"] = "online";
|
|
66
|
+
CRMAppointmentType["clinic_visit"] = "clinic_visit";
|
|
67
|
+
CRMAppointmentType["treatment_day"] = "treatment_day";
|
|
68
|
+
CRMAppointmentType["follow_up"] = "follow_up";
|
|
69
|
+
})(CRMAppointmentType || (exports.CRMAppointmentType = CRMAppointmentType = {}));
|
|
70
|
+
var CRMTaskStatus;
|
|
71
|
+
(function (CRMTaskStatus) {
|
|
72
|
+
CRMTaskStatus["open"] = "open";
|
|
73
|
+
CRMTaskStatus["done"] = "done";
|
|
74
|
+
CRMTaskStatus["cancelled"] = "cancelled";
|
|
75
|
+
})(CRMTaskStatus || (exports.CRMTaskStatus = CRMTaskStatus = {}));
|
|
76
|
+
var CRMLeadActivityType;
|
|
77
|
+
(function (CRMLeadActivityType) {
|
|
78
|
+
CRMLeadActivityType["created"] = "created";
|
|
79
|
+
CRMLeadActivityType["updated"] = "updated";
|
|
80
|
+
CRMLeadActivityType["stage_changed"] = "stage_changed";
|
|
81
|
+
CRMLeadActivityType["source_changed"] = "source_changed";
|
|
82
|
+
CRMLeadActivityType["assigned_changed"] = "assigned_changed";
|
|
83
|
+
CRMLeadActivityType["note_added"] = "note_added";
|
|
84
|
+
CRMLeadActivityType["note_updated"] = "note_updated";
|
|
85
|
+
CRMLeadActivityType["note_deleted"] = "note_deleted";
|
|
86
|
+
CRMLeadActivityType["offer_created"] = "offer_created";
|
|
87
|
+
CRMLeadActivityType["offer_updated"] = "offer_updated";
|
|
88
|
+
CRMLeadActivityType["appointment_created"] = "appointment_created";
|
|
89
|
+
CRMLeadActivityType["appointment_updated"] = "appointment_updated";
|
|
90
|
+
CRMLeadActivityType["trip_updated"] = "trip_updated";
|
|
91
|
+
CRMLeadActivityType["converted_to_patient"] = "converted_to_patient";
|
|
92
|
+
CRMLeadActivityType["merged"] = "merged";
|
|
93
|
+
CRMLeadActivityType["deleted"] = "deleted";
|
|
94
|
+
})(CRMLeadActivityType || (exports.CRMLeadActivityType = CRMLeadActivityType = {}));
|
|
95
|
+
//# sourceMappingURL=index.js.map
|
package/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,iFAAiF;;;AAajF,iFAAiF;AAEjF,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;AACvB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,wCAAyB,CAAA;IACzB,8BAAe,CAAA;IACf,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,4BAAa,CAAA;IACb,0BAAW,CAAA;AACb,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAED,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,0BAAW,CAAA;IACX,oCAAqB,CAAA;AACvB,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAED,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,iCAAe,CAAA;IACf,qCAAmB,CAAA;IACnB,6BAAW,CAAA;AACb,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB;AAED,IAAY,kBA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EAA2C,CAAA;IAC3C,kEAA2C,CAAA;IAC3C,oDAA6B,CAAA;IAC7B,oEAA6C,CAAA;IAC7C,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;AACrB,CAAC,EAjBW,mBAAmB,mCAAnB,mBAAmB,QAiB9B"}
|
package/package.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dentalplan-crmtypes",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Shared CRM types and DTOs",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"keywords": ["crm", "types", "typescript"],
|
|
11
|
+
"license": "MIT"
|
|
12
|
+
}
|