@adaptware/eagles-db 0.5.50 → 0.5.52
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 +83 -4
- package/client/index-browser.js +80 -1
- package/client/index.d.ts +5405 -225
- package/client/index.js +83 -4
- package/client/package.json +1 -1
- package/client/schema.prisma +116 -0
- package/client/wasm.js +83 -4
- package/package.json +1 -1
- package/prisma/schema/integration.prisma +1 -0
- package/prisma/schema/organisation.prisma +2 -0
- package/prisma/schema/payment/billingTransaction.prisma +83 -0
- package/prisma/schema/payment/paymentWebhookEvent.prisma +28 -0
package/client/index-browser.js
CHANGED
|
@@ -1825,6 +1825,46 @@ exports.Prisma.OrganisationConfigScalarFieldEnum = {
|
|
|
1825
1825
|
updated_at: 'updated_at'
|
|
1826
1826
|
};
|
|
1827
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
|
+
|
|
1828
1868
|
exports.Prisma.PermissionScalarFieldEnum = {
|
|
1829
1869
|
id: 'id',
|
|
1830
1870
|
permissions: 'permissions',
|
|
@@ -2679,7 +2719,8 @@ exports.IntegrationProvider = exports.$Enums.IntegrationProvider = {
|
|
|
2679
2719
|
GOOGLE: 'GOOGLE',
|
|
2680
2720
|
MICROSOFT: 'MICROSOFT',
|
|
2681
2721
|
ZOOM: 'ZOOM',
|
|
2682
|
-
CALENDLY: 'CALENDLY'
|
|
2722
|
+
CALENDLY: 'CALENDLY',
|
|
2723
|
+
RAZORPAY: 'RAZORPAY'
|
|
2683
2724
|
};
|
|
2684
2725
|
|
|
2685
2726
|
exports.IntegrationAuthType = exports.$Enums.IntegrationAuthType = {
|
|
@@ -2892,6 +2933,42 @@ exports.HiringUnitAssignmentScope = exports.$Enums.HiringUnitAssignmentScope = {
|
|
|
2892
2933
|
ORGANISATION: 'ORGANISATION'
|
|
2893
2934
|
};
|
|
2894
2935
|
|
|
2936
|
+
exports.BillingTransactionType = exports.$Enums.BillingTransactionType = {
|
|
2937
|
+
PURCHASE: 'PURCHASE',
|
|
2938
|
+
TOP_UP: 'TOP_UP',
|
|
2939
|
+
REFUND: 'REFUND'
|
|
2940
|
+
};
|
|
2941
|
+
|
|
2942
|
+
exports.BillingTransactionStatus = exports.$Enums.BillingTransactionStatus = {
|
|
2943
|
+
INITIATED: 'INITIATED',
|
|
2944
|
+
ORDER_CREATED: 'ORDER_CREATED',
|
|
2945
|
+
PAYMENT_PENDING: 'PAYMENT_PENDING',
|
|
2946
|
+
SUCCESS: 'SUCCESS',
|
|
2947
|
+
FAILED: 'FAILED',
|
|
2948
|
+
CANCELLED: 'CANCELLED',
|
|
2949
|
+
REFUND_PENDING: 'REFUND_PENDING',
|
|
2950
|
+
REFUND_FAILED: 'REFUND_FAILED',
|
|
2951
|
+
REFUNDED: 'REFUNDED'
|
|
2952
|
+
};
|
|
2953
|
+
|
|
2954
|
+
exports.BillingTransactionFailureCategory = exports.$Enums.BillingTransactionFailureCategory = {
|
|
2955
|
+
RAZORPAY_ORDER: 'RAZORPAY_ORDER',
|
|
2956
|
+
RAZORPAY_PAYMENT: 'RAZORPAY_PAYMENT',
|
|
2957
|
+
REFUND: 'REFUND',
|
|
2958
|
+
INTERNAL: 'INTERNAL'
|
|
2959
|
+
};
|
|
2960
|
+
|
|
2961
|
+
exports.BillingPaymentMismatchStatus = exports.$Enums.BillingPaymentMismatchStatus = {
|
|
2962
|
+
DETECTED: 'DETECTED',
|
|
2963
|
+
UNFULFILLED: 'UNFULFILLED'
|
|
2964
|
+
};
|
|
2965
|
+
|
|
2966
|
+
exports.PaymentWebhookEventStatus = exports.$Enums.PaymentWebhookEventStatus = {
|
|
2967
|
+
RECEIVED: 'RECEIVED',
|
|
2968
|
+
PROCESSED: 'PROCESSED',
|
|
2969
|
+
FAILED: 'FAILED'
|
|
2970
|
+
};
|
|
2971
|
+
|
|
2895
2972
|
exports.AsyncOperationStatus = exports.$Enums.AsyncOperationStatus = {
|
|
2896
2973
|
PENDING: 'PENDING',
|
|
2897
2974
|
IN_PROGRESS: 'IN_PROGRESS',
|
|
@@ -3038,6 +3115,8 @@ exports.Prisma.ModelName = {
|
|
|
3038
3115
|
OpenJobAnalyticsDaily: 'OpenJobAnalyticsDaily',
|
|
3039
3116
|
Organisation: 'Organisation',
|
|
3040
3117
|
OrganisationConfig: 'OrganisationConfig',
|
|
3118
|
+
BillingTransaction: 'BillingTransaction',
|
|
3119
|
+
PaymentWebhookEvent: 'PaymentWebhookEvent',
|
|
3041
3120
|
Permission: 'Permission',
|
|
3042
3121
|
PipelineDistributionAnalytics: 'PipelineDistributionAnalytics',
|
|
3043
3122
|
PipelineDistributionAnalyticsDaily: 'PipelineDistributionAnalyticsDaily',
|