@adaptware/eagles-db 0.6.15 → 0.6.17

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.
@@ -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',
@@ -1589,6 +1590,77 @@ exports.Prisma.LicensingLedgerEntryScalarFieldEnum = {
1589
1590
  is_active: 'is_active'
1590
1591
  };
1591
1592
 
1593
+ exports.Prisma.SubscriptionPlanScalarFieldEnum = {
1594
+ id: 'id',
1595
+ name: 'name',
1596
+ currency: 'currency',
1597
+ amount: 'amount',
1598
+ billing_cycle: 'billing_cycle',
1599
+ type: 'type',
1600
+ trial_days: 'trial_days',
1601
+ grace_days: 'grace_days',
1602
+ created_at: 'created_at',
1603
+ updated_at: 'updated_at',
1604
+ created_by: 'created_by',
1605
+ updated_by: 'updated_by',
1606
+ is_active: 'is_active'
1607
+ };
1608
+
1609
+ exports.Prisma.PlatformSubscriptionScalarFieldEnum = {
1610
+ id: 'id',
1611
+ organisation_id: 'organisation_id',
1612
+ current_organisation_id: 'current_organisation_id',
1613
+ plan_id: 'plan_id',
1614
+ next_plan_id: 'next_plan_id',
1615
+ status: 'status',
1616
+ amount: 'amount',
1617
+ effective_start_date: 'effective_start_date',
1618
+ effective_end_date: 'effective_end_date',
1619
+ trial_ends_at: 'trial_ends_at',
1620
+ grace_days: 'grace_days',
1621
+ created_at: 'created_at',
1622
+ updated_at: 'updated_at',
1623
+ created_by: 'created_by',
1624
+ updated_by: 'updated_by',
1625
+ is_active: 'is_active'
1626
+ };
1627
+
1628
+ exports.Prisma.SubscriptionChargeScalarFieldEnum = {
1629
+ id: 'id',
1630
+ subscription_id: 'subscription_id',
1631
+ plan_id: 'plan_id',
1632
+ organisation_id: 'organisation_id',
1633
+ kind: 'kind',
1634
+ status: 'status',
1635
+ period_start: 'period_start',
1636
+ period_end: 'period_end',
1637
+ due_at: 'due_at',
1638
+ subscription_amount: 'subscription_amount',
1639
+ grace_amount: 'grace_amount',
1640
+ credit_amount: 'credit_amount',
1641
+ billing_transaction_id: 'billing_transaction_id',
1642
+ invoice_id: 'invoice_id',
1643
+ paid_at: 'paid_at',
1644
+ idempotency_key: 'idempotency_key',
1645
+ created_at: 'created_at',
1646
+ updated_at: 'updated_at',
1647
+ created_by: 'created_by',
1648
+ updated_by: 'updated_by'
1649
+ };
1650
+
1651
+ exports.Prisma.SubscriptionAccessRuleScalarFieldEnum = {
1652
+ id: 'id',
1653
+ route_pattern: 'route_pattern',
1654
+ http_method: 'http_method',
1655
+ audience: 'audience',
1656
+ description: 'description',
1657
+ created_at: 'created_at',
1658
+ updated_at: 'updated_at',
1659
+ created_by: 'created_by',
1660
+ updated_by: 'updated_by',
1661
+ is_active: 'is_active'
1662
+ };
1663
+
1592
1664
  exports.Prisma.PurchasedLicensePackageScalarFieldEnum = {
1593
1665
  id: 'id',
1594
1666
  organisation_id: 'organisation_id',
@@ -3119,6 +3191,43 @@ exports.LicensingLedgerReason = exports.$Enums.LicensingLedgerReason = {
3119
3191
  EXPIRY: 'EXPIRY'
3120
3192
  };
3121
3193
 
3194
+ exports.BillingCycle = exports.$Enums.BillingCycle = {
3195
+ MONTHLY: 'MONTHLY',
3196
+ ANNUAL: 'ANNUAL'
3197
+ };
3198
+
3199
+ exports.SubscriptionPlanType = exports.$Enums.SubscriptionPlanType = {
3200
+ TRIAL: 'TRIAL',
3201
+ REGULAR: 'REGULAR',
3202
+ INTERNAL: 'INTERNAL'
3203
+ };
3204
+
3205
+ exports.PlatformSubscriptionStatus = exports.$Enums.PlatformSubscriptionStatus = {
3206
+ TRIALING: 'TRIALING',
3207
+ ACTIVE: 'ACTIVE',
3208
+ PAST_DUE: 'PAST_DUE',
3209
+ SUSPENDED: 'SUSPENDED',
3210
+ CANCELLED: 'CANCELLED'
3211
+ };
3212
+
3213
+ exports.SubscriptionChargeKind = exports.$Enums.SubscriptionChargeKind = {
3214
+ RENEWAL: 'RENEWAL',
3215
+ CONVERSION: 'CONVERSION',
3216
+ REACTIVATION: 'REACTIVATION',
3217
+ UPGRADE: 'UPGRADE'
3218
+ };
3219
+
3220
+ exports.SubscriptionChargeStatus = exports.$Enums.SubscriptionChargeStatus = {
3221
+ OPEN: 'OPEN',
3222
+ PAID: 'PAID',
3223
+ VOID: 'VOID'
3224
+ };
3225
+
3226
+ exports.SubscriptionAccessAudience = exports.$Enums.SubscriptionAccessAudience = {
3227
+ ALL_USERS: 'ALL_USERS',
3228
+ ADMIN_ONLY: 'ADMIN_ONLY'
3229
+ };
3230
+
3122
3231
  exports.PurchasedLicensePackageStatus = exports.$Enums.PurchasedLicensePackageStatus = {
3123
3232
  ACTIVE: 'ACTIVE',
3124
3233
  EXPIRED: 'EXPIRED',
@@ -3205,7 +3314,8 @@ exports.HiringUnitAssignmentScope = exports.$Enums.HiringUnitAssignmentScope = {
3205
3314
  exports.BillingTransactionType = exports.$Enums.BillingTransactionType = {
3206
3315
  PURCHASE: 'PURCHASE',
3207
3316
  TOP_UP: 'TOP_UP',
3208
- REFUND: 'REFUND'
3317
+ REFUND: 'REFUND',
3318
+ SUBSCRIPTION: 'SUBSCRIPTION'
3209
3319
  };
3210
3320
 
3211
3321
  exports.BillingTransactionStatus = exports.$Enums.BillingTransactionStatus = {
@@ -3229,11 +3339,13 @@ exports.BillingTransactionFailureCategory = exports.$Enums.BillingTransactionFai
3229
3339
 
3230
3340
  exports.BillingPaymentMismatchStatus = exports.$Enums.BillingPaymentMismatchStatus = {
3231
3341
  DETECTED: 'DETECTED',
3232
- UNFULFILLED: 'UNFULFILLED'
3342
+ UNFULFILLED: 'UNFULFILLED',
3343
+ AMOUNT_MISMATCH: 'AMOUNT_MISMATCH'
3233
3344
  };
3234
3345
 
3235
3346
  exports.InvoiceKind = exports.$Enums.InvoiceKind = {
3236
- PACKAGE: 'PACKAGE'
3347
+ PACKAGE: 'PACKAGE',
3348
+ SUBSCRIPTION: 'SUBSCRIPTION'
3237
3349
  };
3238
3350
 
3239
3351
  exports.PaymentWebhookEventStatus = exports.$Enums.PaymentWebhookEventStatus = {
@@ -3412,6 +3524,10 @@ exports.Prisma.ModelName = {
3412
3524
  LicensePackage: 'LicensePackage',
3413
3525
  LicensePackageOrganisation: 'LicensePackageOrganisation',
3414
3526
  LicensingLedgerEntry: 'LicensingLedgerEntry',
3527
+ SubscriptionPlan: 'SubscriptionPlan',
3528
+ PlatformSubscription: 'PlatformSubscription',
3529
+ SubscriptionCharge: 'SubscriptionCharge',
3530
+ SubscriptionAccessRule: 'SubscriptionAccessRule',
3415
3531
  PurchasedLicensePackage: 'PurchasedLicensePackage',
3416
3532
  PurchasedHiringUnit: 'PurchasedHiringUnit',
3417
3533
  PurchasedTopUp: 'PurchasedTopUp',