@verma-consulting/common-library 0.1.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 +3 -0
- package/dist/index.d.mts +1968 -0
- package/dist/index.d.ts +1968 -0
- package/dist/index.js +1206 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1166 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +37 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,1968 @@
|
|
|
1
|
+
declare const validEmail: (email: string) => boolean;
|
|
2
|
+
declare const isNumber: (value: unknown) => boolean;
|
|
3
|
+
declare const grabAge: (dateOfBirth: string) => number;
|
|
4
|
+
declare function normalizeKey(str: string): string;
|
|
5
|
+
declare function prettifyString(input?: string): string;
|
|
6
|
+
declare function snakeToPretty(input: string): string;
|
|
7
|
+
declare const camelCaseToWords: (value: string) => string;
|
|
8
|
+
declare const capitalizeSentence: (value: string) => string;
|
|
9
|
+
type Notation = "standard" | "scientific" | "engineering" | "compact";
|
|
10
|
+
declare const largeNumberLabel: (value: string | number | null | undefined) => string;
|
|
11
|
+
declare const getRandomArbitrary: (min: number, max: number) => number;
|
|
12
|
+
declare const formatPhoneNumber: (value: string) => string | null;
|
|
13
|
+
declare const openInNewTab: (url: string) => void;
|
|
14
|
+
|
|
15
|
+
interface GenericPayload {
|
|
16
|
+
label?: string;
|
|
17
|
+
value?: string;
|
|
18
|
+
}
|
|
19
|
+
interface RegisterInterface {
|
|
20
|
+
email?: string;
|
|
21
|
+
userName?: string;
|
|
22
|
+
cognitoUserId?: string;
|
|
23
|
+
organizationId?: string;
|
|
24
|
+
createdById?: string;
|
|
25
|
+
firstName?: string;
|
|
26
|
+
lastName?: string;
|
|
27
|
+
jobTitle?: string;
|
|
28
|
+
group?: string;
|
|
29
|
+
source?: string;
|
|
30
|
+
status?: string;
|
|
31
|
+
role?: string;
|
|
32
|
+
dateOfBirth?: Date | null;
|
|
33
|
+
phoneNumber?: string;
|
|
34
|
+
gender?: string;
|
|
35
|
+
organizationName?: string;
|
|
36
|
+
termsNConditionFlag?: boolean;
|
|
37
|
+
isEmailConfirmed?: boolean;
|
|
38
|
+
passwordRequestFlag?: boolean;
|
|
39
|
+
confirmMfa?: boolean;
|
|
40
|
+
password?: string;
|
|
41
|
+
salt?: string;
|
|
42
|
+
hashedPassword?: string;
|
|
43
|
+
secret?: string;
|
|
44
|
+
qrCode?: string;
|
|
45
|
+
}
|
|
46
|
+
interface UserInterface {
|
|
47
|
+
id?: string;
|
|
48
|
+
cognitoUserId?: string;
|
|
49
|
+
organizationId?: string;
|
|
50
|
+
avatarId?: string;
|
|
51
|
+
createdAt?: Date;
|
|
52
|
+
updatedAt?: Date;
|
|
53
|
+
deletedAt?: Date;
|
|
54
|
+
lastLogin?: Date;
|
|
55
|
+
firstLogin?: Date;
|
|
56
|
+
dateOfBirth?: Date;
|
|
57
|
+
firstName?: string;
|
|
58
|
+
lastName?: string;
|
|
59
|
+
jobTitle?: string;
|
|
60
|
+
group?: string;
|
|
61
|
+
source?: string;
|
|
62
|
+
status?: string;
|
|
63
|
+
role?: string;
|
|
64
|
+
isEmailConfirmed?: boolean;
|
|
65
|
+
qrVerified?: boolean;
|
|
66
|
+
phoneNumber?: string;
|
|
67
|
+
gender?: string;
|
|
68
|
+
userName?: string;
|
|
69
|
+
email?: string;
|
|
70
|
+
salt?: string;
|
|
71
|
+
hashedPassword?: string;
|
|
72
|
+
secret?: string;
|
|
73
|
+
qrCode?: string;
|
|
74
|
+
logoUrl?: string;
|
|
75
|
+
banned?: boolean;
|
|
76
|
+
confirmMfa?: boolean;
|
|
77
|
+
passwordRequestFlag?: boolean;
|
|
78
|
+
termsNConditionFlag?: boolean;
|
|
79
|
+
addressId?: string;
|
|
80
|
+
tasksCreated?: TaskInterface[];
|
|
81
|
+
listsCreated?: ListInterface[];
|
|
82
|
+
reportsCreated?: ReportInterface[];
|
|
83
|
+
inventoriesCreated?: InventoryInterface[];
|
|
84
|
+
engagementsCreated?: EngagementInterface[];
|
|
85
|
+
dealsCreated?: DealInterface[];
|
|
86
|
+
leadsCreated?: LeadInterface[];
|
|
87
|
+
filtersCreated?: FilterInterface[];
|
|
88
|
+
statisticsCreated?: StatisticInterface[];
|
|
89
|
+
schemasCreated?: SchemaInterface[];
|
|
90
|
+
poolsCreated?: PoolInterface[];
|
|
91
|
+
clientsCreated?: ClientInterface[];
|
|
92
|
+
contactsCreated?: ContactInterface[];
|
|
93
|
+
invoicesCreated?: InvoiceInterface[];
|
|
94
|
+
integrationsCreated?: IntegrationInterface[];
|
|
95
|
+
chatsCreated?: ChatInterface[];
|
|
96
|
+
commentsCreated?: CommentInterface[];
|
|
97
|
+
organizationModelsCreated?: OrganizationModelInterface[];
|
|
98
|
+
usersCreated?: UserInterface[];
|
|
99
|
+
addressesCreated?: AddressInterface[];
|
|
100
|
+
contentsCreated?: ContentInterface[];
|
|
101
|
+
usagesCreated?: UsageInterface[];
|
|
102
|
+
productsCreated?: ProductInterface[];
|
|
103
|
+
subscriptionsCreated?: SubscriptionInterface[];
|
|
104
|
+
paymentsCreated?: PaymentInterface[];
|
|
105
|
+
permissions?: PermissionInterface[];
|
|
106
|
+
notifications?: NotificationInterface[];
|
|
107
|
+
avatar?: FileInterface;
|
|
108
|
+
uploadAvatar?: FileInterface;
|
|
109
|
+
organization?: OrganizationInterface;
|
|
110
|
+
createdById?: string;
|
|
111
|
+
updatedById?: string;
|
|
112
|
+
createdBy?: UserInterface;
|
|
113
|
+
updatedBy?: UserInterface;
|
|
114
|
+
name?: () => null;
|
|
115
|
+
notificationSettings?: {
|
|
116
|
+
dailyReports?: boolean;
|
|
117
|
+
dealsClosing?: boolean;
|
|
118
|
+
deletionAlerts?: boolean;
|
|
119
|
+
device?: string;
|
|
120
|
+
};
|
|
121
|
+
platformSettings?: {
|
|
122
|
+
mode?: string;
|
|
123
|
+
language?: string;
|
|
124
|
+
currency?: string;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
interface OrganizationInterface {
|
|
128
|
+
id?: string;
|
|
129
|
+
createdAt?: Date;
|
|
130
|
+
updatedAt?: Date;
|
|
131
|
+
deletedAt?: Date;
|
|
132
|
+
claimed?: boolean;
|
|
133
|
+
clientSecret?: string;
|
|
134
|
+
name?: string;
|
|
135
|
+
parentOrganizationId?: string;
|
|
136
|
+
subOrganizationId?: string;
|
|
137
|
+
stripeId?: string;
|
|
138
|
+
email?: string;
|
|
139
|
+
contactName?: string;
|
|
140
|
+
phone?: string;
|
|
141
|
+
currency?: string;
|
|
142
|
+
website?: string;
|
|
143
|
+
domain?: string;
|
|
144
|
+
customerType?: string;
|
|
145
|
+
primaryTheme?: string;
|
|
146
|
+
industry?: string;
|
|
147
|
+
linkedinUrl?: string;
|
|
148
|
+
facebookUrl?: string;
|
|
149
|
+
twitterUrl?: string;
|
|
150
|
+
angelUrl?: string;
|
|
151
|
+
crunchbaseUrl?: string;
|
|
152
|
+
subscriptionStartDate?: Date;
|
|
153
|
+
subscriptionEndDate?: Date;
|
|
154
|
+
subscriptionPauseDate?: Date;
|
|
155
|
+
subscriptionCancellationDate?: Date;
|
|
156
|
+
subscriptionPauseCollection?: PauseCollectionInterface;
|
|
157
|
+
subscriptionCancellationDetails?: CancellationDetailsInterface;
|
|
158
|
+
createdById?: string;
|
|
159
|
+
updatedById?: string;
|
|
160
|
+
createdBy?: UserInterface;
|
|
161
|
+
updatedBy?: UserInterface;
|
|
162
|
+
notifications?: NotificationInterface[];
|
|
163
|
+
logoId?: string;
|
|
164
|
+
logo?: FileInterface;
|
|
165
|
+
uploadLogo?: FileInterface;
|
|
166
|
+
address?: AddressInterface;
|
|
167
|
+
permissions?: PermissionInterface[];
|
|
168
|
+
paymentMethod?: PaymentMethodInterface | null;
|
|
169
|
+
parentOrganization?: OrganizationInterface;
|
|
170
|
+
subOrganizations?: OrganizationInterface[];
|
|
171
|
+
}
|
|
172
|
+
interface IntegrationInterface {
|
|
173
|
+
id?: string;
|
|
174
|
+
createdAt?: Date;
|
|
175
|
+
updatedAt?: Date;
|
|
176
|
+
deletedAt?: Date;
|
|
177
|
+
name?: string;
|
|
178
|
+
category?: string;
|
|
179
|
+
type?: string;
|
|
180
|
+
description?: string;
|
|
181
|
+
title?: string;
|
|
182
|
+
key?: string;
|
|
183
|
+
secret?: string;
|
|
184
|
+
logo?: string;
|
|
185
|
+
clientEmail?: string;
|
|
186
|
+
clientId?: string;
|
|
187
|
+
tenantId?: string;
|
|
188
|
+
customerId?: string;
|
|
189
|
+
teamId?: string;
|
|
190
|
+
channelId?: string;
|
|
191
|
+
model?: string;
|
|
192
|
+
active?: boolean;
|
|
193
|
+
importBridge?: boolean;
|
|
194
|
+
importedAt?: Date;
|
|
195
|
+
exportBridge?: boolean;
|
|
196
|
+
exportedAt?: Date;
|
|
197
|
+
dynamicBridge?: boolean;
|
|
198
|
+
organizationId?: string;
|
|
199
|
+
organization?: OrganizationInterface;
|
|
200
|
+
createdById?: string;
|
|
201
|
+
updatedById?: string;
|
|
202
|
+
createdBy?: UserInterface;
|
|
203
|
+
updatedBy?: UserInterface;
|
|
204
|
+
}
|
|
205
|
+
interface PermissionInterface {
|
|
206
|
+
id?: string;
|
|
207
|
+
createdAt?: Date;
|
|
208
|
+
updatedAt?: Date;
|
|
209
|
+
deletedAt?: Date;
|
|
210
|
+
permission?: string;
|
|
211
|
+
feature?: string;
|
|
212
|
+
userId?: string;
|
|
213
|
+
organizationId?: string;
|
|
214
|
+
user?: UserInterface;
|
|
215
|
+
organization?: OrganizationInterface;
|
|
216
|
+
}
|
|
217
|
+
interface ProductInterface {
|
|
218
|
+
id?: string;
|
|
219
|
+
createdAt?: Date;
|
|
220
|
+
updatedAt?: Date;
|
|
221
|
+
deletedAt?: Date;
|
|
222
|
+
name?: string;
|
|
223
|
+
description?: string;
|
|
224
|
+
status?: string;
|
|
225
|
+
type?: string;
|
|
226
|
+
active?: boolean;
|
|
227
|
+
livemode?: boolean;
|
|
228
|
+
shippable?: boolean;
|
|
229
|
+
statementDescriptor?: string;
|
|
230
|
+
taxCode?: string;
|
|
231
|
+
unitLabel?: string;
|
|
232
|
+
url?: string;
|
|
233
|
+
stripeId?: string;
|
|
234
|
+
inventoryId?: string;
|
|
235
|
+
marketingFeatures?: MarketingFeatureInterface[];
|
|
236
|
+
packageDimensions?: PackageDimensionsInterface;
|
|
237
|
+
inventory?: InventoryInterface;
|
|
238
|
+
price?: PriceInterface;
|
|
239
|
+
client?: ClientInterface;
|
|
240
|
+
subscriptions?: SubscriptionInterface[];
|
|
241
|
+
payments?: PaymentInterface[];
|
|
242
|
+
poolId?: string;
|
|
243
|
+
pool?: PoolInterface;
|
|
244
|
+
organizationId?: string;
|
|
245
|
+
organization?: OrganizationInterface;
|
|
246
|
+
accountOwnerId?: string;
|
|
247
|
+
accountOwner?: UserInterface;
|
|
248
|
+
contents?: ContentInterface[];
|
|
249
|
+
createdById?: string;
|
|
250
|
+
updatedById?: string;
|
|
251
|
+
createdBy?: UserInterface;
|
|
252
|
+
updatedBy?: UserInterface;
|
|
253
|
+
}
|
|
254
|
+
interface MarketingFeatureInterface {
|
|
255
|
+
name?: string;
|
|
256
|
+
}
|
|
257
|
+
interface PackageDimensionsInterface {
|
|
258
|
+
height?: number;
|
|
259
|
+
length?: number;
|
|
260
|
+
weight?: number;
|
|
261
|
+
width?: number;
|
|
262
|
+
}
|
|
263
|
+
interface PriceInterface {
|
|
264
|
+
stripeId?: string;
|
|
265
|
+
active?: boolean;
|
|
266
|
+
lookupKey?: string;
|
|
267
|
+
type?: string;
|
|
268
|
+
taxBehavior?: string;
|
|
269
|
+
product?: string;
|
|
270
|
+
currency?: string;
|
|
271
|
+
billingScheme?: string;
|
|
272
|
+
unitAmount?: number;
|
|
273
|
+
unitAmountDecimal?: string;
|
|
274
|
+
recurring?: PriceRecurringInterface;
|
|
275
|
+
}
|
|
276
|
+
interface PriceRecurringInterface {
|
|
277
|
+
usageType?: string;
|
|
278
|
+
aggregateUsage?: string;
|
|
279
|
+
interval?: string;
|
|
280
|
+
intervalCount?: number;
|
|
281
|
+
trialPeriodDays?: number;
|
|
282
|
+
}
|
|
283
|
+
interface SubscriptionInterface {
|
|
284
|
+
id?: string;
|
|
285
|
+
createdAt?: Date;
|
|
286
|
+
updatedAt?: Date;
|
|
287
|
+
deletedAt?: Date;
|
|
288
|
+
name?: string;
|
|
289
|
+
description?: string;
|
|
290
|
+
status?: string;
|
|
291
|
+
currency?: string;
|
|
292
|
+
backdateStartDate?: Date;
|
|
293
|
+
billingCycleAnchor?: Date;
|
|
294
|
+
cancelAt?: Date;
|
|
295
|
+
canceledAt?: Date;
|
|
296
|
+
currentPeriodEnd?: Date;
|
|
297
|
+
currentPeriodStart?: Date;
|
|
298
|
+
nextPendingInvoiceItemInvoice?: Date;
|
|
299
|
+
startDate?: Date;
|
|
300
|
+
trialStart?: Date;
|
|
301
|
+
trialEnd?: Date;
|
|
302
|
+
endedAt?: Date;
|
|
303
|
+
daysUntilDue?: number;
|
|
304
|
+
trialPeriodDays?: number;
|
|
305
|
+
applicationFeePercent?: number;
|
|
306
|
+
cancelAtPeriodEnd?: boolean;
|
|
307
|
+
trialFromPlan?: boolean;
|
|
308
|
+
offSession?: boolean;
|
|
309
|
+
livemode?: boolean;
|
|
310
|
+
automaticTax?: AutomaticTaxInterface;
|
|
311
|
+
pauseCollection?: PauseCollectionInterface;
|
|
312
|
+
cancellationDetails?: CancellationDetailsInterface;
|
|
313
|
+
stripeId?: string;
|
|
314
|
+
dealId?: string;
|
|
315
|
+
deal?: DealInterface;
|
|
316
|
+
clientId?: string;
|
|
317
|
+
client?: ClientInterface;
|
|
318
|
+
poolId?: string;
|
|
319
|
+
pool?: PoolInterface;
|
|
320
|
+
organizationId?: string;
|
|
321
|
+
organization?: OrganizationInterface;
|
|
322
|
+
accountOwnerId?: string;
|
|
323
|
+
accountOwner?: UserInterface;
|
|
324
|
+
contents?: ContentInterface[];
|
|
325
|
+
createdById?: string;
|
|
326
|
+
updatedById?: string;
|
|
327
|
+
createdBy?: UserInterface;
|
|
328
|
+
updatedBy?: UserInterface;
|
|
329
|
+
}
|
|
330
|
+
interface CancellationDetailsInterface {
|
|
331
|
+
comment?: string;
|
|
332
|
+
feedback?: string;
|
|
333
|
+
reason?: string;
|
|
334
|
+
}
|
|
335
|
+
interface PauseCollectionInterface {
|
|
336
|
+
behavior?: string;
|
|
337
|
+
resumesAt?: Date;
|
|
338
|
+
}
|
|
339
|
+
interface PaymentInterface {
|
|
340
|
+
id?: string;
|
|
341
|
+
createdAt?: Date;
|
|
342
|
+
updatedAt?: Date;
|
|
343
|
+
deletedAt?: Date;
|
|
344
|
+
name?: string;
|
|
345
|
+
description?: string;
|
|
346
|
+
status?: string;
|
|
347
|
+
paymentStatus?: string;
|
|
348
|
+
currency: string;
|
|
349
|
+
amount?: number;
|
|
350
|
+
amountCapturable?: number;
|
|
351
|
+
amountReceived?: number;
|
|
352
|
+
applicationFeeAmount?: number;
|
|
353
|
+
statementDescriptor?: string;
|
|
354
|
+
statementDescriptorSuffix?: string;
|
|
355
|
+
livemode?: boolean;
|
|
356
|
+
receiptEmail?: string;
|
|
357
|
+
stripeId?: string;
|
|
358
|
+
productId?: string;
|
|
359
|
+
subscriptionId?: string;
|
|
360
|
+
subscription: SubscriptionInterface;
|
|
361
|
+
contents?: ContentInterface[];
|
|
362
|
+
clientId?: string;
|
|
363
|
+
client?: ClientInterface;
|
|
364
|
+
poolId?: string;
|
|
365
|
+
pool?: PoolInterface;
|
|
366
|
+
organizationId?: string;
|
|
367
|
+
organization?: OrganizationInterface;
|
|
368
|
+
accountOwnerId?: string;
|
|
369
|
+
accountOwner?: UserInterface;
|
|
370
|
+
createdById?: string;
|
|
371
|
+
updatedById?: string;
|
|
372
|
+
createdBy?: UserInterface;
|
|
373
|
+
updatedBy?: UserInterface;
|
|
374
|
+
}
|
|
375
|
+
interface UsageInterface {
|
|
376
|
+
id?: string;
|
|
377
|
+
createdAt?: Date;
|
|
378
|
+
updatedAt?: Date;
|
|
379
|
+
deletedAt?: Date;
|
|
380
|
+
modelName?: string;
|
|
381
|
+
feature?: string;
|
|
382
|
+
dynamic?: boolean;
|
|
383
|
+
organizationId?: string;
|
|
384
|
+
organizationModelId?: string;
|
|
385
|
+
assetId?: string;
|
|
386
|
+
organization?: OrganizationInterface;
|
|
387
|
+
asset?: FileInterface;
|
|
388
|
+
uploadAsset?: FileInterface;
|
|
389
|
+
createdById?: string;
|
|
390
|
+
updatedById?: string;
|
|
391
|
+
createdBy?: UserInterface;
|
|
392
|
+
updatedBy?: UserInterface;
|
|
393
|
+
}
|
|
394
|
+
interface SentEmailInterface {
|
|
395
|
+
id?: string;
|
|
396
|
+
createdAt?: Date;
|
|
397
|
+
updatedAt?: Date;
|
|
398
|
+
deletedAt?: Date;
|
|
399
|
+
requestId?: string;
|
|
400
|
+
messageId?: string;
|
|
401
|
+
source?: string;
|
|
402
|
+
subject?: string;
|
|
403
|
+
body?: string;
|
|
404
|
+
toAddresses?: string[];
|
|
405
|
+
organizationId?: string;
|
|
406
|
+
organization?: OrganizationInterface;
|
|
407
|
+
createdById?: string;
|
|
408
|
+
updatedById?: string;
|
|
409
|
+
createdBy?: UserInterface;
|
|
410
|
+
updatedBy?: UserInterface;
|
|
411
|
+
}
|
|
412
|
+
interface FileInterface {
|
|
413
|
+
id?: string;
|
|
414
|
+
createdAt?: Date;
|
|
415
|
+
updatedAt?: Date;
|
|
416
|
+
deletedAt?: Date;
|
|
417
|
+
filename?: string;
|
|
418
|
+
mimetype?: string;
|
|
419
|
+
encoding?: string;
|
|
420
|
+
key?: string;
|
|
421
|
+
url?: string;
|
|
422
|
+
poolId?: string;
|
|
423
|
+
organizationId?: string;
|
|
424
|
+
createdById?: string;
|
|
425
|
+
updatedById?: string;
|
|
426
|
+
createdBy?: UserInterface;
|
|
427
|
+
updatedBy?: UserInterface;
|
|
428
|
+
pool?: PoolInterface;
|
|
429
|
+
organization?: OrganizationInterface;
|
|
430
|
+
createReadStream?: any;
|
|
431
|
+
}
|
|
432
|
+
interface ChatInterface {
|
|
433
|
+
id?: string;
|
|
434
|
+
createdAt?: Date;
|
|
435
|
+
updatedAt?: Date;
|
|
436
|
+
deletedAt?: Date;
|
|
437
|
+
label?: string;
|
|
438
|
+
chatId?: string;
|
|
439
|
+
type?: string;
|
|
440
|
+
integrationId?: string;
|
|
441
|
+
createdById?: string;
|
|
442
|
+
updatedById?: string;
|
|
443
|
+
createdBy?: UserInterface;
|
|
444
|
+
updatedBy?: UserInterface;
|
|
445
|
+
integration?: IntegrationInterface;
|
|
446
|
+
comments?: CommentInterface[];
|
|
447
|
+
}
|
|
448
|
+
interface CommentInterface {
|
|
449
|
+
id?: string;
|
|
450
|
+
createdAt?: Date;
|
|
451
|
+
updatedAt?: Date;
|
|
452
|
+
deletedAt?: Date;
|
|
453
|
+
label?: string;
|
|
454
|
+
role?: string;
|
|
455
|
+
poolId?: string;
|
|
456
|
+
chatId?: string;
|
|
457
|
+
createdById?: string;
|
|
458
|
+
updatedById?: string;
|
|
459
|
+
createdBy?: UserInterface;
|
|
460
|
+
updatedBy?: UserInterface;
|
|
461
|
+
pool?: PoolInterface;
|
|
462
|
+
chat?: ChatInterface;
|
|
463
|
+
}
|
|
464
|
+
interface NotificationInterface {
|
|
465
|
+
id?: string;
|
|
466
|
+
createdAt?: Date;
|
|
467
|
+
updatedAt?: Date;
|
|
468
|
+
deletedAt?: Date;
|
|
469
|
+
label?: string;
|
|
470
|
+
description?: string;
|
|
471
|
+
userId?: string;
|
|
472
|
+
organizationId?: string;
|
|
473
|
+
user?: UserInterface;
|
|
474
|
+
organization?: OrganizationInterface;
|
|
475
|
+
}
|
|
476
|
+
interface ActivityInterface {
|
|
477
|
+
label?: string;
|
|
478
|
+
value?: string;
|
|
479
|
+
path?: string;
|
|
480
|
+
}
|
|
481
|
+
interface TokenInterface {
|
|
482
|
+
id?: string;
|
|
483
|
+
createdAt?: Date;
|
|
484
|
+
updatedAt?: Date;
|
|
485
|
+
deletedAt?: Date;
|
|
486
|
+
dateExpired?: Date;
|
|
487
|
+
token: string;
|
|
488
|
+
userId: string;
|
|
489
|
+
}
|
|
490
|
+
interface AddressInterface {
|
|
491
|
+
id?: string;
|
|
492
|
+
createdAt?: Date;
|
|
493
|
+
updatedAt?: Date;
|
|
494
|
+
deletedAt?: Date;
|
|
495
|
+
claimed?: boolean;
|
|
496
|
+
streetNumber?: string;
|
|
497
|
+
streetName?: string;
|
|
498
|
+
countryCode?: string;
|
|
499
|
+
city?: string;
|
|
500
|
+
state?: string;
|
|
501
|
+
country?: string;
|
|
502
|
+
postalCode?: string;
|
|
503
|
+
longitude?: number;
|
|
504
|
+
latitude?: number;
|
|
505
|
+
poolId?: string;
|
|
506
|
+
organizationId?: string;
|
|
507
|
+
createdById?: string;
|
|
508
|
+
updatedById?: string;
|
|
509
|
+
createdBy?: UserInterface;
|
|
510
|
+
updatedBy?: UserInterface;
|
|
511
|
+
pool?: PoolInterface;
|
|
512
|
+
organization?: OrganizationInterface;
|
|
513
|
+
}
|
|
514
|
+
interface SchemaInterface {
|
|
515
|
+
id?: string;
|
|
516
|
+
createdAt?: Date;
|
|
517
|
+
updatedAt?: Date;
|
|
518
|
+
deletedAt?: Date;
|
|
519
|
+
key: string;
|
|
520
|
+
value?: string;
|
|
521
|
+
type?: string;
|
|
522
|
+
options?: string[];
|
|
523
|
+
relation?: boolean;
|
|
524
|
+
modelName?: string;
|
|
525
|
+
organizationModelId?: string;
|
|
526
|
+
listId?: string;
|
|
527
|
+
createdById?: string;
|
|
528
|
+
updatedById?: string;
|
|
529
|
+
createdBy?: UserInterface;
|
|
530
|
+
updatedBy?: UserInterface;
|
|
531
|
+
deleted?: boolean;
|
|
532
|
+
}
|
|
533
|
+
interface ClientInterface {
|
|
534
|
+
id?: string;
|
|
535
|
+
createdAt?: Date;
|
|
536
|
+
updatedAt?: Date;
|
|
537
|
+
deletedAt?: Date;
|
|
538
|
+
claimed?: boolean;
|
|
539
|
+
clientType?: string | null;
|
|
540
|
+
customerType?: string | null;
|
|
541
|
+
name?: string;
|
|
542
|
+
description?: string;
|
|
543
|
+
status?: string;
|
|
544
|
+
annualRevenue?: number;
|
|
545
|
+
accountNumber?: string;
|
|
546
|
+
invoicePrefix?: string;
|
|
547
|
+
source?: string;
|
|
548
|
+
email?: string;
|
|
549
|
+
contactName?: string;
|
|
550
|
+
phone?: string;
|
|
551
|
+
website?: string;
|
|
552
|
+
industry?: string;
|
|
553
|
+
taxExempt?: string;
|
|
554
|
+
balance?: number;
|
|
555
|
+
nextInvoiceSequence?: number;
|
|
556
|
+
delinquent?: boolean;
|
|
557
|
+
livemode?: boolean;
|
|
558
|
+
logoUrl?: string;
|
|
559
|
+
linkedinUrl?: string;
|
|
560
|
+
facebookUrl?: string;
|
|
561
|
+
twitterUrl?: string;
|
|
562
|
+
angelUrl?: string;
|
|
563
|
+
currency?: string;
|
|
564
|
+
crunchbaseUrl?: string;
|
|
565
|
+
organizationId?: string;
|
|
566
|
+
createdById?: string;
|
|
567
|
+
updatedById?: string;
|
|
568
|
+
addressId?: string;
|
|
569
|
+
poolId?: string | null;
|
|
570
|
+
stripeId?: string | null;
|
|
571
|
+
accountOwnerId?: string;
|
|
572
|
+
accountOwner?: UserInterface;
|
|
573
|
+
contents?: ContentInterface[];
|
|
574
|
+
contacts?: ContactInterface[];
|
|
575
|
+
deals?: DealInterface[];
|
|
576
|
+
leads?: DealInterface[];
|
|
577
|
+
invoices?: InvoiceInterface[];
|
|
578
|
+
engagements?: EngagementInterface[];
|
|
579
|
+
tasks?: TaskInterface[];
|
|
580
|
+
products?: ProductInterface[];
|
|
581
|
+
subscriptions?: SubscriptionInterface[];
|
|
582
|
+
payments?: PaymentInterface[];
|
|
583
|
+
contactIds?: string[];
|
|
584
|
+
dealIds?: string[];
|
|
585
|
+
invoiceIds?: string[];
|
|
586
|
+
engagementIds?: string[];
|
|
587
|
+
taskIds?: string[];
|
|
588
|
+
createdBy?: UserInterface;
|
|
589
|
+
updatedBy?: UserInterface;
|
|
590
|
+
}
|
|
591
|
+
interface ContactInterface {
|
|
592
|
+
id?: string;
|
|
593
|
+
createdAt?: Date;
|
|
594
|
+
updatedAt?: Date;
|
|
595
|
+
deletedAt?: Date;
|
|
596
|
+
claimed?: boolean;
|
|
597
|
+
name?: string;
|
|
598
|
+
status?: string;
|
|
599
|
+
description?: string;
|
|
600
|
+
email?: string;
|
|
601
|
+
linkedinUrl?: string;
|
|
602
|
+
twitterUrl?: string;
|
|
603
|
+
phoneNumber?: string;
|
|
604
|
+
role?: string;
|
|
605
|
+
clientId?: string;
|
|
606
|
+
userId?: string;
|
|
607
|
+
organizationId?: string;
|
|
608
|
+
createdById?: string;
|
|
609
|
+
updatedById?: string;
|
|
610
|
+
poolId?: string | null;
|
|
611
|
+
engagements?: EngagementInterface[];
|
|
612
|
+
engagementIds?: string[];
|
|
613
|
+
contents?: ContentInterface[];
|
|
614
|
+
client?: ClientInterface;
|
|
615
|
+
createdBy?: UserInterface;
|
|
616
|
+
updatedBy?: UserInterface;
|
|
617
|
+
}
|
|
618
|
+
interface ContentInterface {
|
|
619
|
+
id?: string;
|
|
620
|
+
createdAt?: Date;
|
|
621
|
+
updatedAt?: Date;
|
|
622
|
+
deletedAt?: Date;
|
|
623
|
+
key?: string;
|
|
624
|
+
value?: string;
|
|
625
|
+
poolId?: string;
|
|
626
|
+
schemaId?: string;
|
|
627
|
+
createdById?: string;
|
|
628
|
+
updatedById?: string;
|
|
629
|
+
}
|
|
630
|
+
interface DealInterface {
|
|
631
|
+
id?: string;
|
|
632
|
+
createdAt?: Date;
|
|
633
|
+
updatedAt?: Date;
|
|
634
|
+
deletedAt?: Date;
|
|
635
|
+
name?: string;
|
|
636
|
+
status?: string;
|
|
637
|
+
dealType?: string | null;
|
|
638
|
+
nextStep?: string;
|
|
639
|
+
amount?: number;
|
|
640
|
+
expectedRevenue?: number;
|
|
641
|
+
probability?: string;
|
|
642
|
+
priority?: number;
|
|
643
|
+
currency?: string;
|
|
644
|
+
source?: string | null;
|
|
645
|
+
closingDate?: Date;
|
|
646
|
+
description?: string;
|
|
647
|
+
organizationId?: string;
|
|
648
|
+
createdById?: string;
|
|
649
|
+
updatedById?: string;
|
|
650
|
+
clientId?: string;
|
|
651
|
+
poolId?: string | null;
|
|
652
|
+
accountOwnerId?: string;
|
|
653
|
+
campaign?: CampaignInterface;
|
|
654
|
+
campaignId?: string;
|
|
655
|
+
invoice?: InvoiceInterface;
|
|
656
|
+
accountOwner?: UserInterface;
|
|
657
|
+
contents?: ContentInterface[];
|
|
658
|
+
client?: ClientInterface;
|
|
659
|
+
createdBy?: UserInterface;
|
|
660
|
+
updatedBy?: UserInterface;
|
|
661
|
+
}
|
|
662
|
+
interface LeadInterface {
|
|
663
|
+
id?: string;
|
|
664
|
+
createdAt?: Date;
|
|
665
|
+
updatedAt?: Date;
|
|
666
|
+
deletedAt?: Date;
|
|
667
|
+
name?: string;
|
|
668
|
+
status?: string;
|
|
669
|
+
leadType?: string | null;
|
|
670
|
+
nextStep?: string;
|
|
671
|
+
amount?: number;
|
|
672
|
+
currency?: string;
|
|
673
|
+
expectedRevenue?: number;
|
|
674
|
+
probability?: number;
|
|
675
|
+
priority?: string | null;
|
|
676
|
+
source?: string | null;
|
|
677
|
+
closingDate?: Date;
|
|
678
|
+
description?: string;
|
|
679
|
+
organizationId?: string;
|
|
680
|
+
createdById?: string;
|
|
681
|
+
updatedById?: string;
|
|
682
|
+
clientId?: string;
|
|
683
|
+
poolId?: string | null;
|
|
684
|
+
accountOwnerId?: string;
|
|
685
|
+
campaignId?: string;
|
|
686
|
+
accountOwner?: UserInterface;
|
|
687
|
+
contents?: ContentInterface[];
|
|
688
|
+
client?: ClientInterface;
|
|
689
|
+
createdBy?: UserInterface;
|
|
690
|
+
updatedBy?: UserInterface;
|
|
691
|
+
deal?: DealInterface;
|
|
692
|
+
campaign?: CampaignInterface;
|
|
693
|
+
}
|
|
694
|
+
interface StripeAccountInterface {
|
|
695
|
+
account?: string;
|
|
696
|
+
type?: string;
|
|
697
|
+
}
|
|
698
|
+
interface AutomaticTaxInterface {
|
|
699
|
+
enabled?: boolean;
|
|
700
|
+
liability?: StripeAccountInterface;
|
|
701
|
+
status?: string;
|
|
702
|
+
}
|
|
703
|
+
interface InvoiceInterface {
|
|
704
|
+
id?: string;
|
|
705
|
+
createdAt?: Date;
|
|
706
|
+
updatedAt?: Date;
|
|
707
|
+
deletedAt?: Date;
|
|
708
|
+
name?: string;
|
|
709
|
+
status?: string;
|
|
710
|
+
dueDate?: Date;
|
|
711
|
+
nextPaymentAttempt?: Date;
|
|
712
|
+
description?: string;
|
|
713
|
+
footer?: string;
|
|
714
|
+
currency?: string;
|
|
715
|
+
effectiveAt?: Date;
|
|
716
|
+
accountCountry?: string;
|
|
717
|
+
statementDescriptor?: string;
|
|
718
|
+
accountTaxIds?: string[];
|
|
719
|
+
amountDue?: number;
|
|
720
|
+
amountPaid?: number;
|
|
721
|
+
amountRemaining?: number;
|
|
722
|
+
amountShipping?: number;
|
|
723
|
+
attemptCount?: number;
|
|
724
|
+
startingBalance?: number;
|
|
725
|
+
endingBalance?: number;
|
|
726
|
+
subtotal?: number;
|
|
727
|
+
subtotalExcludingTax?: number;
|
|
728
|
+
tax?: number;
|
|
729
|
+
totalExcludingTax?: number;
|
|
730
|
+
postPaymentCreditNotesAmount?: number;
|
|
731
|
+
prePaymentCreditNotesAmount?: number;
|
|
732
|
+
daysUntilDue?: number;
|
|
733
|
+
attempted?: boolean;
|
|
734
|
+
autoAdvance?: boolean;
|
|
735
|
+
automaticTax?: AutomaticTaxInterface;
|
|
736
|
+
billingReason?: string;
|
|
737
|
+
collectionMethod?: string;
|
|
738
|
+
customerEmail?: string;
|
|
739
|
+
customerPhone?: string;
|
|
740
|
+
customerTaxExempt?: string;
|
|
741
|
+
invoicePdf?: string;
|
|
742
|
+
lastFinalizationError?: string;
|
|
743
|
+
number?: string;
|
|
744
|
+
receiptNumber?: string;
|
|
745
|
+
livemode?: boolean;
|
|
746
|
+
paid?: boolean;
|
|
747
|
+
paidOutOfBand?: boolean;
|
|
748
|
+
issuer?: StripeAccountInterface;
|
|
749
|
+
organizationId?: string;
|
|
750
|
+
createdById?: string;
|
|
751
|
+
updatedById?: string;
|
|
752
|
+
stripeId?: string;
|
|
753
|
+
clientId?: string;
|
|
754
|
+
poolId?: string | null;
|
|
755
|
+
accountOwnerId?: string;
|
|
756
|
+
dealId?: string;
|
|
757
|
+
payment?: PaymentInterface;
|
|
758
|
+
contents?: ContentInterface[];
|
|
759
|
+
inventories?: InventoryInterface[];
|
|
760
|
+
inventoryIds?: string[];
|
|
761
|
+
deal?: DealInterface;
|
|
762
|
+
client?: ClientInterface;
|
|
763
|
+
accountOwner?: UserInterface;
|
|
764
|
+
createdBy?: UserInterface;
|
|
765
|
+
updatedBy?: UserInterface;
|
|
766
|
+
}
|
|
767
|
+
interface EmailInterface {
|
|
768
|
+
id?: string;
|
|
769
|
+
createdAt: Date;
|
|
770
|
+
updatedAt: Date;
|
|
771
|
+
deletedAt: Date;
|
|
772
|
+
claimed: boolean;
|
|
773
|
+
userId: string;
|
|
774
|
+
userName?: string;
|
|
775
|
+
}
|
|
776
|
+
interface EngagementInterface {
|
|
777
|
+
id?: string;
|
|
778
|
+
createdAt?: Date;
|
|
779
|
+
updatedAt?: Date;
|
|
780
|
+
deletedAt?: Date;
|
|
781
|
+
name?: string;
|
|
782
|
+
engagementDate?: Date;
|
|
783
|
+
description?: string;
|
|
784
|
+
organizationId?: string;
|
|
785
|
+
createdById?: string;
|
|
786
|
+
updatedById?: string;
|
|
787
|
+
clientId?: string;
|
|
788
|
+
contactId?: string;
|
|
789
|
+
poolId?: string | null;
|
|
790
|
+
contents?: ContentInterface[];
|
|
791
|
+
client?: ClientInterface;
|
|
792
|
+
contact?: ContactInterface;
|
|
793
|
+
createdBy?: UserInterface;
|
|
794
|
+
updatedBy?: UserInterface;
|
|
795
|
+
}
|
|
796
|
+
interface FilterInterface {
|
|
797
|
+
id?: string;
|
|
798
|
+
createdAt?: Date;
|
|
799
|
+
updatedAt?: Date;
|
|
800
|
+
deletedAt?: Date;
|
|
801
|
+
key?: string;
|
|
802
|
+
value?: string;
|
|
803
|
+
type?: string;
|
|
804
|
+
options?: string[];
|
|
805
|
+
organizationFilterType?: string;
|
|
806
|
+
createdById?: string;
|
|
807
|
+
updatedById?: string;
|
|
808
|
+
organizationModelId?: string;
|
|
809
|
+
listId?: string;
|
|
810
|
+
organizationId?: string;
|
|
811
|
+
createdBy?: UserInterface;
|
|
812
|
+
updatedBy?: UserInterface;
|
|
813
|
+
}
|
|
814
|
+
interface InventoryInterface {
|
|
815
|
+
id?: string;
|
|
816
|
+
createdAt?: Date;
|
|
817
|
+
updatedAt?: Date;
|
|
818
|
+
deletedAt?: Date;
|
|
819
|
+
name?: string;
|
|
820
|
+
status?: string;
|
|
821
|
+
description?: string;
|
|
822
|
+
currency?: string;
|
|
823
|
+
amount?: number;
|
|
824
|
+
quantity?: number;
|
|
825
|
+
organizationId?: string;
|
|
826
|
+
createdById?: string;
|
|
827
|
+
updatedById?: string;
|
|
828
|
+
poolId?: string | null;
|
|
829
|
+
products?: ProductInterface[];
|
|
830
|
+
contents?: ContentInterface[];
|
|
831
|
+
createdBy?: UserInterface;
|
|
832
|
+
updatedBy?: UserInterface;
|
|
833
|
+
}
|
|
834
|
+
interface ModelInterface {
|
|
835
|
+
id?: string;
|
|
836
|
+
createdAt?: Date;
|
|
837
|
+
updatedAt?: Date;
|
|
838
|
+
deletedAt?: Date;
|
|
839
|
+
name?: string;
|
|
840
|
+
oldName?: string;
|
|
841
|
+
category?: string | null;
|
|
842
|
+
createdById?: string;
|
|
843
|
+
updatedById?: string;
|
|
844
|
+
createdBy?: UserInterface;
|
|
845
|
+
updatedBy?: UserInterface;
|
|
846
|
+
}
|
|
847
|
+
interface OrganizationModelInterface {
|
|
848
|
+
id?: string;
|
|
849
|
+
createdAt?: Date;
|
|
850
|
+
updatedAt?: Date;
|
|
851
|
+
deletedAt?: Date;
|
|
852
|
+
delete?: boolean;
|
|
853
|
+
organizationId?: string;
|
|
854
|
+
modelId?: string | null;
|
|
855
|
+
createdById?: string;
|
|
856
|
+
updatedById?: string;
|
|
857
|
+
model?: ModelInterface;
|
|
858
|
+
schemas?: SchemaInterface[];
|
|
859
|
+
pools?: PoolInterface[];
|
|
860
|
+
createdBy?: UserInterface;
|
|
861
|
+
updatedBy?: UserInterface;
|
|
862
|
+
}
|
|
863
|
+
interface PoolInterface {
|
|
864
|
+
id?: string;
|
|
865
|
+
createdAt?: Date;
|
|
866
|
+
updatedAt?: Date;
|
|
867
|
+
deletedAt?: Date;
|
|
868
|
+
name?: string;
|
|
869
|
+
description?: string;
|
|
870
|
+
status?: string;
|
|
871
|
+
editable?: boolean;
|
|
872
|
+
organizationModelId?: string;
|
|
873
|
+
listId?: string;
|
|
874
|
+
organizationModel?: OrganizationModelInterface;
|
|
875
|
+
list?: ListInterface;
|
|
876
|
+
client?: ClientInterface;
|
|
877
|
+
contact?: ContactInterface;
|
|
878
|
+
inventory?: InventoryInterface;
|
|
879
|
+
deal?: DealInterface;
|
|
880
|
+
task?: TaskInterface;
|
|
881
|
+
lead?: LeadInterface;
|
|
882
|
+
product?: ProductInterface;
|
|
883
|
+
subscription?: SubscriptionInterface;
|
|
884
|
+
payment?: PaymentInterface;
|
|
885
|
+
campaign?: CampaignInterface;
|
|
886
|
+
invoice?: InvoiceInterface;
|
|
887
|
+
engagement?: EngagementInterface;
|
|
888
|
+
contents?: ContentInterface[];
|
|
889
|
+
createdById?: string;
|
|
890
|
+
updatedById?: string;
|
|
891
|
+
createdBy?: UserInterface;
|
|
892
|
+
updatedBy?: UserInterface;
|
|
893
|
+
address?: AddressInterface;
|
|
894
|
+
assets?: FileInterface[];
|
|
895
|
+
uploadAsset?: FileInterface;
|
|
896
|
+
value?: () => null;
|
|
897
|
+
key?: () => null;
|
|
898
|
+
descriptionLabel?: () => null;
|
|
899
|
+
createdAtLabel?: () => null;
|
|
900
|
+
updatedAtLabel?: () => null;
|
|
901
|
+
createdByLabel?: () => null;
|
|
902
|
+
updatedByLabel?: () => null;
|
|
903
|
+
}
|
|
904
|
+
interface PaymentMethodInterface {
|
|
905
|
+
stripeId?: string;
|
|
906
|
+
type?: string;
|
|
907
|
+
card?: CardInterface;
|
|
908
|
+
billingDetails?: AddressInterface;
|
|
909
|
+
}
|
|
910
|
+
interface CardInterface {
|
|
911
|
+
number?: string;
|
|
912
|
+
cvc?: string;
|
|
913
|
+
brand?: string;
|
|
914
|
+
country?: string;
|
|
915
|
+
expMonth?: number;
|
|
916
|
+
expYear?: number;
|
|
917
|
+
fingerprint?: string;
|
|
918
|
+
funding?: string;
|
|
919
|
+
last4?: string;
|
|
920
|
+
}
|
|
921
|
+
interface AnalyticsQueryInterface {
|
|
922
|
+
star?: boolean;
|
|
923
|
+
label?: string;
|
|
924
|
+
modelName?: string;
|
|
925
|
+
fieldName?: string;
|
|
926
|
+
operationType?: string | null;
|
|
927
|
+
calculation?: string | null;
|
|
928
|
+
calculationValue?: string;
|
|
929
|
+
}
|
|
930
|
+
interface StatisticInterface extends AnalyticsQueryInterface {
|
|
931
|
+
id?: string;
|
|
932
|
+
createdAt?: Date;
|
|
933
|
+
updatedAt?: Date;
|
|
934
|
+
deletedAt?: Date;
|
|
935
|
+
organizationModelId?: string;
|
|
936
|
+
organizationId?: string;
|
|
937
|
+
createdById?: string;
|
|
938
|
+
updatedById?: string;
|
|
939
|
+
createdBy?: UserInterface;
|
|
940
|
+
updatedBy?: UserInterface;
|
|
941
|
+
}
|
|
942
|
+
interface ReportInterface extends AnalyticsQueryInterface {
|
|
943
|
+
id?: string;
|
|
944
|
+
createdAt?: Date;
|
|
945
|
+
updatedAt?: Date;
|
|
946
|
+
deletedAt?: Date;
|
|
947
|
+
chartType?: string;
|
|
948
|
+
frequency?: string | null;
|
|
949
|
+
frequencyField?: string;
|
|
950
|
+
description?: string;
|
|
951
|
+
startDate?: Date;
|
|
952
|
+
endDate?: Date;
|
|
953
|
+
organizationId?: string;
|
|
954
|
+
organizationModelId?: string;
|
|
955
|
+
createdById?: string;
|
|
956
|
+
updatedById?: string;
|
|
957
|
+
data?: GenericPayload[];
|
|
958
|
+
createdBy?: UserInterface;
|
|
959
|
+
updatedBy?: UserInterface;
|
|
960
|
+
}
|
|
961
|
+
interface ListInterface extends AnalyticsQueryInterface {
|
|
962
|
+
id?: string;
|
|
963
|
+
createdAt?: Date;
|
|
964
|
+
updatedAt?: Date;
|
|
965
|
+
deletedAt?: Date;
|
|
966
|
+
description?: string;
|
|
967
|
+
dynamic?: boolean;
|
|
968
|
+
organizationId?: string;
|
|
969
|
+
organizationModelId?: string;
|
|
970
|
+
createdById?: string;
|
|
971
|
+
updatedById?: string;
|
|
972
|
+
createdBy?: UserInterface;
|
|
973
|
+
updatedBy?: UserInterface;
|
|
974
|
+
pools?: PoolInterface[];
|
|
975
|
+
}
|
|
976
|
+
interface PromptInterface extends AnalyticsQueryInterface {
|
|
977
|
+
id?: string;
|
|
978
|
+
createdAt?: Date;
|
|
979
|
+
updatedAt?: Date;
|
|
980
|
+
deletedAt?: Date;
|
|
981
|
+
active?: boolean;
|
|
982
|
+
action?: string;
|
|
983
|
+
frequency?: string | null;
|
|
984
|
+
frequencyField?: string;
|
|
985
|
+
description?: string;
|
|
986
|
+
organizationModelId?: string;
|
|
987
|
+
chatId?: string;
|
|
988
|
+
integrationId?: string;
|
|
989
|
+
operationId?: string;
|
|
990
|
+
createdById?: string;
|
|
991
|
+
updatedById?: string;
|
|
992
|
+
createdBy?: UserInterface;
|
|
993
|
+
updatedBy?: UserInterface;
|
|
994
|
+
}
|
|
995
|
+
interface OperationInterface {
|
|
996
|
+
id?: string;
|
|
997
|
+
createdAt?: Date;
|
|
998
|
+
updatedAt?: Date;
|
|
999
|
+
deletedAt?: Date;
|
|
1000
|
+
star?: boolean;
|
|
1001
|
+
label?: string;
|
|
1002
|
+
description?: string;
|
|
1003
|
+
startDate?: Date;
|
|
1004
|
+
endDate?: Date;
|
|
1005
|
+
organizationId?: string;
|
|
1006
|
+
createdById?: string;
|
|
1007
|
+
updatedById?: string;
|
|
1008
|
+
createdBy?: UserInterface;
|
|
1009
|
+
updatedBy?: UserInterface;
|
|
1010
|
+
prompts?: PromptInterface[];
|
|
1011
|
+
}
|
|
1012
|
+
interface CurrentRateInterface {
|
|
1013
|
+
id?: string;
|
|
1014
|
+
createdAt?: Date;
|
|
1015
|
+
updatedAt?: Date;
|
|
1016
|
+
deletedAt?: Date;
|
|
1017
|
+
expiresAt?: Date;
|
|
1018
|
+
currency?: string;
|
|
1019
|
+
rate?: number;
|
|
1020
|
+
expiredAt?: Date;
|
|
1021
|
+
}
|
|
1022
|
+
interface TagInterface {
|
|
1023
|
+
id?: string;
|
|
1024
|
+
createdAt?: Date;
|
|
1025
|
+
updatedAt?: Date;
|
|
1026
|
+
deletedAt?: Date;
|
|
1027
|
+
personal?: boolean;
|
|
1028
|
+
name?: string;
|
|
1029
|
+
organizationId?: string;
|
|
1030
|
+
userId?: string;
|
|
1031
|
+
}
|
|
1032
|
+
interface TaskInterface {
|
|
1033
|
+
id?: string;
|
|
1034
|
+
createdAt?: Date;
|
|
1035
|
+
updatedAt?: Date;
|
|
1036
|
+
deletedAt?: Date;
|
|
1037
|
+
repeatDate?: Date;
|
|
1038
|
+
repeatTime?: string;
|
|
1039
|
+
repeat?: boolean;
|
|
1040
|
+
reminderDate?: Date;
|
|
1041
|
+
reminderTime?: string;
|
|
1042
|
+
reminder?: boolean;
|
|
1043
|
+
name?: string;
|
|
1044
|
+
priority?: string | null;
|
|
1045
|
+
status?: string;
|
|
1046
|
+
dueDate?: Date;
|
|
1047
|
+
description?: string;
|
|
1048
|
+
organizationId?: string;
|
|
1049
|
+
poolId?: string;
|
|
1050
|
+
clientId?: string;
|
|
1051
|
+
assigneeId?: string;
|
|
1052
|
+
createdById?: string;
|
|
1053
|
+
updatedById?: string;
|
|
1054
|
+
assignee?: UserInterface;
|
|
1055
|
+
client?: ClientInterface;
|
|
1056
|
+
createdBy?: UserInterface;
|
|
1057
|
+
updatedBy?: UserInterface;
|
|
1058
|
+
pool?: PoolInterface;
|
|
1059
|
+
contents?: ContentInterface[];
|
|
1060
|
+
leads?: LeadInterface[];
|
|
1061
|
+
}
|
|
1062
|
+
interface CampaignInterface {
|
|
1063
|
+
id?: string;
|
|
1064
|
+
createdAt?: Date;
|
|
1065
|
+
updatedAt?: Date;
|
|
1066
|
+
deletedAt?: Date;
|
|
1067
|
+
name?: string;
|
|
1068
|
+
priority?: string | null;
|
|
1069
|
+
status?: string;
|
|
1070
|
+
description?: string;
|
|
1071
|
+
campaignType?: string | null;
|
|
1072
|
+
currency?: string;
|
|
1073
|
+
budgetedCost?: number;
|
|
1074
|
+
expectedRevenue?: number;
|
|
1075
|
+
actualCost?: number;
|
|
1076
|
+
numbersSent?: number;
|
|
1077
|
+
expectedResponse?: string;
|
|
1078
|
+
startDate?: Date;
|
|
1079
|
+
endDate?: Date;
|
|
1080
|
+
organizationId?: string;
|
|
1081
|
+
leadIds?: string[];
|
|
1082
|
+
dealIds?: string[];
|
|
1083
|
+
poolId?: string;
|
|
1084
|
+
createdById?: string;
|
|
1085
|
+
updatedById?: string;
|
|
1086
|
+
createdBy?: UserInterface;
|
|
1087
|
+
updatedBy?: UserInterface;
|
|
1088
|
+
pool?: PoolInterface;
|
|
1089
|
+
contents?: ContentInterface[];
|
|
1090
|
+
leads?: LeadInterface[];
|
|
1091
|
+
deals?: DealInterface[];
|
|
1092
|
+
}
|
|
1093
|
+
interface WaitlistInterface {
|
|
1094
|
+
id?: string;
|
|
1095
|
+
createdAt?: Date;
|
|
1096
|
+
updatedAt?: Date;
|
|
1097
|
+
deletedAt?: Date;
|
|
1098
|
+
claimed?: boolean;
|
|
1099
|
+
userId?: string;
|
|
1100
|
+
email: string;
|
|
1101
|
+
contents?: ContentInterface[];
|
|
1102
|
+
createdById?: string;
|
|
1103
|
+
updatedById?: string;
|
|
1104
|
+
createdBy?: UserInterface;
|
|
1105
|
+
updatedBy?: UserInterface;
|
|
1106
|
+
}
|
|
1107
|
+
interface StripeCustomer {
|
|
1108
|
+
name?: string;
|
|
1109
|
+
email?: string;
|
|
1110
|
+
paymentMethod?: string;
|
|
1111
|
+
}
|
|
1112
|
+
interface StripePaymentIntent {
|
|
1113
|
+
amount?: number;
|
|
1114
|
+
currency?: string;
|
|
1115
|
+
}
|
|
1116
|
+
interface QueryFilterInterface {
|
|
1117
|
+
search?: string;
|
|
1118
|
+
order?: string;
|
|
1119
|
+
orderBy?: string;
|
|
1120
|
+
newPage?: number;
|
|
1121
|
+
rowsPerPage?: number;
|
|
1122
|
+
statisticId?: string;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
declare const constants: {
|
|
1126
|
+
APP_LANGUAGES: {
|
|
1127
|
+
English: string;
|
|
1128
|
+
};
|
|
1129
|
+
PAGE_LIMIT: string;
|
|
1130
|
+
ROWS_PER_PAGE: string[];
|
|
1131
|
+
DEFAULT_PASSWORD: string;
|
|
1132
|
+
DEFAULT_FREQUENCY: string;
|
|
1133
|
+
DEFAULT_ORDER: string;
|
|
1134
|
+
DEFAULT_SORT: string;
|
|
1135
|
+
DEFAULT_KANBAN_FIELD: string;
|
|
1136
|
+
DEFAULT_PRIMARY_THEME: string;
|
|
1137
|
+
DEFAULT_CURRENCY_FIELDS: string[];
|
|
1138
|
+
MODEL_APP_MAPPING: {
|
|
1139
|
+
clients: string;
|
|
1140
|
+
inventories: string;
|
|
1141
|
+
invoices: string;
|
|
1142
|
+
tasks: string;
|
|
1143
|
+
campaigns: string;
|
|
1144
|
+
contacts: string;
|
|
1145
|
+
deals: string;
|
|
1146
|
+
engagements: string;
|
|
1147
|
+
leads: string;
|
|
1148
|
+
payments: string;
|
|
1149
|
+
products: string;
|
|
1150
|
+
subscriptions: string;
|
|
1151
|
+
};
|
|
1152
|
+
NOT_INCLUDED_FIELDS: string[];
|
|
1153
|
+
GQL_FIELD_TYPE: {
|
|
1154
|
+
LIST: string;
|
|
1155
|
+
OBJECT: string;
|
|
1156
|
+
ENUM: string;
|
|
1157
|
+
String: string;
|
|
1158
|
+
Float: string;
|
|
1159
|
+
Int: string;
|
|
1160
|
+
Boolean: string;
|
|
1161
|
+
};
|
|
1162
|
+
STATIC_STORAGE_BUCKET_FOLDERS: {
|
|
1163
|
+
avatars: string;
|
|
1164
|
+
exports: string;
|
|
1165
|
+
imports: string;
|
|
1166
|
+
logos: string;
|
|
1167
|
+
pools: string;
|
|
1168
|
+
};
|
|
1169
|
+
OPERATION_TYPE: {
|
|
1170
|
+
ADD: string;
|
|
1171
|
+
EDIT: string;
|
|
1172
|
+
};
|
|
1173
|
+
CONTENTS_CUSTOM_TYPES: {
|
|
1174
|
+
accountOwners: string;
|
|
1175
|
+
assignees: string;
|
|
1176
|
+
};
|
|
1177
|
+
MODEL_CATEGORY_MAP: {
|
|
1178
|
+
leads: string;
|
|
1179
|
+
campaigns: string;
|
|
1180
|
+
tasks: string;
|
|
1181
|
+
clients: string;
|
|
1182
|
+
inventories: string;
|
|
1183
|
+
deals: string;
|
|
1184
|
+
invoices: string;
|
|
1185
|
+
contacts: string;
|
|
1186
|
+
engagements: string;
|
|
1187
|
+
products: string;
|
|
1188
|
+
subscriptions: string;
|
|
1189
|
+
payments: string;
|
|
1190
|
+
content: string[];
|
|
1191
|
+
relations: string[];
|
|
1192
|
+
financials: string[];
|
|
1193
|
+
};
|
|
1194
|
+
SETTING_TABS: {
|
|
1195
|
+
Personal: string;
|
|
1196
|
+
Notifications: string;
|
|
1197
|
+
Organization: string;
|
|
1198
|
+
Features: string;
|
|
1199
|
+
Team: string;
|
|
1200
|
+
};
|
|
1201
|
+
PARENT_ORGANIZATION_TYPE: {
|
|
1202
|
+
parent: string;
|
|
1203
|
+
sub: string;
|
|
1204
|
+
};
|
|
1205
|
+
POPULAR_EMAILS: string[];
|
|
1206
|
+
STATES: string[];
|
|
1207
|
+
COUNTRIES: string[];
|
|
1208
|
+
CURRENCIES: {
|
|
1209
|
+
aed: string;
|
|
1210
|
+
afn: string;
|
|
1211
|
+
all: string;
|
|
1212
|
+
amd: string;
|
|
1213
|
+
ang: string;
|
|
1214
|
+
aoa: string;
|
|
1215
|
+
ars: string;
|
|
1216
|
+
aud: string;
|
|
1217
|
+
awg: string;
|
|
1218
|
+
azn: string;
|
|
1219
|
+
bam: string;
|
|
1220
|
+
bbd: string;
|
|
1221
|
+
bdt: string;
|
|
1222
|
+
bgn: string;
|
|
1223
|
+
bhd: string;
|
|
1224
|
+
bif: string;
|
|
1225
|
+
bmd: string;
|
|
1226
|
+
bnd: string;
|
|
1227
|
+
bob: string;
|
|
1228
|
+
brl: string;
|
|
1229
|
+
bsd: string;
|
|
1230
|
+
btc: string;
|
|
1231
|
+
btn: string;
|
|
1232
|
+
bwp: string;
|
|
1233
|
+
byn: string;
|
|
1234
|
+
byr: string;
|
|
1235
|
+
bzd: string;
|
|
1236
|
+
cad: string;
|
|
1237
|
+
cdf: string;
|
|
1238
|
+
chf: string;
|
|
1239
|
+
clf: string;
|
|
1240
|
+
clp: string;
|
|
1241
|
+
cny: string;
|
|
1242
|
+
cnh: string;
|
|
1243
|
+
cop: string;
|
|
1244
|
+
crc: string;
|
|
1245
|
+
cuc: string;
|
|
1246
|
+
cup: string;
|
|
1247
|
+
cve: string;
|
|
1248
|
+
czk: string;
|
|
1249
|
+
djf: string;
|
|
1250
|
+
dkk: string;
|
|
1251
|
+
dop: string;
|
|
1252
|
+
dzd: string;
|
|
1253
|
+
egp: string;
|
|
1254
|
+
ern: string;
|
|
1255
|
+
etb: string;
|
|
1256
|
+
eur: string;
|
|
1257
|
+
fjd: string;
|
|
1258
|
+
fkp: string;
|
|
1259
|
+
gbp: string;
|
|
1260
|
+
gel: string;
|
|
1261
|
+
ggp: string;
|
|
1262
|
+
ghs: string;
|
|
1263
|
+
gip: string;
|
|
1264
|
+
gmd: string;
|
|
1265
|
+
gnf: string;
|
|
1266
|
+
gtq: string;
|
|
1267
|
+
gyd: string;
|
|
1268
|
+
hkd: string;
|
|
1269
|
+
hnl: string;
|
|
1270
|
+
hrk: string;
|
|
1271
|
+
htg: string;
|
|
1272
|
+
huf: string;
|
|
1273
|
+
idr: string;
|
|
1274
|
+
ils: string;
|
|
1275
|
+
imp: string;
|
|
1276
|
+
inr: string;
|
|
1277
|
+
iqd: string;
|
|
1278
|
+
irr: string;
|
|
1279
|
+
isk: string;
|
|
1280
|
+
jep: string;
|
|
1281
|
+
jmd: string;
|
|
1282
|
+
jod: string;
|
|
1283
|
+
jpy: string;
|
|
1284
|
+
kes: string;
|
|
1285
|
+
kgs: string;
|
|
1286
|
+
khr: string;
|
|
1287
|
+
kmf: string;
|
|
1288
|
+
kpw: string;
|
|
1289
|
+
krw: string;
|
|
1290
|
+
kwd: string;
|
|
1291
|
+
kyd: string;
|
|
1292
|
+
kzt: string;
|
|
1293
|
+
lak: string;
|
|
1294
|
+
lbp: string;
|
|
1295
|
+
lkr: string;
|
|
1296
|
+
lrd: string;
|
|
1297
|
+
lsl: string;
|
|
1298
|
+
ltl: string;
|
|
1299
|
+
lvl: string;
|
|
1300
|
+
lyd: string;
|
|
1301
|
+
mad: string;
|
|
1302
|
+
mdl: string;
|
|
1303
|
+
mga: string;
|
|
1304
|
+
mkd: string;
|
|
1305
|
+
mmk: string;
|
|
1306
|
+
mnt: string;
|
|
1307
|
+
mop: string;
|
|
1308
|
+
mru: string;
|
|
1309
|
+
mur: string;
|
|
1310
|
+
mvr: string;
|
|
1311
|
+
mwk: string;
|
|
1312
|
+
mxn: string;
|
|
1313
|
+
myr: string;
|
|
1314
|
+
mzn: string;
|
|
1315
|
+
nad: string;
|
|
1316
|
+
ngn: string;
|
|
1317
|
+
nio: string;
|
|
1318
|
+
nok: string;
|
|
1319
|
+
npr: string;
|
|
1320
|
+
nzd: string;
|
|
1321
|
+
omr: string;
|
|
1322
|
+
pab: string;
|
|
1323
|
+
pen: string;
|
|
1324
|
+
pgk: string;
|
|
1325
|
+
php: string;
|
|
1326
|
+
pkr: string;
|
|
1327
|
+
pln: string;
|
|
1328
|
+
pyg: string;
|
|
1329
|
+
qar: string;
|
|
1330
|
+
ron: string;
|
|
1331
|
+
rsd: string;
|
|
1332
|
+
rub: string;
|
|
1333
|
+
rwf: string;
|
|
1334
|
+
sar: string;
|
|
1335
|
+
sbd: string;
|
|
1336
|
+
scr: string;
|
|
1337
|
+
sdg: string;
|
|
1338
|
+
sek: string;
|
|
1339
|
+
sgd: string;
|
|
1340
|
+
shp: string;
|
|
1341
|
+
sle: string;
|
|
1342
|
+
sll: string;
|
|
1343
|
+
sos: string;
|
|
1344
|
+
srd: string;
|
|
1345
|
+
std: string;
|
|
1346
|
+
svc: string;
|
|
1347
|
+
syp: string;
|
|
1348
|
+
szl: string;
|
|
1349
|
+
thb: string;
|
|
1350
|
+
tjs: string;
|
|
1351
|
+
tmt: string;
|
|
1352
|
+
tnd: string;
|
|
1353
|
+
top: string;
|
|
1354
|
+
try: string;
|
|
1355
|
+
ttd: string;
|
|
1356
|
+
twd: string;
|
|
1357
|
+
tzs: string;
|
|
1358
|
+
uah: string;
|
|
1359
|
+
ugx: string;
|
|
1360
|
+
usd: string;
|
|
1361
|
+
uyu: string;
|
|
1362
|
+
uzs: string;
|
|
1363
|
+
vef: string;
|
|
1364
|
+
ves: string;
|
|
1365
|
+
vnd: string;
|
|
1366
|
+
vuv: string;
|
|
1367
|
+
wst: string;
|
|
1368
|
+
xaf: string;
|
|
1369
|
+
xag: string;
|
|
1370
|
+
xau: string;
|
|
1371
|
+
xcd: string;
|
|
1372
|
+
xdr: string;
|
|
1373
|
+
xof: string;
|
|
1374
|
+
xpf: string;
|
|
1375
|
+
yer: string;
|
|
1376
|
+
zar: string;
|
|
1377
|
+
zmk: string;
|
|
1378
|
+
zmw: string;
|
|
1379
|
+
zwl: string;
|
|
1380
|
+
};
|
|
1381
|
+
CURRENCY_SYMBOLS: {
|
|
1382
|
+
aed: string;
|
|
1383
|
+
afn: string;
|
|
1384
|
+
all: string;
|
|
1385
|
+
amd: string;
|
|
1386
|
+
ang: string;
|
|
1387
|
+
aoa: string;
|
|
1388
|
+
ars: string;
|
|
1389
|
+
aud: string;
|
|
1390
|
+
awg: string;
|
|
1391
|
+
azn: string;
|
|
1392
|
+
bam: string;
|
|
1393
|
+
bbd: string;
|
|
1394
|
+
bdt: string;
|
|
1395
|
+
bgn: string;
|
|
1396
|
+
bhd: string;
|
|
1397
|
+
bif: string;
|
|
1398
|
+
bmd: string;
|
|
1399
|
+
bnd: string;
|
|
1400
|
+
bob: string;
|
|
1401
|
+
brl: string;
|
|
1402
|
+
bsd: string;
|
|
1403
|
+
btc: string;
|
|
1404
|
+
btn: string;
|
|
1405
|
+
bwp: string;
|
|
1406
|
+
byn: string;
|
|
1407
|
+
byr: string;
|
|
1408
|
+
bzd: string;
|
|
1409
|
+
cad: string;
|
|
1410
|
+
cdf: string;
|
|
1411
|
+
chf: string;
|
|
1412
|
+
clf: string;
|
|
1413
|
+
clp: string;
|
|
1414
|
+
cny: string;
|
|
1415
|
+
cnh: string;
|
|
1416
|
+
cop: string;
|
|
1417
|
+
crc: string;
|
|
1418
|
+
cuc: string;
|
|
1419
|
+
cup: string;
|
|
1420
|
+
cve: string;
|
|
1421
|
+
czk: string;
|
|
1422
|
+
djf: string;
|
|
1423
|
+
dkk: string;
|
|
1424
|
+
dop: string;
|
|
1425
|
+
dzd: string;
|
|
1426
|
+
egp: string;
|
|
1427
|
+
ern: string;
|
|
1428
|
+
etb: string;
|
|
1429
|
+
eur: string;
|
|
1430
|
+
fjd: string;
|
|
1431
|
+
fkp: string;
|
|
1432
|
+
gbp: string;
|
|
1433
|
+
gel: string;
|
|
1434
|
+
ggp: string;
|
|
1435
|
+
ghs: string;
|
|
1436
|
+
gip: string;
|
|
1437
|
+
gmd: string;
|
|
1438
|
+
gnf: string;
|
|
1439
|
+
gtq: string;
|
|
1440
|
+
gyd: string;
|
|
1441
|
+
hkd: string;
|
|
1442
|
+
hnl: string;
|
|
1443
|
+
hrk: string;
|
|
1444
|
+
htg: string;
|
|
1445
|
+
huf: string;
|
|
1446
|
+
idr: string;
|
|
1447
|
+
ils: string;
|
|
1448
|
+
imp: string;
|
|
1449
|
+
inr: string;
|
|
1450
|
+
iqd: string;
|
|
1451
|
+
irr: string;
|
|
1452
|
+
isk: string;
|
|
1453
|
+
jep: string;
|
|
1454
|
+
jmd: string;
|
|
1455
|
+
jod: string;
|
|
1456
|
+
jpy: string;
|
|
1457
|
+
kes: string;
|
|
1458
|
+
kgs: string;
|
|
1459
|
+
khr: string;
|
|
1460
|
+
kmf: string;
|
|
1461
|
+
kpw: string;
|
|
1462
|
+
krw: string;
|
|
1463
|
+
kwd: string;
|
|
1464
|
+
kyd: string;
|
|
1465
|
+
kzt: string;
|
|
1466
|
+
lak: string;
|
|
1467
|
+
lbp: string;
|
|
1468
|
+
lkr: string;
|
|
1469
|
+
lrd: string;
|
|
1470
|
+
lsl: string;
|
|
1471
|
+
ltl: string;
|
|
1472
|
+
lvl: string;
|
|
1473
|
+
lyd: string;
|
|
1474
|
+
mad: string;
|
|
1475
|
+
mdl: string;
|
|
1476
|
+
mga: string;
|
|
1477
|
+
mkd: string;
|
|
1478
|
+
mmk: string;
|
|
1479
|
+
mnt: string;
|
|
1480
|
+
mop: string;
|
|
1481
|
+
mru: string;
|
|
1482
|
+
mur: string;
|
|
1483
|
+
mvr: string;
|
|
1484
|
+
mwk: string;
|
|
1485
|
+
mxn: string;
|
|
1486
|
+
myr: string;
|
|
1487
|
+
mzn: string;
|
|
1488
|
+
nad: string;
|
|
1489
|
+
ngn: string;
|
|
1490
|
+
nio: string;
|
|
1491
|
+
nok: string;
|
|
1492
|
+
npr: string;
|
|
1493
|
+
nzd: string;
|
|
1494
|
+
omr: string;
|
|
1495
|
+
pab: string;
|
|
1496
|
+
pen: string;
|
|
1497
|
+
pgk: string;
|
|
1498
|
+
php: string;
|
|
1499
|
+
pkr: string;
|
|
1500
|
+
pln: string;
|
|
1501
|
+
pyg: string;
|
|
1502
|
+
qar: string;
|
|
1503
|
+
ron: string;
|
|
1504
|
+
rsd: string;
|
|
1505
|
+
rub: string;
|
|
1506
|
+
rwf: string;
|
|
1507
|
+
sar: string;
|
|
1508
|
+
sbd: string;
|
|
1509
|
+
scr: string;
|
|
1510
|
+
sdg: string;
|
|
1511
|
+
sek: string;
|
|
1512
|
+
sgd: string;
|
|
1513
|
+
shp: string;
|
|
1514
|
+
sle: string;
|
|
1515
|
+
sll: string;
|
|
1516
|
+
sos: string;
|
|
1517
|
+
srd: string;
|
|
1518
|
+
std: string;
|
|
1519
|
+
svc: string;
|
|
1520
|
+
syp: string;
|
|
1521
|
+
szl: string;
|
|
1522
|
+
thb: string;
|
|
1523
|
+
tjs: string;
|
|
1524
|
+
tmt: string;
|
|
1525
|
+
tnd: string;
|
|
1526
|
+
top: string;
|
|
1527
|
+
try: string;
|
|
1528
|
+
ttd: string;
|
|
1529
|
+
twd: string;
|
|
1530
|
+
tzs: string;
|
|
1531
|
+
uah: string;
|
|
1532
|
+
ugx: string;
|
|
1533
|
+
usd: string;
|
|
1534
|
+
uyu: string;
|
|
1535
|
+
uzs: string;
|
|
1536
|
+
vef: string;
|
|
1537
|
+
ves: string;
|
|
1538
|
+
vnd: string;
|
|
1539
|
+
vuv: string;
|
|
1540
|
+
wst: string;
|
|
1541
|
+
xaf: string;
|
|
1542
|
+
xag: string;
|
|
1543
|
+
xau: string;
|
|
1544
|
+
xcd: string;
|
|
1545
|
+
xdr: string;
|
|
1546
|
+
xof: string;
|
|
1547
|
+
xpf: string;
|
|
1548
|
+
yer: string;
|
|
1549
|
+
zar: string;
|
|
1550
|
+
zmk: string;
|
|
1551
|
+
zmw: string;
|
|
1552
|
+
zwl: string;
|
|
1553
|
+
};
|
|
1554
|
+
DEFAULT_INTEGRATIONS: {
|
|
1555
|
+
name: string;
|
|
1556
|
+
list: {
|
|
1557
|
+
name: string;
|
|
1558
|
+
category: string;
|
|
1559
|
+
type: string;
|
|
1560
|
+
description: string;
|
|
1561
|
+
title: string;
|
|
1562
|
+
logo: string;
|
|
1563
|
+
new: boolean;
|
|
1564
|
+
}[];
|
|
1565
|
+
}[];
|
|
1566
|
+
};
|
|
1567
|
+
|
|
1568
|
+
declare const defaults: {
|
|
1569
|
+
users: {
|
|
1570
|
+
firstName: string;
|
|
1571
|
+
lastName: string;
|
|
1572
|
+
email: string;
|
|
1573
|
+
role: string;
|
|
1574
|
+
status: string;
|
|
1575
|
+
userName: string;
|
|
1576
|
+
jobTitle: string;
|
|
1577
|
+
password: string;
|
|
1578
|
+
dateOfBirth: null;
|
|
1579
|
+
phoneNumber: string;
|
|
1580
|
+
permissions: never[];
|
|
1581
|
+
avatar: null;
|
|
1582
|
+
notificationSettings: {
|
|
1583
|
+
dailyReports: boolean;
|
|
1584
|
+
dealsClosing: boolean;
|
|
1585
|
+
deletionAlerts: boolean;
|
|
1586
|
+
device: string;
|
|
1587
|
+
};
|
|
1588
|
+
platformSettings: {
|
|
1589
|
+
mode: string;
|
|
1590
|
+
language: string;
|
|
1591
|
+
currency: string;
|
|
1592
|
+
};
|
|
1593
|
+
};
|
|
1594
|
+
clients: {
|
|
1595
|
+
name: string;
|
|
1596
|
+
description: string;
|
|
1597
|
+
status: string;
|
|
1598
|
+
email: string;
|
|
1599
|
+
contactName: string;
|
|
1600
|
+
phone: string;
|
|
1601
|
+
accountNumber: string;
|
|
1602
|
+
invoicePrefix: string;
|
|
1603
|
+
sicCode: string;
|
|
1604
|
+
clientType: string;
|
|
1605
|
+
currency: string;
|
|
1606
|
+
customerType: string;
|
|
1607
|
+
industry: string;
|
|
1608
|
+
annualRevenue: number;
|
|
1609
|
+
balance: number;
|
|
1610
|
+
nextInvoiceSequence: number;
|
|
1611
|
+
taxExempt: string;
|
|
1612
|
+
website: string;
|
|
1613
|
+
source: string;
|
|
1614
|
+
logoUrl: string;
|
|
1615
|
+
linkedinUrl: string;
|
|
1616
|
+
facebookUrl: string;
|
|
1617
|
+
twitterUrl: string;
|
|
1618
|
+
angelUrl: string;
|
|
1619
|
+
crunchbaseUrl: string;
|
|
1620
|
+
accountOwner: string;
|
|
1621
|
+
contacts: string;
|
|
1622
|
+
deals: string;
|
|
1623
|
+
invoices: string;
|
|
1624
|
+
engagements: string;
|
|
1625
|
+
tasks: string;
|
|
1626
|
+
};
|
|
1627
|
+
contacts: {
|
|
1628
|
+
name: string;
|
|
1629
|
+
description: string;
|
|
1630
|
+
status: string;
|
|
1631
|
+
email: string;
|
|
1632
|
+
phoneNumber: string;
|
|
1633
|
+
role: string;
|
|
1634
|
+
linkedinUrl: string;
|
|
1635
|
+
twitterUrl: string;
|
|
1636
|
+
client: string;
|
|
1637
|
+
engagements: string;
|
|
1638
|
+
};
|
|
1639
|
+
inventories: {
|
|
1640
|
+
name: string;
|
|
1641
|
+
description: string;
|
|
1642
|
+
status: string;
|
|
1643
|
+
amount: number;
|
|
1644
|
+
quantity: number;
|
|
1645
|
+
};
|
|
1646
|
+
organizations: {
|
|
1647
|
+
name: string;
|
|
1648
|
+
website: string;
|
|
1649
|
+
industry: string;
|
|
1650
|
+
currency: string;
|
|
1651
|
+
linkedinUrl: string;
|
|
1652
|
+
facebookUrl: string;
|
|
1653
|
+
twitterUrl: string;
|
|
1654
|
+
angelUrl: string;
|
|
1655
|
+
crunchbaseUrl: string;
|
|
1656
|
+
};
|
|
1657
|
+
activties: {
|
|
1658
|
+
label: string;
|
|
1659
|
+
value: string;
|
|
1660
|
+
modelName: string;
|
|
1661
|
+
path: string;
|
|
1662
|
+
};
|
|
1663
|
+
leads: {
|
|
1664
|
+
name: string;
|
|
1665
|
+
description: string;
|
|
1666
|
+
status: string;
|
|
1667
|
+
leadType: string;
|
|
1668
|
+
source: string;
|
|
1669
|
+
amount: number;
|
|
1670
|
+
projectedClosingDate: null;
|
|
1671
|
+
expectedRevenue: number;
|
|
1672
|
+
probability: number;
|
|
1673
|
+
nextStep: string;
|
|
1674
|
+
accountOwner: string;
|
|
1675
|
+
client: string;
|
|
1676
|
+
campaign: string;
|
|
1677
|
+
};
|
|
1678
|
+
deals: {
|
|
1679
|
+
name: string;
|
|
1680
|
+
description: string;
|
|
1681
|
+
status: string;
|
|
1682
|
+
dealType: string;
|
|
1683
|
+
source: string;
|
|
1684
|
+
amount: number;
|
|
1685
|
+
closingDate: null;
|
|
1686
|
+
expectedRevenue: number;
|
|
1687
|
+
probability: number;
|
|
1688
|
+
nextStep: string;
|
|
1689
|
+
accountOwner: string;
|
|
1690
|
+
client: string;
|
|
1691
|
+
campaign: string;
|
|
1692
|
+
};
|
|
1693
|
+
campaigns: {
|
|
1694
|
+
name: string;
|
|
1695
|
+
description: string;
|
|
1696
|
+
status: string;
|
|
1697
|
+
priority: string;
|
|
1698
|
+
startDate: null;
|
|
1699
|
+
endDate: null;
|
|
1700
|
+
campaignType: string;
|
|
1701
|
+
budgetedCost: number;
|
|
1702
|
+
expectedRevenue: number;
|
|
1703
|
+
actualCost: number;
|
|
1704
|
+
numbersSent: number;
|
|
1705
|
+
expectedResponse: string;
|
|
1706
|
+
accountOwner: string;
|
|
1707
|
+
leads: string;
|
|
1708
|
+
deals: string;
|
|
1709
|
+
};
|
|
1710
|
+
invoices: {
|
|
1711
|
+
name: string;
|
|
1712
|
+
description: string;
|
|
1713
|
+
footer: string;
|
|
1714
|
+
status: string;
|
|
1715
|
+
currency: string;
|
|
1716
|
+
accountCountry: string;
|
|
1717
|
+
statementDescriptor: string;
|
|
1718
|
+
dueDate: null;
|
|
1719
|
+
nextPaymentAttempt: null;
|
|
1720
|
+
effectiveAt: null;
|
|
1721
|
+
amountDue: number;
|
|
1722
|
+
amountPaid: number;
|
|
1723
|
+
amountRemaining: number;
|
|
1724
|
+
amountShipping: number;
|
|
1725
|
+
attemptCount: number;
|
|
1726
|
+
startingBalance: number;
|
|
1727
|
+
endingBalance: number;
|
|
1728
|
+
subtotal: number;
|
|
1729
|
+
subtotalExcludingTax: number;
|
|
1730
|
+
totalExcludingTax: number;
|
|
1731
|
+
tax: number;
|
|
1732
|
+
postPaymentCreditNotesAmount: number;
|
|
1733
|
+
prePaymentCreditNotesAmount: number;
|
|
1734
|
+
daysUntilDue: number;
|
|
1735
|
+
attempted: boolean;
|
|
1736
|
+
autoAdvance: boolean;
|
|
1737
|
+
billingReason: string;
|
|
1738
|
+
collectionMethod: string;
|
|
1739
|
+
customerEmail: string;
|
|
1740
|
+
customerPhone: string;
|
|
1741
|
+
customerTaxExempt: string;
|
|
1742
|
+
invoicePdf: string;
|
|
1743
|
+
lastFinalizationError: string;
|
|
1744
|
+
number: null;
|
|
1745
|
+
receiptNumber: string;
|
|
1746
|
+
livemode: boolean;
|
|
1747
|
+
paid: boolean;
|
|
1748
|
+
paidOutOfBand: boolean;
|
|
1749
|
+
client: string;
|
|
1750
|
+
accountOwner: string;
|
|
1751
|
+
deal: string;
|
|
1752
|
+
};
|
|
1753
|
+
issuer: {
|
|
1754
|
+
account: string;
|
|
1755
|
+
type: string;
|
|
1756
|
+
};
|
|
1757
|
+
engagements: {
|
|
1758
|
+
name: string;
|
|
1759
|
+
description: string;
|
|
1760
|
+
status: string;
|
|
1761
|
+
engagementDate: null;
|
|
1762
|
+
client: string;
|
|
1763
|
+
contact: string;
|
|
1764
|
+
};
|
|
1765
|
+
pools: {
|
|
1766
|
+
name: string;
|
|
1767
|
+
description: string;
|
|
1768
|
+
status: string;
|
|
1769
|
+
};
|
|
1770
|
+
products: {
|
|
1771
|
+
name: string;
|
|
1772
|
+
description: null;
|
|
1773
|
+
status: string;
|
|
1774
|
+
productType: string;
|
|
1775
|
+
client: string;
|
|
1776
|
+
inventory: string;
|
|
1777
|
+
accountOwner: string;
|
|
1778
|
+
active: boolean;
|
|
1779
|
+
shippable: boolean;
|
|
1780
|
+
statementDescriptor: string;
|
|
1781
|
+
taxCode: null;
|
|
1782
|
+
unitLabel: null;
|
|
1783
|
+
url: string;
|
|
1784
|
+
};
|
|
1785
|
+
prices: {
|
|
1786
|
+
active: boolean;
|
|
1787
|
+
unitAmount: number;
|
|
1788
|
+
unitAmountDecimal: null;
|
|
1789
|
+
lookupKey: string;
|
|
1790
|
+
type: string;
|
|
1791
|
+
taxBehavior: string;
|
|
1792
|
+
currency: string;
|
|
1793
|
+
billingScheme: string;
|
|
1794
|
+
recurring: {
|
|
1795
|
+
intervalCount: number;
|
|
1796
|
+
interval: string;
|
|
1797
|
+
aggregateUsage: string;
|
|
1798
|
+
usageType: string;
|
|
1799
|
+
trialPeriodDays: number;
|
|
1800
|
+
};
|
|
1801
|
+
};
|
|
1802
|
+
packageDimensions: {
|
|
1803
|
+
height: number;
|
|
1804
|
+
length: number;
|
|
1805
|
+
weight: number;
|
|
1806
|
+
width: number;
|
|
1807
|
+
};
|
|
1808
|
+
subscriptions: {
|
|
1809
|
+
name: string;
|
|
1810
|
+
description: null;
|
|
1811
|
+
status: string;
|
|
1812
|
+
trialStart: null;
|
|
1813
|
+
trialEnd: null;
|
|
1814
|
+
startDate: null;
|
|
1815
|
+
endedAt: null;
|
|
1816
|
+
currentPeriodStart: null;
|
|
1817
|
+
currentPeriodEnd: null;
|
|
1818
|
+
backdateStartDate: null;
|
|
1819
|
+
billingCycleAnchor: null;
|
|
1820
|
+
cancelAt: null;
|
|
1821
|
+
canceledAt: null;
|
|
1822
|
+
daysUntilDue: number;
|
|
1823
|
+
trialPeriodDays: number;
|
|
1824
|
+
applicationFeePercent: number;
|
|
1825
|
+
cancelAtPeriodEnd: boolean;
|
|
1826
|
+
trialFromPlan: boolean;
|
|
1827
|
+
offSession: boolean;
|
|
1828
|
+
nextPendingInvoiceItemInvoice: null;
|
|
1829
|
+
collectionMethod: string;
|
|
1830
|
+
client: string;
|
|
1831
|
+
deal: string;
|
|
1832
|
+
accountOwner: string;
|
|
1833
|
+
};
|
|
1834
|
+
automaticTax: {
|
|
1835
|
+
enabled: boolean;
|
|
1836
|
+
liability: {
|
|
1837
|
+
account: string;
|
|
1838
|
+
type: string;
|
|
1839
|
+
};
|
|
1840
|
+
status: string;
|
|
1841
|
+
};
|
|
1842
|
+
pauseCollection: {
|
|
1843
|
+
behavior: string;
|
|
1844
|
+
resumesAt: null;
|
|
1845
|
+
};
|
|
1846
|
+
cancellationDetails: {
|
|
1847
|
+
comment: string;
|
|
1848
|
+
feedback: string;
|
|
1849
|
+
reason: string;
|
|
1850
|
+
};
|
|
1851
|
+
trialSettings: {
|
|
1852
|
+
endBehavior: {
|
|
1853
|
+
missingPaymentMethod: string;
|
|
1854
|
+
};
|
|
1855
|
+
};
|
|
1856
|
+
payments: {
|
|
1857
|
+
name: string;
|
|
1858
|
+
description: string;
|
|
1859
|
+
status: string;
|
|
1860
|
+
paymentStatus: string;
|
|
1861
|
+
currency: string;
|
|
1862
|
+
amount: number;
|
|
1863
|
+
amountCapturable: number;
|
|
1864
|
+
amountReceived: number;
|
|
1865
|
+
applicationFeeAmount: number;
|
|
1866
|
+
statementDescriptor: string;
|
|
1867
|
+
statementDescriptorSuffix: string;
|
|
1868
|
+
livemode: boolean;
|
|
1869
|
+
receiptEmail: string;
|
|
1870
|
+
client: string;
|
|
1871
|
+
subscription: string;
|
|
1872
|
+
invoice: string;
|
|
1873
|
+
};
|
|
1874
|
+
reports: {
|
|
1875
|
+
label: string;
|
|
1876
|
+
star: boolean;
|
|
1877
|
+
chartType: string;
|
|
1878
|
+
frequency: string;
|
|
1879
|
+
frequencyField: string;
|
|
1880
|
+
modelName: string;
|
|
1881
|
+
fieldName: string;
|
|
1882
|
+
operationType: string;
|
|
1883
|
+
calculation: string;
|
|
1884
|
+
calculationValue: string;
|
|
1885
|
+
};
|
|
1886
|
+
lists: {
|
|
1887
|
+
label: string;
|
|
1888
|
+
star: boolean;
|
|
1889
|
+
dynamic: boolean;
|
|
1890
|
+
modelName: string;
|
|
1891
|
+
fieldName: string;
|
|
1892
|
+
calculation: string;
|
|
1893
|
+
calculationValue: string;
|
|
1894
|
+
};
|
|
1895
|
+
statistics: {
|
|
1896
|
+
label: string;
|
|
1897
|
+
star: boolean;
|
|
1898
|
+
modelName: string;
|
|
1899
|
+
fieldName: string;
|
|
1900
|
+
operationType: string;
|
|
1901
|
+
calculation: string;
|
|
1902
|
+
calculationValue: string;
|
|
1903
|
+
};
|
|
1904
|
+
address: {
|
|
1905
|
+
streetNumber: string;
|
|
1906
|
+
streetName: string;
|
|
1907
|
+
city: string;
|
|
1908
|
+
state: string;
|
|
1909
|
+
country: string;
|
|
1910
|
+
countryCode: string;
|
|
1911
|
+
postalCode: string;
|
|
1912
|
+
latitude: number;
|
|
1913
|
+
longitude: number;
|
|
1914
|
+
};
|
|
1915
|
+
schema: {
|
|
1916
|
+
deleted: boolean;
|
|
1917
|
+
selected: boolean;
|
|
1918
|
+
key: string;
|
|
1919
|
+
type: string;
|
|
1920
|
+
options: never[];
|
|
1921
|
+
};
|
|
1922
|
+
comments: {
|
|
1923
|
+
label: string;
|
|
1924
|
+
};
|
|
1925
|
+
tasks: {
|
|
1926
|
+
name: string;
|
|
1927
|
+
description: string;
|
|
1928
|
+
status: string;
|
|
1929
|
+
priority: string;
|
|
1930
|
+
dueDate: null;
|
|
1931
|
+
reminder: boolean;
|
|
1932
|
+
reminderDate: null;
|
|
1933
|
+
reminderTime: string;
|
|
1934
|
+
repeat: boolean;
|
|
1935
|
+
repeatDate: null;
|
|
1936
|
+
repeatTime: string;
|
|
1937
|
+
client: string;
|
|
1938
|
+
assignee: string;
|
|
1939
|
+
};
|
|
1940
|
+
integrations: {
|
|
1941
|
+
name: string;
|
|
1942
|
+
title: string;
|
|
1943
|
+
description: string;
|
|
1944
|
+
category: string;
|
|
1945
|
+
key: string;
|
|
1946
|
+
secret: string;
|
|
1947
|
+
logo: string;
|
|
1948
|
+
clientEmail: string;
|
|
1949
|
+
customerId: string;
|
|
1950
|
+
channelId: string;
|
|
1951
|
+
active: boolean;
|
|
1952
|
+
importBridge: boolean;
|
|
1953
|
+
exportBridge: boolean;
|
|
1954
|
+
dynamicBridge: boolean;
|
|
1955
|
+
};
|
|
1956
|
+
operations: {
|
|
1957
|
+
label: string;
|
|
1958
|
+
description: string;
|
|
1959
|
+
star: boolean;
|
|
1960
|
+
};
|
|
1961
|
+
prompts: {
|
|
1962
|
+
label: string;
|
|
1963
|
+
description: string;
|
|
1964
|
+
active: boolean;
|
|
1965
|
+
};
|
|
1966
|
+
};
|
|
1967
|
+
|
|
1968
|
+
export { type ActivityInterface, type AddressInterface, type AnalyticsQueryInterface, type AutomaticTaxInterface, type CampaignInterface, type CancellationDetailsInterface, type CardInterface, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, type CurrentRateInterface, type DealInterface, type EmailInterface, type EngagementInterface, type FileInterface, type FilterInterface, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, type LeadInterface, type ListInterface, type MarketingFeatureInterface, type ModelInterface, type Notation, type NotificationInterface, type OperationInterface, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, type PoolInterface, type PriceInterface, type PriceRecurringInterface, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type UsageInterface, type UserInterface, type WaitlistInterface, camelCaseToWords, capitalizeSentence, constants, defaults, formatPhoneNumber, getRandomArbitrary, grabAge, isNumber, largeNumberLabel, normalizeKey, openInNewTab, prettifyString, snakeToPretty, validEmail };
|