@cristian.aragao/milharis-core 1.30.94 → 1.31.0

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
@@ -1563,8 +1563,17 @@ type TypeExtracao = TypeMetaData & {
1563
1563
  *
1564
1564
  * @example 0 -> aparecera nos dias marcados (nos "days")
1565
1565
  * @example 20241225130000 -> aparecera somente no dia 25 de dezembro de 2024, (a hora nao importa)
1566
+ *
1567
+ * TODO: depreciar este campo, usar o campo somente_nos_feriados, melhoria futura
1566
1568
  */
1567
1569
  somente_no_feriado: number;
1570
+ /**
1571
+ * @description quando tiver estas datas, significa que esta extração so irá funcionar
1572
+ * nos feriados datados
1573
+ *
1574
+ * @example [20241225130000, 20241226130000] -> aparecera somente nos dias 25 e 26 de dezembro de 2024, (a hora nao importa)
1575
+ */
1576
+ somente_nos_feriados: number[];
1568
1577
  /**
1569
1578
  * @description quando tiver esta data, significa que esta extração nao ira funcionar no dia
1570
1579
  * marcado
@@ -2733,7 +2742,6 @@ declare const collections: {
2733
2742
  readonly rotas: (obj?: Partial<TypeRoute>) => TypeRoute;
2734
2743
  readonly envios_descarga: (obj?: Partial<TypeEnvioDescarga>) => TypeEnvioDescarga;
2735
2744
  readonly numeros: (obj?: Partial<TypeNumero>) => TypeNumero;
2736
- readonly numeros_enviados: (obj?: Partial<TypeNumero>) => TypeNumero;
2737
2745
  readonly descargas: (descarga?: Partial<TypeDescarga>) => TypeDescarga;
2738
2746
  readonly descargas_associacao: (descarga?: Partial<TypeDescarga>) => TypeDescarga;
2739
2747
  readonly premiacoes: (obj?: Partial<TypePremiacao>) => TypePremiacao;
@@ -2744,6 +2752,8 @@ declare const collections: {
2744
2752
  readonly auditLogs: (obj?: Partial<TypeAuditLog>) => TypeAuditLog;
2745
2753
  readonly dispositivos: (obj?: Partial<TypeDevice>) => TypeDevice;
2746
2754
  readonly comissoes_descarga: (obj?: Partial<TypeComissaoDescarga>) => TypeComissaoDescarga;
2755
+ readonly vendas_cambistas: (obj?: Partial<TypeVendaCambista>) => TypeVendaCambista;
2756
+ readonly vendas_por_dias: (obj?: Partial<TypeVendasPorDia>) => TypeVendasPorDia;
2747
2757
  };
2748
2758
 
2749
2759
  /**
@@ -2943,7 +2953,6 @@ type RepoCollections = {
2943
2953
  limites_jogos: GenericRepo<TypeLimitGame>;
2944
2954
  pules: GenericRepo<TypeGame>;
2945
2955
  numeros: GenericRepo<TypeNumero>;
2946
- numeros_enviados: GenericRepo<TypeNumero>;
2947
2956
  descargas: GenericRepo<TypeDescarga>;
2948
2957
  descargas_associacao: GenericRepo<TypeDescarga>;
2949
2958
  premiacoes: GenericRepo<TypePremiacao>;
@@ -2953,6 +2962,8 @@ type RepoCollections = {
2953
2962
  auditLogs: GenericRepo<TypeAuditLog>;
2954
2963
  envios_descarga: GenericRepo<TypeEnvioDescarga>;
2955
2964
  dispositivos: GenericRepo<TypeDevice>;
2965
+ vendas_cambistas: GenericRepo<TypeVendaCambista>;
2966
+ vendas_por_dias: GenericRepo<TypeVendasPorDia>;
2956
2967
  };
2957
2968
  declare function createRepoFactory(config: RepoFactoryConfig): RepoCollections;
2958
2969
  /**
@@ -3228,6 +3239,79 @@ type TypeResultadosAssociacao = {
3228
3239
  [id: string]: TypeResultadoAssociacao;
3229
3240
  };
3230
3241
 
3242
+ type TypeVendaCambista = {
3243
+ /**
3244
+ * @description Id da venda da extraçào.
3245
+ * Combinaçao do id do cambista + data da aposta
3246
+ * @example "ZCFIDVT6FxcuI9sKfNjUcl9rgiq1-20251124130000"
3247
+ */
3248
+ id: string;
3249
+ /**
3250
+ * @description Data da aposta
3251
+ * @example 20251124130000 -> 24 de novembro de 2025 às 13:00:00
3252
+ */
3253
+ dataAposta: number;
3254
+ /**
3255
+ * @description Valor total das vendas
3256
+ * @example 1000
3257
+ */
3258
+ amountVendas: number;
3259
+ /**
3260
+ * @description ID da banca que o cambista partence
3261
+ * @example "62e77f29-ba2b-a6a0-af4b-cfd1aab7d546"
3262
+ */
3263
+ bancaId: string;
3264
+ /**
3265
+ * @description ID da extração que o cambista está trabalhando
3266
+ * @example "62e77f29-ba2b-a6a0-af4b-cfd1aab7d546"
3267
+ */
3268
+ extracao: Pick<TypeExtracao, "id" | "id_integer" | "description" | "horario" | "bloqueio">;
3269
+ rota: Pick<TypeRoute, "id" | "id_integer" | "name" | "tipo" | "comission" | "codigo_rota" | "responsible">;
3270
+ cambista: Pick<TypeUser, "id" | "id_integer" | "codigo_cambista" | "name" | "login" | "role" | "comission">;
3271
+ /**
3272
+ * @description ID da banca que o cambista está trabalhando
3273
+ * @example "62e77f29-ba2b-a6a0-af4b-cfd1aab7d546"
3274
+ */
3275
+ /**
3276
+ * @description Horário da primeira pule que o cambista está trabalhando
3277
+ * @example 20251124132345 -> 24 de novembro de 2025 às 13:23:45
3278
+ */
3279
+ primeiraPule: number;
3280
+ /**
3281
+ * @description Horário da última pule que o cambista está trabalhando
3282
+ * @example 20251124132345 -> 24 de novembro de 2025 às 13:23:45
3283
+ */
3284
+ ultimaPule: number;
3285
+ };
3286
+ type TypeVendasCambistas = {
3287
+ [idCambista_dateAposta: string]: TypeVendaCambista;
3288
+ };
3289
+
3290
+ type TypeVendasPorDia = {
3291
+ /**
3292
+ * @description Id da venda por dia.
3293
+ * Combinação do id da banca + data da aposta
3294
+ * @example "banca_123_20250101"
3295
+ */
3296
+ id: string;
3297
+ /**
3298
+ * @description ID da banca que as vendas pertencem.
3299
+ * @example "banca_123"
3300
+ */
3301
+ bancaId: string;
3302
+ /**
3303
+ * @description Data das vendas.
3304
+ * @example 20251124 -> 24 de novembro de 2025
3305
+ */
3306
+ dataVendas: number;
3307
+ extracoesIds: TypeExtracao["id"][];
3308
+ valorTotalVendas: number;
3309
+ [vendas_extracao_id: `vendas_extracao_${TypeExtracao["id"]}`]: number;
3310
+ };
3311
+ type TypeVendasPorDias = {
3312
+ [id: TypeVendasPorDia["id"]]: TypeVendasPorDia;
3313
+ };
3314
+
3231
3315
  declare const GameModel: (obj?: Partial<TypeGame>) => TypeGame;
3232
3316
 
3233
3317
  declare const NumberModel: (obj?: Partial<TypeNumero>) => TypeNumero;
@@ -3308,6 +3392,10 @@ declare const LimiteNumeroApostaModel: (obj?: Partial<TypeLimiteNumeroAposta>) =
3308
3392
 
3309
3393
  declare const ResultadoAssociacaoModel: (obj?: Partial<TypeResultadoAssociacao>) => TypeResultadoAssociacao;
3310
3394
 
3395
+ declare const VendaCambistaModel: (obj?: Partial<TypeVendaCambista>) => TypeVendaCambista;
3396
+
3397
+ declare const VendasPorDiaModel: (obj?: Partial<TypeVendasPorDia>) => TypeVendasPorDia;
3398
+
3311
3399
  declare const calculateAmount: (betValues: TypePrize[]) => number;
3312
3400
 
3313
3401
  declare const calculateAmountGame: (games: TypeBet[]) => number;
@@ -4529,4 +4617,4 @@ declare const functionsCore: {
4529
4617
  envio: typeof envio;
4530
4618
  };
4531
4619
 
4532
- 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, GuiaItemModel, GuiaModel, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, LimiteNumeroApostaModel, 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, ResultadoAssociacaoModel, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_GUIA, 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 TypeEnviosExtracao, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeGuia, type TypeGuiaItem, type TypeGuias, type TypeGuiasItems, type TypeJogoComComissao, type TypeLimitGame, type TypeLimitGames, type TypeLimiteNumeroAposta, type TypeLimitesNumerosApostas, 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 TypeResultadoAssociacao, type TypeResultadoDescargaComDiferenca, type TypeResultadoNumeroComDiferenca, type TypeResultados, type TypeResultadosAssociacao, type TypeRoute, type TypeRoutes, type TypeTotalGeral, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, UserModel, VISUALIZACAO, ValueGameModel, type WhereCondition, agruparEnvioPorExtracao, arredondarParaCima, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, collectionsRetentionDays, collectionsToAudit, collectionsWithIsolationByBancaId, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, criarEstruturaJogo, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getComissoesDoEnvio, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getProximaExtracaoDisponivelParaAposta, 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 };
4620
+ 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, GuiaItemModel, GuiaModel, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, LimiteNumeroApostaModel, 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, ResultadoAssociacaoModel, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_GUIA, 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 TypeEnviosExtracao, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeGuia, type TypeGuiaItem, type TypeGuias, type TypeGuiasItems, type TypeJogoComComissao, type TypeLimitGame, type TypeLimitGames, type TypeLimiteNumeroAposta, type TypeLimitesNumerosApostas, 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 TypeResultadoAssociacao, type TypeResultadoDescargaComDiferenca, type TypeResultadoNumeroComDiferenca, type TypeResultados, type TypeResultadosAssociacao, type TypeRoute, type TypeRoutes, type TypeTotalGeral, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, type TypeVendaCambista, type TypeVendasCambistas, type TypeVendasPorDia, type TypeVendasPorDias, UserModel, VISUALIZACAO, ValueGameModel, VendaCambistaModel, VendasPorDiaModel, type WhereCondition, agruparEnvioPorExtracao, arredondarParaCima, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, collectionsRetentionDays, collectionsToAudit, collectionsWithIsolationByBancaId, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, criarEstruturaJogo, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getComissoesDoEnvio, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getProximaExtracaoDisponivelParaAposta, 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
@@ -1563,8 +1563,17 @@ type TypeExtracao = TypeMetaData & {
1563
1563
  *
1564
1564
  * @example 0 -> aparecera nos dias marcados (nos "days")
1565
1565
  * @example 20241225130000 -> aparecera somente no dia 25 de dezembro de 2024, (a hora nao importa)
1566
+ *
1567
+ * TODO: depreciar este campo, usar o campo somente_nos_feriados, melhoria futura
1566
1568
  */
1567
1569
  somente_no_feriado: number;
1570
+ /**
1571
+ * @description quando tiver estas datas, significa que esta extração so irá funcionar
1572
+ * nos feriados datados
1573
+ *
1574
+ * @example [20241225130000, 20241226130000] -> aparecera somente nos dias 25 e 26 de dezembro de 2024, (a hora nao importa)
1575
+ */
1576
+ somente_nos_feriados: number[];
1568
1577
  /**
1569
1578
  * @description quando tiver esta data, significa que esta extração nao ira funcionar no dia
1570
1579
  * marcado
@@ -2733,7 +2742,6 @@ declare const collections: {
2733
2742
  readonly rotas: (obj?: Partial<TypeRoute>) => TypeRoute;
2734
2743
  readonly envios_descarga: (obj?: Partial<TypeEnvioDescarga>) => TypeEnvioDescarga;
2735
2744
  readonly numeros: (obj?: Partial<TypeNumero>) => TypeNumero;
2736
- readonly numeros_enviados: (obj?: Partial<TypeNumero>) => TypeNumero;
2737
2745
  readonly descargas: (descarga?: Partial<TypeDescarga>) => TypeDescarga;
2738
2746
  readonly descargas_associacao: (descarga?: Partial<TypeDescarga>) => TypeDescarga;
2739
2747
  readonly premiacoes: (obj?: Partial<TypePremiacao>) => TypePremiacao;
@@ -2744,6 +2752,8 @@ declare const collections: {
2744
2752
  readonly auditLogs: (obj?: Partial<TypeAuditLog>) => TypeAuditLog;
2745
2753
  readonly dispositivos: (obj?: Partial<TypeDevice>) => TypeDevice;
2746
2754
  readonly comissoes_descarga: (obj?: Partial<TypeComissaoDescarga>) => TypeComissaoDescarga;
2755
+ readonly vendas_cambistas: (obj?: Partial<TypeVendaCambista>) => TypeVendaCambista;
2756
+ readonly vendas_por_dias: (obj?: Partial<TypeVendasPorDia>) => TypeVendasPorDia;
2747
2757
  };
2748
2758
 
2749
2759
  /**
@@ -2943,7 +2953,6 @@ type RepoCollections = {
2943
2953
  limites_jogos: GenericRepo<TypeLimitGame>;
2944
2954
  pules: GenericRepo<TypeGame>;
2945
2955
  numeros: GenericRepo<TypeNumero>;
2946
- numeros_enviados: GenericRepo<TypeNumero>;
2947
2956
  descargas: GenericRepo<TypeDescarga>;
2948
2957
  descargas_associacao: GenericRepo<TypeDescarga>;
2949
2958
  premiacoes: GenericRepo<TypePremiacao>;
@@ -2953,6 +2962,8 @@ type RepoCollections = {
2953
2962
  auditLogs: GenericRepo<TypeAuditLog>;
2954
2963
  envios_descarga: GenericRepo<TypeEnvioDescarga>;
2955
2964
  dispositivos: GenericRepo<TypeDevice>;
2965
+ vendas_cambistas: GenericRepo<TypeVendaCambista>;
2966
+ vendas_por_dias: GenericRepo<TypeVendasPorDia>;
2956
2967
  };
2957
2968
  declare function createRepoFactory(config: RepoFactoryConfig): RepoCollections;
2958
2969
  /**
@@ -3228,6 +3239,79 @@ type TypeResultadosAssociacao = {
3228
3239
  [id: string]: TypeResultadoAssociacao;
3229
3240
  };
3230
3241
 
3242
+ type TypeVendaCambista = {
3243
+ /**
3244
+ * @description Id da venda da extraçào.
3245
+ * Combinaçao do id do cambista + data da aposta
3246
+ * @example "ZCFIDVT6FxcuI9sKfNjUcl9rgiq1-20251124130000"
3247
+ */
3248
+ id: string;
3249
+ /**
3250
+ * @description Data da aposta
3251
+ * @example 20251124130000 -> 24 de novembro de 2025 às 13:00:00
3252
+ */
3253
+ dataAposta: number;
3254
+ /**
3255
+ * @description Valor total das vendas
3256
+ * @example 1000
3257
+ */
3258
+ amountVendas: number;
3259
+ /**
3260
+ * @description ID da banca que o cambista partence
3261
+ * @example "62e77f29-ba2b-a6a0-af4b-cfd1aab7d546"
3262
+ */
3263
+ bancaId: string;
3264
+ /**
3265
+ * @description ID da extração que o cambista está trabalhando
3266
+ * @example "62e77f29-ba2b-a6a0-af4b-cfd1aab7d546"
3267
+ */
3268
+ extracao: Pick<TypeExtracao, "id" | "id_integer" | "description" | "horario" | "bloqueio">;
3269
+ rota: Pick<TypeRoute, "id" | "id_integer" | "name" | "tipo" | "comission" | "codigo_rota" | "responsible">;
3270
+ cambista: Pick<TypeUser, "id" | "id_integer" | "codigo_cambista" | "name" | "login" | "role" | "comission">;
3271
+ /**
3272
+ * @description ID da banca que o cambista está trabalhando
3273
+ * @example "62e77f29-ba2b-a6a0-af4b-cfd1aab7d546"
3274
+ */
3275
+ /**
3276
+ * @description Horário da primeira pule que o cambista está trabalhando
3277
+ * @example 20251124132345 -> 24 de novembro de 2025 às 13:23:45
3278
+ */
3279
+ primeiraPule: number;
3280
+ /**
3281
+ * @description Horário da última pule que o cambista está trabalhando
3282
+ * @example 20251124132345 -> 24 de novembro de 2025 às 13:23:45
3283
+ */
3284
+ ultimaPule: number;
3285
+ };
3286
+ type TypeVendasCambistas = {
3287
+ [idCambista_dateAposta: string]: TypeVendaCambista;
3288
+ };
3289
+
3290
+ type TypeVendasPorDia = {
3291
+ /**
3292
+ * @description Id da venda por dia.
3293
+ * Combinação do id da banca + data da aposta
3294
+ * @example "banca_123_20250101"
3295
+ */
3296
+ id: string;
3297
+ /**
3298
+ * @description ID da banca que as vendas pertencem.
3299
+ * @example "banca_123"
3300
+ */
3301
+ bancaId: string;
3302
+ /**
3303
+ * @description Data das vendas.
3304
+ * @example 20251124 -> 24 de novembro de 2025
3305
+ */
3306
+ dataVendas: number;
3307
+ extracoesIds: TypeExtracao["id"][];
3308
+ valorTotalVendas: number;
3309
+ [vendas_extracao_id: `vendas_extracao_${TypeExtracao["id"]}`]: number;
3310
+ };
3311
+ type TypeVendasPorDias = {
3312
+ [id: TypeVendasPorDia["id"]]: TypeVendasPorDia;
3313
+ };
3314
+
3231
3315
  declare const GameModel: (obj?: Partial<TypeGame>) => TypeGame;
3232
3316
 
3233
3317
  declare const NumberModel: (obj?: Partial<TypeNumero>) => TypeNumero;
@@ -3308,6 +3392,10 @@ declare const LimiteNumeroApostaModel: (obj?: Partial<TypeLimiteNumeroAposta>) =
3308
3392
 
3309
3393
  declare const ResultadoAssociacaoModel: (obj?: Partial<TypeResultadoAssociacao>) => TypeResultadoAssociacao;
3310
3394
 
3395
+ declare const VendaCambistaModel: (obj?: Partial<TypeVendaCambista>) => TypeVendaCambista;
3396
+
3397
+ declare const VendasPorDiaModel: (obj?: Partial<TypeVendasPorDia>) => TypeVendasPorDia;
3398
+
3311
3399
  declare const calculateAmount: (betValues: TypePrize[]) => number;
3312
3400
 
3313
3401
  declare const calculateAmountGame: (games: TypeBet[]) => number;
@@ -4529,4 +4617,4 @@ declare const functionsCore: {
4529
4617
  envio: typeof envio;
4530
4618
  };
4531
4619
 
4532
- 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, GuiaItemModel, GuiaModel, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, LimiteNumeroApostaModel, 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, ResultadoAssociacaoModel, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_GUIA, 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 TypeEnviosExtracao, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeGuia, type TypeGuiaItem, type TypeGuias, type TypeGuiasItems, type TypeJogoComComissao, type TypeLimitGame, type TypeLimitGames, type TypeLimiteNumeroAposta, type TypeLimitesNumerosApostas, 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 TypeResultadoAssociacao, type TypeResultadoDescargaComDiferenca, type TypeResultadoNumeroComDiferenca, type TypeResultados, type TypeResultadosAssociacao, type TypeRoute, type TypeRoutes, type TypeTotalGeral, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, UserModel, VISUALIZACAO, ValueGameModel, type WhereCondition, agruparEnvioPorExtracao, arredondarParaCima, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, collectionsRetentionDays, collectionsToAudit, collectionsWithIsolationByBancaId, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, criarEstruturaJogo, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getComissoesDoEnvio, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getProximaExtracaoDisponivelParaAposta, 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 };
4620
+ 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, GuiaItemModel, GuiaModel, type IdSearchStrategy, type IsolationConfig, KEYBOARD, LimitGameModel, LimiteNumeroApostaModel, 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, ResultadoAssociacaoModel, ResultadoModel, RouteModel, STATUS_DESCARGA, STATUS_DEVICE, STATUS_GUIA, 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 TypeEnviosExtracao, type TypeExtracao, type TypeExtracoes, type TypeGame, type TypeGames, type TypeGuia, type TypeGuiaItem, type TypeGuias, type TypeGuiasItems, type TypeJogoComComissao, type TypeLimitGame, type TypeLimitGames, type TypeLimiteNumeroAposta, type TypeLimitesNumerosApostas, 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 TypeResultadoAssociacao, type TypeResultadoDescargaComDiferenca, type TypeResultadoNumeroComDiferenca, type TypeResultados, type TypeResultadosAssociacao, type TypeRoute, type TypeRoutes, type TypeTotalGeral, type TypeUser, type TypeUsers, type TypeValueGame, type TypeValueGames, type TypeVendaCambista, type TypeVendasCambistas, type TypeVendasPorDia, type TypeVendasPorDias, UserModel, VISUALIZACAO, ValueGameModel, VendaCambistaModel, VendasPorDiaModel, type WhereCondition, agruparEnvioPorExtracao, arredondarParaCima, calculaValoresDosNumeros, calcularValorDeNumero, calcularValorJogoPeloLimite, calculateAmount, calculateAmountGame, clone, collections, collectionsRetentionDays, collectionsToAudit, collectionsWithIsolationByBancaId, combineDateTime, createAutoRepo, createGenericRepo, createReactNativeAdapter, createReactNativeRepoFactory, createRepoFactory, createV8Adapter, createV9ModularAdapter, createWebAdapter, createWebRepoFactory, criarEstruturaJogo, dateToNumber, delay, detectFirebaseVersion, dividirArray, extracaoEstaAtivaBoolean, extracaoEstaAtivaTryCatch, fazerJogo, formatPuleId, formatarNumero, formatterBRL, formatterPercentage, formatterPercentageDecimal, functionsCore, generateDescargas, generateId, gerarDezenas, getAllCombinations, getAvailableTimes, getBetDateToNumber, getCodigoAuth, getComissoesDoEnvio, getCreatedBySystem, getDataInicioFim, getFormattedPuleId, getGamesUnicosList, getGamesUnicosObjeto, getInitials, getLimiteJogoPeloTipoJogo, getLimiteSimulado, getLimitsRest, getNumeroId, getNumerosAcimaDoLimite, getPermission, getPremioFormato, getPropsEnvioId$1 as getPropsEnvioId, getPropsEnvioIdOld, getPropsPrefix, getPropsVP, getProximaExtracaoDisponivelParaAposta, 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 };