placementt-core 1.400.1053 → 1.400.1055

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.
@@ -870,6 +870,13 @@ export type ProviderContactData = {
870
870
  bio?: string;
871
871
  uid?: string;
872
872
  created: string;
873
+ /** How this record first came to exist. "placement" marks a contact we
874
+ * created ourselves from uploaded placement details, so every student sent
875
+ * to that employer shares one record — the employer has never seen it. */
876
+ source?: "placement";
877
+ /** False until the employer has reviewed the details we hold for them.
878
+ * Only ever written on records we created on their behalf. */
879
+ detailsConfirmed?: boolean;
873
880
  providerId: string;
874
881
  insurance: boolean | "awaitingReview";
875
882
  insuranceSkippedReason?: string;
@@ -1520,6 +1527,7 @@ export type PlacementReviewDetails = {
1520
1527
  riskAssessmentData?: {
1521
1528
  [key: string]: unknown;
1522
1529
  }[] | string;
1530
+ riskAssessmentType?: "form" | "file" | "skipped" | "customForm";
1523
1531
  riskAssessmentFormId?: string;
1524
1532
  riskAssessmentFormSchema?: CustomFormSchema;
1525
1533
  dbsCheckData?: {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "private": false,
3
3
  "name": "placementt-core",
4
4
  "author": "Placementt",
5
- "version": "1.400.1053",
5
+ "version": "1.400.1055",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/index.d.ts",
8
8
  "scripts": {
@@ -908,6 +908,13 @@ export type ProviderContactData = {
908
908
  bio?: string,
909
909
  uid?: string
910
910
  created: string,
911
+ /** How this record first came to exist. "placement" marks a contact we
912
+ * created ourselves from uploaded placement details, so every student sent
913
+ * to that employer shares one record — the employer has never seen it. */
914
+ source?: "placement",
915
+ /** False until the employer has reviewed the details we hold for them.
916
+ * Only ever written on records we created on their behalf. */
917
+ detailsConfirmed?: boolean,
911
918
  providerId: string,
912
919
  insurance: boolean|"awaitingReview",
913
920
  insuranceSkippedReason?: string,
@@ -1535,6 +1542,7 @@ export type PlacementReviewDetails = {
1535
1542
  providerContactId: string,
1536
1543
  incompleteItems: {[key: number]: string[]},
1537
1544
  riskAssessmentData?: {[key: string]: unknown}[]|string,
1545
+ riskAssessmentType?: "form"|"file"|"skipped"|"customForm",
1538
1546
  riskAssessmentFormId?: string,
1539
1547
  riskAssessmentFormSchema?: CustomFormSchema,
1540
1548
  dbsCheckData?: {[key: string]: unknown}[]|string,