@cristian.aragao/milharis-core 1.30.39 → 1.30.43

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
@@ -1100,6 +1100,54 @@ declare const PREMIOS: {
1100
1100
  };
1101
1101
  };
1102
1102
 
1103
+ declare const COMISSOES_PADRAO: {
1104
+ readonly milhar: {
1105
+ readonly id: "milhar";
1106
+ readonly label: "Milhar";
1107
+ readonly order: 1;
1108
+ };
1109
+ readonly centena: {
1110
+ readonly id: "centena";
1111
+ readonly label: "Centena";
1112
+ readonly order: 2;
1113
+ };
1114
+ readonly dezena: {
1115
+ readonly id: "dezena";
1116
+ readonly label: "Dezena";
1117
+ readonly order: 3;
1118
+ };
1119
+ readonly grupo: {
1120
+ readonly id: "grupo";
1121
+ readonly label: "Grupo";
1122
+ readonly order: 4;
1123
+ };
1124
+ readonly "terno.dezena": {
1125
+ readonly id: "terno.dezena";
1126
+ readonly label: "Terno de Dezena";
1127
+ readonly order: 5;
1128
+ };
1129
+ readonly "terno.grupo": {
1130
+ readonly id: "terno.grupo";
1131
+ readonly label: "Terno de Grupo";
1132
+ readonly order: 6;
1133
+ };
1134
+ readonly "duque.dezena": {
1135
+ readonly id: "duque.dezena";
1136
+ readonly label: "Duque de Dezena";
1137
+ readonly order: 7;
1138
+ };
1139
+ readonly "duque.grupo": {
1140
+ readonly id: "duque.grupo";
1141
+ readonly label: "Duque de Grupo";
1142
+ readonly order: 8;
1143
+ };
1144
+ readonly restante: {
1145
+ readonly id: "restante";
1146
+ readonly label: "Restante";
1147
+ readonly order: 9;
1148
+ };
1149
+ };
1150
+
1103
1151
  /**
1104
1152
  * Tipo que representa um dispositivo no sistema
1105
1153
  */
@@ -1271,6 +1319,15 @@ type TypeUser = TypeMetaData & {
1271
1319
  type_games: (keyof typeof GAMES)[];
1272
1320
  active: boolean;
1273
1321
  comission: number;
1322
+ /**
1323
+ * @description Preferências do usuário em algumas páginas
1324
+ */
1325
+ preferences: {
1326
+ /**
1327
+ * @description Indica se o usuário quer ver o PDF no layout legado
1328
+ */
1329
+ pdfLegado: boolean;
1330
+ };
1274
1331
  /**
1275
1332
  * @description Permissões específicas do usuário
1276
1333
  */
@@ -1928,6 +1985,19 @@ type TypeEnvioDescarga = TypeMetaData & {
1928
1985
  iniciadoEm: number;
1929
1986
  /** Timestamp de conclusão (se houver) */
1930
1987
  concluidoEm: number;
1988
+ /**
1989
+ * @description Total geral bruto de jogos por tipo de jogo
1990
+ */
1991
+ totalGeralJogos: {
1992
+ [GAMES.milhar.id]: number;
1993
+ [GAMES.centena.id]: number;
1994
+ [GAMES.dezena.id]: number;
1995
+ [GAMES.grupo.id]: number;
1996
+ ["terno.dezena"]: number;
1997
+ ["terno.grupo"]: number;
1998
+ ["duque.dezena"]: number;
1999
+ ["duque.grupo"]: number;
2000
+ };
1931
2001
  /**
1932
2002
  * @description Informações do remetente, quem enviou a descarga
1933
2003
  */
@@ -2422,6 +2492,7 @@ declare const collections: {
2422
2492
  readonly bancas: (obj?: Partial<TypeBanca>) => TypeBanca;
2423
2493
  readonly auditLogs: (obj?: Partial<TypeAuditLog>) => TypeAuditLog;
2424
2494
  readonly dispositivos: (obj?: Partial<TypeDevice>) => TypeDevice;
2495
+ readonly comissoes_descarga: (obj?: Partial<TypeComissaoDescarga>) => TypeComissaoDescarga;
2425
2496
  };
2426
2497
 
2427
2498
  type Firestore<T = any> = T;
@@ -2696,6 +2767,34 @@ type TypeAuditLogs = {
2696
2767
  [id: TypeAuditLog["id"]]: TypeAuditLog;
2697
2768
  };
2698
2769
 
2770
+ type TypeComissaoDescarga = TypeMetaData & {
2771
+ /**
2772
+ * @description Id aleatório gerado para o documento
2773
+ * @example "62e77f29-ba2b-a6a0-af4b-cfd1aab7d546"
2774
+ */
2775
+ id: string;
2776
+ /**
2777
+ * @description Id incremental por banca
2778
+ *
2779
+ * @example "1"
2780
+ * @example "2"
2781
+ */
2782
+ id_integer: string;
2783
+ /**
2784
+ * @description tipo do jogo (tem que ser único)
2785
+ * @example "milhar"
2786
+ * @example "centena"
2787
+ */
2788
+ type_game: keyof typeof COMISSOES_PADRAO;
2789
+ /**
2790
+ * @description porcentagem de comissão
2791
+ */
2792
+ porcentagem: number;
2793
+ };
2794
+ type TypeComissoesDescarga = {
2795
+ [id: string]: TypeComissaoDescarga;
2796
+ };
2797
+
2699
2798
  declare const GameModel: (obj?: Partial<TypeGame>) => TypeGame;
2700
2799
 
2701
2800
  declare const NumberModel: (obj?: Partial<TypeNumero>) => TypeNumero;
@@ -3598,7 +3697,27 @@ declare const getPropsEnvioIdOldDescarga: (descarga: Partial<TypeDescarga>) => {
3598
3697
  */
3599
3698
  declare const getDescargaIdPeloEnvio: (numero: TypeNumero, envioId: string) => string;
3600
3699
 
3700
+ type TypeTotalGeral = {
3701
+ jogos: Record<string, {
3702
+ totalEnviado: number;
3703
+ ordem: number;
3704
+ tipo: keyof typeof COMISSOES_PADRAO;
3705
+ label: string;
3706
+ }>;
3707
+ totalBruto: number;
3708
+ totalLiquido: number;
3709
+ totalComissao: number;
3710
+ };
3711
+ /**
3712
+ * @description Calcula o total geral de uma descarga
3713
+ * @param totalBrutoJogos - Total bruto dos jogos
3714
+ * @param comissoes - Comissões das bancas
3715
+ * @returns Total geral da descarga
3716
+ */
3717
+ declare const getTotalGeralDescarga: (totalBrutoJogos: TypeEnvioDescarga["totalGeralJogos"], comissoes: TypeComissoesDescarga) => TypeTotalGeral;
3718
+
3601
3719
  type descarga_ResultadoDescargaComDiferenca = ResultadoDescargaComDiferenca;
3720
+ type descarga_TypeTotalGeral = TypeTotalGeral;
3602
3721
  declare const descarga_generateDescarga: typeof generateDescarga;
3603
3722
  declare const descarga_generateDescargas: typeof generateDescargas;
3604
3723
  declare const descarga_getDescargaIdPeloEnvio: typeof getDescargaIdPeloEnvio;
@@ -3607,9 +3726,10 @@ declare const descarga_getDescargasAcimaDoLimite: typeof getDescargasAcimaDoLimi
3607
3726
  declare const descarga_getPropsEnvioId: typeof getPropsEnvioId;
3608
3727
  declare const descarga_getPropsEnvioIdOldDescarga: typeof getPropsEnvioIdOldDescarga;
3609
3728
  declare const descarga_getPropsVPDescarga: typeof getPropsVPDescarga;
3729
+ declare const descarga_getTotalGeralDescarga: typeof getTotalGeralDescarga;
3610
3730
  declare const descarga_sortDescargas: typeof sortDescargas;
3611
3731
  declare namespace descarga {
3612
- export { type descarga_ResultadoDescargaComDiferenca as ResultadoDescargaComDiferenca, 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_sortDescargas as sortDescargas };
3732
+ 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 };
3613
3733
  }
3614
3734
 
3615
3735
  /**
@@ -3870,4 +3990,4 @@ declare const functionsCore: {
3870
3990
  utils: typeof utils;
3871
3991
  };
3872
3992
 
3873
- export { AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, type CacheConfig, 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 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 };
3993
+ export { AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, COMISSOES_PADRAO, type CacheConfig, 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 };
package/dist/index.d.ts CHANGED
@@ -1100,6 +1100,54 @@ declare const PREMIOS: {
1100
1100
  };
1101
1101
  };
1102
1102
 
1103
+ declare const COMISSOES_PADRAO: {
1104
+ readonly milhar: {
1105
+ readonly id: "milhar";
1106
+ readonly label: "Milhar";
1107
+ readonly order: 1;
1108
+ };
1109
+ readonly centena: {
1110
+ readonly id: "centena";
1111
+ readonly label: "Centena";
1112
+ readonly order: 2;
1113
+ };
1114
+ readonly dezena: {
1115
+ readonly id: "dezena";
1116
+ readonly label: "Dezena";
1117
+ readonly order: 3;
1118
+ };
1119
+ readonly grupo: {
1120
+ readonly id: "grupo";
1121
+ readonly label: "Grupo";
1122
+ readonly order: 4;
1123
+ };
1124
+ readonly "terno.dezena": {
1125
+ readonly id: "terno.dezena";
1126
+ readonly label: "Terno de Dezena";
1127
+ readonly order: 5;
1128
+ };
1129
+ readonly "terno.grupo": {
1130
+ readonly id: "terno.grupo";
1131
+ readonly label: "Terno de Grupo";
1132
+ readonly order: 6;
1133
+ };
1134
+ readonly "duque.dezena": {
1135
+ readonly id: "duque.dezena";
1136
+ readonly label: "Duque de Dezena";
1137
+ readonly order: 7;
1138
+ };
1139
+ readonly "duque.grupo": {
1140
+ readonly id: "duque.grupo";
1141
+ readonly label: "Duque de Grupo";
1142
+ readonly order: 8;
1143
+ };
1144
+ readonly restante: {
1145
+ readonly id: "restante";
1146
+ readonly label: "Restante";
1147
+ readonly order: 9;
1148
+ };
1149
+ };
1150
+
1103
1151
  /**
1104
1152
  * Tipo que representa um dispositivo no sistema
1105
1153
  */
@@ -1271,6 +1319,15 @@ type TypeUser = TypeMetaData & {
1271
1319
  type_games: (keyof typeof GAMES)[];
1272
1320
  active: boolean;
1273
1321
  comission: number;
1322
+ /**
1323
+ * @description Preferências do usuário em algumas páginas
1324
+ */
1325
+ preferences: {
1326
+ /**
1327
+ * @description Indica se o usuário quer ver o PDF no layout legado
1328
+ */
1329
+ pdfLegado: boolean;
1330
+ };
1274
1331
  /**
1275
1332
  * @description Permissões específicas do usuário
1276
1333
  */
@@ -1928,6 +1985,19 @@ type TypeEnvioDescarga = TypeMetaData & {
1928
1985
  iniciadoEm: number;
1929
1986
  /** Timestamp de conclusão (se houver) */
1930
1987
  concluidoEm: number;
1988
+ /**
1989
+ * @description Total geral bruto de jogos por tipo de jogo
1990
+ */
1991
+ totalGeralJogos: {
1992
+ [GAMES.milhar.id]: number;
1993
+ [GAMES.centena.id]: number;
1994
+ [GAMES.dezena.id]: number;
1995
+ [GAMES.grupo.id]: number;
1996
+ ["terno.dezena"]: number;
1997
+ ["terno.grupo"]: number;
1998
+ ["duque.dezena"]: number;
1999
+ ["duque.grupo"]: number;
2000
+ };
1931
2001
  /**
1932
2002
  * @description Informações do remetente, quem enviou a descarga
1933
2003
  */
@@ -2422,6 +2492,7 @@ declare const collections: {
2422
2492
  readonly bancas: (obj?: Partial<TypeBanca>) => TypeBanca;
2423
2493
  readonly auditLogs: (obj?: Partial<TypeAuditLog>) => TypeAuditLog;
2424
2494
  readonly dispositivos: (obj?: Partial<TypeDevice>) => TypeDevice;
2495
+ readonly comissoes_descarga: (obj?: Partial<TypeComissaoDescarga>) => TypeComissaoDescarga;
2425
2496
  };
2426
2497
 
2427
2498
  type Firestore<T = any> = T;
@@ -2696,6 +2767,34 @@ type TypeAuditLogs = {
2696
2767
  [id: TypeAuditLog["id"]]: TypeAuditLog;
2697
2768
  };
2698
2769
 
2770
+ type TypeComissaoDescarga = TypeMetaData & {
2771
+ /**
2772
+ * @description Id aleatório gerado para o documento
2773
+ * @example "62e77f29-ba2b-a6a0-af4b-cfd1aab7d546"
2774
+ */
2775
+ id: string;
2776
+ /**
2777
+ * @description Id incremental por banca
2778
+ *
2779
+ * @example "1"
2780
+ * @example "2"
2781
+ */
2782
+ id_integer: string;
2783
+ /**
2784
+ * @description tipo do jogo (tem que ser único)
2785
+ * @example "milhar"
2786
+ * @example "centena"
2787
+ */
2788
+ type_game: keyof typeof COMISSOES_PADRAO;
2789
+ /**
2790
+ * @description porcentagem de comissão
2791
+ */
2792
+ porcentagem: number;
2793
+ };
2794
+ type TypeComissoesDescarga = {
2795
+ [id: string]: TypeComissaoDescarga;
2796
+ };
2797
+
2699
2798
  declare const GameModel: (obj?: Partial<TypeGame>) => TypeGame;
2700
2799
 
2701
2800
  declare const NumberModel: (obj?: Partial<TypeNumero>) => TypeNumero;
@@ -3598,7 +3697,27 @@ declare const getPropsEnvioIdOldDescarga: (descarga: Partial<TypeDescarga>) => {
3598
3697
  */
3599
3698
  declare const getDescargaIdPeloEnvio: (numero: TypeNumero, envioId: string) => string;
3600
3699
 
3700
+ type TypeTotalGeral = {
3701
+ jogos: Record<string, {
3702
+ totalEnviado: number;
3703
+ ordem: number;
3704
+ tipo: keyof typeof COMISSOES_PADRAO;
3705
+ label: string;
3706
+ }>;
3707
+ totalBruto: number;
3708
+ totalLiquido: number;
3709
+ totalComissao: number;
3710
+ };
3711
+ /**
3712
+ * @description Calcula o total geral de uma descarga
3713
+ * @param totalBrutoJogos - Total bruto dos jogos
3714
+ * @param comissoes - Comissões das bancas
3715
+ * @returns Total geral da descarga
3716
+ */
3717
+ declare const getTotalGeralDescarga: (totalBrutoJogos: TypeEnvioDescarga["totalGeralJogos"], comissoes: TypeComissoesDescarga) => TypeTotalGeral;
3718
+
3601
3719
  type descarga_ResultadoDescargaComDiferenca = ResultadoDescargaComDiferenca;
3720
+ type descarga_TypeTotalGeral = TypeTotalGeral;
3602
3721
  declare const descarga_generateDescarga: typeof generateDescarga;
3603
3722
  declare const descarga_generateDescargas: typeof generateDescargas;
3604
3723
  declare const descarga_getDescargaIdPeloEnvio: typeof getDescargaIdPeloEnvio;
@@ -3607,9 +3726,10 @@ declare const descarga_getDescargasAcimaDoLimite: typeof getDescargasAcimaDoLimi
3607
3726
  declare const descarga_getPropsEnvioId: typeof getPropsEnvioId;
3608
3727
  declare const descarga_getPropsEnvioIdOldDescarga: typeof getPropsEnvioIdOldDescarga;
3609
3728
  declare const descarga_getPropsVPDescarga: typeof getPropsVPDescarga;
3729
+ declare const descarga_getTotalGeralDescarga: typeof getTotalGeralDescarga;
3610
3730
  declare const descarga_sortDescargas: typeof sortDescargas;
3611
3731
  declare namespace descarga {
3612
- export { type descarga_ResultadoDescargaComDiferenca as ResultadoDescargaComDiferenca, 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_sortDescargas as sortDescargas };
3732
+ 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 };
3613
3733
  }
3614
3734
 
3615
3735
  /**
@@ -3870,4 +3990,4 @@ declare const functionsCore: {
3870
3990
  utils: typeof utils;
3871
3991
  };
3872
3992
 
3873
- export { AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, type CacheConfig, 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 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 };
3993
+ export { AuditLogModel, type AuthorizationConfig, BancaModel, BetModel, COMISSOES_PADRAO, type CacheConfig, 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 };