@adaptware/eagles-db 0.6.14 → 0.6.15

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.
@@ -1606,7 +1606,8 @@ exports.Prisma.PurchasedLicensePackageScalarFieldEnum = {
1606
1606
  updated_at: 'updated_at',
1607
1607
  created_by: 'created_by',
1608
1608
  updated_by: 'updated_by',
1609
- is_active: 'is_active'
1609
+ is_active: 'is_active',
1610
+ invoice_id: 'invoice_id'
1610
1611
  };
1611
1612
 
1612
1613
  exports.Prisma.PurchasedHiringUnitScalarFieldEnum = {
@@ -1942,6 +1943,8 @@ exports.Prisma.OrganisationScalarFieldEnum = {
1942
1943
  employee_sequence: 'employee_sequence',
1943
1944
  timezone: 'timezone',
1944
1945
  country_code: 'country_code',
1946
+ gstin: 'gstin',
1947
+ billing_currency: 'billing_currency',
1945
1948
  hiring_unit_assignment_scope: 'hiring_unit_assignment_scope'
1946
1949
  };
1947
1950
 
@@ -1954,6 +1957,77 @@ exports.Prisma.OrganisationConfigScalarFieldEnum = {
1954
1957
  updated_at: 'updated_at'
1955
1958
  };
1956
1959
 
1960
+ exports.Prisma.BillingTransactionScalarFieldEnum = {
1961
+ id: 'id',
1962
+ organisation_id: 'organisation_id',
1963
+ purchase_reference: 'purchase_reference',
1964
+ purchase_display_name: 'purchase_display_name',
1965
+ transaction_type: 'transaction_type',
1966
+ status: 'status',
1967
+ failure_category: 'failure_category',
1968
+ failure_reason: 'failure_reason',
1969
+ amount: 'amount',
1970
+ currency: 'currency',
1971
+ razorpay_order_id: 'razorpay_order_id',
1972
+ razorpay_payment_id: 'razorpay_payment_id',
1973
+ payment_method: 'payment_method',
1974
+ razorpay_subscription_id: 'razorpay_subscription_id',
1975
+ razorpay_refund_id: 'razorpay_refund_id',
1976
+ refund_reason: 'refund_reason',
1977
+ refund_amount: 'refund_amount',
1978
+ idempotency_key: 'idempotency_key',
1979
+ purchaser_email: 'purchaser_email',
1980
+ created_by: 'created_by',
1981
+ payment_mismatch_status: 'payment_mismatch_status',
1982
+ payment_mismatch_fulfilled_by_id: 'payment_mismatch_fulfilled_by_id',
1983
+ created_at: 'created_at',
1984
+ updated_at: 'updated_at'
1985
+ };
1986
+
1987
+ exports.Prisma.InvoiceScalarFieldEnum = {
1988
+ id: 'id',
1989
+ invoice_number: 'invoice_number',
1990
+ kind: 'kind',
1991
+ organisation_id: 'organisation_id',
1992
+ billing_transaction_id: 'billing_transaction_id',
1993
+ currency: 'currency',
1994
+ description: 'description',
1995
+ quantity: 'quantity',
1996
+ cost_amount: 'cost_amount',
1997
+ tax_amount: 'tax_amount',
1998
+ fee_amount: 'fee_amount',
1999
+ fee_tax_amount: 'fee_tax_amount',
2000
+ tax_rate_bps: 'tax_rate_bps',
2001
+ fee_rate_bps: 'fee_rate_bps',
2002
+ buyer_name: 'buyer_name',
2003
+ buyer_address: 'buyer_address',
2004
+ buyer_country_code: 'buyer_country_code',
2005
+ buyer_gstin: 'buyer_gstin',
2006
+ seller_snapshot: 'seller_snapshot',
2007
+ issued_at: 'issued_at',
2008
+ created_at: 'created_at',
2009
+ created_by: 'created_by'
2010
+ };
2011
+
2012
+ exports.Prisma.InvoiceSequenceScalarFieldEnum = {
2013
+ financial_year: 'financial_year',
2014
+ last_sequence: 'last_sequence',
2015
+ updated_at: 'updated_at'
2016
+ };
2017
+
2018
+ exports.Prisma.PaymentWebhookEventScalarFieldEnum = {
2019
+ id: 'id',
2020
+ organisation_id: 'organisation_id',
2021
+ provider: 'provider',
2022
+ provider_event_id: 'provider_event_id',
2023
+ event_type: 'event_type',
2024
+ status: 'status',
2025
+ billing_transaction_id: 'billing_transaction_id',
2026
+ error_message: 'error_message',
2027
+ processed_at: 'processed_at',
2028
+ created_at: 'created_at'
2029
+ };
2030
+
1957
2031
  exports.Prisma.PermissionScalarFieldEnum = {
1958
2032
  id: 'id',
1959
2033
  permissions: 'permissions',
@@ -2914,7 +2988,8 @@ exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
2914
2988
  GOOGLE: 'GOOGLE',
2915
2989
  MICROSOFT: 'MICROSOFT',
2916
2990
  ZOOM: 'ZOOM',
2917
- CALENDLY: 'CALENDLY'
2991
+ CALENDLY: 'CALENDLY',
2992
+ RAZORPAY: 'RAZORPAY'
2918
2993
  };
2919
2994
 
2920
2995
  exports.IntegrationAuthType = exports.$Enums.IntegrationAuthType = {
@@ -3127,6 +3202,46 @@ exports.HiringUnitAssignmentScope = exports.$Enums.HiringUnitAssignmentScope = {
3127
3202
  ORGANISATION: 'ORGANISATION'
3128
3203
  };
3129
3204
 
3205
+ exports.BillingTransactionType = exports.$Enums.BillingTransactionType = {
3206
+ PURCHASE: 'PURCHASE',
3207
+ TOP_UP: 'TOP_UP',
3208
+ REFUND: 'REFUND'
3209
+ };
3210
+
3211
+ exports.BillingTransactionStatus = exports.$Enums.BillingTransactionStatus = {
3212
+ INITIATED: 'INITIATED',
3213
+ ORDER_CREATED: 'ORDER_CREATED',
3214
+ PAYMENT_PENDING: 'PAYMENT_PENDING',
3215
+ SUCCESS: 'SUCCESS',
3216
+ FAILED: 'FAILED',
3217
+ CANCELLED: 'CANCELLED',
3218
+ REFUND_PENDING: 'REFUND_PENDING',
3219
+ REFUND_FAILED: 'REFUND_FAILED',
3220
+ REFUNDED: 'REFUNDED'
3221
+ };
3222
+
3223
+ exports.BillingTransactionFailureCategory = exports.$Enums.BillingTransactionFailureCategory = {
3224
+ ORDER: 'ORDER',
3225
+ PAYMENT: 'PAYMENT',
3226
+ REFUND: 'REFUND',
3227
+ INTERNAL: 'INTERNAL'
3228
+ };
3229
+
3230
+ exports.BillingPaymentMismatchStatus = exports.$Enums.BillingPaymentMismatchStatus = {
3231
+ DETECTED: 'DETECTED',
3232
+ UNFULFILLED: 'UNFULFILLED'
3233
+ };
3234
+
3235
+ exports.InvoiceKind = exports.$Enums.InvoiceKind = {
3236
+ PACKAGE: 'PACKAGE'
3237
+ };
3238
+
3239
+ exports.PaymentWebhookEventStatus = exports.$Enums.PaymentWebhookEventStatus = {
3240
+ RECEIVED: 'RECEIVED',
3241
+ PROCESSED: 'PROCESSED',
3242
+ FAILED: 'FAILED'
3243
+ };
3244
+
3130
3245
  exports.ProctoringSessionStatus = exports.$Enums.ProctoringSessionStatus = {
3131
3246
  NOT_STARTED: 'NOT_STARTED',
3132
3247
  CALIBRATING: 'CALIBRATING',
@@ -3315,6 +3430,10 @@ exports.Prisma.ModelName = {
3315
3430
  OpenJobAnalyticsDaily: 'OpenJobAnalyticsDaily',
3316
3431
  Organisation: 'Organisation',
3317
3432
  OrganisationConfig: 'OrganisationConfig',
3433
+ BillingTransaction: 'BillingTransaction',
3434
+ Invoice: 'Invoice',
3435
+ InvoiceSequence: 'InvoiceSequence',
3436
+ PaymentWebhookEvent: 'PaymentWebhookEvent',
3318
3437
  Permission: 'Permission',
3319
3438
  PipelineDistributionAnalytics: 'PipelineDistributionAnalytics',
3320
3439
  PipelineDistributionAnalyticsDaily: 'PipelineDistributionAnalyticsDaily',