@adaptware/eagles-db 0.5.39 → 0.5.40
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/client/edge.js +231 -5
- package/client/index-browser.js +228 -2
- package/client/index.d.ts +107666 -86251
- package/client/index.js +231 -5
- package/client/package.json +1 -1
- package/client/schema.prisma +457 -96
- package/client/wasm.js +231 -5
- package/package.json +1 -1
- package/prisma/schema/jobApplicationFields.prisma +19 -15
- package/prisma/schema/jobApplicationResponse.prisma +7 -5
package/client/index-browser.js
CHANGED
|
@@ -1269,7 +1269,8 @@ exports.Prisma.JobApplicationFieldScalarFieldEnum = {
|
|
|
1269
1269
|
created_by: 'created_by',
|
|
1270
1270
|
updated_by: 'updated_by',
|
|
1271
1271
|
created_at: 'created_at',
|
|
1272
|
-
updated_at: 'updated_at'
|
|
1272
|
+
updated_at: 'updated_at',
|
|
1273
|
+
order_no: 'order_no'
|
|
1273
1274
|
};
|
|
1274
1275
|
|
|
1275
1276
|
exports.Prisma.JobApplicationResponseScalarFieldEnum = {
|
|
@@ -1290,7 +1291,8 @@ exports.Prisma.JobApplicationResponseScalarFieldEnum = {
|
|
|
1290
1291
|
updated_at: 'updated_at',
|
|
1291
1292
|
created_by: 'created_by',
|
|
1292
1293
|
updated_by: 'updated_by',
|
|
1293
|
-
is_active: 'is_active'
|
|
1294
|
+
is_active: 'is_active',
|
|
1295
|
+
order_no: 'order_no'
|
|
1294
1296
|
};
|
|
1295
1297
|
|
|
1296
1298
|
exports.Prisma.JobApplicationTemplateScalarFieldEnum = {
|
|
@@ -1433,6 +1435,159 @@ exports.Prisma.JobRoundAnalyticsDailyScalarFieldEnum = {
|
|
|
1433
1435
|
avg_completion_minutes: 'avg_completion_minutes'
|
|
1434
1436
|
};
|
|
1435
1437
|
|
|
1438
|
+
exports.Prisma.AiCostLedgerEntryScalarFieldEnum = {
|
|
1439
|
+
id: 'id',
|
|
1440
|
+
organisation_id: 'organisation_id',
|
|
1441
|
+
purchased_hiring_unit_id: 'purchased_hiring_unit_id',
|
|
1442
|
+
workflow_name: 'workflow_name',
|
|
1443
|
+
direction: 'direction',
|
|
1444
|
+
amount: 'amount',
|
|
1445
|
+
reason: 'reason',
|
|
1446
|
+
occurred_at: 'occurred_at',
|
|
1447
|
+
source_type: 'source_type',
|
|
1448
|
+
source_id: 'source_id',
|
|
1449
|
+
description: 'description',
|
|
1450
|
+
idempotency_key: 'idempotency_key',
|
|
1451
|
+
created_at: 'created_at',
|
|
1452
|
+
updated_at: 'updated_at',
|
|
1453
|
+
created_by: 'created_by',
|
|
1454
|
+
updated_by: 'updated_by',
|
|
1455
|
+
is_active: 'is_active'
|
|
1456
|
+
};
|
|
1457
|
+
|
|
1458
|
+
exports.Prisma.PurchasedHiringUnitAssignmentEventScalarFieldEnum = {
|
|
1459
|
+
id: 'id',
|
|
1460
|
+
purchased_hiring_unit_id: 'purchased_hiring_unit_id',
|
|
1461
|
+
event_kind: 'event_kind',
|
|
1462
|
+
previous_department_id: 'previous_department_id',
|
|
1463
|
+
new_department_id: 'new_department_id',
|
|
1464
|
+
previous_job_description_id: 'previous_job_description_id',
|
|
1465
|
+
new_job_description_id: 'new_job_description_id',
|
|
1466
|
+
effective_at: 'effective_at',
|
|
1467
|
+
created_by: 'created_by'
|
|
1468
|
+
};
|
|
1469
|
+
|
|
1470
|
+
exports.Prisma.LicensePackageScalarFieldEnum = {
|
|
1471
|
+
id: 'id',
|
|
1472
|
+
code: 'code',
|
|
1473
|
+
version: 'version',
|
|
1474
|
+
name: 'name',
|
|
1475
|
+
description: 'description',
|
|
1476
|
+
price: 'price',
|
|
1477
|
+
cost_price: 'cost_price',
|
|
1478
|
+
currency: 'currency',
|
|
1479
|
+
status: 'status',
|
|
1480
|
+
units_per_purchase: 'units_per_purchase',
|
|
1481
|
+
interview_ai_assisted_hours: 'interview_ai_assisted_hours',
|
|
1482
|
+
interview_full_ai_hours: 'interview_full_ai_hours',
|
|
1483
|
+
interview_non_ai_hours: 'interview_non_ai_hours',
|
|
1484
|
+
assignment_count: 'assignment_count',
|
|
1485
|
+
test_count: 'test_count',
|
|
1486
|
+
resume_count: 'resume_count',
|
|
1487
|
+
credits: 'credits',
|
|
1488
|
+
created_at: 'created_at',
|
|
1489
|
+
updated_at: 'updated_at',
|
|
1490
|
+
created_by: 'created_by',
|
|
1491
|
+
updated_by: 'updated_by',
|
|
1492
|
+
is_active: 'is_active'
|
|
1493
|
+
};
|
|
1494
|
+
|
|
1495
|
+
exports.Prisma.LicensePackageOrganisationScalarFieldEnum = {
|
|
1496
|
+
id: 'id',
|
|
1497
|
+
license_package_id: 'license_package_id',
|
|
1498
|
+
organisation_id: 'organisation_id',
|
|
1499
|
+
created_at: 'created_at',
|
|
1500
|
+
updated_at: 'updated_at',
|
|
1501
|
+
created_by: 'created_by',
|
|
1502
|
+
updated_by: 'updated_by',
|
|
1503
|
+
is_active: 'is_active'
|
|
1504
|
+
};
|
|
1505
|
+
|
|
1506
|
+
exports.Prisma.LicensingLedgerEntryScalarFieldEnum = {
|
|
1507
|
+
id: 'id',
|
|
1508
|
+
organisation_id: 'organisation_id',
|
|
1509
|
+
purchased_hiring_unit_id: 'purchased_hiring_unit_id',
|
|
1510
|
+
entitlement_type: 'entitlement_type',
|
|
1511
|
+
direction: 'direction',
|
|
1512
|
+
amount: 'amount',
|
|
1513
|
+
reason: 'reason',
|
|
1514
|
+
occurred_at: 'occurred_at',
|
|
1515
|
+
source_type: 'source_type',
|
|
1516
|
+
source_id: 'source_id',
|
|
1517
|
+
description: 'description',
|
|
1518
|
+
idempotency_key: 'idempotency_key',
|
|
1519
|
+
created_at: 'created_at',
|
|
1520
|
+
updated_at: 'updated_at',
|
|
1521
|
+
created_by: 'created_by',
|
|
1522
|
+
updated_by: 'updated_by',
|
|
1523
|
+
is_active: 'is_active'
|
|
1524
|
+
};
|
|
1525
|
+
|
|
1526
|
+
exports.Prisma.PurchasedLicensePackageScalarFieldEnum = {
|
|
1527
|
+
id: 'id',
|
|
1528
|
+
organisation_id: 'organisation_id',
|
|
1529
|
+
license_package_id: 'license_package_id',
|
|
1530
|
+
package_code: 'package_code',
|
|
1531
|
+
package_version: 'package_version',
|
|
1532
|
+
package_name: 'package_name',
|
|
1533
|
+
price: 'price',
|
|
1534
|
+
currency: 'currency',
|
|
1535
|
+
units_per_purchase: 'units_per_purchase',
|
|
1536
|
+
package_quantity: 'package_quantity',
|
|
1537
|
+
purchased_at: 'purchased_at',
|
|
1538
|
+
status: 'status',
|
|
1539
|
+
created_at: 'created_at',
|
|
1540
|
+
updated_at: 'updated_at',
|
|
1541
|
+
created_by: 'created_by',
|
|
1542
|
+
updated_by: 'updated_by',
|
|
1543
|
+
is_active: 'is_active'
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
exports.Prisma.PurchasedHiringUnitScalarFieldEnum = {
|
|
1547
|
+
id: 'id',
|
|
1548
|
+
organisation_id: 'organisation_id',
|
|
1549
|
+
purchased_license_package_id: 'purchased_license_package_id',
|
|
1550
|
+
status: 'status',
|
|
1551
|
+
department_id: 'department_id',
|
|
1552
|
+
first_assigned_at: 'first_assigned_at',
|
|
1553
|
+
expiry_at: 'expiry_at',
|
|
1554
|
+
job_description_id: 'job_description_id',
|
|
1555
|
+
created_at: 'created_at',
|
|
1556
|
+
updated_at: 'updated_at',
|
|
1557
|
+
created_by: 'created_by',
|
|
1558
|
+
updated_by: 'updated_by',
|
|
1559
|
+
is_active: 'is_active'
|
|
1560
|
+
};
|
|
1561
|
+
|
|
1562
|
+
exports.Prisma.PurchasedTopUpScalarFieldEnum = {
|
|
1563
|
+
id: 'id',
|
|
1564
|
+
organisation_id: 'organisation_id',
|
|
1565
|
+
purchased_at: 'purchased_at',
|
|
1566
|
+
status: 'status',
|
|
1567
|
+
total_price: 'total_price',
|
|
1568
|
+
currency: 'currency',
|
|
1569
|
+
description: 'description',
|
|
1570
|
+
interview_ai_assisted_hours_purchased: 'interview_ai_assisted_hours_purchased',
|
|
1571
|
+
interview_full_ai_hours_purchased: 'interview_full_ai_hours_purchased',
|
|
1572
|
+
interview_non_ai_hours_purchased: 'interview_non_ai_hours_purchased',
|
|
1573
|
+
assignment_count_purchased: 'assignment_count_purchased',
|
|
1574
|
+
test_count_purchased: 'test_count_purchased',
|
|
1575
|
+
resume_count_purchased: 'resume_count_purchased',
|
|
1576
|
+
credits_purchased: 'credits_purchased',
|
|
1577
|
+
interview_ai_assisted_hours_remaining: 'interview_ai_assisted_hours_remaining',
|
|
1578
|
+
interview_full_ai_hours_remaining: 'interview_full_ai_hours_remaining',
|
|
1579
|
+
interview_non_ai_hours_remaining: 'interview_non_ai_hours_remaining',
|
|
1580
|
+
assignment_count_remaining: 'assignment_count_remaining',
|
|
1581
|
+
test_count_remaining: 'test_count_remaining',
|
|
1582
|
+
resume_count_remaining: 'resume_count_remaining',
|
|
1583
|
+
credits_remaining: 'credits_remaining',
|
|
1584
|
+
created_at: 'created_at',
|
|
1585
|
+
updated_at: 'updated_at',
|
|
1586
|
+
created_by: 'created_by',
|
|
1587
|
+
updated_by: 'updated_by',
|
|
1588
|
+
is_active: 'is_active'
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1436
1591
|
exports.Prisma.LiveAnalysisScalarFieldEnum = {
|
|
1437
1592
|
id: 'id',
|
|
1438
1593
|
interview_id: 'interview_id',
|
|
@@ -2598,6 +2753,69 @@ exports.JobProfileStatus = exports.$Enums.JobProfileStatus = {
|
|
|
2598
2753
|
COMPLETE: 'COMPLETE'
|
|
2599
2754
|
};
|
|
2600
2755
|
|
|
2756
|
+
exports.LicensingLedgerDirection = exports.$Enums.LicensingLedgerDirection = {
|
|
2757
|
+
CREDIT: 'CREDIT',
|
|
2758
|
+
DEBIT: 'DEBIT'
|
|
2759
|
+
};
|
|
2760
|
+
|
|
2761
|
+
exports.AiCostLedgerReason = exports.$Enums.AiCostLedgerReason = {
|
|
2762
|
+
PURCHASE: 'PURCHASE',
|
|
2763
|
+
USAGE: 'USAGE',
|
|
2764
|
+
ADJUSTMENT: 'ADJUSTMENT',
|
|
2765
|
+
REFUND: 'REFUND'
|
|
2766
|
+
};
|
|
2767
|
+
|
|
2768
|
+
exports.PurchasedHiringUnitAssignmentEventKind = exports.$Enums.PurchasedHiringUnitAssignmentEventKind = {
|
|
2769
|
+
DEPARTMENT_ASSIGNED: 'DEPARTMENT_ASSIGNED',
|
|
2770
|
+
DEPARTMENT_UNASSIGNED: 'DEPARTMENT_UNASSIGNED',
|
|
2771
|
+
JOB_LINKED: 'JOB_LINKED',
|
|
2772
|
+
JOB_UNLINKED: 'JOB_UNLINKED'
|
|
2773
|
+
};
|
|
2774
|
+
|
|
2775
|
+
exports.LicensePackageStatus = exports.$Enums.LicensePackageStatus = {
|
|
2776
|
+
DRAFT: 'DRAFT',
|
|
2777
|
+
ACTIVE: 'ACTIVE',
|
|
2778
|
+
ARCHIVED: 'ARCHIVED'
|
|
2779
|
+
};
|
|
2780
|
+
|
|
2781
|
+
exports.LicensingLedgerEntitlementType = exports.$Enums.LicensingLedgerEntitlementType = {
|
|
2782
|
+
INTERVIEW_AI_ASSISTED_HOURS: 'INTERVIEW_AI_ASSISTED_HOURS',
|
|
2783
|
+
INTERVIEW_FULL_AI_HOURS: 'INTERVIEW_FULL_AI_HOURS',
|
|
2784
|
+
INTERVIEW_NON_AI_HOURS: 'INTERVIEW_NON_AI_HOURS',
|
|
2785
|
+
ASSIGNMENT_COUNT: 'ASSIGNMENT_COUNT',
|
|
2786
|
+
TEST_COUNT: 'TEST_COUNT',
|
|
2787
|
+
RESUME_COUNT: 'RESUME_COUNT',
|
|
2788
|
+
CREDITS: 'CREDITS'
|
|
2789
|
+
};
|
|
2790
|
+
|
|
2791
|
+
exports.LicensingLedgerReason = exports.$Enums.LicensingLedgerReason = {
|
|
2792
|
+
PURCHASE: 'PURCHASE',
|
|
2793
|
+
TOP_UP: 'TOP_UP',
|
|
2794
|
+
USAGE: 'USAGE',
|
|
2795
|
+
ADJUSTMENT: 'ADJUSTMENT',
|
|
2796
|
+
REFUND: 'REFUND',
|
|
2797
|
+
EXPIRY: 'EXPIRY'
|
|
2798
|
+
};
|
|
2799
|
+
|
|
2800
|
+
exports.PurchasedLicensePackageStatus = exports.$Enums.PurchasedLicensePackageStatus = {
|
|
2801
|
+
ACTIVE: 'ACTIVE',
|
|
2802
|
+
EXPIRED: 'EXPIRED',
|
|
2803
|
+
CANCELLED: 'CANCELLED'
|
|
2804
|
+
};
|
|
2805
|
+
|
|
2806
|
+
exports.PurchasedHiringUnitStatus = exports.$Enums.PurchasedHiringUnitStatus = {
|
|
2807
|
+
AVAILABLE: 'AVAILABLE',
|
|
2808
|
+
ASSIGNED: 'ASSIGNED',
|
|
2809
|
+
ACTIVE: 'ACTIVE',
|
|
2810
|
+
EXPIRED: 'EXPIRED'
|
|
2811
|
+
};
|
|
2812
|
+
|
|
2813
|
+
exports.PurchasedTopUpStatus = exports.$Enums.PurchasedTopUpStatus = {
|
|
2814
|
+
ACTIVE: 'ACTIVE',
|
|
2815
|
+
DEPLETED: 'DEPLETED',
|
|
2816
|
+
CANCELLED: 'CANCELLED'
|
|
2817
|
+
};
|
|
2818
|
+
|
|
2601
2819
|
exports.OfferLetterTemplateScope = exports.$Enums.OfferLetterTemplateScope = {
|
|
2602
2820
|
ORGANIZATION: 'ORGANIZATION',
|
|
2603
2821
|
JOB: 'JOB'
|
|
@@ -2766,6 +2984,14 @@ exports.Prisma.ModelName = {
|
|
|
2766
2984
|
JobProfile: 'JobProfile',
|
|
2767
2985
|
JobRoundAnalytics: 'JobRoundAnalytics',
|
|
2768
2986
|
JobRoundAnalyticsDaily: 'JobRoundAnalyticsDaily',
|
|
2987
|
+
AiCostLedgerEntry: 'AiCostLedgerEntry',
|
|
2988
|
+
PurchasedHiringUnitAssignmentEvent: 'PurchasedHiringUnitAssignmentEvent',
|
|
2989
|
+
LicensePackage: 'LicensePackage',
|
|
2990
|
+
LicensePackageOrganisation: 'LicensePackageOrganisation',
|
|
2991
|
+
LicensingLedgerEntry: 'LicensingLedgerEntry',
|
|
2992
|
+
PurchasedLicensePackage: 'PurchasedLicensePackage',
|
|
2993
|
+
PurchasedHiringUnit: 'PurchasedHiringUnit',
|
|
2994
|
+
PurchasedTopUp: 'PurchasedTopUp',
|
|
2769
2995
|
LiveAnalysis: 'LiveAnalysis',
|
|
2770
2996
|
Message: 'Message',
|
|
2771
2997
|
Notes: 'Notes',
|