placementt-core 1.400.1141 → 1.400.1143
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/callables/activities.d.ts +18 -18
- package/lib/callables/events.d.ts +2 -2
- package/lib/callables/misSync.d.ts +2 -2
- package/lib/callables/outreach.d.ts +6 -6
- package/lib/callables/registry.d.ts +60 -60
- package/lib/callables/studentLaunches.d.ts +2 -2
- package/lib/callables/surveys.d.ts +6 -6
- package/lib/constants.d.ts +7 -1
- package/lib/constants.js +60 -2
- package/lib/constants.js.map +1 -1
- package/lib/typeDefinitions.d.ts +10 -0
- package/lib/typeDefinitions.js.map +1 -1
- package/package.json +1 -1
- package/src/constants.ts +59 -1
- package/src/typeDefinitions.ts +16 -1
|
@@ -23,34 +23,34 @@ declare const staffActivity: z.ZodObject<{
|
|
|
23
23
|
title: string;
|
|
24
24
|
description: string;
|
|
25
25
|
activityType: string;
|
|
26
|
+
startDate?: string | undefined;
|
|
27
|
+
endDate?: string | undefined;
|
|
26
28
|
organisationName?: string | undefined;
|
|
27
29
|
typeDetails?: Record<string, unknown> | undefined;
|
|
28
30
|
locationType?: "hybrid" | "online" | "inPerson" | undefined;
|
|
29
|
-
startDate?: string | undefined;
|
|
30
|
-
endDate?: string | undefined;
|
|
31
31
|
isOngoing?: boolean | undefined;
|
|
32
32
|
isRecurring?: boolean | undefined;
|
|
33
33
|
timeCommitment?: "1to2Hours" | "halfDay" | "fullDay" | "multipleDays" | undefined;
|
|
34
34
|
recurringFrequency?: "daily" | "weekly" | "monthly" | "fortnightly" | undefined;
|
|
35
|
-
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
36
35
|
hoursPerSession?: number | undefined;
|
|
36
|
+
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
37
37
|
skillsDeveloped?: string[] | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
type: "extracurricular" | "supercurricular" | "curricular";
|
|
40
40
|
title: string;
|
|
41
41
|
description: string;
|
|
42
42
|
activityType: string;
|
|
43
|
+
startDate?: string | undefined;
|
|
44
|
+
endDate?: string | undefined;
|
|
43
45
|
organisationName?: string | undefined;
|
|
44
46
|
typeDetails?: Record<string, unknown> | undefined;
|
|
45
47
|
locationType?: "hybrid" | "online" | "inPerson" | undefined;
|
|
46
|
-
startDate?: string | undefined;
|
|
47
|
-
endDate?: string | undefined;
|
|
48
48
|
isOngoing?: boolean | undefined;
|
|
49
49
|
isRecurring?: boolean | undefined;
|
|
50
50
|
timeCommitment?: "1to2Hours" | "halfDay" | "fullDay" | "multipleDays" | undefined;
|
|
51
51
|
recurringFrequency?: "daily" | "weekly" | "monthly" | "fortnightly" | undefined;
|
|
52
|
-
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
53
52
|
hoursPerSession?: number | undefined;
|
|
53
|
+
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
54
54
|
skillsDeveloped?: string[] | undefined;
|
|
55
55
|
}>;
|
|
56
56
|
export type StaffActivityInput = z.infer<typeof staffActivity>;
|
|
@@ -119,34 +119,34 @@ export declare const activitiesCallables: {
|
|
|
119
119
|
title: string;
|
|
120
120
|
description: string;
|
|
121
121
|
activityType: string;
|
|
122
|
+
startDate?: string | undefined;
|
|
123
|
+
endDate?: string | undefined;
|
|
122
124
|
organisationName?: string | undefined;
|
|
123
125
|
typeDetails?: Record<string, unknown> | undefined;
|
|
124
126
|
locationType?: "hybrid" | "online" | "inPerson" | undefined;
|
|
125
|
-
startDate?: string | undefined;
|
|
126
|
-
endDate?: string | undefined;
|
|
127
127
|
isOngoing?: boolean | undefined;
|
|
128
128
|
isRecurring?: boolean | undefined;
|
|
129
129
|
timeCommitment?: "1to2Hours" | "halfDay" | "fullDay" | "multipleDays" | undefined;
|
|
130
130
|
recurringFrequency?: "daily" | "weekly" | "monthly" | "fortnightly" | undefined;
|
|
131
|
-
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
132
131
|
hoursPerSession?: number | undefined;
|
|
132
|
+
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
133
133
|
skillsDeveloped?: string[] | undefined;
|
|
134
134
|
}, {
|
|
135
135
|
type: "extracurricular" | "supercurricular" | "curricular";
|
|
136
136
|
title: string;
|
|
137
137
|
description: string;
|
|
138
138
|
activityType: string;
|
|
139
|
+
startDate?: string | undefined;
|
|
140
|
+
endDate?: string | undefined;
|
|
139
141
|
organisationName?: string | undefined;
|
|
140
142
|
typeDetails?: Record<string, unknown> | undefined;
|
|
141
143
|
locationType?: "hybrid" | "online" | "inPerson" | undefined;
|
|
142
|
-
startDate?: string | undefined;
|
|
143
|
-
endDate?: string | undefined;
|
|
144
144
|
isOngoing?: boolean | undefined;
|
|
145
145
|
isRecurring?: boolean | undefined;
|
|
146
146
|
timeCommitment?: "1to2Hours" | "halfDay" | "fullDay" | "multipleDays" | undefined;
|
|
147
147
|
recurringFrequency?: "daily" | "weekly" | "monthly" | "fortnightly" | undefined;
|
|
148
|
-
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
149
148
|
hoursPerSession?: number | undefined;
|
|
149
|
+
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
150
150
|
skillsDeveloped?: string[] | undefined;
|
|
151
151
|
}>;
|
|
152
152
|
/** Set by `useExecuteCallableJob`. */
|
|
@@ -167,17 +167,17 @@ export declare const activitiesCallables: {
|
|
|
167
167
|
title: string;
|
|
168
168
|
description: string;
|
|
169
169
|
activityType: string;
|
|
170
|
+
startDate?: string | undefined;
|
|
171
|
+
endDate?: string | undefined;
|
|
170
172
|
organisationName?: string | undefined;
|
|
171
173
|
typeDetails?: Record<string, unknown> | undefined;
|
|
172
174
|
locationType?: "hybrid" | "online" | "inPerson" | undefined;
|
|
173
|
-
startDate?: string | undefined;
|
|
174
|
-
endDate?: string | undefined;
|
|
175
175
|
isOngoing?: boolean | undefined;
|
|
176
176
|
isRecurring?: boolean | undefined;
|
|
177
177
|
timeCommitment?: "1to2Hours" | "halfDay" | "fullDay" | "multipleDays" | undefined;
|
|
178
178
|
recurringFrequency?: "daily" | "weekly" | "monthly" | "fortnightly" | undefined;
|
|
179
|
-
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
180
179
|
hoursPerSession?: number | undefined;
|
|
180
|
+
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
181
181
|
skillsDeveloped?: string[] | undefined;
|
|
182
182
|
};
|
|
183
183
|
jobId?: string | undefined;
|
|
@@ -197,17 +197,17 @@ export declare const activitiesCallables: {
|
|
|
197
197
|
title: string;
|
|
198
198
|
description: string;
|
|
199
199
|
activityType: string;
|
|
200
|
+
startDate?: string | undefined;
|
|
201
|
+
endDate?: string | undefined;
|
|
200
202
|
organisationName?: string | undefined;
|
|
201
203
|
typeDetails?: Record<string, unknown> | undefined;
|
|
202
204
|
locationType?: "hybrid" | "online" | "inPerson" | undefined;
|
|
203
|
-
startDate?: string | undefined;
|
|
204
|
-
endDate?: string | undefined;
|
|
205
205
|
isOngoing?: boolean | undefined;
|
|
206
206
|
isRecurring?: boolean | undefined;
|
|
207
207
|
timeCommitment?: "1to2Hours" | "halfDay" | "fullDay" | "multipleDays" | undefined;
|
|
208
208
|
recurringFrequency?: "daily" | "weekly" | "monthly" | "fortnightly" | undefined;
|
|
209
|
-
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
210
209
|
hoursPerSession?: number | undefined;
|
|
210
|
+
daysOfWeek?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday")[] | undefined;
|
|
211
211
|
skillsDeveloped?: string[] | undefined;
|
|
212
212
|
};
|
|
213
213
|
jobId?: string | undefined;
|
|
@@ -30,8 +30,8 @@ export declare const eventsCallables: {
|
|
|
30
30
|
"address-line1"?: string | undefined;
|
|
31
31
|
"address-line2"?: string | undefined;
|
|
32
32
|
country?: string | undefined;
|
|
33
|
-
postal_code?: string | undefined;
|
|
34
33
|
locality?: string | undefined;
|
|
34
|
+
postal_code?: string | undefined;
|
|
35
35
|
geohash?: string | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
id: string;
|
|
@@ -39,8 +39,8 @@ export declare const eventsCallables: {
|
|
|
39
39
|
"address-line1"?: string | undefined;
|
|
40
40
|
"address-line2"?: string | undefined;
|
|
41
41
|
country?: string | undefined;
|
|
42
|
-
postal_code?: string | undefined;
|
|
43
42
|
locality?: string | undefined;
|
|
43
|
+
postal_code?: string | undefined;
|
|
44
44
|
geohash?: string | undefined;
|
|
45
45
|
}>, "many">;
|
|
46
46
|
};
|
|
@@ -25,8 +25,8 @@ export declare const misSyncCallables: {
|
|
|
25
25
|
oId: z.ZodString;
|
|
26
26
|
}>, "strip", z.ZodTypeAny, {
|
|
27
27
|
method: "email" | "api";
|
|
28
|
-
oId: string;
|
|
29
28
|
enabled: boolean;
|
|
29
|
+
oId: string;
|
|
30
30
|
allowedSenders: string[];
|
|
31
31
|
studentEmailDomains: string[];
|
|
32
32
|
inactiveStatuses: string[];
|
|
@@ -38,8 +38,8 @@ export declare const misSyncCallables: {
|
|
|
38
38
|
alertEmails: string[];
|
|
39
39
|
}, {
|
|
40
40
|
method: "email" | "api";
|
|
41
|
-
oId: string;
|
|
42
41
|
enabled: boolean;
|
|
42
|
+
oId: string;
|
|
43
43
|
allowedSenders: string[];
|
|
44
44
|
studentEmailDomains: string[];
|
|
45
45
|
inactiveStatuses: string[];
|
|
@@ -48,9 +48,9 @@ export declare const outreachCallables: {
|
|
|
48
48
|
urn?: string | undefined;
|
|
49
49
|
}[];
|
|
50
50
|
added: number;
|
|
51
|
-
noEmail: number;
|
|
52
51
|
updated: number;
|
|
53
52
|
keptStatus: number;
|
|
53
|
+
noEmail: number;
|
|
54
54
|
invalidEmail: number;
|
|
55
55
|
duplicateEmailInUpload: number;
|
|
56
56
|
groups?: Record<string, number> | undefined;
|
|
@@ -63,9 +63,9 @@ export declare const outreachCallables: {
|
|
|
63
63
|
urn?: string | undefined;
|
|
64
64
|
}[];
|
|
65
65
|
added: number;
|
|
66
|
-
noEmail: number;
|
|
67
66
|
updated: number;
|
|
68
67
|
keptStatus: number;
|
|
68
|
+
noEmail: number;
|
|
69
69
|
invalidEmail: number;
|
|
70
70
|
duplicateEmailInUpload: number;
|
|
71
71
|
groups?: Record<string, number> | undefined;
|
|
@@ -170,8 +170,8 @@ export declare const outreachCallables: {
|
|
|
170
170
|
email: string;
|
|
171
171
|
organisation: string;
|
|
172
172
|
assignee: string;
|
|
173
|
-
wex?: boolean | undefined;
|
|
174
173
|
events?: boolean | undefined;
|
|
174
|
+
wex?: boolean | undefined;
|
|
175
175
|
docCheck?: boolean | undefined;
|
|
176
176
|
forename?: string | undefined;
|
|
177
177
|
surname?: string | undefined;
|
|
@@ -181,8 +181,8 @@ export declare const outreachCallables: {
|
|
|
181
181
|
email: string;
|
|
182
182
|
organisation: string;
|
|
183
183
|
assignee: string;
|
|
184
|
-
wex?: boolean | undefined;
|
|
185
184
|
events?: boolean | undefined;
|
|
185
|
+
wex?: boolean | undefined;
|
|
186
186
|
docCheck?: boolean | undefined;
|
|
187
187
|
forename?: string | undefined;
|
|
188
188
|
surname?: string | undefined;
|
|
@@ -194,8 +194,8 @@ export declare const outreachCallables: {
|
|
|
194
194
|
email: string;
|
|
195
195
|
organisation: string;
|
|
196
196
|
assignee: string;
|
|
197
|
-
wex?: boolean | undefined;
|
|
198
197
|
events?: boolean | undefined;
|
|
198
|
+
wex?: boolean | undefined;
|
|
199
199
|
docCheck?: boolean | undefined;
|
|
200
200
|
forename?: string | undefined;
|
|
201
201
|
surname?: string | undefined;
|
|
@@ -208,8 +208,8 @@ export declare const outreachCallables: {
|
|
|
208
208
|
email: string;
|
|
209
209
|
organisation: string;
|
|
210
210
|
assignee: string;
|
|
211
|
-
wex?: boolean | undefined;
|
|
212
211
|
events?: boolean | undefined;
|
|
212
|
+
wex?: boolean | undefined;
|
|
213
213
|
docCheck?: boolean | undefined;
|
|
214
214
|
forename?: string | undefined;
|
|
215
215
|
surname?: string | undefined;
|