@adaptware/eagles-db 0.5.33 → 0.5.35
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 +310 -8
- package/client/index-browser.js +304 -1
- package/client/index.d.ts +73435 -47033
- package/client/index.js +310 -8
- package/client/libquery_engine-darwin.dylib.node +0 -0
- package/client/package.json +1 -1
- package/client/schema.prisma +547 -76
- package/client/wasm.js +310 -8
- package/package.json +1 -1
- package/prisma/.DS_Store +0 -0
- package/prisma/migrations/20260519120000_migrate_shortlisted_to_selected/migration.sql +2 -0
- package/prisma/schema/.DS_Store +0 -0
- package/prisma/schema/department.prisma +3 -2
- package/prisma/schema/integration.prisma +1 -0
- package/prisma/schema/jobDescription.prisma +1 -0
- package/prisma/schema/licensing/aiCostLedger.prisma +34 -0
- package/prisma/schema/licensing/assignmentHistory.prisma +19 -0
- package/prisma/schema/licensing/licensePackageCatalog.prisma +62 -0
- package/prisma/schema/licensing/licensingEnums.prisma +80 -0
- package/prisma/schema/licensing/licensingLedger.prisma +32 -0
- package/prisma/schema/licensing/purchasedLicense.prisma +74 -0
- package/prisma/schema/licensing/purchasedTopUp.prisma +39 -0
- package/prisma/schema/migrations/20260519120000_add_analytics_schema/migration.sql +84 -0
- package/prisma/schema/migrations/20260625120000_add_interviewer_analytics/migration.sql +26 -0
- package/prisma/schema/migrations/20260629120000_add_user_lifecycle_activity_events/migration.sql +13 -0
- package/prisma/schema/migrations/20260629140000_drop_organisation_org_code/migration.sql +2 -0
- package/prisma/schema/migrations/20260629160000_employee_codes_dual_interviewer_analytics/migration.sql +87 -0
- package/prisma/schema/migrations/20260630120000_add_application_sources/migration.sql +38 -0
- package/prisma/schema/migrations/20260701120000_add_source_effectiveness_analytics/migration.sql +40 -0
- package/prisma/schema/migrations/20260702120000_add_analytics_daily_tables/migration.sql +232 -0
- package/prisma/schema/migrations/20260716120000_evaluation_category_four_values/migration.sql +204 -0
- package/prisma/schema/migrations/20260716130000_application_withdrawn_analytics/migration.sql +31 -0
- package/prisma/schema/migrations/20260804120000_contact_us_optional_website_subject/migration.sql +3 -0
- package/prisma/schema/migrations/20260810120000_add_licensing_schema/migration.sql +237 -0
- package/prisma/schema/migrations/20260814153000_add_licensing_ledger/migration.sql +236 -0
- package/prisma/schema/migrations/20260828120000_license_package_orgs_cost_price_ai_cost_ledger/migration.sql +74 -0
- package/prisma/schema/migrations/20260831120000_ai_cost_ledger_purchase_reason/migration.sql +2 -0
- package/prisma/schema/migrations/20260831140000_ai_cost_ledger_nullable_hiring_unit/migration.sql +3 -0
- package/prisma/schema/organisation.prisma +66 -58
- package/prisma/schema/payment/billingTransaction.prisma +83 -0
- package/prisma/schema/payment/paymentWebhookEvent.prisma +28 -0
- package/prisma/schema/schema.prisma +1 -1
- package/prisma/schema/migrations/20260522120000_ongoing_evaluation_record_kind/migration.sql +0 -25
- package/prisma/schema/migrations/20260523120000_replace_record_kind_with_is_committed/migration.sql +0 -24
- package/prisma/schema/migrations/20260528120000_drop_job_description_recommendation_config/migration.sql +0 -2
- package/prisma/schema/migrations/20260710120000_add_resume_rendered_export_fields/migration.sql +0 -9
- package/prisma/schema/migrations/20260714120000_add_job_description_display_html_document/migration.sql +0 -8
- package/prisma/schema/migrations/20260716120000_add_offer_letters/migration.sql +0 -183
- package/prisma/schema/migrations/20260716140000_offer_schema_refinements/migration.sql +0 -13
- package/prisma/schema/migrations/20260716160000_offer_schema_hardening/migration.sql +0 -95
- package/prisma/schema/migrations/20260716180000_offer_letter_template_config/migration.sql +0 -2
- package/prisma/schema/migrations/20260716190000_add_evaluation_focus_areas/migration.sql +0 -6
- package/prisma/schema/migrations/20260717120000_offer_workflow_approval/migration.sql +0 -30
- package/prisma/schema/migrations/20260720120000_offer_letter_template_is_draft/migration.sql +0 -5
- package/prisma/schema/migrations/20260720140000_offer_status_split/migration.sql +0 -51
- package/prisma/schema/migrations/20260720140001_offer_status_split_backfill/migration.sql +0 -37
- package/prisma/schema/migrations/20260722120000_offer_draft_edited_html/migration.sql +0 -13
- package/prisma/schema/migrations/20260723150000_offer_withdraw_actor_no_show_reason/migration.sql +0 -10
- package/prisma/schema/migrations/20260724120000_open_job_offer_accepted_declined_counts/migration.sql +0 -7
- package/prisma/schema/migrations/20260811120000_add_integration_provider_razorpay/migration.sql +0 -6
- package/prisma/schema/migrations/20260812120000_add_billing_transactions/migration.sql +0 -49
- package/prisma/schema/migrations/20260812130000_drop_billing_transaction_gst_snapshots/migration.sql +0 -3
- package/prisma/schema/migrations/20260812180000_billing_transaction_invoice_number/migration.sql +0 -5
- package/prisma/schema/migrations/20260813120000_payment_webhooks_gst_refunds/migration.sql +0 -79
- package/prisma/schema/migrations/20260813140000_platform_gst_profiles/migration.sql +0 -49
- package/prisma/schema/migrations/20260813150000_rename_gst_profiles/migration.sql +0 -53
- package/prisma/schema/migrations/20260813160000_remove_gst_billing/migration.sql +0 -16
- package/prisma/schema/migrations/20260813170000_billing_licensing_unrecoverable/migration.sql +0 -2
- package/prisma/schema/migrations/20260813180000_billing_transaction_payment_method/migration.sql +0 -2
- package/prisma/schema/migrations/20260814090000_billing_transaction_purchaser_email/migration.sql +0 -2
- package/prisma/schema/migrations/20260816100000_billing_product_organisations/migration.sql +0 -35
- package/prisma/schema/migrations/20260816120000_merge_billing_product_organisations/migration.sql +0 -25
- package/prisma/schema/migrations/20260817120000_billing_payment_mismatch/migration.sql +0 -7
- package/prisma/schema/migrations/20260819120000_billing_product_prices/migration.sql +0 -62
- package/prisma/schema/migrations/20260819140000_billing_exchange_rates/migration.sql +0 -25
- package/prisma/schema/migrations/20260820120000_billing_transaction_failure_category/migration.sql +0 -31
- package/prisma/schema/migrations/20260820130000_backfill_billing_transaction_failure_details/migration.sql +0 -23
- package/prisma/schema/migrations/20260820140000_drop_billing_product_price_overrides/migration.sql +0 -2
- package/prisma/schema/migrations/20260821120000_drop_billing_product_and_mock_licensing/migration.sql +0 -38
- package/prisma/schema/migrations/20260824120000_billing_transaction_purchase_display_name/migration.sql +0 -2
- package/prisma/schema/migrations/20260831120000_user_communication_email/migration.sql +0 -6
package/client/index-browser.js
CHANGED
|
@@ -1430,6 +1430,159 @@ exports.Prisma.JobRoundAnalyticsDailyScalarFieldEnum = {
|
|
|
1430
1430
|
avg_completion_minutes: 'avg_completion_minutes'
|
|
1431
1431
|
};
|
|
1432
1432
|
|
|
1433
|
+
exports.Prisma.AiCostLedgerEntryScalarFieldEnum = {
|
|
1434
|
+
id: 'id',
|
|
1435
|
+
organisation_id: 'organisation_id',
|
|
1436
|
+
purchased_hiring_unit_id: 'purchased_hiring_unit_id',
|
|
1437
|
+
workflow_name: 'workflow_name',
|
|
1438
|
+
direction: 'direction',
|
|
1439
|
+
amount: 'amount',
|
|
1440
|
+
reason: 'reason',
|
|
1441
|
+
occurred_at: 'occurred_at',
|
|
1442
|
+
source_type: 'source_type',
|
|
1443
|
+
source_id: 'source_id',
|
|
1444
|
+
description: 'description',
|
|
1445
|
+
idempotency_key: 'idempotency_key',
|
|
1446
|
+
created_at: 'created_at',
|
|
1447
|
+
updated_at: 'updated_at',
|
|
1448
|
+
created_by: 'created_by',
|
|
1449
|
+
updated_by: 'updated_by',
|
|
1450
|
+
is_active: 'is_active'
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
exports.Prisma.PurchasedHiringUnitAssignmentEventScalarFieldEnum = {
|
|
1454
|
+
id: 'id',
|
|
1455
|
+
purchased_hiring_unit_id: 'purchased_hiring_unit_id',
|
|
1456
|
+
event_kind: 'event_kind',
|
|
1457
|
+
previous_department_id: 'previous_department_id',
|
|
1458
|
+
new_department_id: 'new_department_id',
|
|
1459
|
+
previous_job_description_id: 'previous_job_description_id',
|
|
1460
|
+
new_job_description_id: 'new_job_description_id',
|
|
1461
|
+
effective_at: 'effective_at',
|
|
1462
|
+
created_by: 'created_by'
|
|
1463
|
+
};
|
|
1464
|
+
|
|
1465
|
+
exports.Prisma.LicensePackageScalarFieldEnum = {
|
|
1466
|
+
id: 'id',
|
|
1467
|
+
code: 'code',
|
|
1468
|
+
version: 'version',
|
|
1469
|
+
name: 'name',
|
|
1470
|
+
description: 'description',
|
|
1471
|
+
price: 'price',
|
|
1472
|
+
cost_price: 'cost_price',
|
|
1473
|
+
currency: 'currency',
|
|
1474
|
+
status: 'status',
|
|
1475
|
+
units_per_purchase: 'units_per_purchase',
|
|
1476
|
+
interview_ai_assisted_hours: 'interview_ai_assisted_hours',
|
|
1477
|
+
interview_full_ai_hours: 'interview_full_ai_hours',
|
|
1478
|
+
interview_non_ai_hours: 'interview_non_ai_hours',
|
|
1479
|
+
assignment_count: 'assignment_count',
|
|
1480
|
+
test_count: 'test_count',
|
|
1481
|
+
resume_count: 'resume_count',
|
|
1482
|
+
credits: 'credits',
|
|
1483
|
+
created_at: 'created_at',
|
|
1484
|
+
updated_at: 'updated_at',
|
|
1485
|
+
created_by: 'created_by',
|
|
1486
|
+
updated_by: 'updated_by',
|
|
1487
|
+
is_active: 'is_active'
|
|
1488
|
+
};
|
|
1489
|
+
|
|
1490
|
+
exports.Prisma.LicensePackageOrganisationScalarFieldEnum = {
|
|
1491
|
+
id: 'id',
|
|
1492
|
+
license_package_id: 'license_package_id',
|
|
1493
|
+
organisation_id: 'organisation_id',
|
|
1494
|
+
created_at: 'created_at',
|
|
1495
|
+
updated_at: 'updated_at',
|
|
1496
|
+
created_by: 'created_by',
|
|
1497
|
+
updated_by: 'updated_by',
|
|
1498
|
+
is_active: 'is_active'
|
|
1499
|
+
};
|
|
1500
|
+
|
|
1501
|
+
exports.Prisma.LicensingLedgerEntryScalarFieldEnum = {
|
|
1502
|
+
id: 'id',
|
|
1503
|
+
organisation_id: 'organisation_id',
|
|
1504
|
+
purchased_hiring_unit_id: 'purchased_hiring_unit_id',
|
|
1505
|
+
entitlement_type: 'entitlement_type',
|
|
1506
|
+
direction: 'direction',
|
|
1507
|
+
amount: 'amount',
|
|
1508
|
+
reason: 'reason',
|
|
1509
|
+
occurred_at: 'occurred_at',
|
|
1510
|
+
source_type: 'source_type',
|
|
1511
|
+
source_id: 'source_id',
|
|
1512
|
+
description: 'description',
|
|
1513
|
+
idempotency_key: 'idempotency_key',
|
|
1514
|
+
created_at: 'created_at',
|
|
1515
|
+
updated_at: 'updated_at',
|
|
1516
|
+
created_by: 'created_by',
|
|
1517
|
+
updated_by: 'updated_by',
|
|
1518
|
+
is_active: 'is_active'
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
exports.Prisma.PurchasedLicensePackageScalarFieldEnum = {
|
|
1522
|
+
id: 'id',
|
|
1523
|
+
organisation_id: 'organisation_id',
|
|
1524
|
+
license_package_id: 'license_package_id',
|
|
1525
|
+
package_code: 'package_code',
|
|
1526
|
+
package_version: 'package_version',
|
|
1527
|
+
package_name: 'package_name',
|
|
1528
|
+
price: 'price',
|
|
1529
|
+
currency: 'currency',
|
|
1530
|
+
units_per_purchase: 'units_per_purchase',
|
|
1531
|
+
package_quantity: 'package_quantity',
|
|
1532
|
+
purchased_at: 'purchased_at',
|
|
1533
|
+
status: 'status',
|
|
1534
|
+
created_at: 'created_at',
|
|
1535
|
+
updated_at: 'updated_at',
|
|
1536
|
+
created_by: 'created_by',
|
|
1537
|
+
updated_by: 'updated_by',
|
|
1538
|
+
is_active: 'is_active'
|
|
1539
|
+
};
|
|
1540
|
+
|
|
1541
|
+
exports.Prisma.PurchasedHiringUnitScalarFieldEnum = {
|
|
1542
|
+
id: 'id',
|
|
1543
|
+
organisation_id: 'organisation_id',
|
|
1544
|
+
purchased_license_package_id: 'purchased_license_package_id',
|
|
1545
|
+
status: 'status',
|
|
1546
|
+
department_id: 'department_id',
|
|
1547
|
+
first_assigned_at: 'first_assigned_at',
|
|
1548
|
+
expiry_at: 'expiry_at',
|
|
1549
|
+
job_description_id: 'job_description_id',
|
|
1550
|
+
created_at: 'created_at',
|
|
1551
|
+
updated_at: 'updated_at',
|
|
1552
|
+
created_by: 'created_by',
|
|
1553
|
+
updated_by: 'updated_by',
|
|
1554
|
+
is_active: 'is_active'
|
|
1555
|
+
};
|
|
1556
|
+
|
|
1557
|
+
exports.Prisma.PurchasedTopUpScalarFieldEnum = {
|
|
1558
|
+
id: 'id',
|
|
1559
|
+
organisation_id: 'organisation_id',
|
|
1560
|
+
purchased_at: 'purchased_at',
|
|
1561
|
+
status: 'status',
|
|
1562
|
+
total_price: 'total_price',
|
|
1563
|
+
currency: 'currency',
|
|
1564
|
+
description: 'description',
|
|
1565
|
+
interview_ai_assisted_hours_purchased: 'interview_ai_assisted_hours_purchased',
|
|
1566
|
+
interview_full_ai_hours_purchased: 'interview_full_ai_hours_purchased',
|
|
1567
|
+
interview_non_ai_hours_purchased: 'interview_non_ai_hours_purchased',
|
|
1568
|
+
assignment_count_purchased: 'assignment_count_purchased',
|
|
1569
|
+
test_count_purchased: 'test_count_purchased',
|
|
1570
|
+
resume_count_purchased: 'resume_count_purchased',
|
|
1571
|
+
credits_purchased: 'credits_purchased',
|
|
1572
|
+
interview_ai_assisted_hours_remaining: 'interview_ai_assisted_hours_remaining',
|
|
1573
|
+
interview_full_ai_hours_remaining: 'interview_full_ai_hours_remaining',
|
|
1574
|
+
interview_non_ai_hours_remaining: 'interview_non_ai_hours_remaining',
|
|
1575
|
+
assignment_count_remaining: 'assignment_count_remaining',
|
|
1576
|
+
test_count_remaining: 'test_count_remaining',
|
|
1577
|
+
resume_count_remaining: 'resume_count_remaining',
|
|
1578
|
+
credits_remaining: 'credits_remaining',
|
|
1579
|
+
created_at: 'created_at',
|
|
1580
|
+
updated_at: 'updated_at',
|
|
1581
|
+
created_by: 'created_by',
|
|
1582
|
+
updated_by: 'updated_by',
|
|
1583
|
+
is_active: 'is_active'
|
|
1584
|
+
};
|
|
1585
|
+
|
|
1433
1586
|
exports.Prisma.LiveAnalysisScalarFieldEnum = {
|
|
1434
1587
|
id: 'id',
|
|
1435
1588
|
interview_id: 'interview_id',
|
|
@@ -1672,6 +1825,46 @@ exports.Prisma.OrganisationConfigScalarFieldEnum = {
|
|
|
1672
1825
|
updated_at: 'updated_at'
|
|
1673
1826
|
};
|
|
1674
1827
|
|
|
1828
|
+
exports.Prisma.BillingTransactionScalarFieldEnum = {
|
|
1829
|
+
id: 'id',
|
|
1830
|
+
organisation_id: 'organisation_id',
|
|
1831
|
+
purchase_reference: 'purchase_reference',
|
|
1832
|
+
purchase_display_name: 'purchase_display_name',
|
|
1833
|
+
transaction_type: 'transaction_type',
|
|
1834
|
+
status: 'status',
|
|
1835
|
+
failure_category: 'failure_category',
|
|
1836
|
+
failure_reason: 'failure_reason',
|
|
1837
|
+
amount: 'amount',
|
|
1838
|
+
currency: 'currency',
|
|
1839
|
+
razorpay_order_id: 'razorpay_order_id',
|
|
1840
|
+
razorpay_payment_id: 'razorpay_payment_id',
|
|
1841
|
+
payment_method: 'payment_method',
|
|
1842
|
+
razorpay_subscription_id: 'razorpay_subscription_id',
|
|
1843
|
+
razorpay_refund_id: 'razorpay_refund_id',
|
|
1844
|
+
refund_reason: 'refund_reason',
|
|
1845
|
+
refund_amount: 'refund_amount',
|
|
1846
|
+
idempotency_key: 'idempotency_key',
|
|
1847
|
+
invoice_number: 'invoice_number',
|
|
1848
|
+
purchaser_email: 'purchaser_email',
|
|
1849
|
+
payment_mismatch_status: 'payment_mismatch_status',
|
|
1850
|
+
payment_mismatch_fulfilled_by_id: 'payment_mismatch_fulfilled_by_id',
|
|
1851
|
+
created_at: 'created_at',
|
|
1852
|
+
updated_at: 'updated_at'
|
|
1853
|
+
};
|
|
1854
|
+
|
|
1855
|
+
exports.Prisma.PaymentWebhookEventScalarFieldEnum = {
|
|
1856
|
+
id: 'id',
|
|
1857
|
+
organisation_id: 'organisation_id',
|
|
1858
|
+
provider: 'provider',
|
|
1859
|
+
provider_event_id: 'provider_event_id',
|
|
1860
|
+
event_type: 'event_type',
|
|
1861
|
+
status: 'status',
|
|
1862
|
+
billing_transaction_id: 'billing_transaction_id',
|
|
1863
|
+
error_message: 'error_message',
|
|
1864
|
+
processed_at: 'processed_at',
|
|
1865
|
+
created_at: 'created_at'
|
|
1866
|
+
};
|
|
1867
|
+
|
|
1675
1868
|
exports.Prisma.PermissionScalarFieldEnum = {
|
|
1676
1869
|
id: 'id',
|
|
1677
1870
|
permissions: 'permissions',
|
|
@@ -2511,7 +2704,8 @@ exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
|
|
|
2511
2704
|
GOOGLE: 'GOOGLE',
|
|
2512
2705
|
MICROSOFT: 'MICROSOFT',
|
|
2513
2706
|
ZOOM: 'ZOOM',
|
|
2514
|
-
CALENDLY: 'CALENDLY'
|
|
2707
|
+
CALENDLY: 'CALENDLY',
|
|
2708
|
+
RAZORPAY: 'RAZORPAY'
|
|
2515
2709
|
};
|
|
2516
2710
|
|
|
2517
2711
|
exports.IntegrationAuthType = exports.$Enums.IntegrationAuthType = {
|
|
@@ -2595,6 +2789,69 @@ exports.JobProfileStatus = exports.$Enums.JobProfileStatus = {
|
|
|
2595
2789
|
COMPLETE: 'COMPLETE'
|
|
2596
2790
|
};
|
|
2597
2791
|
|
|
2792
|
+
exports.LicensingLedgerDirection = exports.$Enums.LicensingLedgerDirection = {
|
|
2793
|
+
CREDIT: 'CREDIT',
|
|
2794
|
+
DEBIT: 'DEBIT'
|
|
2795
|
+
};
|
|
2796
|
+
|
|
2797
|
+
exports.AiCostLedgerReason = exports.$Enums.AiCostLedgerReason = {
|
|
2798
|
+
PURCHASE: 'PURCHASE',
|
|
2799
|
+
USAGE: 'USAGE',
|
|
2800
|
+
ADJUSTMENT: 'ADJUSTMENT',
|
|
2801
|
+
REFUND: 'REFUND'
|
|
2802
|
+
};
|
|
2803
|
+
|
|
2804
|
+
exports.PurchasedHiringUnitAssignmentEventKind = exports.$Enums.PurchasedHiringUnitAssignmentEventKind = {
|
|
2805
|
+
DEPARTMENT_ASSIGNED: 'DEPARTMENT_ASSIGNED',
|
|
2806
|
+
DEPARTMENT_UNASSIGNED: 'DEPARTMENT_UNASSIGNED',
|
|
2807
|
+
JOB_LINKED: 'JOB_LINKED',
|
|
2808
|
+
JOB_UNLINKED: 'JOB_UNLINKED'
|
|
2809
|
+
};
|
|
2810
|
+
|
|
2811
|
+
exports.LicensePackageStatus = exports.$Enums.LicensePackageStatus = {
|
|
2812
|
+
DRAFT: 'DRAFT',
|
|
2813
|
+
ACTIVE: 'ACTIVE',
|
|
2814
|
+
ARCHIVED: 'ARCHIVED'
|
|
2815
|
+
};
|
|
2816
|
+
|
|
2817
|
+
exports.LicensingLedgerEntitlementType = exports.$Enums.LicensingLedgerEntitlementType = {
|
|
2818
|
+
INTERVIEW_AI_ASSISTED_HOURS: 'INTERVIEW_AI_ASSISTED_HOURS',
|
|
2819
|
+
INTERVIEW_FULL_AI_HOURS: 'INTERVIEW_FULL_AI_HOURS',
|
|
2820
|
+
INTERVIEW_NON_AI_HOURS: 'INTERVIEW_NON_AI_HOURS',
|
|
2821
|
+
ASSIGNMENT_COUNT: 'ASSIGNMENT_COUNT',
|
|
2822
|
+
TEST_COUNT: 'TEST_COUNT',
|
|
2823
|
+
RESUME_COUNT: 'RESUME_COUNT',
|
|
2824
|
+
CREDITS: 'CREDITS'
|
|
2825
|
+
};
|
|
2826
|
+
|
|
2827
|
+
exports.LicensingLedgerReason = exports.$Enums.LicensingLedgerReason = {
|
|
2828
|
+
PURCHASE: 'PURCHASE',
|
|
2829
|
+
TOP_UP: 'TOP_UP',
|
|
2830
|
+
USAGE: 'USAGE',
|
|
2831
|
+
ADJUSTMENT: 'ADJUSTMENT',
|
|
2832
|
+
REFUND: 'REFUND',
|
|
2833
|
+
EXPIRY: 'EXPIRY'
|
|
2834
|
+
};
|
|
2835
|
+
|
|
2836
|
+
exports.PurchasedLicensePackageStatus = exports.$Enums.PurchasedLicensePackageStatus = {
|
|
2837
|
+
ACTIVE: 'ACTIVE',
|
|
2838
|
+
EXPIRED: 'EXPIRED',
|
|
2839
|
+
CANCELLED: 'CANCELLED'
|
|
2840
|
+
};
|
|
2841
|
+
|
|
2842
|
+
exports.PurchasedHiringUnitStatus = exports.$Enums.PurchasedHiringUnitStatus = {
|
|
2843
|
+
AVAILABLE: 'AVAILABLE',
|
|
2844
|
+
ASSIGNED: 'ASSIGNED',
|
|
2845
|
+
ACTIVE: 'ACTIVE',
|
|
2846
|
+
EXPIRED: 'EXPIRED'
|
|
2847
|
+
};
|
|
2848
|
+
|
|
2849
|
+
exports.PurchasedTopUpStatus = exports.$Enums.PurchasedTopUpStatus = {
|
|
2850
|
+
ACTIVE: 'ACTIVE',
|
|
2851
|
+
DEPLETED: 'DEPLETED',
|
|
2852
|
+
CANCELLED: 'CANCELLED'
|
|
2853
|
+
};
|
|
2854
|
+
|
|
2598
2855
|
exports.OfferLetterTemplateScope = exports.$Enums.OfferLetterTemplateScope = {
|
|
2599
2856
|
ORGANIZATION: 'ORGANIZATION',
|
|
2600
2857
|
JOB: 'JOB'
|
|
@@ -2653,6 +2910,42 @@ exports.OrganisationSize = exports.$Enums.OrganisationSize = {
|
|
|
2653
2910
|
FIVE_HUNDRED_PLUS: 'FIVE_HUNDRED_PLUS'
|
|
2654
2911
|
};
|
|
2655
2912
|
|
|
2913
|
+
exports.BillingTransactionType = exports.$Enums.BillingTransactionType = {
|
|
2914
|
+
PURCHASE: 'PURCHASE',
|
|
2915
|
+
TOP_UP: 'TOP_UP',
|
|
2916
|
+
REFUND: 'REFUND'
|
|
2917
|
+
};
|
|
2918
|
+
|
|
2919
|
+
exports.BillingTransactionStatus = exports.$Enums.BillingTransactionStatus = {
|
|
2920
|
+
INITIATED: 'INITIATED',
|
|
2921
|
+
ORDER_CREATED: 'ORDER_CREATED',
|
|
2922
|
+
PAYMENT_PENDING: 'PAYMENT_PENDING',
|
|
2923
|
+
SUCCESS: 'SUCCESS',
|
|
2924
|
+
FAILED: 'FAILED',
|
|
2925
|
+
CANCELLED: 'CANCELLED',
|
|
2926
|
+
REFUND_PENDING: 'REFUND_PENDING',
|
|
2927
|
+
REFUND_FAILED: 'REFUND_FAILED',
|
|
2928
|
+
REFUNDED: 'REFUNDED'
|
|
2929
|
+
};
|
|
2930
|
+
|
|
2931
|
+
exports.BillingTransactionFailureCategory = exports.$Enums.BillingTransactionFailureCategory = {
|
|
2932
|
+
RAZORPAY_ORDER: 'RAZORPAY_ORDER',
|
|
2933
|
+
RAZORPAY_PAYMENT: 'RAZORPAY_PAYMENT',
|
|
2934
|
+
REFUND: 'REFUND',
|
|
2935
|
+
INTERNAL: 'INTERNAL'
|
|
2936
|
+
};
|
|
2937
|
+
|
|
2938
|
+
exports.BillingPaymentMismatchStatus = exports.$Enums.BillingPaymentMismatchStatus = {
|
|
2939
|
+
DETECTED: 'DETECTED',
|
|
2940
|
+
UNFULFILLED: 'UNFULFILLED'
|
|
2941
|
+
};
|
|
2942
|
+
|
|
2943
|
+
exports.PaymentWebhookEventStatus = exports.$Enums.PaymentWebhookEventStatus = {
|
|
2944
|
+
RECEIVED: 'RECEIVED',
|
|
2945
|
+
PROCESSED: 'PROCESSED',
|
|
2946
|
+
FAILED: 'FAILED'
|
|
2947
|
+
};
|
|
2948
|
+
|
|
2656
2949
|
exports.AsyncOperationStatus = exports.$Enums.AsyncOperationStatus = {
|
|
2657
2950
|
PENDING: 'PENDING',
|
|
2658
2951
|
IN_PROGRESS: 'IN_PROGRESS',
|
|
@@ -2763,6 +3056,14 @@ exports.Prisma.ModelName = {
|
|
|
2763
3056
|
JobProfile: 'JobProfile',
|
|
2764
3057
|
JobRoundAnalytics: 'JobRoundAnalytics',
|
|
2765
3058
|
JobRoundAnalyticsDaily: 'JobRoundAnalyticsDaily',
|
|
3059
|
+
AiCostLedgerEntry: 'AiCostLedgerEntry',
|
|
3060
|
+
PurchasedHiringUnitAssignmentEvent: 'PurchasedHiringUnitAssignmentEvent',
|
|
3061
|
+
LicensePackage: 'LicensePackage',
|
|
3062
|
+
LicensePackageOrganisation: 'LicensePackageOrganisation',
|
|
3063
|
+
LicensingLedgerEntry: 'LicensingLedgerEntry',
|
|
3064
|
+
PurchasedLicensePackage: 'PurchasedLicensePackage',
|
|
3065
|
+
PurchasedHiringUnit: 'PurchasedHiringUnit',
|
|
3066
|
+
PurchasedTopUp: 'PurchasedTopUp',
|
|
2766
3067
|
LiveAnalysis: 'LiveAnalysis',
|
|
2767
3068
|
Message: 'Message',
|
|
2768
3069
|
Notes: 'Notes',
|
|
@@ -2774,6 +3075,8 @@ exports.Prisma.ModelName = {
|
|
|
2774
3075
|
OpenJobAnalyticsDaily: 'OpenJobAnalyticsDaily',
|
|
2775
3076
|
Organisation: 'Organisation',
|
|
2776
3077
|
OrganisationConfig: 'OrganisationConfig',
|
|
3078
|
+
BillingTransaction: 'BillingTransaction',
|
|
3079
|
+
PaymentWebhookEvent: 'PaymentWebhookEvent',
|
|
2777
3080
|
Permission: 'Permission',
|
|
2778
3081
|
PipelineDistributionAnalytics: 'PipelineDistributionAnalytics',
|
|
2779
3082
|
PipelineDistributionAnalyticsDaily: 'PipelineDistributionAnalyticsDaily',
|