@adaptware/eagles-db 0.6.2 → 0.6.5
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 +58 -88
- package/client/index-browser.js +53 -83
- package/client/index.d.ts +8707 -5629
- package/client/index.js +58 -88
- package/client/package.json +1 -1
- package/client/schema.prisma +224 -256
- package/client/wasm.js +58 -88
- package/package.json +1 -1
- package/prisma/schema/consent.prisma +108 -34
- package/prisma/schema/document.prisma +1 -0
- package/prisma/schema/integration.prisma +0 -1
- package/prisma/schema/jobDescription.prisma +38 -37
- package/prisma/schema/migrations/20261006120000_add_jd_restrict_candidate_upload/migration.sql +2 -0
- package/prisma/schema/organisation.prisma +6 -2
- package/prisma/schema/user.prisma +2 -0
- package/client/libquery_engine-darwin.dylib.node +0 -0
- package/client/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/client/query_engine-windows.dll.node +0 -0
- 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/prisma/schema/migrations/20260901143000_assessment_question_bank_state/migration.sql +0 -15
- package/prisma/schema/migrations/20260902120000_question_category_two_values/migration.sql +0 -16
- package/prisma/schema/migrations/20260902143000_question_bank_item_key/migration.sql +0 -17
- package/prisma/schema/migrations/20260903120000_split_round_type_assessment/migration.sql +0 -9
- package/prisma/schema/migrations/20260904110000_restore_round_type_assessment_enum/migration.sql +0 -5
- package/prisma/schema/migrations/20260904120000_revert_wrong_split_assessment_round_types/migration.sql +0 -42
- package/prisma/schema/migrations/20260909140000_profile_interview_session/migration.sql +0 -99
- package/prisma/schema/migrations/20260911120000_unify_profile_interview_into_interview/migration.sql +0 -139
- package/prisma/schema/migrations/20260929120000_add_evaluation_type_in_person/migration.sql +0 -2
- package/prisma/schema/payment/billingTransaction.prisma +0 -83
- package/prisma/schema/payment/paymentWebhookEvent.prisma +0 -28
package/client/index-browser.js
CHANGED
|
@@ -705,6 +705,8 @@ exports.Prisma.ConsentDocumentScalarFieldEnum = {
|
|
|
705
705
|
id: 'id',
|
|
706
706
|
slug: 'slug',
|
|
707
707
|
consent_type: 'consent_type',
|
|
708
|
+
organisation_id: 'organisation_id',
|
|
709
|
+
display_name: 'display_name',
|
|
708
710
|
is_active: 'is_active',
|
|
709
711
|
created_at: 'created_at',
|
|
710
712
|
updated_at: 'updated_at'
|
|
@@ -716,8 +718,27 @@ exports.Prisma.ConsentDocumentVersionScalarFieldEnum = {
|
|
|
716
718
|
version_number: 'version_number',
|
|
717
719
|
content_hash: 'content_hash',
|
|
718
720
|
locale: 'locale',
|
|
719
|
-
|
|
721
|
+
template_version_label: 'template_version_label',
|
|
722
|
+
s3_bucket: 's3_bucket',
|
|
723
|
+
s3_key: 's3_key',
|
|
724
|
+
s3_region: 's3_region',
|
|
725
|
+
s3_archive_key: 's3_archive_key',
|
|
726
|
+
s3_active_key: 's3_active_key',
|
|
727
|
+
s3_document_id: 's3_document_id',
|
|
728
|
+
status: 'status',
|
|
720
729
|
published_at: 'published_at',
|
|
730
|
+
published_by_id: 'published_by_id',
|
|
731
|
+
approval_notes: 'approval_notes',
|
|
732
|
+
supersedes_version_id: 'supersedes_version_id',
|
|
733
|
+
created_at: 'created_at'
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
exports.Prisma.ConsentDocumentVersionApprovalScalarFieldEnum = {
|
|
737
|
+
id: 'id',
|
|
738
|
+
document_version_id: 'document_version_id',
|
|
739
|
+
action: 'action',
|
|
740
|
+
actor_user_id: 'actor_user_id',
|
|
741
|
+
notes: 'notes',
|
|
721
742
|
created_at: 'created_at'
|
|
722
743
|
};
|
|
723
744
|
|
|
@@ -736,12 +757,25 @@ exports.Prisma.ConsentRecordScalarFieldEnum = {
|
|
|
736
757
|
consent_type: 'consent_type',
|
|
737
758
|
outcome: 'outcome',
|
|
738
759
|
document_version_id: 'document_version_id',
|
|
760
|
+
template_version_label: 'template_version_label',
|
|
761
|
+
context_snapshot: 'context_snapshot',
|
|
739
762
|
selections: 'selections',
|
|
740
763
|
reference_type: 'reference_type',
|
|
741
764
|
reference_id: 'reference_id',
|
|
742
765
|
ip_address: 'ip_address',
|
|
743
766
|
user_agent: 'user_agent',
|
|
744
767
|
decline_reason: 'decline_reason',
|
|
768
|
+
storage_snapshot_key: 'storage_snapshot_key',
|
|
769
|
+
content_hash_at_grant: 'content_hash_at_grant',
|
|
770
|
+
created_at: 'created_at'
|
|
771
|
+
};
|
|
772
|
+
|
|
773
|
+
exports.Prisma.SystemConsentEpochScalarFieldEnum = {
|
|
774
|
+
id: 'id',
|
|
775
|
+
consent_type: 'consent_type',
|
|
776
|
+
epoch_at: 'epoch_at',
|
|
777
|
+
document_version_id: 'document_version_id',
|
|
778
|
+
reason: 'reason',
|
|
745
779
|
created_at: 'created_at'
|
|
746
780
|
};
|
|
747
781
|
|
|
@@ -1395,6 +1429,7 @@ exports.Prisma.JobDescriptionScalarFieldEnum = {
|
|
|
1395
1429
|
updated_by: 'updated_by',
|
|
1396
1430
|
is_active: 'is_active',
|
|
1397
1431
|
openings: 'openings',
|
|
1432
|
+
restrict_candidate_upload_to_assigned_recruiters: 'restrict_candidate_upload_to_assigned_recruiters',
|
|
1398
1433
|
job_profile_id: 'job_profile_id',
|
|
1399
1434
|
hiring_plan_line_id: 'hiring_plan_line_id'
|
|
1400
1435
|
};
|
|
@@ -1882,7 +1917,11 @@ exports.Prisma.OrganisationScalarFieldEnum = {
|
|
|
1882
1917
|
employee_sequence: 'employee_sequence',
|
|
1883
1918
|
timezone: 'timezone',
|
|
1884
1919
|
country_code: 'country_code',
|
|
1885
|
-
hiring_unit_assignment_scope: 'hiring_unit_assignment_scope'
|
|
1920
|
+
hiring_unit_assignment_scope: 'hiring_unit_assignment_scope',
|
|
1921
|
+
has_custom_consent: 'has_custom_consent',
|
|
1922
|
+
consent_s3_bucket: 'consent_s3_bucket',
|
|
1923
|
+
consent_s3_region: 'consent_s3_region',
|
|
1924
|
+
custom_interview_consent_s3_key_prefix: 'custom_interview_consent_s3_key_prefix'
|
|
1886
1925
|
};
|
|
1887
1926
|
|
|
1888
1927
|
exports.Prisma.OrganisationConfigScalarFieldEnum = {
|
|
@@ -1894,46 +1933,6 @@ exports.Prisma.OrganisationConfigScalarFieldEnum = {
|
|
|
1894
1933
|
updated_at: 'updated_at'
|
|
1895
1934
|
};
|
|
1896
1935
|
|
|
1897
|
-
exports.Prisma.BillingTransactionScalarFieldEnum = {
|
|
1898
|
-
id: 'id',
|
|
1899
|
-
organisation_id: 'organisation_id',
|
|
1900
|
-
purchase_reference: 'purchase_reference',
|
|
1901
|
-
purchase_display_name: 'purchase_display_name',
|
|
1902
|
-
transaction_type: 'transaction_type',
|
|
1903
|
-
status: 'status',
|
|
1904
|
-
failure_category: 'failure_category',
|
|
1905
|
-
failure_reason: 'failure_reason',
|
|
1906
|
-
amount: 'amount',
|
|
1907
|
-
currency: 'currency',
|
|
1908
|
-
razorpay_order_id: 'razorpay_order_id',
|
|
1909
|
-
razorpay_payment_id: 'razorpay_payment_id',
|
|
1910
|
-
payment_method: 'payment_method',
|
|
1911
|
-
razorpay_subscription_id: 'razorpay_subscription_id',
|
|
1912
|
-
razorpay_refund_id: 'razorpay_refund_id',
|
|
1913
|
-
refund_reason: 'refund_reason',
|
|
1914
|
-
refund_amount: 'refund_amount',
|
|
1915
|
-
idempotency_key: 'idempotency_key',
|
|
1916
|
-
invoice_number: 'invoice_number',
|
|
1917
|
-
purchaser_email: 'purchaser_email',
|
|
1918
|
-
payment_mismatch_status: 'payment_mismatch_status',
|
|
1919
|
-
payment_mismatch_fulfilled_by_id: 'payment_mismatch_fulfilled_by_id',
|
|
1920
|
-
created_at: 'created_at',
|
|
1921
|
-
updated_at: 'updated_at'
|
|
1922
|
-
};
|
|
1923
|
-
|
|
1924
|
-
exports.Prisma.PaymentWebhookEventScalarFieldEnum = {
|
|
1925
|
-
id: 'id',
|
|
1926
|
-
organisation_id: 'organisation_id',
|
|
1927
|
-
provider: 'provider',
|
|
1928
|
-
provider_event_id: 'provider_event_id',
|
|
1929
|
-
event_type: 'event_type',
|
|
1930
|
-
status: 'status',
|
|
1931
|
-
billing_transaction_id: 'billing_transaction_id',
|
|
1932
|
-
error_message: 'error_message',
|
|
1933
|
-
processed_at: 'processed_at',
|
|
1934
|
-
created_at: 'created_at'
|
|
1935
|
-
};
|
|
1936
|
-
|
|
1937
1936
|
exports.Prisma.PermissionScalarFieldEnum = {
|
|
1938
1937
|
id: 'id',
|
|
1939
1938
|
permissions: 'permissions',
|
|
@@ -2768,7 +2767,15 @@ exports.CompetencyCategory = exports.$Enums.CompetencyCategory = {
|
|
|
2768
2767
|
|
|
2769
2768
|
exports.ConsentType = exports.$Enums.ConsentType = {
|
|
2770
2769
|
PLATFORM_TERMS: 'PLATFORM_TERMS',
|
|
2771
|
-
INTERVIEW_SESSION: 'INTERVIEW_SESSION'
|
|
2770
|
+
INTERVIEW_SESSION: 'INTERVIEW_SESSION',
|
|
2771
|
+
PRIVACY_POLICY: 'PRIVACY_POLICY'
|
|
2772
|
+
};
|
|
2773
|
+
|
|
2774
|
+
exports.ConsentCatalogVersionStatus = exports.$Enums.ConsentCatalogVersionStatus = {
|
|
2775
|
+
DRAFT: 'DRAFT',
|
|
2776
|
+
PUBLISHED: 'PUBLISHED',
|
|
2777
|
+
ARCHIVED: 'ARCHIVED',
|
|
2778
|
+
REVOKED: 'REVOKED'
|
|
2772
2779
|
};
|
|
2773
2780
|
|
|
2774
2781
|
exports.ConsentOutcome = exports.$Enums.ConsentOutcome = {
|
|
@@ -2881,8 +2888,7 @@ exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
|
|
|
2881
2888
|
GOOGLE: 'GOOGLE',
|
|
2882
2889
|
MICROSOFT: 'MICROSOFT',
|
|
2883
2890
|
ZOOM: 'ZOOM',
|
|
2884
|
-
CALENDLY: 'CALENDLY'
|
|
2885
|
-
RAZORPAY: 'RAZORPAY'
|
|
2891
|
+
CALENDLY: 'CALENDLY'
|
|
2886
2892
|
};
|
|
2887
2893
|
|
|
2888
2894
|
exports.IntegrationAuthType = exports.$Enums.IntegrationAuthType = {
|
|
@@ -3095,42 +3101,6 @@ exports.HiringUnitAssignmentScope = exports.$Enums.HiringUnitAssignmentScope = {
|
|
|
3095
3101
|
ORGANISATION: 'ORGANISATION'
|
|
3096
3102
|
};
|
|
3097
3103
|
|
|
3098
|
-
exports.BillingTransactionType = exports.$Enums.BillingTransactionType = {
|
|
3099
|
-
PURCHASE: 'PURCHASE',
|
|
3100
|
-
TOP_UP: 'TOP_UP',
|
|
3101
|
-
REFUND: 'REFUND'
|
|
3102
|
-
};
|
|
3103
|
-
|
|
3104
|
-
exports.BillingTransactionStatus = exports.$Enums.BillingTransactionStatus = {
|
|
3105
|
-
INITIATED: 'INITIATED',
|
|
3106
|
-
ORDER_CREATED: 'ORDER_CREATED',
|
|
3107
|
-
PAYMENT_PENDING: 'PAYMENT_PENDING',
|
|
3108
|
-
SUCCESS: 'SUCCESS',
|
|
3109
|
-
FAILED: 'FAILED',
|
|
3110
|
-
CANCELLED: 'CANCELLED',
|
|
3111
|
-
REFUND_PENDING: 'REFUND_PENDING',
|
|
3112
|
-
REFUND_FAILED: 'REFUND_FAILED',
|
|
3113
|
-
REFUNDED: 'REFUNDED'
|
|
3114
|
-
};
|
|
3115
|
-
|
|
3116
|
-
exports.BillingTransactionFailureCategory = exports.$Enums.BillingTransactionFailureCategory = {
|
|
3117
|
-
RAZORPAY_ORDER: 'RAZORPAY_ORDER',
|
|
3118
|
-
RAZORPAY_PAYMENT: 'RAZORPAY_PAYMENT',
|
|
3119
|
-
REFUND: 'REFUND',
|
|
3120
|
-
INTERNAL: 'INTERNAL'
|
|
3121
|
-
};
|
|
3122
|
-
|
|
3123
|
-
exports.BillingPaymentMismatchStatus = exports.$Enums.BillingPaymentMismatchStatus = {
|
|
3124
|
-
DETECTED: 'DETECTED',
|
|
3125
|
-
UNFULFILLED: 'UNFULFILLED'
|
|
3126
|
-
};
|
|
3127
|
-
|
|
3128
|
-
exports.PaymentWebhookEventStatus = exports.$Enums.PaymentWebhookEventStatus = {
|
|
3129
|
-
RECEIVED: 'RECEIVED',
|
|
3130
|
-
PROCESSED: 'PROCESSED',
|
|
3131
|
-
FAILED: 'FAILED'
|
|
3132
|
-
};
|
|
3133
|
-
|
|
3134
3104
|
exports.ProctoringSessionStatus = exports.$Enums.ProctoringSessionStatus = {
|
|
3135
3105
|
NOT_STARTED: 'NOT_STARTED',
|
|
3136
3106
|
CALIBRATING: 'CALIBRATING',
|
|
@@ -3261,8 +3231,10 @@ exports.Prisma.ModelName = {
|
|
|
3261
3231
|
CompetencyDictionary: 'CompetencyDictionary',
|
|
3262
3232
|
ConsentDocument: 'ConsentDocument',
|
|
3263
3233
|
ConsentDocumentVersion: 'ConsentDocumentVersion',
|
|
3234
|
+
ConsentDocumentVersionApproval: 'ConsentDocumentVersionApproval',
|
|
3264
3235
|
ConsentCheckboxDefinition: 'ConsentCheckboxDefinition',
|
|
3265
3236
|
ConsentRecord: 'ConsentRecord',
|
|
3237
|
+
SystemConsentEpoch: 'SystemConsentEpoch',
|
|
3266
3238
|
DataErasureRequest: 'DataErasureRequest',
|
|
3267
3239
|
ContactUs: 'ContactUs',
|
|
3268
3240
|
Department: 'Department',
|
|
@@ -3315,8 +3287,6 @@ exports.Prisma.ModelName = {
|
|
|
3315
3287
|
OpenJobAnalyticsDaily: 'OpenJobAnalyticsDaily',
|
|
3316
3288
|
Organisation: 'Organisation',
|
|
3317
3289
|
OrganisationConfig: 'OrganisationConfig',
|
|
3318
|
-
BillingTransaction: 'BillingTransaction',
|
|
3319
|
-
PaymentWebhookEvent: 'PaymentWebhookEvent',
|
|
3320
3290
|
Permission: 'Permission',
|
|
3321
3291
|
PipelineDistributionAnalytics: 'PipelineDistributionAnalytics',
|
|
3322
3292
|
PipelineDistributionAnalyticsDaily: 'PipelineDistributionAnalyticsDaily',
|