placementt-core 1.400.865 → 1.400.867
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 +58 -0
- package/package.json +1 -1
- package/src/typeDefinitions.ts +55 -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;
|
|
@@ -1209,6 +1210,7 @@ export type PlacementReviewDetails = {
|
|
|
1209
1210
|
};
|
|
1210
1211
|
attended?: boolean | "requested";
|
|
1211
1212
|
trackAttendance?: boolean;
|
|
1213
|
+
daysEachWeek?: ("Mon" | "Tue" | "Wed" | "Thu" | "Fri" | "Sat" | "Sun")[];
|
|
1212
1214
|
};
|
|
1213
1215
|
export type ProviderMatch = {
|
|
1214
1216
|
name: string;
|
|
@@ -2458,6 +2460,62 @@ export type SupportTask = {
|
|
|
2458
2460
|
messageId?: string;
|
|
2459
2461
|
};
|
|
2460
2462
|
export type SupportInbox = "oneDay" | "threeDay" | "oneWeek";
|
|
2463
|
+
export type CustomerProductType = "careersHub" | "careersHubSchool" | "workExperience" | "trust" | "employerEvents";
|
|
2464
|
+
export type CustomerSuccessMetrics = {
|
|
2465
|
+
currentCycleFirstPlacementDate?: string;
|
|
2466
|
+
employerOpportunitiesViewedPct?: number;
|
|
2467
|
+
hubEventsJoined?: number;
|
|
2468
|
+
eventsCreated?: number;
|
|
2469
|
+
stagnantPlacementsPct?: number;
|
|
2470
|
+
stagnantPlacementsCount?: number;
|
|
2471
|
+
futureEventsCount?: number;
|
|
2472
|
+
newSchoolEventsLastMonth?: number;
|
|
2473
|
+
sharedEmployerOppsLastMonth?: number;
|
|
2474
|
+
metricsUpdatedAt?: Timestamp;
|
|
2475
|
+
};
|
|
2476
|
+
export type CustomerSuccessData = {
|
|
2477
|
+
lifecycleStatus: "onboarding" | "maintenance" | "renewal" | "churned" | "backlog";
|
|
2478
|
+
productTypes: CustomerProductType[];
|
|
2479
|
+
renewalDate?: Timestamp;
|
|
2480
|
+
lastContactDate?: Timestamp;
|
|
2481
|
+
backlogUntil?: Timestamp;
|
|
2482
|
+
followUpCount?: number;
|
|
2483
|
+
onboardingMilestones?: {
|
|
2484
|
+
[key: string]: boolean;
|
|
2485
|
+
};
|
|
2486
|
+
metrics?: CustomerSuccessMetrics;
|
|
2487
|
+
};
|
|
2488
|
+
export type CustomerTask = {
|
|
2489
|
+
id: string;
|
|
2490
|
+
customerId: string;
|
|
2491
|
+
customerName: string;
|
|
2492
|
+
productType: CustomerProductType;
|
|
2493
|
+
taskType: "outreach" | "scheduled" | "metricAlert" | "calendar" | "giftBox" | "seasonal";
|
|
2494
|
+
phase: "onboarding" | "maintenance" | "renewal" | "general";
|
|
2495
|
+
title: string;
|
|
2496
|
+
description?: string;
|
|
2497
|
+
status: "pending" | "inProgress" | "complete" | "snoozed" | "dismissed";
|
|
2498
|
+
priority: "high" | "medium" | "low";
|
|
2499
|
+
dueDate?: Timestamp;
|
|
2500
|
+
snoozedUntil?: Timestamp;
|
|
2501
|
+
completedAt?: Timestamp;
|
|
2502
|
+
completedBy?: string;
|
|
2503
|
+
triggerType: "manual" | "renewalLogged" | "timeBased" | "metricThreshold" | "calendar";
|
|
2504
|
+
triggerKey?: string;
|
|
2505
|
+
commId?: string;
|
|
2506
|
+
commType?: "users";
|
|
2507
|
+
metadata?: {
|
|
2508
|
+
address?: string;
|
|
2509
|
+
recipients?: {
|
|
2510
|
+
customerId: string;
|
|
2511
|
+
customerName: string;
|
|
2512
|
+
address?: string;
|
|
2513
|
+
completed: boolean;
|
|
2514
|
+
}[];
|
|
2515
|
+
};
|
|
2516
|
+
createdAt: Timestamp;
|
|
2517
|
+
updatedAt: Timestamp;
|
|
2518
|
+
};
|
|
2461
2519
|
export type CommSchemaItem = {
|
|
2462
2520
|
name: string;
|
|
2463
2521
|
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 = {
|
|
@@ -1173,6 +1174,7 @@ export type PlacementReviewDetails = {
|
|
|
1173
1174
|
providerMatch: {match?: boolean, matches: [string, ProviderMatch][]},
|
|
1174
1175
|
attended?: boolean|"requested",
|
|
1175
1176
|
trackAttendance?: boolean,
|
|
1177
|
+
daysEachWeek?: ("Mon"|"Tue"|"Wed"|"Thu"|"Fri"|"Sat"|"Sun")[],
|
|
1176
1178
|
}
|
|
1177
1179
|
|
|
1178
1180
|
export type ProviderMatch = {
|
|
@@ -2400,6 +2402,59 @@ export type SupportTask = {
|
|
|
2400
2402
|
|
|
2401
2403
|
export type SupportInbox = "oneDay" | "threeDay" | "oneWeek";
|
|
2402
2404
|
|
|
2405
|
+
export type CustomerProductType = "careersHub" | "careersHubSchool" | "workExperience" | "trust" | "employerEvents";
|
|
2406
|
+
|
|
2407
|
+
export type CustomerSuccessMetrics = {
|
|
2408
|
+
currentCycleFirstPlacementDate?: string;
|
|
2409
|
+
employerOpportunitiesViewedPct?: number;
|
|
2410
|
+
hubEventsJoined?: number;
|
|
2411
|
+
eventsCreated?: number;
|
|
2412
|
+
stagnantPlacementsPct?: number;
|
|
2413
|
+
stagnantPlacementsCount?: number;
|
|
2414
|
+
futureEventsCount?: number;
|
|
2415
|
+
newSchoolEventsLastMonth?: number;
|
|
2416
|
+
sharedEmployerOppsLastMonth?: number;
|
|
2417
|
+
metricsUpdatedAt?: Timestamp;
|
|
2418
|
+
};
|
|
2419
|
+
|
|
2420
|
+
export type CustomerSuccessData = {
|
|
2421
|
+
lifecycleStatus: "onboarding" | "maintenance" | "renewal" | "churned" | "backlog";
|
|
2422
|
+
productTypes: CustomerProductType[];
|
|
2423
|
+
renewalDate?: Timestamp;
|
|
2424
|
+
lastContactDate?: Timestamp;
|
|
2425
|
+
backlogUntil?: Timestamp;
|
|
2426
|
+
followUpCount?: number;
|
|
2427
|
+
onboardingMilestones?: { [key: string]: boolean };
|
|
2428
|
+
metrics?: CustomerSuccessMetrics;
|
|
2429
|
+
};
|
|
2430
|
+
|
|
2431
|
+
export type CustomerTask = {
|
|
2432
|
+
id: string;
|
|
2433
|
+
customerId: string;
|
|
2434
|
+
customerName: string;
|
|
2435
|
+
productType: CustomerProductType;
|
|
2436
|
+
taskType: "outreach" | "scheduled" | "metricAlert" | "calendar" | "giftBox" | "seasonal";
|
|
2437
|
+
phase: "onboarding" | "maintenance" | "renewal" | "general";
|
|
2438
|
+
title: string;
|
|
2439
|
+
description?: string;
|
|
2440
|
+
status: "pending" | "inProgress" | "complete" | "snoozed" | "dismissed";
|
|
2441
|
+
priority: "high" | "medium" | "low";
|
|
2442
|
+
dueDate?: Timestamp;
|
|
2443
|
+
snoozedUntil?: Timestamp;
|
|
2444
|
+
completedAt?: Timestamp;
|
|
2445
|
+
completedBy?: string;
|
|
2446
|
+
triggerType: "manual" | "renewalLogged" | "timeBased" | "metricThreshold" | "calendar";
|
|
2447
|
+
triggerKey?: string;
|
|
2448
|
+
commId?: string;
|
|
2449
|
+
commType?: "users";
|
|
2450
|
+
metadata?: {
|
|
2451
|
+
address?: string;
|
|
2452
|
+
recipients?: { customerId: string; customerName: string; address?: string; completed: boolean }[];
|
|
2453
|
+
};
|
|
2454
|
+
createdAt: Timestamp;
|
|
2455
|
+
updatedAt: Timestamp;
|
|
2456
|
+
};
|
|
2457
|
+
|
|
2403
2458
|
export type CommSchemaItem = {
|
|
2404
2459
|
name: string;
|
|
2405
2460
|
label: string;
|