@digiteers/uloba3-sdk 4.3.4 → 4.3.6
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/dist/api/assistants.d.ts.map +1 -1
- package/dist/api/contracts.d.ts.map +1 -1
- package/dist/api/support.d.ts +1 -1
- package/dist/api/support.d.ts.map +1 -1
- package/dist/api/support.js.map +1 -1
- package/dist/api/users.d.ts +0 -13
- package/dist/api/users.d.ts.map +1 -1
- package/dist/api/users.js +1 -10
- package/dist/api/users.js.map +1 -1
- package/dist/constants/user.d.ts +25 -0
- package/dist/constants/user.d.ts.map +1 -0
- package/dist/constants/user.js +25 -0
- package/dist/constants/user.js.map +1 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +196 -30
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -238,6 +238,88 @@ export interface paths {
|
|
|
238
238
|
patch?: never;
|
|
239
239
|
trace?: never;
|
|
240
240
|
};
|
|
241
|
+
'/api/public/stats/platform': {
|
|
242
|
+
parameters: {
|
|
243
|
+
query?: never;
|
|
244
|
+
header?: never;
|
|
245
|
+
path?: never;
|
|
246
|
+
cookie?: never;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* Get platform landing page statistics
|
|
250
|
+
* @description Public endpoint providing aggregated platform statistics for landing pages. Includes active jobs count, total assistants, total users, and growth metrics. Rate limited to 100 requests per 15 minutes per IP address. Cached for 5 minutes.
|
|
251
|
+
*/
|
|
252
|
+
get: {
|
|
253
|
+
parameters: {
|
|
254
|
+
query?: never;
|
|
255
|
+
header?: never;
|
|
256
|
+
path?: never;
|
|
257
|
+
cookie?: never;
|
|
258
|
+
};
|
|
259
|
+
requestBody?: never;
|
|
260
|
+
responses: {
|
|
261
|
+
/** @description Default Response */
|
|
262
|
+
200: {
|
|
263
|
+
headers: {
|
|
264
|
+
[name: string]: unknown;
|
|
265
|
+
};
|
|
266
|
+
content: {
|
|
267
|
+
'application/json': {
|
|
268
|
+
/** @description Number of published jobs that are not expired */
|
|
269
|
+
active_jobs_count: number;
|
|
270
|
+
/** @description Total number of assistants (public + private profiles) */
|
|
271
|
+
total_assistants_count: number;
|
|
272
|
+
/** @description Total number of active users */
|
|
273
|
+
total_users_count: number;
|
|
274
|
+
/** @description Number of new users registered in the last 30 days */
|
|
275
|
+
new_users_last_30_days: number;
|
|
276
|
+
/** @description Number of users who submitted applications in the last 30 days */
|
|
277
|
+
active_job_seekers_last_30_days: number;
|
|
278
|
+
/**
|
|
279
|
+
* Format: date-time
|
|
280
|
+
* @description Timestamp when the statistics were calculated
|
|
281
|
+
*/
|
|
282
|
+
refreshed_at: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
/** @description Default Response */
|
|
287
|
+
429: {
|
|
288
|
+
headers: {
|
|
289
|
+
[name: string]: unknown;
|
|
290
|
+
};
|
|
291
|
+
content: {
|
|
292
|
+
'application/json': {
|
|
293
|
+
/** @enum {string} */
|
|
294
|
+
error: 'too_many_requests';
|
|
295
|
+
message: string;
|
|
296
|
+
/** @description Seconds until rate limit resets */
|
|
297
|
+
retryAfter: number;
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
/** @description Default Response */
|
|
302
|
+
500: {
|
|
303
|
+
headers: {
|
|
304
|
+
[name: string]: unknown;
|
|
305
|
+
};
|
|
306
|
+
content: {
|
|
307
|
+
'application/json': {
|
|
308
|
+
error: string;
|
|
309
|
+
message: string;
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
put?: never;
|
|
316
|
+
post?: never;
|
|
317
|
+
delete?: never;
|
|
318
|
+
options?: never;
|
|
319
|
+
head?: never;
|
|
320
|
+
patch?: never;
|
|
321
|
+
trace?: never;
|
|
322
|
+
};
|
|
241
323
|
'/api/auth/auth0/callback': {
|
|
242
324
|
parameters: {
|
|
243
325
|
query?: never;
|
|
@@ -2169,38 +2251,49 @@ export interface paths {
|
|
|
2169
2251
|
'application/json': {
|
|
2170
2252
|
/** Format: uuid */
|
|
2171
2253
|
id: string;
|
|
2172
|
-
uloba_id: string | null;
|
|
2173
|
-
uloba_immutable_id: string | null;
|
|
2174
|
-
auth0_id: string | null;
|
|
2175
2254
|
/** Format: email */
|
|
2176
2255
|
email: string;
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2256
|
+
uloba_id?: string | null;
|
|
2257
|
+
uloba_immutable_id?: string | null;
|
|
2258
|
+
auth0_id?: string | null;
|
|
2259
|
+
email_verified?: boolean | null;
|
|
2260
|
+
phone?: string | null;
|
|
2261
|
+
full_name?: string | null;
|
|
2262
|
+
given_name?: string | null;
|
|
2263
|
+
family_name?: string | null;
|
|
2264
|
+
picture?: string | null;
|
|
2265
|
+
auth0_metadata?: unknown | null;
|
|
2266
|
+
roles?: string[] | null;
|
|
2267
|
+
status?: string | null;
|
|
2268
|
+
status_changed_at?: string | null;
|
|
2269
|
+
deactivated_at?: string | null;
|
|
2270
|
+
deactivated_by?: string | null;
|
|
2271
|
+
deactivation_type?: string | null;
|
|
2272
|
+
deactivation_reason?: string | null;
|
|
2273
|
+
scheduled_deletion_at?: string | null;
|
|
2274
|
+
created_at?: string | null;
|
|
2275
|
+
updated_at?: string | null;
|
|
2276
|
+
last_login?: string | null;
|
|
2277
|
+
account_id?: string | null;
|
|
2278
|
+
account_owner_id?: string | null;
|
|
2279
|
+
account_status?: string | null;
|
|
2280
|
+
account_created_at?: string | null;
|
|
2281
|
+
account_updated_at?: string | null;
|
|
2282
|
+
gdpr_consent?: unknown | null;
|
|
2283
|
+
language?: string | null;
|
|
2284
|
+
timezone?: string | null;
|
|
2285
|
+
theme?: string | null;
|
|
2286
|
+
email_notifications?: boolean | null;
|
|
2287
|
+
sms_notifications?: boolean | null;
|
|
2288
|
+
push_notifications?: boolean | null;
|
|
2289
|
+
settings?: unknown | null;
|
|
2290
|
+
last_updated?: string | null;
|
|
2291
|
+
display_name?: string | null;
|
|
2292
|
+
is_assistant?: boolean | null;
|
|
2293
|
+
is_job_seeker?: boolean | null;
|
|
2294
|
+
is_employer?: boolean | null;
|
|
2295
|
+
is_admin?: boolean | null;
|
|
2296
|
+
is_support?: boolean | null;
|
|
2204
2297
|
};
|
|
2205
2298
|
};
|
|
2206
2299
|
};
|
|
@@ -2327,6 +2420,79 @@ export interface paths {
|
|
|
2327
2420
|
patch?: never;
|
|
2328
2421
|
trace?: never;
|
|
2329
2422
|
};
|
|
2423
|
+
'/api/users/me/deactivate': {
|
|
2424
|
+
parameters: {
|
|
2425
|
+
query?: never;
|
|
2426
|
+
header?: never;
|
|
2427
|
+
path?: never;
|
|
2428
|
+
cookie?: never;
|
|
2429
|
+
};
|
|
2430
|
+
get?: never;
|
|
2431
|
+
put?: never;
|
|
2432
|
+
/**
|
|
2433
|
+
* Deactivate own account
|
|
2434
|
+
* @description User deactivates their own account immediately (no grace period)
|
|
2435
|
+
*/
|
|
2436
|
+
post: {
|
|
2437
|
+
parameters: {
|
|
2438
|
+
query?: never;
|
|
2439
|
+
header?: never;
|
|
2440
|
+
path?: never;
|
|
2441
|
+
cookie?: never;
|
|
2442
|
+
};
|
|
2443
|
+
requestBody: {
|
|
2444
|
+
content: {
|
|
2445
|
+
'application/json': {
|
|
2446
|
+
confirmation: string;
|
|
2447
|
+
feedback?: string;
|
|
2448
|
+
};
|
|
2449
|
+
};
|
|
2450
|
+
};
|
|
2451
|
+
responses: {
|
|
2452
|
+
/** @description Default Response */
|
|
2453
|
+
200: {
|
|
2454
|
+
headers: {
|
|
2455
|
+
[name: string]: unknown;
|
|
2456
|
+
};
|
|
2457
|
+
content: {
|
|
2458
|
+
'application/json': {
|
|
2459
|
+
success: boolean;
|
|
2460
|
+
message: string;
|
|
2461
|
+
jobs_unpublished: number;
|
|
2462
|
+
assistants_hidden: number;
|
|
2463
|
+
};
|
|
2464
|
+
};
|
|
2465
|
+
};
|
|
2466
|
+
/** @description Default Response */
|
|
2467
|
+
400: {
|
|
2468
|
+
headers: {
|
|
2469
|
+
[name: string]: unknown;
|
|
2470
|
+
};
|
|
2471
|
+
content: {
|
|
2472
|
+
'application/json': {
|
|
2473
|
+
error: string;
|
|
2474
|
+
};
|
|
2475
|
+
};
|
|
2476
|
+
};
|
|
2477
|
+
/** @description Default Response */
|
|
2478
|
+
401: {
|
|
2479
|
+
headers: {
|
|
2480
|
+
[name: string]: unknown;
|
|
2481
|
+
};
|
|
2482
|
+
content: {
|
|
2483
|
+
'application/json': {
|
|
2484
|
+
error: string;
|
|
2485
|
+
};
|
|
2486
|
+
};
|
|
2487
|
+
};
|
|
2488
|
+
};
|
|
2489
|
+
};
|
|
2490
|
+
delete?: never;
|
|
2491
|
+
options?: never;
|
|
2492
|
+
head?: never;
|
|
2493
|
+
patch?: never;
|
|
2494
|
+
trace?: never;
|
|
2495
|
+
};
|
|
2330
2496
|
'/api/users/{id}': {
|
|
2331
2497
|
parameters: {
|
|
2332
2498
|
query?: never;
|