@openora/core 0.4.1-canary.35 → 0.4.1-canary.37
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/dist/.tsbuildinfo +1 -1
- package/dist/analytics/__tests__/analytics.contract.test.d.ts +2 -0
- package/dist/analytics/__tests__/analytics.contract.test.d.ts.map +1 -0
- package/dist/analytics/__tests__/analytics.contract.test.js +24 -0
- package/dist/analytics/__tests__/analytics.contract.test.js.map +1 -0
- package/dist/analytics/__tests__/analytics.router.test.d.ts +2 -0
- package/dist/analytics/__tests__/analytics.router.test.d.ts.map +1 -0
- package/dist/analytics/__tests__/analytics.router.test.js +56 -0
- package/dist/analytics/__tests__/analytics.router.test.js.map +1 -0
- package/dist/analytics/__tests__/financial-analytics.service.test.d.ts +2 -0
- package/dist/analytics/__tests__/financial-analytics.service.test.d.ts.map +1 -0
- package/dist/analytics/__tests__/financial-analytics.service.test.js +87 -0
- package/dist/analytics/__tests__/financial-analytics.service.test.js.map +1 -0
- package/dist/analytics/__tests__/funnel-analytics.service.test.d.ts +2 -0
- package/dist/analytics/__tests__/funnel-analytics.service.test.d.ts.map +1 -0
- package/dist/analytics/__tests__/funnel-analytics.service.test.js +42 -0
- package/dist/analytics/__tests__/funnel-analytics.service.test.js.map +1 -0
- package/dist/analytics/contract/financial.d.ts +122 -0
- package/dist/analytics/contract/financial.d.ts.map +1 -0
- package/dist/analytics/contract/financial.js +47 -0
- package/dist/analytics/contract/financial.js.map +1 -0
- package/dist/analytics/contract/funnel.d.ts +52 -0
- package/dist/analytics/contract/funnel.d.ts.map +1 -0
- package/dist/analytics/contract/funnel.js +24 -0
- package/dist/analytics/contract/funnel.js.map +1 -0
- package/dist/analytics/contract/index.d.ts +68 -0
- package/dist/analytics/contract/index.d.ts.map +1 -0
- package/dist/analytics/contract/index.js +9 -0
- package/dist/analytics/contract/index.js.map +1 -0
- package/dist/analytics/index.d.ts +2 -0
- package/dist/analytics/index.d.ts.map +1 -0
- package/dist/analytics/index.js +2 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/analytics/plugin.d.ts +3 -0
- package/dist/analytics/plugin.d.ts.map +1 -0
- package/dist/analytics/plugin.js +13 -0
- package/dist/analytics/plugin.js.map +1 -0
- package/dist/analytics/router/index.d.ts +69 -0
- package/dist/analytics/router/index.d.ts.map +1 -0
- package/dist/analytics/router/index.js +24 -0
- package/dist/analytics/router/index.js.map +1 -0
- package/dist/analytics/server.d.ts +5 -0
- package/dist/analytics/server.d.ts.map +1 -0
- package/dist/analytics/server.js +5 -0
- package/dist/analytics/server.js.map +1 -0
- package/dist/analytics/service/financial-analytics.service.d.ts +14 -0
- package/dist/analytics/service/financial-analytics.service.d.ts.map +1 -0
- package/dist/analytics/service/financial-analytics.service.js +148 -0
- package/dist/analytics/service/financial-analytics.service.js.map +1 -0
- package/dist/analytics/service/funnel-analytics.service.d.ts +11 -0
- package/dist/analytics/service/funnel-analytics.service.d.ts.map +1 -0
- package/dist/analytics/service/funnel-analytics.service.js +86 -0
- package/dist/analytics/service/funnel-analytics.service.js.map +1 -0
- package/dist/audit/plugin.d.ts.map +1 -1
- package/dist/audit/plugin.js +4 -2
- package/dist/audit/plugin.js.map +1 -1
- package/dist/audit/service/audit.service.d.ts +2 -2
- package/dist/casino/gaming/__tests__/gaming.service.test.js +77 -14
- package/dist/casino/gaming/__tests__/gaming.service.test.js.map +1 -1
- package/dist/casino/gaming/contract/index.d.ts +3 -0
- package/dist/casino/gaming/contract/index.d.ts.map +1 -1
- package/dist/casino/gaming/contract/index.js +4 -0
- package/dist/casino/gaming/contract/index.js.map +1 -1
- package/dist/casino/gaming/plugin.d.ts.map +1 -1
- package/dist/casino/gaming/plugin.js +4 -2
- package/dist/casino/gaming/plugin.js.map +1 -1
- package/dist/casino/gaming/router/index.d.ts +1 -0
- package/dist/casino/gaming/router/index.d.ts.map +1 -1
- package/dist/casino/gaming/router/index.js +6 -2
- package/dist/casino/gaming/router/index.js.map +1 -1
- package/dist/casino/gaming/service/gaming.service.d.ts +7 -3
- package/dist/casino/gaming/service/gaming.service.d.ts.map +1 -1
- package/dist/casino/gaming/service/gaming.service.js +32 -12
- package/dist/casino/gaming/service/gaming.service.js.map +1 -1
- package/dist/compliance/__tests__/rg.contract.test.js +8 -1
- package/dist/compliance/__tests__/rg.contract.test.js.map +1 -1
- package/dist/compliance/__tests__/rg.router.test.js +35 -1
- package/dist/compliance/__tests__/rg.router.test.js.map +1 -1
- package/dist/compliance/__tests__/rg.service.test.js +73 -1
- package/dist/compliance/__tests__/rg.service.test.js.map +1 -1
- package/dist/compliance/contract/index.d.ts +26 -0
- package/dist/compliance/contract/index.d.ts.map +1 -1
- package/dist/compliance/contract/rg.d.ts +31 -0
- package/dist/compliance/contract/rg.d.ts.map +1 -1
- package/dist/compliance/contract/rg.js +8 -0
- package/dist/compliance/contract/rg.js.map +1 -1
- package/dist/compliance/plugin.d.ts.map +1 -1
- package/dist/compliance/plugin.js +2 -1
- package/dist/compliance/plugin.js.map +1 -1
- package/dist/compliance/router/index.d.ts +26 -0
- package/dist/compliance/router/index.d.ts.map +1 -1
- package/dist/compliance/router/index.js +4 -0
- package/dist/compliance/router/index.js.map +1 -1
- package/dist/compliance/service/rg.service.d.ts +11 -2
- package/dist/compliance/service/rg.service.d.ts.map +1 -1
- package/dist/compliance/service/rg.service.js +54 -12
- package/dist/compliance/service/rg.service.js.map +1 -1
- package/dist/contracts/adapters/admin-user-directory.d.ts +1 -0
- package/dist/contracts/adapters/admin-user-directory.d.ts.map +1 -1
- package/dist/contracts/adapters/admin-user-directory.js.map +1 -1
- package/dist/contracts/adapters/email-template.d.ts +15 -1
- package/dist/contracts/adapters/email-template.d.ts.map +1 -1
- package/dist/contracts/adapters/email-template.js +29 -0
- package/dist/contracts/adapters/email-template.js.map +1 -1
- package/dist/contracts/adapters/index.d.ts +2 -0
- package/dist/contracts/adapters/index.d.ts.map +1 -1
- package/dist/contracts/adapters/index.js +1 -0
- package/dist/contracts/adapters/index.js.map +1 -1
- package/dist/contracts/adapters/play-eligibility.d.ts +15 -0
- package/dist/contracts/adapters/play-eligibility.d.ts.map +1 -0
- package/dist/contracts/adapters/play-eligibility.js +3 -0
- package/dist/contracts/adapters/play-eligibility.js.map +1 -0
- package/dist/contracts/schemas/events.d.ts +9 -0
- package/dist/contracts/schemas/events.d.ts.map +1 -1
- package/dist/contracts/schemas/events.js +8 -1
- package/dist/contracts/schemas/events.js.map +1 -1
- package/dist/contracts/schemas/index.d.ts +1 -0
- package/dist/contracts/schemas/index.d.ts.map +1 -1
- package/dist/contracts/schemas/index.js +1 -0
- package/dist/contracts/schemas/index.js.map +1 -1
- package/dist/contracts/schemas/reporting.d.ts +15 -0
- package/dist/contracts/schemas/reporting.d.ts.map +1 -0
- package/dist/contracts/schemas/reporting.js +12 -0
- package/dist/contracts/schemas/reporting.js.map +1 -0
- package/dist/iam/service/iam.service.d.ts +1 -1
- package/dist/pam/identity/__tests__/play-eligibility.test.d.ts +2 -0
- package/dist/pam/identity/__tests__/play-eligibility.test.d.ts.map +1 -0
- package/dist/pam/identity/__tests__/play-eligibility.test.js +30 -0
- package/dist/pam/identity/__tests__/play-eligibility.test.js.map +1 -0
- package/dist/pam/identity/admin-user-directory.d.ts +2 -1
- package/dist/pam/identity/admin-user-directory.d.ts.map +1 -1
- package/dist/pam/identity/admin-user-directory.js +2 -3
- package/dist/pam/identity/admin-user-directory.js.map +1 -1
- package/dist/pam/identity/drizzle/migrations/0005_daily_black_tom.sql +1 -0
- package/dist/pam/identity/drizzle/migrations/meta/0005_snapshot.json +695 -0
- package/dist/pam/identity/drizzle/migrations/meta/_journal.json +7 -0
- package/dist/pam/identity/plugin.d.ts.map +1 -1
- package/dist/pam/identity/plugin.js +3 -1
- package/dist/pam/identity/plugin.js.map +1 -1
- package/dist/pam/identity/schema/index.d.ts.map +1 -1
- package/dist/pam/identity/schema/index.js +4 -1
- package/dist/pam/identity/schema/index.js.map +1 -1
- package/dist/pam/identity/service/play-eligibility.service.d.ts +8 -0
- package/dist/pam/identity/service/play-eligibility.service.d.ts.map +1 -0
- package/dist/pam/identity/service/play-eligibility.service.js +21 -0
- package/dist/pam/identity/service/play-eligibility.service.js.map +1 -0
- package/dist/server/plugin-host/core-plugins.d.ts.map +1 -1
- package/dist/server/plugin-host/core-plugins.js +1 -0
- package/dist/server/plugin-host/core-plugins.js.map +1 -1
- package/dist/wallet/__tests__/wallet-commands.service.test.js +21 -3
- package/dist/wallet/__tests__/wallet-commands.service.test.js.map +1 -1
- package/dist/wallet/drizzle/migrations/0003_certain_ogun.sql +2 -0
- package/dist/wallet/drizzle/migrations/meta/0003_snapshot.json +567 -0
- package/dist/wallet/drizzle/migrations/meta/_journal.json +7 -0
- package/dist/wallet/plugin.d.ts.map +1 -1
- package/dist/wallet/plugin.js +2 -2
- package/dist/wallet/plugin.js.map +1 -1
- package/dist/wallet/schema/index.d.ts.map +1 -1
- package/dist/wallet/schema/index.js +2 -0
- package/dist/wallet/schema/index.js.map +1 -1
- package/dist/wallet/service/wallet-commands.service.d.ts +4 -1
- package/dist/wallet/service/wallet-commands.service.d.ts.map +1 -1
- package/dist/wallet/service/wallet-commands.service.js +9 -1
- package/dist/wallet/service/wallet-commands.service.js.map +1 -1
- package/package.json +21 -1
|
@@ -0,0 +1,567 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "dc212a38-53e8-4ed3-9b0b-4e6eb50d9477",
|
|
3
|
+
"prevId": "726e1ddb-ace9-4680-8f91-9708c79b80d5",
|
|
4
|
+
"version": "7",
|
|
5
|
+
"dialect": "postgresql",
|
|
6
|
+
"tables": {
|
|
7
|
+
"public.auto_withdrawal_rule": {
|
|
8
|
+
"name": "auto_withdrawal_rule",
|
|
9
|
+
"schema": "",
|
|
10
|
+
"columns": {
|
|
11
|
+
"id": {
|
|
12
|
+
"name": "id",
|
|
13
|
+
"type": "uuid",
|
|
14
|
+
"primaryKey": true,
|
|
15
|
+
"notNull": true,
|
|
16
|
+
"default": "gen_random_uuid()"
|
|
17
|
+
},
|
|
18
|
+
"user_id": {
|
|
19
|
+
"name": "user_id",
|
|
20
|
+
"type": "uuid",
|
|
21
|
+
"primaryKey": false,
|
|
22
|
+
"notNull": true
|
|
23
|
+
},
|
|
24
|
+
"threshold": {
|
|
25
|
+
"name": "threshold",
|
|
26
|
+
"type": "numeric(18, 8)",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true
|
|
29
|
+
},
|
|
30
|
+
"reason": {
|
|
31
|
+
"name": "reason",
|
|
32
|
+
"type": "text",
|
|
33
|
+
"primaryKey": false,
|
|
34
|
+
"notNull": true
|
|
35
|
+
},
|
|
36
|
+
"created_by": {
|
|
37
|
+
"name": "created_by",
|
|
38
|
+
"type": "uuid",
|
|
39
|
+
"primaryKey": false,
|
|
40
|
+
"notNull": true
|
|
41
|
+
},
|
|
42
|
+
"created_at": {
|
|
43
|
+
"name": "created_at",
|
|
44
|
+
"type": "timestamp with time zone",
|
|
45
|
+
"primaryKey": false,
|
|
46
|
+
"notNull": true,
|
|
47
|
+
"default": "now()"
|
|
48
|
+
},
|
|
49
|
+
"updated_at": {
|
|
50
|
+
"name": "updated_at",
|
|
51
|
+
"type": "timestamp with time zone",
|
|
52
|
+
"primaryKey": false,
|
|
53
|
+
"notNull": true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"indexes": {},
|
|
57
|
+
"foreignKeys": {},
|
|
58
|
+
"compositePrimaryKeys": {},
|
|
59
|
+
"uniqueConstraints": {
|
|
60
|
+
"auto_withdrawal_rule_user_id_unique": {
|
|
61
|
+
"name": "auto_withdrawal_rule_user_id_unique",
|
|
62
|
+
"nullsNotDistinct": false,
|
|
63
|
+
"columns": ["user_id"]
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"policies": {},
|
|
67
|
+
"checkConstraints": {},
|
|
68
|
+
"isRLSEnabled": false
|
|
69
|
+
},
|
|
70
|
+
"public.wallet": {
|
|
71
|
+
"name": "wallet",
|
|
72
|
+
"schema": "",
|
|
73
|
+
"columns": {
|
|
74
|
+
"id": {
|
|
75
|
+
"name": "id",
|
|
76
|
+
"type": "uuid",
|
|
77
|
+
"primaryKey": true,
|
|
78
|
+
"notNull": true,
|
|
79
|
+
"default": "gen_random_uuid()"
|
|
80
|
+
},
|
|
81
|
+
"user_id": {
|
|
82
|
+
"name": "user_id",
|
|
83
|
+
"type": "uuid",
|
|
84
|
+
"primaryKey": false,
|
|
85
|
+
"notNull": true
|
|
86
|
+
},
|
|
87
|
+
"balance": {
|
|
88
|
+
"name": "balance",
|
|
89
|
+
"type": "numeric(18, 8)",
|
|
90
|
+
"primaryKey": false,
|
|
91
|
+
"notNull": true,
|
|
92
|
+
"default": "'0'"
|
|
93
|
+
},
|
|
94
|
+
"currency": {
|
|
95
|
+
"name": "currency",
|
|
96
|
+
"type": "text",
|
|
97
|
+
"primaryKey": false,
|
|
98
|
+
"notNull": true,
|
|
99
|
+
"default": "'USD'"
|
|
100
|
+
},
|
|
101
|
+
"updated_at": {
|
|
102
|
+
"name": "updated_at",
|
|
103
|
+
"type": "timestamp with time zone",
|
|
104
|
+
"primaryKey": false,
|
|
105
|
+
"notNull": true
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"indexes": {},
|
|
109
|
+
"foreignKeys": {},
|
|
110
|
+
"compositePrimaryKeys": {},
|
|
111
|
+
"uniqueConstraints": {
|
|
112
|
+
"wallet_user_id_unique": {
|
|
113
|
+
"name": "wallet_user_id_unique",
|
|
114
|
+
"nullsNotDistinct": false,
|
|
115
|
+
"columns": ["user_id"]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"policies": {},
|
|
119
|
+
"checkConstraints": {},
|
|
120
|
+
"isRLSEnabled": false
|
|
121
|
+
},
|
|
122
|
+
"public.wallet_deposit_address": {
|
|
123
|
+
"name": "wallet_deposit_address",
|
|
124
|
+
"schema": "",
|
|
125
|
+
"columns": {
|
|
126
|
+
"id": {
|
|
127
|
+
"name": "id",
|
|
128
|
+
"type": "uuid",
|
|
129
|
+
"primaryKey": true,
|
|
130
|
+
"notNull": true,
|
|
131
|
+
"default": "gen_random_uuid()"
|
|
132
|
+
},
|
|
133
|
+
"user_id": {
|
|
134
|
+
"name": "user_id",
|
|
135
|
+
"type": "uuid",
|
|
136
|
+
"primaryKey": false,
|
|
137
|
+
"notNull": true
|
|
138
|
+
},
|
|
139
|
+
"currency": {
|
|
140
|
+
"name": "currency",
|
|
141
|
+
"type": "text",
|
|
142
|
+
"primaryKey": false,
|
|
143
|
+
"notNull": true
|
|
144
|
+
},
|
|
145
|
+
"address": {
|
|
146
|
+
"name": "address",
|
|
147
|
+
"type": "text",
|
|
148
|
+
"primaryKey": false,
|
|
149
|
+
"notNull": true
|
|
150
|
+
},
|
|
151
|
+
"provider_name": {
|
|
152
|
+
"name": "provider_name",
|
|
153
|
+
"type": "text",
|
|
154
|
+
"primaryKey": false,
|
|
155
|
+
"notNull": true
|
|
156
|
+
},
|
|
157
|
+
"created_at": {
|
|
158
|
+
"name": "created_at",
|
|
159
|
+
"type": "timestamp with time zone",
|
|
160
|
+
"primaryKey": false,
|
|
161
|
+
"notNull": true,
|
|
162
|
+
"default": "now()"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"indexes": {
|
|
166
|
+
"wallet_deposit_address_user_id_currency_idx": {
|
|
167
|
+
"name": "wallet_deposit_address_user_id_currency_idx",
|
|
168
|
+
"columns": [
|
|
169
|
+
{
|
|
170
|
+
"expression": "user_id",
|
|
171
|
+
"isExpression": false,
|
|
172
|
+
"asc": true,
|
|
173
|
+
"nulls": "last"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"expression": "currency",
|
|
177
|
+
"isExpression": false,
|
|
178
|
+
"asc": true,
|
|
179
|
+
"nulls": "last"
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
"isUnique": true,
|
|
183
|
+
"concurrently": false,
|
|
184
|
+
"method": "btree",
|
|
185
|
+
"with": {}
|
|
186
|
+
},
|
|
187
|
+
"wallet_deposit_address_address_idx": {
|
|
188
|
+
"name": "wallet_deposit_address_address_idx",
|
|
189
|
+
"columns": [
|
|
190
|
+
{
|
|
191
|
+
"expression": "address",
|
|
192
|
+
"isExpression": false,
|
|
193
|
+
"asc": true,
|
|
194
|
+
"nulls": "last"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"isUnique": false,
|
|
198
|
+
"concurrently": false,
|
|
199
|
+
"method": "btree",
|
|
200
|
+
"with": {}
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"foreignKeys": {},
|
|
204
|
+
"compositePrimaryKeys": {},
|
|
205
|
+
"uniqueConstraints": {},
|
|
206
|
+
"policies": {},
|
|
207
|
+
"checkConstraints": {},
|
|
208
|
+
"isRLSEnabled": false
|
|
209
|
+
},
|
|
210
|
+
"public.wallet_transaction": {
|
|
211
|
+
"name": "wallet_transaction",
|
|
212
|
+
"schema": "",
|
|
213
|
+
"columns": {
|
|
214
|
+
"id": {
|
|
215
|
+
"name": "id",
|
|
216
|
+
"type": "uuid",
|
|
217
|
+
"primaryKey": true,
|
|
218
|
+
"notNull": true,
|
|
219
|
+
"default": "gen_random_uuid()"
|
|
220
|
+
},
|
|
221
|
+
"wallet_id": {
|
|
222
|
+
"name": "wallet_id",
|
|
223
|
+
"type": "uuid",
|
|
224
|
+
"primaryKey": false,
|
|
225
|
+
"notNull": true
|
|
226
|
+
},
|
|
227
|
+
"type": {
|
|
228
|
+
"name": "type",
|
|
229
|
+
"type": "wallet_transaction_type",
|
|
230
|
+
"typeSchema": "public",
|
|
231
|
+
"primaryKey": false,
|
|
232
|
+
"notNull": true
|
|
233
|
+
},
|
|
234
|
+
"amount": {
|
|
235
|
+
"name": "amount",
|
|
236
|
+
"type": "numeric(18, 8)",
|
|
237
|
+
"primaryKey": false,
|
|
238
|
+
"notNull": true
|
|
239
|
+
},
|
|
240
|
+
"currency": {
|
|
241
|
+
"name": "currency",
|
|
242
|
+
"type": "text",
|
|
243
|
+
"primaryKey": false,
|
|
244
|
+
"notNull": true
|
|
245
|
+
},
|
|
246
|
+
"status": {
|
|
247
|
+
"name": "status",
|
|
248
|
+
"type": "wallet_transaction_status",
|
|
249
|
+
"typeSchema": "public",
|
|
250
|
+
"primaryKey": false,
|
|
251
|
+
"notNull": true,
|
|
252
|
+
"default": "'pending'"
|
|
253
|
+
},
|
|
254
|
+
"rail": {
|
|
255
|
+
"name": "rail",
|
|
256
|
+
"type": "wallet_rail",
|
|
257
|
+
"typeSchema": "public",
|
|
258
|
+
"primaryKey": false,
|
|
259
|
+
"notNull": false
|
|
260
|
+
},
|
|
261
|
+
"reviewed_by": {
|
|
262
|
+
"name": "reviewed_by",
|
|
263
|
+
"type": "uuid",
|
|
264
|
+
"primaryKey": false,
|
|
265
|
+
"notNull": false
|
|
266
|
+
},
|
|
267
|
+
"reviewed_at": {
|
|
268
|
+
"name": "reviewed_at",
|
|
269
|
+
"type": "timestamp with time zone",
|
|
270
|
+
"primaryKey": false,
|
|
271
|
+
"notNull": false
|
|
272
|
+
},
|
|
273
|
+
"review_reason": {
|
|
274
|
+
"name": "review_reason",
|
|
275
|
+
"type": "text",
|
|
276
|
+
"primaryKey": false,
|
|
277
|
+
"notNull": false
|
|
278
|
+
},
|
|
279
|
+
"provider_name": {
|
|
280
|
+
"name": "provider_name",
|
|
281
|
+
"type": "text",
|
|
282
|
+
"primaryKey": false,
|
|
283
|
+
"notNull": false
|
|
284
|
+
},
|
|
285
|
+
"provider_ref_id": {
|
|
286
|
+
"name": "provider_ref_id",
|
|
287
|
+
"type": "text",
|
|
288
|
+
"primaryKey": false,
|
|
289
|
+
"notNull": false
|
|
290
|
+
},
|
|
291
|
+
"destination_address": {
|
|
292
|
+
"name": "destination_address",
|
|
293
|
+
"type": "text",
|
|
294
|
+
"primaryKey": false,
|
|
295
|
+
"notNull": false
|
|
296
|
+
},
|
|
297
|
+
"tx_hash": {
|
|
298
|
+
"name": "tx_hash",
|
|
299
|
+
"type": "text",
|
|
300
|
+
"primaryKey": false,
|
|
301
|
+
"notNull": false
|
|
302
|
+
},
|
|
303
|
+
"metadata": {
|
|
304
|
+
"name": "metadata",
|
|
305
|
+
"type": "text",
|
|
306
|
+
"primaryKey": false,
|
|
307
|
+
"notNull": false
|
|
308
|
+
},
|
|
309
|
+
"idempotency_key": {
|
|
310
|
+
"name": "idempotency_key",
|
|
311
|
+
"type": "uuid",
|
|
312
|
+
"primaryKey": false,
|
|
313
|
+
"notNull": false
|
|
314
|
+
},
|
|
315
|
+
"created_at": {
|
|
316
|
+
"name": "created_at",
|
|
317
|
+
"type": "timestamp with time zone",
|
|
318
|
+
"primaryKey": false,
|
|
319
|
+
"notNull": true,
|
|
320
|
+
"default": "now()"
|
|
321
|
+
}
|
|
322
|
+
},
|
|
323
|
+
"indexes": {
|
|
324
|
+
"wallet_transaction_wallet_id_idx": {
|
|
325
|
+
"name": "wallet_transaction_wallet_id_idx",
|
|
326
|
+
"columns": [
|
|
327
|
+
{
|
|
328
|
+
"expression": "wallet_id",
|
|
329
|
+
"isExpression": false,
|
|
330
|
+
"asc": true,
|
|
331
|
+
"nulls": "last"
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"isUnique": false,
|
|
335
|
+
"concurrently": false,
|
|
336
|
+
"method": "btree",
|
|
337
|
+
"with": {}
|
|
338
|
+
},
|
|
339
|
+
"wallet_transaction_created_at_idx": {
|
|
340
|
+
"name": "wallet_transaction_created_at_idx",
|
|
341
|
+
"columns": [
|
|
342
|
+
{
|
|
343
|
+
"expression": "created_at",
|
|
344
|
+
"isExpression": false,
|
|
345
|
+
"asc": true,
|
|
346
|
+
"nulls": "last"
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"isUnique": false,
|
|
350
|
+
"concurrently": false,
|
|
351
|
+
"method": "btree",
|
|
352
|
+
"with": {}
|
|
353
|
+
},
|
|
354
|
+
"wallet_transaction_type_idx": {
|
|
355
|
+
"name": "wallet_transaction_type_idx",
|
|
356
|
+
"columns": [
|
|
357
|
+
{
|
|
358
|
+
"expression": "type",
|
|
359
|
+
"isExpression": false,
|
|
360
|
+
"asc": true,
|
|
361
|
+
"nulls": "last"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"isUnique": false,
|
|
365
|
+
"concurrently": false,
|
|
366
|
+
"method": "btree",
|
|
367
|
+
"with": {}
|
|
368
|
+
},
|
|
369
|
+
"wallet_transaction_status_idx": {
|
|
370
|
+
"name": "wallet_transaction_status_idx",
|
|
371
|
+
"columns": [
|
|
372
|
+
{
|
|
373
|
+
"expression": "status",
|
|
374
|
+
"isExpression": false,
|
|
375
|
+
"asc": true,
|
|
376
|
+
"nulls": "last"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"isUnique": false,
|
|
380
|
+
"concurrently": false,
|
|
381
|
+
"method": "btree",
|
|
382
|
+
"with": {}
|
|
383
|
+
},
|
|
384
|
+
"wallet_transaction_rail_idx": {
|
|
385
|
+
"name": "wallet_transaction_rail_idx",
|
|
386
|
+
"columns": [
|
|
387
|
+
{
|
|
388
|
+
"expression": "rail",
|
|
389
|
+
"isExpression": false,
|
|
390
|
+
"asc": true,
|
|
391
|
+
"nulls": "last"
|
|
392
|
+
}
|
|
393
|
+
],
|
|
394
|
+
"isUnique": false,
|
|
395
|
+
"concurrently": false,
|
|
396
|
+
"method": "btree",
|
|
397
|
+
"with": {}
|
|
398
|
+
},
|
|
399
|
+
"wallet_transaction_currency_idx": {
|
|
400
|
+
"name": "wallet_transaction_currency_idx",
|
|
401
|
+
"columns": [
|
|
402
|
+
{
|
|
403
|
+
"expression": "currency",
|
|
404
|
+
"isExpression": false,
|
|
405
|
+
"asc": true,
|
|
406
|
+
"nulls": "last"
|
|
407
|
+
}
|
|
408
|
+
],
|
|
409
|
+
"isUnique": false,
|
|
410
|
+
"concurrently": false,
|
|
411
|
+
"method": "btree",
|
|
412
|
+
"with": {}
|
|
413
|
+
},
|
|
414
|
+
"wallet_transaction_tx_hash_idx": {
|
|
415
|
+
"name": "wallet_transaction_tx_hash_idx",
|
|
416
|
+
"columns": [
|
|
417
|
+
{
|
|
418
|
+
"expression": "tx_hash",
|
|
419
|
+
"isExpression": false,
|
|
420
|
+
"asc": true,
|
|
421
|
+
"nulls": "last"
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
"isUnique": false,
|
|
425
|
+
"concurrently": false,
|
|
426
|
+
"method": "btree",
|
|
427
|
+
"with": {}
|
|
428
|
+
},
|
|
429
|
+
"wallet_transaction_status_type_created_at_idx": {
|
|
430
|
+
"name": "wallet_transaction_status_type_created_at_idx",
|
|
431
|
+
"columns": [
|
|
432
|
+
{
|
|
433
|
+
"expression": "status",
|
|
434
|
+
"isExpression": false,
|
|
435
|
+
"asc": true,
|
|
436
|
+
"nulls": "last"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"expression": "type",
|
|
440
|
+
"isExpression": false,
|
|
441
|
+
"asc": true,
|
|
442
|
+
"nulls": "last"
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"expression": "created_at",
|
|
446
|
+
"isExpression": false,
|
|
447
|
+
"asc": true,
|
|
448
|
+
"nulls": "last"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"isUnique": false,
|
|
452
|
+
"concurrently": false,
|
|
453
|
+
"method": "btree",
|
|
454
|
+
"with": {}
|
|
455
|
+
},
|
|
456
|
+
"wallet_transaction_wallet_id_type_status_idx": {
|
|
457
|
+
"name": "wallet_transaction_wallet_id_type_status_idx",
|
|
458
|
+
"columns": [
|
|
459
|
+
{
|
|
460
|
+
"expression": "wallet_id",
|
|
461
|
+
"isExpression": false,
|
|
462
|
+
"asc": true,
|
|
463
|
+
"nulls": "last"
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"expression": "type",
|
|
467
|
+
"isExpression": false,
|
|
468
|
+
"asc": true,
|
|
469
|
+
"nulls": "last"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"expression": "status",
|
|
473
|
+
"isExpression": false,
|
|
474
|
+
"asc": true,
|
|
475
|
+
"nulls": "last"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"isUnique": false,
|
|
479
|
+
"concurrently": false,
|
|
480
|
+
"method": "btree",
|
|
481
|
+
"with": {}
|
|
482
|
+
},
|
|
483
|
+
"wallet_transaction_provider_ref_id_idx": {
|
|
484
|
+
"name": "wallet_transaction_provider_ref_id_idx",
|
|
485
|
+
"columns": [
|
|
486
|
+
{
|
|
487
|
+
"expression": "provider_ref_id",
|
|
488
|
+
"isExpression": false,
|
|
489
|
+
"asc": true,
|
|
490
|
+
"nulls": "last"
|
|
491
|
+
}
|
|
492
|
+
],
|
|
493
|
+
"isUnique": true,
|
|
494
|
+
"where": "\"wallet_transaction\".\"provider_ref_id\" IS NOT NULL",
|
|
495
|
+
"concurrently": false,
|
|
496
|
+
"method": "btree",
|
|
497
|
+
"with": {}
|
|
498
|
+
},
|
|
499
|
+
"wallet_transaction_wallet_id_idempotency_key_idx": {
|
|
500
|
+
"name": "wallet_transaction_wallet_id_idempotency_key_idx",
|
|
501
|
+
"columns": [
|
|
502
|
+
{
|
|
503
|
+
"expression": "wallet_id",
|
|
504
|
+
"isExpression": false,
|
|
505
|
+
"asc": true,
|
|
506
|
+
"nulls": "last"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"expression": "idempotency_key",
|
|
510
|
+
"isExpression": false,
|
|
511
|
+
"asc": true,
|
|
512
|
+
"nulls": "last"
|
|
513
|
+
}
|
|
514
|
+
],
|
|
515
|
+
"isUnique": true,
|
|
516
|
+
"where": "\"wallet_transaction\".\"idempotency_key\" IS NOT NULL",
|
|
517
|
+
"concurrently": false,
|
|
518
|
+
"method": "btree",
|
|
519
|
+
"with": {}
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"foreignKeys": {
|
|
523
|
+
"wallet_transaction_wallet_id_wallet_id_fk": {
|
|
524
|
+
"name": "wallet_transaction_wallet_id_wallet_id_fk",
|
|
525
|
+
"tableFrom": "wallet_transaction",
|
|
526
|
+
"tableTo": "wallet",
|
|
527
|
+
"columnsFrom": ["wallet_id"],
|
|
528
|
+
"columnsTo": ["id"],
|
|
529
|
+
"onDelete": "no action",
|
|
530
|
+
"onUpdate": "no action"
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
"compositePrimaryKeys": {},
|
|
534
|
+
"uniqueConstraints": {},
|
|
535
|
+
"policies": {},
|
|
536
|
+
"checkConstraints": {},
|
|
537
|
+
"isRLSEnabled": false
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"enums": {
|
|
541
|
+
"public.wallet_rail": {
|
|
542
|
+
"name": "wallet_rail",
|
|
543
|
+
"schema": "public",
|
|
544
|
+
"values": ["crypto", "fiat"]
|
|
545
|
+
},
|
|
546
|
+
"public.wallet_transaction_status": {
|
|
547
|
+
"name": "wallet_transaction_status",
|
|
548
|
+
"schema": "public",
|
|
549
|
+
"values": ["pending", "processing", "completed", "failed", "rejected", "on_hold", "cancelled"]
|
|
550
|
+
},
|
|
551
|
+
"public.wallet_transaction_type": {
|
|
552
|
+
"name": "wallet_transaction_type",
|
|
553
|
+
"schema": "public",
|
|
554
|
+
"values": ["deposit", "withdrawal", "bet", "win", "loss", "bonus", "tip"]
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
"schemas": {},
|
|
558
|
+
"sequences": {},
|
|
559
|
+
"roles": {},
|
|
560
|
+
"policies": {},
|
|
561
|
+
"views": {},
|
|
562
|
+
"_meta": {
|
|
563
|
+
"columns": {},
|
|
564
|
+
"schemas": {},
|
|
565
|
+
"tables": {}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/wallet/plugin.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/wallet/plugin.ts"],"names":[],"mappings":";AAuBA,wBAyCG"}
|
package/dist/wallet/plugin.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { definePlugin, ADMIN_GUARD, EVENT_BUS, DRIZZLE } from '@openora/core/server';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { ADMIN_USER_DIRECTORY, ADMIN_WALLET_REPORTING, PAYMENT_ADAPTER, PAYMENT_WEBHOOK_VERIFIER, WALLET_COMMANDS, WALLET_READER, PLATFORM_CONFIG, RATE_LIMITER, PLAYER_TAGS, AUDIT_WRITER, } from '@openora/core/contracts';
|
|
3
|
+
import { ADMIN_USER_DIRECTORY, ADMIN_WALLET_REPORTING, PAYMENT_ADAPTER, PAYMENT_WEBHOOK_VERIFIER, WALLET_COMMANDS, WALLET_READER, PLATFORM_CONFIG, RATE_LIMITER, PLAYER_TAGS, PLAY_ELIGIBILITY, AUDIT_WRITER, } from '@openora/core/contracts';
|
|
4
4
|
import { WalletService } from './service/wallet.service.js';
|
|
5
5
|
import { WalletCommandsService } from './service/wallet-commands.service.js';
|
|
6
6
|
import { WalletReaderService } from './adapters/wallet-reader.service.js';
|
|
@@ -26,7 +26,7 @@ export default definePlugin({
|
|
|
26
26
|
return new HmacPaymentWebhookVerifier(webhookSecret);
|
|
27
27
|
});
|
|
28
28
|
// Other modules debit through this port within their own transaction (never importing wallet tables). See ADR-0016.
|
|
29
|
-
ctx.provide(WALLET_COMMANDS, () => new WalletCommandsService());
|
|
29
|
+
ctx.provide(WALLET_COMMANDS, (c) => new WalletCommandsService(c.get(PLAY_ELIGIBILITY)));
|
|
30
30
|
// Read-only queries for cross-module consumers (eg tag evaluation). Never exposes wallet internals.
|
|
31
31
|
ctx.provide(WALLET_READER, (c) => new WalletReaderService(c.get(DRIZZLE)));
|
|
32
32
|
ctx.provide(ADMIN_WALLET_REPORTING, (c) => new DrizzleAdminWalletReporting(c.get(DRIZZLE)));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pl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AAQ,EAAE,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS;YAC7D,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC;SAC3B,CAAC,EACF,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,EAClB,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,EACnB,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,EACtB,CAAC,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAChC,CACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wallet/schema/index.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,yBAAyB,uGAGrC,CAAC;AAEF,eAAO,MAAM,2BAA2B,4HAGvC,CAAC;AAEF,eAAO,MAAM,cAAc,0DAAsC,CAAC;AAElE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wallet/schema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C;AACxE,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,YAAY,CAAC"}
|
|
@@ -55,6 +55,8 @@ export const walletTransaction = pgTable('wallet_transaction', {
|
|
|
55
55
|
index('wallet_transaction_rail_idx').on(t.rail),
|
|
56
56
|
index('wallet_transaction_currency_idx').on(t.currency),
|
|
57
57
|
index('wallet_transaction_tx_hash_idx').on(t.txHash),
|
|
58
|
+
index('wallet_transaction_status_type_created_at_idx').on(t.status, t.type, t.createdAt),
|
|
59
|
+
index('wallet_transaction_wallet_id_type_status_idx').on(t.walletId, t.type, t.status),
|
|
58
60
|
uniqueIndex('wallet_transaction_provider_ref_id_idx')
|
|
59
61
|
.on(t.providerRefId)
|
|
60
62
|
.where(sql `${t.providerRefId} IS NOT NULL`),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/wallet/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EACL,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,SAAS,EACT,MAAM,EACN,KAAK,EACL,WAAW,GACZ,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,YAAY,EACZ,2BAA2B,EAC3B,wBAAwB,GAGzB,MAAM,yBAAyB,CAAC;AAEjC,mFAAmF;AACnF,6EAA6E;AAC7E,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAC7C,yBAAyB,EACzB,wBAAwB,CACzB,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,MAAM,CAC/C,2BAA2B,EAC3B,2BAA2B,CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,aAAa,EAAE,YAAY,CAAC,CAAC;AAElE,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC,QAAQ,EAAE;IACtC,EAAE,EAAE,IAAI,EAAE,CAAC,UAA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AC,CAAC,QAAQ,CAAC;IACnF,KAAK,CAAC,oCAAoC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;CAC1D,CACF,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import type { WalletCommands, WalletDebitArgs, WalletDebitOutcome, WalletCreditArgs, WalletCreditOutcome } from '@openora/core/contracts';
|
|
1
|
+
import type { PlayEligibilityPort, WalletCommands, WalletDebitArgs, WalletDebitOutcome, WalletCreditArgs, WalletCreditOutcome } from '@openora/core/contracts';
|
|
2
2
|
export declare const WalletCommandAmountError: new (operation: string, amount: string) => Error;
|
|
3
|
+
export declare const WalletRgRestrictedError: new () => Error;
|
|
3
4
|
export declare class WalletCommandsService implements WalletCommands {
|
|
5
|
+
private readonly playEligibility;
|
|
6
|
+
constructor(playEligibility: PlayEligibilityPort);
|
|
4
7
|
private writeLedgerRow;
|
|
5
8
|
debit(tx: unknown, { userId, amount, type }: WalletDebitArgs): Promise<WalletDebitOutcome>;
|
|
6
9
|
credit(tx: unknown, { userId, amount, type }: WalletCreditArgs): Promise<WalletCreditOutcome>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-commands.service.d.ts","sourceRoot":"","sources":["../../../src/wallet/service/wallet-commands.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EAEpB,MAAM,yBAAyB,CAAC;AAMjC,eAAO,MAAM,wBAAwB,kDAGpC,CAAC;AASF,qBAAa,qBAAsB,YAAW,cAAc;
|
|
1
|
+
{"version":3,"file":"wallet-commands.service.d.ts","sourceRoot":"","sources":["../../../src/wallet/service/wallet-commands.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EAEpB,MAAM,yBAAyB,CAAC;AAMjC,eAAO,MAAM,wBAAwB,kDAGpC,CAAC;AASF,eAAO,MAAM,uBAAuB,iBAGnC,CAAC;AAEF,qBAAa,qBAAsB,YAAW,cAAc;IAC9C,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAAf,eAAe,EAAE,mBAAmB;IAGjE,OAAO,CAAC,cAAc;IAgBhB,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,eAAe,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAwC1F,MAAM,CACV,EAAE,EAAE,OAAO,EACX,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,gBAAgB,GACzC,OAAO,CAAC,mBAAmB,CAAC;CA0BhC"}
|