@betorigami/game-ui-shared 8.1.0 → 8.2.1
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/README.md +3 -3
- package/dist/index.mjs +2819 -2679
- package/dist/shared/provider-api/generated/index.d.ts +2 -2
- package/dist/shared/provider-api/generated/sdk.gen.d.ts +2 -1
- package/dist/shared/provider-api/generated/types.gen.d.ts +42 -0
- package/dist/shared/provider-api/generated/zod.gen.d.ts +219 -0
- package/package.json +3 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { getBetBetInfo, getBetMyBets, getGamesBlackjackActiveBet, getGamesMinesActiveBet, getPing, getProvablyFairMyInfo, getProvablyFairPublicKey, getUsersBalance, type Options, patchProvablyFairClientSeed, postAuthSessionSessionId, postGamesAdvancedDicePlay, postGamesBaccaratPlay, postGamesBlackjackNext, postGamesBlackjackStart, postGamesBlitzPlay, postGamesDartsPlay, postGamesDiamondsPlay, postGamesDicePlay, postGamesKenoPlay, postGamesLimboPlay, postGamesMinesAuto, postGamesMinesCashout, postGamesMinesNext, postGamesMinesStart, postGamesPlinkoPlay, postGamesRoulettePlay, postGamesWheelPlay } from './sdk.gen';
|
|
2
|
-
export type { ClientOptions, GetBetBetInfoData, GetBetBetInfoResponse, GetBetBetInfoResponses, GetBetMyBetsData, GetBetMyBetsResponse, GetBetMyBetsResponses, GetGamesBlackjackActiveBetData, GetGamesBlackjackActiveBetResponse, GetGamesBlackjackActiveBetResponses, GetGamesMinesActiveBetData, GetGamesMinesActiveBetResponse, GetGamesMinesActiveBetResponses, GetPingData, GetPingResponse, GetPingResponses, GetProvablyFairMyInfoData, GetProvablyFairMyInfoResponse, GetProvablyFairMyInfoResponses, GetProvablyFairPublicKeyData, GetProvablyFairPublicKeyResponse, GetProvablyFairPublicKeyResponses, GetUsersBalanceData, GetUsersBalanceResponse, GetUsersBalanceResponses, PatchProvablyFairClientSeedData, PatchProvablyFairClientSeedResponse, PatchProvablyFairClientSeedResponses, PostAuthSessionSessionIdData, PostAuthSessionSessionIdResponse, PostAuthSessionSessionIdResponses, PostGamesAdvancedDicePlayData, PostGamesAdvancedDicePlayResponse, PostGamesAdvancedDicePlayResponses, PostGamesBaccaratPlayData, PostGamesBaccaratPlayResponse, PostGamesBaccaratPlayResponses, PostGamesBlackjackNextData, PostGamesBlackjackNextResponse, PostGamesBlackjackNextResponses, PostGamesBlackjackStartData, PostGamesBlackjackStartResponse, PostGamesBlackjackStartResponses, PostGamesBlitzPlayData, PostGamesBlitzPlayResponse, PostGamesBlitzPlayResponses, PostGamesDartsPlayData, PostGamesDartsPlayResponse, PostGamesDartsPlayResponses, PostGamesDiamondsPlayData, PostGamesDiamondsPlayResponse, PostGamesDiamondsPlayResponses, PostGamesDicePlayData, PostGamesDicePlayResponse, PostGamesDicePlayResponses, PostGamesKenoPlayData, PostGamesKenoPlayResponse, PostGamesKenoPlayResponses, PostGamesLimboPlayData, PostGamesLimboPlayResponse, PostGamesLimboPlayResponses, PostGamesMinesAutoData, PostGamesMinesAutoResponse, PostGamesMinesAutoResponses, PostGamesMinesCashoutData, PostGamesMinesCashoutResponse, PostGamesMinesCashoutResponses, PostGamesMinesNextData, PostGamesMinesNextResponse, PostGamesMinesNextResponses, PostGamesMinesStartData, PostGamesMinesStartResponse, PostGamesMinesStartResponses, PostGamesPlinkoPlayData, PostGamesPlinkoPlayResponse, PostGamesPlinkoPlayResponses, PostGamesRoulettePlayData, PostGamesRoulettePlayResponse, PostGamesRoulettePlayResponses, PostGamesWheelPlayData, PostGamesWheelPlayResponse, PostGamesWheelPlayResponses } from './types.gen';
|
|
1
|
+
export { getBetBetInfo, getBetMyBets, getGamesBlackjackActiveBet, getGamesMinesActiveBet, getPing, getProvablyFairMyInfo, getProvablyFairPublicKey, getUsersBalance, type Options, patchProvablyFairClientSeed, postAuthSessionSessionId, postGamesAdvancedDicePlay, postGamesBaccaratPlay, postGamesBlackjackNext, postGamesBlackjackStart, postGamesBlitzPlay, postGamesDartsPlay, postGamesDiamondsPlay, postGamesDicePlay, postGamesDiceV2Play, postGamesKenoPlay, postGamesLimboPlay, postGamesMinesAuto, postGamesMinesCashout, postGamesMinesNext, postGamesMinesStart, postGamesPlinkoPlay, postGamesRoulettePlay, postGamesWheelPlay } from './sdk.gen';
|
|
2
|
+
export type { ClientOptions, GetBetBetInfoData, GetBetBetInfoResponse, GetBetBetInfoResponses, GetBetMyBetsData, GetBetMyBetsResponse, GetBetMyBetsResponses, GetGamesBlackjackActiveBetData, GetGamesBlackjackActiveBetResponse, GetGamesBlackjackActiveBetResponses, GetGamesMinesActiveBetData, GetGamesMinesActiveBetResponse, GetGamesMinesActiveBetResponses, GetPingData, GetPingResponse, GetPingResponses, GetProvablyFairMyInfoData, GetProvablyFairMyInfoResponse, GetProvablyFairMyInfoResponses, GetProvablyFairPublicKeyData, GetProvablyFairPublicKeyResponse, GetProvablyFairPublicKeyResponses, GetUsersBalanceData, GetUsersBalanceResponse, GetUsersBalanceResponses, Money, MoneyMultiplier, PatchProvablyFairClientSeedData, PatchProvablyFairClientSeedResponse, PatchProvablyFairClientSeedResponses, PostAuthSessionSessionIdData, PostAuthSessionSessionIdResponse, PostAuthSessionSessionIdResponses, PostGamesAdvancedDicePlayData, PostGamesAdvancedDicePlayResponse, PostGamesAdvancedDicePlayResponses, PostGamesBaccaratPlayData, PostGamesBaccaratPlayResponse, PostGamesBaccaratPlayResponses, PostGamesBlackjackNextData, PostGamesBlackjackNextResponse, PostGamesBlackjackNextResponses, PostGamesBlackjackStartData, PostGamesBlackjackStartResponse, PostGamesBlackjackStartResponses, PostGamesBlitzPlayData, PostGamesBlitzPlayResponse, PostGamesBlitzPlayResponses, PostGamesDartsPlayData, PostGamesDartsPlayResponse, PostGamesDartsPlayResponses, PostGamesDiamondsPlayData, PostGamesDiamondsPlayResponse, PostGamesDiamondsPlayResponses, PostGamesDicePlayData, PostGamesDicePlayResponse, PostGamesDicePlayResponses, PostGamesDiceV2PlayData, PostGamesDiceV2PlayResponse, PostGamesDiceV2PlayResponses, PostGamesKenoPlayData, PostGamesKenoPlayResponse, PostGamesKenoPlayResponses, PostGamesLimboPlayData, PostGamesLimboPlayResponse, PostGamesLimboPlayResponses, PostGamesMinesAutoData, PostGamesMinesAutoResponse, PostGamesMinesAutoResponses, PostGamesMinesCashoutData, PostGamesMinesCashoutResponse, PostGamesMinesCashoutResponses, PostGamesMinesNextData, PostGamesMinesNextResponse, PostGamesMinesNextResponses, PostGamesMinesStartData, PostGamesMinesStartResponse, PostGamesMinesStartResponses, PostGamesPlinkoPlayData, PostGamesPlinkoPlayResponse, PostGamesPlinkoPlayResponses, PostGamesRoulettePlayData, PostGamesRoulettePlayResponse, PostGamesRoulettePlayResponses, PostGamesWheelPlayData, PostGamesWheelPlayResponse, PostGamesWheelPlayResponses } from './types.gen';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from './client';
|
|
2
|
-
import { GetBetBetInfoData, GetBetBetInfoResponses, GetBetMyBetsData, GetBetMyBetsResponses, GetGamesBlackjackActiveBetData, GetGamesBlackjackActiveBetResponses, GetGamesMinesActiveBetData, GetGamesMinesActiveBetResponses, GetPingData, GetPingResponses, GetProvablyFairMyInfoData, GetProvablyFairMyInfoResponses, GetProvablyFairPublicKeyData, GetProvablyFairPublicKeyResponses, GetUsersBalanceData, GetUsersBalanceResponses, PatchProvablyFairClientSeedData, PatchProvablyFairClientSeedResponses, PostAuthSessionSessionIdData, PostAuthSessionSessionIdResponses, PostGamesAdvancedDicePlayData, PostGamesAdvancedDicePlayResponses, PostGamesBaccaratPlayData, PostGamesBaccaratPlayResponses, PostGamesBlackjackNextData, PostGamesBlackjackNextResponses, PostGamesBlackjackStartData, PostGamesBlackjackStartResponses, PostGamesBlitzPlayData, PostGamesBlitzPlayResponses, PostGamesDartsPlayData, PostGamesDartsPlayResponses, PostGamesDiamondsPlayData, PostGamesDiamondsPlayResponses, PostGamesDicePlayData, PostGamesDicePlayResponses, PostGamesKenoPlayData, PostGamesKenoPlayResponses, PostGamesLimboPlayData, PostGamesLimboPlayResponses, PostGamesMinesAutoData, PostGamesMinesAutoResponses, PostGamesMinesCashoutData, PostGamesMinesCashoutResponses, PostGamesMinesNextData, PostGamesMinesNextResponses, PostGamesMinesStartData, PostGamesMinesStartResponses, PostGamesPlinkoPlayData, PostGamesPlinkoPlayResponses, PostGamesRoulettePlayData, PostGamesRoulettePlayResponses, PostGamesWheelPlayData, PostGamesWheelPlayResponses } from './types.gen';
|
|
2
|
+
import { GetBetBetInfoData, GetBetBetInfoResponses, GetBetMyBetsData, GetBetMyBetsResponses, GetGamesBlackjackActiveBetData, GetGamesBlackjackActiveBetResponses, GetGamesMinesActiveBetData, GetGamesMinesActiveBetResponses, GetPingData, GetPingResponses, GetProvablyFairMyInfoData, GetProvablyFairMyInfoResponses, GetProvablyFairPublicKeyData, GetProvablyFairPublicKeyResponses, GetUsersBalanceData, GetUsersBalanceResponses, PatchProvablyFairClientSeedData, PatchProvablyFairClientSeedResponses, PostAuthSessionSessionIdData, PostAuthSessionSessionIdResponses, PostGamesAdvancedDicePlayData, PostGamesAdvancedDicePlayResponses, PostGamesBaccaratPlayData, PostGamesBaccaratPlayResponses, PostGamesBlackjackNextData, PostGamesBlackjackNextResponses, PostGamesBlackjackStartData, PostGamesBlackjackStartResponses, PostGamesBlitzPlayData, PostGamesBlitzPlayResponses, PostGamesDartsPlayData, PostGamesDartsPlayResponses, PostGamesDiamondsPlayData, PostGamesDiamondsPlayResponses, PostGamesDicePlayData, PostGamesDicePlayResponses, PostGamesDiceV2PlayData, PostGamesDiceV2PlayResponses, PostGamesKenoPlayData, PostGamesKenoPlayResponses, PostGamesLimboPlayData, PostGamesLimboPlayResponses, PostGamesMinesAutoData, PostGamesMinesAutoResponses, PostGamesMinesCashoutData, PostGamesMinesCashoutResponses, PostGamesMinesNextData, PostGamesMinesNextResponses, PostGamesMinesStartData, PostGamesMinesStartResponses, PostGamesPlinkoPlayData, PostGamesPlinkoPlayResponses, PostGamesRoulettePlayData, PostGamesRoulettePlayResponses, PostGamesWheelPlayData, PostGamesWheelPlayResponses } from './types.gen';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -22,6 +22,7 @@ export declare const getProvablyFairPublicKey: <ThrowOnError extends boolean = f
|
|
|
22
22
|
export declare const getProvablyFairMyInfo: <ThrowOnError extends boolean = false>(options?: Options<GetProvablyFairMyInfoData, ThrowOnError>) => RequestResult<GetProvablyFairMyInfoResponses, unknown, ThrowOnError>;
|
|
23
23
|
export declare const patchProvablyFairClientSeed: <ThrowOnError extends boolean = false>(options?: Options<PatchProvablyFairClientSeedData, ThrowOnError>) => RequestResult<PatchProvablyFairClientSeedResponses, unknown, ThrowOnError>;
|
|
24
24
|
export declare const postGamesDicePlay: <ThrowOnError extends boolean = false>(options?: Options<PostGamesDicePlayData, ThrowOnError>) => RequestResult<PostGamesDicePlayResponses, unknown, ThrowOnError>;
|
|
25
|
+
export declare const postGamesDiceV2Play: <ThrowOnError extends boolean = false>(options?: Options<PostGamesDiceV2PlayData, ThrowOnError>) => RequestResult<PostGamesDiceV2PlayResponses, unknown, ThrowOnError>;
|
|
25
26
|
export declare const postGamesLimboPlay: <ThrowOnError extends boolean = false>(options?: Options<PostGamesLimboPlayData, ThrowOnError>) => RequestResult<PostGamesLimboPlayResponses, unknown, ThrowOnError>;
|
|
26
27
|
export declare const postGamesKenoPlay: <ThrowOnError extends boolean = false>(options?: Options<PostGamesKenoPlayData, ThrowOnError>) => RequestResult<PostGamesKenoPlayResponses, unknown, ThrowOnError>;
|
|
27
28
|
export declare const postGamesWheelPlay: <ThrowOnError extends boolean = false>(options?: Options<PostGamesWheelPlayData, ThrowOnError>) => RequestResult<PostGamesWheelPlayResponses, unknown, ThrowOnError>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import { Money as Money2, MoneyMultiplier as MoneyMultiplier2 } from '@betorigami/money';
|
|
1
2
|
export type ClientOptions = {
|
|
2
3
|
baseUrl: 'http://localhost:3000' | (string & {});
|
|
3
4
|
};
|
|
5
|
+
export type Money = Money2;
|
|
6
|
+
export type MoneyMultiplier = MoneyMultiplier2;
|
|
4
7
|
export type GetPingData = {
|
|
5
8
|
body?: never;
|
|
6
9
|
path?: never;
|
|
@@ -216,6 +219,45 @@ export type PostGamesDicePlayResponses = {
|
|
|
216
219
|
};
|
|
217
220
|
};
|
|
218
221
|
export type PostGamesDicePlayResponse = PostGamesDicePlayResponses[keyof PostGamesDicePlayResponses];
|
|
222
|
+
export type PostGamesDiceV2PlayData = {
|
|
223
|
+
body?: {
|
|
224
|
+
amount: string;
|
|
225
|
+
meta?: {
|
|
226
|
+
autobetSettings?: {
|
|
227
|
+
onWinStrategy: 'Reset' | 'Increase';
|
|
228
|
+
onLossStrategy: 'Reset' | 'Increase';
|
|
229
|
+
onWinPercentage: string;
|
|
230
|
+
onLossPercentage: string;
|
|
231
|
+
stopOnLoss: string;
|
|
232
|
+
stopOnProfit: string;
|
|
233
|
+
numberOfBets: number;
|
|
234
|
+
autobetId: string;
|
|
235
|
+
betIndex: number;
|
|
236
|
+
pnlSinceStart: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
direction: 'ABOVE' | 'BELOW';
|
|
240
|
+
selectedValue: number;
|
|
241
|
+
};
|
|
242
|
+
path?: never;
|
|
243
|
+
query?: never;
|
|
244
|
+
url: '/games/dice/v2/play';
|
|
245
|
+
};
|
|
246
|
+
export type PostGamesDiceV2PlayResponses = {
|
|
247
|
+
/**
|
|
248
|
+
* Success
|
|
249
|
+
*/
|
|
250
|
+
200: {
|
|
251
|
+
id: string;
|
|
252
|
+
roll: number;
|
|
253
|
+
isWin: boolean;
|
|
254
|
+
amount: Money;
|
|
255
|
+
payout: Money;
|
|
256
|
+
multiplier: MoneyMultiplier;
|
|
257
|
+
afterBalance: Money;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
export type PostGamesDiceV2PlayResponse = PostGamesDiceV2PlayResponses[keyof PostGamesDiceV2PlayResponses];
|
|
219
261
|
export type PostGamesLimboPlayData = {
|
|
220
262
|
body?: {
|
|
221
263
|
amount: string;
|
|
@@ -1,4 +1,51 @@
|
|
|
1
|
+
import { Money, MoneyMultiplier } from '@betorigami/money';
|
|
1
2
|
import * as z from 'zod/mini';
|
|
3
|
+
export declare const zMoney: z.ZodMiniPipe<z.ZodMiniObject<{
|
|
4
|
+
amount: z.ZodMiniString<string>;
|
|
5
|
+
currency: z.ZodMiniEnum<{
|
|
6
|
+
USD: "USD";
|
|
7
|
+
EUR: "EUR";
|
|
8
|
+
ARS: "ARS";
|
|
9
|
+
AUD: "AUD";
|
|
10
|
+
BRL: "BRL";
|
|
11
|
+
CAD: "CAD";
|
|
12
|
+
CNY: "CNY";
|
|
13
|
+
INR: "INR";
|
|
14
|
+
JPY: "JPY";
|
|
15
|
+
MXN: "MXN";
|
|
16
|
+
NGN: "NGN";
|
|
17
|
+
NOK: "NOK";
|
|
18
|
+
NZD: "NZD";
|
|
19
|
+
RUB: "RUB";
|
|
20
|
+
TRY: "TRY";
|
|
21
|
+
PHP: "PHP";
|
|
22
|
+
HNL: "HNL";
|
|
23
|
+
GTQ: "GTQ";
|
|
24
|
+
DOP: "DOP";
|
|
25
|
+
GBP: "GBP";
|
|
26
|
+
CLP: "CLP";
|
|
27
|
+
CHF: "CHF";
|
|
28
|
+
CZK: "CZK";
|
|
29
|
+
HUF: "HUF";
|
|
30
|
+
IDR: "IDR";
|
|
31
|
+
KRW: "KRW";
|
|
32
|
+
KZT: "KZT";
|
|
33
|
+
MYR: "MYR";
|
|
34
|
+
RON: "RON";
|
|
35
|
+
THB: "THB";
|
|
36
|
+
UAH: "UAH";
|
|
37
|
+
UZS: "UZS";
|
|
38
|
+
VND: "VND";
|
|
39
|
+
ZAR: "ZAR";
|
|
40
|
+
PEN: "PEN";
|
|
41
|
+
GC: "GC";
|
|
42
|
+
SC: "SC";
|
|
43
|
+
}>;
|
|
44
|
+
}, z.core.$strip>, z.ZodMiniTransform<Money, {
|
|
45
|
+
amount: string;
|
|
46
|
+
currency: "USD" | "EUR" | "ARS" | "AUD" | "BRL" | "CAD" | "CNY" | "INR" | "JPY" | "MXN" | "NGN" | "NOK" | "NZD" | "RUB" | "TRY" | "PHP" | "HNL" | "GTQ" | "DOP" | "GBP" | "CLP" | "CHF" | "CZK" | "HUF" | "IDR" | "KRW" | "KZT" | "MYR" | "RON" | "THB" | "UAH" | "UZS" | "VND" | "ZAR" | "PEN" | "GC" | "SC";
|
|
47
|
+
}>>;
|
|
48
|
+
export declare const zMoneyMultiplier: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<MoneyMultiplier, string>>;
|
|
2
49
|
/**
|
|
3
50
|
* Success
|
|
4
51
|
*/
|
|
@@ -250,6 +297,178 @@ export declare const zPostGamesDicePlayResponse: z.ZodMiniObject<{
|
|
|
250
297
|
createdAt: z.ZodMiniOptional<z.ZodMiniUnknown>;
|
|
251
298
|
}, z.core.$strip>>>;
|
|
252
299
|
}, z.core.$strip>;
|
|
300
|
+
export declare const zPostGamesDiceV2PlayBody: z.ZodMiniObject<{
|
|
301
|
+
amount: z.ZodMiniString<string>;
|
|
302
|
+
meta: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
303
|
+
autobetSettings: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
304
|
+
onWinStrategy: z.ZodMiniEnum<{
|
|
305
|
+
Reset: "Reset";
|
|
306
|
+
Increase: "Increase";
|
|
307
|
+
}>;
|
|
308
|
+
onLossStrategy: z.ZodMiniEnum<{
|
|
309
|
+
Reset: "Reset";
|
|
310
|
+
Increase: "Increase";
|
|
311
|
+
}>;
|
|
312
|
+
onWinPercentage: z.ZodMiniString<string>;
|
|
313
|
+
onLossPercentage: z.ZodMiniString<string>;
|
|
314
|
+
stopOnLoss: z.ZodMiniString<string>;
|
|
315
|
+
stopOnProfit: z.ZodMiniString<string>;
|
|
316
|
+
numberOfBets: z.ZodMiniNumberFormat;
|
|
317
|
+
autobetId: z.ZodMiniUUID;
|
|
318
|
+
betIndex: z.ZodMiniNumberFormat;
|
|
319
|
+
pnlSinceStart: z.ZodMiniString<string>;
|
|
320
|
+
}, z.core.$strip>>;
|
|
321
|
+
}, z.core.$strip>>;
|
|
322
|
+
direction: z.ZodMiniEnum<{
|
|
323
|
+
ABOVE: "ABOVE";
|
|
324
|
+
BELOW: "BELOW";
|
|
325
|
+
}>;
|
|
326
|
+
selectedValue: z.ZodMiniNumberFormat;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
/**
|
|
329
|
+
* Success
|
|
330
|
+
*/
|
|
331
|
+
export declare const zPostGamesDiceV2PlayResponse: z.ZodMiniObject<{
|
|
332
|
+
id: z.ZodMiniUUID;
|
|
333
|
+
roll: z.ZodMiniNumberFormat;
|
|
334
|
+
isWin: z.ZodMiniBoolean<boolean>;
|
|
335
|
+
amount: z.ZodMiniPipe<z.ZodMiniObject<{
|
|
336
|
+
amount: z.ZodMiniString<string>;
|
|
337
|
+
currency: z.ZodMiniEnum<{
|
|
338
|
+
USD: "USD";
|
|
339
|
+
EUR: "EUR";
|
|
340
|
+
ARS: "ARS";
|
|
341
|
+
AUD: "AUD";
|
|
342
|
+
BRL: "BRL";
|
|
343
|
+
CAD: "CAD";
|
|
344
|
+
CNY: "CNY";
|
|
345
|
+
INR: "INR";
|
|
346
|
+
JPY: "JPY";
|
|
347
|
+
MXN: "MXN";
|
|
348
|
+
NGN: "NGN";
|
|
349
|
+
NOK: "NOK";
|
|
350
|
+
NZD: "NZD";
|
|
351
|
+
RUB: "RUB";
|
|
352
|
+
TRY: "TRY";
|
|
353
|
+
PHP: "PHP";
|
|
354
|
+
HNL: "HNL";
|
|
355
|
+
GTQ: "GTQ";
|
|
356
|
+
DOP: "DOP";
|
|
357
|
+
GBP: "GBP";
|
|
358
|
+
CLP: "CLP";
|
|
359
|
+
CHF: "CHF";
|
|
360
|
+
CZK: "CZK";
|
|
361
|
+
HUF: "HUF";
|
|
362
|
+
IDR: "IDR";
|
|
363
|
+
KRW: "KRW";
|
|
364
|
+
KZT: "KZT";
|
|
365
|
+
MYR: "MYR";
|
|
366
|
+
RON: "RON";
|
|
367
|
+
THB: "THB";
|
|
368
|
+
UAH: "UAH";
|
|
369
|
+
UZS: "UZS";
|
|
370
|
+
VND: "VND";
|
|
371
|
+
ZAR: "ZAR";
|
|
372
|
+
PEN: "PEN";
|
|
373
|
+
GC: "GC";
|
|
374
|
+
SC: "SC";
|
|
375
|
+
}>;
|
|
376
|
+
}, z.core.$strip>, z.ZodMiniTransform<Money, {
|
|
377
|
+
amount: string;
|
|
378
|
+
currency: "USD" | "EUR" | "ARS" | "AUD" | "BRL" | "CAD" | "CNY" | "INR" | "JPY" | "MXN" | "NGN" | "NOK" | "NZD" | "RUB" | "TRY" | "PHP" | "HNL" | "GTQ" | "DOP" | "GBP" | "CLP" | "CHF" | "CZK" | "HUF" | "IDR" | "KRW" | "KZT" | "MYR" | "RON" | "THB" | "UAH" | "UZS" | "VND" | "ZAR" | "PEN" | "GC" | "SC";
|
|
379
|
+
}>>;
|
|
380
|
+
payout: z.ZodMiniPipe<z.ZodMiniObject<{
|
|
381
|
+
amount: z.ZodMiniString<string>;
|
|
382
|
+
currency: z.ZodMiniEnum<{
|
|
383
|
+
USD: "USD";
|
|
384
|
+
EUR: "EUR";
|
|
385
|
+
ARS: "ARS";
|
|
386
|
+
AUD: "AUD";
|
|
387
|
+
BRL: "BRL";
|
|
388
|
+
CAD: "CAD";
|
|
389
|
+
CNY: "CNY";
|
|
390
|
+
INR: "INR";
|
|
391
|
+
JPY: "JPY";
|
|
392
|
+
MXN: "MXN";
|
|
393
|
+
NGN: "NGN";
|
|
394
|
+
NOK: "NOK";
|
|
395
|
+
NZD: "NZD";
|
|
396
|
+
RUB: "RUB";
|
|
397
|
+
TRY: "TRY";
|
|
398
|
+
PHP: "PHP";
|
|
399
|
+
HNL: "HNL";
|
|
400
|
+
GTQ: "GTQ";
|
|
401
|
+
DOP: "DOP";
|
|
402
|
+
GBP: "GBP";
|
|
403
|
+
CLP: "CLP";
|
|
404
|
+
CHF: "CHF";
|
|
405
|
+
CZK: "CZK";
|
|
406
|
+
HUF: "HUF";
|
|
407
|
+
IDR: "IDR";
|
|
408
|
+
KRW: "KRW";
|
|
409
|
+
KZT: "KZT";
|
|
410
|
+
MYR: "MYR";
|
|
411
|
+
RON: "RON";
|
|
412
|
+
THB: "THB";
|
|
413
|
+
UAH: "UAH";
|
|
414
|
+
UZS: "UZS";
|
|
415
|
+
VND: "VND";
|
|
416
|
+
ZAR: "ZAR";
|
|
417
|
+
PEN: "PEN";
|
|
418
|
+
GC: "GC";
|
|
419
|
+
SC: "SC";
|
|
420
|
+
}>;
|
|
421
|
+
}, z.core.$strip>, z.ZodMiniTransform<Money, {
|
|
422
|
+
amount: string;
|
|
423
|
+
currency: "USD" | "EUR" | "ARS" | "AUD" | "BRL" | "CAD" | "CNY" | "INR" | "JPY" | "MXN" | "NGN" | "NOK" | "NZD" | "RUB" | "TRY" | "PHP" | "HNL" | "GTQ" | "DOP" | "GBP" | "CLP" | "CHF" | "CZK" | "HUF" | "IDR" | "KRW" | "KZT" | "MYR" | "RON" | "THB" | "UAH" | "UZS" | "VND" | "ZAR" | "PEN" | "GC" | "SC";
|
|
424
|
+
}>>;
|
|
425
|
+
multiplier: z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<MoneyMultiplier, string>>;
|
|
426
|
+
afterBalance: z.ZodMiniPipe<z.ZodMiniObject<{
|
|
427
|
+
amount: z.ZodMiniString<string>;
|
|
428
|
+
currency: z.ZodMiniEnum<{
|
|
429
|
+
USD: "USD";
|
|
430
|
+
EUR: "EUR";
|
|
431
|
+
ARS: "ARS";
|
|
432
|
+
AUD: "AUD";
|
|
433
|
+
BRL: "BRL";
|
|
434
|
+
CAD: "CAD";
|
|
435
|
+
CNY: "CNY";
|
|
436
|
+
INR: "INR";
|
|
437
|
+
JPY: "JPY";
|
|
438
|
+
MXN: "MXN";
|
|
439
|
+
NGN: "NGN";
|
|
440
|
+
NOK: "NOK";
|
|
441
|
+
NZD: "NZD";
|
|
442
|
+
RUB: "RUB";
|
|
443
|
+
TRY: "TRY";
|
|
444
|
+
PHP: "PHP";
|
|
445
|
+
HNL: "HNL";
|
|
446
|
+
GTQ: "GTQ";
|
|
447
|
+
DOP: "DOP";
|
|
448
|
+
GBP: "GBP";
|
|
449
|
+
CLP: "CLP";
|
|
450
|
+
CHF: "CHF";
|
|
451
|
+
CZK: "CZK";
|
|
452
|
+
HUF: "HUF";
|
|
453
|
+
IDR: "IDR";
|
|
454
|
+
KRW: "KRW";
|
|
455
|
+
KZT: "KZT";
|
|
456
|
+
MYR: "MYR";
|
|
457
|
+
RON: "RON";
|
|
458
|
+
THB: "THB";
|
|
459
|
+
UAH: "UAH";
|
|
460
|
+
UZS: "UZS";
|
|
461
|
+
VND: "VND";
|
|
462
|
+
ZAR: "ZAR";
|
|
463
|
+
PEN: "PEN";
|
|
464
|
+
GC: "GC";
|
|
465
|
+
SC: "SC";
|
|
466
|
+
}>;
|
|
467
|
+
}, z.core.$strip>, z.ZodMiniTransform<Money, {
|
|
468
|
+
amount: string;
|
|
469
|
+
currency: "USD" | "EUR" | "ARS" | "AUD" | "BRL" | "CAD" | "CNY" | "INR" | "JPY" | "MXN" | "NGN" | "NOK" | "NZD" | "RUB" | "TRY" | "PHP" | "HNL" | "GTQ" | "DOP" | "GBP" | "CLP" | "CHF" | "CZK" | "HUF" | "IDR" | "KRW" | "KZT" | "MYR" | "RON" | "THB" | "UAH" | "UZS" | "VND" | "ZAR" | "PEN" | "GC" | "SC";
|
|
470
|
+
}>>;
|
|
471
|
+
}, z.core.$strip>;
|
|
253
472
|
export declare const zPostGamesLimboPlayBody: z.ZodMiniObject<{
|
|
254
473
|
amount: z.ZodMiniString<string>;
|
|
255
474
|
meta: z.ZodMiniOptional<z.ZodMiniObject<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@betorigami/game-ui-shared",
|
|
3
|
-
"version": "8.1
|
|
3
|
+
"version": "8.2.1",
|
|
4
4
|
"author": "",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"description": "The Lit components, controllers, translations and wire types shared by every Origami game UI",
|
|
@@ -28,7 +28,8 @@
|
|
|
28
28
|
"@betorigami/guard": "^2.0.7",
|
|
29
29
|
"web-haptics": "^0.0.6",
|
|
30
30
|
"zod": "4.3.6",
|
|
31
|
-
"@betorigami/game-calculations": "
|
|
31
|
+
"@betorigami/game-calculations": "14.0.0",
|
|
32
|
+
"@betorigami/money": "0.5.1"
|
|
32
33
|
},
|
|
33
34
|
"devDependencies": {
|
|
34
35
|
"@hey-api/openapi-ts": "0.99.0",
|