@adaptware/eagles-db 0.6.14 → 0.6.16
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 +129 -8
- package/client/index-browser.js +122 -2
- package/client/index.d.ts +10875 -428
- package/client/index.js +129 -8
- package/client/libquery_engine-darwin.dylib.node +0 -0
- package/client/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/client/package.json +1 -1
- package/client/query_engine-windows.dll.node +0 -0
- package/client/schema.prisma +200 -0
- package/client/wasm.js +129 -8
- package/package.json +1 -1
- package/prisma/schema/integration.prisma +1 -0
- package/prisma/schema/interview.prisma +2 -0
- package/prisma/schema/licensing/purchasedLicense.prisma +3 -0
- package/prisma/schema/migrations/20260522120000_ongoing_evaluation_record_kind/migration.sql +25 -0
- package/prisma/schema/migrations/20260523120000_replace_record_kind_with_is_committed/migration.sql +24 -0
- package/prisma/schema/migrations/20260528120000_drop_job_description_recommendation_config/migration.sql +2 -0
- package/prisma/schema/migrations/20260710120000_add_resume_rendered_export_fields/migration.sql +9 -0
- package/prisma/schema/migrations/20260714120000_add_job_description_display_html_document/migration.sql +8 -0
- package/prisma/schema/migrations/20260716120000_add_offer_letters/migration.sql +183 -0
- package/prisma/schema/migrations/20260716140000_offer_schema_refinements/migration.sql +13 -0
- package/prisma/schema/migrations/20260716160000_offer_schema_hardening/migration.sql +95 -0
- package/prisma/schema/migrations/20260716180000_offer_letter_template_config/migration.sql +2 -0
- package/prisma/schema/migrations/20260716190000_add_evaluation_focus_areas/migration.sql +6 -0
- package/prisma/schema/migrations/20260717120000_offer_workflow_approval/migration.sql +30 -0
- package/prisma/schema/migrations/20260720120000_offer_letter_template_is_draft/migration.sql +5 -0
- package/prisma/schema/migrations/20260720140000_offer_status_split/migration.sql +51 -0
- package/prisma/schema/migrations/20260720140001_offer_status_split_backfill/migration.sql +37 -0
- package/prisma/schema/migrations/20260722120000_offer_draft_edited_html/migration.sql +13 -0
- package/prisma/schema/migrations/20260723150000_offer_withdraw_actor_no_show_reason/migration.sql +10 -0
- package/prisma/schema/migrations/20260724120000_open_job_offer_accepted_declined_counts/migration.sql +7 -0
- package/prisma/schema/migrations/20260811120000_add_integration_provider_razorpay/migration.sql +6 -0
- package/prisma/schema/migrations/20260812120000_add_billing_transactions/migration.sql +49 -0
- package/prisma/schema/migrations/20260812130000_drop_billing_transaction_gst_snapshots/migration.sql +3 -0
- package/prisma/schema/migrations/20260812180000_billing_transaction_invoice_number/migration.sql +5 -0
- package/prisma/schema/migrations/20260813120000_payment_webhooks_gst_refunds/migration.sql +79 -0
- package/prisma/schema/migrations/20260813140000_platform_gst_profiles/migration.sql +49 -0
- package/prisma/schema/migrations/20260813150000_rename_gst_profiles/migration.sql +53 -0
- package/prisma/schema/migrations/20260813160000_remove_gst_billing/migration.sql +16 -0
- package/prisma/schema/migrations/20260813170000_billing_licensing_unrecoverable/migration.sql +2 -0
- package/prisma/schema/migrations/20260813180000_billing_transaction_payment_method/migration.sql +2 -0
- package/prisma/schema/migrations/20260814090000_billing_transaction_purchaser_email/migration.sql +2 -0
- package/prisma/schema/migrations/20260816100000_billing_product_organisations/migration.sql +35 -0
- package/prisma/schema/migrations/20260816120000_merge_billing_product_organisations/migration.sql +25 -0
- package/prisma/schema/migrations/20260817120000_billing_payment_mismatch/migration.sql +7 -0
- package/prisma/schema/migrations/20260819120000_billing_product_prices/migration.sql +62 -0
- package/prisma/schema/migrations/20260819140000_billing_exchange_rates/migration.sql +25 -0
- package/prisma/schema/migrations/20260820120000_billing_transaction_failure_category/migration.sql +31 -0
- package/prisma/schema/migrations/20260820130000_backfill_billing_transaction_failure_details/migration.sql +23 -0
- package/prisma/schema/migrations/20260820140000_drop_billing_product_price_overrides/migration.sql +2 -0
- package/prisma/schema/migrations/20260821120000_drop_billing_product_and_mock_licensing/migration.sql +38 -0
- package/prisma/schema/migrations/20260824120000_billing_transaction_purchase_display_name/migration.sql +2 -0
- package/prisma/schema/migrations/20260831120000_user_communication_email/migration.sql +6 -0
- package/prisma/schema/migrations/20260901143000_assessment_question_bank_state/migration.sql +15 -0
- package/prisma/schema/migrations/20260902120000_question_category_two_values/migration.sql +16 -0
- package/prisma/schema/migrations/20260902143000_question_bank_item_key/migration.sql +17 -0
- package/prisma/schema/migrations/20260903120000_split_round_type_assessment/migration.sql +9 -0
- package/prisma/schema/migrations/20260904110000_restore_round_type_assessment_enum/migration.sql +5 -0
- package/prisma/schema/migrations/20260904120000_revert_wrong_split_assessment_round_types/migration.sql +42 -0
- package/prisma/schema/migrations/20260909140000_profile_interview_session/migration.sql +99 -0
- package/prisma/schema/migrations/20260911120000_unify_profile_interview_into_interview/migration.sql +139 -0
- package/prisma/schema/migrations/20260929120000_add_evaluation_type_in_person/migration.sql +2 -0
- package/prisma/schema/migrations/20261015130000_interview_whiteboard_scene/migration.sql +2 -0
- package/prisma/schema/migrations/20261022120000_billing_failure_category_provider_neutral/migration.sql +28 -0
- package/prisma/schema/organisation.prisma +8 -0
- package/prisma/schema/payment/billingTransaction.prisma +87 -0
- package/prisma/schema/payment/invoice.prisma +68 -0
- package/prisma/schema/payment/paymentWebhookEvent.prisma +28 -0
- package/prisma/.DS_Store +0 -0
- package/prisma/schema/migrations/.DS_Store +0 -0
package/client/index-browser.js
CHANGED
|
@@ -1094,6 +1094,7 @@ exports.Prisma.InterviewScalarFieldEnum = {
|
|
|
1094
1094
|
ai_feedback: 'ai_feedback',
|
|
1095
1095
|
human_feedback: 'human_feedback',
|
|
1096
1096
|
interview_preparation: 'interview_preparation',
|
|
1097
|
+
whiteboard_scene: 'whiteboard_scene',
|
|
1097
1098
|
final_feedback: 'final_feedback',
|
|
1098
1099
|
interview_analysis_ranges: 'interview_analysis_ranges',
|
|
1099
1100
|
interview_flow_summary: 'interview_flow_summary',
|
|
@@ -1606,7 +1607,8 @@ exports.Prisma.PurchasedLicensePackageScalarFieldEnum = {
|
|
|
1606
1607
|
updated_at: 'updated_at',
|
|
1607
1608
|
created_by: 'created_by',
|
|
1608
1609
|
updated_by: 'updated_by',
|
|
1609
|
-
is_active: 'is_active'
|
|
1610
|
+
is_active: 'is_active',
|
|
1611
|
+
invoice_id: 'invoice_id'
|
|
1610
1612
|
};
|
|
1611
1613
|
|
|
1612
1614
|
exports.Prisma.PurchasedHiringUnitScalarFieldEnum = {
|
|
@@ -1942,6 +1944,8 @@ exports.Prisma.OrganisationScalarFieldEnum = {
|
|
|
1942
1944
|
employee_sequence: 'employee_sequence',
|
|
1943
1945
|
timezone: 'timezone',
|
|
1944
1946
|
country_code: 'country_code',
|
|
1947
|
+
gstin: 'gstin',
|
|
1948
|
+
billing_currency: 'billing_currency',
|
|
1945
1949
|
hiring_unit_assignment_scope: 'hiring_unit_assignment_scope'
|
|
1946
1950
|
};
|
|
1947
1951
|
|
|
@@ -1954,6 +1958,77 @@ exports.Prisma.OrganisationConfigScalarFieldEnum = {
|
|
|
1954
1958
|
updated_at: 'updated_at'
|
|
1955
1959
|
};
|
|
1956
1960
|
|
|
1961
|
+
exports.Prisma.BillingTransactionScalarFieldEnum = {
|
|
1962
|
+
id: 'id',
|
|
1963
|
+
organisation_id: 'organisation_id',
|
|
1964
|
+
purchase_reference: 'purchase_reference',
|
|
1965
|
+
purchase_display_name: 'purchase_display_name',
|
|
1966
|
+
transaction_type: 'transaction_type',
|
|
1967
|
+
status: 'status',
|
|
1968
|
+
failure_category: 'failure_category',
|
|
1969
|
+
failure_reason: 'failure_reason',
|
|
1970
|
+
amount: 'amount',
|
|
1971
|
+
currency: 'currency',
|
|
1972
|
+
razorpay_order_id: 'razorpay_order_id',
|
|
1973
|
+
razorpay_payment_id: 'razorpay_payment_id',
|
|
1974
|
+
payment_method: 'payment_method',
|
|
1975
|
+
razorpay_subscription_id: 'razorpay_subscription_id',
|
|
1976
|
+
razorpay_refund_id: 'razorpay_refund_id',
|
|
1977
|
+
refund_reason: 'refund_reason',
|
|
1978
|
+
refund_amount: 'refund_amount',
|
|
1979
|
+
idempotency_key: 'idempotency_key',
|
|
1980
|
+
purchaser_email: 'purchaser_email',
|
|
1981
|
+
created_by: 'created_by',
|
|
1982
|
+
payment_mismatch_status: 'payment_mismatch_status',
|
|
1983
|
+
payment_mismatch_fulfilled_by_id: 'payment_mismatch_fulfilled_by_id',
|
|
1984
|
+
created_at: 'created_at',
|
|
1985
|
+
updated_at: 'updated_at'
|
|
1986
|
+
};
|
|
1987
|
+
|
|
1988
|
+
exports.Prisma.InvoiceScalarFieldEnum = {
|
|
1989
|
+
id: 'id',
|
|
1990
|
+
invoice_number: 'invoice_number',
|
|
1991
|
+
kind: 'kind',
|
|
1992
|
+
organisation_id: 'organisation_id',
|
|
1993
|
+
billing_transaction_id: 'billing_transaction_id',
|
|
1994
|
+
currency: 'currency',
|
|
1995
|
+
description: 'description',
|
|
1996
|
+
quantity: 'quantity',
|
|
1997
|
+
cost_amount: 'cost_amount',
|
|
1998
|
+
tax_amount: 'tax_amount',
|
|
1999
|
+
fee_amount: 'fee_amount',
|
|
2000
|
+
fee_tax_amount: 'fee_tax_amount',
|
|
2001
|
+
tax_rate_bps: 'tax_rate_bps',
|
|
2002
|
+
fee_rate_bps: 'fee_rate_bps',
|
|
2003
|
+
buyer_name: 'buyer_name',
|
|
2004
|
+
buyer_address: 'buyer_address',
|
|
2005
|
+
buyer_country_code: 'buyer_country_code',
|
|
2006
|
+
buyer_gstin: 'buyer_gstin',
|
|
2007
|
+
seller_snapshot: 'seller_snapshot',
|
|
2008
|
+
issued_at: 'issued_at',
|
|
2009
|
+
created_at: 'created_at',
|
|
2010
|
+
created_by: 'created_by'
|
|
2011
|
+
};
|
|
2012
|
+
|
|
2013
|
+
exports.Prisma.InvoiceSequenceScalarFieldEnum = {
|
|
2014
|
+
financial_year: 'financial_year',
|
|
2015
|
+
last_sequence: 'last_sequence',
|
|
2016
|
+
updated_at: 'updated_at'
|
|
2017
|
+
};
|
|
2018
|
+
|
|
2019
|
+
exports.Prisma.PaymentWebhookEventScalarFieldEnum = {
|
|
2020
|
+
id: 'id',
|
|
2021
|
+
organisation_id: 'organisation_id',
|
|
2022
|
+
provider: 'provider',
|
|
2023
|
+
provider_event_id: 'provider_event_id',
|
|
2024
|
+
event_type: 'event_type',
|
|
2025
|
+
status: 'status',
|
|
2026
|
+
billing_transaction_id: 'billing_transaction_id',
|
|
2027
|
+
error_message: 'error_message',
|
|
2028
|
+
processed_at: 'processed_at',
|
|
2029
|
+
created_at: 'created_at'
|
|
2030
|
+
};
|
|
2031
|
+
|
|
1957
2032
|
exports.Prisma.PermissionScalarFieldEnum = {
|
|
1958
2033
|
id: 'id',
|
|
1959
2034
|
permissions: 'permissions',
|
|
@@ -2914,7 +2989,8 @@ exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
|
|
|
2914
2989
|
GOOGLE: 'GOOGLE',
|
|
2915
2990
|
MICROSOFT: 'MICROSOFT',
|
|
2916
2991
|
ZOOM: 'ZOOM',
|
|
2917
|
-
CALENDLY: 'CALENDLY'
|
|
2992
|
+
CALENDLY: 'CALENDLY',
|
|
2993
|
+
RAZORPAY: 'RAZORPAY'
|
|
2918
2994
|
};
|
|
2919
2995
|
|
|
2920
2996
|
exports.IntegrationAuthType = exports.$Enums.IntegrationAuthType = {
|
|
@@ -3127,6 +3203,46 @@ exports.HiringUnitAssignmentScope = exports.$Enums.HiringUnitAssignmentScope = {
|
|
|
3127
3203
|
ORGANISATION: 'ORGANISATION'
|
|
3128
3204
|
};
|
|
3129
3205
|
|
|
3206
|
+
exports.BillingTransactionType = exports.$Enums.BillingTransactionType = {
|
|
3207
|
+
PURCHASE: 'PURCHASE',
|
|
3208
|
+
TOP_UP: 'TOP_UP',
|
|
3209
|
+
REFUND: 'REFUND'
|
|
3210
|
+
};
|
|
3211
|
+
|
|
3212
|
+
exports.BillingTransactionStatus = exports.$Enums.BillingTransactionStatus = {
|
|
3213
|
+
INITIATED: 'INITIATED',
|
|
3214
|
+
ORDER_CREATED: 'ORDER_CREATED',
|
|
3215
|
+
PAYMENT_PENDING: 'PAYMENT_PENDING',
|
|
3216
|
+
SUCCESS: 'SUCCESS',
|
|
3217
|
+
FAILED: 'FAILED',
|
|
3218
|
+
CANCELLED: 'CANCELLED',
|
|
3219
|
+
REFUND_PENDING: 'REFUND_PENDING',
|
|
3220
|
+
REFUND_FAILED: 'REFUND_FAILED',
|
|
3221
|
+
REFUNDED: 'REFUNDED'
|
|
3222
|
+
};
|
|
3223
|
+
|
|
3224
|
+
exports.BillingTransactionFailureCategory = exports.$Enums.BillingTransactionFailureCategory = {
|
|
3225
|
+
ORDER: 'ORDER',
|
|
3226
|
+
PAYMENT: 'PAYMENT',
|
|
3227
|
+
REFUND: 'REFUND',
|
|
3228
|
+
INTERNAL: 'INTERNAL'
|
|
3229
|
+
};
|
|
3230
|
+
|
|
3231
|
+
exports.BillingPaymentMismatchStatus = exports.$Enums.BillingPaymentMismatchStatus = {
|
|
3232
|
+
DETECTED: 'DETECTED',
|
|
3233
|
+
UNFULFILLED: 'UNFULFILLED'
|
|
3234
|
+
};
|
|
3235
|
+
|
|
3236
|
+
exports.InvoiceKind = exports.$Enums.InvoiceKind = {
|
|
3237
|
+
PACKAGE: 'PACKAGE'
|
|
3238
|
+
};
|
|
3239
|
+
|
|
3240
|
+
exports.PaymentWebhookEventStatus = exports.$Enums.PaymentWebhookEventStatus = {
|
|
3241
|
+
RECEIVED: 'RECEIVED',
|
|
3242
|
+
PROCESSED: 'PROCESSED',
|
|
3243
|
+
FAILED: 'FAILED'
|
|
3244
|
+
};
|
|
3245
|
+
|
|
3130
3246
|
exports.ProctoringSessionStatus = exports.$Enums.ProctoringSessionStatus = {
|
|
3131
3247
|
NOT_STARTED: 'NOT_STARTED',
|
|
3132
3248
|
CALIBRATING: 'CALIBRATING',
|
|
@@ -3315,6 +3431,10 @@ exports.Prisma.ModelName = {
|
|
|
3315
3431
|
OpenJobAnalyticsDaily: 'OpenJobAnalyticsDaily',
|
|
3316
3432
|
Organisation: 'Organisation',
|
|
3317
3433
|
OrganisationConfig: 'OrganisationConfig',
|
|
3434
|
+
BillingTransaction: 'BillingTransaction',
|
|
3435
|
+
Invoice: 'Invoice',
|
|
3436
|
+
InvoiceSequence: 'InvoiceSequence',
|
|
3437
|
+
PaymentWebhookEvent: 'PaymentWebhookEvent',
|
|
3318
3438
|
Permission: 'Permission',
|
|
3319
3439
|
PipelineDistributionAnalytics: 'PipelineDistributionAnalytics',
|
|
3320
3440
|
PipelineDistributionAnalyticsDaily: 'PipelineDistributionAnalyticsDaily',
|