@cristian.aragao/milharis-core 1.30.49 → 1.30.51

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/index.d.mts CHANGED
@@ -1842,7 +1842,11 @@ type TypeNumero = TypeMetaData & {
1842
1842
  updated: number;
1843
1843
  };
1844
1844
  type TypeNumeros = {
1845
- [id: string]: TypeNumero;
1845
+ [id: TypeNumero["id"]]: TypeNumero;
1846
+ };
1847
+ type TypeResultadoNumeroComDiferenca = {
1848
+ numero: TypeNumero;
1849
+ diferenca: number;
1846
1850
  };
1847
1851
 
1848
1852
  /**
@@ -2056,15 +2060,15 @@ type TypeEnvioDescarga = TypeMetaData & {
2056
2060
  /**
2057
2061
  * @description Valores dos jogos
2058
2062
  */
2059
- valoresJogos: Pick<TypeValueGame, "type_game" | "value">[];
2063
+ valoresJogos: Pick<TypeValueGame, "id" | "type_game" | "value">[];
2060
2064
  /**
2061
2065
  * @description Limites dos jogos
2062
2066
  */
2063
- limitesJogos: Pick<TypeLimitGame, "type_game" | "limit">[];
2067
+ limitesJogos: Pick<TypeLimitGame, "id" | "type_game" | "limit">[];
2064
2068
  /**
2065
2069
  * @description Comissões de descarga
2066
2070
  */
2067
- comissoesDescarga: Pick<TypeComissaoDescarga, "type_game" | "porcentagem">[];
2071
+ comissoesDescarga: Pick<TypeComissaoDescarga, "id" | "type_game" | "porcentagem">[];
2068
2072
  /** Timestamp da última atualização */
2069
2073
  atualizadoEm: number;
2070
2074
  /** Timestamp da última atualização de progresso */
@@ -2237,6 +2241,52 @@ type TypeDescarga = TypeMetaData & {
2237
2241
  type TypeDescargas = {
2238
2242
  [id: TypeDescarga["id"]]: TypeDescarga;
2239
2243
  };
2244
+ type TypeTotalGeral = {
2245
+ /**
2246
+ * @description Jogos da descarga
2247
+ * @example {
2248
+ * "milhar": {
2249
+ * totalEnviado: 100,
2250
+ * ordem: 1,
2251
+ * tipo: "milhar",
2252
+ * label: "Milhar"
2253
+ * }
2254
+ * }
2255
+ */
2256
+ jogos: Record<string, {
2257
+ totalEnviado: number;
2258
+ ordem: number;
2259
+ tipo: keyof typeof COMISSOES_PADRAO;
2260
+ label: string;
2261
+ }>;
2262
+ /**
2263
+ * @description Total bruto da descarga
2264
+ * @example 100
2265
+ */
2266
+ totalBruto: number;
2267
+ /**
2268
+ * @description Total comissão da descarga
2269
+ * @example 20
2270
+ */
2271
+ totalComissao: number;
2272
+ /**
2273
+ * @description Total líquido da descarga
2274
+ * @example 80
2275
+ */
2276
+ totalLiquido: number;
2277
+ };
2278
+ type TypeResultadoDescargaComDiferenca = {
2279
+ descarga: TypeDescarga;
2280
+ diferenca: number;
2281
+ };
2282
+ type TypeProps = {
2283
+ [prop: string]: number;
2284
+ };
2285
+ type TypePropsPrefix = {
2286
+ [PREFIX_NUMBER]: TypeProps;
2287
+ [PREFIX_ENVIO]: TypeProps;
2288
+ [PREFIX_ENVIO_OLD]: TypeProps;
2289
+ };
2240
2290
 
2241
2291
  type TypePDFDescargas = TypeMetaData & {
2242
2292
  /**
@@ -3413,24 +3463,12 @@ declare const calculaValoresDosNumeros: (game: TypeGame) => {
3413
3463
  numeros: TypeNumeros;
3414
3464
  };
3415
3465
 
3416
- type ResultadoNumeroComDiferenca = {
3417
- numero: TypeNumero;
3418
- diferenca: number;
3419
- };
3420
- declare const getNumerosAcimaDoLimite: (numeros: TypeNumero[], valoresJogos: TypeValueGames, limitesJogos: TypeLimitGames) => ResultadoNumeroComDiferenca[];
3466
+ declare const getNumerosAcimaDoLimite: (numeros: TypeNumero[], valoresJogos: TypeValueGames, limitesJogos: TypeLimitGames) => TypeResultadoNumeroComDiferenca[];
3421
3467
 
3422
3468
  declare const arredondarParaCima: (valor: number) => number;
3423
3469
 
3424
3470
  declare const sortNumeros: (numeros: TypeNumeros) => TypeNumeros;
3425
3471
 
3426
- type TypeProps = {
3427
- [prop: string]: number;
3428
- };
3429
- type TypePropsPrefix = {
3430
- [PREFIX_NUMBER]: TypeProps;
3431
- [PREFIX_ENVIO]: TypeProps;
3432
- [PREFIX_ENVIO_OLD]: TypeProps;
3433
- };
3434
3472
  declare const getPropsPrefix: (numero: Partial<TypeNumero>) => TypePropsPrefix;
3435
3473
 
3436
3474
  declare const getPropsEnvioId$1: (numero: Partial<TypeNumero>) => {
@@ -3677,11 +3715,7 @@ declare const getDescargaIdPeloNumero: (numero: TypeNumero, getByProperty?: stri
3677
3715
 
3678
3716
  declare const sortDescargas: (descargas: TypeDescargas) => TypeDescargas;
3679
3717
 
3680
- type ResultadoDescargaComDiferenca = {
3681
- descarga: TypeDescarga;
3682
- diferenca: number;
3683
- };
3684
- declare const getDescargasAcimaDoLimite: (descargas: TypeDescarga[], valoresJogos: TypeValueGames, limitesJogos: TypeLimitGames) => ResultadoDescargaComDiferenca[];
3718
+ declare const getDescargasAcimaDoLimite: (descargas: TypeDescarga[], valoresJogos: TypeValueGames, limitesJogos: TypeLimitGames) => TypeResultadoDescargaComDiferenca[];
3685
3719
 
3686
3720
  declare const getPropsVPDescarga: (descarga: Partial<TypeDescarga>) => {
3687
3721
  [props: string]: number;
@@ -3722,17 +3756,6 @@ declare const getPropsEnvioIdOldDescarga: (descarga: Partial<TypeDescarga>) => {
3722
3756
  */
3723
3757
  declare const getDescargaIdPeloEnvio: (numero: TypeNumero, envioId: string) => string;
3724
3758
 
3725
- type TypeTotalGeral = {
3726
- jogos: Record<string, {
3727
- totalEnviado: number;
3728
- ordem: number;
3729
- tipo: keyof typeof COMISSOES_PADRAO;
3730
- label: string;
3731
- }>;
3732
- totalBruto: number;
3733
- totalLiquido: number;
3734
- totalComissao: number;
3735
- };
3736
3759
  /**
3737
3760
  * @description Calcula o total geral de uma descarga
3738
3761
  * @param totalBrutoJogos - Total bruto dos jogos
@@ -3741,8 +3764,6 @@ type TypeTotalGeral = {
3741
3764
  */
3742
3765
  declare const getTotalGeralDescarga: (totalBrutoJogos: TypeEnvioDescarga["totalGeralJogos"], comissoes: TypeComissoesDescarga) => TypeTotalGeral;
3743
3766
 
3744
- type descarga_ResultadoDescargaComDiferenca = ResultadoDescargaComDiferenca;
3745
- type descarga_TypeTotalGeral = TypeTotalGeral;
3746
3767
  declare const descarga_generateDescarga: typeof generateDescarga;
3747
3768
  declare const descarga_generateDescargas: typeof generateDescargas;
3748
3769
  declare const descarga_getDescargaIdPeloEnvio: typeof getDescargaIdPeloEnvio;
@@ -3754,7 +3775,7 @@ declare const descarga_getPropsVPDescarga: typeof getPropsVPDescarga;
3754
3775
  declare const descarga_getTotalGeralDescarga: typeof getTotalGeralDescarga;
3755
3776
  declare const descarga_sortDescargas: typeof sortDescargas;
3756
3777
  declare namespace descarga {
3757
- export { type descarga_ResultadoDescargaComDiferenca as ResultadoDescargaComDiferenca, type descarga_TypeTotalGeral as TypeTotalGeral, descarga_generateDescarga as generateDescarga, descarga_generateDescargas as generateDescargas, descarga_getDescargaIdPeloEnvio as getDescargaIdPeloEnvio, descarga_getDescargaIdPeloNumero as getDescargaIdPeloNumero, descarga_getDescargasAcimaDoLimite as getDescargasAcimaDoLimite, descarga_getPropsEnvioId as getPropsEnvioId, descarga_getPropsEnvioIdOldDescarga as getPropsEnvioIdOldDescarga, descarga_getPropsVPDescarga as getPropsVPDescarga, descarga_getTotalGeralDescarga as getTotalGeralDescarga, descarga_sortDescargas as sortDescargas };
3778
+ export { descarga_generateDescarga as generateDescarga, descarga_generateDescargas as generateDescargas, descarga_getDescargaIdPeloEnvio as getDescargaIdPeloEnvio, descarga_getDescargaIdPeloNumero as getDescargaIdPeloNumero, descarga_getDescargasAcimaDoLimite as getDescargasAcimaDoLimite, descarga_getPropsEnvioId as getPropsEnvioId, descarga_getPropsEnvioIdOldDescarga as getPropsEnvioIdOldDescarga, descarga_getPropsVPDescarga as getPropsVPDescarga, descarga_getTotalGeralDescarga as getTotalGeralDescarga, descarga_sortDescargas as sortDescargas };
3758
3779
  }
3759
3780
 
3760
3781
  /**
@@ -4015,4 +4036,4 @@ declare const functionsCore: {
4015
4036
  utils: typeof utils;
4016
4037
  };
4017
4038
 
4018
- export { AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, COMISSOES_PADRAO, type CacheConfig, ComissaoDescargaModel, DescargaModel, DeviceModel, EXTRACAO, type EnvioAssociacaoFilters, type EnvioAssociacaoParams, type EnvioAssociacaoResponse, EnvioDescargaModel, ExtracaoModel, type FirebaseAdapter, type FirebaseVersion, GAMES, GRUPOS_BICHOS, GameModel, type GenericRepo, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, MESSAGES, MessageModel, NumberModel, type OperationType, type OrderByCondition, PDFModel, PREFIX_ENVIO, PREFIX_ENVIO_OLD, PREFIX_NUMBER, PREMIOS, PremiacaoAssociacaoModel, PremiacaoModel, ROLES, type RepoCollections, type RepoConfig, type RepoFactoryConfig, type RepoQueryOptions, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_PULE, TIPO_VISUALIZACAO, type TypeAuditLog, type TypeAuditLogs, type TypeBanca, type TypeBancas, type TypeBet, type TypeCartDescargas, type TypeCartDescargasProps, type TypeCartList, type TypeCartListProps, type TypeComissaoDescarga, type TypeComissoesDescarga, type TypeDescarga, type TypeDescargas, type TypeDevice, type TypeDevices, type TypeEnvioDescarga, type TypeEnvioDescargas, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeLimitGame, type TypeLimitGames, type TypeMessage, type TypeMessages, type TypeMetaData, type TypeNumero, type TypeNumeros, type TypePDFDescargas, type TypePDFsDescargas, type TypePremiacao, type TypePremiacaoAssociacao, type TypePremiacaoItem, type TypePremiacoes, type TypePremiacoesAssociacao, type TypePrize, type TypeResultado, type TypeResultados, type TypeRoute, type TypeRoutes, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, UserModel, VISUALIZACAO, ValueGameModel, type WhereCondition, arredondarParaCima, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getSomaEnvio, getSomaProps, getSomaVP, getTiposJogos, getValorJogoPeloTipoJogo, invertGame, isAdm, isAdmOrSubAdm, isAssociacao, isCambista, isCambistaTalao, isDigitador, isDigitadorAdm, isDigitadorOrDigitadorAdm, isSuperAdm, matchNormalized, normalize, numberToDate, numbersSelectedFormated, parserBRL, parserPercentage, parserPercentageDecimal, pegarExtracoes, pegarHorarioSaoPaulo, removerLetters, showFormatDate, sortNumeros };
4039
+ export { AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, COMISSOES_PADRAO, type CacheConfig, ComissaoDescargaModel, DescargaModel, DeviceModel, EXTRACAO, type EnvioAssociacaoFilters, type EnvioAssociacaoParams, type EnvioAssociacaoResponse, EnvioDescargaModel, ExtracaoModel, type FirebaseAdapter, type FirebaseVersion, GAMES, GRUPOS_BICHOS, GameModel, type GenericRepo, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, MESSAGES, MessageModel, NumberModel, type OperationType, type OrderByCondition, PDFModel, PREFIX_ENVIO, PREFIX_ENVIO_OLD, PREFIX_NUMBER, PREMIOS, PremiacaoAssociacaoModel, PremiacaoModel, ROLES, type RepoCollections, type RepoConfig, type RepoFactoryConfig, type RepoQueryOptions, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_PULE, TIPO_VISUALIZACAO, type TypeAuditLog, type TypeAuditLogs, type TypeBanca, type TypeBancas, type TypeBet, type TypeCartDescargas, type TypeCartDescargasProps, type TypeCartList, type TypeCartListProps, type TypeComissaoDescarga, type TypeComissoesDescarga, type TypeDescarga, type TypeDescargas, type TypeDevice, type TypeDevices, type TypeEnvioDescarga, type TypeEnvioDescargas, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeLimitGame, type TypeLimitGames, type TypeMessage, type TypeMessages, type TypeMetaData, type TypeNumero, type TypeNumeros, type TypePDFDescargas, type TypePDFsDescargas, type TypePremiacao, type TypePremiacaoAssociacao, type TypePremiacaoItem, type TypePremiacoes, type TypePremiacoesAssociacao, type TypePrize, type TypeProps, type TypePropsPrefix, type TypeResultado, type TypeResultadoDescargaComDiferenca, type TypeResultadoNumeroComDiferenca, type TypeResultados, type TypeRoute, type TypeRoutes, type TypeTotalGeral, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, UserModel, VISUALIZACAO, ValueGameModel, type WhereCondition, arredondarParaCima, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getSomaEnvio, getSomaProps, getSomaVP, getTiposJogos, getValorJogoPeloTipoJogo, invertGame, isAdm, isAdmOrSubAdm, isAssociacao, isCambista, isCambistaTalao, isDigitador, isDigitadorAdm, isDigitadorOrDigitadorAdm, isSuperAdm, matchNormalized, normalize, numberToDate, numbersSelectedFormated, parserBRL, parserPercentage, parserPercentageDecimal, pegarExtracoes, pegarHorarioSaoPaulo, removerLetters, showFormatDate, sortNumeros };
package/dist/index.d.ts CHANGED
@@ -1842,7 +1842,11 @@ type TypeNumero = TypeMetaData & {
1842
1842
  updated: number;
1843
1843
  };
1844
1844
  type TypeNumeros = {
1845
- [id: string]: TypeNumero;
1845
+ [id: TypeNumero["id"]]: TypeNumero;
1846
+ };
1847
+ type TypeResultadoNumeroComDiferenca = {
1848
+ numero: TypeNumero;
1849
+ diferenca: number;
1846
1850
  };
1847
1851
 
1848
1852
  /**
@@ -2056,15 +2060,15 @@ type TypeEnvioDescarga = TypeMetaData & {
2056
2060
  /**
2057
2061
  * @description Valores dos jogos
2058
2062
  */
2059
- valoresJogos: Pick<TypeValueGame, "type_game" | "value">[];
2063
+ valoresJogos: Pick<TypeValueGame, "id" | "type_game" | "value">[];
2060
2064
  /**
2061
2065
  * @description Limites dos jogos
2062
2066
  */
2063
- limitesJogos: Pick<TypeLimitGame, "type_game" | "limit">[];
2067
+ limitesJogos: Pick<TypeLimitGame, "id" | "type_game" | "limit">[];
2064
2068
  /**
2065
2069
  * @description Comissões de descarga
2066
2070
  */
2067
- comissoesDescarga: Pick<TypeComissaoDescarga, "type_game" | "porcentagem">[];
2071
+ comissoesDescarga: Pick<TypeComissaoDescarga, "id" | "type_game" | "porcentagem">[];
2068
2072
  /** Timestamp da última atualização */
2069
2073
  atualizadoEm: number;
2070
2074
  /** Timestamp da última atualização de progresso */
@@ -2237,6 +2241,52 @@ type TypeDescarga = TypeMetaData & {
2237
2241
  type TypeDescargas = {
2238
2242
  [id: TypeDescarga["id"]]: TypeDescarga;
2239
2243
  };
2244
+ type TypeTotalGeral = {
2245
+ /**
2246
+ * @description Jogos da descarga
2247
+ * @example {
2248
+ * "milhar": {
2249
+ * totalEnviado: 100,
2250
+ * ordem: 1,
2251
+ * tipo: "milhar",
2252
+ * label: "Milhar"
2253
+ * }
2254
+ * }
2255
+ */
2256
+ jogos: Record<string, {
2257
+ totalEnviado: number;
2258
+ ordem: number;
2259
+ tipo: keyof typeof COMISSOES_PADRAO;
2260
+ label: string;
2261
+ }>;
2262
+ /**
2263
+ * @description Total bruto da descarga
2264
+ * @example 100
2265
+ */
2266
+ totalBruto: number;
2267
+ /**
2268
+ * @description Total comissão da descarga
2269
+ * @example 20
2270
+ */
2271
+ totalComissao: number;
2272
+ /**
2273
+ * @description Total líquido da descarga
2274
+ * @example 80
2275
+ */
2276
+ totalLiquido: number;
2277
+ };
2278
+ type TypeResultadoDescargaComDiferenca = {
2279
+ descarga: TypeDescarga;
2280
+ diferenca: number;
2281
+ };
2282
+ type TypeProps = {
2283
+ [prop: string]: number;
2284
+ };
2285
+ type TypePropsPrefix = {
2286
+ [PREFIX_NUMBER]: TypeProps;
2287
+ [PREFIX_ENVIO]: TypeProps;
2288
+ [PREFIX_ENVIO_OLD]: TypeProps;
2289
+ };
2240
2290
 
2241
2291
  type TypePDFDescargas = TypeMetaData & {
2242
2292
  /**
@@ -3413,24 +3463,12 @@ declare const calculaValoresDosNumeros: (game: TypeGame) => {
3413
3463
  numeros: TypeNumeros;
3414
3464
  };
3415
3465
 
3416
- type ResultadoNumeroComDiferenca = {
3417
- numero: TypeNumero;
3418
- diferenca: number;
3419
- };
3420
- declare const getNumerosAcimaDoLimite: (numeros: TypeNumero[], valoresJogos: TypeValueGames, limitesJogos: TypeLimitGames) => ResultadoNumeroComDiferenca[];
3466
+ declare const getNumerosAcimaDoLimite: (numeros: TypeNumero[], valoresJogos: TypeValueGames, limitesJogos: TypeLimitGames) => TypeResultadoNumeroComDiferenca[];
3421
3467
 
3422
3468
  declare const arredondarParaCima: (valor: number) => number;
3423
3469
 
3424
3470
  declare const sortNumeros: (numeros: TypeNumeros) => TypeNumeros;
3425
3471
 
3426
- type TypeProps = {
3427
- [prop: string]: number;
3428
- };
3429
- type TypePropsPrefix = {
3430
- [PREFIX_NUMBER]: TypeProps;
3431
- [PREFIX_ENVIO]: TypeProps;
3432
- [PREFIX_ENVIO_OLD]: TypeProps;
3433
- };
3434
3472
  declare const getPropsPrefix: (numero: Partial<TypeNumero>) => TypePropsPrefix;
3435
3473
 
3436
3474
  declare const getPropsEnvioId$1: (numero: Partial<TypeNumero>) => {
@@ -3677,11 +3715,7 @@ declare const getDescargaIdPeloNumero: (numero: TypeNumero, getByProperty?: stri
3677
3715
 
3678
3716
  declare const sortDescargas: (descargas: TypeDescargas) => TypeDescargas;
3679
3717
 
3680
- type ResultadoDescargaComDiferenca = {
3681
- descarga: TypeDescarga;
3682
- diferenca: number;
3683
- };
3684
- declare const getDescargasAcimaDoLimite: (descargas: TypeDescarga[], valoresJogos: TypeValueGames, limitesJogos: TypeLimitGames) => ResultadoDescargaComDiferenca[];
3718
+ declare const getDescargasAcimaDoLimite: (descargas: TypeDescarga[], valoresJogos: TypeValueGames, limitesJogos: TypeLimitGames) => TypeResultadoDescargaComDiferenca[];
3685
3719
 
3686
3720
  declare const getPropsVPDescarga: (descarga: Partial<TypeDescarga>) => {
3687
3721
  [props: string]: number;
@@ -3722,17 +3756,6 @@ declare const getPropsEnvioIdOldDescarga: (descarga: Partial<TypeDescarga>) => {
3722
3756
  */
3723
3757
  declare const getDescargaIdPeloEnvio: (numero: TypeNumero, envioId: string) => string;
3724
3758
 
3725
- type TypeTotalGeral = {
3726
- jogos: Record<string, {
3727
- totalEnviado: number;
3728
- ordem: number;
3729
- tipo: keyof typeof COMISSOES_PADRAO;
3730
- label: string;
3731
- }>;
3732
- totalBruto: number;
3733
- totalLiquido: number;
3734
- totalComissao: number;
3735
- };
3736
3759
  /**
3737
3760
  * @description Calcula o total geral de uma descarga
3738
3761
  * @param totalBrutoJogos - Total bruto dos jogos
@@ -3741,8 +3764,6 @@ type TypeTotalGeral = {
3741
3764
  */
3742
3765
  declare const getTotalGeralDescarga: (totalBrutoJogos: TypeEnvioDescarga["totalGeralJogos"], comissoes: TypeComissoesDescarga) => TypeTotalGeral;
3743
3766
 
3744
- type descarga_ResultadoDescargaComDiferenca = ResultadoDescargaComDiferenca;
3745
- type descarga_TypeTotalGeral = TypeTotalGeral;
3746
3767
  declare const descarga_generateDescarga: typeof generateDescarga;
3747
3768
  declare const descarga_generateDescargas: typeof generateDescargas;
3748
3769
  declare const descarga_getDescargaIdPeloEnvio: typeof getDescargaIdPeloEnvio;
@@ -3754,7 +3775,7 @@ declare const descarga_getPropsVPDescarga: typeof getPropsVPDescarga;
3754
3775
  declare const descarga_getTotalGeralDescarga: typeof getTotalGeralDescarga;
3755
3776
  declare const descarga_sortDescargas: typeof sortDescargas;
3756
3777
  declare namespace descarga {
3757
- export { type descarga_ResultadoDescargaComDiferenca as ResultadoDescargaComDiferenca, type descarga_TypeTotalGeral as TypeTotalGeral, descarga_generateDescarga as generateDescarga, descarga_generateDescargas as generateDescargas, descarga_getDescargaIdPeloEnvio as getDescargaIdPeloEnvio, descarga_getDescargaIdPeloNumero as getDescargaIdPeloNumero, descarga_getDescargasAcimaDoLimite as getDescargasAcimaDoLimite, descarga_getPropsEnvioId as getPropsEnvioId, descarga_getPropsEnvioIdOldDescarga as getPropsEnvioIdOldDescarga, descarga_getPropsVPDescarga as getPropsVPDescarga, descarga_getTotalGeralDescarga as getTotalGeralDescarga, descarga_sortDescargas as sortDescargas };
3778
+ export { descarga_generateDescarga as generateDescarga, descarga_generateDescargas as generateDescargas, descarga_getDescargaIdPeloEnvio as getDescargaIdPeloEnvio, descarga_getDescargaIdPeloNumero as getDescargaIdPeloNumero, descarga_getDescargasAcimaDoLimite as getDescargasAcimaDoLimite, descarga_getPropsEnvioId as getPropsEnvioId, descarga_getPropsEnvioIdOldDescarga as getPropsEnvioIdOldDescarga, descarga_getPropsVPDescarga as getPropsVPDescarga, descarga_getTotalGeralDescarga as getTotalGeralDescarga, descarga_sortDescargas as sortDescargas };
3758
3779
  }
3759
3780
 
3760
3781
  /**
@@ -4015,4 +4036,4 @@ declare const functionsCore: {
4015
4036
  utils: typeof utils;
4016
4037
  };
4017
4038
 
4018
- export { AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, COMISSOES_PADRAO, type CacheConfig, ComissaoDescargaModel, DescargaModel, DeviceModel, EXTRACAO, type EnvioAssociacaoFilters, type EnvioAssociacaoParams, type EnvioAssociacaoResponse, EnvioDescargaModel, ExtracaoModel, type FirebaseAdapter, type FirebaseVersion, GAMES, GRUPOS_BICHOS, GameModel, type GenericRepo, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, MESSAGES, MessageModel, NumberModel, type OperationType, type OrderByCondition, PDFModel, PREFIX_ENVIO, PREFIX_ENVIO_OLD, PREFIX_NUMBER, PREMIOS, PremiacaoAssociacaoModel, PremiacaoModel, ROLES, type RepoCollections, type RepoConfig, type RepoFactoryConfig, type RepoQueryOptions, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_PULE, TIPO_VISUALIZACAO, type TypeAuditLog, type TypeAuditLogs, type TypeBanca, type TypeBancas, type TypeBet, type TypeCartDescargas, type TypeCartDescargasProps, type TypeCartList, type TypeCartListProps, type TypeComissaoDescarga, type TypeComissoesDescarga, type TypeDescarga, type TypeDescargas, type TypeDevice, type TypeDevices, type TypeEnvioDescarga, type TypeEnvioDescargas, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeLimitGame, type TypeLimitGames, type TypeMessage, type TypeMessages, type TypeMetaData, type TypeNumero, type TypeNumeros, type TypePDFDescargas, type TypePDFsDescargas, type TypePremiacao, type TypePremiacaoAssociacao, type TypePremiacaoItem, type TypePremiacoes, type TypePremiacoesAssociacao, type TypePrize, type TypeResultado, type TypeResultados, type TypeRoute, type TypeRoutes, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, UserModel, VISUALIZACAO, ValueGameModel, type WhereCondition, arredondarParaCima, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getSomaEnvio, getSomaProps, getSomaVP, getTiposJogos, getValorJogoPeloTipoJogo, invertGame, isAdm, isAdmOrSubAdm, isAssociacao, isCambista, isCambistaTalao, isDigitador, isDigitadorAdm, isDigitadorOrDigitadorAdm, isSuperAdm, matchNormalized, normalize, numberToDate, numbersSelectedFormated, parserBRL, parserPercentage, parserPercentageDecimal, pegarExtracoes, pegarHorarioSaoPaulo, removerLetters, showFormatDate, sortNumeros };
4039
+ export { AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, COMISSOES_PADRAO, type CacheConfig, ComissaoDescargaModel, DescargaModel, DeviceModel, EXTRACAO, type EnvioAssociacaoFilters, type EnvioAssociacaoParams, type EnvioAssociacaoResponse, EnvioDescargaModel, ExtracaoModel, type FirebaseAdapter, type FirebaseVersion, GAMES, GRUPOS_BICHOS, GameModel, type GenericRepo, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, MESSAGES, MessageModel, NumberModel, type OperationType, type OrderByCondition, PDFModel, PREFIX_ENVIO, PREFIX_ENVIO_OLD, PREFIX_NUMBER, PREMIOS, PremiacaoAssociacaoModel, PremiacaoModel, ROLES, type RepoCollections, type RepoConfig, type RepoFactoryConfig, type RepoQueryOptions, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_PULE, TIPO_VISUALIZACAO, type TypeAuditLog, type TypeAuditLogs, type TypeBanca, type TypeBancas, type TypeBet, type TypeCartDescargas, type TypeCartDescargasProps, type TypeCartList, type TypeCartListProps, type TypeComissaoDescarga, type TypeComissoesDescarga, type TypeDescarga, type TypeDescargas, type TypeDevice, type TypeDevices, type TypeEnvioDescarga, type TypeEnvioDescargas, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeLimitGame, type TypeLimitGames, type TypeMessage, type TypeMessages, type TypeMetaData, type TypeNumero, type TypeNumeros, type TypePDFDescargas, type TypePDFsDescargas, type TypePremiacao, type TypePremiacaoAssociacao, type TypePremiacaoItem, type TypePremiacoes, type TypePremiacoesAssociacao, type TypePrize, type TypeProps, type TypePropsPrefix, type TypeResultado, type TypeResultadoDescargaComDiferenca, type TypeResultadoNumeroComDiferenca, type TypeResultados, type TypeRoute, type TypeRoutes, type TypeTotalGeral, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, UserModel, VISUALIZACAO, ValueGameModel, type WhereCondition, arredondarParaCima, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getSomaEnvio, getSomaProps, getSomaVP, getTiposJogos, getValorJogoPeloTipoJogo, invertGame, isAdm, isAdmOrSubAdm, isAssociacao, isCambista, isCambistaTalao, isDigitador, isDigitadorAdm, isDigitadorOrDigitadorAdm, isSuperAdm, matchNormalized, normalize, numberToDate, numbersSelectedFormated, parserBRL, parserPercentage, parserPercentageDecimal, pegarExtracoes, pegarHorarioSaoPaulo, removerLetters, showFormatDate, sortNumeros };