placementt-core 1.400.865 → 1.400.866
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/lib/typeDefinitions.d.ts +57 -0
- package/package.json +1 -1
- package/src/typeDefinitions.ts +54 -0
package/lib/typeDefinitions.d.ts
CHANGED
|
@@ -899,6 +899,7 @@ export type InstituteData = {
|
|
|
899
899
|
v: unknown;
|
|
900
900
|
}[];
|
|
901
901
|
};
|
|
902
|
+
cs?: CustomerSuccessData;
|
|
902
903
|
} & Address;
|
|
903
904
|
export type ExternalActivity = {
|
|
904
905
|
title?: string;
|
|
@@ -2458,6 +2459,62 @@ export type SupportTask = {
|
|
|
2458
2459
|
messageId?: string;
|
|
2459
2460
|
};
|
|
2460
2461
|
export type SupportInbox = "oneDay" | "threeDay" | "oneWeek";
|
|
2462
|
+
export type CustomerProductType = "careersHub" | "careersHubSchool" | "workExperience" | "trust" | "employerEvents";
|
|
2463
|
+
export type CustomerSuccessMetrics = {
|
|
2464
|
+
currentCycleFirstPlacementDate?: string;
|
|
2465
|
+
employerOpportunitiesViewedPct?: number;
|
|
2466
|
+
hubEventsJoined?: number;
|
|
2467
|
+
eventsCreated?: number;
|
|
2468
|
+
stagnantPlacementsPct?: number;
|
|
2469
|
+
stagnantPlacementsCount?: number;
|
|
2470
|
+
futureEventsCount?: number;
|
|
2471
|
+
newSchoolEventsLastMonth?: number;
|
|
2472
|
+
sharedEmployerOppsLastMonth?: number;
|
|
2473
|
+
metricsUpdatedAt?: Timestamp;
|
|
2474
|
+
};
|
|
2475
|
+
export type CustomerSuccessData = {
|
|
2476
|
+
lifecycleStatus: "onboarding" | "maintenance" | "renewal" | "churned" | "backlog";
|
|
2477
|
+
productTypes: CustomerProductType[];
|
|
2478
|
+
renewalDate?: Timestamp;
|
|
2479
|
+
lastContactDate?: Timestamp;
|
|
2480
|
+
backlogUntil?: Timestamp;
|
|
2481
|
+
followUpCount?: number;
|
|
2482
|
+
onboardingMilestones?: {
|
|
2483
|
+
[key: string]: boolean;
|
|
2484
|
+
};
|
|
2485
|
+
metrics?: CustomerSuccessMetrics;
|
|
2486
|
+
};
|
|
2487
|
+
export type CustomerTask = {
|
|
2488
|
+
id: string;
|
|
2489
|
+
customerId: string;
|
|
2490
|
+
customerName: string;
|
|
2491
|
+
productType: CustomerProductType;
|
|
2492
|
+
taskType: "outreach" | "scheduled" | "metricAlert" | "calendar" | "giftBox" | "seasonal";
|
|
2493
|
+
phase: "onboarding" | "maintenance" | "renewal" | "general";
|
|
2494
|
+
title: string;
|
|
2495
|
+
description?: string;
|
|
2496
|
+
status: "pending" | "inProgress" | "complete" | "snoozed" | "dismissed";
|
|
2497
|
+
priority: "high" | "medium" | "low";
|
|
2498
|
+
dueDate?: Timestamp;
|
|
2499
|
+
snoozedUntil?: Timestamp;
|
|
2500
|
+
completedAt?: Timestamp;
|
|
2501
|
+
completedBy?: string;
|
|
2502
|
+
triggerType: "manual" | "renewalLogged" | "timeBased" | "metricThreshold" | "calendar";
|
|
2503
|
+
triggerKey?: string;
|
|
2504
|
+
commId?: string;
|
|
2505
|
+
commType?: "users";
|
|
2506
|
+
metadata?: {
|
|
2507
|
+
address?: string;
|
|
2508
|
+
recipients?: {
|
|
2509
|
+
customerId: string;
|
|
2510
|
+
customerName: string;
|
|
2511
|
+
address?: string;
|
|
2512
|
+
completed: boolean;
|
|
2513
|
+
}[];
|
|
2514
|
+
};
|
|
2515
|
+
createdAt: Timestamp;
|
|
2516
|
+
updatedAt: Timestamp;
|
|
2517
|
+
};
|
|
2461
2518
|
export type CommSchemaItem = {
|
|
2462
2519
|
name: string;
|
|
2463
2520
|
label: string;
|
package/package.json
CHANGED
package/src/typeDefinitions.ts
CHANGED
|
@@ -884,6 +884,7 @@ export type InstituteData = {
|
|
|
884
884
|
e?: WhereFilterOp;
|
|
885
885
|
v: unknown;
|
|
886
886
|
}[],}
|
|
887
|
+
cs?: CustomerSuccessData,
|
|
887
888
|
}&Address;
|
|
888
889
|
|
|
889
890
|
export type ExternalActivity = {
|
|
@@ -2400,6 +2401,59 @@ export type SupportTask = {
|
|
|
2400
2401
|
|
|
2401
2402
|
export type SupportInbox = "oneDay" | "threeDay" | "oneWeek";
|
|
2402
2403
|
|
|
2404
|
+
export type CustomerProductType = "careersHub" | "careersHubSchool" | "workExperience" | "trust" | "employerEvents";
|
|
2405
|
+
|
|
2406
|
+
export type CustomerSuccessMetrics = {
|
|
2407
|
+
currentCycleFirstPlacementDate?: string;
|
|
2408
|
+
employerOpportunitiesViewedPct?: number;
|
|
2409
|
+
hubEventsJoined?: number;
|
|
2410
|
+
eventsCreated?: number;
|
|
2411
|
+
stagnantPlacementsPct?: number;
|
|
2412
|
+
stagnantPlacementsCount?: number;
|
|
2413
|
+
futureEventsCount?: number;
|
|
2414
|
+
newSchoolEventsLastMonth?: number;
|
|
2415
|
+
sharedEmployerOppsLastMonth?: number;
|
|
2416
|
+
metricsUpdatedAt?: Timestamp;
|
|
2417
|
+
};
|
|
2418
|
+
|
|
2419
|
+
export type CustomerSuccessData = {
|
|
2420
|
+
lifecycleStatus: "onboarding" | "maintenance" | "renewal" | "churned" | "backlog";
|
|
2421
|
+
productTypes: CustomerProductType[];
|
|
2422
|
+
renewalDate?: Timestamp;
|
|
2423
|
+
lastContactDate?: Timestamp;
|
|
2424
|
+
backlogUntil?: Timestamp;
|
|
2425
|
+
followUpCount?: number;
|
|
2426
|
+
onboardingMilestones?: { [key: string]: boolean };
|
|
2427
|
+
metrics?: CustomerSuccessMetrics;
|
|
2428
|
+
};
|
|
2429
|
+
|
|
2430
|
+
export type CustomerTask = {
|
|
2431
|
+
id: string;
|
|
2432
|
+
customerId: string;
|
|
2433
|
+
customerName: string;
|
|
2434
|
+
productType: CustomerProductType;
|
|
2435
|
+
taskType: "outreach" | "scheduled" | "metricAlert" | "calendar" | "giftBox" | "seasonal";
|
|
2436
|
+
phase: "onboarding" | "maintenance" | "renewal" | "general";
|
|
2437
|
+
title: string;
|
|
2438
|
+
description?: string;
|
|
2439
|
+
status: "pending" | "inProgress" | "complete" | "snoozed" | "dismissed";
|
|
2440
|
+
priority: "high" | "medium" | "low";
|
|
2441
|
+
dueDate?: Timestamp;
|
|
2442
|
+
snoozedUntil?: Timestamp;
|
|
2443
|
+
completedAt?: Timestamp;
|
|
2444
|
+
completedBy?: string;
|
|
2445
|
+
triggerType: "manual" | "renewalLogged" | "timeBased" | "metricThreshold" | "calendar";
|
|
2446
|
+
triggerKey?: string;
|
|
2447
|
+
commId?: string;
|
|
2448
|
+
commType?: "users";
|
|
2449
|
+
metadata?: {
|
|
2450
|
+
address?: string;
|
|
2451
|
+
recipients?: { customerId: string; customerName: string; address?: string; completed: boolean }[];
|
|
2452
|
+
};
|
|
2453
|
+
createdAt: Timestamp;
|
|
2454
|
+
updatedAt: Timestamp;
|
|
2455
|
+
};
|
|
2456
|
+
|
|
2403
2457
|
export type CommSchemaItem = {
|
|
2404
2458
|
name: string;
|
|
2405
2459
|
label: string;
|